]>
git.ipfire.org Git - thirdparty/gcc.git/log
David Edelsohn [Fri, 25 Oct 2002 15:32:46 +0000 (11:32 -0400)]
- Fix typo in last change.
From-SVN: r58534
David Edelsohn [Fri, 25 Oct 2002 15:20:30 +0000 (15:20 +0000)]
re PR c++/7228 (ICE when using member template and template function)
PR c++/7228
* cp-tree.h (CLASSTYPE_READONLY_FIELDS_NEED_INIT): Check that
lang_type structure exists before accessing field.
(SET_CLASSTYPE_READONLY_FIELDS_NEED_INIT): New macro.
(CLASSTYPE_REF_FIELDS_NEED_INIT): Similar.
(SET_CLASSTYPE_REF_FIELDS_NEED_INIT): New macro.
* class.c (check_field_decls): Use new macros.
* typeck2.c (process_init_constructor): Remove redundant check for
existence of lang_type structure.
From-SVN: r58533
GCC Administrator [Fri, 25 Oct 2002 07:17:04 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r58523
Mark Mitchell [Thu, 24 Oct 2002 23:43:47 +0000 (23:43 +0000)]
class.c (check_field_decls): Fix typo.
* class.c (check_field_decls): Fix typo.
[[Split portion of a mixed commit.]]
From-SVN: r58516.1
Tom Tromey [Thu, 24 Oct 2002 21:11:22 +0000 (21:11 +0000)]
Primes.java: Removed.
* libjava.lang/Primes.java: Removed.
* libjava.lang/Primes.out: Removed.
From-SVN: r58506
Jakub Jelinek [Thu, 24 Oct 2002 17:11:56 +0000 (19:11 +0200)]
re PR target/6981 (wrong code in 64-bit manipulation on x86)
* config/i386/i386.md (subdi3_1): Add call to ix86_binary_operator_ok.
PR target/6981
* config/i386/i386.md (adddi3_1): Add call to ix86_binary_operator_ok.
* gcc.c-torture/execute/
20021024 -1.c: New test.
From-SVN: r58497
Richard Henderson [Thu, 24 Oct 2002 08:59:50 +0000 (01:59 -0700)]
re PR rtl-optimization/7944 (gcc 3.2: Internal compiler error in find_reloads_toplev, at reload.c:4462)
PR opt/7944
* reload.c (find_reloads_toplev): Use simplify_gen_subreg; mode
of X is not important when simplifying subregs of constants.
* g++.dg/opt/reload1.C: New.
From-SVN: r58489
GCC Administrator [Thu, 24 Oct 2002 07:16:32 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r58482
Mark Mitchell [Thu, 24 Oct 2002 00:03:16 +0000 (00:03 +0000)]
re PR c++/8067 (g++ 3.2 internal error: Segmentation fault)
PR c++/8067
* decl.c (maybe_inject_for_scope_var): Ignore __FUNCTION__ and
related variables.
PR c++/8067
* g++.dg/lookup/pretty1.C: New test.
From-SVN: r58479
No Author [Thu, 24 Oct 2002 00:03:16 +0000 (00:03 +0000)]
This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.
From-SVN: r58478
Mark Mitchell [Wed, 23 Oct 2002 21:56:55 +0000 (21:56 +0000)]
re PR c++/7679 (The compiler crashes wen a right parentesis is missing)
PR c++/7679
* spew.c (next_token): Do not return an endless stream of
END_OF_SAVED_INPUT tokens.
(snarf_method): Add three END_OF_SAVED_INPUT tokens to the end of
the cached token stream.
(snarf_defarg): Likewise.
PR c++/7679
* g++.dg/parse/inline1.C: New test.
From-SVN: r58473
No Author [Wed, 23 Oct 2002 21:56:55 +0000 (21:56 +0000)]
This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.
From-SVN: r58472
Robert Lipe [Wed, 23 Oct 2002 17:28:29 +0000 (17:28 +0000)]
config.gcc (i[34567]86-*-sco3.2v5*): Fix tm_file.
2002-10-23 Robert Lipe <robertlipe@usa.net>
* config.gcc (i[34567]86-*-sco3.2v5*): Fix tm_file.
From-SVN: r58461
Jakub Jelinek [Wed, 23 Oct 2002 15:47:17 +0000 (17:47 +0200)]
num_put_members_char.cc (test01): Swap size and decimal_point arguments of find.
* testsuite/22_locale/num_put_members_char.cc (test01): Swap size
and decimal_point arguments of find.
* testsuite/22_locale/num_put_members_wchar_t.cc (test01): Likewise.
From-SVN: r58455
Roger Sayle [Wed, 23 Oct 2002 13:38:28 +0000 (13:38 +0000)]
re PR c/761 (Undocumented options, part 1)
PR c/761
* doc/invoke.texi: Fix some overfull hboxes in "make dvi".
Document --version, -fno-sched-interblock, -fno-sched-spec,
-fsched-spec-load, -fsched-spec-load-dangerous,
-fsched-verbose=n, -fno-branch-count-reg and -fbounds-check.
From-SVN: r58451
Ulrich Weigand [Wed, 23 Oct 2002 10:46:00 +0000 (10:46 +0000)]
s390.md ("*movdi_64"): Fix op_type attribute.
* config/s390/s390.md ("*movdi_64"): Fix op_type attribute.
("*movdf_64"): Likewise.
("*lshrdi3_64"): Likewise.
From-SVN: r58449
GCC Administrator [Wed, 23 Oct 2002 07:16:25 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r58437
Mark Mitchell [Wed, 23 Oct 2002 00:31:20 +0000 (00:31 +0000)]
spew.c (snarf_parenthesized_expression): New function.
* spew.c (snarf_parenthesized_expression): New function.
(snarf_block): Use it.
* g++.dg/parse/stmtexpr3.C: New test.
From-SVN: r58430
No Author [Wed, 23 Oct 2002 00:31:20 +0000 (00:31 +0000)]
This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.
From-SVN: r58429
Jakub Jelinek [Tue, 22 Oct 2002 21:50:47 +0000 (23:50 +0200)]
Makefile.am (check-abi, [...]): Use @glibcpp_srcdir@ instead of ${top_srcdir}.
* Makefile.am (check-abi, new-abi-baseline): Use @glibcpp_srcdir@
instead of ${top_srcdir}.
* Makefile.in: Rebuilt.
From-SVN: r58419
No Author [Tue, 22 Oct 2002 09:06:46 +0000 (09:06 +0000)]
This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.
From-SVN: r58407
Nathan Sidwell [Tue, 22 Oct 2002 09:06:19 +0000 (09:06 +0000)]
re PR c++/7209 (Faulty array dereferencing)
PR c++/7209
* fold_const.c (fold_binary_op_with_conditional_arg): Always
build compound_expr if we used save_expr.
testsuite:
* g++.dg/expr: New directory.
* g++.dg/expr/cond1.C: New test.
From-SVN: r58406
GCC Administrator [Tue, 22 Oct 2002 07:16:28 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r58399
Phil Edwards [Mon, 21 Oct 2002 19:35:41 +0000 (19:35 +0000)]
configure.in: Use target, not target_alias, when matching triplet patterns.
2002-10-21 Phil Edwards <pme@gcc.gnu.org>
* configure.in: Use target, not target_alias, when matching triplet
patterns.
* configure: Regenerate.
From-SVN: r58378
Zack Weinberg [Mon, 21 Oct 2002 19:06:16 +0000 (19:06 +0000)]
920923-1.c: Prevent spurious regressions with bison 1.50 or later.
* gcc.dg/noncompile/920923-1.c: Prevent spurious regressions with
bison 1.50 or later.
From-SVN: r58375
Matthias Klose [Mon, 21 Oct 2002 18:40:12 +0000 (18:40 +0000)]
[multiple changes]
2002-10-21 Matthias Klose <doko@debian.org>
* Backport, without whitespace change:
2002-06-10 Akim Demaille <akim@epita.fr>
* parse.y (interface_type_list, class_member_declaration)
(unary_expression_not_plus_minus): Remove duplicate %type.
Whitespace changes.
2002-06-13 Akim Demaille <akim@epita.fr>
* parse.y (class_declaration, interface_declaration): Make sure
all their rules have an action, in order to avoid meaningless `$$
= $1' and their type clashes.
* parse.y (catch_clause): Terminate with `;'.
From-SVN: r58373
Matthias Klose [Mon, 21 Oct 2002 18:38:39 +0000 (18:38 +0000)]
[multiple changes]
2002-10-21 Matthias Klose <doko@debian.org>
* Backport, without whitespace change:
2002-06-19 Akim Demaille <akim@epita.fr>
* parse.y (TYPENAME): Rename as tTYPENAME to avoid the clash with
decl.h's TYPENAME.
* spew.c, lex.c: Adjust.
* parse.y (explicit_instantiation): Add empty action to override
the default $$ = $1 where it introduces a type clash.
From-SVN: r58372
Matthias Klose [Mon, 21 Oct 2002 18:37:41 +0000 (18:37 +0000)]
[multiple changes]
2002-10-21 Matthias Klose <doko@debian.org>
* Backport, without whitespace change:
2002-06-19 Akim Demaille <akim@epita.fr>
* c-parse.in (initelt: identifier ':' initval): Add an empty
action to fix a type clash.
(aliasdecl, classdef): Add the missing closing `;'.
From-SVN: r58371
Mark Mitchell [Mon, 21 Oct 2002 09:29:12 +0000 (09:29 +0000)]
re PR c++/8218 (Excessively large amount of memory used with classes with large array members)
PR c++/8218
* cp-tree.h (lang_type_class): Add contains_empty_class_p.
(CLASSTYPE_CONTAINS_EMPTY_CLASS_P): New macro.
* class.c (check_bases): Update CLASSTYPE_CONTAINS_EMPTY_CLASS_P.
(check_field_decls): Likewise.
(layout_class_type): Likewise.
(finish_struct_1): Initialize it.
(walk_subobject_offsets): Use it to prune searches.
From-SVN: r58357
GCC Administrator [Mon, 21 Oct 2002 07:16:36 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r58350
GCC Administrator [Sun, 20 Oct 2002 07:16:27 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r58326
Jan Hubicka [Sat, 19 Oct 2002 17:20:57 +0000 (17:20 +0000)]
mmintrin.h (__m64): typedef it to v2si.
* mmintrin.h (__m64): typedef it to v2si.
(_mm_cvtsi32_si64, _mm_cvtsi32_si64_mm_sll_pi16,
_mm_sll_pi32, _mm_sll_pi64, _mm_slli_pi64, _mm_sra_pi16,
_mm_sra_pi32, _mm_srl_pi16, _mm_srl_pi32, _mm_srl_pi64,
_mm_srli_pi64, _mm_and_si64, _mm_andnot_si64,
_mm_or_si64, _mm_xor_si64): Add neccesary casts.
* xmmintrin.h (_mm_setzero_si64): Likewise.
From-SVN: r58317
Jan Hubicka [Sat, 19 Oct 2002 13:51:34 +0000 (15:51 +0200)]
re PR target/7693 (Typo in i386 mmintrin.h header)
* mmintrin.h (__m64): typedef it to v2si.
(_mm_cvtsi32_si64, _mm_cvtsi32_si64_mm_sll_pi16,
_mm_sll_pi32, _mm_sll_pi64, _mm_slli_pi64, _mm_sra_pi16,
_mm_sra_pi32, _mm_srl_pi16, _mm_srl_pi32, _mm_srl_pi64,
_mm_srli_pi64, _mm_and_si64, _mm_andnot_si64,
_mm_or_si64, _mm_xor_si64): Add neccesary casts.
* xmmintrin.h (_mm_setzero_si64): Likewise.
PR target/7693
Patch by Shawn Wagner
* mmintrin.h: Replace pi64 by si64.
From-SVN: r58308
GCC Administrator [Sat, 19 Oct 2002 07:16:27 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r58301
Zack Weinberg [Sat, 19 Oct 2002 03:17:43 +0000 (03:17 +0000)]
re PR c/7353 (Compiler dies on known working code (as of gcc 3.0))
PR c/7353
* c-decl.c, cp/decl.c (start_decl): Point users of the old initialized-
typedef extension at __typeof__.
From-SVN: r58298
Nathan Sidwell [Fri, 18 Oct 2002 08:17:57 +0000 (08:17 +0000)]
re PR c++/7676 (Member template function overloading problem)
cp:
PR c++/7676
* class.c (add_method): Compare template parms too.
testsuite:
* g++.dg/overload/member2.C: New test.
From-SVN: r58281
No Author [Fri, 18 Oct 2002 08:17:57 +0000 (08:17 +0000)]
This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.
From-SVN: r58280
Mark Mitchell [Fri, 18 Oct 2002 08:11:44 +0000 (08:11 +0000)]
mangle.c (globals): Add entity and need_abi_warning.
* mangle.c (globals): Add entity and need_abi_warning.
(write_prefix): Likewise.
(write_template_prefix): Likewise.
(start_mangling): Add entity parameter.
(finish_mangling): Warn about names whose mangling will change.
(mangle_decl_string): Adjust.
(mangle_type_string): Likewise.
(mangle_special_for_type): Likewise.
(mangle_ctor_vtbl_for_type): Likewise.
(mangle_thunk): Likewise.
(mangle_guard_variable): Likewise.
(mangle_ref_init_variable): Likewise.
* g++.dg/abi/mangle11.C: New test.
* g++.dg/abi/mangle14.C: New test.
* g++.dg/abi/mangle17.C: New test.
From-SVN: r58279
GCC Administrator [Fri, 18 Oct 2002 07:16:28 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r58272
Mark Mitchell [Thu, 17 Oct 2002 22:37:49 +0000 (22:37 +0000)]
re PR c++/7584 (Erroneous ambiguous base error on using declaration)
PR c++/7584
* class.c (handle_using_decl): Allow the declaration used to be
from an ambiguous base.
PR c++/7584
* g++.dg/inherit/using3.C: New test.
From-SVN: r58264
No Author [Thu, 17 Oct 2002 22:37:49 +0000 (22:37 +0000)]
This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.
From-SVN: r58263
Jan Hubicka [Thu, 17 Oct 2002 17:17:51 +0000 (19:17 +0200)]
re PR c++/6419 (ICE in make_decl_rtl for "longest" c++ attribute)
PR c++/6419
* expr.c (expand_expr): Use DECL_RTL_SET_P.
From-SVN: r58254
Jan Hubicka [Thu, 17 Oct 2002 16:52:27 +0000 (18:52 +0200)]
re PR rtl-optimization/7630 (gcc 3.2 breaks on Mozilla 1.0's JS sources with -march=pentium4)
PR opt/7630
* reload.c (reload_inner_reg_of_subreg): New argument output;
(push_reload): Update call.
From-SVN: r58250
GCC Administrator [Thu, 17 Oct 2002 07:16:25 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r58240
Benjamin Kosnik [Thu, 17 Oct 2002 02:04:18 +0000 (02:04 +0000)]
[multiple changes]
2002-10-16 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.h (__timepunct::__timepunct): Allocate
_M_name_timepunct.
(__timepunct::~__timepunct): Deallocate, remove specialization
declarations.
(messages::messages): Allocate _M_name_messages.
(messages::~messages): Deallocate.
(messages_byname): Same.
* config/locale/gnu/time_members.cc (__timepunct::~__timepunct):
Remove.
* config/locale/generic/time_members.cc (__timepunct::~__timepunct):
Remove.
* docs/html/install.html: Add eqs_MX, en_PH to required locales list.
2002-10-16 Benjamin Kosnik <bkoz@redhat.com>
* src/globals.cc (__gnu_cxx::c_locale_impl_compat): Add, alias to
c_locale_impl.
* testsuite/abi_check.cc (line_to_symbol_info): Collect size info.
* docs/html/abi.txt: Update.
2002-10-16 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/22_locale/static_members.cc (test02): Less provincial.
2002-10-16 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/22_locale/static_members.cc (test02): Disable for
systems without named locale support.
* testsuite/22_locale/ctor_copy_dtor.cc (test04): Don't assume
running the testsuites in "C" environment.
Add new tests.
* docs/html/22_locale/locale.html: Update.
2002-10-16 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/abi_check.cc (hash<string>): Specialize.
Simplify. Check compatible symbol versions.
* config/linker-map.gnu: Clarify, explicitly export
std::codecvt::c* symbols.
* testsuite/22_locale/static_members.cc (test02): Avoid null strings.
2002-10-16 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/22_locale/static_members.cc (test02): Fix.
2002-10-16 Benjamin Kosnik <bkoz@redhat.com>
* acconfig.h (_GLIBCPP_SYMVER): Add.
(_GLIBCPP_ASM_SYMVER): Add.
* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Define _GLIBCPP_SYMVER.
* aclocal.m4: Regenerate.
* config.h.in: Regenerate.
* configure: Regenerate.
* include/bits/c++config (_GLIBCPP_AT_AT): Define, as an expedient
hack around m4 issues with quoting '@'.
* src/locale.cc: Use _GLIBCPP_ASM_SYMVER.
* src/globals.cc (__gnu_cxx): Same.
* testsuite/22_locale/ctor_copy_dtor.cc (test04): Fix for
2002-10-16 Benjamin Kosnik <bkoz@redhat.com>
* config/linker-map.gnu (GLIBCPP_3.2.1): Add.
(GLIBCPP_3.2): Don't export locale::_S_*.
* src/ios.cc: Move globals into __gnu_cxx. Make old exported
symbols match.
* src/locale.cc: Same.
* src/localename.cc: Same.
2002-10-16 Benjamin Kosnik <bkoz@redhat.com>
* src/locale.cc: Fix comments, move ctors together.
* testsuite/22_locale/static_members.cc (test03): Add.
2002-10-16 Paolo Carlini <pcarlini@unitus.it>
Benjamin Kosnik <bkoz@redhat.com>
* include/bits/localefwd.h (class locale): Add static member
_S_num_extra_categories, encoding the number of additional
categories.
Change _S_num_categories to _S_categories_size.
(class locale::_Impl): Add _M_c_cats.
(class locale::_Impl::_M_names): Change to array of chars.
(class locale::_Impl::_M_check_same_name): Use
_S_extra_categories_size, tweak.
(locale::locale(const locale&, _Facet*)): Ditto.
* src/locale.cc (locale::locale(const char* )): Rewrite to deal
with the environment in a POSIX-compliant way while being thread
safe.
(locale::name()): Update to output POSIX environment strings.
* src/localename.cc
(locale::_Impl::_Impl(const _Impl&, size_t): Use
_S_categories_size_*, tweak.
(locale::_Impl::_Impl(facet**, size_t, bool)): Ditto.
(locale::_Impl::_Impl(const char*, size_t)): Name each category
individually.
(locale::_Impl::_M_replace_categories): Use strcpy.
* include/bits/locale_facets.h (numpunct::_M_initialize_numpunct):
Change default argument to NULL from _S_c_locale.
(timepunct::_M_initialize_timepunct): Same.
_S_c_locale cleanups.
* src/codecvt.c: _S_c_locale simplification.
* src/ctype.c: Same.
* src/globals.cc: Add fake_name.
* src/locale-inst.cc: Remove extra includes.
* src/locale.cc: Remove extra includes.
Add _S_extra_categories_size definition.
Correct "C" initialization.
(locale::facet::facet): Don't initialize _S_c_locale.
(locale::facet::_M_remove_reference): Adjust.
* src/localename: Use facet_vec, facet_name.
(locale::_Impl::_Impl(facet** __f, size_t __refs, bool)): Set
facet ref counts to one. Initialize _S_c_locale.
(locale::_Impl::_M_install_facet(id*, facet*)): Adjust facet ref
counts when installing unilaterally.
* config/locale/generic/c_locale.cc: Add _S_categories definition.
* config/locale/generic/c_locale.h: Add _GLIBCPP_NUM_CATEGORIES macro.
* config/locale/generic/time_members.cc: _S_c_locale cleanup.
* config/locale/gnu/c_locale.cc: Add _S_categories definition.
(_S_destroy_c_locale): Move checks against _S_c_locale here.
* config/locale/gnu/c_locale.h: Add _GLIBCPP_NUM_CATEGORIES macro.
* config/locale/gnu/ctype_members.cc: Simplify _S_destroy_c_locale
calls, _S_c_locale usage.
* config/locale/gnu/monetary_members.cc: Same, tweaks.
* config/locale/gnu/monetary_members.cc: Same.
* config/locale/gnu/time_members.cc: Same.
* config/os/gnu-linux/ctype_noninline.h: Use locale::classic().
* docs/html/22_locale/locale.html: Add bits about global locales
and "C" setlocale.
* testsuite/22_locale/facet.cc (test02): Add.
* testsuite/22_locale/static_members.cc (test02): Add.
* testsuite/22_locale/ctor_copy_dtor.cc (test04): Add.
From-SVN: r58233
Mark Mitchell [Thu, 17 Oct 2002 00:15:39 +0000 (00:15 +0000)]
re PR c++/7478 (internal compiler error on static_cast inside template)
PR c++/7478
* cvt.c (convert_to_reference): Allow references as the incoming
type.
PR c++/7478
* g++.dg/template/ref1.C: New test.
From-SVN: r58229
Mark Mitchell [Wed, 16 Oct 2002 19:36:29 +0000 (19:36 +0000)]
re PR c++/8134 (ICE in force_store_init_value on legal code)
PR c++/8134.
* tree.c (zero_init_p): Always return 1.
PR c++/8134
* g++.dg/init/pm1.C: XFAIL it.
From-SVN: r58220
Mark Mitchell [Wed, 16 Oct 2002 18:53:29 +0000 (18:53 +0000)]
re PR c++/7524 ([Regression from GCC 2.95.3] f(const float arg[3]) fails)
PR c++/7524
* method.c (do_build_assign_ref): Use cp_build_qualified_type, not
build_qualified_type.
PR c++/7524
* g++.dg/init/array7.C: New test.
From-SVN: r58216
J"orn Rennecke [Wed, 16 Oct 2002 18:15:54 +0000 (18:15 +0000)]
calls.c (expand_call): Take current_function_pretend_args_size into account when...
* calls.c (expand_call): Take current_function_pretend_args_size
into account when setting argblock for sibcalls.
From-SVN: r58211
Jan Hubicka [Wed, 16 Oct 2002 17:45:27 +0000 (19:45 +0200)]
re PR target/7396 (ix86: cmpgt_ss, cmpge_ss, cmpngt_ss, and cmpnge_ss SSE intriniscs are broken)
PR target/7396
* i386.c (builtin_description):Drop cmpg[te]s[sd].
* xmmintrin.h (__mm_cmpg[te]_s[sd]): Rewrite using
swapped alternative.
From-SVN: r58210
GCC Administrator [Wed, 16 Oct 2002 07:16:26 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r58190
Jakub Jelinek [Tue, 15 Oct 2002 22:10:00 +0000 (00:10 +0200)]
* fold-const.c (fold): Fix a typo.
From-SVN: r58181
Ulrich Weigand [Tue, 15 Oct 2002 18:38:25 +0000 (18:38 +0000)]
re PR target/7370 (ICE in fixup_var_refs_1 on s390x)
PR target/7370
* gcc.c-torture/compile/
20021015 -1.c: New test.
PR target/8232
* gcc.c-torture/compile/
20021015 -2.c: New test.
From-SVN: r58174
Ulrich Weigand [Tue, 15 Oct 2002 18:34:36 +0000 (18:34 +0000)]
re PR target/7370 (ICE in fixup_var_refs_1 on s390x)
PR target/7370
* config/s390/s390.md ("*addsi3_inv"): New pattern.
PR target/8232
* config/s390/s390.md ("cmpstrsi"): Convert length operand
from SImode to Pmode.
From-SVN: r58171
Janis Johnson [Tue, 15 Oct 2002 16:16:58 +0000 (16:16 +0000)]
install.texi: Formatting changes for conformance to HTML 4.01.
2002-10-15 Janis Johnson <janis187@us.ibm.com>
* doc/install.texi: Formatting changes for conformance to HTML 4.01.
From-SVN: r58167
Ulrich Weigand [Tue, 15 Oct 2002 14:45:48 +0000 (14:45 +0000)]
* gcc.c-torture/execute/
20021015 -1.c: New test.
From-SVN: r58162
No Author [Tue, 15 Oct 2002 14:45:48 +0000 (14:45 +0000)]
This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.
From-SVN: r58161
Ulrich Weigand [Tue, 15 Oct 2002 14:42:52 +0000 (14:42 +0000)]
re PR rtl-optimization/7409 (loop optimization)
PR opt/7409
* loop.c (loop_regs_scan): Mark registers used for function
argument passing as MAY_NOT_OPTIMIZE.
From-SVN: r58160
GCC Administrator [Tue, 15 Oct 2002 07:16:23 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r58151
Neil Booth [Mon, 14 Oct 2002 21:55:26 +0000 (21:55 +0000)]
re PR preprocessor/7862 (Interrupting gcc -MD removes .d file but not .o)
2002-10-14 Neil Booth <neil@daikokuya.co.uk>
PR preprocessor/7862
PR preprocessor/8190
* gcc.c (cpp_unique_options): Don't delete .d files.
Remove stray whitespace.
From-SVN: r58140
Jakub Jelinek [Mon, 14 Oct 2002 21:24:25 +0000 (23:24 +0200)]
i386.h (ASM_OUTPUT_REG_PUSH, [...]): Handle TARGET_64BIT.
* config/i386/i386.h (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP):
Handle TARGET_64BIT.
* gcc.dg/
20021014 -1.c: New test.
From-SVN: r58138
No Author [Mon, 14 Oct 2002 21:24:25 +0000 (21:24 +0000)]
This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.
From-SVN: r58137
Mark Mitchell [Mon, 14 Oct 2002 21:04:33 +0000 (21:04 +0000)]
re PR rtl-optimization/6631 (Miscompiled structure access)
PR optimization/6631
* Makefile.in (function.o): Depend on langhooks.h.
* alias.c (objects_must_conflict_p): Check honor_readonly when
examining TYPE_READONLY.
* function.c (assign_stack_temp_for_type): Likewise.
PR optimization/6631
* g++.dg/opt/const2.C: New test.
From-SVN: r58134
Mark Mitchell [Mon, 14 Oct 2002 07:46:30 +0000 (07:46 +0000)]
re PR c++/7176 (g++ confused by friend and static member with same name)
PR c++/7176
* lex.c (do_identifier): Add another option for the parsing
parameter.
* parse.y (do_id): Use it.
PR c++/7176
* g++.dg/parse/friend1.C: New test.
* g++.old-deja/g++.pt/memtemp64.C: Adjust.
From-SVN: r58119
GCC Administrator [Mon, 14 Oct 2002 07:16:31 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r58111
GCC Administrator [Sun, 13 Oct 2002 07:16:23 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r58094
John David Anglin [Sat, 12 Oct 2002 18:08:37 +0000 (18:08 +0000)]
tree.c (tree_size): Revise expressions using TREE_CODE_LENGTH and TREE_VEC_LENGTH to ensure values...
* tree.c (tree_size): Revise expressions using TREE_CODE_LENGTH and
TREE_VEC_LENGTH to ensure values are promoted before doing subtraction.
From-SVN: r58089
GCC Administrator [Sat, 12 Oct 2002 07:16:22 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r58082
Janis Johnson [Sat, 12 Oct 2002 00:01:18 +0000 (00:01 +0000)]
compat.texi: Add info about C++ libraries.
2002-10-11 Janis Johnson <janis187@us.ibm.com>
* doc/compat.texi: Add info about C++ libraries.
From-SVN: r58076
Mark Mitchell [Fri, 11 Oct 2002 22:42:21 +0000 (22:42 +0000)]
re PR c++/5661 (Gcc 3.0.3 Seg faults compiling bad code)
PR c++/5661
* g++.dg/ext/vlm1.C: New test.
* g++.dg/ext/vlm2.C: Likewise.
PR c++/5661
* cp-tree.h (variably_modified_type_p): New function.
(grokdeclarator) Tighten check for variably modified types as
fields.
* pt.c (convert_template_argument): Do not allow variably modified
types as template arguments.
* tree.c (variably_modified_type_p): New function.
From-SVN: r58070
No Author [Fri, 11 Oct 2002 22:42:21 +0000 (22:42 +0000)]
This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.
From-SVN: r58069
Gabriel Dos Reis [Fri, 11 Oct 2002 20:20:47 +0000 (20:20 +0000)]
std_limits.h (__glibcpp_char_digits10): Fix Typo.
* include/std/std_limits.h (__glibcpp_char_digits10): Fix Typo.
(__glibcpp_char_digits10): Likewise.
From-SVN: r58061
Jason Molenda [Fri, 11 Oct 2002 18:10:59 +0000 (18:10 +0000)]
init.c (build_field_list): Provide uses_unions_p with a default value.
2002-10-11 Jason Molenda <jmolenda@apple.com>
* init.c (build_field_list): Provide uses_unions_p with a default
value.
From-SVN: r58057
Gabriel Dos Reis [Fri, 11 Oct 2002 18:05:43 +0000 (18:05 +0000)]
Leave diagnostics as is.
From-SVN: r58055
Gabriel Dos Reis [Fri, 11 Oct 2002 18:00:46 +0000 (18:00 +0000)]
PRs C++/6803, C++/7721 and C++/7803
PRs C++/6803, C++/7721 and C++/7803
* decl.c (grokdeclarator): Gracefully handle template-name as
decl-specifier.
From-SVN: r58054
Jonathan Lennox [Fri, 11 Oct 2002 08:15:58 +0000 (08:15 +0000)]
PR libstdc++/8071, libstdc++/8127, c++/6745
2002-10-10 Jonathan Lennox <lennox@cs.columbia.edu>
PR libstdc++/8071, libstdc++/8127, c++/6745
* streambuf.tcc (__copy_streambufs): Handle cases where
__sbin->in_avail() returns 0, or where __sbin doesn't set gptr().
* testsuite/27_io/ostream_inserter_other.cc (test05): Add.
From-SVN: r58049
GCC Administrator [Fri, 11 Oct 2002 07:16:26 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r58044
Jan Hubicka [Thu, 10 Oct 2002 17:48:51 +0000 (19:48 +0200)]
re PR target/5610 (Not clear how to get FP operations to use SSE)
PR target/5610
* invoke.texi (-msse-math): Kill
(-msse): Add note to mfpmath=sse.
From-SVN: r58020
Jan Hubicka [Thu, 10 Oct 2002 15:40:20 +0000 (17:40 +0200)]
re PR rtl-optimization/7951 (ICE on -march=pentium4 -O2 -mfpmath=sse)
PR ice/7951
* reload1.c (emit_input_reload_insns): Use constrain_operands
instead of constraint_accepts_reg_p to verify optimization.
(constraint_accepts_reg_p): Kill
From-SVN: r58016
Jan Hubicka [Thu, 10 Oct 2002 15:07:16 +0000 (17:07 +0200)]
re PR target/7723 (Internal compiler error - Pentium3 sse - gcc 3.2)
PR target/7723
* i386.c (ix86_expand_vector_move): Do not generate const0->mem moves.
From-SVN: r58013
GCC Administrator [Thu, 10 Oct 2002 07:16:22 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r58005
Zack Weinberg [Wed, 9 Oct 2002 21:31:03 +0000 (21:31 +0000)]
re PR c/7353 (Compiler dies on known working code (as of gcc 3.0))
PR c/7353
gcc:
* c-decl.c (start_decl): Unconditionally issue error for
'typedef foo = bar'.
(finish_decl): Remove special case for TYPE_DECL with initializer.
* doc/extend.texi: Delete "Naming Types" section. Change all
cross-references to that section to refer to "Typeof" instead.
Add the useful safe-max()-macro example from "Naming Types" to
"Typeof", rewritten using that extension.
gcc/cp:
* decl.c (start_decl): Unconditionally issue error for
'typedef foo = bar'.
(cp_finish_decl): Remove special case for TYPE_DECL with initializer.
(grokdeclarator): Remove redundant error for 'typedef foo = bar'.
gcc/testsuite:
* g++.dg/ext/typedef-init.C: New test.
* gcc.dg/typedef-init.c: New test.
From-SVN: r57997
No Author [Wed, 9 Oct 2002 21:31:03 +0000 (21:31 +0000)]
This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.
From-SVN: r57996
Richard Henderson [Wed, 9 Oct 2002 17:52:44 +0000 (10:52 -0700)]
i386.c (ix86_register_move_cost): Increase cost for secondary_memory_needed pairs.
* config/i386/i386.c (ix86_register_move_cost): Increase cost
for secondary_memory_needed pairs.
From-SVN: r57988
Jan Hubicka [Wed, 9 Oct 2002 17:12:26 +0000 (19:12 +0200)]
re PR rtl-optimization/7792 (ICE with -march=athlon-xp -O2)
PR opt/7912
PR opt/7390
* i386.c (athlon_cost): Fix the move costs.
From-SVN: r57986
GCC Administrator [Wed, 9 Oct 2002 07:16:25 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r57972
Alan Modra [Wed, 9 Oct 2002 00:33:12 +0000 (00:33 +0000)]
* libgcc2.c (__floatdisf): Properly cure double rounding.
From-SVN: r57967
Mark Mitchell [Tue, 8 Oct 2002 22:53:21 +0000 (22:53 +0000)]
re PR c++/7754 (ICE SIGSEGV on union with template parameter)
PR c++/7754
* decl2.c (finish_anon_union): Do not expand anonymous unions when
procesing template functions.
* pt.c (tsubst_decl, case VAR_DECL): Try to complete the variable
type. Call layout_decl.
(tsubst_expr, case DECL_STMT): Handle anonymous unions.
From-SVN: r57962
Gabriel Dos Reis [Tue, 8 Oct 2002 22:28:36 +0000 (22:28 +0000)]
re PR c++/7484 (warning with -Wmissing-declarations)
PR doc/7484
* doc/invoke.texi (Option Summary): List
-Wmissing-declarations as a C only option.
From-SVN: r57959
Jakub Jelinek [Tue, 8 Oct 2002 21:58:53 +0000 (23:58 +0200)]
t-linux64 (MULTILIB_OPTIONS): Remove mno-app-regs|mcmodel=medany.
2002-10-08 Jakub Jelinek <jakub@redhat.com>
* config/sparc/t-linux64 (MULTILIB_OPTIONS): Remove
mno-app-regs|mcmodel=medany.
(MULTILIB_DIRNAMES, MULTILIB_OSDIRNAMES): Remove alt.
(MULTILIB_EXCEPTIONS, MULTILIB_EXCLUSIONS, MULTILIB_MATCHES): Remove.
(CRTSTUFF_T_CFLAGS): Define.
From-SVN: r57955
GCC Administrator [Tue, 8 Oct 2002 07:16:22 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r57914
Kaveh R. Ghazi [Mon, 7 Oct 2002 20:47:05 +0000 (20:47 +0000)]
* Makefile.in (CFLAGS_FOR_TARGET): Add -O2.
From-SVN: r57905
Richard Henderson [Mon, 7 Oct 2002 09:54:27 +0000 (02:54 -0700)]
* decl2.c: Complete reversion of c++/7754.
From-SVN: r57896
Eric Botcazou [Mon, 7 Oct 2002 07:39:20 +0000 (09:39 +0200)]
re PR c/7411 (cistore.c:392: Internal compiler error in instantiate_virtual_regs_1, at function.c:3974)
PR c/7411
* expr.c (expand_expr) [PLUS]: Simplify after the operands
have been expanded in EXPAND_NORMAL mode.
Co-Authored-By: Volker Reichelt <reichelt@igpm.rwth-aachen.de>
From-SVN: r57884
No Author [Mon, 7 Oct 2002 07:39:20 +0000 (07:39 +0000)]
This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.
From-SVN: r57883
GCC Administrator [Mon, 7 Oct 2002 07:18:06 +0000 (07:18 +0000)]
Daily bump.
From-SVN: r57877
Kaveh R. Ghazi [Mon, 7 Oct 2002 04:37:05 +0000 (04:37 +0000)]
Makefile.am (all-multi): Fix multilib parallel build.
boehm-gc:
* Makefile.am (all-multi): Fix multilib parallel build.
libf2c:
* Makefile.in (all): Fix multilib parallel build.
libffi:
* Makefile.am (all-multi): Fix multilib parallel build.
libiberty:
* Makefile.in (all): Fix multilib parallel build.
libjava:
* Makefile.am (all-multi): Fix multilib parallel build.
libobjc:
* Makefile.in (all): Fix multilib parallel build.
libstdc++-v3:
* Makefile.am (all-multi): Fix multilib parallel build.
zlib:
* Makefile.am (all-multi): Fix multilib parallel build.
From-SVN: r57874
Richard Henderson [Mon, 7 Oct 2002 04:21:05 +0000 (21:21 -0700)]
* config/rs6000/rs6000.md (load_toc_v4_PIC_2): Fix base constraint.
From-SVN: r57872
Roger Sayle [Sun, 6 Oct 2002 23:02:12 +0000 (23:02 +0000)]
re PR rtl-optimization/6627 (-fno-align-functions regression from 2.95)
PR optimization/6627
* toplev.c (force_align_functions_log): New global variable.
* flags.h (force_align_functions_log): Add extern prototype.
* varasm.c (assemble_start_function): Use it to force minimum
function alignment.
* config/i386/i386.h (FUNCTION_BOUNDARY): Set the correct
minimum function alignment to one byte.
(TARGET_PTRMEMFUNC_VBIT_LOCATION): Store the virtual bit in
the least significant bit of vtable member function pointers.
* tree.h (enum ptrmemfunc_vbit_where_t): Move definition to
here from cp/cp-tree.h.
* cp/cp-tree.h (enum ptrmemfunc_vbit_where_t): Delete definition
from here, and move it to tree.h.
* cp/decl.c (cxx_init_decl_processing): If storing the vbit
in function pointers, ensure that force_align_functions_log
is atleast one.
* java/lang.c (java_init): If storing the vbit in function
pointers, ensure that force_align_functions_log is atleast
one to aid compatability with g++ vtables.
From-SVN: r57869
Neil Booth [Sun, 6 Oct 2002 09:46:45 +0000 (09:46 +0000)]
* gcc.dg/cpp/_Pragma4.c: New test.
From-SVN: r57863