OSDN Git Service

pf3gnuchains/gcc-fork.git
22 years ago * Makefile.in (C_COMMON_H): Fix.
neil [Sat, 25 May 2002 22:01:55 +0000 (22:01 +0000)]
* Makefile.in (C_COMMON_H): Fix.
Update other targets.
* c-common.c: Don't include c-lex.h.
(builtin_define_with_value): Make static and prototype.
(builtin_define_std): Move from c-lex.h.
* c-common.h (init_c_lex): Move from c-lex.h.
* c-decl.c: Don't include c-lex.h.
(make_pointer_declarator): Move from c-parse.in.
* c-lex.c: Don't include c-lex.h.
* c-lex.h: Remove.
* c-parse.in: Don't include c-lex.h; include c-pragma.h.
(make_pointer_declarator): Move to c-decl.c.
* c-pragma.c: Don't include c-lex.h.
* c-pragma.h (yydebug, YYDEBUG, parse_in, c_lex): Move from c-lex.h.
* c-tree.h (make_pointer_declarator): New.
cp:
* lex.c: Don't include c-lex.h.
* parse.y, spew.c: Don't include c-lex.h; include c-pragma.h.
doc:
* passes.texi, tm.texi: Update.
objc:
* Make-lang.in: Update and correct.
* objc-act.c: Don't include c-lex.h or cpplib.h.
treelang:
* treetree.c: Don't include c-lex.h.
config:
* darwin-c.c: Don't include c-lex.h.
* c4x/c4x-c.c: Don't include c-lex.h.
* c4x/t-c4x: Update.
* i370/i370-c.c: Don't include c-lex.h.
* i370/t-i370: Update.
* i960/i960-c.c: Don't include c-lex.h.
* i960/i960.c: Don't include cpplib.h, c-lex.h or c-pragma.h.
* i960/t-960bare: Update.
* i960/t-vxworks: Update.
* rs6000/rs6000-c.c: Don't include c-lex.h; include c-pragma.h.
* rs6000/t-darwin: Update.
* rs6000/t-rs6000-c-rule: Update.
* v850/v850-c.c: Don't include c-lex.h.
* v850/v850.c: Don't include c-lex.h or cpplib.h.

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

22 years ago * tree.def: Fix typos.
kazu [Sat, 25 May 2002 20:18:41 +0000 (20:18 +0000)]
* tree.def: Fix typos.
* doc/install.texi: Likewise.

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

22 years ago * configure.in (HAVE_AS_TLS): Add ia64 test.
rth [Sat, 25 May 2002 19:51:43 +0000 (19:51 +0000)]
* configure.in (HAVE_AS_TLS): Add ia64 test.
* configure: Rebuild.
* config/ia64/ia64.c (ia64_tls_size_string, ia64_tls_size): New.
(override_options): Set it.
(TARGET_HAVE_TLS): New.
(sdata_symbolic_operand): Look for 's'.
(tls_symbolic_operand): New.
(ia64_expand_load_address): Abort for tls symbols.
(gen_tls_get_addr): New.
(gen_thread_pointer): New.
(ia64_expand_move): Split out from movdi.  Handle tls symbols.
(rtx_needs_barrier): Add new unspecs.
(ia64_encode_section_info): Handle tls symbols.
(ia64_strip_name_encoding): Strip two encoding chars.
* config/ia64/ia64.h (ia64_tls_size, ia64_tls_size_string): New.
(TARGET_TLS14, TARGET_TLS22, TARGET_TLS64): New.
(TARGET_OPTIONS): Add tls-size.
(ENCODE_SECTION_INFO_CHAR): Rename from SDATA_NAME_FLAG_CHAR.
* config/ia64/ia64.md (UNSPEC_LTOFF_DTPMOD, UNSPEC_LTOFF_DTPREL,
UNSPEC_DTPREL, UNSPEC_LTOFF_TPREL, UNSPEC_TPREL, UNSPEC_LD_BASE): New.
(movqi, movhi, movsi, movdi, movti): Use ia64_expand_move.
(movsf, movdf): Likewise.
(movdi_symbolic): Use match_scratch.  Don't split if we won't
have a scratch availiable.
(load_ltoff_dtpmod, load_dtprel, load_dtprel64, load_dtprel22,
add_dtprel, add_dtprel14, add_dtprel22, load_ltoff_tprel, load_tprel,
load_tprel64, load_tprel22, add_tprel, add_tprel14, add_tprel22): New.
* config/ia64/ia64-protos.h: Update.
* config/ia64/sysv4.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Use
sdata_symbolic_operand.
(ASM_OUTPUT_LABELREF): Strip two characters.

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

22 years ago * combine.c (simplify_set): Remove an unnecessary subreg.
kazu [Sat, 25 May 2002 19:47:11 +0000 (19:47 +0000)]
* combine.c (simplify_set): Remove an unnecessary subreg.

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

22 years ago * config/avr/avr.c (avr_handle_progmem_attribute): Handle TYPE_DECL.
marekm [Sat, 25 May 2002 18:18:53 +0000 (18:18 +0000)]
* config/avr/avr.c (avr_handle_progmem_attribute): Handle TYPE_DECL.

* config/avr/avr.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_BSS): New.

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

22 years ago* toplev.c (output_clean_symbol_name): Fix another thinko.
gdr [Sat, 25 May 2002 18:02:14 +0000 (18:02 +0000)]
* toplev.c (output_clean_symbol_name): Fix another thinko.

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

22 years ago * simplify-rtx.c (simplify_gen_relational): Simplify the RTX
sayle [Sat, 25 May 2002 16:09:20 +0000 (16:09 +0000)]
* simplify-rtx.c (simplify_gen_relational): Simplify the RTX
(cond (compare x y) 0) into the equivalent (cond x y).

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

22 years ago* toplev.c (output_clean_symbol_name): Use xstrdup. Fix thinko.
gdr [Sat, 25 May 2002 14:38:42 +0000 (14:38 +0000)]
* toplev.c (output_clean_symbol_name): Use xstrdup.  Fix thinko.

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

22 years agoDaily bump.
gccadmin [Sat, 25 May 2002 07:17:13 +0000 (07:17 +0000)]
Daily bump.

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

22 years ago2002-05-24 Ben Elliston <bje@redhat.com>
bje [Sat, 25 May 2002 03:40:20 +0000 (03:40 +0000)]
2002-05-24  Ben Elliston  <bje@redhat.com>

* lib/c-torture.exp (c-torture-execute): Handle multiple sources.

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

22 years ago * config.gcc: Remove all stanzas for previously obsoleted
zack [Sat, 25 May 2002 02:10:46 +0000 (02:10 +0000)]
* config.gcc: Remove all stanzas for previously obsoleted
systems.  Where necessary, add explicit error stanzas to
prevent removed systems from being misidentified as something
else.  Begin a fresh obsoletions list, with the systems that
were reprieved last round.
* doc/install.texi: Remove all mention of dead targets.
* fixinc/mkfixinc.sh: Likewise.

* config/arm/arm.h: Bit 31 of target_flags is no longer
reserved.

