OSDN Git Service

pf3gnuchains/gcc-fork.git
22 years ago * system.h (STRIP_NAME_ENCODING): Poison it.
rth [Sun, 19 May 2002 07:55:48 +0000 (07:55 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53615 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoDaily bump.
gccadmin [Sun, 19 May 2002 07:21:50 +0000 (07:21 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53614 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * gengenrtl.c: Add prototype for excluded_rtx.
aj [Sun, 19 May 2002 06:04:22 +0000 (06:04 +0000)]
* gengenrtl.c: Add prototype for excluded_rtx.

* real.h: Add prototype for exact_real_truncate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53607 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * system.h (ENCODE_SECTION_INFO): Poison it.
rth [Sun, 19 May 2002 05:23:27 +0000 (05:23 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53606 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* cp-tree.h (complete_type_or_diagnostic): Changed prototype,
aoliva [Sun, 19 May 2002 05:15:12 +0000 (05:15 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53605 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config.gcc: Do not use rs6000-c.c on powerpc-darwin.
rth [Sun, 19 May 2002 02:42:37 +0000 (02:42 +0000)]
    * config.gcc: Do not use rs6000-c.c on powerpc-darwin.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53604 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/darwin.h (DARWIN_REGISTER_TARGET_PRAGMAS): Rename from
rth [Sun, 19 May 2002 02:31:35 +0000 (02:31 +0000)]
    * config/darwin.h (DARWIN_REGISTER_TARGET_PRAGMAS): Rename from
        REGISTER_TARGET_PRAGMAS.
        * config/rs6000/darwin.h (REGISTER_TARGET_PRAGMAS): Redefine.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53603 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-05-19 David Billinghurst <David.Billinghurst@riotinto.com>
billingd [Sun, 19 May 2002 01:20:53 +0000 (01:20 +0000)]
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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53601 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * system.h (SELECT_RTX_SECTION): Poison.
rth [Sat, 18 May 2002 23:47:22 +0000 (23:47 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53600 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago.info build fix, add flag needed by c-common.c
timjosling [Sat, 18 May 2002 23:29:36 +0000 (23:29 +0000)]
.info build fix, add flag needed by c-common.c

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53599 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * i386.md (movsi/movdi): Fix template.
hubicka [Sat, 18 May 2002 22:26:33 +0000 (22:26 +0000)]
* i386.md (movsi/movdi): Fix template.
(sse2 patterns): Set attributes consistently.

* i386.md (pushqi2, ashrqi_*): Fix constraint.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53598 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-05-18 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Sat, 18 May 2002 19:45:18 +0000 (19:45 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53594 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * final.c (HAVE_READONLY_DATA_SECTION): New.
rth [Sat, 18 May 2002 19:27:52 +0000 (19:27 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53593 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* c-common.c (c_common_post_options): Warn if -Wformat-zero-length
thorpej [Sat, 18 May 2002 19:02:03 +0000 (19:02 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53592 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * timevar.c: Fix formatting.
kazu [Sat, 18 May 2002 15:16:25 +0000 (15:16 +0000)]
* timevar.c: Fix formatting.
* tlink.c: Likewise.
* toplev.c: Likewise.
* tree-dump.c: Likewise.
* tree-inline.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53591 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-05-18 Paolo Carlini <pcarlini@unitus.it>
paolo [Sat, 18 May 2002 15:10:24 +0000 (15:10 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53590 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agofix typo
jason [Sat, 18 May 2002 14:54:19 +0000 (14:54 +0000)]
fix typo

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53589 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * cppinit.c (cpp_post_options): If preprocessed, turn off
neil [Sat, 18 May 2002 08:23:20 +0000 (08:23 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53582 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoDaily bump.
gccadmin [Sat, 18 May 2002 07:16:50 +0000 (07:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53581 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * decl2.c (import_export_decl): If we clear
jason [Sat, 18 May 2002 04:47:31 +0000 (04:47 +0000)]
    * decl2.c (import_export_decl): If we clear
        DECL_NOT_REALLY_EXTERN, make sure DECL_EXTERNAL is set.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53576 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * cppinit.c (struct builtin): Remove unused fields.
zack [Sat, 18 May 2002 00:43:13 +0000 (00:43 +0000)]
* cppinit.c (struct builtin): Remove unused fields.
(CPLUS, BUILTIN, OPERATOR, O, builtin_array_end): Kill.
(operator_array): New - was second half of builtin_array.
(init_builtins): Simplify loop over builtin_array/operator_array.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53574 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * defaults.h (UNIQUE_SECTION): Remove.
neil [Fri, 17 May 2002 23:25:19 +0000 (23:25 +0000)]
* defaults.h (UNIQUE_SECTION): Remove.
* system.h (UNIQUE_SECTION, SELECT_SECTION): Poison.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53573 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * expr.c (init_expr_once): Don't use start/end_sequence.
rth [Fri, 17 May 2002 22:46:22 +0000 (22:46 +0000)]
    * expr.c (init_expr_once): Don't use start/end_sequence.
        Use rtx_alloc instead of emit_insn.
        * toplev.c (lang_dependent_init): Run init_expr_once here ...
        (lang_independent_init): ... not here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53572 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* config/sh/lib1funcs.asm (GLOBAL): Use __USER_LABEL_PREFIX__.
thorpej [Fri, 17 May 2002 21:05:32 +0000 (21:05 +0000)]
* config/sh/lib1funcs.asm (GLOBAL): Use __USER_LABEL_PREFIX__.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53570 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/avr/avr.c (avr_regs_to_save): New function. Also check
marekm [Fri, 17 May 2002 20:19:47 +0000 (20:19 +0000)]
* config/avr/avr.c (avr_regs_to_save): New function.  Also check
for fixed registers, possibly used for global register variables.
(initial_elimination_offset, avr_output_function_prologue,
avr_output_function_epilogue):  Move common code to avr_regs_to_save.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53569 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * Makefile.in: Update for cpptrad.c.
neil [Fri, 17 May 2002 20:16:48 +0000 (20:16 +0000)]
* Makefile.in: Update for cpptrad.c.
* cpphash.h (struct cpp_buffer): New members for buffer
overlays.
(struct cpp_reader): New members for traditional output.
(_cpp_read_logical_line, _cpp_overlay_buffer): New.
* cppinit.c (cpp_create_reader): Set trad_line.
(cpp_destroy): Free trad_out_base if used.
(cpp_read_main_file): Overlay an empty buffer if traditional.
(cpp_finish_options): Don't do builtins.
(COMMAND_LINE_OPTIONS): Add -traditional-cpp.
(cpp_handle_option): Handle it.
* cpplex.c (continue_after_nul): New.
(_cpp_lex_direct): Use handle_nul.
* cpplib.h (struct cpp_options): New traditional option.
* cpptrad.c: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53568 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * c-common.c (c_common_init_options): Use C89 for Objective-C,
neil [Fri, 17 May 2002 19:37:43 +0000 (19:37 +0000)]
* c-common.c (c_common_init_options): Use C89 for Objective-C,
and set the options flag.
* cppinit.c (lang_flags): Remove objc.
(lang_defaults): Remove OBJC and OBJCXX.
(set_lang): Update.
(COMMAND_LINE_OPTIONS): Remove -+ and -lang-objc++.
(cpp_handle_option): Remove -+ and -lang-objc++.
For ObjC, just set a flag.
(print_help): Update.
* cpplib.h (enum c_lang): Remove CLK_OBJC and CLK_OBJCXX.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53566 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * doc/install.texi (Specific, mips-sgi-irix6): Document need to
ro [Fri, 17 May 2002 19:04:36 +0000 (19:04 +0000)]
* doc/install.texi (Specific, mips-sgi-irix6): Document need to
bootstrap with -mips3.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53564 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * final.c: Fix formatting.
kazu [Fri, 17 May 2002 18:07:01 +0000 (18:07 +0000)]
* final.c: Fix formatting.
* fix-header.c: Likewise.
* flow.c: Likewise.
* fold-const.c: Likewise.
* function.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53563 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-05-17 David S. Miller <davem@redhat.com>
davem [Fri, 17 May 2002 17:01:06 +0000 (17:01 +0000)]
2002-05-17  David S. Miller  <davem@redhat.com>

PR c/6689, PR optimization/6615
* local-alloc.c (struct equivalence): Rename 'src' to 'src_p'
and make it a pointer to rtx.  Update comments.
(update_equiv_regs): When scanning for equivalences, record
address of SET_SRC (set) in reg_equiv[].src_p.  Dereference
it while making the equiv replacements.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53561 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/sparc/sparc.c (sparc_aout_select_section): Fixed typo.
ro [Fri, 17 May 2002 11:53:38 +0000 (11:53 +0000)]
* config/sparc/sparc.c (sparc_aout_select_section): Fixed typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53559 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/sh/sh.h (ENCODE_SECTION_INFO): Consider MODULE_LOCAL_P
rsandifo [Fri, 17 May 2002 11:47:46 +0000 (11:47 +0000)]
* config/sh/sh.h (ENCODE_SECTION_INFO): Consider MODULE_LOCAL_P
when encoding visibility into SYMBOL_REF_FLAG.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53558 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * expr.c (force_operand): Fix reversed move.
rsandifo [Fri, 17 May 2002 11:37:24 +0000 (11:37 +0000)]
* expr.c (force_operand): Fix reversed move.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53556 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * doc/install.texi (Testing): Mention two common DejaGnu warnings
gerald [Fri, 17 May 2002 10:43:03 +0000 (10:43 +0000)]
* doc/install.texi (Testing): Mention two common DejaGnu warnings
that can be ignored.

* doc/install.texi (Final install): Recommend to install into a
"clean" target directory.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53552 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/ia64/ia64.md: Use braced strings instead of quoted strings
rth [Fri, 17 May 2002 07:51:56 +0000 (07:51 +0000)]
    * config/ia64/ia64.md: Use braced strings instead of quoted strings
        for code blocks.  Tidy whitespace.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53551 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * hooks.c (hook_tree_bool_false): New.
rth [Fri, 17 May 2002 07:43:41 +0000 (07:43 +0000)]
* hooks.c (hook_tree_bool_false): New.
* hooks.h: Declare it.
* target-def.h (TARGET_ASM_SELECT_SECTION): New.
(TARGET_ASM_UNIQUE_SECTION, TARGET_IN_SMALL_DATA_P): New.
* target.h (select_section, unique_section): New.
(in_small_data_p): New.
* varasm.c (resolve_unique_section): Use hooks instead of macros.
(variable_section, output_constant_def_contents): Likewise.
(default_select_section, default_unique_section): New.
(categorize_decl_for_section, default_elf_select_section): New.
* output.h: Declare them.

* config/darwin.h (ALIAS_SECTION, try_section_alias): Remove.
(TARGET_ASM_SELECT_SECTION): New.
(SELECT_SECTION): Move ...
* config/darwin.c (machopic_select_section): ... here.
* config/darwin-protos.h: Update.

* config/nextstep.h (TARGET_ASM_SELECT_SECTION): New.
(SELECT_SECTION): Move ...
* config/nextstep.c (nextstep_select_section): ... here.
* config/nextstep-protos.h: Update.

* config/elfos.h (UNIQUE_SECTION, SELECT_SECTION): Remove.
(TARGET_ASM_SELECT_SECTION): New.
* config/svr3.h (SELECT_SECTION): Remove.

* config/alpha/alpha.c (unicosmk_unique_section): Make static.
(TARGET_ASM_UNIQUE_SECTION) [UNICOS]: New.
(TARGET_IN_SMALL_DATA_P, alpha_in_small_data_p): New.
(alpha_encode_section_info): Use it.
* config/alpha/alpha-protos.h: Update.
* config/alpha/elf.h (DO_SELECT_SECTION): Remove.
(SELECT_SECTION, UNIQUE_SECTION): Remove.
(TARGET_ASM_SELECT_SECTION): New.
* config/alpha/unicosmk.h (UNIQUE_SECTION): Remove.

* config/arm/pe.h (UNIQUE_SECTION): Remove.
(TARGET_ASM_UNIQUE_SECTION): New.

* config/avr/avr.c (TARGET_ASM_UNIQUE_SECTION): New.
(avr_unique_section): Rename from unique_section; make static.
* config/avr/avr-protos.h: Update.
* config/avr/avr.h (UNIQUE_SECTION): Remove.

* config/c4x/c4x.h (SELECT_SECTION): Remove.

* config/i386/cygwin.h (UNIQUE_SECTION): Remove.
(TARGET_ASM_UNIQUE_SECTION): New.
* config/i386/i386-interix.h: Likewise.
* config/i386/win32.h: Likewise.
* config/i386/djgpp.h (UNIQUE_SECTION): Remove.
* config/i386/i386.c (ix86_asm_file_end): Use target hook not macro.
* config/i386/sco5.h (SELECT_SECTION): Remove.
(TARGET_ASM_SELECT_SECTION): New.
* config/i386/svr3gas.h (SELECT_SECTION): Remove.

* config/i860/paragon.h: Undef TARGET_ASM_SELECT_SECTION
instead of SELECT_SECTION.
* config/m68k/dpx2.h: Likewise.
* config/rs6000/lynx.h: Likewise.

* config/ia64/aix.h (SELECT_SECTION, UNIQUE_SECTION): Remove.
(TARGET_ASM_SELECT_SECTION, TARGET_ASM_UNIQUE_SECTION): New.
* config/ia64/ia64.c (TARGET_IN_SMALL_DATA_P): New.
(ia64_in_small_data_p): New.
(ia64_encode_section_info): Use it.  Reorganize overlarge conditional.
(ia64_aix_select_section, ia64_aix_unique_section): New.
* config/ia64/sysv4.h (DO_SELECT_SECTION): Remove.
(SELECT_SECTION, UNIQUE_SECTION): Remove.

* config/m32r/m32r.h (SELECT_SECTION): Remove.
(TARGET_ASM_SELECT_SECTION): New.
* config/m32r/m32r.c (m32r_select_section): Take align argument.
* config/m32r/m32r-protos.h: Update.

* config/m88k/m88k.h (TARGET_ASM_SELECT_SECTION): New.
(SELECT_SECTION): Move ...
* config/m88k/m88k.c (m88k_select_section): ... here.

* config/mcore/mcore-pe.h (SELECT_SECTION): Remove.
* config/mcore/mcore.h (UNIQUE_SECTION): Remove.
* config/mcore/mcore.c (TARGET_ASM_UNIQUE_SECTION): New.
(mcore_unique_section): Make static.
* config/mcore/mcore-protos.h: Update.

* config/mips/elf.h (UNIQUE_SECTION): Remove.
(TARGET_ASM_UNIQUE_SECTION): New.
* config/mips/elf64.h: Likewise.
* config/mips/iris6gld.h: Likewise.
* config/mips/linux.h: Likewise.
* config/mips/mips-protos.h: Update.
* config/mips/mips.c (mips_select_section): Add align argument.
* config/mips/mips.h (SELECT_SECTION): Remove.
(TARGET_ASM_SELECT_SECTION): New.

* config/mmix/mmix.h (SELECT_SECTION, UNIQUE_SECTION): Remove.
* config/mmix/mmix.c (mmix_select_section): Remove.
(mmix_unique_section): Remove.
* config/mmix/mmix-protos.h: Update.

* config/pa/pa.h (TARGET_ASM_SELECT_SECTION): New.
(SELECT_SECTION): Move ...
* config/pa/pa.c (pa_select_section): ... here.
* config/pa/pa64-hpux.h (UNIQUE_SECTION): Remove.

* config/rs6000/rs6000.c (rs6000_elf_select_section): Rename
from rs6000_select_section and make static.
(rs6000_elf_unique_section): Similarly.
(rs6000_xcoff_select_section): From xcoff.h.
(rs6000_xcoff_unique_section): Likewise.
* config/rs6000/rs6000-protos.h: Update.
* config/rs6000/sysv4.h (SELECT_SECTION, UNIQUE_SECTION): Remove.
(TARGET_ASM_SELECT_SECTION, TARGET_ASM_UNIQUE_SECTION): New.
* config/rs6000/xcoff.h: Likewise.

* config/sparc/aout.h (TARGET_ASM_SELECT_SECTION): New.
(SELECT_SECTION): Move ...
* config/sparc/sparc.c (sparc_aout_select_section): ... here.

* config/v850/v850.h (SELECT_SECTION): Move ...
* config/v850/v850.c (v850_select_section): ... here.
(TARGET_ASM_SELECT_SECTION): New.

* config/vax/vms.h (SELECT_SECTION): Move ...
* config/vax/vax.c (vms_select_section): ... here.
(TARGET_ASM_SELECT_SECTION): New.

* doc/tm.texi: Update SELECT_SECTION and UNIQUE_SECTION docs
for the target hooks.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53550 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* config/arm/arm.c (emit_multi_reg_push): Do not set RTX_FRAME_RELATED_P on
nickc [Fri, 17 May 2002 07:35:12 +0000 (07:35 +0000)]
* config/arm/arm.c (emit_multi_reg_push): Do not set RTX_FRAME_RELATED_P on
the SEQUENCE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53549 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoDaily bump.
gccadmin [Fri, 17 May 2002 07:19:45 +0000 (07:19 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53548 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/ia64/ia64.c (ia64_reorg): Rebuild bb_for_insn before
rth [Fri, 17 May 2002 07:01:18 +0000 (07:01 +0000)]
    * config/ia64/ia64.c (ia64_reorg): Rebuild bb_for_insn before
        splitting.  Use split_all_insns; update_life_info_in_dirty_blocks.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53544 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/ia64/ia64.c (saveable_obstack): Do not declare.
rth [Fri, 17 May 2002 04:24:53 +0000 (04:24 +0000)]
    * config/ia64/ia64.c (saveable_obstack): Do not declare.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53541 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-05-16 David.Billinghurst <David.Billinghurst@riotinto.com>
billingd [Fri, 17 May 2002 03:54:11 +0000 (03:54 +0000)]
2002-05-16  David.Billinghurst <David.Billinghurst@riotinto.com>

* gcc.dg/weak-3.c: Add dg-excess-error comment for
cygwin, coff and h8300-*-hms targets
* gcc.dg/weak-5.c: Likewise
* gcc.dg/weak-7.c: Likewise

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53539 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/alpha/unicosmk.h (TARGET_OS_CPP_BUILTINS): Fix typo.
rth [Fri, 17 May 2002 03:48:25 +0000 (03:48 +0000)]
    * config/alpha/unicosmk.h (TARGET_OS_CPP_BUILTINS): Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53538 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago Revert "Basic block renumbering removal", and two followup patches.
rth [Fri, 17 May 2002 02:31:56 +0000 (02:31 +0000)]
    Revert "Basic block renumbering removal", and two followup patches.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53537 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* lcm.c (optimize_mode_switching): Revert previous change.
thorpej [Fri, 17 May 2002 01:33:16 +0000 (01:33 +0000)]
* lcm.c (optimize_mode_switching): Revert previous change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53536 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * sched-rgn.c (schedule_insns): Initialize large_region_blocks
rth [Fri, 17 May 2002 01:13:46 +0000 (01:13 +0000)]
    * sched-rgn.c (schedule_insns): Initialize large_region_blocks
        with only extant block numbers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53535 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* lcm.c (optimize_mode_switching): Fix typo.
thorpej [Fri, 17 May 2002 00:14:39 +0000 (00:14 +0000)]
* lcm.c (optimize_mode_switching): Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53534 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * flow.c (calculate_global_regs_live): Queue blocks in program order.
rth [Fri, 17 May 2002 00:07:06 +0000 (00:07 +0000)]
    * flow.c (calculate_global_regs_live): Queue blocks in program order.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53533 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * doc/install.texi (Configuration): Document PWDCMD.
ro [Thu, 16 May 2002 22:15:53 +0000 (22:15 +0000)]
* doc/install.texi (Configuration): Document PWDCMD.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53532 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoReenable combination of hard regs unless CLASS_LIKELY_SPILLED_P.
dalej [Thu, 16 May 2002 21:30:48 +0000 (21:30 +0000)]
Reenable combination of hard regs unless CLASS_LIKELY_SPILLED_P.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53531 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-05-16 Phil Edwards <pme@gcc.gnu.org>
pme [Thu, 16 May 2002 20:03:46 +0000 (20:03 +0000)]
2002-05-16  Phil Edwards  <pme@gcc.gnu.org>

* docs/html/faq/index.html:  Update not-a-bug list with basic_file.h.
* docs/html/faq/index.txt:  Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53529 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * tradcpp.c (main): Accept -O*.
neil [Thu, 16 May 2002 19:17:11 +0000 (19:17 +0000)]
* tradcpp.c (main): Accept -O*.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53527 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * c-common.c (cb_register_builtins): Handle more built-ins
neil [Thu, 16 May 2002 19:09:40 +0000 (19:09 +0000)]
* c-common.c (cb_register_builtins): Handle more built-ins
here rather than in gcc.c specs.
* gcc.c (cpp_unique_options): Move many built-ins to c-common.c.
(cpp_options): Pass -O flags even when only preprocessing.
* toplev.c (set_fast_math_flags): New prototype.
(fast_math_flags_set_p): New.
(set_no_fast_math_flags): Remove.
(decode_f_option): Update.
* toplev.h (set_fast_math_flags): Update.
(fast_math_flags_set_p): New.
(set_no_fast_math_flags): Remove.
config:
* c4x/c4x.c (c4x_override_options): Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53526 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * c-common.c (STDC_0_IN_SYSTEM_HEADERS, REGISTER_PREFIX):
zack [Thu, 16 May 2002 19:03:02 +0000 (19:03 +0000)]
* c-common.c (STDC_0_IN_SYSTEM_HEADERS, REGISTER_PREFIX):
Default-define here.
(builtin_define_with_value): Can now wrap the expansion in
quotation marks if such is wanted.
(cb_register_builtins): Update calls to builtin_define_with_value.
Define __REGISTER_PREFIX__, __USER_LABEL_PREFIX__, and __VERSION__
here.
(c_common_init): Set options->stdc_0_in_system_headers.
* c-lex.h: Update prototype of builtin_define_with_value.
* cppdefault.h: Remove default definitions of USER_LABEL_PREFIX
and REGISTER_PREFIX.

* cppinit.c (VERS, ULP, C, X): Kill.
(builtin_array): Remove entries for __VERSION__,
__USER_LABEL_PREFIX__, __REGISTER_PREFIX__, and
__HAVE_BUILTIN_SETJMP__.  Make __STDC__ always a builtin, not
a constant.
(init_builtins): Kill off a bunch of now-dead code.
(COMMAND_LINE_OPTIONS): Remove -fleading-underscore and
-fno-leading-underscore.
(cpp_handle_option): Remove code to set user_label_prefix.
(cpp_post_options): Likewise.

* cpplib.h (struct cpp_options): Remove user_label_prefix.
(stdc_0_in_system_headers): New.
* cppmacro.c (builtin_macro): Check CPP_OPTION (pfile,
stdc_0_in_system_headers) too to decide the value of __STDC__.

* tradcpp.c (user_label_prefix): Kill.
(main): Remove code handling -f(no-)leading-underscore.
(initialize_builtins): Don't define __REGISTER_PREFIX__
or __USER_LABEL_PREFIX__.
(install_value): Wrap compound statement in dummy loop so the
macro works properly in an if statement.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53525 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * loop.h (struct loop_info): Add member has_prefetch.
janis [Thu, 16 May 2002 18:37:06 +0000 (18:37 +0000)]
* loop.h (struct loop_info): Add member has_prefetch.
* loop.c (PREFETCH_CONDITIONAL): Change default to 1.
(prescan_loop): Initialize has_prefetch.
(struct prefetch_info): Change prefetch_in_loop and
prefetch_before_loop from bit fields to ints.
(emit_prefetch_instructions): Several small fixes.
(check_dbra_loop): Don't reverse loop that uses prefetch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53524 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * Makefile.in: Allow for PWDCMD to override hardcoded pwd.
ro [Thu, 16 May 2002 17:43:21 +0000 (17:43 +0000)]
* Makefile.in: Allow for PWDCMD to override hardcoded pwd.
* config-ml.in: Likewise.
* configure: Likewise.
* configure.in: Likewise.

boehm-gc:
* acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
* aclocal.m4: Regenerate.
* configure: Regenerate.

config:
* acinclude.m4: Allow for PWDCMD to override hardcoded pwd.

contrib:
* test_installed: Allow for PWDCMD to override hardcoded pwd.
* test_summary: Likewise.

gcc:
* Makefile.in: Allow for PWDCMD to override hardcoded pwd.
* configure.in: Likewise.
* fixinc/check.tpl: Likewise.
* fixinc/fixinc.dgux: Likewise.
* fixinc/fixinc.svr4: Likewise.
* fixinc/fixinc.winnt: Likewise.
* fixinc/fixincl.sh: Likewise.
* fixproto: Likewise.
* configure: Regenerate.

gcc/ada:
* Makefile.adalib: Allow for PWDCMD to override hardcoded pwd.
* Makefile.in: Likewise.

gcc/f:
* Make-lang.in: Allow for PWDCMD to override hardcoded pwd.

gcc/java:
* Make-lang.in: Allow for PWDCMD to override hardcoded pwd.

gcc/po:
* exgettext: Allow for PWDCMD to override hardcoded pwd.

gcc/treelang:
* Make-lang.in: Allow for PWDCMD to override hardcoded pwd.

libf2c:
* Makefile.in: Allow for PWDCMD to override hardcoded pwd.
* aclocal.m4: Likewise.
* configure: Regenerate.

libjava:
* acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
* configure.in: Likewise.
* aclocal.m4: Regenerate.
* configure: Regenerate.

libobjc:
* aclocal.m4: Allow for PWDCMD to override hardcoded pwd.
* configure: Regenerate.

libstdc++-v3:
* Makefile.am: Allow for PWDCMD to override hardcoded pwd.
* acinclude.m4: Likewise.
* docs/html/Makefile: Likewise.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* Makefile.in: Regenerate.

zlib:
* configure.in: Allow for PWDCMD to override hardcoded pwd.
* configure: Regenerate.

* ChangeLog: Move entries to ChangeLog.gcj.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53523 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoBasic block renumbering removal.
rth [Thu, 16 May 2002 17:34:53 +0000 (17:34 +0000)]
Basic block renumbering removal.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53522 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * cfgrtl.c (purge_dead_edges): Correct handling of EDGE_EH.
mmitchel [Thu, 16 May 2002 17:04:55 +0000 (17:04 +0000)]
* cfgrtl.c (purge_dead_edges): Correct handling of EDGE_EH.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53521 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/arm/arm.c (arm_rtx_costs): Check for RTX being a
nickc [Thu, 16 May 2002 15:17:41 +0000 (15:17 +0000)]
* config/arm/arm.c (arm_rtx_costs): Check for RTX being a
    SYMBOL_REF before calling CONSTANT_POOL_ADDRESS_P.
    (arm_adjust_cost): Check for RTX being a SYMBOL_REF before
    calling CONSTANT_POOL_ADDRESS_P.
    * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Fix typo in code
    to decide whether to define __arm__ or __thumb.
        (THUMB_GO_IF_LEGITIMATE_ADDRESS): Check for RTX being a
    SYMBOL_REF before calling CONSTANT_POOL_ADDRESS_P.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53519 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * MAINTAINERS: Update my email address.
ciceron [Thu, 16 May 2002 13:48:53 +0000 (13:48 +0000)]
* MAINTAINERS: Update my email address.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53518 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago PR c++/6620
lerdsuwa [Thu, 16 May 2002 13:43:50 +0000 (13:43 +0000)]
PR c++/6620
* pt.c (verify_class_unification): Don't check if PARM is template
parameter dependent.  Simplify.
(unify) [TEMPLATE_PARM_INDEX]: Handle when ARG is a template
parameter dependent expression.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53517 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoDaily bump.
gccadmin [Thu, 16 May 2002 07:18:07 +0000 (07:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53514 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/arc/arc.h (CPP_PREDEFINES): Remove.
neil [Thu, 16 May 2002 06:04:34 +0000 (06:04 +0000)]
* config/arc/arc.h (CPP_PREDEFINES): Remove.
(CPP_SPEC): Update.
(TARGET_CPU_CPP_BUILTINS): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53510 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * cpphash.h (cpp_macro): Move here, and make expansion a union.
neil [Thu, 16 May 2002 05:53:24 +0000 (05:53 +0000)]
* cpphash.h (cpp_macro): Move here, and make expansion a union.
* cppmacro.c (cpp_macro): Remove.
(enter_macro_context, replace_args, warn_of_redefinition,
_cpp_create_definition, cpp_macro_definition): Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53509 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * lib/scanasm.exp (scan-assembler): Use upvar, not uplevel.
jason [Thu, 16 May 2002 05:10:10 +0000 (05:10 +0000)]
    * lib/scanasm.exp (scan-assembler): Use upvar, not uplevel.
        (scan-assembler-not, scan-assembler-dem): Likewise.
        (scan-assembler-dem-not): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53508 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * cp/rtti.c (get_tinfo_decl): Don't call comdat_linkage.
jason [Thu, 16 May 2002 04:48:52 +0000 (04:48 +0000)]
    * cp/rtti.c (get_tinfo_decl): Don't call comdat_linkage.
        Do set DECL_COMDAT.
        (synthesize_tinfo_var): Take the public decl.
        (create_real_tinfo_var): Likewise.  Check DECL_COMDAT.
        (emit_tinfo_decl): Adjust.  Call import_export_decl.
        * cp/decl2.c (import_export_decl): Simplify tinfo decl handling.
        * config/mips/mips.c (mips_output_external): Don't do sdata
        optimization for a variable with DECL_COMDAT set.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53506 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoThis file needs resurrecting
korbb [Thu, 16 May 2002 03:59:42 +0000 (03:59 +0000)]
This file needs resurrecting

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53505 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-05-15 Aldy Hernandez <aldyh@redhat.com>
aldyh [Thu, 16 May 2002 01:12:42 +0000 (01:12 +0000)]
2002-05-15  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/altivec.h: Cleanups for tighter typechecking.
        Cleanups for accepting modifiers on pointers.
        Fix predicate typos.
        Allow long pointers as well as int pointers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53500 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * varasm.c (merge_weak): Remove special case for extern and common.
rth [Thu, 16 May 2002 00:14:24 +0000 (00:14 +0000)]
    * varasm.c (merge_weak): Remove special case for extern and common.

        * gcc.dg/weak-5.c (vfoo1c, vfoo1g): Warn here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53498 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-05-15 Matt Hiller <hiller@redhat.com>
hiller [Thu, 16 May 2002 00:11:32 +0000 (00:11 +0000)]
2002-05-15  Matt Hiller  <hiller@redhat.com>

* testsuite/gcc.c-torture/compile/20000804-1.x: Don't return 1 if
        XFAILing.
* testsuite/gcc.c-torture/compile/20001226-1.x: Ditto.
* testsuite/gcc.c-torture/compile/920520-1.x: Ditto.
* testsuite/gcc.c-torture/compile/mipscop-1.x: XFAIL for now.
* testsuite/gcc.c-torture/compile/mipscop-2.x: Ditto.
* testsuite/gcc.c-torture/compile/mipscop-3.x: Ditto.
* testsuite/gcc.c-torture/compile/mipscop-4.x: Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53497 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-05-15 Aldy Hernandez <aldyh@redhat.com>
aldyh [Thu, 16 May 2002 00:06:39 +0000 (00:06 +0000)]
2002-05-15  Aldy Hernandez  <aldyh@redhat.com>

        * reload1.c (forget_old_reloads_1): Do not use subreg offset.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53496 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-05-15 Aldy Hernandez <aldyh@redhat.com>
aldyh [Wed, 15 May 2002 23:45:52 +0000 (23:45 +0000)]
2002-05-15  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.md ("altivec_mtvscr"): Set VSCR register.
        ("altivec_mfvscr"): Read from VSCR.

        Add vscr sets for the following insns: altivec_vctuxs,
        altivec_vaddubs, altivec_vaddsbs, altivec_vadduhs,
        altivec_vaddshs, altivec_vadduws, altivec_vaddsws, altivec_vctsxs,
        altivec_vmhaddshs, altivec_vmhraddshs, altivec_vmsumuhs,
        altivec_vmsumshs, altivec_vpkuhss, altivec_vpkshss,
        altivec_vpkuwss, altivec_vpkswss, altivec_vpkuhus,
        altivec_vpkshus, altivec_vpkuwus, altivec_vpkswus,
        altivec_vsububs, altivec_vsubsbs, altivec_vsubuhs,
        altivec_vsubshs, altivec_vsubuws, altivec_vsubsws,
        altivec_vsum4ubs, altivec_vsum4sbs, altivec_vsum4shs,
        altivec_vsum2sws, altivec_vsumsws.

        * config/rs6000/rs6000.h: Add VSCR fixed register.
        (CALL_REALLY_USED_REGISTERS): Add vscr.
        (CALL_USED_REGISTERS): Same.
        (FIXED_REGISTERS): Same.
        (REG_ALLOC_ORDER): Same.
        (reg_class): Add VSCR_REGS.
        (REG_CLASS_NAMES): Same.
        (REG_CLASS_CONTENTS): Same.
        (VSCR_REGNO): New.
        (REGISTER_NAMES): Add vscr.
        (DEBUG_REGISTER_NAMES): Same.
        (ADDITIONAL_REGISTER_NAMES): Same.
        (FIRST_PSEUDO_REGISTER): Increment.
        (CONDITIONAL_REGISTER_USAGE): Set VSCR as a global register.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53495 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago libstdc++/6641
ljrittle [Wed, 15 May 2002 22:32:25 +0000 (22:32 +0000)]
libstdc++/6641
* include/bits/c++config (__USE_MALLOC): Report case where
the user improperly defined it on the command line.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53494 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-05-15 Jakub Jelinek <jakub@redhat.com>
rth [Wed, 15 May 2002 20:39:55 +0000 (20:39 +0000)]
2002-05-15  Jakub Jelinek  <jakub@redhat.com>

        * fold-const.c (fold): Fix a typo.

2002-05-15  Eric Botcazou  <ebotcazou@multimania.com>

        * fold-const.c (fold) [LT_EXPR]: Move the transformation of a
        comparison against the highest or lowest integer value before
        the 'X >= CST to X > (CST - 1)' and 'X < CST to X <= (CST - 1)'
        transformation and that of an unsigned comparison against 0
        right after.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53493 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * varasm.c (merge_weak): Error for any weakening after definition.
rth [Wed, 15 May 2002 16:50:44 +0000 (16:50 +0000)]
    * varasm.c (merge_weak): Error for any weakening after definition.
        Adjust weakening after use warning to catch more cases.
        (assemble_alias): Set TREE_USED and TREE_ASM_WRITTEN consistently.
        * config/alpha/alpha.c (alpha_encode_section_info): Do not abort.

        * gcc.dg/weak-5.c (vfoo1c): No warning here.
        (vfoo1f): Warning here.
        (vfoo1l): Don't redefine the alias.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53491 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * testsuite/testsuite_hooks.h (__set_testsuite_memlimit):
ro [Wed, 15 May 2002 15:57:05 +0000 (15:57 +0000)]
* testsuite/testsuite_hooks.h (__set_testsuite_memlimit):
Retrieve current limits before setting.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53490 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 15 May 2002 14:38:30 +0000 (14:38 +0000)]
2002-05-15  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/6518
* include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
for null case.
(ostream::operator<<(const _CharT*)): Same.
(ostream<char>::operator<<(const char*)): Same.
* testsuite/27_io/ostream_inserter_char.cc (test07): Add test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53489 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 15 May 2002 13:15:17 +0000 (13:15 +0000)]
2002-05-15  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/6594
* src/strstream.cc (strstreambuf): Fix leak.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53486 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-05-15 Paolo Carlini <pcarlini@unitus.it>
paolo [Wed, 15 May 2002 10:27:29 +0000 (10:27 +0000)]
2002-05-15  Paolo Carlini  <pcarlini@unitus.it>

PR libstdc++/6648
* include/bits/istream.tcc (istream::getline, ignore):
Upon __idelim (__delim) call sbumpc() not snextc().
* testsuite/27_io/narrow_stream_objects.cc:
Add test08 and test09.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53481 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * invoke.texi (-malign-double): Re-add lost warning.
hubicka [Wed, 15 May 2002 09:00:30 +0000 (09:00 +0000)]
* invoke.texi (-malign-double): Re-add lost warning.

* i386-protos.h (x86_output_mi_thunk): Declare.
* unix.h (ASM_OUTPUT_MI_THUNK): Move offline to ...
* i386.c (x86_output_mi_thunk): ... here; handle 64bits.

* dwarf2out.c (output_call_frame_info): Do not skip unwind info
when flag_asynchronous_unwind_tables is set.

* flags.h (flag_reorder_functions): Declare.
* function.c (prepare_function_start): Initialize frequnecy.
* params.def (HOT_BB_COUNT_FRACTION, HOT_BB_FREQUENCY_FRACTION): New paramters.
* Makefile.in (predict.o): Add dependency on target.h and params.h
* defaults.h (HOT_TEXT_SECTION_NAME,
UNLIKELY_EXECUTED_TEXT_SECTION_NAME): New macros.
* predict.c (choose_function_section): New function.
(estimate_bb_frequencies): Use it.
* toplev.c (flag_reorder_functions): New global variable.
(lang_independent_options): New.
(parse_options_and_default_flags): Set.
* varasm.c (assemble_start_function): Bypass functdion alignment
for never executed functions.
* invoke.texi (-freorder-blocks, -freorder-functions): Document.
(param hot-bb-count-fraction, hot-bb-frequency-fraction): New.
* tm.texi (HOT_TEXT_SECTION_NAME, UNLIKELY_EXECUTED_TEXT_SECTION_NAME):
Document.

Thu Jan  3 21:52:09 CET 2002  Jan Hubicka  <jh@suse.cz>

* predict.c: Inlude profile.h
(MIN_COUNT): Rename to MIN_COUNT_FRACTION
(maybe_hot_bb_p, probably_cold_bb_p, probably_never_executed_bb_p):
Use the information about maximal counter in the program.

Thu Dec 20 22:14:00 CET 2001  Jan Hubicka  <jh@suse.cz>

* basic-block.h (maybe_hot_bb_p, probably_cold_bb_p,
probably_never_executed_bb_p): New functions.
* cfgcleanup.c (outgoing_edges_match): Use them.
* predict.c (MIN_COUNT, MIN_FREQUENCY): New macros.
(maybe_hot_bb_p, probably_cold_bb_p,
probably_never_executed_bb_p): New functions.

* function.h (function): Add new field function_frequency.
* predict.c (compute_function_frequency): New function.
(estimate_probability): Call it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53478 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-03-09 Jakub Jelinek <jakub@redhat.com>
davem [Wed, 15 May 2002 07:46:09 +0000 (07:46 +0000)]
2002-03-09  Jakub Jelinek  <jakub@redhat.com>

PR optimization/5172, optimization/5200
* gcse.c (gcse_main): Disable store_motion.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53477 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoDaily bump.
gccadmin [Wed, 15 May 2002 07:18:42 +0000 (07:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53476 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoDaily bump.
gccadmin [Wed, 15 May 2002 07:18:39 +0000 (07:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53475 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * c-parse.in (MODIFIED_WCHAR_TYPE): New macro.
zack [Wed, 15 May 2002 05:30:01 +0000 (05:30 +0000)]
* c-parse.in (MODIFIED_WCHAR_TYPE): New macro.
(c_common_nodes_and_builtins): Use it.
(builtin_define_with_value): New function.
(cb_register_builtins): Define __SIZE_TYPE__,
__PTRDIFF_TYPE__, __WCHAR_TYPE__, and __WINT_TYPE__ here,
using builtin_define_with_value.  Use consistent notation when
defining __GXX_WEAK__.
(WCHAR_TYPE_SIZE): Don't redefine.
(combine_strings): Don't use WCHAR_TYPE_SIZE.

* cppdefault.h: Don't provide defaults for SIZE_TYPE,
PTRDIFF_TYPE, WCHAR_TYPE, or WINT_TYPE.
* cppinit.c (builtin_array): Remove entries for __SIZE_TYPE__ etc.
* tradcpp.c (initialize_builtins): Likewise.
* gcc.c (cpp_unique_options): Don't muck with __WCHAR_TYPE__.

* c-lex.h (builtin_define_with_value): Prototype.
* system.h: Poison NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_WCHAR_TYPE,
NO_BUILTIN_PTRDIFF_TYPE, and NO_BUILTIN_WINT_TYPE.
* doc/tm.texi: Remove mention of NO_BUILTIN_SIZE_TYPE etc.

* config/avr/avr.h, config/h8300/h8300.h, config/i386/i386.h,
config/ia64/ia64.h, config/mips/dec-osf1.h, config/mips/iris6.h,
config/mips/linux.h, config/mips/mips.h, config/mips/netbsd.h,
config/mips/osfrose.h, config/mips/sni-svr4.h, config/rs6000/aix51.h,
config/s390/linux.h, config/sh/sh.h, config/sh/sh64.h,
config/sparc/linux64.h, config/sparc/netbsd-elf.h,
config/sparc/sol2-bi.h, config/sparc/sparc.h:
Do not define NO_BUILTIN_SIZE_TYPE etc.  Remove all references
to __SIZE_TYPE__ etc from all spec strings. When this makes
extra specs empty, delete them.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53472 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * pa.c (override_options): Override TARGET_JUMP_IN_DELAY when scheduling
danglin [Wed, 15 May 2002 03:02:23 +0000 (03:02 +0000)]
* pa.c (override_options): Override TARGET_JUMP_IN_DELAY when scheduling
for PA8000 or generating dwarf2 call frame information.
(output_call): Remove DO_FRAME_NOTES check from return pointer
optimization.
(following_call): Return 0 when scheduling for PA8000 or generating
dwarf2 call frame information.  Revise comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53470 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoconfig/alpha:
neil [Tue, 14 May 2002 20:24:19 +0000 (20:24 +0000)]
config/alpha:
* alpha.h (TARGET_CPU_CPP_BUILTINS): Define __IEEE_FP
and __IEEE_FP_INEXACT as appropriate.
(CPLUSPLUS_CPP_SPEC): Don't define __cplusplus.
(CPP_SPEC): Remove ieee defines.
* freebsd.h, netbsd.h: Remove ieee defines.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53465 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/i386/i386.c (ix86_save_reg): Make regno unsigned.
rth [Tue, 14 May 2002 18:17:56 +0000 (18:17 +0000)]
    * config/i386/i386.c (ix86_save_reg): Make regno unsigned.
        (ix86_safe_length, ix86_safe_length_prefix, ix86_safe_memory): Kill.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53464 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoconfig:
neil [Tue, 14 May 2002 17:35:50 +0000 (17:35 +0000)]
config:
* arm/arm.h (TARGET_CPU_CPP_BUILTINS): Define.
(CPP_SPEC): Update.
(CPP_APCS_PC_SPEC, CPP_APCS_PC_DEFAULT_SPEC,
CPP_FLOAT_SPEC, CPP_FLOAT_DEFAULT_SPEC, CPP_ENDIAN_SPEC,
CPP_ENDIAN_DEFAULT_SPEC, CPP_INTERWORK_DEFAULT_SPEC,
CPP_INTERWORK_SPEC, CPP_PREDEFINES): Remove.
(EXTRA_SPECS): Update.
* arm/conix-elf.h, arm/linux-elf.h, arm/netbsd.h, arm/riscix.h,
arm/riscix1-1.h, arm/rtems-elf.h, arm/semiaof.h, arm/unknown-elf.h,
arm/unknown-elf-oabi.h, arm/vxarm.h: Remove CPP_PREDEFINES and
define TARGET_OS_CPP_BUILTINS if necessary.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53463 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* g++.dg/init/pm1.C: New test.
aoliva [Tue, 14 May 2002 17:21:21 +0000 (17:21 +0000)]
* g++.dg/init/pm1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53462 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* cp-tree.h (struct lang_type): Added non_zero_init.
aoliva [Tue, 14 May 2002 17:20:47 +0000 (17:20 +0000)]
* cp-tree.h (struct lang_type): Added non_zero_init.
(CLASS_NON_ZERO_INIT_P): New macro.
(zero_init_p, force_store_init_value, build_forced_zero_init): Declare.
* class.c (check_field_decls): Test non_zero_init.
* cvt.c (convert_to_pointer_force): Use cp_convert_to_pointer for
zero-to-NULL conversions.
* decl.c (obscure_complex_init): Don't reset DECL_INITIAL of a
type that needs zero-initialization without zeros.
(check_initializer_decl): Compute zero-initializer for types
that require a non-trivial one.
* init.c (build_forced_zero_init): New function.
(build_default_init): Use it.
* tree.c (zero_init_p): New function.
* typeck2.c (force_store_init_value): New function.
(process_init_constructor): Create non-trivial zero-initializers
for array members and class fields.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53461 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * gcc.c (cpp_options): Must pass -m* and -f* options
neil [Tue, 14 May 2002 17:12:16 +0000 (17:12 +0000)]
* gcc.c (cpp_options): Must pass -m* and -f* options
to the front end even when only preprocessing.
(cc1_options): Remove redundant -lang-c.
* tradcpp.c (main): Ignore -m options.
cp:
* lang-specs.h: Remove redundant -lang-c++.
objc:
* lang-specs.h: Similarly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53460 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-05-14 Vladimir Makarov <vmakarov@redhat.com>
vmakarov [Tue, 14 May 2002 16:16:18 +0000 (16:16 +0000)]
2002-05-14  Vladimir Makarov  <vmakarov@redhat.com>

* genautomata.c (transform_3): Add code for transformation
`(A,B,...)+C -> A+C,B,...'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53459 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * Make-lang.in (gnat1$(exeext), gnatbind$(exeext), gnattools):
ro [Tue, 14 May 2002 15:25:30 +0000 (15:25 +0000)]
* Make-lang.in (gnat1$(exeext), gnatbind$(exeext), gnattools):
Restore $(CONFIG_H) and prefix.o dependencies.
(ada.stage[1-4]): Depend on stage?-start.

* Makefile.in (b_gnatb.c): Depend on interfac.o.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53458 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agorevert last checkin
jason [Tue, 14 May 2002 14:14:43 +0000 (14:14 +0000)]
revert last checkin

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53457 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * final.c (end_final): Do not output profile_arcs constructor, when
hubicka [Tue, 14 May 2002 10:49:21 +0000 (10:49 +0000)]
* final.c (end_final): Do not output profile_arcs constructor, when
no functions are instrumented.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53455 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * i386.md (testsi to testqi_zext_1 splitter): Fix typo.
hubicka [Tue, 14 May 2002 10:46:27 +0000 (10:46 +0000)]
* i386.md (testsi to testqi_zext_1 splitter): Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53454 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * doc/install.texi: Remove special markup originally required for
gerald [Tue, 14 May 2002 10:38:46 +0000 (10:38 +0000)]
* doc/install.texi: Remove special markup originally required for
HTML generation with texi2html.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53453 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * doc/install.texi (Specific, *-*-solaris2*): Update passus on
gerald [Tue, 14 May 2002 09:14:50 +0000 (09:14 +0000)]
* doc/install.texi (Specific, *-*-solaris2*): Update passus on
setting CONFIG_SHELL to /bin/ksh and remove alternate trick to
(possibly) work around broken /bin/sh.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53452 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoFix typo in last change.
schwab [Tue, 14 May 2002 08:41:39 +0000 (08:41 +0000)]
Fix typo in last change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53451 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/ia64/sysv4.h (DO_SELECT_SECTION): Factored out of
schwab [Tue, 14 May 2002 08:39:27 +0000 (08:39 +0000)]
* config/ia64/sysv4.h (DO_SELECT_SECTION): Factored out of
SELECT_SECTION.
(UNIQUE_SECTION): Define to get small data correctly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53450 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * varasm.c (resolve_unique_section): Add third parameter
schwab [Tue, 14 May 2002 08:35:59 +0000 (08:35 +0000)]
* varasm.c (resolve_unique_section): Add third parameter
flag_function_or_data_sections and use it instead of
flag_function_sections.
(assemble_start_function): Pass flag_function_sections.
(asm_emit_uninitialised): Pass flag_data_sections.
(assemble_variable): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53449 138bc75d-0d04-0410-961f-82ee72b054a4