OSDN Git Service

pf3gnuchains/gcc-fork.git
21 years ago * java-tree.h, class.c, expr.c, jcf-parse.c, parse.y,
zack [Tue, 4 Jun 2002 20:32:08 +0000 (20:32 +0000)]
* java-tree.h, class.c, expr.c, jcf-parse.c, parse.y,
typeck.c, verify.c: Remove all #if JAVA_USE_HANDLES blocks,
all mention of CLASS_TO_HANDLE_TYPE or HANDLE_TO_CLASS_TYPE,
and all now-pointless local variables.  Rename other local
variables to reflect their not being handles.

* java-tree.h, jcf-dump.c, jcf-io.c: Remove all
#if JCF_USE_STDIO blocks.

* parse.y: Add missing semicolon at end of rule.

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

21 years ago * libjava.compile/T20020604.java: New file.
tromey [Tue, 4 Jun 2002 19:39:02 +0000 (19:39 +0000)]
* libjava.compile/T20020604.java: New file.

For PR libgcj/6389:
* libjava.mauve/xfails: Now passes System.getProperty test.

For PR java/1343 and PR java/6336:
* libjava.compile/PR1343.java: New file.

For PR java/5913:
* libjava.compile/PR5913.xfail: Removed.

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

21 years ago * java/util/natTimeZone.cc: Include <stdio.h>.
tromey [Tue, 4 Jun 2002 19:30:20 +0000 (19:30 +0000)]
* java/util/natTimeZone.cc: Include <stdio.h>.

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

21 years ago * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
ro [Tue, 4 Jun 2002 18:44:35 +0000 (18:44 +0000)]
* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
Search correct multilib testsuite dir for libv3test.

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

21 years ago2002-06-04 Paolo Carlini <pcarlini@unitus.it>
paolo [Tue, 4 Jun 2002 18:20:38 +0000 (18:20 +0000)]
2002-06-04  Paolo Carlini  <pcarlini@unitus.it>
    Gaby Dos Reis  <gdr@codesourcery.com>