* config/1750a/1750a-protos.h, config/1750a/1750a.c,
config/1750a/1750a.h, config/1750a/1750a.md, config/1750a/ms1750.inc,
config/a29k/a29k-protos.h, config/a29k/a29k.c, config/a29k/a29k.h,
config/a29k/a29k.md, config/a29k/rtems.h, config/a29k/t-a29kbare,
config/a29k/t-vx29k, config/a29k/unix.h, config/a29k/vx29k.h,
config/alpha/osf12.h, config/alpha/osf2or3.h,
config/arm/arm-wince-pe.h, config/arm/arm.h, config/arm/riscix.h,
config/arm/riscix1-1.h, config/arm/rix-gas.h, config/arm/t-riscix,
config/clipper/clipper-protos.h, config/clipper/clipper.c,
config/clipper/clipper.h, config/clipper/clipper.md,
config/clipper/clix.h, config/convex/convex-protos.h,
config/convex/convex.c, config/convex/convex.h,
config/convex/convex.md, config/convex/fixinc.convex,
config/convex/proto.h, config/elxsi/elxsi-protos.h,
config/elxsi/elxsi.c, config/elxsi/elxsi.h, config/elxsi/elxsi.md,
config/i386/386bsd.h, config/i386/aix386.h, config/i386/aix386ng.h,
config/i386/bsd386.h, config/i386/dgux.h, config/i386/djgpp-rtems.h,
config/i386/isc.h, config/i386/iscdbx.h, config/i386/linux-oldld.h,
config/i386/next.h, config/i386/osf1-ci.asm, config/i386/osf1-cn.asm,
config/i386/osf1elf.h, config/i386/osf1elfgdb.h, config/i386/osfelf.h,
config/i386/osfrose.h, config/i386/rtems.h, config/i386/seq-gas.h,
config/i386/seq-sysv3.h, config/i386/seq2-sysv3.h,
config/i386/sequent.h, config/i386/sun.h, config/i386/sun386.h,
config/i386/t-dgux, config/i386/t-next, config/i386/t-osf,
config/i386/t-osf1elf, config/i860/bsd-gas.h, config/i860/bsd.h,
config/i860/fx2800.h, config/i860/i860-protos.h, config/i860/i860.c,
config/i860/i860.h, config/i860/i860.md, config/i860/mach.h,
config/i860/paragon.h, config/i860/sysv3.h, config/i860/sysv4.h,
config/i860/t-fx2800, config/i860/varargs.asm, config/m68k/a-ux.h,
config/m68k/altos3068.h, config/m68k/apollo68.h,
config/m68k/aux-crt1.c, config/m68k/aux-crt2.asm,
config/m68k/aux-crtn.asm, config/m68k/aux-exit.c,
config/m68k/aux-low.gld, config/m68k/aux-mcount.c,
config/m68k/auxas.h, config/m68k/auxgas.h, config/m68k/auxgld.h,
config/m68k/auxld.h, config/m68k/ctix.h, config/m68k/dpx2.h,
config/m68k/dpx2.ifile, config/m68k/dpx2cdbx.h, config/m68k/dpx2g.h,
config/m68k/isi-nfp.h, config/m68k/isi.h, config/m68k/lynx-ng.h,
config/m68k/lynx.h, config/m68k/math-3300.h, config/m68k/news.h,
config/m68k/news3.h, config/m68k/news3gas.h, config/m68k/newsgas.h,
config/m68k/next.h, config/m68k/next21.h, config/m68k/rtems.h,
config/m68k/t-aux, config/m68k/t-lynx, config/m68k/t-next,
config/m68k/x-next, config/m88k/dgux.h, config/m88k/dgux.ld,
config/m88k/dguxbcs.h, config/m88k/dolph.h, config/m88k/dolphin.ld,
config/m88k/luna.h, config/m88k/m88k-coff.h, config/m88k/sysv3.h,
config/m88k/t-bug, config/m88k/t-dgux, config/m88k/t-dgux-gas,
config/m88k/t-dguxbcs, config/m88k/t-dolph, config/m88k/t-m88k-gas,
config/m88k/t-tekXD88, config/m88k/tekXD88.h, config/m88k/tekXD88.ld,
config/mips/bsd-4.h, config/mips/bsd-5.h, config/mips/dec-bsd.h,
config/mips/dec-osf1.h, config/mips/elflorion.h,
config/mips/iris4loser.h, config/mips/mips-5.h, config/mips/news4.h,
config/mips/news5.h, config/mips/nws3250v4.h, config/mips/osfrose.h,
config/mips/svr3-4.h, config/mips/svr3-5.h, config/mips/svr4-4.h,
config/mips/svr4-5.h, config/mips/svr4-t.h, config/mips/t-bsd,
config/mips/t-bsd-gas, config/mips/t-svr3, config/mips/t-svr3-gas,
config/mips/t-svr4, config/mips/t-svr4-gas, config/mips/t-ultrix,
config/mips/ultrix.h, config/nextstep-protos.h, config/nextstep.c,
config/nextstep.h, config/nextstep21.h, config/ns32k/encore.h,
config/ns32k/merlin.h, config/ns32k/pc532-mach.h,
config/ns32k/pc532-min.h, config/ns32k/pc532.h,
config/ns32k/sequent.h, config/ns32k/tek6000.h,
config/ns32k/tek6100.h, config/ns32k/tek6200.h, config/pj/lib1funcs.S,
config/pj/linux.h, config/pj/pj-protos.h, config/pj/pj.c,
config/pj/pj.h, config/pj/pj.md, config/pj/pjl.h, config/pj/t-pj,
config/sparc/rtems.h, config/we32k/we32k-protos.h,
config/we32k/we32k.c, config/we32k/we32k.h, config/we32k/we32k.md:
Delete file.

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

22 years ago * flags.h (TLS_MODEL_GLOBAL_DYNAMIC): Set to 1.
rth [Sat, 25 May 2002 01:56:57 +0000 (01:56 +0000)]
    * flags.h (TLS_MODEL_GLOBAL_DYNAMIC): Set to 1.
        * toplev.c (flag_tls_default) Set to TLS_MODEL_GLOBAL_DYNAMIC.
        * config/i386/i386.c (tls_model_chars): Add leading space.
        (tls_symbolic_operand): Don't bias by 1.
        (legitimize_address): Don't unbias by 1.

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

22 years ago * lcm.c (optimize_mode_switching): Change bb used as indices
rth [Sat, 25 May 2002 00:47:31 +0000 (00:47 +0000)]
    * lcm.c (optimize_mode_switching): Change bb used as indices
        to bb->index.

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

22 years ago * config/ia64/ia64.c (ia64_reorg): Use update_life_info instead
rth [Fri, 24 May 2002 22:54:28 +0000 (22:54 +0000)]
    * config/ia64/ia64.c (ia64_reorg): Use update_life_info instead
        of update_life_info_in_dirty_blocks.

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

22 years ago * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
bryce [Fri, 24 May 2002 22:31:23 +0000 (22:31 +0000)]
    * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
        not "stackTrace".

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

22 years ago PR other/6782
jakub [Fri, 24 May 2002 21:40:25 +0000 (21:40 +0000)]
PR other/6782
* final.c (get_mem_expr_from_op): Return 0 if op is NULL.

* gcc.dg/verbose-asm.c: New test.

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

22 years ago PR preprocessor/6780
neil [Fri, 24 May 2002 19:26:30 +0000 (19:26 +0000)]
PR preprocessor/6780
* cppmacro.c (enter_macro_context): Clear state.angled_headers.
testsuite:
* gcc.dg/cpp/paste12.c: New test.

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

22 years ago* dwarf2out.c (dwarf2out_finish): Don't forget to emit a final
jimb [Fri, 24 May 2002 19:16:56 +0000 (19:16 +0000)]
* dwarf2out.c (dwarf2out_finish): Don't forget to emit a final
entry with a type code of zero, marking the end of the compilation
unit's macro info.

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

22 years ago * varasm.c (asm_output_bss): Always output one byte.
rth [Fri, 24 May 2002 18:30:48 +0000 (18:30 +0000)]
    * varasm.c (asm_output_bss): Always output one byte.
        * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_LOCAL): Likewise.

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

22 years agoTypo in previous changelog commit.
pme [Fri, 24 May 2002 18:17:43 +0000 (18:17 +0000)]
Typo in previous changelog commit.

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

22 years ago2002-05-24 Phil Edwards <pme@gcc.gnu.org>
pme [Fri, 24 May 2002 18:16:00 +0000 (18:16 +0000)]
2002-05-24  Phil Edwards  <pme@gcc.gnu.org>

