OSDN Git Service

pf3gnuchains/gcc-fork.git
23 years ago * cselib.c (hash_rtx): Ensure that hash isn't zero upon return.
mrs [Fri, 9 Mar 2001 17:03:46 +0000 (17:03 +0000)]
* cselib.c (hash_rtx): Ensure that hash isn't zero upon return.

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

23 years ago * i386.h (MASK_64BIT): New constant.
hubicka [Fri, 9 Mar 2001 16:40:43 +0000 (16:40 +0000)]
* i386.h (MASK_64BIT): New constant.
(TARGET_64BIT): New macro.
(TARGET_OPTIONS): Add '64'/'32'
(TARGET_DEFAULT): Define.
* cygwin.h freebsd-aout.h i386-interix.h i386.h i386elf.h isc.h isccoff.h
netbsd.h next.h openbsd.h p sco.h sco5.h scodbx.h sequent.h unix.h win32.h
(TARGET_DEFAULT): Rename to TARGET_SUBTARGET_DEFAULT.

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

23 years agoDaily bump.
gccadmin [Fri, 9 Mar 2001 08:16:38 +0000 (08:16 +0000)]
Daily bump.

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

23 years ago * config/pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Disable.
law [Fri, 9 Mar 2001 06:35:00 +0000 (06:35 +0000)]
    * config/pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Disable.

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

23 years ago * rtlanal.c (rtx_varies_p): Check operand 0 of a
law [Fri, 9 Mar 2001 06:28:21 +0000 (06:28 +0000)]
    * rtlanal.c (rtx_varies_p): Check operand 0 of a
        LO_SUM unless for_alias is set.

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

23 years ago * objc/objc-act.c: Fix old typos in comments, add comments for
shebs [Fri, 9 Mar 2001 03:27:41 +0000 (03:27 +0000)]
    * objc/objc-act.c: Fix old typos in comments, add comments for
        various functions.
        (hash_init): Fix file name in error message.
        (hash_enter): Ditto.
        (hash_add_attr): Ditto.
        (continue_class): Ditto.

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

23 years ago * java/io/ObjectStreamClass.java (setUID): Don't write interface
tromey [Fri, 9 Mar 2001 01:35:54 +0000 (01:35 +0000)]
* java/io/ObjectStreamClass.java (setUID): Don't write interface
info for array classes.
Fixes PR libgcj/1971.

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

23 years agoTweak date for accuracy
shebs [Thu, 8 Mar 2001 23:48:17 +0000 (23:48 +0000)]
Tweak date for accuracy

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

23 years ago * cp-tree.h (set_identifier_local_value): Remove unused decl.
shebs [Thu, 8 Mar 2001 23:47:06 +0000 (23:47 +0000)]
    * cp-tree.h (set_identifier_local_value): Remove unused decl.

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

23 years agoback out the 3-0 branch version
korbb [Thu, 8 Mar 2001 23:33:58 +0000 (23:33 +0000)]
back out the 3-0 branch version

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

23 years agofix SIGCHLD handling
korbb [Thu, 8 Mar 2001 23:31:04 +0000 (23:31 +0000)]
fix SIGCHLD handling

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

23 years agofix SIGCHLD handling
korbb [Thu, 8 Mar 2001 23:26:14 +0000 (23:26 +0000)]
fix SIGCHLD handling

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

23 years ago2001-03-08 Phil Edwards <pme@sources.redhat.com>
pme [Thu, 8 Mar 2001 21:50:26 +0000 (21:50 +0000)]
2001-03-08  Phil Edwards  <pme@sources.redhat.com>

* MAINTAINERS (C++ runtime libs):  Update and alphabatize.

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

23 years agoHTML typos and avoid standards.h breakage
korbb [Thu, 8 Mar 2001 21:41:36 +0000 (21:41 +0000)]
HTML typos and avoid standards.h breakage

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

23 years ago * configure.in (HAVE_AS_LEB128): New assembler check.
rth [Thu, 8 Mar 2001 19:36:21 +0000 (19:36 +0000)]
    * configure.in (HAVE_AS_LEB128): New assembler check.
        * configure, config.in: Rebuilt.

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

23 years ago * reg-stack.c (move_for_stack_reg): Avoid non-poping fst for
hubicka [Thu, 8 Mar 2001 19:09:03 +0000 (19:09 +0000)]
* reg-stack.c (move_for_stack_reg): Avoid non-poping fst for
TFmode too.

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

23 years ago * config/ns32k/xm-pc532-min.h, config/we32k/xm-we32k.h: Delete
ghazi [Thu, 8 Mar 2001 18:53:26 +0000 (18:53 +0000)]
* config/ns32k/xm-pc532-min.h, config/we32k/xm-we32k.h: Delete
references to the MAXPATHLEN macro.

* config/alpha/xm-alpha.h, config/arm/xm-arm.h,
config/i386/xm-cygwin.h, config/xm-linux.h: Delete references to
the POSIX macro.

* config/i386/xm-gnu.h, config/xm-gnu.h,
config/alpha/xm-openbsd.h, config/i386/xm-openbsd.h,
config/m68k/xm-openbsd.h, config/mips/xm-openbsd.h,
config/sparc/xm-openbsd.h, config/xm-openbsd.h: Delete empty
and/or unused files.

* config.gcc: Define POSIX in xm_defines as appropriate in lieu of
doing so in various xm-*.h files.

f:
* com.c: Don't rely on the POSIX macro to define autoconf stuff.

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

23 years ago * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
schwab [Thu, 8 Mar 2001 17:38:49 +0000 (17:38 +0000)]
* acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
command.
        * aclocal.m4, configure: Regenerated.

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

23 years ago * config/i386/i386.md (clrstrsi): Call ix86_set_move_mem_attrs.
kenner [Thu, 8 Mar 2001 11:33:06 +0000 (11:33 +0000)]
* config/i386/i386.md (clrstrsi): Call ix86_set_move_mem_attrs.

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

23 years agoDaily bump.
gccadmin [Thu, 8 Mar 2001 08:16:08 +0000 (08:16 +0000)]
Daily bump.

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

23 years ago* configure.in (enable_shared): Support per-package shared-library
aoliva [Thu, 8 Mar 2001 06:11:02 +0000 (06:11 +0000)]
* configure.in (enable_shared): Support per-package shared-library
enabling.
* configure: Rebuilt.

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

23 years ago * rs6000.md (cr logic): Add original POWER mnemonic alternative
dje [Thu, 8 Mar 2001 05:44:49 +0000 (05:44 +0000)]
    * rs6000.md (cr logic): Add original POWER mnemonic alternative
        for crnot.  Set operands[5] in splitter.

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

23 years ago* Makefile.in (ALL_GCC, ALL_GCC_C, ALL_GCC_CXX): Set before use.
aoliva [Thu, 8 Mar 2001 05:40:30 +0000 (05:40 +0000)]
* Makefile.in (ALL_GCC, ALL_GCC_C, ALL_GCC_CXX): Set before use.

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

