]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
22 years agoc++locale_internal.h: New header.
Jakub Jelinek [Thu, 5 Sep 2002 07:45:12 +0000 (09:45 +0200)] 
c++locale_internal.h: New header.

* config/locale/generic/c++locale_internal.h: New header.
* config/locale/gnu/c++locale_internal.h: New header.
* config/locale/gnu/c_locale.cc: Include it.
* config/locale/gnu/collate_members.cc: Include it.
* config/locale/gnu/ctype_members.cc: Include it.
* config/locale/gnu/messages_members.cc: Include it.
* config/locale/gnu/monetary_members.cc: Include it.
* config/locale/gnu/numeric_members.cc: Include it.
* config/locale/gnu/time_members.cc: Include it.
(_M_put): Reorder __strftime_l and __wcsftime_l arguments to match
glibc.
(_M_initialize_timepunct): Initialize _M_c_locale_timepunct for
C locale.
* acinclude.m4: Include string.h when testing strcoll_l.
For glibc 2.3 provide __-prefixed prototypes.
(CLOCALE_INTERNAL_H): Set, add AC_LINK_FILES line.
* aclocal.m4, configure: Rebuilt.

* include/bits/locale_facets.h: Add declaration of specialization
here.
* config/locale/gnu/messages_members.cc: Add specialization for
messages<wchar_t>.
* config/locale/gnu/messages_members.h: Remove generic definition
of do_get.

From-SVN: r56836