libstdc++/6282
* include/std/std_bitset.h (_Base_biteset<0>):  New specialization.
(operator>>):  If nothing was extracted, don't fail in the
zero-length case.
* testsuite/23_containers/bitset_ctor.cc (test02):  New test.

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

22 years ago2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 24 May 2002 16:02:39 +0000 (16:02 +0000)]
2002-05-24  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/6701
* testsuite/22_locale/ctype_narrow_char.cc: New.
* testsuite/22_locale/ctype_narrow_wchar_t.cc: New.
* testsuite/22_locale/ctype_widen_char.cc: New.
* testsuite/22_locale/ctype_widen_wchar_t.cc: New.
* testsuite/22_locale/ctype_members_char.cc: Move some bits into...
* testsuite/22_locale/ctype_is_char.cc: ...this.
* testsuite/22_locale/ctype_to_char.cc: ...and this.
* testsuite/22_locale/ctype_members_wchar_t.cc: Move some bits into...
* testsuite/22_locale/ctype_is_wchar_t.cc: ...this.
* testsuite/22_locale/ctype_to_wchar_t.cc: ...and this.

* testsuite/22_locale/ctype_scan_wchar_t.cc: Should pass.

2002-05-24  Dale Peakall <dale@peakall.net>

PR libstdc++/6701
* config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow): Fix.
* config/locale/generic/ctype_members.cc: Same.

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

22 years ago2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 24 May 2002 15:50:51 +0000 (15:50 +0000)]
2002-05-24  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/6750
* include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
for empty string literal.
(ostream::operator<<(const _CharT*)): Same.
(ostream<char>::operator<<(const char*)): Same.
(ostream<char>::operator<<(streambuf*)): Same.
* testsuite/27_io/ostream_inserter_char.cc (test08): Add tests.
* testsuite/27_io/ostream_inserter_other.cc (test02): Modify.

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

22 years ago Merge JDK 1.4 java.security changes from classpath.
bryce [Fri, 24 May 2002 11:57:40 +0000 (11:57 +0000)]
   Merge JDK 1.4 java.security changes from classpath.

       * java/security/AccessControlException.java: Merge from Classpath.
       * java/security/AccessController.java: Likewise.
       * java/security/AllPermission.java: Likewise.
       * java/security/BasicPermission.java: Likewise.
       * java/security/Certificate.java: Likewise.
       * java/security/CodeSource.java: Likewise.
       * java/security/DigestException.java: Likewise.
       * java/security/DigestOutputStream.java: Likewise.
       * java/security/DomainCombiner.java: Likewise.
       * java/security/GeneralSecurityException.java: Likewise.
       * java/security/Guard.java: Likewise.
       * java/security/GuardedObject.java: Likewise.
       * java/security/InvalidAlgorithmParameterException.java: Likewise.
       * java/security/InvalidKeyException.java: Likewise.
       * java/security/InvalidParameterException.java: Likewise.
       * java/security/Key.java: Likewise.
       * java/security/KeyException.java: Likewise.
       * java/security/KeyManagementException.java: Likewise.
       * java/security/KeyStoreException.java: Likewise.
       * java/security/MessageDigest.java: Likewise.
       * java/security/NoSuchAlgorithmException.java: Likewise.
       * java/security/NoSuchProviderException.java: Likewise.
       * java/security/Permission.java: Likewise.
       * java/security/PermissionCollection.java: Likewise.
       * java/security/Permissions.java: Likewise.
       * java/security/Policy.java: Likewise.
       * java/security/Principal.java: Likewise.
       * java/security/PrivateKey.java: Likewise.
       * java/security/PrivilegedAction.java: Likewise.
       * java/security/PrivilegedActionException.java: Likewise.
       * java/security/PrivilegedExceptionAction.java: Likewise.
       * java/security/ProtectionDomain.java: Likewise.
       * java/security/ProviderException.java: Likewise.
       * java/security/PublicKey.java: Likewise.
       * java/security/SecureClassLoader.java: Likewise.
       * java/security/SecurityPermission.java: Likewise.
       * java/security/SignatureException.java: Likewise.
       * java/security/UnrecoverableKeyException.java: Likewise.
       * java/security/UnresolvedPermission.java: Likewise.
       * java/security/acl/AclNotFoundException.java: Likewise.
       * java/security/acl/LastOwnerException.java: Likewise.
       * java/security/acl/NotOwnerException.java: Likewise.
       * java/security/cert/CRLException.java: Likewise.
       * java/security/cert/CertificateEncodingException.java: Likewise.
       * java/security/cert/CertificateException.java: Likewise.
       * java/security/cert/CertificateExpiredException.java: Likewise.
       * java/security/cert/CertificateFactory.java: Likewise.
       * java/security/cert/CertificateNotYetValidException.java: Likewise.
       * java/security/cert/CertificateParsingException.java: Likewise.
       * java/security/spec/InvalidKeySpecException.java: Likewise.
       * java/security/spec/InvalidParameterSpecException.java: Likewise.

       * java/security/cert/CertPath.java: New file.
       * java/security/cert/CertPathBuilderException.java: New file.
       * java/security/cert/CertPathValidatorException.java: New file.
       * java/security/cert/CertStoreException.java: New file.

       * Makefile.am: Add new CertPath classes.
       * Makefile.in: Rebuilt.

       * gnu/java/util/EmptyEnumeration: New file from classpath.

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

22 years ago Merge JDK 1.4 exception chaining support from classpath.
bryce [Fri, 24 May 2002 10:40:47 +0000 (10:40 +0000)]
Merge JDK 1.4 exception chaining support from classpath.
* java/lang/Throwable.java: Merge 1.4 support from classpath.
(stackTraceBytes): Rename from stackTrace.
* java/lang/Exception.java: Merge from classpath.
* java/lang/StackTraceElement: New file from classpath.
* gcj/javaprims.h: Rebuild CNI namespace declarations.
* Makefile.am: Add StackTraceElement.
* Makefile.in: Rebuilt.

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

22 years ago * tree.c (decl_type_context): Return NULL_TREE if decl's context is a
bryce [Fri, 24 May 2002 09:19:55 +0000 (09:19 +0000)]
* tree.c (decl_type_context): Return NULL_TREE if decl's context is a
     namespace.

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

22 years ago * MAINTAINERS (Write After Approval): Add myself.
kkojima [Fri, 24 May 2002 07:19:09 +0000 (07:19 +0000)]
* MAINTAINERS (Write After Approval): Add myself.

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

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

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

22 years ago * ggc-page.c (alloc_page): Cast variables of type size_t to
aj [Fri, 24 May 2002 06:30:41 +0000 (06:30 +0000)]
* ggc-page.c (alloc_page): Cast variables of type size_t to
unsigned long, adjust printf format string.
(ggc_alloc): Likewise.
(ggc_print_statistics): Likewise.
(ggc_print_statistics): Correct printf format string for SCALE to
use unsigned long.

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

22 years ago * config/i386/mingw32.h (CPP_SPEC): Remove -remap.
dannysmith [Fri, 24 May 2002 02:54:07 +0000 (02:54 +0000)]
* config/i386/mingw32.h (CPP_SPEC): Remove -remap.

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

22 years ago * config/i386/mingw32.h (OUTPUT_QUOTED_STRING): Properly output
mmitchel [Thu, 23 May 2002 23:37:09 +0000 (23:37 +0000)]
* config/i386/mingw32.h (OUTPUT_QUOTED_STRING): Properly output
quoted strings.
* dwarf2out.c (lookup_filename): Properly quote filename in .file
directive in assembly file.
* config/m68k/dpx2.h (ASM_OUTPUT_SOURCE_FILENAME): Likewise.
* config/m88k/m88k.h (ASM_OUTPUT_SOURCE_FILENAME): Likewise.
* config/pj/pj.h (ASM_FILE_START): Likewise.
* config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
* config/avr/avr.c (asm_file_end): Likewise.
* toplev.c (output_quoted_string): Handle possibly signed plain
char.
* toplev.h (output_clean_symbol_name): Declare
* toplev.c (output_clean_symbol_name): Define.
* config/alpha/alpha.c (unicosmk_output_module_name): Use it.
* config/1750a/1750a.h (ASM_FILE_START): Likewise.

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