23 years ago * config/i370/xm-mvs.h, config/i370/xm-oe.h,
ghazi [Thu, 8 Mar 2001 00:02:09 +0000 (00:02 +0000)]
* config/i370/xm-mvs.h, config/i370/xm-oe.h,
config/i386/xm-beos.h, config/i386/xm-mingw32.h,
config/m88k/xm-m88k.h, config/mips/xm-iris6.h,
config/mips/xm-openbsd.h, config/pa/xm-pa64hpux.h,
config/pa/xm-pahpux.h, config/rs6000/xm-beos.h,
config/rs6000/xm-darwin.h, config/rs6000/xm-mach.h,
config/rs6000/xm-rs6000.h, config/xm-interix.h: Delete references
to the USG macro.

* config/vax/xm-vaxv.h, config/a29k/xm-unix.h,
config/i370/xm-i370.h, config/i386/xm-dgux.h,
config/i386/xm-sun.h, config/i386/xm-sysv3.h,
config/m68k/xm-tower.h, config/m68k/xm-aux.h,
config/m68k/xm-hp320.h, config/m68k/xm-amix.h,
config/m68k/xm-altos3068.h, config/m68k/xm-mot3300.h,
config/m68k/xm-m68kv.h, config/m88k/xm-openbsd.h,
config/mips/xm-nws3250v4.h, config/mips/xm-sysv.h,
config/mips/xm-iris3.h, config/mips/xm-iris4.h, config/xm-svr3.h,
config/xm-svr4.h, config/sparc/xm-pbd.h, config/clipper/xm-clix.h:
Delete unused and/or empty files.

* config.gcc: Define USG in xm_defines as appropriate.  Define
POSIX in lieu of xm-svr4.h.  Delete all references to the SVR3
macro.  Remove deleted xm-* files from $xm_files variable.

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

23 years ago * configure.in: Allow config-lang.in to set `lang_requires' to list
tromey [Wed, 7 Mar 2001 22:51:02 +0000 (22:51 +0000)]
* configure.in: Allow config-lang.in to set `lang_requires' to list
of other required languages.

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