* include/bits/basic_string.tcc
(basic_string::_S_construct(forward_iterator_tag):
Fix typo in null pointer check.
* testsuite/21_strings/ctor_copy_dtor.cc: Add test04.

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

21 years agoconfig/i386:
neil [Tue, 4 Jun 2002 18:07:44 +0000 (18:07 +0000)]
config/i386:
* beos-elf.h, cygwin.h, djgpp.h, gas.h, gnu.h, i386-interix.h,
i386-interix3.h, i386elf.h, linux-aout.h, linux.h, linux64.h,
mingw32.h, netbsd-elf.h, netbsd.h, netbsd64.h, rtemself.h,
sco5.h, sol2.h, sysv3.h, sysv4.h, sysv5.h, uwin.h, vxi386.h,
win32.h (CPP_SPEC): Remove cpp_cpu.
* i386.h (TARGET_CPU_CPP_BUILTINS): Use.
(CPP_CPU_DEFAULT_SPEC, CPP_CPU_SPEC): Die!

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

21 years ago * config/ia64/ia64.c (gen_thread_pointer): Fix variable name.
janis [Tue, 4 Jun 2002 18:03:45 +0000 (18:03 +0000)]
* config/ia64/ia64.c (gen_thread_pointer): Fix variable name.

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

21 years ago * sched-int.h (struct deps): New field libcall_block_tail_insn.
law [Tue, 4 Jun 2002 17:46:14 +0000 (17:46 +0000)]
    * sched-int.h (struct deps): New field libcall_block_tail_insn.
        * sched_deps.c (init_deps): Initialize libcall_block_tail_insn.
        * sched_deps.c (sched_analyze_insn): If libcall_block_tail_insn
        is set, then mark the current insn as being part of a libcall
        scheduling group.
        (sched_analyze): Set and clear libcall_block_tail_insn appropriately.

        * haifa-sched.c (schedule_block): Do not count USE or CLOBBER
        insns against the issue rate.

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

21 years agoTue Jun 4 19:29:42 CEST 2002 Jan Hubicka <jh@suse.cz>
hubicka [Tue, 4 Jun 2002 17:32:59 +0000 (17:32 +0000)]
Tue Jun  4 19:29:42 CEST 2002  Jan Hubicka  <jh@suse.cz>

* cfglayout.c (duplicate_insn_chain): Kill NOTE_INSN_RANGE notes.
* final.c (final_scan_insn): Likewise.
* ggc-common.c (ggc_mark_rtx_children_1): Likewise; use
NOTE_EXPECTED_VALUE instead of NOTE_RANGE.
* haifa-sched.c (unlink_other_notes): Likeewise.
(reemit_notes): Likewise.
* print-rtl.c (print_rtx): Likewise.
* sched-deps (sched-analyze): Likewise.
* rtl.c (note_insn_name): Likewise.
* rtl.h (NOTE_RANGE_INFO, NOTE_LIVE_INFO): Kill.
(enum insn_note): Kill NOTE_INSN_RANGE_*, NOTE_INSN_LIVE.
(RANGE_*): Kill.

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

21 years ago* varasm.c (mark_constants): Handle RTX format 'B'.
thorpej [Tue, 4 Jun 2002 16:22:49 +0000 (16:22 +0000)]
* varasm.c (mark_constants): Handle RTX format 'B'.

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

21 years ago2002-06-04 Paolo Carlini <pcarlini@unitus.it>
paolo [Tue, 4 Jun 2002 13:38:07 +0000 (13:38 +0000)]
2002-06-04  Paolo Carlini  <pcarlini@unitus.it>

* testsuite/22_locale/money_get_members_char.cc
(test02): Add decimal point to long double constants.
* testsuite/22_locale/money_get_members_wchar_t.cc
(test02): Likewise.
* testsuite/22_locale/money_put_members_char.cc
(test02, test03, test06): Likewise.
* testsuite/22_locale/money_put_members_wchar_t.cc:
(test02, test03, test06): Likewise.
* testsuite/22_locale/num_get_members_char.cc:
(test02, test01): Likewise; suffix long long constants with LL.
* testsuite/22_locale/num_get_members_wchar_t.cc:
(test02, test01): Likewise.
* testsuite/22_locale/num_put_members_char.cc:
(test02, test01): Likewise.
* testsuite/22_locale/num_put_members_wchar_t.cc:
(test02, test01): Likewise.

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

21 years ago * cpphash.h (FIRST, LAST, CUR, RLIMIT): New.
neil [Tue, 4 Jun 2002 13:07:06 +0000 (13:07 +0000)]
* cpphash.h (FIRST, LAST, CUR, RLIMIT): New.
(struct cpp_context): Add traditional fields.
* cppmacro.c (paste_all_tokens, push_ptoken_context,
push_token_context, cpp_get_token, _cpp_backup_tokens): Update.
* cpptrad.c (skip_comment, lex_identifier,
_cpp_read_logical_line_trad, scan_out_logical_line): Update.

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

21 years ago * gbl-ctors.h: Fix formatting.
kazu [Tue, 4 Jun 2002 11:30:46 +0000 (11:30 +0000)]
* gbl-ctors.h: Fix formatting.
* gcc.c: Likewise.
* gccspec.c: Likewise.
* gcov.c: Likewise.
* gcov-io.h: Likewise.
* gcse.c: Likewise.
* ggc-common.c: Likewise.
* ggc.h: Likewise.
* ggc-page.c: Likewise.
* ggc-simple.c: Likewise.
* global.c: Likewise.
* graph.h: Likewise.
* gthr-dce.h: Likewise.
* gthr.h: Likewise.
* gthr-posix.h: Likewise.
* gthr-rtems.h: Likewise.
* gthr-solaris.h: Likewise.
* gthr-win32.h: Likewise.

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

21 years ago * Make-lang.in (gnatbind): Readd rule that has been lost in last
aj [Tue, 4 Jun 2002 10:55:49 +0000 (10:55 +0000)]
* Make-lang.in (gnatbind): Readd rule that has been lost in last
patch.

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

21 years agoDaily bump.
gccadmin [Tue, 4 Jun 2002 07:18:23 +0000 (07:18 +0000)]
Daily bump.

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

21 years agoMerge from pch-branch up to tag pch-commit-20020603.
geoffk [Tue, 4 Jun 2002 07:11:05 +0000 (07:11 +0000)]
Merge from pch-branch up to tag pch-commit-20020603.

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

21 years ago2002-06-04 Aldy Hernandez <aldyh@redhat.com>
aldyh [Tue, 4 Jun 2002 06:01:17 +0000 (06:01 +0000)]
2002-06-04  Aldy Hernandez  <aldyh@redhat.com>

        * gcc.dg/altivec-2.c: Remove test for invalid vector type V2DF.

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

21 years ago* config.gcc (sh5-*-netbsd*, sh5l*-*-netbsd*)
thorpej [Tue, 4 Jun 2002 05:02:44 +0000 (05:02 +0000)]
* config.gcc (sh5-*-netbsd*, sh5l*-*-netbsd*)
(sh64-*-netbsd*, sh64l*-*-netbsd*): New targets.
* config/sh/netbsd-elf.h (TARGET_VERSION_ENDIAN)
(TARGET_VERSION_CPU): Define according to the
default target.
(TARGET_VERSION): Use TARGET_VERSION_ENDIAN and
TARGET_VERSION_CPU.
(TARGET_OS_CPP_BUILTINS): Use NETBSD_OS_CPP_BUILTINS_LP64
if TARGET_SHMEDIA64.
(LINK_DEFAULT_CPU_EMUL): Define according to the
default target.
(SUBTARGET_LINK_EMUL_SUFFIX): Define.
(SUBTARGET_LINK_SPEC): Define.
(LINK_SPEC): Use SH_LINK_SPEC.
(ASM_SPEC): Remove.
(TARGET_DEFAULT): Use TARGET_CPU_DEFAULT.
(FUNCTION_PROFILER): Add cases for TARGET_SHMEDIA32
and TARGET_SHMEDIA64 which abort, for now.
* config/sh/t-netbsd-sh5: New file.
* config/sh/t-netbsd-sh5-32: New file.
* config/sh/t-netbsd-sh5-64: New file.

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

21 years ago * config/alpha/alpha.c (reg_or_const_int_operand): New.
rth [Tue, 4 Jun 2002 04:06:38 +0000 (04:06 +0000)]
    * config/alpha/alpha.c (reg_or_const_int_operand): New.
        (some_operand, input_operand): Accept CONST_VECTOR.
        (alpha_extra_constraint): Add 'W'.
        (alpha_expand_zap_mask): New.
        (alpha_expand_builtin_vector_binop): New.
        (enum alpha_builtin): New.
        (zero_arg_builtins, one_arg_builtins, two_arg_builtins): New.
        (alpha_init_builtins, alpha_expand_builtin): New.
        (TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN): New.
        * config/alpha/alpha.h (VECTOR_MODE_SUPPORTED_P): New.
        (PREDICATE_CODES): Update.
        * config/alpha/alpha-protos.h: Update.
        * config/alpha/alpha.md (UNSPEC_CMPBGE, UNSPEC_ZAP,
        UNSPEC_AMASK, UNSPEC_IMPLVER, UNSPEC_PERR, UNSPECV_RPCC): New.
        (movv8qi, movv8qi_fix, movv8qi_nofix): New.
        (movv4hi, movv4hi_fix, movv4hi_nofix): New.
        (movv2si, movv2si_fix, movv2si_nofix): New.
        (uminv8qi3, sminv8qi3, uminv4hi3, sminv4hi3): New.
        (umaxv8qi3, smaxv8qi3, umaxv4hi3, smaxv4hi3): New.
        (builtin_cmpbge, builtin_extql, builtin_extqh, builtin_zap,
        builtin_zap_1, builtin_zapnot, builtin_zapnot_1, builtin_amask,
        builtin_implver, builtin_rpcc, builtin_minub8, builtin_minsb8,
        builtin_minuw4, builtin_minsw4, builtin_maxub8, builtin_maxsb8,
        builtin_maxuw4, builtin_maxsw4, builtin_perr, builtin_pklb,
        pklb, builtin_pkwb, pkwb, builtin_unpkbl, unpkbl,
        builtin_unpkbw, unpkbw): New.
        * doc/extend.texi (Alpha Built-in Functions): New.

        * gcc.dg/alpha-base-1.c, gcc.dg/alpha-base-2.c: New.
        * gcc.dg/alpha-max-1.c, gcc.dg/alpha-max-2.c: New.

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

21 years ago * crtstuff.c (__EH_FRAME_BEGIN__): Conditionalize on
rth [Tue, 4 Jun 2002 02:55:28 +0000 (02:55 +0000)]
    * crtstuff.c (__EH_FRAME_BEGIN__): Conditionalize on
        USE_EH_FRAME_REGISTRY, not EH_FRAME_SECTION_NAME.

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

21 years ago * config/alpha/alpha-protos.h: Eliminate unneeded ifdefs.
rth [Tue, 4 Jun 2002 02:36:36 +0000 (02:36 +0000)]
    * config/alpha/alpha-protos.h: Eliminate unneeded ifdefs.

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

21 years ago * config/alpha/alpha.c (reg_or_0_operand): Use CONST0_RTX.
rth [Tue, 4 Jun 2002 02:28:40 +0000 (02:28 +0000)]
    * config/alpha/alpha.c (reg_or_0_operand): Use CONST0_RTX.
        (const0_operand): New.
        (reg_or_fp0_operand, fp0_operand): Remove.
        * config/alpha/alpha.h (PREDICATE_CODES): Update.
        * config/alpha/alpha-protos.h: Update.
        * config/alpha/alpha.md: Replace all uses of reg_or_fp0_operand
        and fp0_operand with reg_or_0_operand and const0_operand.

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

21 years ago * alias.c (nonoverlapping_memrefs_p): Fix off by one error.
rth [Tue, 4 Jun 2002 02:25:57 +0000 (02:25 +0000)]
    * alias.c (nonoverlapping_memrefs_p): Fix off by one error.

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

21 years ago * libF77/main.c (f_setarg, f_setsig): Prototype.
ghazi [Tue, 4 Jun 2002 02:25:48 +0000 (02:25 +0000)]
* libF77/main.c (f_setarg, f_setsig): Prototype.
* libI77/lread.c (quad_read): Delete.
* libI77/uio.c: Include config.h.
* libI77/wref.c (wrt_E): Cast isdigit arg to unsigned char.
* libU77/dtime_.c (clk_tck): Move to the scope where it is used.
* libU77/etime_.c (clk_tck): Likewise.

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

21 years ago * libF77/lbitbits.c (lbit_cshift): disambiguate expressions
ghazi [Tue, 4 Jun 2002 02:24:26 +0000 (02:24 +0000)]
* libF77/lbitbits.c (lbit_cshift): disambiguate expressions
with parentheses.
* libF77/qbitbits.c (qbit_cshift): Likewise.
* libI77/inquire.c (f_inqu): Likewise.
* libI77/rdfmt.c (rd_Z): Likewise.
* libI77/rsne.c (x_rsne): Likewise.

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

21 years ago * Makefile.in (s-libe77): Add WARN_CFLAGS.
ghazi [Tue, 4 Jun 2002 02:22:19 +0000 (02:22 +0000)]
* Makefile.in (s-libe77): Add WARN_CFLAGS.

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

21 years ago * gcse.c (cprop_jump): Use single_set to get the pattern
sayle [Tue, 4 Jun 2002 00:50:42 +0000 (00:50 +0000)]
* gcse.c (cprop_jump): Use single_set to get the pattern
from the setcc argument.

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

21 years ago * diagnostic.h (diagnostic_count): Move from output_buffer to
gdr [Mon, 3 Jun 2002 19:08:59 +0000 (19:08 +0000)]
* diagnostic.h (diagnostic_count): Move from output_buffer to
diagnostic_context.
(diagnostic_kind_count): Adjust definition.

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

21 years ago * except.c (except.c): Do not rebuild CFG.
hubicka [Mon, 3 Jun 2002 18:16:50 +0000 (18:16 +0000)]
* except.c (except.c): Do not rebuild CFG.
* toplev.c (rest_of_compilation): Recompute CFG after sibcall
optimization.

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

21 years ago * configure.in: Support cross-compiling.
geoffk [Mon, 3 Jun 2002 17:59:29 +0000 (17:59 +0000)]
* configure.in: Support cross-compiling.
* configure: Regenerate.
* aclocal.m4 (gcc_AC_COMPILE_CHECK_SIZEOF): New.
(gcc_AC_EXAMINE_OBJECT): New.
(fastjar_AC_COMPILE_C_BIGENDIAN): New.

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

21 years agoPlease nitpicker.
espie [Mon, 3 Jun 2002 11:48:54 +0000 (11:48 +0000)]
Please nitpicker.

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

21 years ago * integrate.c (copy_insn_list): Properly pace the INSN_SCOPE copies.
hubicka [Mon, 3 Jun 2002 10:03:18 +0000 (10:03 +0000)]
* integrate.c (copy_insn_list): Properly pace the INSN_SCOPE copies.
* toplev.c: Include cfglahout.h
* Makefile.in (toplev.c): Add dependnecy.

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

21 years agoDaily bump.
gccadmin [Mon, 3 Jun 2002 07:17:48 +0000 (07:17 +0000)]
Daily bump.

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

21 years ago * config/i386/i386.h (TARGET_CPU_CPP_BUILTINS): New.
neil [Mon, 3 Jun 2002 06:15:25 +0000 (06:15 +0000)]
* config/i386/i386.h (TARGET_CPU_CPP_BUILTINS): New.
(CPP_CPU32_SPEC, CPP_CPU64_SPEC): Kill.
(CPP_CPUCOMMON_SPEC): Rename CPP_CPU_SPEC.

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

21 years agoFix typo in previous correction.
thorpej [Mon, 3 Jun 2002 05:57:14 +0000 (05:57 +0000)]
Fix typo in previous correction.

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

21 years agoCheck in file mistakenly omitted when sh*-*-netbsdelf*
thorpej [Mon, 3 Jun 2002 05:27:06 +0000 (05:27 +0000)]
Check in file mistakenly omitted when sh*-*-netbsdelf*
targets were added.  Update ChangeLog entry:

2002-05-30  Jason Thorpe  <thorpej@wasabisystems.com>

* config.gcc (sh[123456789l]*-*-*): Set cpu_type to sh.
(sh-*-netbsdelf*)
(shl*-*-netbsdelf*): New targets.
* config/sh/netbsd-elf.h: New file.
* config/sh/t-netbsd.h: New file.

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

21 years ago * config/cpu/m68k/bits/atomicity.h(__exchange_and_add): Fix inline
espie [Mon, 3 Jun 2002 05:26:00 +0000 (05:26 +0000)]
* config/cpu/m68k/bits/atomicity.h(__exchange_and_add):  Fix inline
assembly for old assemblers.

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

21 years ago2002-06-03 Phil Edwards <pme@gcc.gnu.org>
pme [Mon, 3 Jun 2002 05:03:50 +0000 (05:03 +0000)]
2002-06-03  Phil Edwards  <pme@gcc.gnu.org>

* include/bits/stl_bvector.h (swap(_Bit_reference,_Bit_reference)):
Move/rename...
(vector<bool>::swap(reference,reference)): ...to this.

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

21 years ago2002-06-03 Phil Edwards <pme@gcc.gnu.org>
pme [Mon, 3 Jun 2002 04:45:03 +0000 (04:45 +0000)]
2002-06-03  Phil Edwards  <pme@gcc.gnu.org>

* docs/doxygen/TODO:  Update.
* docs/doxygen/user.cfg.in (SORT_MEMBER_DOCS):  Set to off, now that
some class members are in 14882 order.
* docs/html/ext/howto.html:  3.1 is in the past now, not the future.

* include/std/std_bitset.h:  Update comment.
* src/bitset.cc:  Update comments, clean up spacing.

* src/Makefile.am (sources):  Alphabetize for convenience.
* src/Makefile.in:  Regenerate.

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

21 years ago* config/ns32k/netbsd.h: Update copyright years.
thorpej [Mon, 3 Jun 2002 04:42:02 +0000 (04:42 +0000)]
* config/ns32k/netbsd.h: Update copyright years.
(TARGET_OS_CPP_BUILTINS): Define.
(CPP_PREDEFINES): Remove.
* config/ns32k/ns32k.h (CPP_PREDEFINES): Remove.
(TARGET_CPU_CPP_BUILTINS): Define.

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

21 years ago2002-06-03 Phil Edwards <pme@gcc.gnu.org>
pme [Mon, 3 Jun 2002 04:34:19 +0000 (04:34 +0000)]
2002-06-03  Phil Edwards  <pme@gcc.gnu.org>

* include/bits/stl_deque.h, include/bits/stl_list.h,
include/bits/stl_vector.h:  Reformat to (mostly) match C++STYLE.
Reorder to match 14882.  Doxygen blocks for all public members.

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

21 years ago * emit-rtl.c: Likewise.
kazu [Mon, 3 Jun 2002 01:13:17 +0000 (01:13 +0000)]
* emit-rtl.c: Likewise.
* errors.h: Likewise.
* except.c: Likewise.
* explow.c: Likewise.
* expmed.c: Likewise.
* expr.c: Likewise.
* expr.h: Likewise.

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

21 years ago * config/h8300/elf.h: Fix formatting.
kazu [Mon, 3 Jun 2002 00:51:37 +0000 (00:51 +0000)]
* config/h8300/elf.h: Fix formatting.
* config/h8300/rtems.h: Likewise.

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

21 years ago* config/rs6000/netbsd.h (DRAFT_V4_STRUCT_RET): Remove.
thorpej [Mon, 3 Jun 2002 00:28:12 +0000 (00:28 +0000)]
* config/rs6000/netbsd.h (DRAFT_V4_STRUCT_RET): Remove.

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

21 years agoreverted erroneous checkin
tromey [Sun, 2 Jun 2002 23:19:01 +0000 (23:19 +0000)]
reverted erroneous checkin

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

21 years ago * fixinc/fixincl.x: Rebuilt.
tromey [Sun, 2 Jun 2002 23:17:30 +0000 (23:17 +0000)]
* fixinc/fixincl.x: Rebuilt.
* fixinc/inclhack.def (thread_keyword): Match `*__thread'.

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

21 years agoconfig/i370:
neil [Sun, 2 Jun 2002 22:27:32 +0000 (22:27 +0000)]
config/i370:
* i370.h (TARGET_CPU_CPP_BUILTINS): Use.
* linux.h: Use TARGET_OS_CPP_BUILTINS rather than CPP_PREDEFINES.
* mvs.h: Similarly.
* oe.h: Similarly.

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

21 years ago * final.c (final): Allow notes to not have computed addresses;
hubicka [Sun, 2 Jun 2002 22:23:45 +0000 (22:23 +0000)]
* final.c (final):  Allow notes to not have computed addresses;
kill no longer needed STACK_REGS ifdef.

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

21 years ago * gcse.c (bypass_conditional_jumps): Fix typo last change.
rth [Sun, 2 Jun 2002 22:16:54 +0000 (22:16 +0000)]
    * gcse.c (bypass_conditional_jumps): Fix typo last change.

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

21 years ago * loop.c (emit_prefetch_instructions): Properly place the address computation.
hubicka [Sun, 2 Jun 2002 21:09:54 +0000 (21:09 +0000)]
* loop.c (emit_prefetch_instructions): Properly place the address computation.

* basic-block.h (basic_block_for_insn, BLOCK_FOR_INSN): Kill.
(set_block_for_insn): Turn into macro.
* cfgbuild.c (find_basic_block): Do not clear basic_block_for_insn.
* cfglayout.c (insn_scopes): Kill.
(scope_to_insns_initialize): Do not use insn_scopes.
(scope_to_insns_finalize): Likewise.
(duplicate_insn_chain): Likewise.
(cfg_layout_initialize, cfg_layout_finalize): Do not turn scopes to notes.
* cfgrtl.c (basic_block_for_insn): Kill.
(delete_insn_and_edges, delete_insn_chain_and_edges): Simplify.
(create_basic_block_structure): Use reorder_insns.
(compute_bb_for_insn): Do not use basic_block_for_insn.
(merge_blocks_nomove): Likewise.
(update_bb_for_insn): Likewise.
(verify_flow_info): Likewise.
(set_block_for_insn): Kill.
* combine.c (try_combine): Update gen_rtx_INSN call.
* emit-rtl.c (gen_label_rtx): Update gen_rtx_CODE_LABEL call.
(mark_insn_raw, make_jump_insn_raw, make_call_insn_raw): Clear
scopes and BBs.
(add_insn_after, add_insn_before, remove_insn, reorder_insns): Simplify.
(emit_note_before, emit_note_after, emit_line_note_after, emit_note):
Clear BB.
(emit_insns_after): Simplify.
(emit_copy_of_insn_after): Copy scope.
* final.c (final_start_function): Lower scopes.
* flow.c (check_function_return_warnings): Do not rely on deleted insn.
* integrate.c (copy_insn_list): Cope scopes.
* jump.c (duplicate_loop_exit_test): LIkewise; simplify.
* loop.c (loop_optimize): Do not care block notes.
* print-rtl.c (print_rtx): Print BB.
* recog.c (apply_change_group): Simplify.
* rtl.c (copy_rtx): Handle 'B'.
* rtl.def (INSN, CALL_INSN, JUMP_INSN, NOTE): Add extra fields.
* rtl.h (Field accessors): Update indexes.
* sched-ebb.c (schedule_ebbs): Do not lower notes.
* sched-rgn.c (schedule_insns): Likewise.
* toplev.c (rest_of_compilation): Lower notes.
* unroll.c (unroll_loop): Do not care scoping notes.
(copy_loop_body): Copy scopes.

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

21 years agoconfig/h8300:
neil [Sun, 2 Jun 2002 21:00:50 +0000 (21:00 +0000)]
config/h8300:
* elf.h: Use TARGET_OS_CPP_BUILTINS rather than
SUBTARGET_SPEC.
* rtems.h: Similarly.
* h8300.h (CPP_PREDEFINES, CPP_SPEC, SUBTARGET_CPP_SPEC,
EXTRA_SPECS, SUBTARGET_EXTRA_SPECS): Remove.
(TARGET_CPU_CPP_BUILTINS): Use.

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

21 years ago * alias.c: Include target.h.
rth [Sun, 2 Jun 2002 20:50:32 +0000 (20:50 +0000)]
    * alias.c: Include target.h.
        (mark_constant_function): Use targetm.binds_local_p instead
        of checking TREE_PUBLIC ourselves.
        * Makefile.in (alias.o): Add TARGET_H.

        * gcc.c-torture/execute/pure-1.c: Don't mark any of the
        test functions static.

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

21 years ago * c-lex.c: Update copyright and file description.
neil [Sun, 2 Jun 2002 20:13:46 +0000 (20:13 +0000)]
* c-lex.c: Update copyright and file description.

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

21 years ago * ChangeLog: Credit Zack appropriately.
neil [Sun, 2 Jun 2002 20:09:05 +0000 (20:09 +0000)]
* ChangeLog: Credit Zack appropriately.

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

21 years ago * gcc.c-torture/execute/loop-3c.x: Remove, the test should pass
aj [Sun, 2 Jun 2002 19:54:02 +0000 (19:54 +0000)]
* gcc.c-torture/execute/loop-3c.x: Remove, the test should pass
now.

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

21 years ago * config/fr30/fr30.h: Update to new CPP macros.
neil [Sun, 2 Jun 2002 19:47:10 +0000 (19:47 +0000)]
* config/fr30/fr30.h: Update to new CPP macros.

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

21 years ago * config/dsp16xx/dsp16xx.h: Update to new CPP macros.
neil [Sun, 2 Jun 2002 19:39:09 +0000 (19:39 +0000)]
* config/dsp16xx/dsp16xx.h: Update to new CPP macros.

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

21 years ago * c-common.c (c_common_init): Override cpplib's default
neil [Sun, 2 Jun 2002 19:37:34 +0000 (19:37 +0000)]
* c-common.c (c_common_init): Override cpplib's default
warn_long_long setting.
* c-lex.c (lex_number): Replace with interpret_integer,
interpret_float, narrowest_unsigned_type and
narrowest_signed_type, taking advantage of the new
cpplib functionality.
* cpperror.c (_cpp_begin_message): If a warning is turned
into an error, avoid printing "warning:".
* cppexp.c (cpp_num_sign_extend): New.
* cppinit.c: Update comment.
* cpplib.h (cpp_num_sign_extend): New.
* tree.h: Update comment.
testsuite:
* gcc.dg/wtr-int-type-1.c, gcc.dg/wtr-suffix-1.c,
gcc.dg/cpp/paste4.c, gcc.dg/cpp/sysmac2.c:
Update for mofified diagnostics.
* gcc.dg/c99-intconst-1.c: No longer fail.

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

21 years ago * diagnostic.h (struct diagnostic_context): Add new member
gdr [Sun, 2 Jun 2002 19:06:30 +0000 (19:06 +0000)]
* diagnostic.h (struct diagnostic_context):  Add new member
internal_error.
(internal_error_function): Remove declaration.
* diagnostic.c (internal_error_function): Remove definition..
(internal_error): Adjust use.
ada/
* misc.c (gnat_init): Adjust setting of internal_error_function.

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

21 years ago * rtl.h (CC0_P): New.
rth [Sun, 2 Jun 2002 18:38:04 +0000 (18:38 +0000)]
    * rtl.h (CC0_P): New.
        * gcse.c (cprop_jump): Use it with single_set.  Tweak dump text.
        (cprop_insn): Allow any mode register; use CC0_P.  CSE out single_set.
        (bypass_block): Save old dest block for dump text.
        (bypass_conditional_jumps): Allow any mode register; use CC0_P.
        Allow only true SET insns, not single_set.

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

21 years ago * gcc.dg/uninit-A.c: Remove xfail markers.
rth [Sun, 2 Jun 2002 18:11:21 +0000 (18:11 +0000)]
    * gcc.dg/uninit-A.c: Remove xfail markers.

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

21 years ago * diagnostic.c (diagnostic_finish): Rename to output_flush.
gdr [Sun, 2 Jun 2002 17:36:29 +0000 (17:36 +0000)]
* diagnostic.c (diagnostic_finish): Rename to output_flush.
(clear_disgnostic_info): Rename to output_clear_data.  Use
false
instead of 0 for boolean value.
Adjust function call throughout.

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

21 years ago * cfgrtl.c (commit_one_edge_insertion): Fix warning.
hubicka [Sun, 2 Jun 2002 17:18:58 +0000 (17:18 +0000)]
* cfgrtl.c (commit_one_edge_insertion): Fix warning.
* gcse.c (bypass_conditional_jumps): CSE out single_set call.

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

21 years ago Fix for PR java/5913:
tromey [Sun, 2 Jun 2002 16:38:05 +0000 (16:38 +0000)]
Fix for PR java/5913:
* parse.y (patch_binop): Call patch_string on op1.

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

21 years ago Fix for PR java/1343, PR java/6336:
tromey [Sun, 2 Jun 2002 16:33:01 +0000 (16:33 +0000)]
Fix for PR java/1343, PR java/6336:
* parse.y (make_nested_class_name): Remove extraneous `else'; fix
formatting.  Changed return type.
(anonymous_class_counter): Moved to top of file.
(maybe_make_nested_class_name): Append number to class name for
function-local classes.

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

21 years ago * libI77/dfe.c (s_rdfe, s_wdfe): Wrap parentheses around
ghazi [Sun, 2 Jun 2002 14:34:31 +0000 (14:34 +0000)]
* libI77/dfe.c (s_rdfe, s_wdfe): Wrap parentheses around
assignment used as truth value.
* libI77/due.c (s_rdue, s_wdue): Likewise.
* libI77/endfile.c (f_end): Likewise.
* libI77/iio.c (s_rsfi, s_wsfi): Likewise.
* libI77/lread.c (ERR, l_C, nmL_getc, s_rsle): Likewise.
* libI77/lwrite.c (l_g, l_put): Likewise.
* libI77/open.c (f_open): Likewise.
* libI77/rdfmt.c (rd_Z): Likewise.
* libI77/rsfe.c (s_rsfe): Likewise.
* libI77/rsne.c (hash, mk_hashtab, nl_init, getname, getdimen,
x_rsne, s_rsne): Likewise.
* libI77/sue.c (s_rsue, s_wsue): Likewise.
* libI77/wref.c (wrt_E, wrt_F): Likewise.
* libI77/wsfe.c (s_wsfe): Likewise.
* libI77/wsle.c (s_wsle): Likewise.
* libI77/wsne.c (s_wsne): Likewise.

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

21 years ago * d30v.h (CPP_PREDEFINES): Replace with
neil [Sun, 2 Jun 2002 14:11:33 +0000 (14:11 +0000)]
* d30v.h (CPP_PREDEFINES): Replace with
(TARGET_CPU_CPP_BUILTINS): New.

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

21 years ago * config/alpha/alpha.h [ASM_OUTPUT_LABELREF]: Fix typo.
sayle [Sun, 2 Jun 2002 13:18:15 +0000 (13:18 +0000)]
* config/alpha/alpha.h [ASM_OUTPUT_LABELREF]: Fix typo.

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

21 years ago * libF77/main.c (main): Avoid implicit int.
ghazi [Sun, 2 Jun 2002 13:01:12 +0000 (13:01 +0000)]
* libF77/main.c (main): Avoid implicit int.
* libI77/dfe.c (y_rsk, y_getc, c_dfe): Likewise.
* libI77/due.c (c_due): Likewise.
* libI77/err.c (f__canseek, f__nowreading, f__nowwriting):
Likewise.
* libI77/fmt.c (op_gen, ne_d, e_d, pars_f, type_f, en_fio):
Likewise.
* libI77/iio.c (z_getc, z_rnew, c_si, z_wnew): Likewise.
* libI77/lread.c (t_getc, c_le, l_read): Likewise.
* libI77/lwrite.c (l_write): Likewise.
* libI77/open.c (fk_open): Likewise.
* libI77/rdfmt.c (rd_ed, rd_ned): Likewise.
* libI77/rsfe.c (xrd_SL, x_getc, x_endp, x_rev): Likewise.
* libI77/rsne.c (t_getc, x_rsne): Likewise.
* libI77/sfe.c (c_sfe): Likewise.
* libI77/sue.c (c_sue): Likewise.
* libI77/uio.c (do_us): Likewise.
* libI77/wref.c (wrt_E, wrt_F): Likewise.
* libI77/wrtfmt.c (wrt_L, w_ed, w_ned): Likewise.

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

21 years ago * libI77/rdfmt.c (rd_I): Delete unused variable(s).
ghazi [Sun, 2 Jun 2002 12:59:22 +0000 (12:59 +0000)]
* libI77/rdfmt.c (rd_I): Delete unused variable(s).
* libU77/access_.c (G77_access_0): Likewise.
* libU77/chdir_.c (G77_chdir_0): Likewise.
* libU77/chmod_.c (G77_chmod_0): Likewise.
* libU77/ctime_.c (G77_ctime_0): Likewise.
* libU77/link_.c (G77_link_0): Likewise.
* libU77/lstat_.c (G77_lstat_0): Likewise.
* libU77/rename_.c (G77_rename_0): Likewise.
* libU77/stat_.c (G77_stat_0): Likewise.
* libU77/symlnk_.c (G77_symlnk_0): Likewise.
* libU77/unlink_.c (G77_unlink_0): Likewise.

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

21 years ago * libI77/inquire.c (f_inqu): Avoid ambiguous else clauses.
ghazi [Sun, 2 Jun 2002 12:57:28 +0000 (12:57 +0000)]
* libI77/inquire.c (f_inqu): Avoid ambiguous else clauses.
* libI77/lread.c (l_C, l_L): Likewise.
* libI77/open.c (f_open): Likewise.
* libI77/rsne.c (x_rsne): Likewise.
* libI77/wref.c (wrt_F): Likewise.

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

21 years ago * libF77/getenv_.c (G77_getenv_0): Avoid signed/unsigned warning.
ghazi [Sun, 2 Jun 2002 12:54:28 +0000 (12:54 +0000)]
* libF77/getenv_.c (G77_getenv_0): Avoid signed/unsigned warning.
* libF77/system_.c (G77_system_0): Likewise.
* libI77/open.c (f_open): Likewise.
* libI77/rdfmt.c (rd_Z): Likewise.
* libI77/uio.c (do_us, do_ud): Likewise.

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

21 years ago * gcse.c (bypass_conditional_jumps): Use single set to obtain set.
hubicka [Sun, 2 Jun 2002 10:21:39 +0000 (10:21 +0000)]
* gcse.c (bypass_conditional_jumps): Use single set to obtain set.

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

21 years ago * rtlanal.c (volatile_refs_p): Not automatically true for CALL.
rth [Sun, 2 Jun 2002 07:41:59 +0000 (07:41 +0000)]
    * rtlanal.c (volatile_refs_p): Not automatically true for CALL.

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

21 years agoDaily bump.
gccadmin [Sun, 2 Jun 2002 07:26:40 +0000 (07:26 +0000)]
Daily bump.

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

21 years agoDaily bump.
gccadmin [Sun, 2 Jun 2002 07:26:38 +0000 (07:26 +0000)]
Daily bump.

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

21 years ago Support for C++ constructors/destructors.
marekm [Sat, 1 Jun 2002 23:33:47 +0000 (23:33 +0000)]
Support for C++ constructors/destructors.
* config/avr/avr.c (avr_output_function_epilogue): Jump to exit()
instead of looping if main() returns.
(asm_file_start): Output global symbols that cause .data and .bss
initialization code to be linked in, unconditionally for now.
(avr_asm_out_ctor, avr_asm_out_dtor): New functions.
* config/avr/avr.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): New.
(TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
(LIBSTDCXX): New.
* config/avr/libgcc.S (_exit): Split in .fini9 and .fini0 sections.
(__tablejump__): New.
(__do_copy_data, __do_clear_bss): New.
(__do_global_ctors, __do_global_dtors): New.
* config/avr/t-avr (LIB1ASMFUNCS): Add _copy_data, _clear_bss,
_ctors, _dtors.

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

21 years ago * c4x/c4x.h (TARGET_CPU_CPP_BUILTINS): New.
m.hayes [Sat, 1 Jun 2002 23:27:50 +0000 (23:27 +0000)]
* c4x/c4x.h (TARGET_CPU_CPP_BUILTINS): New.
(CPP_SPEC, CPP_PREDEFINES): Kill.
* c4x/rtems.h (CPP_PREDEFINES): Kill.
(TARGET_OS_CPP_BUILTINS): New.

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

21 years ago * Makefile.in (tracer.o): New.
hubicka [Sat, 1 Jun 2002 21:31:42 +0000 (21:31 +0000)]
* Makefile.in (tracer.o): New.
* params.def (TRACER_*): New options.
* rtl.h (tracer): Declare.
* timevar.def (TV_TRACER): New.
* toplev.c (dump_file_index): Add DFI_tracer.
(dump_file_info): Add tracer.
(flag_tracer): New.
(lang_indepdenent_options): Add tracer.
(rest_of_compilation): Call tracer.
* tracer.c: New file.
* invoke.texi (-ftracer): Document.
(--param tracer-*): Document.

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

21 years ago2002-06-01 Daniel Berlin <dberlin@dberlin.org>
dberlin [Sat, 1 Jun 2002 21:09:52 +0000 (21:09 +0000)]
2002-06-01  Daniel Berlin  <dberlin@dberlin.org>

* tree-inline.c (expand_call_inline): Make the statement
expression we generate have a COMPOUND_STMT.

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

21 years ago * gcse.c (cprop_cc0_jump): Function deleted.
sayle [Sat, 1 Jun 2002 20:03:08 +0000 (20:03 +0000)]
* gcse.c (cprop_cc0_jump): Function deleted.
(cprop_jump): Take an additional argument which is the possibly
NULL cc setting insn immediately before the conditional jump.
When a MODE_CC set is present, substitute it into the JUMP_INSN
before attempting the constant propagation.
(cprop_insn):  Recognize cc setters followed by conditional jumps
as a special case.   Use cprop_jump instead of cprop_cc0_jump.
(cprop_one_pass):  Call bypass_conditional_jumps if altering jumps.
(find_bypass_set): New function based upon find_avail_set used by
cprop, but finds constant expressions available at the end of
basic blocks.
(bypass_block): New function.  Given a basic block that begins
with a conditional jump and multiple incoming edges, perform
the jump bypass optimization.
(bypass_conditional_jumps): New function.  Call bypass_block with
each suitable basic block in the CFG using a simple single pass.

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

21 years ago * tree.c (real_minus_onep): New function to test for -1.0.
sayle [Sat, 1 Jun 2002 16:56:08 +0000 (16:56 +0000)]
* tree.c (real_minus_onep): New function to test for -1.0.
* fold-const.c (fold) [MULT_EXPR]:  Optimize -1.0*x into -x.

* gcc.dg/fnegate-1.c: New test case.

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

21 years ago * fold-const.c (fold_truthop): Transform "a || b" into "(a|b) != 0"
sayle [Sat, 1 Jun 2002 16:51:00 +0000 (16:51 +0000)]
* fold-const.c (fold_truthop): Transform "a || b" into "(a|b) != 0"
and "!p && !q" into "(p|q) == 0" under suitable conditions.

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

21 years ago * cppexp.c (cpp_classify_number): Cast precission to int for
aj [Sat, 1 Jun 2002 14:11:45 +0000 (14:11 +0000)]
* cppexp.c (cpp_classify_number): Cast precission to int for
correct printf format.

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

21 years ago * config/avr/avr.c (avr_mcu_types): Remove devices that were once
marekm [Sat, 1 Jun 2002 13:47:29 +0000 (13:47 +0000)]
* config/avr/avr.c (avr_mcu_types): Remove devices that were once
expected, but don't really exist: atmega83, atmega85, attiny10.
* config/avr/avr.h (LINK_SPEC): Update to use the new avr[1-5] ld
emulations for all devices.
(CRT_BINUTILS_SPECS): Remove atmega83, atmega85, attiny10.
* config/avr/t-avr (MULTILIB_MATCHES): Remove atmega83, atmega85.

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

21 years ago * libF77/*: Fix formatting.
ghazi [Sat, 1 Jun 2002 12:38:32 +0000 (12:38 +0000)]
* libF77/*: Fix formatting.
* libI77/*: Likewise.
* libU77/*: Likewise.

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

21 years ago * gnat_ug.texi: Use @ifnottex instead of @ifinfo.
jsm28 [Sat, 1 Jun 2002 11:17:19 +0000 (11:17 +0000)]
* gnat_ug.texi: Use @ifnottex instead of @ifinfo.
* gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
gnat_ug_wnt.texi: Regenerate.

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

21 years ago * config/h8300/h8300-protos.h: Add a prototype for
kazu [Sat, 1 Jun 2002 10:38:58 +0000 (10:38 +0000)]
* config/h8300/h8300-protos.h: Add a prototype for
h8300_shift_needs_scratch_p.
* config/h8300/h8300.c (h8300_shift_needs_scratch_p): New.
* config/h8300/h8300.h (OK_FOR_R): New.
(OK_FOR_S): Likewise.
(OK_FOR_T): Likewise.
(EXTRA_CONSTRAINT): Call OK_FOR_R, OK_FOR_S, and OK_FOR_T.
* config/h8300/h8300.md (anonymous shift patterns): Use
constraints R, S, and T.

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

21 years ago * basic-block.h (struct basic_block_def): New field loop_father.
hubicka [Sat, 1 Jun 2002 09:24:41 +0000 (09:24 +0000)]
* basic-block.h (struct basic_block_def): New field loop_father.
(BB_VISITED): New flag.
(struct loop): New field pred, removed field shared.
(struct loops): New field parray.
(LOOP_EXITS_DOMS): Removed.
(flow_loop_tree_node_add, flow_loop_tree_node_remove,
flow_loop_nested_p, flow_bb_inside_loop_p, get_loop_body,
dfs_enumerate_from, loop_preheader_edge, loop_latch_edge,
add_bb_to_loop, remove_bb_from_loops, find_common_loop,
verify_loop_structure): Declare.
* cfg.c (entry_exit_blocks): Initialize loop_father field.
* cfganal.c (dfs_enumerate_from): New function.
* cfgloop.c (HEAVY_EDGE_RATIO): New constant.
(flow_loop_entry_edges_find, flow_loop_exit_edges_find,
flow_loop_nodes_find, flow_loop_level_compute, flow_loop_nested_p,
flow_loop_dump, flow_loops_dump, flow_loops_free,
flow_loop_tree_node_add, flow_loop_level_compute,
flow_loops_level_compute, flow_loop_scan, flow_loops_update,
flow_loop_outside_edge_p): Modified for new infrastructure.
(make_forwarder_block, canonicalize_loop_headers, glb_enum_p,
redirect_edge_with_latch_update, flow_loop_free): New static functions.
(flow_loop_tree_node_remove, flow_bb_inside_loop_p,
get_loop_body, add_bb_to_loop, remove_bb_from_loops,
find_common_loop, verify_loop_structure, loop_latch_edge,
loop_preheader_edge): New functions.
(flow_loops_cfg_dump): Do not show dominators, as this information
does not remain up to date long.
(flow_loops_find): Store results in new format.
* predict.c (propagate_freq, estimate_probability,
estimate_loops_at_level, estimate_bb_frequencies): Use new loop
infrastructure.

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

21 years agoDaily bump.
gccadmin [Sat, 1 Jun 2002 07:17:00 +0000 (07:17 +0000)]
Daily bump.

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

21 years ago*** empty log message ***
alehotsky [Sat, 1 Jun 2002 02:23:38 +0000 (02:23 +0000)]
*** empty log message ***

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

21 years ago- Sigh, always use default text section name.
dje [Sat, 1 Jun 2002 02:01:11 +0000 (02:01 +0000)]
- Sigh, always use default text section name.

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

21 years ago * g2c.hin, libF77/d_cnjg.c, libF77/main.c, libF77/r_cnjg.c,
ghazi [Sat, 1 Jun 2002 01:58:10 +0000 (01:58 +0000)]
* g2c.hin, libF77/d_cnjg.c, libF77/main.c, libF77/r_cnjg.c,
libF77/s_cat.c, libF77/s_paus.c, libF77/s_rnge.c, libF77/setarg.c,
libF77/setsig.c, libF77/signal1.h0, libI77/dfe.c, libI77/due.c,
libI77/err.c, libI77/fio.h, libI77/fmt.c, libI77/iio.c,
libI77/ilnw.c, libI77/lread.c, libI77/lwrite.c, libI77/rsfe.c,
libI77/rsli.c, libI77/rsne.c, libI77/sfe.c, libI77/sue.c,
libI77/util.c, libI77/wrtfmt.c, libI77/wsfe.c, libI77/wsle.c,
libI77/xwsne.c, libU77/date_.c: Kill VOID, Void and Int.

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

21 years ago * libF77/F77_aloc.c, libF77/exit_.c, libF77/main.c,
ghazi [Sat, 1 Jun 2002 01:55:57 +0000 (01:55 +0000)]
* libF77/F77_aloc.c, libF77/exit_.c, libF77/main.c,
libF77/s_paus.c, libF77/s_stop.c, libF77/setarg.c,
libF77/setsig.c, libF77/sig_die.c, libF77/signal1.h0,
libI77/close.c, libI77/dolio.c, libI77/fio.h, libI77/fmt.h,
libI77/lio.h: Delete checks on __cplusplus.

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

21 years ago * libF77/*: Delete KR_headers cruft.
ghazi [Sat, 1 Jun 2002 01:53:53 +0000 (01:53 +0000)]
* libF77/*: Delete KR_headers cruft.
* libI77/*: Likewise.
* libU77/*: Likewise.

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

21 years ago * Makefile.in (INSTALL_CPP, UNINSTALL_CPP): Remove.
zack [Sat, 1 Jun 2002 01:53:28 +0000 (01:53 +0000)]
* Makefile.in (INSTALL_CPP, UNINSTALL_CPP): Remove.
(install): Refer to install-cpp directly.
(uninstall-cpp): Folded into uninstall rule.
* configure.in: Delete all code relating to --disable-cpp.
* configure: Regenerate.
* config/t-install-cpp: Delete.

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

21 years agoFix typo in my previous changelog commit. Again.
pme [Sat, 1 Jun 2002 00:50:40 +0000 (00:50 +0000)]
Fix typo in my previous changelog commit.  Again.

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

21 years ago2002-05-31 Marcus Meissner <meissner@suse.de>
pme [Sat, 1 Jun 2002 00:48:21 +0000 (00:48 +0000)]
2002-05-31  Marcus Meissner  <meissner@suse.de>

* include/bits/stl_bvector.h:  Use UL suffix for unsigned longs.
* testsuite/23_containers/vector_bool.cc (test02):  New test.

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

21 years ago * configure.in (HAVE_AS_TLS): Add alpha tests.
rth [Sat, 1 Jun 2002 00:19:10 +0000 (00:19 +0000)]
* configure.in (HAVE_AS_TLS): Add alpha tests.
* configure: Rebuild.
* config/alpha/alpha.c (TARGET_AS_TLS): New.
(alpha_tls_size, alpha_tls_size_string): New.
(overide_options): Set it.  Always install machine_status hooks.
(input_operand): Accept got tls predicates.
(local_symbol_p): Merge into ...
(local_symbolic_operand): ... here.  Reject tls symbols.
(global_symbolic_operand): Likewise.
(tls_symbolic_operand_1, dtp16_symbolic_operand): New.
(dtp32_symbolic_operand, gotdtp_symbolic_operand): New.
(tp16_symbolic_operand, tp32_symbolic_operand): New.
(gottp_symbolic_operand, tls_symbolic_operand_type): New.
(alpha_encode_section_info): Handle TLS symbols.
(alpha_strip_name_encoding): Likewise.
(alpha_legitimate_address_p): Likewise.
(alpha_legitimize_address): Likewise.
(alpha_expand_mov): Early exit to avoid nop moves.
(struct machine_function): Move from unicosmk.h.  Add some_ld_name.
(alpha_init_machine_status, alpha_mark_machine_status,
alpha_free_machine_status): Always define.
(get_some_local_dynamic_name, get_some_local_dynamic_name_1): New.
(print_operand, print_operand_address): Add TLS relocs.
* config/alpha/alpha.h (HAVE_AS_TLS): Default 0.
(MASK_TLS_KERNEL, TARGET_TLS_KERNEL): New.
(TARGET_SWITCHES): Add -mtls-kernel.
(alpha_tls_size, alpha_tls_size_string): New.
(TARGET_OPTIONS): Add -mtls-size=.
(reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS,
REGNO_REG_CLASS, REG_CLASS_FROM_LETTER): Add R0_REG.
(ASM_OUTPUT_LABELREF): Skip %.
(PRINT_OPERAND_PUNCT_VALID_P): Add &.
(PREDICATE_CODES): Update.
* config/alpha/alpha.md (UNSPEC_TLSGD_CALL, UNSPEC_TLSLDM_CALL,
UNSPEC_TLSGD, UNSPEC_TLSLDM, UNSPEC_DTPREL, UNSPEC_TPREL,
UNSPEC_TP, UNSPECV_SET_TP): New.
(adddi_er_lo16_dtp, adddi_er_hi32_dtp, adddi_er_lo32_dtp,
adddi_er_lo16_tp, adddi_er_hi32_tp, adddi_er_lo32_tp, load_tp,
set_tp, movdi_er_tlsgd, movdi_er_tlsldm, movdi_er_gotdtp,
movdi_er_gottp, call_value_osf_tlsgd, call_value_osf_tlsldm): New.
(call_value_osf_2_er): Accept anything as op4.
* config/alpha/alpha-protos.h: Update.
* config/alpha/unicosmk.h (struct machine_function): Move to alpha.c.

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

21 years ago * cppinit.c (append_include_chain): Always pay attention to
zack [Fri, 31 May 2002 22:57:55 +0000 (22:57 +0000)]
* cppinit.c (append_include_chain): Always pay attention to
cxx_aware when setting new->sysp.  Remove ATTRIBUTE_UNUSED
marker on argument.

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