22 years ago * config/rs6000/rs6000.c (output_toc): Mask longs to 32 bits.
amodra [Thu, 23 May 2002 23:15:15 +0000 (23:15 +0000)]
* config/rs6000/rs6000.c (output_toc): Mask longs to 32 bits.

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

22 years agotestsuite:
neil [Thu, 23 May 2002 22:09:13 +0000 (22:09 +0000)]
testsuite:
* gcc.dg/cpp/testsuite/named_ops.c: Remove.
* g++.dg/parse/named_ops.C: New test.

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

22 years ago2002-05-23 Vladimir Makarov <vmakarov@redhat.com>
vmakarov [Thu, 23 May 2002 21:58:17 +0000 (21:58 +0000)]
2002-05-23  Vladimir Makarov  <vmakarov@redhat.com>

* genautomata.c (reserv_sets_hash_value): Use shift equal to 3/4
of size of unsigned.

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

22 years ago * configure.in (HAVE_AS_TLS): New test.
rth [Thu, 23 May 2002 21:55:30 +0000 (21:55 +0000)]
* configure.in (HAVE_AS_TLS): New test.
* config.in, configure: Rebuild.
* config/i386/i386.c (TARGET_HAVE_TLS): Set if HAVE_AS_TLS.
(ix86_tls_dialect_string, ix86_tls_dialect): New.
(override_options): Set it.
(tls_model_chars, tls_symbolic_operand): New.
(tls_symbolic_operand_1, global_dynamic_symbolic_operand): New.
(local_dynamic_symbolic_operand, initial_exec_symbolic_operand): New.
(local_exec_symbolic_operand): New.
(get_pic_label_name): Merge into output_set_got.
(ix86_asm_file_end): Emit pic_label_name if defined.
(legitimate_constant_p, constant_address_p): New.
(legitimate_pic_operand_p): New.
(legitimate_pic_address_disp_p): Handle GOTTPOFF, NTPOFF, DTPOFF.
(legitimate_address_p): Likewise.
(ix86_encode_section_info): Rename from i386_; handle tls decls.
(ix86_strip_name_encoding): New.
(get_thread_pointer): New.
(legitimize_address): Handle tls symbols.
(output_pic_addr_const): Handle GOTTPOFF, TPOFF, NTPOFF, DTPOFF.
Remove UNSPEC_PLT.
(struct machine_function): Add some_ld_name.
(get_some_local_dynamic_name, get_some_local_dynamic_name_1): Set it.
(print_operand) [&]: Use it.  Handle UNSPEC_TP.
(output_addr_const_extra): New.
(maybe_get_pool_constant): New.
(ix86_split_to_parts): Use it.
(ix86_expand_move): Handle tls symbols.
(ix86_tls_get_addr): New.
* config/i386/i386.h (TARGET_GNU_TLS, TARGET_SUN_TLS): New.
(TARGET_OPTIONS): Add tls-dialect.
(CONSTANT_ADDRESS_P): Use new out-of-line function.
(LEGITIMATE_CONSTANT_P): Likewise.
(LEGITIMATE_PIC_OPERAND_P): Likewise.
(TARGET_STRIP_NAME_ENCODING): New.
(ASM_OUTPUT_LABELREF): New.
(PRINT_OPERAND_PUNCT_VALID_P): Add '&'.
(OUTPUT_ADDR_CONST_EXTRA): New.
(PREDICATE_CODES): Update.
(ix86_tls_dialect, ix86_tls_dialect_string): New.
* config/i386/i386.md: Regroup and renumber unspec constants.
(tls_global_dynamic_gnu, tls_global_dynamic_sun): New.
(tls_local_dynamic_base_gnu, tls_local_dynamic_base_sun): New.
(tls_global_dynamic, tls_local_dynamic_base): New.
(tls_local_dynamic_once): New.
* config/i386/i386-protos.h: Update.

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

22 years ago * genemit.c (gen_insn): Print file:lineno comment before function.
rth [Thu, 23 May 2002 21:32:14 +0000 (21:32 +0000)]
    * genemit.c (gen_insn): Print file:lineno comment before function.
        (main): likewise.
        * gensupport.c (struct queue_elem): Add filename member.
        (queue_pattern): Initialize it; update all callers.
        (process_include): Don't free filename.
        (read_md_rtx): Set read_rtx_filename.

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

22 years ago * config/ia64/linux.h (IA64_GATE_AREA_END): Adjust for 64K
hboehm [Thu, 23 May 2002 21:28:47 +0000 (21:28 +0000)]
* config/ia64/linux.h (IA64_GATE_AREA_END): Adjust for 64K
pages.

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

22 years ago * config/i386/i386.c (output_set_got): Fix typo in pic no-deep case.
rth [Thu, 23 May 2002 21:25:04 +0000 (21:25 +0000)]
    * config/i386/i386.c (output_set_got): Fix typo in pic no-deep case.

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

22 years ago * doc/extend.texi (C++98 Thread-Local Edits): Update with
rth [Thu, 23 May 2002 21:00:49 +0000 (21:00 +0000)]
    * doc/extend.texi (C++98 Thread-Local Edits): Update with
        commentary from Mark.

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