23 years ago * configure: Rebuilt.
tromey [Wed, 7 Mar 2001 22:50:08 +0000 (22:50 +0000)]
* configure: Rebuilt.
* configure.in: Allow config-lang.in to set `lang_requires' to list
of other required languages.

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

23 years ago * config-lang.in (lang_requires): Define.
tromey [Wed, 7 Mar 2001 22:43:25 +0000 (22:43 +0000)]
* config-lang.in (lang_requires): Define.

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

23 years ago2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 7 Mar 2001 22:22:41 +0000 (22:22 +0000)]
2001-03-07  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/std_iosfwd.h: Remove string forward decls here.
* include/bits/stringfwd.h: Add forward decls for char_traits
specializations.
* config/c_io_libio.h (wstreamoff): Delete.
* config/c_io_stdio.h (wstreamoff): Same.
* include/bits/char_traits.h: Use streamoff not wstreamoff for
char_traits<wchar_t>::off_type.
Remove duplicate typedefs.
* include/bits/fpos.h: Define streampos/wstreampos here.
* testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
values to off_type.
(test05): Same.
Changeup output files.
* testsuite/27_io/istream_unformatted.cc: Change output files.
* testsuite/27_io/istream_seeks-1.txt: Add.
* testsuite/27_io/istream_seeks-2.tst: Add.
* testsuite/27_io/istream_seeks-1.tst: Add.
* testsuite/27_io/istream_unformatted-2.tst: Delete.
* testsuite/27_io/istream_unformatted-3.tst: Delete.
* testsuite/27_io/istream_unformatted-3.txt: Delete.

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

23 years ago * g++.old-deja/g++.other/crash31.C: XFAIL.
neil [Wed, 7 Mar 2001 22:17:36 +0000 (22:17 +0000)]
* g++.old-deja/g++.other/crash31.C: XFAIL.
* g77.f-torture/execute/20010116.x: Conditional XFAIL.
* g77.f-torture/execute/short.x: XFAIL -Os on x86.
* gcc.c-torture/execute/20010123-1.x: XFAIL.
* gcc.c-torture/execute/20010124-1.x: XFAIL.
* gcc.dg/sequence-pt-1.c: XFAIL one test.

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

23 years ago2001-03-07 Andrew MacLeod <amacleod@redhat.com>
amacleod [Wed, 7 Mar 2001 20:28:19 +0000 (20:28 +0000)]
2001-03-07  Andrew MacLeod  <amacleod@redhat.com>

* config/a29k/a29k.c (print_operand): Free a29k_last_prologue_insn
after its emitted.
(output_prologue): Use xmalloc not oballoc.
(output_epilog): Free a29k_first_epilogue_insn when finished.
* confif/a29k/a29k.h (PREDICATE_CODES): Remove shift_constant_operand.

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

23 years agoBrad's -ffast-math breakup.
rth [Wed, 7 Mar 2001 19:29:41 +0000 (19:29 +0000)]
Brad's -ffast-math breakup.

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

23 years ago * Makefile.in: Remove RANLIB definition. Use RANLIB
lauras [Wed, 7 Mar 2001 19:05:25 +0000 (19:05 +0000)]
    * Makefile.in: Remove RANLIB definition. Use RANLIB
        in RANLIB_FOR_TARGET, EXTRA_HOST_FLAGS, EXTRA_TARGET_FLAGS,
        EXTRA_GCC_FLAGS, $(DO_X) targets only when the RANLIB is set.

        * Makefile.in: Set RANLIB to @RANLIB@.
        Remove RANLIB_TEST.

        * fixinc/inclhack.def (djgpp_wchar_h): New test.
        * fixinc/fixincl.x: Regenerated.

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

23 years ago * config/alpha/alpha.md (call_osf_1_noreturn): New pattern.
rth [Wed, 7 Mar 2001 18:50:26 +0000 (18:50 +0000)]
    * config/alpha/alpha.md (call_osf_1_noreturn): New pattern.

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

23 years ago * lists.c (init_EXPR_INSN_LIST_cache): Don't check initialized.
rth [Wed, 7 Mar 2001 18:44:17 +0000 (18:44 +0000)]
    * lists.c (init_EXPR_INSN_LIST_cache): Don't check initialized.
        * toplev.c (rest_of_compilation): Call init_EXPR_INSN_LIST_cache ...
        (compile_file): ... here.

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

23 years ago * emit-rtl.c (remove_unnecessary_notes): Verify proper nesting
rth [Wed, 7 Mar 2001 18:36:23 +0000 (18:36 +0000)]
    * emit-rtl.c (remove_unnecessary_notes): Verify proper nesting
        of block notes and exception handling notes.

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

23 years ago2001-03-07 Alexandre Oliva <aoliva@redhat.com>
bkoz [Wed, 7 Mar 2001 18:35:46 +0000 (18:35 +0000)]
2001-03-07  Alexandre Oliva  <aoliva@redhat.com>

Add Irix 5.2, 6.3 support.
        * config/os/irix/bits: Renamed too...
        * config/os/irix/irix6.5/bits: this.
        * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
        * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
        _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
        * config/os/irix/irix5.2/bits/ctype_noninline.h
        (ctype<char>::ctype): Initialize _M_table with __ctype.
        * configure.target: Adjust.

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

23 years agoWhitespace change
kenner [Wed, 7 Mar 2001 13:55:30 +0000 (13:55 +0000)]
Whitespace change

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

23 years agoDaily bump.
gccadmin [Wed, 7 Mar 2001 08:16:08 +0000 (08:16 +0000)]
Daily bump.

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

23 years agoAdded. Contributed by Nicola Pero.
ovidiu [Wed, 7 Mar 2001 05:18:17 +0000 (05:18 +0000)]
Added. Contributed by Nicola Pero.

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

23 years ago * fixinc/Makefile.in (FIXINC_DEFS): Add -DHAVE_CONFIG_H.
ghazi [Wed, 7 Mar 2001 04:00:53 +0000 (04:00 +0000)]
* fixinc/Makefile.in (FIXINC_DEFS): Add -DHAVE_CONFIG_H.

* fixinc/gnu-regex.c: Don't include auto-host.h since we get
config.h now.  Include libiberty.h to handle alloca.

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

23 years ago2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 7 Mar 2001 02:08:59 +0000 (02:08 +0000)]
2001-03-06  Benjamin Kosnik  <bkoz@redhat.com>

libstdc++/2181
* include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
sentry.
(basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
(*__pf)(__ios_type&)): Same.
(basic_istream<_CharT, _Traits>:: operator>>(ios_base&
(*__pf)(ios_base&))): Same.
* testsuite/27_io/istream_extractor_other.cc: Add tests.
* testsuite/27_io/istream_manip.cc (test01): Fix.

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

23 years ago * c-parse.in (yylexname): New function, split out of _yylex.
zack [Wed, 7 Mar 2001 01:32:01 +0000 (01:32 +0000)]
* c-parse.in (yylexname): New function, split out of _yylex.
(objc_rid_sans_at): New table.
(init_reswords): Initialize it.
(_yylex): Give labels clearer names.  Handle CPP_ATSIGN by
retrieving the next token and checking it for significance as
an ObjC keyword or string constant.

* cpplex.c (_cpp_lex_token): Just return CPP_ATSIGN for '@'.
* cpplib.h (TTYPE_TABLE): Add CPP_ATSIGN, drop CPP_OSTRING.

* c-lex.c, c-parse.in, cppmacro.c, cpplex.c, cp/spew.c: Remove
references to CPP_OSTRING.

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

23 years ago2001-03-06 Zack Weinberg <zackw@stanford.edu>
zack [Wed, 7 Mar 2001 01:29:32 +0000 (01:29 +0000)]
2001-03-06  Zack Weinberg  <zackw@stanford.edu>

* gcc.dg/20000724-1.c: Don't use multiline strings.

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

23 years ago * config/m68k/m68k.c (const_uint32_operand): Accept any
rth [Wed, 7 Mar 2001 01:22:40 +0000 (01:22 +0000)]
    * config/m68k/m68k.c (const_uint32_operand): Accept any
        const_int on a 32-bit host.

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

23 years ago * objc/objc-act.c (init_objc): Set save_lang_status,
rth [Wed, 7 Mar 2001 00:29:25 +0000 (00:29 +0000)]
    * objc/objc-act.c (init_objc): Set save_lang_status,
        restore_lang_status, and mark_lang_status.

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

23 years ago2001-03-06 Nathan Myers <ncm@cantrip.org>
bkoz [Tue, 6 Mar 2001 23:32:59 +0000 (23:32 +0000)]
2001-03-06  Nathan Myers  <ncm@cantrip.org>
    Benjamin Kosnik  <bkoz@redhat.com>

* include/c_std/bits/std_cerrno.h: Don't define errno in std::.
* testsuite/17_intro/header_cerrno.cc (test01): New file.
* testsuite/17_intro/header_cassert.cc (test01): New file.
* testsuite/17_intro/header_cstddef.cc (test01): New file.
* testsuite/17_intro/header_csetjmp.cc (test01): New file.
* testsuite/17_intro/header_cstdarg.cc (test01): New file.

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

23 years ago * dwarf2asm.c (dw2_asm_output_delta): Fix smallest_mode_for_size call.
rth [Tue, 6 Mar 2001 23:29:30 +0000 (23:29 +0000)]
    * dwarf2asm.c (dw2_asm_output_delta): Fix smallest_mode_for_size call.

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

23 years ago * cppinternals.texi: Update.
neil [Tue, 6 Mar 2001 22:35:04 +0000 (22:35 +0000)]
* cppinternals.texi: Update.

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

23 years ago2001-03-06 Andrew Haley <aph@redhat.com>
aph [Tue, 6 Mar 2001 20:45:06 +0000 (20:45 +0000)]
2001-03-06  Andrew Haley  <aph@redhat.com>

* typeck.c (convert_arguments): Check that we have an fndecl.

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

23 years ago2001-03-05 Andrew Haley <aph@redhat.com>
aph [Tue, 6 Mar 2001 14:56:04 +0000 (14:56 +0000)]
2001-03-05  Andrew Haley  <aph@redhat.com>

        * typeck.c (convert_arguments): Don't do ellipsis conversion for
        __built_in_constant_p.

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

23 years ago * config/a29k/xm-a29k.h, config/a29k/xm-unix.h,
ghazi [Tue, 6 Mar 2001 14:33:11 +0000 (14:33 +0000)]
* config/a29k/xm-a29k.h, config/a29k/xm-unix.h,
config/alpha/xm-alpha.h, config/arc/xm-arc.h, config/arm/xm-arm.h,
config/c4x/xm-c4x.h, config/clipper/xm-clix.h,
config/convex/xm-convex.h, config/d30v/xm-d30v.h,
config/dsp16xx/xm-dsp16xx.h, config/elxsi/xm-elxsi.h,
config/h8300/xm-h8300.h, config/i370/xm-i370.h,
config/i370/xm-linux.h, config/i370/xm-mvs.h, config/i370/xm-oe.h,
config/i386/xm-i386.h, config/i860/xm-i860.h,
config/i960/xm-i960.h, config/ia64/xm-ia64.h,
config/m32r/xm-m32r.h, config/m68k/xm-m68k.h,
config/m88k/xm-m88k.h, config/mcore/xm-mcore.h,
config/mips/xm-mips.h, config/mn10200/xm-mn10200.h,
config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h,
config/pa/xm-linux.h, config/pa/xm-pa.h, config/pa/xm-pa64hpux.h,
config/pa/xm-pahpux.h, config/pa/xm-papro.h, config/pj/xm-pj.h,
config/romp/xm-romp.h, config/rs6000/xm-beos.h,
config/rs6000/xm-lynx.h, config/rs6000/xm-rs6000.h,
config/rs6000/xm-sysv4.h, config/sh/xm-sh.h,
config/sparc/xm-sparc.h, config/sparc/xm-sysv4.h,
config/v850/xm-v850.h, config/vax/xm-vax.h, config/vax/xm-vms.h,
config/we32k/xm-we32k.h: Delete HOST_BITS_PER_* definitions which
match the defaults provided in hwint.h.

* config/i386/xm-lynx.h, config/m68k/xm-lynx.h,
config/sparc/xm-lynx.h, config/xm-std32.h: Delete files.

* config.gcc (xm_file): Don't set to files which are deleted.

* hwint.h: Provide default values for HOST_BITS_PER_*.  No longer
guard this file against these macros being undefined.

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

23 years ago * objc/objc-act.c (objc_add_static_instance): Set DECL_INITIAL
zack [Tue, 6 Mar 2001 10:04:54 +0000 (10:04 +0000)]
* objc/objc-act.c (objc_add_static_instance): Set DECL_INITIAL
and DECL_DEFER_OUTPUT on the decl we create, before calling
rest_of_decl_compilation.
testsuite:
        * objc/execute/string1.m, objc/execute/string2.m: Compare the
        result of -cString against what we expect it to be; don't just
        print it out for no one to read.

* objc/execute/string3.m, objc/execute/string4.m: New tests.
Based on testcases provided by Nicola Pero.

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

23 years agooops, edited changelogs in wrong tree
zack [Tue, 6 Mar 2001 10:01:28 +0000 (10:01 +0000)]
oops, edited changelogs in wrong tree
this is the log for the big alloca configuration patch

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

23 years agolibiberty:
zack [Tue, 6 Mar 2001 09:52:35 +0000 (09:52 +0000)]
libiberty:
* aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
* configure.in: Replace all alloca logic with a simple use of
the above new macro.
* config.table: Kill *-*-beos* entry.
* config/mh-beos: Delete.
* configure, config.in: Regenerate.

* Makefile.in (ALLOCA, HFILES): Kill.
(REQUIRED_OFILES): Add alloca.o.
(alloca.o): Depend on libiberty.h.
(argv.o): Don't depend on alloca-conf.h.
* alloca-conf.h: Delete.
* alloca.c: Include libiberty.h.  Kill all #ifdef emacs
blocks.  Provide the C alloca unconditionally.  Use PTR where
appropriate.  Make i00afunc static.
* argv.c: Don't include alloca-conf.h.

include:
* libiberty.h: Prototype C_alloca; define alloca to either
__builtin_alloca or C_alloca as appropriate.

gcc:
* aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE
AC_FUNC_ALLOCA.
* configure, config.in: Regenerate.
* config.gcc: Remove references to deleted files.

* genattr.c, genattrtab.c, genextract.c, genoutput.c,
genrecog.c, rtl.c: Do not use alloca anywhere.

* Makefile.in, build-make, system.h, config/x-interix,
config/x-svr4, config/xm-interix.h, config/xm-openbsd.h,
config/alpha/xm-alpha.h, config/alpha/xm-vms.h,
config/arc/xm-arc.h, config/arm/xm-arm.h,
config/d30v/xm-d30v.h, config/dsp16xx/xm-dsp16xx.h,
config/h8300/xm-h8300.h, config/i370/x-oe,
config/i370/xm-linux.h, config/i386/x-aix, config/i386/x-beos,
config/i386/x-ncr3000, config/i386/x-sco5,
config/i386/xm-dgux.h, config/i860/x-sysv4,
config/i960/xm-i960.h, config/m32r/xm-m32r.h,
config/m68k/x-crds, config/m68k/x-dpx2, config/m68k/x-hp320,
config/m68k/x-hp320g, config/m69k/x-mot3300,
config/m68k/x-mot3300-gas, config/m68k/xm-amix.h,
config/m68k/xm-hp320.h, config/m68k/xm-m68kv.h,
config/m68k/xm-mot3300.h, config/m88k/x-dolph,
config/m88k/x-sysv4, config/m88k/x-tekXD88,
config/m88k/xm-m88k.h, config/mcore/xm-mcore.h,
config/mips/x-iris, config/mips/x-iris3,
config/mips/x-sni-svr4, config/mips/x-sysv,
config/mips/xm-iris6.h, config/mips/xm-mips.h,
config/mips/xm-nws3250v4.h, config/pa/x-hpux,
config/pa/x-pa-mpeix, config/pa/xm-pa.h,
config/pa/xm-pa64hpux.h, config/pa/xm-pahpux.h,
config/pa/xm-papro.h, config/romp/xm-romp.h,
config/rs6000/x-aix31, config/rs6000/x-aix41,
config/rs6000/x-beos, config/rs6000/x-lynx,
config/rs6000/x-mach, config/rs6000/x-rs6000,
config/rs6000/x-sysv4, config/rs6000/xm-rs6000.h,
config/rs6000/xm-sysv4.h, config/sh/xm-sh.h,
config/sparc/x-sysv4, config/sparc/xm-linux.h,
config/sparc/xm-pbd.h, config/sparc/xm-sparc.h,
config/vax/xm-vms.h: Eradicate all references to alloca and
related stuff.

* config/xm-alloca.h, config/clipper/x-clix,
config/i386/xm-sysv4.h, config/i860/x-fx2800,
config/i860/x-sysv3, config/m88k/x-sysv3,
config/sparc/xm-sol2.h, config/we32k/x-we32k: Delete
(contained only alloca related hacks).

* config/i386/xm-beos.h, config/rs6000/xm-beos.h: Just define
USE_C_ALLOCA.

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

23 years agoDaily bump.
gccadmin [Tue, 6 Mar 2001 08:16:39 +0000 (08:16 +0000)]
Daily bump.

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

23 years ago Fix a problem where rest_of_decl_compilation applied to
bothner [Tue, 6 Mar 2001 07:29:31 +0000 (07:29 +0000)]
Fix a problem where rest_of_decl_compilation applied to
class_dtable_decl causes problems because it was done too early,
before output file was opened.
* decl.c (init_decl_processing):  Remove init of class_dtable_decl.
* class.c (class_dtable_decl):  Add macro - element of class_roots.
(make_class_data):  Define class_dtable_decl.
* java-tree.h (JTI_CLASS_DTABLE_DECL, class_dtable_decl):  Removed.

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

23 years ago2001-03-05 scott snyder <snyder@fnal.gov>
bkoz [Tue, 6 Mar 2001 02:51:15 +0000 (02:51 +0000)]
2001-03-05  scott snyder  <snyder@fnal.gov>

libstdc++/2190
        * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
        from here...
        * include/c_std/bits/std_cstdlib.h: ... to here.
* testsuite/17_intro/header_cstdlib.cc: Add test.

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

23 years ago2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
bkoz [Tue, 6 Mar 2001 01:31:09 +0000 (01:31 +0000)]
2001-03-05  Stephen M. Webb  <stephen.webb@cybersafe.com>

* libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.

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

23 years ago2001-03-06 Bryce McKinlay <bryce@albatross.co.nz>
bryce [Tue, 6 Mar 2001 01:04:28 +0000 (01:04 +0000)]
2001-03-06  Bryce McKinlay  <bryce@albatross.co.nz>

* java/util/TreeSet.java (writeObject): Use a for-loop instead of
Iterator.hasNext().

2001-03-05  Jochen Hoenicke  <jochen@gnu.org>

* java/util/TreeMap.java (writeObject): Use defaultWriteObject()
instead of the new JDK1.2 API.  This is simpler and makes
back-porting the classes to JDK1.1 trivial.
(readObject): likewise.

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

23 years ago * invoke.texi: Document __FAST_MATH__.
neil [Mon, 5 Mar 2001 23:50:06 +0000 (23:50 +0000)]
* invoke.texi: Document __FAST_MATH__.

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

23 years ago * crtstuff.c: Restore include of auto-host.h.
ghazi [Mon, 5 Mar 2001 21:05:49 +0000 (21:05 +0000)]
* crtstuff.c: Restore include of auto-host.h.

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

23 years ago Put main() in a separate file, so that the language
fjh [Mon, 5 Mar 2001 12:17:45 +0000 (12:17 +0000)]
Put main() in a separate file, so that the language
front-end can use a different main().

* main.c: New.
* toplev.c: (main): Rename as toplev_main.
* toplev.h: Declare toplev_main.
* Makefile.in (OBJS): add toplev.o.
  (BACKEND): remove toplev.o, add main.o.

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

23 years agoDaily bump.
gccadmin [Mon, 5 Mar 2001 08:16:41 +0000 (08:16 +0000)]
Daily bump.

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

23 years ago * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
lauras [Mon, 5 Mar 2001 04:44:16 +0000 (04:44 +0000)]
    * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
        definition. Replace enum with static const variables.

        * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
        throw specification, fix typos, use <static_cast>.
        (ctype<char>::scan_is): remove throw specification.
        (ctype<char>::scan_not): likewise.

        * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
        (ctype<char>::do_toupper(char)): use <static_cast>.
        (ctype<char>::do_toupper(char *, const char *)): likewise.
        (ctype<char>::do_tolower(char)): likewise.
        (ctype<char>::do_tolower(char *, const char *)): likewise.

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

23 years ago * cplus-dem.c (main): Cast enum style to int.
danglin [Mon, 5 Mar 2001 02:43:27 +0000 (02:43 +0000)]
* cplus-dem.c (main): Cast enum style to int.

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

23 years ago2001-03-04 Phil Edwards <pme@sources.redhat.com>
pme [Sun, 4 Mar 2001 21:34:02 +0000 (21:34 +0000)]
2001-03-04  Phil Edwards  <pme@sources.redhat.com>

http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
* include/backward/algo.h:  Use std not __STD.  Remove unneeded
macros and "never happens" code.  Adjust to C++STYLE guidelines.
* include/backward/algobase.h:  Likewise.
* include/backward/alloc.h:  Likewise.
* include/backward/bvector.h:  Likewise.
* include/backward/deque.h:  Likewise.
* include/backward/function.h:  Likewise.
* include/backward/hash_map.h:  Likewise.
* include/backward/hash_set.h:  Likewise.
* include/backward/hashtable.h:  Likewise.
* include/backward/heap.h:  Likewise.
* include/backward/iterator.h:  Likewise.
* include/backward/list.h:  Likewise.
* include/backward/map.h:  Likewise.
* include/backward/multimap.h:  Likewise.
* include/backward/multiset.h:  Likewise.
* include/backward/pair.h:  Likewise.
* include/backward/rope.h:  Likewise.
* include/backward/set.h:  Likewise.
* include/backward/slist.h:  Likewise.
* include/backward/stack.h:  Likewise.
* include/backward/strstream:  Likewise.
* include/backward/tempbuf.h:  Likewise.
* include/backward/tree.h:  Likewise.
* include/backward/vector.h:  Likewise.
* include/bits/basic_ios.h:  Likewise.
* include/bits/basic_ios.tcc:  Likewise.
* include/bits/basic_string.h:  Likewise.
* include/bits/c++config:  Likewise.
* include/bits/concept_checks.h:  Likewise.
* include/bits/fpos.h:  Likewise.
* include/bits/fstream.tcc:  Likewise.
* include/bits/functexcept.h:  Likewise.
* include/bits/ios_base.h:  Likewise.
* include/bits/istream.tcc:  Likewise.
* include/bits/mask_array.h:  Likewise.
* include/bits/ostream.tcc:  Likewise.
* include/bits/pthread_allocimpl.h:  Likewise.
* include/bits/sbuf_iter.h:  Likewise.
* include/bits/slice.h:  Likewise.
* include/bits/slice_array.h:  Likewise.
* include/bits/sstream.tcc:  Likewise.
* include/bits/std_bitset.h:  Likewise.
* include/bits/std_fstream.h:  Likewise.
* include/bits/std_iomanip.h:  Likewise.
* include/bits/std_ios.h:  Likewise.
* include/bits/std_istream.h:  Likewise.
* include/bits/std_iterator.h:  Likewise.
* include/bits/std_memory.h:  Likewise.
* include/bits/std_ostream.h:  Likewise.
* include/bits/std_sstream.h:  Likewise.
* include/bits/std_streambuf.h:  Likewise.
* include/bits/std_string.h:  Likewise.
* include/bits/std_valarray.h:  Likewise.
* include/bits/stl_algo.h:  Likewise.
* include/bits/stl_algobase.h:  Likewise.
* include/bits/stl_alloc.h:  Likewise.
* include/bits/stl_construct.h:  Likewise.
* include/bits/stl_deque.h:  Likewise.
* include/bits/stl_function.h:  Likewise.
* include/bits/stl_heap.h:  Likewise.
* include/bits/stl_iterator.h:  Likewise.
* include/bits/stl_iterator_base.h:  Likewise.
* include/bits/stl_list.h:  Likewise.
* include/bits/stl_map.h:  Likewise.
* include/bits/stl_multimap.h:  Likewise.
* include/bits/stl_multiset.h:  Likewise.
* include/bits/stl_numeric.h:  Likewise.
* include/bits/stl_pair.h:  Likewise.
* include/bits/stl_pthread_alloc.h:  Likewise.
* include/bits/stl_queue.h:  Likewise.
* include/bits/stl_raw_storage_iter.h:  Likewise.
* include/bits/stl_relops.h:  Likewise.
* include/bits/stl_set.h:  Likewise.
* include/bits/stl_stack.h:  Likewise.
* include/bits/stl_tempbuf.h:  Likewise.
* include/bits/stl_threads.h:  Likewise.
* include/bits/stl_tree.h:  Likewise.
* include/bits/stl_uninitialized.h:  Likewise.
* include/bits/stl_vector.h:  Likewise.
* include/bits/streambuf.tcc:  Likewise.
* include/bits/type_traits.h:  Likewise.
* include/bits/valarray_meta.h:  Likewise.
* include/ext/bvector:  Likewise.
* include/ext/hash_map:  Likewise.
* include/ext/hash_set:  Likewise.
* include/ext/ropeimpl.h:  Likewise.
* include/ext/slist:  Likewise.
* include/ext/stl_bvector.h:  Likewise.
* include/ext/stl_hash_fun.h:  Likewise.
* include/ext/stl_hashtable.h:  Likewise.
* include/ext/stl_rope.h:  Likewise.
* src/complex_io.cc:  Likewise.
* src/ios.cc:  Likewise.
* src/locale-inst.cc:  Likewise.
* src/locale.cc:  Likewise.
* src/localename.cc:  Likewise.
* src/misc-inst.cc:  Likewise.
* src/stdexcept.cc:  Likewise.
* src/stl-inst.cc:  Likewise.
* src/strstream.cc:  Likewise.
* src/valarray-inst.cc:  Likewise.

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

23 years ago * cppfiles.c (search_from): Special case the empty string.
neil [Sun, 4 Mar 2001 15:10:46 +0000 (15:10 +0000)]
* cppfiles.c (search_from): Special case the empty string.

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

23 years ago * cppfiles.c (_cpp_execute_include): Don't make a null-terminated
neil [Sun, 4 Mar 2001 12:02:02 +0000 (12:02 +0000)]
* cppfiles.c (_cpp_execute_include): Don't make a null-terminated
copy of the filename.  Don't use CPP_PREV_BUFFER.  Don't call
strlen or strcpy; we already know the length.
(_cpp_compare_file_date): Similarly.
* cpphash.h (struct cpp_reader): Delete done_initialising.
(CPP_PREV_BUFFER): Delete.
* cppinit.c (cpp_start_read): Don't set done_initialising.
* cpplex.c (parse_string): Guarantee null-termination.
(_cpp_equiv_toklists): Remove.
* cpplib.c (glue_header_name): Null-terminate.
(do_line): Don't leak memory.
* cpplib.h (BT_WEAK): Delete.
* cppmain.c (cb_ident): Strings are now null-terminated.

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

23 years ago * gcc.c (convert_filename): Append executable suffix
lauras [Sun, 4 Mar 2001 09:08:25 +0000 (09:08 +0000)]
    * gcc.c (convert_filename): Append executable suffix
        if NO_AUTO_EXE_SUFFIX is not defined.
        * gcc.texi: Document NO_AUTO_EXE_SUFFIX.
        * config/i386/djgpp.h: Define NO_AUTO_EXE_SUFFIX.

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

23 years agoDaily bump.
gccadmin [Sun, 4 Mar 2001 08:16:08 +0000 (08:16 +0000)]
Daily bump.

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

23 years agoRe-remove c-gperf.h.
obrien [Sun, 4 Mar 2001 00:29:59 +0000 (00:29 +0000)]
Re-remove c-gperf.h.

Approved by:  Jeffrey A Law <law@redhat.com>
              <6253.979532098@upchuck.cygnus.com>
              Tom Tromey <tromey@redhat.com>
              <87d7ce8gcz.fsf@creche.redhat.com>

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

23 years ago * cpplex.c (_cpp_lex_token): Don't warn about directives in
neil [Sat, 3 Mar 2001 22:14:08 +0000 (22:14 +0000)]
* cpplex.c (_cpp_lex_token): Don't warn about directives in
macro arguments when looking for the '('.
* cppmacro.c (funlike_invocation_p): Set parsing_args to
2 when really parsing arguments; 1 when looking for '('.
Always restore the lexer position.
* gcc.dg/cpp/cppmacro7.c: New test.

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

23 years agoUnder the "obviously correct" rule, fix the formatting breakage of people
obrien [Sat, 3 Mar 2001 19:41:07 +0000 (19:41 +0000)]
Under the "obviously correct" rule, fix the formatting breakage of people
using 8-space indents vs. a single <tab> character.

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

23 years ago * longlong.h (umul_ppmm): Don't use a multiline string.
neil [Sat, 3 Mar 2001 19:38:14 +0000 (19:38 +0000)]
* longlong.h (umul_ppmm): Don't use a multiline string.

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

23 years ago * fixinc/fixlib.h (t_bool): Add identifier `t_bool' in typedef.
danglin [Sat, 3 Mar 2001 19:05:00 +0000 (19:05 +0000)]
* fixinc/fixlib.h (t_bool): Add identifier `t_bool' in typedef.
* fixinc/server.c (read_pipe_timeout): Use enum t_bool instead of
t_bool in declaration because pcc can't combine volatile with typedef
types.

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

23 years ago * i386.c (ix86_expand_fp_compare): Delay creating of scratch register
hubicka [Sat, 3 Mar 2001 18:49:05 +0000 (18:49 +0000)]
* i386.c (ix86_expand_fp_compare): Delay creating of scratch register
until when it is really needed.
(ix86_expand_compare): Update call of ix86_expand_fp_compare.
* i386.h (PREDICATE_CODES): Add all codes for sse_comparison_operator
* i386.md (float?i?f splitter): Don't force source operand to memory
for SSE.
(sse_movdfcc): Fix constraint.
(sse_movdfcc splitter): Handle properly the second alternative.

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

23 years ago * gcc.dg/cpp/multiline.c: Update.
neil [Sat, 3 Mar 2001 18:10:34 +0000 (18:10 +0000)]
* gcc.dg/cpp/multiline.c: Update.

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

23 years ago * cpplex.c (parse_string): Unconditionally pedwarn.
neil [Sat, 3 Mar 2001 14:50:20 +0000 (14:50 +0000)]
    * cpplex.c (parse_string): Unconditionally pedwarn.

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

23 years ago * cpp.texi: Update.
neil [Sat, 3 Mar 2001 11:32:32 +0000 (11:32 +0000)]
    * cpp.texi: Update.
        * cppexp.c (parse_number): Update.
        * cpplex.c (parse_string): Pedwarn if multiline string does not
        result from a system header's macro.
        * cpplib.h (sys_objmacro_p): Rename sys_macro_p.
        * cppmacro.c (sys_objmacro_p): Rename sys_macro_p.  Return true
        for function-like macros too.
* c-lex.c (parse_number): Update.

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

23 years ago2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Sat, 3 Mar 2001 10:42:05 +0000 (10:42 +0000)]
2001-03-03  Benjamin Kosnik  <bkoz@redhat.com>

* src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.

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

23 years ago * dwarf2out.c (output_call_frame_info): Fix augmentation length.
rth [Sat, 3 Mar 2001 10:08:14 +0000 (10:08 +0000)]
    * dwarf2out.c (output_call_frame_info): Fix augmentation length.

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

23 years agoDaily bump.
gccadmin [Sat, 3 Mar 2001 08:16:38 +0000 (08:16 +0000)]
Daily bump.

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

23 years ago * combine.c (try_combine): If split with mode-changed scratch
amylaar [Sat, 3 Mar 2001 04:19:50 +0000 (04:19 +0000)]
* combine.c (try_combine): If split with mode-changed scratch
register didn't work, try the original mode.

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

23 years ago * tm.texi: Change STRUCT_FORCE_BLK to MEMBER_TYPE_FORCES_BLK.
amylaar [Sat, 3 Mar 2001 03:53:44 +0000 (03:53 +0000)]
* tm.texi: Change STRUCT_FORCE_BLK to MEMBER_TYPE_FORCES_BLK.
* config/c4x/c4x.h: Likewise.
* stor-layout.c (compute_record_mode): Likewise.
(layout_type, case ARRAY_TYPE): Use MEMBER_TYPE_FORCES_BLK.

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

23 years ago * configure.in: Kill tm.h. Include the files in the $tm_file
zack [Sat, 3 Mar 2001 03:32:55 +0000 (03:32 +0000)]
* configure.in: Kill tm.h.  Include the files in the $tm_file
list in all three of config.h, hconfig.h, tconfig.h, after the
relevant set of xm_files.  Put TARGET_CPU_DEFAULT in all
three, include insn-codes.h in all three (#ifndef GENERATOR_FILE).
* configure: Regenerate.
* Makefile.in (clean): Don't delete tm.h.

* system.h: If SUCCESS_EXIT_CODE and FATAL_EXIT_CODE are not
defined, set them from EXIT_SUCCESS and EXIT_FAILURE.  If
those are not defined, set SEC and FEC to 0 and 1.
* gcc.texi: Update to match.

* crtstuff.c: Include tconfig.h, not auto-host.h and tm.h.
* config/fp-bit.c, config/m68k/aux-crt2.asm,
config/m68k/aux-crtn.asm, config/m68k/aux-mcount.c:
Include tconfig.h, not tm.h.

* config/xm-lynx.h, config/xm-std32.h,
config/a29k/xm-a29k.h, config/a29k/xm-unix.h,
config/alpha/xm-alpha.h, config/arc/xm-arc.h,
config/avr/xm-avr.h, config/c4x/xm-c4x.h,
config/clipper/xm-clix.h, config/convex/xm-convex.h,
config/d30v/xm-d30v.h, config/dsp16xx/xm-dsp16xx.h,
config/elxsi/xm-elxsi.h, config/fr30/xm-fr30.h,
config/h8300/xm-h8300.h, config/i370/xm-linux.h,
config/i386/xm-i386.h, config/i860/xm-i860.h,
config/i960/xm-i960.h, config/ia64/xm-ia64.h,
config/m32r/xm-m32r.h, config/m68hc11/xm-m68hc11.h,
config/m88k/xm-m88k.h, config/mcore/xm-mcore.h,
config/mips/xm-mips.h, config/mn10200/xm-mn10200.h,
config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h,
config/pa/xm-linux.h, config/pa/xm-pa.h,
config/pa/xm-pa64hpux.h, config/pa/xm-pahpux.h,
config/pa/xm-papro.h, config/pdp11/xm-pdp11.h,
config/pj/xm-pj.h, config/romp/xm-romp.h,
config/rs6000/xm-beos.h, config/rs6000/xm-rs6000.h,
config/rs6000/xm-sysv4.h, config/sh/xm-sh.h,
config/sparc/xm-sparc.h, config/sparc/xm-sysv4.h,
config/v850/xm-v850.h, config/vax/xm-vax.h,
config/we32k/xm-we32k.h:
Don't include tm.h.
Don't define SUCCESS_EXIT_CODE or FATAL_EXIT_CODE.

* config/i370/xm-i370.h, config/i370/xm-mvs.h,
config/i370/xm-oe.h: Don't include tm.h.  Don't define
SUCCESS_EXIT_CODE.
* config/vax/xm-vms.h: Don't include tm.h.

* config/xm-lynx.h, config/avr/xm-avr.h,
config/fr30/xm-fr30.h, config/pdp11/xm-pdp11.h,
Delete; made empty by above changes.
* config/i386/xm-lynx.h, config/m68k/xm-lynx.h,
config/rs6000/xm-lynx.h, config/sparc/xm-lynx.h:
Don't include config/xm-lynx.h or tm.h.

* config/xm-gnu.h: Don't include fcntl.h.
* config/sparc/xm-lynx.h: Don't include sys/types.h and
sys/wait.h.
* config/clipper/xm-clix.h, config/vax/xm-vax.h: Don't define isinf.

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

23 years ago * tm.texi (File Framework): Document UNALIGNED_SHORT_ASM_OP,
rth [Sat, 3 Mar 2001 02:44:19 +0000 (02:44 +0000)]
    * tm.texi (File Framework): Document UNALIGNED_SHORT_ASM_OP,
        UNALIGNED_INT_ASM_OP, and UNALIGNED_DOUBLE_INT_ASM_OP.

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

23 years ago * Makefile.in (OBJS): Add dwarf2asm.o.
rth [Sat, 3 Mar 2001 02:17:07 +0000 (02:17 +0000)]
* Makefile.in (OBJS): Add dwarf2asm.o.
* dwarf2asm.c, dwarf2asm.h: New files.
* dwarf2out.c (*): Use them.
(size_of_uleb128, size_of_sleb128): Remove.
(output_uleb128, output_sleb128): Remove.
(UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP): Remove.
(UNALIGNED_DOUBLE_INT_ASM_OP, ASM_BYTE_OP): Remove.
(UNALIGNED_OFFSET_ASM_OP, UNALIGNED_WORD_ASM_OP): Remove.
(FDE_LABEL, LINE_NUMBER_BEGIN_LABEL, LINE_NUMBER_END_LABEL): New.
(ASM_OUTPUT_DWARF_DATA1, ASM_OUTPUT_DWARF_DELTA1): Remove.
(ASM_OUTPUT_DWARF_DATA2, ASM_OUTPUT_DWARF_DELTA2): Remove.
(ASM_OUTPUT_DWARF_DATA4, ASM_OUTPUT_DWARF_DELTA4): Remove.
(ASM_OUTPUT_DWARF_DATA, ASM_OUTPUT_DWARF_DELTA): Remove.
(ASM_OUTPUT_DWARF_ADDR, ASM_OUTPUT_DWARF_ADDR_DATA): Remove.
(ASM_OUTPUT_DWARF_ADDR_DELTA, ASM_OUTPUT_DWARF_ADDR_CONST): Remove.
(ASM_OUTPUT_DWARF_OFFSET4, ASM_OUTPUT_DWARF_OFFSET): Remove.
(ASM_OUTPUT_DWARF_CONST_DOUBLE): Remove.
(ASM_OUTPUT_DWARF_NSTRING, ASM_OUTPUT_DWARF_STRING): Remove.
(dwarf2out_frame_debug): Remove unused variables.
(output_loc_operands): Don't abort on 8 byte constants if
host integers are wide enough.
(output_symbolic_ref): Remove.
(size_of_die): Don't assume 4 byte host integers.
(output_line_info): Use ASM_GENERATE_INTERNAL_LABEL for begin
and end labels.
(add_const_value_attribute) [CONST_INT]: Verify we're not doing
something stupid with HOST_WIDE_INT to long truncation.
[CONST_DOUBLE]: Likewise.

* config/arm/conix-elf.h (UNALIGNED_WORD_ASM_OP): Remove.
(ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_OUTPUT_DWARF_ADDR_CONST): Remove.
* config/arm/unknown-elf.h: Likewise.
* config/rs6000/aix.h (UNALIGNED_SHORT_ASM_OP): New.
(UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): New.
(ASM_OUTPUT_DWARF_ADDR_VAR, ASM_OUTPUT_DWARF_DELTA_VAR): Remove.
(ASM_OUTPUT_DWARF_DELTA2, ASM_OUTPUT_DWARF_DELTA4): Remove.
(ASM_OUTPUT_DWARF_DELTA, ASM_OUTPUT_DWARF_ADDR_DELTA): Remove.
(ASM_OUTPUT_DWARF_ADDR, ASM_OUTPUT_DWARF_DATA4): Remove.
(ASM_OUTPUT_DWARF_DATA2, ASM_OUTPUT_DWARF_OFFSET4): Remove.
(ASM_OUTPUT_DWARF_OFFSET): Remove.
* config/rs6000/sysv4.h (ASM_OUTPUT_DWARF_ADDR): Remove.
* config/sparc/sp64-elf.h (UNALIGNED_DOUBLE_INT_ASM_OP): New.
(UNALIGNED_LONGLONG_ASM_OP, ASM_OUTPUT_DWARF_ADDR): Remove.
(ASM_OUTPUT_DWARF_ADDR_CONST, ASM_OUTPUT_DWARF_REF): Remove.

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

23 years ago * cselib.c (hash_rtx): Cast enums to unsigned int.
danglin [Fri, 2 Mar 2001 23:15:32 +0000 (23:15 +0000)]
* cselib.c (hash_rtx): Cast enums to unsigned int.

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

23 years agoRemove RCS ident strings to allow comparisions with multiple source checkouts to...
nickc [Fri, 2 Mar 2001 22:21:24 +0000 (22:21 +0000)]
Remove RCS ident strings to allow comparisions with multiple source checkouts to work

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

23 years agoremove spurious code
nickc [Fri, 2 Mar 2001 21:55:29 +0000 (21:55 +0000)]
remove spurious code

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

23 years ago * print-rtl.c (print_rtx): Cast enums to int for comparison.
danglin [Fri, 2 Mar 2001 21:41:37 +0000 (21:41 +0000)]
* print-rtl.c (print_rtx): Cast enums to int for comparison.
* c-decl.c (grokdeclarator): Cast enums to int for comparison and
shifts.
* c-format.c (C_STD_VER): Cast to int for comparisons.
(check_function_format): Cast various enums to int for &.
(maybe_read_dollar_number): Likewise.
(check_format_info): Likewise.
(check_format_info_main): Likewise.
* expr.c (emit_move_insn_1): Cast enums to unsigned int for comparison.
(safe_from_p): Likewise.
* varasm.c (const_hash): Cast enum to int for %.
* emit-rtl.c (init_emit_once): Use int loop variable to work around
pcc enum problems with < and ++ operators.
* regclass.c (init_reg_sets_1): Cast enums for comparison.
(choose_hard_reg_mode): Use unsigned int to iterate over CCmodes.
(regclass_init): Change enum class to int to iterate over reg_classes.
* genrecog.c (merge_trees): Cast enums for comparison.
* rtl.h (GET_CODE): Cast to enum rtx_code.
(PUT_CODE): Cast to ENUM_BITFIELD(rtx_code).
(GET_MODE): Cast to enum machine_mode.
(PUT_MODE): Cast to ENUM_BITFIELD(machine_mode).
(GET_NOTE_INSN_NAME): Cast enum to int.
* tree.h (TREE_CODE): Cast to enum tree_code.
(TREE_SET_CODE): Cast VALUE to ENUM_BITFIELD(tree_code).
        * timevar.c (timevar_print): Change loop variable id from enum to
unsigned int.
* fixinc/fixincl.c (VLEVEL): Cast enums in comparison to unsigned int.
* config/i386/i386.md: Use PUT_MODE for mode assignment.
* toplev.c (compile_file): Cast enum DFI to int.
(decode_d_option): Likewise.

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

23 years ago2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
bkoz [Fri, 2 Mar 2001 21:38:26 +0000 (21:38 +0000)]
2001-03-02  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>

        * include/bits/istream.tcc: change type of __extracted to __size_type

2001-03-02  Benjamin Kosnik  <bkoz@redhat.com>

* src/wstring-inst.cc: New file.
* src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
(libinst_wstring_la_SOURCES): Remove.
(libstdc___la_LIBADD): Remove libinst_wstring_la.
(sources): Add wstring-inst.cc
* acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
libinst_wstring_la.

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

23 years ago* cppinit.c (append_include_chain): Mark "after" include file name list as a
cgf [Fri, 2 Mar 2001 17:20:30 +0000 (17:20 +0000)]
* cppinit.c (append_include_chain): Mark "after" include file name list as a
system directory.
* cpp.texi: Document new behavior.

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

23 years ago2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
bkoz [Fri, 2 Mar 2001 17:18:54 +0000 (17:18 +0000)]
2001-03-02  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>

        * src/locale.cc: initialise __ret with zero
        * src/strstream.cc:cast gptr to int_type

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

23 years agocp:
nathan [Fri, 2 Mar 2001 11:48:38 +0000 (11:48 +0000)]
cp:
* typeck.c (build_static_cast): Allow enum to enum conversions
as per DR 128.
testsuite:
* g++.old-deja/g++.other/enum3.C: New test.

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

23 years agocp:
nathan [Fri, 2 Mar 2001 11:44:57 +0000 (11:44 +0000)]
cp:
* class.c (check_field_decls): Pointers to member do not a
non-pod struct make, as per DR 148.
testsuite:
* g++.old-deja/g++.other/pod1.C: New test.

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

23 years agocp:
nathan [Fri, 2 Mar 2001 11:32:45 +0000 (11:32 +0000)]
cp:
* call.c (joust): cp_pedwarn when using gnu extension concerning
worst conversion sequences.
testsuite:
* g++.old-deja/g++.ext/overload1.C: New test.

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

23 years ago * ifcvt.c (noce_operand_ok): Handle properly unarry operations.
hubicka [Fri, 2 Mar 2001 11:00:29 +0000 (11:00 +0000)]
* ifcvt.c (noce_operand_ok): Handle properly unarry operations.

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

23 years agoDaily bump.
gccadmin [Fri, 2 Mar 2001 08:16:18 +0000 (08:16 +0000)]
Daily bump.

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

23 years ago * cppfiles.c (struct include_file): Update.
neil [Fri, 2 Mar 2001 07:35:12 +0000 (07:35 +0000)]
    * cppfiles.c (struct include_file): Update.
        (stack_include_file): Use search_from.
        (cpp_included, find_include_file): Update.
        (cpp_execute_include): Update.  ptr->name may not be
        null terminated.  Use the new search_from member variable
        of cpp_buffer.
        (_cpp_compare_file_date): Similarly.
        (search_from): New function, similiar to actual_directory.
        (actual_directory): Delete.
        (remap_filename): Update.  loc->name may not be null terminated.
        (struct file_name_list): Rename search_path.  Update.
        * cpphash.h (struct cpp_buffer): Delete actual_dir.  New members
        search_from and dir.
        (struct cpp_reader): Remove actual_dirs.
        * cppinit.c (struct cpp_pending): Update for renamed objects.
        (append_include_chain, remove_dup_dir, remove_dup_dirs,
        merge_include_chains, cpp_destroy, cpp_start_read): Similarly.
        * cpplib.h (struct cpp_options): Similarly.

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