Kaveh R. Ghazi
4d426f4e46
Makefile.in (SHELL): Set to @SHELL@.
...
* libF77/Makefile.in (SHELL): Set to @SHELL@.
* libI77/Makefile.in (SHELL): Likewise.
* libU77/Makefile.in (SHELL): Likewise.
From-SVN: r53666
2002-05-20 17:05:51 +00:00
Richard Henderson
1441374bc9
cse.c (canon_hash): Reorder do_not_record test.
...
* cse.c (canon_hash): Reorder do_not_record test. Always
allow pic_offset_table_rtx.
From-SVN: r53665
2002-05-20 09:59:03 -07:00
Kaveh R. Ghazi
9aa338ece2
Makefile.in (SHELL): Set to @SHELL@.
...
* Makefile.in (SHELL): Set to @SHELL@.
(WARN_CFLAGS): New.
(ALL_CFLAGS): Add $(WARN_CFLAGS).
From-SVN: r53662
2002-05-20 16:35:19 +00:00
Andreas Jaeger
500abaa854
* init.c (build_default_init): Remove unused variable.
...
From-SVN: r53660
2002-05-20 16:28:01 +02:00
Toon Moene
ffd56a64d7
Makefile.in: Use @SHELL@, not /bin/sh for SHELL definition.
...
2002-05-20 Toon Moene <toon@moene.indiv.nluug.nl>
* Makefile.in: Use @SHELL@, not /bin/sh for SHELL
definition.
From-SVN: r53659
2002-05-20 13:51:34 +00:00
J"orn Rennecke
02116b3dec
memcpy-2.c (SEQUENCE_LENGTH): Define.
...
* gcc.c-torture/execute/memcpy-2.c (SEQUENCE_LENGTH): Define.
(MAX_COPY): Bump up to 10 times sizeof (long long).
(main): Use a pattern of SEQUENCE_LENGTH different characters to copy.
* gcc.c-torture/execute/memset-1.c (MAX_COPY): Bump up to 10 times
sizeof (long long).
* gcc.c-torture/execute/strcpy-1.c: New test.
From-SVN: r53658
2002-05-20 11:57:31 +01:00
David Billinghurst
b3f47c787c
* g++.dg/ext/oper1.C: New test.
...
From-SVN: r53657
2002-05-20 10:33:31 +00:00
Alexandre Oliva
ecc42c14a7
call.c (any_strictly_viable): New.
...
* call.c (any_strictly_viable): New.
(build_new_op): Use it for COMPOUND_EXPR and ADDR_EXPRs.
From-SVN: r53656
2002-05-20 10:31:38 +00:00
Toon Moene
c0fe508e8b
optabs.c (expand_cmplxdiv_wide): Use complex_part_zero_p.
...
2002-05-19 Toon Moene <toon@moene.indiv.nluug.nl>
* optabs.c (expand_cmplxdiv_wide): Use complex_part_zero_p.
(expand_binop): Ditto (3 times).
From-SVN: r53655
2002-05-20 08:30:03 +00:00
Mark Mitchell
f362c7623d
Makefile.in (distclean): Remove QMTest stuff.
...
* Makefile.in (distclean): Remove QMTest stuff.
(QMTEST_PATH): New variable.
(QMTESTFLAGS): Likewise.
(QMTESTRUNFLAGS): Likewise.
(QMTEST): Likewise.
(QMTEST_GPP_TESTS): Likewise.
(QMTEST_DIR): Likewise.
(QMTEST_DIR/context): New target.
(qmtest-g++): Likeise.
(qmtest-gui): Likewise.
(QMTEST_DIR/gpp-expected.qmr): Likewise.
* README.QMTEST: New file.
From-SVN: r53654
2002-05-20 07:22:30 +00:00
GCC Administrator
8b46e4a5d4
Daily bump.
...
From-SVN: r53653
2002-05-20 07:17:25 +00:00
Mark Mitchell
851c06dd46
* g++.dg/warn/Wshadow-1.C: Remove unncessary dg-error line.
...
From-SVN: r53648
2002-05-20 04:56:25 +00:00
Aldy Hernandez
16861f33d2
rs6000.h (FUNCTION_VALUE): Only return vectors in an altivec register if TARGET_ALTIVEC.
...
2002-05-19 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/rs6000.h (FUNCTION_VALUE): Only return vectors in
an altivec register if TARGET_ALTIVEC.
* config/rs600/rs6000.c (rs6000_emit_move): Change VECTOR_MODE_P
to ALTIVEC_VECTOR_MODE.
(rs6000_va_arg): Only vectors of type AltiVec are 16 byte aligned.
(rs6000_va_arg): Vectors may go in registers if they are not
altivec vectors.
From-SVN: r53645
2002-05-20 02:31:24 +00:00
Kazu Hirata
23459e152d
* protoize.c: Fix formatting.
...
From-SVN: r53644
2002-05-20 01:47:50 +00:00
Richard Henderson
174cc7d127
gensupport.c (init_include_reader): Merge into ...
...
* gensupport.c (init_include_reader): Merge into ...
(process_include): ... here. Simplify composite path creation.
Plug memory leaks. Fix file/line number tracking. Do not
process_define_cond_exec. Return void.
(process_rtx): Don't check process_include return value.
From-SVN: r53643
2002-05-19 18:17:14 -07:00
Zdenek Dvorak
918ed612a1
basic_block.h (struct basic_block_def): Added prev_bb and next_bb fields.
...
* basic_block.h (struct basic_block_def): Added prev_bb and next_bb
fields.
(FOR_BB_BETWEEN, FOR_ALL_BB, FOR_ALL_BB_REVERSE): New macros for
traversing basic block chain.
(create_basic_block_structure, create_basic_block): Declaration changed.
(link_block, unlink_block): Declare.
* cfg.c (entry_exit_blocks): Initialize new fields.
(link_block, unlink_block): New.
(expunge_block_nocompact): Unlink basic block.
(dump_flow_info): Print prev_bb/next_bb fields.
* cfgbuild.c (find_basic_blocks_1, find_basic_blocks): Modified.
* cfgcleanup.c (merge_blocks_move_predecessor_nojumps): Modified.
* cfglayout.c (fixup_reorder_chain, cfg_layout_duplicate_bb): Modified.
* cfgrtl.c (create_basic_block_structure, create_basic_block,
split_block, force_nonfallthru_and_redirect, split_edge): Modified.
(verify_flow_info): Check that list agrees with numbering.
From-SVN: r53642
2002-05-19 22:25:49 +00:00
Neil Booth
e0322d5ca5
c-common.c (preprocessing_asm): New macro.
...
* c-common.c (preprocessing_asm): New macro.
* c-lex.h (builtin_define, builtin_assert): Use pfile.
doc:
* tm.texi: Update.
config/alpha:
* alpha.h (CPLUSPLUS_CPP_SPEC): Remove.
(CPP_SPEC): Simplify.
(TARGET_CPU_CPP_BUILTINS): Update.
* freebsd.h (TARGET_OS_CPP_BUILTINS): New.
(CPP_SPEC): Simplify.
* linux.h (CPLUSPLUS_CPP_SPEC): Remove.
(TARGET_OS_CPP_BUILTINS): Update.
* osf.h (CPP_XFLOAT_SPEC): Kill.
(TARGET_OS_CPP_BUILTINS): Update.
(CPP_SUBTARGET_SPEC, SUBTARGET_EXTRA_SPECS): Simplify.
* osf5.h (CPP_XFLOAT_SPEC): Kill.
* vms.h (CPP_SUBTARGET_SPEC): Kill.
(TARGET_OS_CPP_BUILTINS): Update.
From-SVN: r53641
2002-05-19 21:53:53 +00:00
Andreas Jaeger
e3227f2c44
loop-2c.x: Remove, the test should pass now.
...
* gcc.c-torture/execute/loop-2c.x: Remove, the test should pass
now.
* gcc.c-torture/execute/loop-2d.x: Likewise.
From-SVN: r53640
2002-05-19 22:59:48 +02:00
Richard Henderson
121f5c2c13
* varasm.c (default_binds_local_p): Fix typo.
...
From-SVN: r53639
2002-05-19 13:17:50 -07:00
Marek Michalkiewicz
651c5ed94a
avr.c (machine_dependent_reorg): Sign extend the CONST_INT operand to the correct mode after adding 1 to it.
...
* config/avr/avr.c (machine_dependent_reorg): Sign extend the
CONST_INT operand to the correct mode after adding 1 to it.
From-SVN: r53638
2002-05-19 20:08:12 +00:00
Mark Mitchell
61039cd09e
irix_threads.cc (GC_pthread_detach): Do not use REAL_FUNC.
...
* irix_threads.cc (GC_pthread_detach): Do not use REAL_FUNC.
(GC_pthread_create): Fix typo.
(GC_TRY_LOCK): Likewise.
* include/private/gc_locks.h (GC_test_and_set): Only take one
one argument.
(LOCK): Adjust appropriately.
* include/private/gc_priv.h (SIG_SUSPEND): Use SIGRTMIN if
_SIGRTMIN is unavailable.
From-SVN: r53636
2002-05-19 17:36:14 +00:00
Mark Mitchell
bce0deb2b6
* config.gcc (powerpc-wrs-windiss*): New target.
...
From-SVN: r53635
2002-05-19 17:17:34 +00:00
Franz Sirl
4aa74a4f5a
rs6000.md (ashrdi3_no_power): New.
...
2002-05-19 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* config/rs6000/rs6000.md (ashrdi3_no_power): New.
(ashrdi3): Use it.
From-SVN: r53634
2002-05-19 17:10:49 +00:00
Mark Mitchell
a15135c91a
configure.in (AC_CHECK_FUNCS): Add checks for scandir and alphasort.
...
* configure.in (AC_CHECK_FUNCS): Add checks for scandir and
alphasort.
* config.in: Regenerated.
* configure: Regenerated.
From-SVN: r53633
2002-05-19 16:25:51 +00:00
Kaveh Ghazi
a1ab4696ab
Fix a typo in a comment in my last checkin.
...
From-SVN: r53631
2002-05-19 15:23:06 +00:00
Kriang Lerdsuwanakij
4e664ef1fd
* error.c (dump_type) [TYPEOF_TYPE]: Fix parenthesis printing.
...
From-SVN: r53623
2002-05-19 10:58:39 +00:00
Kriang Lerdsuwanakij
077827189d
PR c++/186, DR 259
...
PR c++/186, DR 259
* pt.c (do_decl_instantiation): Don't complain explicit
instantiation after explicit specialization.
(do_type_instantiation): Likewise.
From-SVN: r53621
2002-05-19 10:11:50 +00:00
Richard Henderson
47754fd548
target-def.h (TARGET_BINDS_LOCAL_P): New.
...
* target-def.h (TARGET_BINDS_LOCAL_P): New.
* target.h (struct gcc_target): Move boolean fields to the end.
Add binds_local_p.
* varasm.c (default_binds_local_p): New.
* output.h: Declare it.
* config/alpha/alpha.c (alpha_encode_section_info): Use the new hook.
* config/cris/cris.c (cris_encode_section_info): Likewise.
* config/i386/i386.c (i386_encode_section_info): Likewise.
* config/ia64/ia64.c (ia64_encode_section_info): Likewise.
* config/sh/sh.c (sh_encode_section_info): Likewise.
* doc/tm.texi (TARGET_IN_SMALL_DATA_P): New.
(TARGET_BINDS_LOCAL_P): New.
From-SVN: r53620
2002-05-19 02:50:27 -07:00
Paolo Carlini
c2f22a1230
deque_operators.cc (test01): Fix minor typo in last commit.
...
2002-05-19 Paolo Carlini <pcarlini@unitus.it>
* testsuite/23_containers/deque_operators.cc (test01):
Fix minor typo in last commit.
From-SVN: r53619
2002-05-19 09:16:21 +00:00
Richard Henderson
fc8813382e
system.h (BLOCK_PROFILER, [...]): Poison.
...
* system.h (BLOCK_PROFILER, BLOCK_PROFILER_CODE,
FUNCTION_BLOCK_PROFILER, FUNCTION_BLOCK_PROFILER_EXIT,
MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Poison.
* toplev.c (display_help): Kill -a -ax help.
* config/1750a/1750a.h, config/alpha/alpha.h,
config/clipper/clipper.h, config/dsp16xx/dsp16xx.h,
config/h8300/h8300.h, config/i960/i960.h, config/m68k/tower-as.h,
config/m88k/m88k.h, config/vax/vax.h, config/we32k/we32k.h:
(FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Kill.
* libgcc2.c [L_bb] (BLOCK_PROFILER_CODE): Kill.
* config/m68k/sun3.h (BLOCK_PROFILER_CODE): Kill.
* config/i386/i386-protos.h (ix86_output_block_profiler): Kill.
(ix86_output_function_block_profiler): Kill.
* config/m68hc11/m68hc11.c (m68hc11_block_profiler): Kill.
(m68hc11_function_block_profiler): Kill.
* config/m68hc11/m68hc11-protos.h: Update.
* config/m88k/m88k.c (output_block_profiler): Kill.
(output_function_block_profiler): Kill.
* config/m88k/m88k-protos.h: Update.
From-SVN: r53617
2002-05-19 01:31:53 -07:00
Richard Henderson
772c526579
system.h (STRIP_NAME_ENCODING): Poison it.
...
* system.h (STRIP_NAME_ENCODING): Poison it.
* output.h (STRIP_NAME_ENCODING): Remove.
(default_strip_name_encoding): Declare.
* target-def.h (TARGET_STRIP_NAME_ENCODING): New.
* target.h (strip_name_encoding): New.
* varasm.c (default_strip_name_encoding): New.
* dwarf2asm.c, varasm.c, config/darwin.c, config/darwin.h,
config/alpha/alpha.c, config/arm/pe.c, config/avr/avr.c,
config/cris/cris.c, config/i386/cygwin.h, config/i386/interix.c,
config/i386/winnt.c, config/m32r/m32r.h, config/mcore/mcore-elf.h,
config/mcore/mcore-pe.h, config/mcore/mcore.c, config/mcore/mcore.h,
config/mips/mips.c, config/mn10200/mn10200.h, config/mn10300/mn10300.h,
config/pa/pa.c, config/pa/pa.h, config/pa/som.h,
config/rs6000/rs6000.c, config/rs6000/sysv4.h, config/rs6000/xcoff.h,
config/v850/v850.h: Use the hook, not the macro.
* config/darwin-protos.h, config/darwin.c, config/darwin.h,
config/alpha/alpha.c, config/alpha/alpha.h, config/h8300/h8300.c,
config/h8300/h8300.h, config/i386/cygwin.h, config/i386/i386-interix.h,
config/i386/i386-protos.h, config/i386/win32.h, config/i386/winnt.c,
config/ia64/ia64.c, config/ia64/ia64.h, config/m32r/m32r.c,
config/m32r/m32r.h, config/mcore/mcore.c, config/mcore/mcore.h,
config/pa/pa.c, config/rs6000/rs6000.c, config/rs6000/sysv4.h,
config/rs6000/xcoff.h, config/sh/sh.c, config/sh/sh.h,
config/v850/v850.c, config/v850/v850.h:
Move STRIP_NAME_ENCODING to out-of-line function and add
TARGET_STRIP_NAME_ENCODING.
* config/arm/arm.c, config/arm/arm.h, config/mmix/mmix-protos.h,
config/mmix/mmix.c, config/mmix/mmix.h: Replace STRIP_NAME_ENCODING
with TARGET_STRIP_NAME_ENCODING referencing existing function;
make function static.
* xcoffout.c: Include target.h
* Makefile.in (xcoffout.o): Update.
* config/avr/avr.c (avr_encode_section_info): Correct prototype.
* config/avr/avr.h (STRIP_NAME_ENCODING): Remove.
* config/rs6000/rs6000.c (rs6000_xcoff_unique_section): Mark
reloc argument unused.
* config/sh/sh.c (TARGET_ENCODE_SECTION_INFO): New.
* doc/tm.texi (TARGET_STRIP_NAME_ENCODING): Update from previous
STRIP_NAME_ENCODING docs.
From-SVN: r53615
2002-05-19 00:55:48 -07:00
GCC Administrator
ae6ac996cc
Daily bump.
...
From-SVN: r53614
2002-05-19 07:21:50 +00:00
Andreas Jaeger
8f9eb495d6
gengenrtl.c: Add prototype for excluded_rtx.
...
* gengenrtl.c: Add prototype for excluded_rtx.
* real.h: Add prototype for exact_real_truncate.
From-SVN: r53607
2002-05-19 08:04:22 +02:00
Richard Henderson
fb49053ffd
system.h (ENCODE_SECTION_INFO): Poison it.
...
* system.h (ENCODE_SECTION_INFO): Poison it.
* target-def.h (TARGET_ENCODE_SECTION_INFO): New.
* target.h (encode_section_info): New.
* varasm.c (make_decl_rtl, output_constant_def): Use it.
* hooks.c (hook_tree_int_void): New.
* hooks.h: Declare it.
* config/darwin.h, config/alpha/alpha-protos.h, config/alpha/alpha.c,
config/alpha/alpha.h, config/arm/pe.h, config/avr/avr-protos.h,
config/avr/avr.c, config/avr/avr.h, config/c4x/c4x-protos.h,
config/c4x/c4x.c, config/c4x/c4x.h, config/cris/cris-protos.h,
config/cris/cris.c, config/cris/cris.h, config/i386/cygwin.h,
config/i386/win32.h, config/ia64/ia64-protos.h, config/ia64/ia64.c,
config/ia64/ia64.h, config/m32r/m32r-protos.h, config/m32r/m32r.c,
config/m32r/m32r.h, config/m68hc11/m68hc11-protos.h,
config/m68hc11/m68hc11.c, config/m68hc11/m68hc11.h,
config/mcore/mcore-protos.h, config/mcore/mcore.c,
config/mcore/mcore.h, config/mmix/mmix-protos.h, config/mmix/mmix.c,
config/mmix/mmix.h, config/rs6000/rs6000-protos.h,
config/rs6000/sysv4.h, config/stormy16/stormy16-protos.h,
config/stormy16/stormy16.c, config/stormy16/stormy16.h:
Replace ENCODE_SECTION_INFO with TARGET_ENCODE_SECTION_INFO
referencing existing function. Make function static.
* config/a29k/a29k.c, config/a29k/a29k.h, config/arc/arc.c,
config/arc/arc.h, config/arm/arm.c, config/arm/arm.h,
config/h8300/h8300.c, config/h8300/h8300.h, config/i370/i370.c,
config/i370/i370.h, config/i386/i386-interix.h, config/i386/i386.c,
config/i386/i386.h, config/i386/interix.c, config/m88k/m88k.c,
config/m88k/m88k.h, config/mips/mips.c, config/mips/mips.h,
config/ns32k/ns32k.c, config/ns32k/ns32k.h, config/pa/pa.c,
config/pa/pa.h, config/romp/romp.c, config/romp/romp.h,
config/rs6000/linux64.h, config/rs6000/xcoff.h, config/s390/s390.c,
config/s390/s390.h, config/sh/sh.c, config/sh/sh.h,
config/sparc/sparc.c, config/sparc/sparc.h, config/v850/v850.c,
config/v850/v850.h, config/vax/vax.c, config/vax/vms.h,
config/xtensa/xtensa.c, config/xtensa/xtensa.h:
Move ENCODE_SECTION_INFO to out-of-line function and add
TARGET_ENCODE_SECTION_INFO.
* config/darwin.h (ASM_DECLARE_FUNCTION_NAME): Use hook, not macro.
(ASM_DECLARE_OBJECT_NAME, ASM_OUTPUT_ALIGNED_DECL_LOCAL): Likewise.
* config/arm/pe.h (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Rename
from SUBTARGET_*
(switch_to_section): Replace in_rdata case with in_readonly_data.
* config/h8300/h8300.c (h8300_encode_label): Make static.
* config/h8300/h8300-protos.h: Update.
* config/rs6000/rs6000.c (rs6000_elf_encode_section_info): Rename
from rs6000_encode_section_info; make static.
(rs6000_xcoff_encode_section_info): New.
* config/v850/v850.c (v850_encode_data_area): Make static.
* config/v850/v850-protos.h: Update.
* config/vax/vax.c: Include flags.h.
(vms_select_section): Fix typo.
* doc/tm.texi (TARGET_ENCODE_SECTION_INFO): Update from previous
ENCODE_SECTION_INFO docs.
From-SVN: r53606
2002-05-18 22:23:27 -07:00
Alexandre Oliva
23b4deba7b
cp-tree.h (complete_type_or_diagnostic): Changed prototype, renamed from...
...
* cp-tree.h (complete_type_or_diagnostic): Changed prototype,
renamed from...
(complete_type_or_else): ... this. Redefined as macro.
(cxx_incomplete_type_diagnostic): Declare.
(cxx_incomplete_type_error): Define as macro.
* init.c (build_delete): Warn about incomplete types other than
void, and use the built-in operator delete for them.
* typeck.c (complete_type_or_diagnostic): Renamed from
complete_type_or_else. Added warn_only argument, passed to...
* typeck2.c (cxx_incomplete_type_diagnostic): ... this. Print
warnings or errors depending on new warn_only argument. Renamed
from...
(cxx_incomplete_type_error): ... this. New implementation in
terms of cxx_incomplete_type_diagnostic.
From-SVN: r53605
2002-05-19 05:15:12 +00:00
Richard Henderson
410b770f63
* config.gcc: Do not use rs6000-c.c on powerpc-darwin.
...
From-SVN: r53604
2002-05-18 19:42:37 -07:00
Richard Henderson
9fe08fd013
darwin.h (DARWIN_REGISTER_TARGET_PRAGMAS): Rename from REGISTER_TARGET_PRAGMAS.
...
* config/darwin.h (DARWIN_REGISTER_TARGET_PRAGMAS): Rename from
REGISTER_TARGET_PRAGMAS.
* config/rs6000/darwin.h (REGISTER_TARGET_PRAGMAS): Redefine.
From-SVN: r53603
2002-05-18 19:31:35 -07:00
David Billinghurst
210142e0e2
weak-2.c: xfail warnings for platforms that don't support weak symbols.
...
2002-05-19 David Billinghurst <David.Billinghurst@riotinto.com>
* gcc.dg/weak-2.c: xfail warnings for platforms that don't
support weak symbols.
* gcc.dg/weak-4.c: Likewise
* gcc.dg/weak-6.c: Likewise
From-SVN: r53601
2002-05-19 01:20:53 +00:00
Richard Henderson
b64a1b533c
system.h (SELECT_RTX_SECTION): Poison.
...
* system.h (SELECT_RTX_SECTION): Poison.
* target-def.h (TARGET_ASM_SELECT_RTX_SECTION): New.
* target.h (select_rtx_section): New.
* varasm.c (output_constant_pool): Use it.
(default_select_rtx_section, default_elf_select_rtx_section): New.
* output.h: Declare them.
* config/darwin.h (SELECT_RTX_SECTION): Move ...
* config/darwin.c (machopic_select_rtx_section): ... here.
* config/darwin-protos.h: Update.
* config/nextstep.h (SELECT_RTX_SECTION): Move ...
* config/nextstep.c (machopic_select_rtx_section): ... here.
(nextstep_select_section): Rename variable to avoid macro clash.
* config/nextstep-protos.h: Update.
* config/elfos.h, config/svr3.h, config/arm/aof.h, config/c4x/c4x.h,
config/i386/dgux.h, config/i386/osfrose.h, config/i386/sco5.h,
config/i386/svr3gas.h, config/i860/paragon.h, config/ia64/aix.h,
config/m32r/m32r.h, config/m68k/dpx2.h, config/m68k/lynx.h,
config/m68k/m68k.h, config/m68k/tower-as.h, config/m88k/dgux.h,
config/mcore/mcore-pe.h, config/mips/mips.h, config/mmix/mmix.h,
config/pa/pa-linux.h, config/pa/pa.h, config/romp/romp.h,
config/rs6000/lynx.h, config/rs6000/sysv4.h, config/s390/linux.h,
config/sparc/sysv4.h, config/xtensa/elf.h, config/xtensa/linux.h
(SELECT_RTX_SECTION): Remove.
* config/darwin.h, config/elfos.h, config/nextstep.h,
config/ia64/aix.h, config/ia64/sysv4.h, config/alpha/alpha.c,
config/mips/mips.c, config/romp/romp.c, config/rs6000/sysv4.h,
config/rs6000/xcoff.h, config/s390/s390.c, config/sparc/aout.h,
config/sparc/lynx.h, config/xtensa/xtensa.c
(TARGET_ASM_SELECT_RTX_SECTION): New.
* config/alpha/elf.h (SELECT_RTX_SECTION): Move ...
* config/alpha/alpha.c (alpha_elf_select_rtx_section): ... here.
* config/ia64/sysv4.h (SELECT_RTX_SECTION): Move ...
* config/ia64/ia64.c (ia64_select_rtx_section): ... here.
(ia64_aix_select_rtx_section): New.
* config/mips/iris6.h (READONLY_DATA_SECTION_ASM_OP): Undef before
redefining.
* config/mips/mips.c (mips_select_rtx_section): Make static.
Support ELF SHF_MERGE features.
* config/mips/mips-protos.h: Update.
* config/rs6000/xcoff.h (SELECT_RTX_SECTION): Move ...
* config/rs6000/rs6000.c (rs6000_xcoff_select_rtx_section): ... here.
(rs6000_elf_select_rtx_section): Rename from rs6000_select_rtx_section;
make static, fall back to default_elf_select_rtx_section.
* config/rs6000/rs6000-protos.h: Update.
* config/sparc/sparc.h (SELECT_RTX_SECTION): Move ...
* config/sparc/sparc.c (sparc_aout_select_rtx_section): ... here.
* config/sparc/sunos4.h (on_exit): Declare only if IN_LIBGCC2.
* config/romp/romp.c (romp_select_rtx_section): New.
* config/s390/s390.c (s390_select_rtx_section): New.
* config/xtensa/xtensa.c: Include output.h. Shuffle local function
declarations before target macro definition.
(xtensa_emit_call): Use static buffer.
(xtensa_select_rtx_section): New.
* config/xtensa/xtensa.h (MAX_INT_TYPE_SIZE): Remove.
(IMPLICIT_FIX_EXPR, EASY_DIV_EXPR): Remove.
(ASM_OUTPUT_POOL_PROLOGUE): Update call to resolve_unique_section.
* doc/tm.texi (TARGET_ASM_SELECT_RTX_SECTION): Update from
SELECT_RTX_SECTION docs.
From-SVN: r53600
2002-05-18 16:47:22 -07:00
Tim Josling
d63e8c4857
.info build fix, add flag needed by c-common.c
...
From-SVN: r53599
2002-05-18 23:29:36 +00:00
Jan Hubicka
5f90a099ed
i386.md (movsi/movdi): Fix template.
...
* i386.md (movsi/movdi): Fix template.
(sse2 patterns): Set attributes consistently.
* i386.md (pushqi2, ashrqi_*): Fix constraint.
From-SVN: r53598
2002-05-18 22:26:33 +00:00
Toon Moene
6835a09cfc
optabs.c (complex_part_zero_p): New.
...
2002-05-18 Toon Moene <toon@moene.indiv.nluug.nl>
* optabs.c (complex_part_zero_p): New.
* (expand_cmplxdiv_straight): Use it.
* (expand_cmplxdiv_wide): Ditto.
* (expand_binop): Ditto.
From-SVN: r53594
2002-05-18 19:45:18 +00:00
Richard Henderson
d48bc59acf
final.c (HAVE_READONLY_DATA_SECTION): New.
...
* final.c (HAVE_READONLY_DATA_SECTION): New.
(shorten_branches): Use it instead of ifdefs.
* varasm.c (enum in_section): Add in_readonly_data.
(text_section, data_section): Tidy.
(readonly_data_section): Use READONLY_DATA_SECTION_ASM_OP if present.
* config/darwin.h, config/nextstep.h, config/h8300/elf.h,
config/i860/paragon.h, config/m68k/dpx2.h, config/m68k/hp320.h
(READONLY_DATA_SECTION): Don't undef.
* config/alpha/unicosmk.h, config/h8300/elf.h, config/i386/aix386ng.h,
config/i860/paragon.h, config/m68k/dpx2.h, config/m68k/hp320.h,
config/rs6000/lynx.h (READONLY_DATA_SECTION_ASM_OP): Undef.
* config/elfos.h, config/svr3.h, config/alpha/alpha-interix.h,
config/alpha/elf.h, config/c4x/c4x.h, config/i386/i386-interix.h,
config/i386/sco5.h, config/i386/svr3gas.h, config/i860/sysv3.h,
config/m88k/m88k.h, config/pa/pa64-hpux.h (USE_CONST_SECTION): Remove.
* config/elfos.h, config/netware.h, config/alpha/alpha-interix.h,
config/alpha/elf.h, config/alpha/vms.h, config/arc/arc.h,
config/arm/coff.h, config/c4x/c4x.h, config/dsp16xx/dsp16xx.h,
config/i386/dgux.h, config/i386/i386-interix.h, config/i386/sco5.h,
config/ia64/hpux.h, config/m32r/m32r.h, config/m68k/tower-as.h,
config/m88k/m88k.h, config/mcore/mcore-pe.h, config/mips/iris6.h,
config/mips/mips.h, config/mmix/mmix.h, config/pa/pa64-hpux.h,
config/sparc/sysv4.h (READONLY_DATA_SECTION_ASM_OP): Rename from
CONST_SECTION_ASM_OP/READONLY_SECTION_ASM_OP/RDATA_SECTION_ASM_OP.
* config/elfos.h, config/netware.h, config/1750a/1750a.h,
config/a29k/a29k.h, config/alpha/alpha-interix.h, config/alpha/alpha.h,
config/arm/coff.h, config/h8300/h8300.h, config/i386/aix386ng.h,
config/i386/i386-interix.h, config/i386/osfrose.h, config/mmix/mmix.h,
config/pa/pa64-hpux.h, config/sparc/litecoff.h
(EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Remove.
* config/elfos.h, config/netware.h, config/svr3.h,
config/alpha/alpha-interix.h, config/alpha/alpha.h, config/alpha/elf.h,
config/arm/coff.h, config/c4x/c4x.h, config/dsp16xx/dsp16xx.h,
config/h8300/h8300.h, config/i386/i386-interix.h,
config/i386/osfrose.h, config/i386/svr3gas.h, config/mmix/mmix.h,
config/pa/pa64-hpux.h (READONLY_DATA_SECTION): Remove.
* config/elfos.h, config/netware.h, config/svr3.h,
config/alpha/alpha-interix.h, config/alpha/alpha.h, config/alpha/elf.h,
config/c4x/c4x.h, config/i386/aix386ng.h, config/i386/i386-interix.h,
config/i386/sco5.h, config/i386/svr3gas.h, config/mmix/mmix.h,
config/pa/pa64-hpux.h (CONST_SECTION_FUNCTION): Remove.
* config/lynx.h, config/svr3.h, config/alpha/elf.h, config/alpha/vms.h,
config/c4x/c4x.h, config/dsp16xx/dsp16xx.h, config/i386/sco5.h,
config/i386/svr3gas.h, config/i860/sysv3.h, config/i860/sysv4.h,
config/ia64/sysv4.h, config/m32r/m32r.h, config/m88k/m88k.h,
config/mcore/mcore-elf.h, config/mcore/mcore-pe.h, config/mips/elf.h,
config/mips/elf64.h, config/mips/iris6.h, config/mips/linux.h,
config/mips/mips.h, config/mips/rtems64.h, config/mips/vxworks.h,
config/rs6000/sysv4.h, config/v850/v850.h
(EXTRA_SECTIONS): Remove in_const/in_rdata.
(EXTRA_SECTION_FUNCTIONS): Remove accompanying function.
* config/svr3.h, config/c4x/c4x.h, config/i386/dgux.h,
config/i386/sco5.h, config/i386/svr3gas.h, config/ia64/aix.h,
config/m88k/dgux.h, config/mcore/mcore-pe.h, config/mmix/mmix.h,
config/sparc/sysv4.h (SELECT_RTX_SECTION): Use readonly_data_section.
* config/alpha/alpha.c (alpha_start_function): Likewise.
(alpha_write_linkage): Likewise.
* config/m32r/m32r.c (m32r_select_section): Likewise.
* config/m88k/m88k.c (m88k_select_section): Likewise.
* config/mips/mips.c (mips_select_rtx_section): Likewise.
* config/rs6000/rs6000.c (rs6000_select_rtx_section): Likewise.
(rs6000_elf_select_section): Likewise.
* config/v850/v850.c (v850_select_section): Likewise.
* config/1750a/1750a.h, config/i860/sysv3.h
(READONLY_DATA_SECTION_ASM_OP): New.
READONLY_DATA_SECTION_ASM_OP.
* config/i386/interix.c, config/i386/winnt.c
(i386_pe_unique_section): Always use .rdata prefix.
* config/pa/som.h (readonly_data): Always switch to read-only section.
(READONLY_DATA_SECTION): Predicate on flag_pic.
* config/we32k/we32k.h (READONLY_DATA_SECTION): Remove parenthesis.
* doc/tm.texi (READONLY_DATA_SECTION_ASM_OP): New.
(READONLY_DATA_SECTION): Update.
From-SVN: r53593
2002-05-18 12:27:52 -07:00
Jason Thorpe
e964a55607
c-common.c (c_common_post_options): Warn if -Wformat-zero-length is used without -Wformat.
...
* c-common.c (c_common_post_options): Warn if -Wformat-zero-length
is used without -Wformat.
* c-common.h (warn_format_zero_length): Declare extern.
* c-decl.c (warn_options): Add "format-zero-length".
* c-format.c (warn_format_zero_length): Declare.
(set_Wformat): Set warn_format_zero_length for -Wformat.
(check_format_info): Only warn about zero-length formats if
warn_format_zero_length is true. Include the format type
name in the warning message.
* doc/invoke.texi: Document -Wformat-zero-length.
* testsuite/gcc.dg/format/zero-length-1.c: New test.
From-SVN: r53592
2002-05-18 19:02:03 +00:00
Kazu Hirata
d92b44865f
timevar.c: Fix formatting.
...
* timevar.c: Fix formatting.
* tlink.c: Likewise.
* toplev.c: Likewise.
* tree-dump.c: Likewise.
* tree-inline.c: Likewise.
From-SVN: r53591
2002-05-18 15:16:25 +00:00
Paolo Carlini
770dc0c5b9
re PR libstdc++/6503 ((Deque) Iterators are not typesafe)
...
2002-05-18 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/6503
* include/bits/stl_deque.h (_Deque_iterator::operator==,
operator!=, operator<, operator>, operator>=, operator<=):
Make non-member functions, to allow comparing const and
non-const iterators in any order.
* testsuite/23_containers/deque_operators.cc: New testfile.
From-SVN: r53590
2002-05-18 15:10:24 +00:00
Jason Merrill
2724afa4a2
fix typo
...
From-SVN: r53589
2002-05-18 10:54:19 -04:00
Neil Booth
43612ffb67
cppinit.c (cpp_post_options): If preprocessed, turn off traditional.
...
* cppinit.c (cpp_post_options): If preprocessed, turn off
traditional. If traditional, turn off column numbers.
* cpplib.c (cpp_push_buffer): Lex from stage 3 if traditional.
* cpptrad.c (handle_newline): Update line_base.
(skip_comment): Handle -Wcomment.
From-SVN: r53582
2002-05-18 08:23:20 +00:00
GCC Administrator
c810846eb0
Daily bump.
...
From-SVN: r53581
2002-05-18 07:16:50 +00:00
Jason Merrill
b41d214eef
decl2.c (import_export_decl): If we clear DECL_NOT_REALLY_EXTERN, make sure DECL_EXTERNAL is set.
...
* decl2.c (import_export_decl): If we clear
DECL_NOT_REALLY_EXTERN, make sure DECL_EXTERNAL is set.
From-SVN: r53576
2002-05-18 00:47:31 -04:00