22 years ago * bb-reorder.c (make_reorder_chain, make_reorder_chain_1):
rakdver [Thu, 23 May 2002 19:23:51 +0000 (19:23 +0000)]
* bb-reorder.c (make_reorder_chain, make_reorder_chain_1):
Use FOR_EACH_BB macros to iterate over basic block chain.
* cfg.c (clear_edges, clear_bb_flags, dump_flow_info,
alloc_aux_for_blocks, clear_aux_for_blocks, alloc_aux_for_edges):
Likewise.
* cfganal.c (set_edge_can_fallthru_flag, flow_call_edges_add,
find_unreachable_blocks, create_edge_list, verify_edge_list,
remove_fake_edges, add_noreturn_fake_exit_edges,
flow_preorder_transversal_compute, flow_dfs_compute_reverse_execute):
Likewise.
* cfgbuild.c (make_edges, find_basic_blocks, find_many_sub_basic_blocks,
find_sub_basic_blocks): Likewise.
* cfgcleanup.c (try_optimize_cfg, delete_unreachable_blocks):
Likewise.
* cfglayout.c (record_effective_endpoints, cleanup_unconditional_jumps):
Likewise.
* cfgloop.c (flow_loops_cfg_dump, flow_loops_find):
Likewise.
* cfgrtl.c (compute_bb_for_insn, tidy_fallthru_edges,
commit_edge_insertions, commit_edge_insertions_watch_calls,
print_rtl_with_bb, verify_flow_info, purge_all_dead_edges): Likewise.
* combine.c (combine_instructions, reg_dead_at_p): Likewise.
* conflict.c (conflict_graph_compute): Likewise.
* df.c (df_bitmaps_alloc, df_bitmaps_free, df_alloc, df_analyse_1,
df_modified_p, df_refs_unlink, df_dump): Likewise.
* dominance.c (calc_dfs_tree, calculate_dominance_info): Likewise.
* final.c (compute_alignments): Likewise.
* flow.c (update_life_info, update_life_info_in_dirty_blocks,
delete_noop_moves, calculate_global_regs_live, allocate_bb_life_data,
count_or_remove_death_notes): Likewise.
* gcse.c (oprs_unchanged_p, record_last_reg_set_info,
compute_hash_table, compute_kill_rd, compute_rd, compute_ae_kill,
classic_gcse, compute_transp, cprop, compute_pre_data,
compute_transpout, invalidate_nonnull_info,
delete_null_pointer_checks_1, delete_null_pointer_checks,
compute_code_hoist_vbeinout, hoist_code, compute_ld_motion_mems,
compute_store_table, build_store_vectors, store_motion): Likewise.
* global.c (global_conflicts, mark_elimination): Likewise.
* graph.c (print_rtl_graph_with_bb): Likewise.
* haifa-sched.c (sched_init): Likewise.
* ifcvt.c (if_convert): Likewise.
* lcm.c (compute_antinout_edge, compute_laterin, compute_insert_delete,
compute_available, compute_nearerout, compute_rev_insert_delete,
optimize_mode_switching): Likewise.
* local-alloc.c (local_alloc, update_equiv_regs): Likewise.
* predict.c (estimate_probability, note_prediction_to_br_prob,
propagate_freq, counts_to_freqs, expensive_function_p,
estimate_bb_frequencies): Likewise.
* profile.c (instrument_edges, get_exec_counts,
compute_branch_probabilities, compute_checksum, branch_prob,
find_spanning_tree): Likewise.
* recog.c (split_all_insns, peephole2_optimize): Likewise.
* reg-stack.c (reg_to_stack, convert_regs_entry, convert_regs):
Likewise.
* regclass.c (scan_one_insn, regclass): Likewise.
* regmove.c (mark_flags_life_zones, regmove_optimize,
record_stack_memrefs): Likewise.
* regrename.c (regrename_optimize, copyprop_hardreg_forward): Likewise.
* reload1.c (reload, reload_combine, fixup_abnormal_edges): Likewise.
* resource.c (find_basic_block): Likewise.
* sched-ebb.c (schedule_ebbs): Likewise.
* sched-rgn.c (is_cfg_nonregular, build_control_flow,
find_single_block_region, find_rgns, schedule_insns)
* sibcall.c (optimize_sibling_and_tail_recursive_call)
* ssa-ccp.c (optimize_unexecutable_edges,
ssa_ccp_df_delete_unreachable_insns): Likewise.
* ssa-dce.c (ssa_eliminate_dead_code): Likewise.
* ssa.c (find_evaluations, compute_dominance_frontiers_1,
rename_block, convert_to_ssa, compute_conservative_reg_partition,
compute_coalesced_reg_partition, rename_equivalent_regs,
convert_from_ssa): Likewise.
* config/ia64/ia64.c (emit_predicate_relation_info, process_epilogue,
process_for_unwind_directive): Likewise.

* df.c (FOR_ALL_BBS): Removed.
* gcse.c (struct null_pointer_info): Type of current_block field
changed.
(struct reg_avail_info): Type of last_bb field changed.
* config/ia64/ia64.c (block_num): Removed.
(need_copy_state): Type changed.
(last_block): New.

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

22 years ago * cppinit.c (mark_named_operators): Split out from init_builtins.
neil [Thu, 23 May 2002 18:55:27 +0000 (18:55 +0000)]
* cppinit.c (mark_named_operators): Split out from init_builtins.
(cpp_finish_options): Call it from here instead.
testsuite:
* gcc.dg/cpp/named_ops.c: New test.

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

22 years ago* builtin-attrs.def: Update copyright years.
thorpej [Thu, 23 May 2002 18:32:12 +0000 (18:32 +0000)]
* builtin-attrs.def: Update copyright years.
(ATTR_NONNULL): New attribute identifier.
(ATTR_NONNULL_1, ATTR_NONNULL_2, ATTR_NONNULL_3): New
attribute tree lists.
(DEF_FORMAT_ATTRIBUTE): Chain a nonnull attribute for the
format operand.
(ATTR_FORMAT_ARG_1, ATTR_FORMAT_ARG_2): Use...
(DEF_FORMAT_ARG_ATTRIBUTE): ...this to generate format_arg
attribute lists.  Chain the appropriate nonnull attribute.
* c-format.c (check_format_arg): Remove null format string
warning.
* testsuite/gcc.dg/format/null-1.c: New test.

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

22 years ago * Makefile.in (ADAC): Define.
ro [Thu, 23 May 2002 18:13:28 +0000 (18:13 +0000)]
* Makefile.in (ADAC): Define.
(SYSLIBS): Define.
(.SUFFIXES): Move before language makefile fragments.
(STAGE2_FLAGS_TO_PASS): Use stage CC as ADAC.

ada:
* Make-lang.in (CP, ECHO): Copy from Makefile.in.
(X_ADA_CFLAGS, T_ADA_CFLAGS, X_ADAFLAGS, T_ADAFLAGS): Likewise.
(ALL_ADAFLAGS, FORCE_DEBUG_ADAFLAGS, ADA_CFLAGS): Likewise.
(ALL_ADA_CFLAGS): Likewise.
(ADA_INCLUDES): Likewise.
Adapt for new working dir.
(GNATBIND): Use Makefile.in version.
(.SUFFIXES): Copy from Makefile.in.
(ada-warn): Define.
(.adb.o, .ads.o): Copy from Makefile.in.
Added $(OUTPUT_OPTION).
(GNAT1_C_OBJS): Moved from Makefile.in.
Prefix with ada subdir.
(GNAT_ADA_OBJS, GNAT1_ADA_OBJS, GNAT1_OBJS, GNATBIND_OBJS): Likewise.
(EXTRA_GNAT1_OBJS): Moved from Makefile.in.
Adapt for new working dir.
(EXTRA_GNATBIND_OBJS): Likewise.
(ADA_BACKEND): Moved from Makefile.in.
Renamed to avoid conflict with global BACKEND.
Use that one.
(TARGET_ADA_SRCS): Moved from Makefile.in.
(gnat1$(exeext)): Replaced recursive rule with Makefile.in version.
Use ADA_BACKEND.
(gnatbind$(exeext)): Replaced recursive rule with Makefile.in version.
(ada_extra_files): Moved from Makefile.in.
Prefix with ada subdir.
(ada/b_gnat1.c, ada/b_gnat1.o, ada/b_gnatb.c, ada/b_gnatb.o): Likewise.
(ada/treeprs.ads, ada/einfo.h, ada/sinfo.h, ada/nmake.adb): Likewise.
(ada/nmake.ads): Likewise.
(update-sources): Moved from Makefile.in.
Prefix with ada subdir.
(ada/sdefault.adb, ada/stamp-sdefault, ada/sdefault.o): Likewise.
(ADA_TREE_H): Likewise.
(ada/a-except.o, ada/s-assert.o, ada/s-memory.o): Likewise.
(ada/memtrack.o): Likewise.
(ada/adadecode.o): Likewise.
Update dependencies.
(ada/adaint.o): New.
(ada/argv.o): Moved from Makefile.in.
Prefix with ada subdir.
Update dependencies.
(ada/cstreams.o, ada/exit.o, ada/final.o, ada/link.o): Likewise.
(ada/cio.o, ada/init.o, ada/raise.o, ada/tracebak.o): Likewise.
(ada/cuintp.o, ada/decl.o, ada/misc.o): Moved from Makefile.in.
Prefix with ada subdir.
(ada/targtyps.o, ada/trans.o, ada/utils.o, ada/utils2.o): Likewise.
(GNAT DEPENDENCIES): Regenerate.
* Makefile.in (MACHMODE_H, RTL_H, TREE_H): Removed, provided by
toplevel Makefile.in.
(EXTRA_GNAT1_OBJS, EXTRA_GNATBIND_OBJS): Removed.
(TARGET_ADA_SRCS): Removed.
(GNAT1_C_OBJS, GNAT_ADA_OBJS, GNAT1_ADA_OBJS, GNAT1_OBJS): Likewise.
(GNATBIND_OBJS): Likewise.
(ADA_INCLUDE_DIR, ADA_RTL_OBJ_DIR): Moved here.
(BACKEND): Removed.
(../gnat1$(exeext), ../gnatbind$(exeext)): Likewise.
(TREE_H): Likewise.
(ada_extra_files): Likewise.
(b_gnat1.c, b_gnat1.o, b_gnatb.c, b_gnatb.o): Likewise.
(treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads): Likewise.
(update-sources): Likewise.
(sdefault.adb, stamp-sdefault, sdefault.o): Likewise
(ADA_TREE_H): Likewise.
(adadecoce.o): Likewise.
(cuintp.o, decl.o, misc.o, trans.o, utils.o, utils2.o): Likewise.
(GNAT DEPENDENCIES): Likewise.

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