22 years agoDaily bump.
GCC Administrator [Thu, 5 Sep 2002 07:16:22 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r56831

22 years ago* optabs.c (expand_binop): Convert CONST_INTs in all cases.
Eric Botcazou [Wed, 4 Sep 2002 22:29:13 +0000 (22:29 +0000)] 
* optabs.c (expand_binop): Convert CONST_INTs in all cases.

From-SVN: r56817

22 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Wed, 4 Sep 2002 22:29:13 +0000 (22:29 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r56816

22 years ago* config/sparc/t-netbsd64: Disable multilib for now.
Jason Thorpe [Wed, 4 Sep 2002 21:34:47 +0000 (21:34 +0000)] 
* config/sparc/t-netbsd64: Disable multilib for now.

From-SVN: r56812

22 years ago* gcc.dg/typeof-2.c: New test.
Jakub Jelinek [Wed, 4 Sep 2002 08:57:31 +0000 (10:57 +0200)] 
* gcc.dg/typeof-2.c: New test.

From-SVN: r56791

22 years agodecl.c (start_cleanup_fn): Clear interface_only before start_function, restore it...
Jakub Jelinek [Wed, 4 Sep 2002 08:25:52 +0000 (10:25 +0200)] 
decl.c (start_cleanup_fn): Clear interface_only before start_function, restore it afterwards.

* decl.c (start_cleanup_fn): Clear interface_only before
start_function, restore it afterwards.

* g++.dg/other/cxa-atexit1.C: New test.

From-SVN: r56789

22 years agoDaily bump.
GCC Administrator [Wed, 4 Sep 2002 07:16:22 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r56784

22 years agoDaily bump.
GCC Administrator [Tue, 3 Sep 2002 07:16:25 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r56747

22 years agoDaily bump.
GCC Administrator [Mon, 2 Sep 2002 07:16:24 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r56732

22 years agoc-tree.h (skip_evaluation): Move declaration...
Alexandre Oliva [Sun, 1 Sep 2002 20:11:07 +0000 (20:11 +0000)] 
c-tree.h (skip_evaluation): Move declaration...

* c-tree.h (skip_evaluation): Move declaration...
* c-common.h: ... here.
* c-typeck.c (build_external_ref): Don't assemble_external nor
mark a tree as used if skip_evaluation is set.
* c-parse.in (typeof): New non-terminal to set skip_evaluation
around TYPEOF.
(typespec_nonreserved_nonattr): Use it.

From-SVN: r56727

22 years agoparse.y (sizeof, [...]): New non-terminals to increment skip_evaluation.
Alexandre Oliva [Sun, 1 Sep 2002 20:10:32 +0000 (20:10 +0000)] 
parse.y (sizeof, [...]): New non-terminals to increment skip_evaluation.

* parse.y (sizeof, alignof, typeof): New non-terminals to
increment skip_evaluation.  Replace terminals with them and
decrement skip_evaluation at the end of rules using them.
* decl2.c (mark_used): Don't assemble_external if
skipping evaluation.

From-SVN: r56726

22 years agotypeof-1.c: New test.
Jakub Jelinek [Sun, 1 Sep 2002 20:10:07 +0000 (20:10 +0000)] 
typeof-1.c: New test.

* gcc.dg/typeof-1.c: New test.
* g++.dg/ext/typeof2.C: New test.

From-SVN: r56725

22 years agoavr.md: Call CC_STATUS_INIT in all peepnoles which can change CC0.
Marek Michalkiewicz [Sun, 1 Sep 2002 18:46:20 +0000 (20:46 +0200)] 
avr.md: Call CC_STATUS_INIT in all peepnoles which can change CC0.

2002-08-13  Denis Chertykov  <denisc@overta.ru>
* config/avr/avr.md: Call CC_STATUS_INIT in all peepnoles
which can change CC0.

From-SVN: r56724

22 years ago* cp-lang.c (cp_expr_size): Don't abort.
Jason Merrill [Sun, 1 Sep 2002 07:44:00 +0000 (03:44 -0400)] 
* cp-lang.c (cp_expr_size): Don't abort.

From-SVN: r56719

22 years agoDaily bump.
GCC Administrator [Sun, 1 Sep 2002 07:16:21 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r56714

22 years agoDaily bump.
GCC Administrator [Sat, 31 Aug 2002 07:16:26 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r56698

22 years agotarget.h (FFETARGET_32bit_longs): Don't define for powerpc64 or mmix.
Alan Modra [Fri, 30 Aug 2002 07:29:48 +0000 (07:29 +0000)] 
target.h (FFETARGET_32bit_longs): Don't define for powerpc64 or mmix.

* target.h (FFETARGET_32bit_longs): Don't define for powerpc64 or
mmix.

From-SVN: r56681

22 years agoDaily bump.
GCC Administrator [Fri, 30 Aug 2002 07:16:26 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r56676

22 years agoinstall.texi (Specific, [...]): Add "virtual memory exhausted" workarounds.
Rodney Brown [Fri, 30 Aug 2002 02:36:19 +0000 (02:36 +0000)] 
install.texi (Specific, [...]): Add "virtual memory exhausted" workarounds.

        * doc/install.texi (Specific, alpha*-dec-osf*): Add "virtual
        memory exhausted" workarounds.

From-SVN: r56674

22 years ago* install.texi (hppa64-hp-hpux11*): Document installation procedure.
John David Anglin [Thu, 29 Aug 2002 19:36:41 +0000 (19:36 +0000)] 
* install.texi (hppa64-hp-hpux11*): Document installation procedure.

From-SVN: r56662

22 years agoDaily bump.
GCC Administrator [Thu, 29 Aug 2002 07:16:29 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r56648

22 years agoc-common.c (c_expand_expr): If the last expression is a VAR_DECL with RTL that matche...
Jason Merrill [Wed, 28 Aug 2002 21:17:12 +0000 (17:17 -0400)] 
c-common.c (c_expand_expr): If the last expression is a VAR_DECL with RTL that matches the target...

        * c-common.c (c_expand_expr) [STMT_EXPR]: If the last expression is
        a VAR_DECL with RTL that matches the target, just return that RTL.

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

From-SVN: r56645

22 years agobugs.texi, news.texi: Update URLs for online news and bugs lists.
Joseph Myers [Wed, 28 Aug 2002 15:41:10 +0000 (16:41 +0100)] 
bugs.texi, news.texi: Update URLs for online news and bugs lists.

* bugs.texi, news.texi: Update URLs for online news and bugs
lists.

From-SVN: r56636

22 years agoDaily bump.
GCC Administrator [Wed, 28 Aug 2002 07:16:28 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r56630

22 years agoinvoke.texi: Document -Wabi.
Mark Mitchell [Tue, 27 Aug 2002 22:49:49 +0000 (22:49 +0000)] 
invoke.texi: Document -Wabi.

2002-08-27  Mark Mitchell  <mark@codesourcery.com>

* doc/invoke.texi: Document -Wabi.

2002-08-27  Mark Mitchell  <mark@codesourcery.com>

* cp-tree.h (warn_abi): Declare it.
* decl.c (warn_abi): Define it.
(cxx_decode_option): Set it.
* class.c (layout_virtual_bases): Warn about bugs in G++ that
result in incorrect object layouts.
(layout_class_type): Likewise.

2002-08-27  Mark Mitchell  <mark@codesourcery.com>

* testsuite/g++.dg/abi/bitfield5.C: New test.
* testsuite/g++.dg/abi/vbase10.C: Likewise.

From-SVN: r56623

22 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Tue, 27 Aug 2002 22:49:49 +0000 (22:49 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r56622

22 years agoDaily bump.
GCC Administrator [Tue, 27 Aug 2002 07:16:23 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r56592

22 years agoMakefile.am (check-abi): Specify current directory.
Phil Edwards [Mon, 26 Aug 2002 19:12:48 +0000 (19:12 +0000)] 
Makefile.am (check-abi): Specify current directory.

2002-08-26  Phil Edwards  <pme@gcc.gnu.org>

* Makefile.am (check-abi):  Specify current directory.
* acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE):  Fix shell syntax, use
abi_baseline_triplet in baseline_file.
* Makefile.in, aclocal.m4, configure:  Regenerate.
* configure.target:  Add abi_baseline_triplet with default.
* testsuite/abi_check.cc:  More error checking.

From-SVN: r56585

22 years agoDaily bump.
GCC Administrator [Mon, 26 Aug 2002 07:16:23 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r56577

22 years agoDavid Billinghurst (David.Billinghurst@riotinto.com>
Andre Leis [Mon, 26 Aug 2002 07:11:39 +0000 (07:11 +0000)] 
David Billinghurst (David.Billinghurst@riotinto.com>

2002-08-25  Andre Leis <a.leis@gmx.net>
    David Billinghurst (David.Billinghurst@riotinto.com>

* sysdep.c (__gnat_ttyname): include <termios.h> on cygwin

Co-Authored-By: David Billinghurst <David.Billinghurst@riotinto.com>
From-SVN: r56575

22 years agoacinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Set GLIBCPP_BUILD_ABI_CHECK based on...
Benjamin Kosnik [Sun, 25 Aug 2002 17:44:36 +0000 (17:44 +0000)] 
acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Set GLIBCPP_BUILD_ABI_CHECK based on cross compiling, build, host variables.

2002-08-25  Benjamin Kosnik  <bkoz@redhat.com>

* acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Set
GLIBCPP_BUILD_ABI_CHECK based on cross compiling, build, host
variables.
* aclocal.m4: Regenerate.
* testsuite/Makefile.am (noinst_PROGRAMS): Make conditional on
native compiling.

From-SVN: r56569

22 years agoDaily bump.
GCC Administrator [Sun, 25 Aug 2002 07:16:26 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r56564

22 years agoDaily bump.
GCC Administrator [Sat, 24 Aug 2002 07:16:22 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r56550

22 years agors6000.c (rs6000_select_section): Treat DEFAULT_ABI == ABI_AIX like PIC.
David Edelsohn [Sat, 24 Aug 2002 03:12:26 +0000 (03:12 +0000)] 
rs6000.c (rs6000_select_section): Treat DEFAULT_ABI == ABI_AIX like PIC.

        * config/rs6000/rs6000.c (rs6000_select_section): Treat
        DEFAULT_ABI == ABI_AIX like PIC.  Test PIC & reloc for readonly
        default.
        (rs6000_unique_section): Likewise.

From-SVN: r56547

22 years agore PR c++/5607 (No pointer adjustment in covariant return types)
Jason Merrill [Fri, 23 Aug 2002 12:00:43 +0000 (08:00 -0400)] 
re PR c++/5607 (No pointer adjustment in covariant return types)

        * langhooks-def.h (LANG_HOOKS_EXPR_SIZE): New macro.
        * langhooks.c (lhd_expr_size): Define default.
        * langhooks.h (struct lang_hooks): Add expr_size.
        * explow.c (expr_size): Call it.
        (int_expr_size): New fn.
        * expr.h: Declare it.
        * expr.c (expand_expr) [CONSTRUCTOR]: Use it to calculate how
        much to store.
cp/
        PR c++/5607
        * search.c (check_final_overrider): No longer static.
        * class.c (update_vtable_entry_for_fn): Call it.
        * cp-tree.h: Adjust.

        * cp-lang.c (LANG_HOOKS_EXPR_SIZE): Define.
        (cp_expr_size): New fn.
        * call.c (convert_arg_to_ellipsis): Promote non-POD warning to error.
        * typeck.c (build_modify_expr): Don't use save_expr on an lvalue.

From-SVN: r56539

22 years agoDaily bump.
GCC Administrator [Fri, 23 Aug 2002 07:16:23 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r56534

22 years agoMakefile.am (check-abi): New rule.
Benjamin Kosnik [Fri, 23 Aug 2002 02:43:05 +0000 (02:43 +0000)] 
Makefile.am (check-abi): New rule.

2002-08-22  Benjamin Kosnik  <bkoz@redhat.com>
    Phil Edwards  <pme@gcc.gnu.org>
    Ulrich Drepper  <drepper@redhat.com>

* Makefile.am (check-abi): New rule.
* Makefile.in: Regenerate.
* acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Export baseline_file.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* testsuite/Makefile.am (noinst_PROGRAMS): Add abi_check.
(abi_check_SOURCES): Add.
* testsuite/Makefile.in: Regenerate.
* testsuite/abi_check.cc: New file.
* config/abi: Add.
* config/abi/i686-pc-linux-gnu: Add.
* config/abi/i686-pc-linux-gnu/baseline_symbols.txt: New file.

Co-Authored-By: Phil Edwards <pme@gcc.gnu.org>
Co-Authored-By: Ulrich Drepper <drepper@redhat.com>
From-SVN: r56529

22 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Fri, 23 Aug 2002 02:43:05 +0000 (02:43 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r56528

22 years agors6000.c (output_mi_thunk): Don't determine insns for loading delta with num_insns_co...
Alan Modra [Fri, 23 Aug 2002 01:20:21 +0000 (01:20 +0000)] 
rs6000.c (output_mi_thunk): Don't determine insns for loading delta with num_insns_constant_wide.

* config/rs6000/rs6000.c (output_mi_thunk): Don't determine insns
for loading delta with num_insns_constant_wide.  Calculate
delta_low, delta_high without using a conditional.

From-SVN: r56526

22 years agoDaily bump.
GCC Administrator [Thu, 22 Aug 2002 07:16:28 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r56505

22 years agoDaily bump.
GCC Administrator [Wed, 21 Aug 2002 07:16:25 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r56483

22 years agoconfigure.in (libtool_VERSION): Update to 5:1:0.
Benjamin Kosnik [Tue, 20 Aug 2002 07:35:43 +0000 (07:35 +0000)] 
configure.in (libtool_VERSION): Update to 5:1:0.

2002-08-19  Benjamin Kosnik  <bkoz@redhat.com>

* configure.in (libtool_VERSION): Update to 5:1:0.
* configure: Regenerate.

From-SVN: r56463

22 years agoDaily bump.
GCC Administrator [Tue, 20 Aug 2002 07:16:30 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r56457

22 years agoi386.md (prefetch): Fix for 64bit mode.
Andreas Jaeger [Tue, 20 Aug 2002 07:08:59 +0000 (09:08 +0200)] 
i386.md (prefetch): Fix for 64bit mode.

* i386.md (prefetch): Fix for 64bit mode.
(prefetch_sse_rex, prefetch_3dnow_rex): New patterns.

From-SVN: r56455

22 years agore PR target/7531 (-mcmodel not documented for x86-64)
Andreas Jaeger [Tue, 20 Aug 2002 07:04:38 +0000 (09:04 +0200)] 
re PR target/7531 (-mcmodel not documented for x86-64)

PR target/7531:
* doc/invoke.texi (i386 and x86-64 Options): Document -mcmodel.

From-SVN: r56454

22 years ago[multiple changes]
Franz Sirl [Mon, 19 Aug 2002 18:59:32 +0000 (18:59 +0000)] 
[multiple changes]

2002-06-24  Jeff Law <law@redhat.com>

* flow.c (propagate_one_insn): When removing an insn
with a REG_LIBCALL note but not the entire libcall sequence,
delete the associated REG_RETVAL note.

2002-06-04  Jeff Law <law@redhat.com.
    David Edelsohn <edelsohn@gnu.org>
    Michael Matz <matz@kde.org>

* sched-int.h (struct deps): New field libcall_block_tail_insn.
* sched_deps.c (init_deps): Initialize libcall_block_tail_insn.
* sched_deps.c (sched_analyze_insn): If libcall_block_tail_insn
is set, then mark the current insn as being part of a libcall
scheduling group.
(sched_analyze): Set and clear libcall_block_tail_insn appropriately.

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

2002-05-30  Jeff Law <law@redhat.com>

* flow.c (propagate_one_insn): Revise yesterday's patch.  Delete
a dead insn with a REG_RETVAL note when the entire libcall is not
dead and remove the associated REG_LIBCALL note at the same time.

2002-05-29  Jeff Law <law@redhat.com>

* flow.c (propagate_one_insn): Do not remove a dead insn if it
contains a REG_RETVAL note.

* haifa-sched (sched_analyze): Remove another useless clearing
of SCHED_GROUP_P I missed yesterday.

2002-05-28  David Edelsohn  <edelsohn@gnu.org>
    Jeff Law <law@redhat.com>

* optabs.c (expand_binop): Fix nwords sign warnings.
generate pseudo for add_optab.

* sched-deps.c (sched_analyze): Do not clear SCHED_GROUP_P.
* haifa-sched.c (move_insn): Clear SCHED_GROUP_P after it is used.

From-SVN: r56444

22 years ago- Fix typo in argument ordering.
David Edelsohn [Mon, 19 Aug 2002 17:00:21 +0000 (13:00 -0400)] 
- Fix typo in argument ordering.

From-SVN: r56441

22 years agoDaily bump.
GCC Administrator [Mon, 19 Aug 2002 07:16:49 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r56432

22 years agoDaily bump.
GCC Administrator [Sun, 18 Aug 2002 07:16:28 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r56419

22 years agore PR preprocessor/7602 (C++ header files found in CPLUS_INCLUDE_PATH treated as...
Neil Booth [Sun, 18 Aug 2002 06:24:13 +0000 (06:24 +0000)] 
re PR preprocessor/7602 (C++ header files found in CPLUS_INCLUDE_PATH treated as C headers)

PR preprocessor/7602
* cppinit.c (path_include): Treat the system environment
variables as being cxx_aware.

From-SVN: r56415

22 years agoDaily bump.
GCC Administrator [Sat, 17 Aug 2002 07:16:23 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r56404

22 years agolibjava.exp (gcc_version): Removed.
H.J. Lu [Fri, 16 Aug 2002 21:08:37 +0000 (21:08 +0000)] 
libjava.exp (gcc_version): Removed.

2002-08-16  H.J. Lu <hjl@gnu.org>

* lib/libjava.exp (gcc_version): Removed.
(libgcj_jar): New.
(libjava_init): Set libgcj_jar with tcl glob.
(libjava_arguments): Use libgcj_jar.

From-SVN: r56383

22 years agocollect2.c (is_ctor_dtor): Add other possible JOINER values.
David Edelsohn [Fri, 16 Aug 2002 18:03:09 +0000 (18:03 +0000)] 
collect2.c (is_ctor_dtor): Add other possible JOINER values.

        * collect2.c (is_ctor_dtor): Add other possible JOINER values.

        * config/rs6000/rs6000.c (output_mi_thunk): Return to function
        section on TARGET_ELF.

        * doc/install.texi (*-ibm-aix*): Explain AIX shared object versioning.
        (Binaries): Update Bull Freeware URL.

From-SVN: r56381

22 years agoDaily bump.
GCC Administrator [Fri, 16 Aug 2002 07:16:22 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r56371

22 years agore PR libstdc++/7445 (poor performance of std::locale::classic() in multi-threaded...
Benjamin Kosnik [Thu, 15 Aug 2002 22:51:02 +0000 (22:51 +0000)] 
re PR libstdc++/7445 (poor performance of std::locale::classic() in multi-threaded applications)

2002-08-15  Benjamin Kosnik  <bkoz@redhat.com>

* include/ext/stdio_filebuf.h (stdio_filebuf): Explicitly set
_M_buf_size_opt to zero when unbuffering.
* include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
Consistency checks for _M_buf_size_opt.

Revert PR libstdc++/7445
* src/locale.cc (locale::classic): Revert.

* docs/html/17_intro/TODO: Add.

From-SVN: r56366

22 years ago[multiple changes]
Benjamin Kosnik [Thu, 15 Aug 2002 22:25:10 +0000 (22:25 +0000)] 
[multiple changes]

2002-08-15  Danny Smith  <dannysmith@users.sourceforge.net>
            Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/istream.tcc (basic_istream::ignore): Use sbumpc,
not snextc.
* testsuite/27_io/narrow_stream_objects.cc (test10): Add.

2002-08-15  Danny Smith  <dannysmith@users.sourceforge.net>

* config/os/newlib/ctype_inline.h (is): Don't offset _M_table.
(scan_is): Use this->is.
(scan_not): Likewise.

2002-08-15  Rick Danos  <rdanos@hotmail.com>

PR libstdc++/7461
* config/os/newlib/ctype_noninline.h (classic_table): Add offset.
* config/os/newlib/ctype_inline.h (is): Use static_cast.

From-SVN: r56364

22 years agore PR preprocessor/7358 (Changes to Sun's make Dependencies)
Neil Booth [Thu, 15 Aug 2002 19:47:44 +0000 (19:47 +0000)] 
re PR preprocessor/7358 (Changes to Sun's make Dependencies)

PR preprocessor/7358
PR preprocessor/7357
PR preprocessor/7526
* cppfiles.c (stack_include_file): Ignore main file if
appropriate.  Correct test of whether a dependency should
be output.
* cppinit.c (init_dependency_output): Ignore main file
for SUNPRO_DEPENDENCIES.
(struct lang_flags): Rename trigraphs std.
(set_lang): Update.
* cpplib.c (run_directive): Kludge so _Pragma dependency works.
* cpplib.h (struct cpp_options): New members.
* cppmacro.c (collect_args): Flag whether to swallow a possible
future comma pasted with varargs.
(replace_args): Use this flag.
* doc/cpp.texi: Update varargs extension documentation.
* doc/cppenv.texi: Update.
testsuite:
* gcc.dg/cpp/_Pragma3.c, gcc.dg/cpp/vararg3.c, gcc.dg/cpp/vararg4.c:
New tests.

From-SVN: r56355

22 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Thu, 15 Aug 2002 19:47:44 +0000 (19:47 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r56354

22 years agoUpdate version strings
Mark Mitchell [Thu, 15 Aug 2002 14:59:02 +0000 (14:59 +0000)] 
Update version strings

From-SVN: r56349

23 years agoDaily bump.
GCC Administrator [Thu, 15 Aug 2002 07:16:22 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r56340

23 years agoUpdate version
Mark Mitchell [Wed, 14 Aug 2002 09:01:32 +0000 (09:01 +0000)] 
Update version

From-SVN: r56289

23 years agoMark ChangeLog
Mark Mitchell [Wed, 14 Aug 2002 09:01:14 +0000 (09:01 +0000)] 
Mark ChangeLog

From-SVN: r56288

23 years ago* gennews (files): Add GCC 3.2 files.
Mark Mitchell [Wed, 14 Aug 2002 08:35:06 +0000 (08:35 +0000)] 
* gennews (files): Add GCC 3.2 files.

From-SVN: r56286

23 years agoDaily bump.
GCC Administrator [Wed, 14 Aug 2002 07:16:24 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r56277

23 years agoDaily bump.
GCC Administrator [Tue, 13 Aug 2002 07:16:57 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r56243

23 years agoDaily bump.
GCC Administrator [Mon, 12 Aug 2002 07:16:26 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r56225

23 years agoDaily bump.
GCC Administrator [Sun, 11 Aug 2002 07:16:21 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r56192

23 years agoDaily bump.
GCC Administrator [Sat, 10 Aug 2002 07:16:21 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r56176

23 years agoDaily bump.
GCC Administrator [Fri, 9 Aug 2002 07:16:32 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r56157

23 years agors6000.h, [...]: Revert last two patches.
Jakub Jelinek [Thu, 8 Aug 2002 17:52:40 +0000 (19:52 +0200)] 
rs6000.h, [...]: Revert last two patches.

* config/rs6000/rs6000.h, config/rs6000/aix.h,
config/rs6000/darwin.h, config/rs6000/linux64.h: Revert last
two patches.
* config/rs6000/sysv4.h: Likewise, remove #undef ADJUST_FIELD_ALIGN.

From-SVN: r56134

23 years agors6000-protos.h (rs6000_field_alignment): Remove.
Jakub Jelinek [Thu, 8 Aug 2002 14:51:47 +0000 (16:51 +0200)] 
rs6000-protos.h (rs6000_field_alignment): Remove.

* config/rs6000/rs6000-protos.h (rs6000_field_alignment): Remove.
* config/rs6000/rs6000.c (rs6000_field_alignment): Move...
* config/rs6000/rs6000.h (ADJUST_FIELD_ALIGN): ...inline into the
macro.

From-SVN: r56130

23 years agoDaily bump.
GCC Administrator [Thu, 8 Aug 2002 07:16:31 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r56121

23 years agostor-layout.c (place_union_field): For bitfields if PCC_BITFIELD_TYPE_MATTERS and...
Jakub Jelinek [Wed, 7 Aug 2002 23:16:44 +0000 (01:16 +0200)] 
stor-layout.c (place_union_field): For bitfields if PCC_BITFIELD_TYPE_MATTERS and TYPE_USER_ALIGN...

* stor-layout.c (place_union_field): For bitfields if
PCC_BITFIELD_TYPE_MATTERS and TYPE_USER_ALIGN, set record's
TYPE_USER_ALIGN.

* gcc.dg/bitfld-3.c: New test.

From-SVN: r56111

23 years agostor-layout.c (place_union_field): Apply ADJUST_FIELD_ALIGN to type_align when PCC_BI...
Jakub Jelinek [Wed, 7 Aug 2002 18:11:00 +0000 (20:11 +0200)] 
stor-layout.c (place_union_field): Apply ADJUST_FIELD_ALIGN to type_align when PCC_BITFIELD_TYPE_MATTERS.

* stor-layout.c (place_union_field): Apply ADJUST_FIELD_ALIGN
to type_align when PCC_BITFIELD_TYPE_MATTERS.  Only apply
ADJUST_FIELD_ALIGN if not DECL_USER_ALIGN resp. TYPE_USER_ALIGN.
(place_field): Likewise.
* config/i386/i386.c (x86_field_alignment): Don't check
TARGET_ALIGN_DOUBLE for the second time.
Apply min for all MODE_INT and MODE_CLASS_INT modes.
* config/rs6000/rs6000.c (rs6000_field_alignment): New.
* config/rs6000/rs6000-protos.h (rs6000_field_alignment): New
prototype.
* config/rs6000/rs6000.h (ADJUST_FIELD_ALIGN): Define.
* config/rs6000/aix.h (ADJUST_FIELD_ALIGN): Remove.
* config/rs6000/darwin.h (ADJUST_FIELD_ALIGN): Remove.
* config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Remove.
* config/rs6000/sysv4.h (ADJUST_FIELD_ALIGN): Remove.
* doc/tm.texi (ADJUST_FIELD_ALIGN): Update description.

* gcc.dg/i386-bitfield1.c: New test.
* g++.dg/abi/bitfield3.C: New test.

Co-Authored-By: Richard Henderson <rth@redhat.com>
From-SVN: r56104

23 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Wed, 7 Aug 2002 18:11:00 +0000 (18:11 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r56103

23 years agoDaily bump.
GCC Administrator [Wed, 7 Aug 2002 07:16:28 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r56094

23 years agoRevert PR libstdc++/6594
Benjamin Kosnik [Wed, 7 Aug 2002 05:13:08 +0000 (05:13 +0000)] 
Revert PR libstdc++/6594

2002-08-06  Benjamin Kosnik  <bkoz@redhat.com>

        Revert PR libstdc++/6594
        * src/strstream.cc (strstreambuf): Revert.
        (strstreambuf::overflow): Same.
        (strstreambuf::~strstreambuf): Same.
        * testsuite/backward/strstream_members.cc (test02): Add.

        * testsuite/19_diagnostics/stdexceptions.cc (test04): Add bool test.

From-SVN: r56091

23 years ago* config/i386/mmintrin.h (__m64): Make the type 64-bit aligned.
Jakub Jelinek [Tue, 6 Aug 2002 18:30:43 +0000 (20:30 +0200)] 
* config/i386/mmintrin.h (__m64): Make the type 64-bit aligned.

From-SVN: r56074

23 years agoconfig.gcc (*-*-linux*): Default to --enable-threads=posix if no --{enable,disable...
Jakub Jelinek [Tue, 6 Aug 2002 15:20:55 +0000 (17:20 +0200)] 
config.gcc (*-*-linux*): Default to --enable-threads=posix if no --{enable,disable}-threads is given to...

* config.gcc (*-*-linux*): Default to --enable-threads=posix if no
--{enable,disable}-threads is given to configure.
(alpha*-*-linux*, hppa*-*-linux*, i[34567]86-*-linux*,
x86_64-*-linux*, ia64*-*-linux*, m68k-*-linux*, mips*-*-linux*,
powerpc-*-linux-gnualtivec*, powerpc-*-linux*, s390-*-linux*,
s390x-*-linux*, sh-*-linux*, sparc-*-linux*, sparc64-*-linux*):
Remove thread_file setting here.

From-SVN: r56070

23 years agoDaily bump.
GCC Administrator [Tue, 6 Aug 2002 07:16:29 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r56061

23 years agoDaily bump.
GCC Administrator [Tue, 6 Aug 2002 07:16:24 +0000 (07:16 +0000)] 
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r56060.2

23 years agoDaily bump.
GCC Administrator [Mon, 5 Aug 2002 07:16:24 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r56042

23 years agoDaily bump.
GCC Administrator [Mon, 5 Aug 2002 07:16:21 +0000 (07:16 +0000)] 
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r56041.2

23 years agoinstall.texi (Installing GCC): Refer to buildstat.html, rather than listing version...
Mark Mitchell [Mon, 5 Aug 2002 03:40:02 +0000 (03:40 +0000)] 
install.texi (Installing GCC): Refer to buildstat.html, rather than listing version-specific build status files.

* doc/install.texi (Installing GCC): Refer to buildstat.html,
rather than listing version-specific build status files.

From-SVN: r56037

23 years agonews.texi: Mention nothing changed for 3.2.
Toon Moene [Sun, 4 Aug 2002 21:28:02 +0000 (23:28 +0200)] 
news.texi: Mention nothing changed for 3.2.

2002-08-04  Toon Moene  <toon@moene.indiv.nluug.nl>

* news.texi: Mention nothing changed for 3.2.

From-SVN: r56034

23 years agogcc-common.texi (version-GCC): Increase to 3.2.
Joseph Myers [Sun, 4 Aug 2002 16:55:55 +0000 (17:55 +0100)] 
gcc-common.texi (version-GCC): Increase to 3.2.

* doc/include/gcc-common.texi (version-GCC): Increase to 3.2.

java:
* gcj.texi (version-gcc): Increase to 3.2.

f:
* root.texi (version-gcc): Increase to 3.2.

From-SVN: r56027

23 years agore PR c++/7470 (Vtable: virtual function pointers not in declaration order)
Nathan Sidwell [Sun, 4 Aug 2002 13:09:31 +0000 (13:09 +0000)] 
re PR c++/7470 (Vtable: virtual function pointers not in declaration order)

PR 7470.
C++ ABI change - vfunc ordering.
* class.c (add_virtual_function): Remove.
(dfs_modify_all_vtables): Take list of all declared
virtuals. Assign all that are not in primary base.
(check_for_override): Adjust comments.
(create_vtable_ptr): Take single list of virtuals. Build chain
of declared virtuals here.
(layout_class_type): Take single list of virtuals. Adjust.
(finish_struct_1): Keep virtuals on single list. Adjust.

From-SVN: r56020

23 years agoDaily bump.
GCC Administrator [Sun, 4 Aug 2002 07:16:21 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r56015

23 years agoDaily bump.
GCC Administrator [Sun, 4 Aug 2002 07:16:19 +0000 (07:16 +0000)] 
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r56014.2

23 years agoDaily bump.
GCC Administrator [Sat, 3 Aug 2002 07:16:22 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r56003

23 years agoDaily bump.
GCC Administrator [Sat, 3 Aug 2002 07:16:20 +0000 (07:16 +0000)] 
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r56002.2

23 years agoDaily bump.
GCC Administrator [Fri, 2 Aug 2002 07:16:26 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r55974

23 years agoDaily bump.
GCC Administrator [Fri, 2 Aug 2002 07:16:23 +0000 (07:16 +0000)] 
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r55973.2

23 years agoptrflags.C (expect): Change __qualifier_flags to __flags.
Benjamin Kosnik [Thu, 1 Aug 2002 21:56:28 +0000 (21:56 +0000)] 
ptrflags.C (expect): Change __qualifier_flags to __flags.

2002-08-01  Benjamin Kosnik   <bkoz@redhat.com>

* g++.old-deja/g++.abi/ptrflags.C (expect): Change
__qualifier_flags to __flags.

From-SVN: r55952

23 years ago[multiple changes]
Jakub Jelinek [Thu, 1 Aug 2002 21:29:18 +0000 (23:29 +0200)] 
[multiple changes]

2002-08-01  Benjamin Kosnik   <bkoz@redhat.com>

* g++.old-deja/g++.abi/ptrflags.C (expect): Change
__qualifier_flags to __flags.

2002-08-01  Benjamin Kosnik  <bkoz@redhat.com>
    Jakub Jelinek  <jakub@redhat.com>

* config/linker-map.gnu: Change CXXABI_1 to CXXABI_1.2,
GLIBCPP_3.1 to GLIBCPP_3.2.

2002-07-31  Benjamin Kosnik  <bkoz@redhat.com>
    Mark Mitchell  <mark@codesourcery.com>

PR libstdc++/7442
* libsupc++/cxxabi.h (class __base_class_type_info::hwm_bit):
Change to __hwm_bit.
(__class_type_info): And here.

2002-07-31  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/7442
* libsupc++/cxxabi.h
(__base_class_info): Change to __base_class_type_info. 2.9.5p6c
(__base_class_info::__base): Change to __base_type. 2.9.5p6c
(__base_class_info::offset_shift): Change to __offset_shift. 2.9.5p6c
(__vmi_class_type_info::__base_info): Don't make const, of type
__base_class_type_info, as per 2.9.5p6c
(__pbase_type_info::__qualifier_flags): Change to __flags, as per
2.9.5p7.
(__pbase_type_info::__qualifier_masks): Change to __masks, as per
2.9.5p7.
(__pointer_to_member_type_info::__context_class): Change member to
__context, as per 2.9.5p9.
* libsupc++/tinfo2.cc (__pointer_catch): Change __context_class to
__context.
* libsupc++/tinfo2.cc (__do_catch): Change __qualifier_flags to
__flags.
* libsupc++/tinfo.cc (__do_find_public_src): Change __base to
__base_type.
* libsupc++/tinfo.cc (__do_dyncast): Same.
* libsupc++/tinfo.cc (__do_upcast): Same.

2002-07-31  Simon Whomsley  <whomsley@avacadcam.com>

* docs/html/22_locale/howto.html: Fix.

2002-07-31  Alex Kompel  <shurik@sequoiap.com>

PR libstdc++/7445
* src/locale.cc (locale::classic): Move locks inside !_S_classic
block.

2002-07-30  Benjamin Kosnik  <bkoz@redhat.com>
    Gabriel Dos Reis  <gdr@nerim.net>

* include/bits/char_traits.h: Remove generic definitions.
* include/bits/streambuf_iterator.h (istreambuf_iterator): Use
eof, not -2.
* include/bits/istream.tcc (istream::readsome): Don't check
against eof, instead use constants.
(istream::sync): Same.
(istream::sentry::sentry): Use eq_int_type.
(istream::get): Same.
* include/bits/ostream.tcc: Change __pad to
__pad<_CharT, _Traits>::_S_pad.
* include/bits/locale_facets.h: Add __pad_traits generic and
ostreambuf_iterator specialization.
* include/bits/locale_facets.tcc: Change __pad into struct __pad
with a _CharT and _Traits template parameter and _S_pad static
member function.
* src/locale-inst.cc: Update __pad instantiations.

* include/std/std_fstream.h: Declare _M_underflow_common
specializations.
* src/fstream.cc: New. Add _M_underflow_common specializations.
* include/bits/fstream.tcc (filebuf::close): Use traits_type.
(filebuf::_M_underflow_common(bool)): Remove generic version, as
sys_ungetc and custom int_types don't get along.
* include/std/std_streambuf.h: Add _M_pos.
* src/Makefile.am (sources): Add fstream.cc.
* src/Makefile.in: Regenerate.

* testsuite/21_strings/capacity.cc: Add char_traits specializations.
* testsuite/22_locale/codecvt_members_unicode_char.cc: Same.
* testsuite/22_locale/codecvt_members_unicode_wchar_t.cc: Same.
* testsuite/22_locale/ctor_copy_dtor.cc: Same.
* testsuite/27_io/filebuf_virtuals.cc (test07): Move to...
* testsuite/27_io/filebuf.cc: ...here.
* testsuite/testsuite_hooks.h: Add gnu_char, gnu_int, char_traits
specialization for both.
* testsuite/27_io/streambuf.cc: Add instantiation test,
testsuite_hooks include.
* testsuite/27_io/istream.cc: Same.
* testsuite/27_io/ostream.cc: Same.
* testsuite/27_io/fstream.cc: Same.
* testsuite/27_io/stringstream.cc: Same.
* testsuite/27_io/filebuf.cc: Same.
* testsuite/27_io/stringbuf.cc: Same.

From-SVN: r55951

23 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Thu, 1 Aug 2002 21:29:18 +0000 (21:29 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r55950

23 years agogcc.c: Set __GXX_ABI_VERSION to 102.
Benjamin Kosnik [Thu, 1 Aug 2002 20:14:57 +0000 (20:14 +0000)] 
gcc.c: Set __GXX_ABI_VERSION to 102.

2002-08-01  Benjamin Kosnik  <bkoz@redhat.com>

* gcc.c: Set __GXX_ABI_VERSION to 102.

From-SVN: r55945

23 years agoDaily bump.
GCC Administrator [Thu, 1 Aug 2002 07:16:24 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r55927

23 years agoDaily bump.
GCC Administrator [Thu, 1 Aug 2002 07:16:21 +0000 (07:16 +0000)] 
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r55926.2