22 years ago * varasm.c (make_decl_rtl): Don't allow weak variables to be
mmitchel [Thu, 23 May 2002 18:11:04 +0000 (18:11 +0000)]
* varasm.c (make_decl_rtl): Don't allow weak variables to be
placed in common.

* gcc/testsuite/gcc.dg/weak-8.c: New test.

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

22 years ago * cfg.c (dump_flow_info): Print results of
hubicka [Thu, 23 May 2002 17:46:46 +0000 (17:46 +0000)]
* cfg.c (dump_flow_info): Print results of
maybe_hot/probably_never_executed predicates.
* toplev.c (open_dump_file): Print function frequency.

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

22 years ago2002-05-23 David S. Miller <davem@redhat.com>
davem [Thu, 23 May 2002 16:37:58 +0000 (16:37 +0000)]
2002-05-23  David S. Miller  <davem@redhat.com>

* cse.c (approx_reg_cost_1, approx_reg_cost): Recode to not use
regsets.

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

22 years ago2002-05-23 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 23 May 2002 16:08:46 +0000 (16:08 +0000)]
2002-05-23  Benjamin Kosnik  <bkoz@redhat.com>

* configure.in (release_VERSION): Update to 3.1.1.
(libtool_VERSION): Update to 4:1:0.
* configure: Regenerate.

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

22 years ago* c-common.c (warn_nonnull): Declare.
thorpej [Thu, 23 May 2002 15:48:05 +0000 (15:48 +0000)]
* c-common.c (warn_nonnull): Declare.
(c_common_attribute_table): Add "nonnull" attribute.
(handle_nonnull_attribute, check_function_nonnull, nonnull_check_p,
check_nonnull_arg, get_nonnull_operand, check_function_arguments,
check_function_arguments_recurse): New functions.
* c-common.h (warn_nonnull): Declare extern.
(check_function_arguments, check_function_arguments_recurse): New
prototypes.
* c-decl.c (c_decode_option): Add -Wnonnull option.
* c-format.c (set_Wformat): Set warn_nonnull if enabling
format checking.
(format_check_context): New structure.
(check_format_info_recurse): Remove recursion and rename to...
(check_format_arg): ...this.  Update comment.
(check_format_info): Use check_function_arguments_recurse.
* c-typeck.c (build_function_call): Call check_function_arguments
instead of check_function_format.
* doc/extend.texi: Document "nonnull" attribute.
* doc/invoke.texi: Docuemnt -Wnonnull option.
* testsuite/gcc.dg/nonnull-1.c: New test.
* testsuite/gcc.dg/nonnull-2.c: New test.

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

22 years ago2002-05-23 David S. Miller <davem@redhat.com>
davem [Thu, 23 May 2002 15:22:05 +0000 (15:22 +0000)]
2002-05-23  David S. Miller  <davem@redhat.com>

* basic-block.h (CLEANUP_NO_INSN_DEL): Define it.
* cfgcleanup.c (cleanup_cfg): If it is set do not
attempt to delete trivially dead insns.
* except.c (finish_eh_generation): Pass it to cleanup_cfg.
* toplev.c (rest_of_compilation): Document non-trivial aspect
the RTL before optimize_save_area_alloca is run.

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

22 years ago * c-lex.c (indent_level): Remove.
neil [Thu, 23 May 2002 12:05:38 +0000 (12:05 +0000)]
* c-lex.c (indent_level): Remove.
(cb_file_change, c_lex): Remove indent level handling.
* c-lex.h (indent_level): Remove.
* input.h (struct file_stack): Remove indent_level.
* toplev.c (push_srcloc): Remove indent_level handling.
cp:
* spew.c (yyungetc, snarf_block): Remove indent_level handling.

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

22 years ago * gcc.dg/weak-2.c: Allow optional leading underscore
amylaar [Thu, 23 May 2002 10:19:34 +0000 (10:19 +0000)]
* gcc.dg/weak-2.c: Allow optional leading underscore
in scan-assembler symbol name.
* gcc.dg/weak-3.c: Likewise.
* gcc.dg/weak-4.c: Likewise.
* gcc.dg/weak-5.c: Likewise.

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

22 years ago PR target/6753
jakub [Thu, 23 May 2002 09:29:29 +0000 (09:29 +0000)]
PR target/6753
* config/i386/i386.md (sse_movdfcc, sse_movdfcc_eq): Use Y instead
of x in constraints for clarity.
(sse_mov?fcc split): abort if op2 == op3.
(sse_movsfcc_const0_1, sse_movsfcc_const0_2, sse_movsfcc_const0_3,
sse_movsfcc_const0_4): Add earlyclobber.
(sse_movdfcc_const0_1, sse_movdfcc_const0_2, sse_movdfcc_const0_3,
sse_movdfcc_const0_4): Likewise.  Use DFmode, not SFmode.
Use Y instead of x in constraints.

* gcc.dg/20020523-1.c: New test.

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

22 years ago * doc/extend.texi (C99 Thread-Local Edits): New subsection.
rth [Thu, 23 May 2002 08:21:36 +0000 (08:21 +0000)]
    * doc/extend.texi (C99 Thread-Local Edits): New subsection.
        (C++98 Thread-Local Edits): New subsection.

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

22 years ago * config/i386/i386.c, config/i386/i386.h: Tidy comments and whitespace.
rth [Thu, 23 May 2002 08:17:14 +0000 (08:17 +0000)]
    * config/i386/i386.c, config/i386/i386.h: Tidy comments and whitespace.
        (ix86_arch): Set type to enum processor_type.

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

22 years ago * config/i386/i386.md (movsi_1, movdi_1_rex64): Use
rth [Thu, 23 May 2002 08:16:13 +0000 (08:16 +0000)]
    * config/i386/i386.md (movsi_1, movdi_1_rex64): Use
        LEGITIMATE_PIC_OPERAND_P not SYMBOLIC_CONST.

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

22 years ago * configure.in: Fix as version test for binutils 2.12.1 releases
jakub [Thu, 23 May 2002 08:11:50 +0000 (08:11 +0000)]
* configure.in: Fix as version test for binutils 2.12.1 releases
(without dates).
* configure: Rebuilt.

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

22 years ago * config/i386/i386.c (get_pic_label_name): New.
rth [Thu, 23 May 2002 07:43:13 +0000 (07:43 +0000)]
    * config/i386/i386.c (get_pic_label_name): New.
        (load_pic_register): Remove.
        (output_set_got): New.
        (ix86_expand_prologue): Use gen_set_got; mark insn REG_MAYBE_DEAD.
        * config/i386/i386.md (UNSPEC_SET_GOT): New.
        (UNSPECV_PROLOGUE_SET_GOT, UNSPECV_PROLOGUE_GET_PC): Remove.
        (prologue_set_got, prologue_get_pc): Remove.
        (set_got, set_got_nopic, set_got_deep, set_got_nodeep): New.
        (builtin_setjmp_receiver): Use gen_set_got.
        * config/i386/i386-protos.h: Update.

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

22 years ago * gcse.c (hash_expr): Do not use alias set for hashing.
hubicka [Thu, 23 May 2002 07:29:30 +0000 (07:29 +0000)]
* gcse.c (hash_expr): Do not use alias set for hashing.

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

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

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

22 years ago * dbxout.c (dbxout_class_name_qualifiers): New function.
rth [Thu, 23 May 2002 06:50:32 +0000 (06:50 +0000)]
    * dbxout.c (dbxout_class_name_qualifiers): New function.
        (dbxout_symbol): Output class/struct qualifiers for a .stabs entry.

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

22 years ago * cpperror.c (_cpp_begin_message): No special casing
neil [Thu, 23 May 2002 06:07:45 +0000 (06:07 +0000)]
* cpperror.c (_cpp_begin_message): No special casing
of CPP_FATAL_LIMIT.
* cppinit.c (sanity_checks): s/DL_FATAL/DL_ICE/.
(output_deps, cpp_handle_option, cpp_post_options): Use DL_ERROR.
* cpplib.c (do_include_common): Use DL_ERROR.
* cpplib.h (CPP_FATAL_LIMIT, CPP_FATAL_ERRORS, DL_FATAL): Remove.
(DL_ICE): Renumber.
* fix-header.c (read_scan_file): Update.

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

22 years agotestsuite:
neil [Thu, 23 May 2002 05:55:38 +0000 (05:55 +0000)]
testsuite:
* objc.dg/const-str-2.m: Update now that we stop after
a command line error.

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

22 years ago * config/i386/i386.c (ix86_expand_call): New function, extracted
rth [Thu, 23 May 2002 05:20:25 +0000 (05:20 +0000)]
    * config/i386/i386.c (ix86_expand_call): New function, extracted
        from md call patterns.  Add pic_offset_table_rtx to
        CALL_INSN_FUNCTION_USAGE when needed.
        * config/i386/i386.md (call_pop, call): Use ix86_expand_call.
        (call_value_pop, call_value, untyped_call): Likewise.
        (call_exp, call_value_exp): Remove.
        * config/i386/i386-protos.h: Update.

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

22 years ago * g++.dg/dg.exp: Fix typo in test pruneing.
rth [Thu, 23 May 2002 05:14:20 +0000 (05:14 +0000)]
    * g++.dg/dg.exp: Fix typo in test pruneing.

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

22 years ago * varasm.c (default_section_type_flags): Check for VAR_DECL
rth [Thu, 23 May 2002 05:14:02 +0000 (05:14 +0000)]
    * varasm.c (default_section_type_flags): Check for VAR_DECL
        before using DECL_THREAD_LOCAL.

        * decl.c (obscure_complex_init): Check for VAR_DECL
        before using DECL_THREAD_LOCAL.

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

22 years ago * Makefile.am (all-recursive): Depend on $all_java_class_files so that
bryce [Thu, 23 May 2002 04:18:35 +0000 (04:18 +0000)]
* Makefile.am (all-recursive): Depend on $all_java_class_files so that
they build first.
* Makefile.in: Rebuilt.

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

22 years ago * libjava.lang/PR6729.java: New file.
bryce [Thu, 23 May 2002 03:32:05 +0000 (03:32 +0000)]
* libjava.lang/PR6729.java: New file.
* libjava.lang/PR6729.out: New file.

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

22 years agoTest case for PR 6729.
bryce [Thu, 23 May 2002 03:30:13 +0000 (03:30 +0000)]
Test case for PR 6729.

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

22 years ago * config/rs6000/aix43.h (LINK_SPEC): Add PE initializer.
dje [Thu, 23 May 2002 02:26:47 +0000 (02:26 +0000)]
    * config/rs6000/aix43.h (LINK_SPEC): Add PE initializer.
        (STARTFILE_SPEC): Delete PE crt0.o.
        * config/rs6000/aix51.h: Same.
        * config/rs6000/rs6000.c: Use TARGET_XCOFF, not OBJECT_FORMAT_COFF.
        * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): Append [DS] to
        function descriptor symbol.  Use RS6000_OUTPUT_BASENAME.
        (ASM_OUTPUT_DEF_FROM_DECLS): Use RS6000_OUTPUT_BASENAME.
        * config/rs6000/xcoff.h (ASM_OUTPUT_DEF): Define.

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

22 years agomore README clarifications
korbb [Thu, 23 May 2002 01:44:15 +0000 (01:44 +0000)]
more README clarifications

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

22 years ago * decl.c (check_tag_decl): Handle RID_THREAD.
rth [Wed, 22 May 2002 23:42:57 +0000 (23:42 +0000)]
    * decl.c (check_tag_decl): Handle RID_THREAD.
        (obscure_complex_init): Reject run-time init of tls.
        (grokvardecl, grokdeclarator): Handle RID_THREAD.
        * lex.c (reswords): Add __thread.
        (rid_to_yy): Map RID_THREAD to SCSPEC.

        * g++.dg/dg.exp: Prune the tls subdirectory.
        * g++.dg/tls/tls.exp, g++.dg/tls/trivial.C: New.
        * g++.dg/tls/diag-1.C, g++.dg/tls/diag-2.C: New.
        * g++.dg/tls/init-1.C: New.

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

22 years ago * varasm.c (default_section_type_flags): Handle tls data and
rth [Wed, 22 May 2002 23:31:48 +0000 (23:31 +0000)]
    * varasm.c (default_section_type_flags): Handle tls data and
        default sections.
        (default_unique_section): Handle tls sections.

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

22 years ago * configure.in (CROSS): Define NATIVE_CROSS.
amodra [Wed, 22 May 2002 22:09:18 +0000 (22:09 +0000)]
* configure.in (CROSS): Define NATIVE_CROSS.
* configure: Regenerate.
* gcc.c (STARTFILE_PREFIX_SPEC): Define.
(startfile_prefix_spec): New var.
(static_specs): Add startfile_prefix_spec.
(do_spec_2): Split out from..
(do_spec): ..here.
(main): Process startfile_prefix_spec.
* config/rs6000/linux64.h (LINK_OS_LINUX_SPEC) Change name of
dynamic linker.
(STARTFILE_PREFIX_SPEC): Define.
(STARTFILE_LINUX_SPEC, ENDFILE_LINUX_SPEC): Rewrite without
        absolute paths.

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

22 years ago * cpperror.c: Fix formatting.
kazu [Wed, 22 May 2002 22:02:16 +0000 (22:02 +0000)]
* cpperror.c: Fix formatting.
* cppexp.c: Likewise.
* cppfiles.c: Likewise.
* cpphash.c: Likewise.
* cpphash.h: Likewise.
* cppinit.c: Likewise.
* cpplex.c: Likewise.
* cpplib.c: Likewise.
* cppmacro.c: Likewise.
* cppmain.c: Likewise.
* cppspec.c: Likewise.

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

22 years ago * combine.c (force_to_mode): Use gen_int_mode.
jakub [Wed, 22 May 2002 21:35:56 +0000 (21:35 +0000)]
* combine.c (force_to_mode): Use gen_int_mode.
Don't clear CONST_INT bits outside of mode.

* gcc.dg/20020517-1.c: New test.

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

22 years ago * fixinc/inclhack.def (thread_keyword): Match __thread as last arg.
rth [Wed, 22 May 2002 21:29:38 +0000 (21:29 +0000)]
    * fixinc/inclhack.def (thread_keyword): Match __thread as last arg.
        * fixinc/fixincl.x, fixinc/tests/base/pthread.h: Rebuild.

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

22 years ago PR c/6643
jakub [Wed, 22 May 2002 21:06:16 +0000 (21:06 +0000)]
PR c/6643
* emit-rtl.c (widen_memory_access): Only call compare_tree_int
if DECL_SIZE_UNIT is INTEGER_CST.

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

22 years ago* configure.in: Fix typo in the code checking for sys_errlist.
dj [Wed, 22 May 2002 20:57:15 +0000 (20:57 +0000)]
* configure.in: Fix typo in the code checking for sys_errlist.
* configure: Regenerated.

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

22 years ago * flow.c (life_analysis): Delete broken reg_label check.
rth [Wed, 22 May 2002 20:30:31 +0000 (20:30 +0000)]
    * flow.c (life_analysis): Delete broken reg_label check.

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

22 years ago * fixinc/inclhack.def (thread_keyword): Allow as any prototype arg.
rth [Wed, 22 May 2002 20:02:16 +0000 (20:02 +0000)]
    * fixinc/inclhack.def (thread_keyword): Allow as any prototype arg.
        * fixinc/fixincl.x, fixinc/tests/base/pthread.h: Rebuild.

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

22 years ago* config.guess: Update to 2002-05-22 version.
thorpej [Wed, 22 May 2002 18:44:13 +0000 (18:44 +0000)]
* config.guess: Update to 2002-05-22 version.
* config.sub: Likewise.

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

22 years ago * t-sh64 (LIB2FUNCS_EXTRA): Don't change.
amylaar [Wed, 22 May 2002 17:49:45 +0000 (17:49 +0000)]
* t-sh64 (LIB2FUNCS_EXTRA): Don't change.

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

22 years ago * c-common.c (cb_register_builtins): Don't indent '#' of #define.
amylaar [Wed, 22 May 2002 17:39:18 +0000 (17:39 +0000)]
* c-common.c (cb_register_builtins): Don't indent '#' of #define.

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

22 years agoFix a typo.
jakub [Wed, 22 May 2002 16:42:52 +0000 (16:42 +0000)]
Fix a typo.

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

22 years ago * t-sh (LIB2FUNCS_EXTRA): Now embed-bb.c.
amylaar [Wed, 22 May 2002 16:24:44 +0000 (16:24 +0000)]
* t-sh (LIB2FUNCS_EXTRA): Now embed-bb.c.
(embed-bb.c): New rule.
* config/sh/embed_bb.c: Delete.

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

22 years agoadd initial newline
jason [Wed, 22 May 2002 16:00:34 +0000 (16:00 +0000)]
add initial newline

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

22 years ago * config/h8300/h8300.md (*andorqi3): New.
kazu [Wed, 22 May 2002 11:21:31 +0000 (11:21 +0000)]
* config/h8300/h8300.md (*andorqi3): New.

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

22 years agoDaily bump.
gccadmin [Wed, 22 May 2002 07:19:32 +0000 (07:19 +0000)]
Daily bump.

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

22 years ago PR preprocessor/6517
neil [Wed, 22 May 2002 05:40:22 +0000 (05:40 +0000)]
PR preprocessor/6517
* Makefile.in: Update.
* c-common.c (c_common_post_options): Add preprocessor
errors to the error count.
* c-lang.c (c_post_options): Kill.
(LANG_HOOKS_POST_OPTIONS): Use c_common_post_options.
* hooks.h: Add header guards.
* langhooks-def.h: Include hooks.h.
(LANG_HOOKS_POST_OPTIONS): Update.
* langhooks.h (struct lang_hooks): Update post_options.
* toplev.c (parse_options_and_default_flags): Update.
cp:
* cp-lang.c (LANG_HOOKS_POST_OPTIONS): Use c_common_post_options.
* cp-tree.h (cxx_post_options): Kill.
* cp-lex.c (cxx_post_options): Kill.
objc:
* objc-lang.c (objc_post_options): Kill.
(LANG_HOOKS_POST_OPTIONS): Use c_common_post_options.

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

22 years agoregen: Use c_fix = format instead of sed
korbb [Wed, 22 May 2002 03:04:28 +0000 (03:04 +0000)]
regen:  Use c_fix = format instead of sed

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

22 years agoUse c_fix = format instead of sed
korbb [Wed, 22 May 2002 02:59:19 +0000 (02:59 +0000)]
Use c_fix = format instead of sed

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

22 years agoadd fix check
korbb [Wed, 22 May 2002 02:55:06 +0000 (02:55 +0000)]
add fix check

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

22 years agodescribe how to fix up the results after adding/changing an inclhack.
korbb [Wed, 22 May 2002 02:38:27 +0000 (02:38 +0000)]
describe how to fix up the results after adding/changing an inclhack.

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

22 years ago * optabs.c (expand_binop): For double-word integer multiplies,
law [Wed, 22 May 2002 01:54:40 +0000 (01:54 +0000)]
   * optabs.c (expand_binop): For double-word integer multiplies,
        do not compute intermediate results into something that is
        not a register (such as a SUBREG or MEM).

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

22 years ago * cfgbuild.c: Fix formatting.
kazu [Wed, 22 May 2002 01:27:34 +0000 (01:27 +0000)]
* cfgbuild.c: Fix formatting.
* cfg.c: Likewise.
* cfgcleanup.c: Likewise.
* cfglayout.c: Likewise.
* cfgloop.c: Likewise.
* cfgrtl.c: Likewise.

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

22 years ago * gcc.dg/tls/tls.exp, gcc.dg/tls/trivial.c, gcc.dg/tls/diag-1.c,
rth [Wed, 22 May 2002 01:12:13 +0000 (01:12 +0000)]
    * gcc.dg/tls/tls.exp, gcc.dg/tls/trivial.c, gcc.dg/tls/diag-1.c,
        gcc.dg/tls/diag-2.c, gcc.dg/tls/init-1.c: New directory and files.

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

22 years ago * c-common.h (enum rid): Add RID_THREAD.
rth [Wed, 22 May 2002 01:11:29 +0000 (01:11 +0000)]
    * c-common.h (enum rid): Add RID_THREAD.
        * c-decl.c (start_decl): Do not set DECL_COMMON for tls variables.
        (grokdeclarator): Grok __thread.
        * c-parse.in (reswords): Add __thread.
        (rid_to_yy): Add RID_THREAD.
        * cp/lex.c (rid_to_yy): Add RID_THREAD.

        * tree.h (DECL_THREAD_LOCAL): New.
        (struct tree_decl): Add thread_local_flag.
        * print-tree.c (print_node): Dump DECL_THREAD_LOCAL.
        * tree.c (staticp): TLS variables are not static.

        * target-def.h (TARGET_HAVE_TLS): New.
        * target.h (have_tls): New.
        * output.h (SECTION_TLS): New.
        * varasm.c (assemble_variable): TLS variables can't be common for now.
        (default_section_type_flags): Handle .tdata and .tbss.
        (default_elf_asm_named_section): Handle SECTION_TLS.
        (categorize_decl_for_section): Handle DECL_THREAD_LOCAL.

        * flags.h (flag_tls_default): Declare.
        * toplev.c (flag_tls_default): Define.
        (display_help): Display help for it.
        (decode_f_option): Set it.

        * doc/extend.texi (Thread-Local): New node describing language-level
        thread-local storage.
        * doc/invoke.texi (-ftls-model): Document.

        * fixinc/inclhack.def (thread_keyword): New.
        * fixinc/fixincl.x: Rebuild.

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

22 years agoMore verbose changelog entry.
rakdver [Wed, 22 May 2002 00:10:33 +0000 (00:10 +0000)]
More verbose changelog entry.

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

22 years ago * i386.c (ix86_sched_reorder_ppro): Fix typo/thinko.
law [Tue, 21 May 2002 23:51:59 +0000 (23:51 +0000)]
    * i386.c (ix86_sched_reorder_ppro): Fix typo/thinko.
        (ix86_sched_reorder): Make sure to initialize scheduling
        data even when there's only one insn in the ready queue.

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

22 years ago2002-05-21 Vladimir Makarov <vmakarov@redhat.com>
vmakarov [Tue, 21 May 2002 23:27:04 +0000 (23:27 +0000)]
2002-05-21  Vladimir Makarov  <vmakarov@redhat.com>

* genautomata.c (reserv_sets_hash_value): Fix a typo.

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