]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
20 years agore PR rtl-optimization/17728 (ICE in extract_insn, at recog.c:2083, unrecognizable...
John David Anglin [Sun, 27 Feb 2005 17:14:31 +0000 (17:14 +0000)] 
re PR rtl-optimization/17728 (ICE in extract_insn, at recog.c:2083, unrecognizable insn)

PR rtl-optimization/17728
* pa.md (mulsi3, divsi3, udivsi3, modsi3): Change predicate for
operand 0 from general_operand to move_dest_operand.

From-SVN: r95620

20 years agoDaily bump.
GCC Administrator [Sun, 27 Feb 2005 00:16:23 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r95599

20 years agoextend.texi (5.24 Declaring Attributes of Functions): Clarify that the alternative...
Paolo Carlini [Sat, 26 Feb 2005 22:17:26 +0000 (22:17 +0000)] 
extend.texi (5.24 Declaring Attributes of Functions): Clarify that the alternative way doesn't work in GNU C++.

2005-02-26  Paolo Carlini  <pcarlini@suse.de>

* doc/extend.texi (5.24 Declaring Attributes of Functions)<noreturn>:
Clarify that the alternative way doesn't work in GNU C++.

From-SVN: r95595

20 years agoDaily bump.
GCC Administrator [Sat, 26 Feb 2005 00:16:28 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r95564

20 years agobackport: re PR target/19019 (GCC ldouble format incompatibility with XLC long double)
David Edelsohn [Fri, 25 Feb 2005 16:41:56 +0000 (16:41 +0000)] 
backport: re PR target/19019 (GCC ldouble format incompatibility with XLC long double)

        Backport from mainline:
        2005-02-24  David Edelsohn  <edelsohn@gnu.org>
        PR target/19019
        * reload.c (operands_match_p): Only increment register number for
        SCALAR_INT_MODE_P modes in multiple hard registers.
        * config/rs6000/rs6000.md (trunctfdf2): Remove register constraints.
        Fix formatting.

From-SVN: r95536

20 years agoDaily bump.
GCC Administrator [Fri, 25 Feb 2005 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r95522

20 years agore PR target/19019 (GCC ldouble format incompatibility with XLC long double)
Jakub Jelinek [Thu, 24 Feb 2005 09:26:59 +0000 (10:26 +0100)] 
re PR target/19019 (GCC ldouble format incompatibility with XLC long double)

PR target/19019
* Makefile.in (LIB2FUNCS_SHARED_EXTRA, LIB2ADD_SH): New.
(libgcc.mk): Depend on $(LIB2ADD_SH), pass LIB2ADD_SH to mklibgcc.
(LIBGCC_DEPS): Add $(LIB2ADD_SH).
* mklibgcc.in: Handle LIB2ADD_SH.
* config/rs6000/t-linux64 (LIB2FUNCS_EXTRA): Remove darwin-ldouble.c.
(LIB2FUNCS_STATIC_EXTRA, LIB2FUNCS_SHARED_EXTRA): Set.
* config/rs6000/darwin-ldouble.c: Protect .symver asm also with
defined IN_LIBGCC2_S.
* config/rs6000/darwin-ldouble-shared.c: New file.

From-SVN: r95495

20 years agoDaily bump.
GCC Administrator [Thu, 24 Feb 2005 00:16:17 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r95479

20 years agore PR target/20159 (sol2-ci.asm not correctly assembled)
Michael Beach [Wed, 23 Feb 2005 11:55:02 +0000 (11:55 +0000)] 
re PR target/20159 (sol2-ci.asm not correctly assembled)

PR target/20159
* config/sparc/t-elf (startup files): Assemble with CPP.

From-SVN: r95451

20 years agoDaily bump.
GCC Administrator [Wed, 23 Feb 2005 00:16:12 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r95424

20 years agore PR libgcj/19823 (java fails with non-executable memory)
Bryce McKinlay [Tue, 22 Feb 2005 19:00:38 +0000 (19:00 +0000)] 
re PR libgcj/19823 (java fails with non-executable memory)

2005-02-22  Bryce McKinlay  <mckinlay@redhat.com>

        PR libgcj/19823
        * configure.host: Set gc_use_mmap on *-linux*.
        * configure.in: Define USE_MMAP if gc_use_mmap is set.
        * configure: Rebuilt.

From-SVN: r95407

20 years agoDaily bump.
GCC Administrator [Tue, 22 Feb 2005 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r95362

20 years agore PR c++/20028 (class and then template class gives an ICE)
Alexandre Oliva [Mon, 21 Feb 2005 21:11:51 +0000 (21:11 +0000)] 
re PR c++/20028 (class and then template class gives an ICE)

gcc/cp/ChangeLog:
PR c++/20028
* class.c (finish_struct): Initialize TYPE_SIZE_UNIT of a
template along with TYPE_SIZE.
gcc/testsuite/ChangeLog:
PR c++/20028
* g++.dg/template/crash34.C: New.

From-SVN: r95350

20 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Mon, 21 Feb 2005 21:11:51 +0000 (21:11 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_4-branch'.

From-SVN: r95349

20 years agoDaily bump.
GCC Administrator [Mon, 21 Feb 2005 00:16:13 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r95313

20 years agore PR libstdc++/19955 (Second std::ctype<char>::narrow() does not call std::ctype...
Paolo Carlini [Sun, 20 Feb 2005 17:14:46 +0000 (17:14 +0000)] 
re PR libstdc++/19955 (Second std::ctype<char>::narrow() does not call std::ctype<char>::do_narrow())

2005-02-20  Paolo Carlini  <pcarlini@suse.de>
    Jon Grimm  <jgrimm2@us.ibm.com>

PR libstdc++/19955
* include/bits/locale_facets.h (ctype<char>::_M_narrow_init()):
Fix the logic setting _M_narrow_ok: first check whether the
transformation is trivial with a dflt == 0, then deal with the
special case of zero.
* testsuite/22_locale/ctype/narrow/char/19955.cc: New.

* include/bits/locale_facets.h (ctype<char>::_M_widen_init()):
Tweak consistently to use memcmp; minor formatting fixes.

Co-Authored-By: Jon Grimm <jgrimm2@us.ibm.com>
From-SVN: r95305

20 years agoDaily bump.
GCC Administrator [Sun, 20 Feb 2005 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r95294

20 years agoDaily bump.
GCC Administrator [Sat, 19 Feb 2005 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r95251

20 years agopthread1.cc: Do not invoke pthread_setconcurrency on Solaris 2.6 and below.
Eric Botcazou [Fri, 18 Feb 2005 11:54:55 +0000 (12:54 +0100)] 
pthread1.cc: Do not invoke pthread_setconcurrency on Solaris 2.6 and below.

* testsuite/thread/pthread1.cc: Do not invoke pthread_setconcurrency
on Solaris 2.6 and below.
* testsuite/thread/pthread2.cc: Likewise.
* testsuite/thread/pthread3.cc: Likewise.
* testsuite/thread/pthread4.cc: Likewise.
* testsuite/thread/pthread5.cc: Likewise.
* testsuite/thread/pthread6.cc: Likewise.
* testsuite/thread/pthread7-rope.cc: Likewise.

From-SVN: r95221

20 years agoDaily bump.
GCC Administrator [Fri, 18 Feb 2005 00:16:19 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r95209

20 years agoinstall.texi (Specific): Update link for Darwin-specific tool binary site.
Gerald Pfeifer [Thu, 17 Feb 2005 04:21:04 +0000 (04:21 +0000)] 
install.texi (Specific): Update link for Darwin-specific tool binary site.

* doc/install.texi (Specific): Update link for Darwin-specific
tool binary site.

From-SVN: r95148

20 years agoFiles missed by last commit.
David Edelsohn [Thu, 17 Feb 2005 00:36:46 +0000 (19:36 -0500)] 
Files missed by last commit.

From-SVN: r95134

20 years agore PR target/19019 (GCC ldouble format incompatibility with XLC long double)
David Edelsohn [Thu, 17 Feb 2005 00:34:42 +0000 (00:34 +0000)] 
re PR target/19019 (GCC ldouble format incompatibility with XLC long double)

        PR target/19019
        Backport from mainline:
        2005-02-16  David Edelsohn  <edelsohn@gnu.org>
        * config/rs6000/t-aix43 (SHLIB_MAPFILES): Add libgcc-ppc64.ver.
        * config/rs6000/t-aix52 (SHLIB_MAPFILES): Same.
        2005-02-15  David Edelsohn  <edelsohn@gnu.org>
                    Alan Modra  <amodra@bigpond.net.au>
        * config/rs6000/darwin-ldouble.c (_xlqadd): Rename to __gcc_qadd.
        (_xlqsub): Rename to __gcc_qsub.
        (_xlqmul): Rename to __gcc_qmul.
        (_xlqdiv): Rename to __gcc_qdiv.
        Provide versioned symbol aliases with old names.
        * config/rs6000/libgcc-ppc64.ver: Rename symbols.
        * config/rs6000/rs6000.c (rs6000_init_libfuncs): Rename symbols.
        * config/rs6000/t-aix43 (LIB2FUNCS_EXTRA): New.
        * config/rs6000/t-aix52 (LIB2FUNCS_EXTRA): New.
        * config/rs6000/t-newas (LIB2FUNCS_EXTRA): New.
        2005-02-14  David Edelsohn  <edelsohn@gnu.org>
        * config/rs6000/rs6000.md (trunctfdf2): Change to define_expand.
        (trunctfdf2_internal1): New.
        (trunctfdf2_internal2): Renamed from trunctfdf2.
        2005-02-13  David Edelsohn  <edelsohn@gnu.org>
        * config/rs6000/aix.h ({TARGET,MASK}_XL_CALL): Rename to
        {TARGET,MASK}_XL_COMPAT.
        (SUBTARGET_SWITCHES): Rename xl-call to xl-compat.  Use
        MASK_XL_COMPAT.
        * config/rs6000/beos.h ({TARGET,MASK}_XL_CALL): Remove.
        * config/rs6000/rs6000.c (function_arg): Change TARGET_XL_CALL to
        TARGET_XL_COMPAT.
        (rs6000_arg_partial_bytes): Same.
        (rs6000_generate_compare): Generate PARALLEL for compare if TFmode
        and XL compatibility enabled.
        * config/rs6000/rs6000.h (TARGET_XL_CALL): Rename to TARGET_XL_COMPAT.
        * config/rs6000/rs6000.md (cmptf_internal1): Add !TARGET_XL_COMPAT
        test to final condition.
        (cmptf_internal2): New.
        * doc/invoke.texi (RS/6000 Subtarget Options): Change xl-call to
        xl-compat.  Add TFmode information to description.

From-SVN: r95133

20 years agoDaily bump.
GCC Administrator [Thu, 17 Feb 2005 00:18:38 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r95128

20 years agore PR preprocessor/19077 (Internal compiler error compiling MPlayer)
Eric Christopher [Wed, 16 Feb 2005 23:07:47 +0000 (23:07 +0000)] 
re PR preprocessor/19077 (Internal compiler error compiling MPlayer)

2005-02-16  Eric Christopher  <echristo@redhat.com>

PR preprocessor/19077
* gcc.dg/cpp/20050215-1.c: New file.

2005-02-16  Eric Christopher  <echristo@redhat.com>

PR preprocessor/19077
* cppmacro.c (cpp_macro_definition): Move handling of whitespace
        to PREV_WHITE conditional. Remove overloading of len
        variable.

From-SVN: r95123

20 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Wed, 16 Feb 2005 23:07:47 +0000 (23:07 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_4-branch'.

From-SVN: r95122

20 years agore PR target/19715 (init_priority is disabled)
Eric Botcazou [Wed, 16 Feb 2005 21:58:43 +0000 (22:58 +0100)] 
re PR target/19715 (init_priority is disabled)

PR target/19715
* config.gcc (sparc-*-elf*): Include sparc/sol2-gld.h.
(sparc-*-rtems*): Likewise.
(sparclite-*-elf*): Likewise.
(sparc86x-*-elf*): Likewise.
(sparc64-*-elf*): Likewise.

From-SVN: r95120

20 years agore PR libstdc++/19829 (cris-elf testsuite failure: 21_strings/basic_string/find/char...
Paolo Carlini [Wed, 16 Feb 2005 11:12:43 +0000 (11:12 +0000)] 
re PR libstdc++/19829 (cris-elf testsuite failure: 21_strings/basic_string/find/char/3.cc execution test)

2005-02-16  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/19829
* testsuite/21_strings/basic_string/find/char/3.cc: Fix the test
at line #66 to not access str_lit01 beyond its end.
* testsuite/21_strings/basic_string/find/wchar_t/3.cc: Likewise.

From-SVN: r95104

20 years agoDaily bump.
GCC Administrator [Wed, 16 Feb 2005 00:16:45 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r95083

20 years agoDaily bump.
GCC Administrator [Tue, 15 Feb 2005 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r95053

20 years agore PR libstdc++/19946 (cris-elf testsuite failure: demangle/abi_examples/01.cc and 02)
Jakub Jelinek [Tue, 15 Feb 2005 00:09:51 +0000 (01:09 +0100)] 
re PR libstdc++/19946 (cris-elf testsuite failure: demangle/abi_examples/01.cc and 02)

PR libstdc++/19946
* testsuite/demangle/abi_examples/01.cc (main): Adjust for 2005-02-13
demangler change.
* testsuite/demangle/abi_examples/02.cc (main): Likewise.

From-SVN: r95052

20 years agodecl.c (reshape_init): Use explicit quotes in error message instead of %q.
Mark Mitchell [Mon, 14 Feb 2005 19:00:27 +0000 (19:00 +0000)] 
decl.c (reshape_init): Use explicit quotes in error message instead of %q.

* decl.c (reshape_init): Use explicit quotes in error message
instead of %q.

From-SVN: r95037

20 years agoDaily bump.
GCC Administrator [Mon, 14 Feb 2005 00:16:41 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r94997

20 years agocp-demangle.c (__cxa_demangle): Change resolution of ambiguous arguments.
Jason Merrill [Sun, 13 Feb 2005 07:21:41 +0000 (02:21 -0500)] 
cp-demangle.c (__cxa_demangle): Change resolution of ambiguous arguments.

        * cp-demangle.c (__cxa_demangle): Change resolution of ambiguous
        arguments.

From-SVN: r94981

20 years agoDaily bump.
GCC Administrator [Sun, 13 Feb 2005 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r94947

20 years agore PR c++/14479 (enum definition in template class with template methods causes error.)
Kriang Lerdsuwanakij [Sat, 12 Feb 2005 16:29:20 +0000 (16:29 +0000)] 
re PR c++/14479 (enum definition in template class with template methods causes error.)

PR c++/14479
PR c++/19487
* pt.c (maybe_check_template_type): Remove.
* cp-tree.h (maybe_check_template_type): Remove prototype.
* name-lookup.c (maybe_process_template_type_declaration): Don't
use maybe_check_template_type.

* g++.dg/template/enum5.C: New test.

From-SVN: r94944

20 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Sat, 12 Feb 2005 16:29:20 +0000 (16:29 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_4-branch'.

From-SVN: r94943

20 years agoDaily bump.
GCC Administrator [Sat, 12 Feb 2005 00:16:43 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r94905

20 years agore PR middle-end/19697 (gcc.c-torture/execute/ieee/mzero6.c:24: error: unrecognizable...
John David Anglin [Fri, 11 Feb 2005 22:10:33 +0000 (22:10 +0000)] 
re PR middle-end/19697 (gcc.c-torture/execute/ieee/mzero6.c:24: error: unrecognizable insn)

        PR middle-end/19697
2005-01-30  Roger Sayle  <roger@eyesopen.com>
        * config/pa/pa.md (anddi3, iordi3): On HPPA64, disallow an integer
        constant as the second operand and a register as the third.

From-SVN: r94897

20 years agore PR c++/19666 (Trouble with prt-to-members: rejects-valid/ICE in fold_convert)
Jakub Jelinek [Fri, 11 Feb 2005 21:12:56 +0000 (22:12 +0100)] 
re PR c++/19666 (Trouble with prt-to-members: rejects-valid/ICE in fold_convert)

PR c++/19666
2004-06-08  Andrew Pinski  <pinskia@physics.uc.edu>
* fold-const.c (fold_convert): Treat OFFSET_TYPE like
POINTER_TYPE and INTEGER_TYPE.

* gcc/testsuite/g++.dg/other/ptrmem6.C: New test.

From-SVN: r94895

20 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Fri, 11 Feb 2005 21:12:56 +0000 (21:12 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_4-branch'.

From-SVN: r94894

20 years agore PR c++/19666 (Trouble with prt-to-members: rejects-valid/ICE in fold_convert)
Jakub Jelinek [Fri, 11 Feb 2005 21:12:48 +0000 (22:12 +0100)] 
re PR c++/19666 (Trouble with prt-to-members: rejects-valid/ICE in fold_convert)

PR c++/19666
2004-06-08  Andrew Pinski  <pinskia@physics.uc.edu>
* fold-const.c (fold_convert): Treat OFFSET_TYPE like
POINTER_TYPE and INTEGER_TYPE.

* gcc/testsuite/g++.dg/other/ptrmem6.C: New test.

[[Split portion of a mixed commit.]]

From-SVN: r94893.1

20 years agosysv4.h (ENDFILE_LINUX_SPEC): Use crtendS.o instead of crtend.o if -pie.
Jakub Jelinek [Fri, 11 Feb 2005 21:06:45 +0000 (22:06 +0100)] 
sysv4.h (ENDFILE_LINUX_SPEC): Use crtendS.o instead of crtend.o if -pie.

* config/rs6000/sysv4.h (ENDFILE_LINUX_SPEC): Use crtendS.o instead of
crtend.o if -pie.  Use %{x:a;:b} spec syntax.

From-SVN: r94891

20 years agore PR c++/19755 (-Wmissing-braces doesn't warn anymore)
Mark Mitchell [Fri, 11 Feb 2005 17:20:01 +0000 (17:20 +0000)] 
re PR c++/19755 (-Wmissing-braces doesn't warn anymore)

PR c++/19755
* decl.c (reshape_init): Issue warnings about missing braces.

PR c++/19755
* g++.dg/warn/Wbraces1.C: New test.

From-SVN: r94884

20 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Fri, 11 Feb 2005 17:20:01 +0000 (17:20 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_4-branch'.

From-SVN: r94883

20 years agoDaily bump.
GCC Administrator [Fri, 11 Feb 2005 00:17:07 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r94861

20 years agore PR rtl-optimization/19579 (-march=i686 generates a bogus program for x86*)
Jakub Jelinek [Thu, 10 Feb 2005 17:11:11 +0000 (18:11 +0100)] 
re PR rtl-optimization/19579 (-march=i686 generates a bogus program for x86*)

PR rtl-optimization/19579
* ifcvt.c (noce_try_cmove_arith): If emitting instructions to set up
both A and B, see if they don't clobber registers the other expr uses.

* gcc.c-torture/execute/20050124-1.c: New test.

From-SVN: r94835

20 years ago* parser.c (cp_parser_unqualified_id): Initialize type_decl.
Mark Mitchell [Thu, 10 Feb 2005 04:40:32 +0000 (04:40 +0000)] 
* parser.c (cp_parser_unqualified_id): Initialize type_decl.

From-SVN: r94796

20 years agore PR c++/19787 (Internal compiler error with ambiguous conversion functions)
Mark Mitchell [Thu, 10 Feb 2005 01:10:11 +0000 (01:10 +0000)] 
re PR c++/19787 (Internal compiler error with ambiguous conversion functions)

PR c++/19787
* call.c (initialize_reference): Robustify.

PR c++/19762
* parser.c (cp_parser_unqualified_id): Avoid creating destructor
names with invalid types.

PR c++/19739
* parser.c (cp_parser_attributes_list): Allow empty lists.

PR c++/19787
* g++.dg/conversion/ambig1.C: New test.

PR c++/19739
* g++.dg/ext/attrib19.C: New test.

PR c++/19762
* g++.dg/template/dtor3.C: New test.

From-SVN: r94791

20 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Thu, 10 Feb 2005 01:10:11 +0000 (01:10 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_4-branch'.

From-SVN: r94790

20 years agoDaily bump.
GCC Administrator [Thu, 10 Feb 2005 00:16:34 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r94781

20 years agore PR c++/19733 (ICE on invalid destructor call)
Mark Mitchell [Wed, 9 Feb 2005 02:21:36 +0000 (02:21 +0000)] 
re PR c++/19733 (ICE on invalid destructor call)

PR c++/19733
* cvt.c (convert_to_void): Issue errors about pseudo-destructor
expressions.

PR c++/19733
* g++.dg/parse/crash23.C: New test.

From-SVN: r94758

20 years agoDaily bump.
GCC Administrator [Wed, 9 Feb 2005 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r94749

20 years ago* config/linker-map.gnu (GLIBCXX_3.4): Add _ZNSdC* and _ZNSdD*.
Mark Mitchell [Tue, 8 Feb 2005 18:44:32 +0000 (18:44 +0000)] 
* config/linker-map.gnu (GLIBCXX_3.4): Add _ZNSdC* and _ZNSdD*.

From-SVN: r94741

20 years agoDaily bump.
GCC Administrator [Tue, 8 Feb 2005 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r94723

20 years agore PR target/19803 (__builtin_expect does not modify branch prediction for power4/5)
Alan Modra [Mon, 7 Feb 2005 21:18:31 +0000 (21:18 +0000)] 
re PR target/19803 (__builtin_expect does not modify branch prediction for power4/5)

PR target/19803
* predict.c (PROB_VERY_UNLIKELY): Use 1% instead of 10%.

From-SVN: r94716

20 years agoRemove blank line.
Eric Botcazou [Mon, 7 Feb 2005 18:15:07 +0000 (18:15 +0000)] 
Remove blank line.

From-SVN: r94708

20 years agot-rtems (MULTILIB_MATCHES): Let m528x match m5200.
Ralf Corsepius [Mon, 7 Feb 2005 05:40:55 +0000 (06:40 +0100)] 
t-rtems (MULTILIB_MATCHES): Let m528x match m5200.

2005-02-07  Ralf Corsepius  <ralf.corsepius@rtems.org>

* config/m68k/t-rtems (MULTILIB_MATCHES): Let m528x match m5200.

From-SVN: r94692

20 years agore PR middle-end/19775 (sqrt(pow(x,y)) != pow(x,y*0.5) (with -ffast-math))
Richard Guenther [Thu, 3 Feb 2005 17:47:33 +0000 (17:47 +0000)] 
re PR middle-end/19775 (sqrt(pow(x,y)) != pow(x,y*0.5) (with -ffast-math))

PR middle-end/19775

* builtins.c (fold_builtin_sqrt): Transform sqrt(pow(x,y))
to pow(fabs(x),y*0.5), not pow(x,y*0.5).

* gcc.dg/builtins-10.c: Disable test for invalid transformation
and one test we no longer optimize.
* gcc.dg/builtins-47.c: New testcase.

From-SVN: r94665

20 years agoDaily bump.
GCC Administrator [Thu, 3 Feb 2005 00:16:11 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r94637

20 years agore PR libstdc++/19642 (streaming doubles is very slow compared to sprintf)
Paolo Carlini [Wed, 2 Feb 2005 16:46:40 +0000 (16:46 +0000)] 
re PR libstdc++/19642 (streaming doubles is very slow compared to sprintf)

2005-02-02  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/19642
* config/locale/generic/c_locale.h (__convert_from_v): Switch only
LC_NUMERIC, and only when actually != "C".

From-SVN: r94593

20 years agoDaily bump.
GCC Administrator [Wed, 2 Feb 2005 00:16:16 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r94571

20 years agore PR target/16201 (Assembler messages:Error: bad immediate value for offset (4116))
Richard Earnshaw [Tue, 1 Feb 2005 15:07:02 +0000 (15:07 +0000)] 
re PR target/16201 (Assembler messages:Error: bad immediate value for offset (4116))

PR target/16201
* arm.c (arm_eliminable_register): New function.
(adjacent_mem_locations): Don't allow eliminable registers.  Use
HOST_WIDE_INT for address offsets.
* arm-protos.h (arm_eliminable_register): Add prototype.

From-SVN: r94541

20 years agore PR c++/18757 (ICE (on invalid) in get_innermost_template_args)
Alexandre Oliva [Tue, 1 Feb 2005 07:04:00 +0000 (07:04 +0000)] 
re PR c++/18757 (ICE (on invalid) in get_innermost_template_args)

gcc/cp/ChangeLog:
PR c++/18757
PR c++/19366
PR c++/19499
* parser.c (cp_parser_template_id): Revert 2004-12-09's patch.
Issue an error when creating the template id.
* pt.c (fn_type_unification): Return early if the explicit
template arg list is an error_mark_node.
gcc/testsuite/ChangeLog:
* g++.dg/parse/typename7.C: Adjust error messages.

From-SVN: r94528

20 years agocrossconfig.m4: Repair Solaris cross bits for strtold and strtof.
Brad Spencer [Tue, 1 Feb 2005 06:31:23 +0000 (06:31 +0000)] 
crossconfig.m4: Repair Solaris cross bits for strtold and strtof.

2005-01-31  Brad Spencer  <spencer@infointeractive.com>

        * crossconfig.m4: Repair Solaris cross bits for strtold and strtof.
        * configure: Regenerated.

From-SVN: r94522

20 years agoDaily bump.
GCC Administrator [Tue, 1 Feb 2005 00:16:10 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r94507

20 years agodwarf2out.c (scope_die_for): If the containing scope is a TRANSLATION_UNIT_DECL,...
Daniel Jacobowitz [Mon, 31 Jan 2005 23:19:34 +0000 (23:19 +0000)] 
dwarf2out.c (scope_die_for): If the containing scope is a TRANSLATION_UNIT_DECL, consider it to be a global.

2004-09-22  Mark Mitchell  <mark@codesourcery.com>
* gcc/dwarf2out.c (scope_die_for): If the containing scope is a
TRANSLATION_UNIT_DECL, consider it to be a global.

From-SVN: r94504

20 years agoDaily bump.
GCC Administrator [Mon, 31 Jan 2005 00:16:14 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r94455

20 years agoDaily bump.
GCC Administrator [Sun, 30 Jan 2005 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r94415

20 years agounwind-dw2.c (execute_stack_op): Add missing cases for DW_OP_shl, DW_OP_shr, DW_OP_sh...
Alan Modra [Sat, 29 Jan 2005 11:23:09 +0000 (11:23 +0000)] 
unwind-dw2.c (execute_stack_op): Add missing cases for DW_OP_shl, DW_OP_shr, DW_OP_shra, DW_OP_xor.

* unwind-dw2.c (execute_stack_op): Add missing cases for
DW_OP_shl, DW_OP_shr, DW_OP_shra, DW_OP_xor.

From-SVN: r94405

20 years agoDaily bump.
GCC Administrator [Sat, 29 Jan 2005 00:16:22 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r94397

20 years agore PR target/15384 (Lines witout effect in t-m68hc11-gas file)
Stephane Carrez [Fri, 28 Jan 2005 22:18:27 +0000 (23:18 +0100)] 
re PR target/15384 (Lines witout effect in t-m68hc11-gas file)

PR target/15384
* config/m68hc11/t-m68hc11-gas (dp-bit.c): Fix typo causing a
configuration part of dp-bit.c to be lost.

From-SVN: r94392

20 years agoDaily bump.
GCC Administrator [Fri, 28 Jan 2005 00:16:14 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r94352

20 years agore PR target/17771 (-O2 -mmvcle: internal compiler error: in spill_failure, at reload...
Ulrich Weigand [Thu, 27 Jan 2005 23:35:54 +0000 (23:35 +0000)] 
re PR target/17771 (-O2 -mmvcle: internal compiler error: in spill_failure, at reload1.c:1915)

PR target/17771
* config/s390/s390.md ("reload_outti"): Remove predicate for
output operand.  Abort if operand is not a MEM.
("reload_outdi", "reload_outdf"): Likewise.

From-SVN: r94350

20 years agore PR target/19293 (avr-gcc crashes when using shifts with negative shift count)
Marek Michalkiewicz [Thu, 27 Jan 2005 22:35:56 +0000 (23:35 +0100)] 
re PR target/19293 (avr-gcc crashes when using shifts with negative shift count)

PR target/19293
PR target/19329
* config/avr/avr.c (notice_update_cc): Only set condition code for
ashrqi3 if shift count > 0.
(out_shift_with_cnt): Handle shift count <= 0 as a no-op.
(ashlqi3_out, ashlhi3_out, ashlsi3_out, ashrqi3_out, ashrhi3_out,
ashrsi3_out, lshrqi3_out, lshrhi3_out, lshrsi3_out): Handle shift
count <= 0 as a no-op, and shift count >= width by copying zero
or sign bit to all bits of the result.
* config/avr/avr.md (all shifts): Add alternatives for zero shift
count, with attribute "length" set to 0 and "cc" set to "none".

From-SVN: r94344

20 years agore PR c++/18370 (cp_parser_initializer_list uninit variable problems)
J"orn Rennecke [Thu, 27 Jan 2005 12:57:41 +0000 (12:57 +0000)] 
re PR c++/18370 (cp_parser_initializer_list uninit variable problems)

gcc:
* real.c (do_add): Initialize signalling and canonical members.

* real.c (real_from_integer): Zero out destination.
gcc/cp:
PR c++/18370
* parser.c (cp_parser_initializer_clause): Initialize *non_constant_p.

From-SVN: r94322

20 years agodbxout.c (dbxout_symbol_location): Resolve constant pool references even for variable...
Ulrich Weigand [Thu, 27 Jan 2005 02:02:06 +0000 (02:02 +0000)] 
dbxout.c (dbxout_symbol_location): Resolve constant pool references even for variables with NULL DECL_INITIAL.

ChangeLog:
* dbxout.c (dbxout_symbol_location): Resolve constant pool references
even for variables with NULL DECL_INITIAL.

testsuite/ChangeLog:
* gcc.dg/20041216-1.c: New test.

From-SVN: r94305

20 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Thu, 27 Jan 2005 02:02:06 +0000 (02:02 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_4-branch'.

From-SVN: r94304

20 years agoDaily bump.
GCC Administrator [Thu, 27 Jan 2005 00:16:22 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r94295

20 years agostd_complex.h: Remove usages of the dead _GLIBCXX_BUGGY_COMPLEX macro.
Paolo Carlini [Wed, 26 Jan 2005 11:07:32 +0000 (11:07 +0000)] 
std_complex.h: Remove usages of the dead _GLIBCXX_BUGGY_COMPLEX macro.

2005-01-26  Paolo Carlini  <pcarlini@suse.de>

* include/std/std_complex.h: Remove usages of the dead
_GLIBCXX_BUGGY_COMPLEX macro.

From-SVN: r94258

20 years agoDaily bump.
GCC Administrator [Wed, 26 Jan 2005 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r94238

20 years agore PR target/19393 (Assembler error: branch out of range)
Richard Earnshaw [Tue, 25 Jan 2005 12:50:34 +0000 (12:50 +0000)] 
re PR target/19393 (Assembler error: branch out of range)

PR target/19393
Backport:
2004-03-30  Nick Clifton  <nickc@redhat.com>
* config/arm/arm.md (thumb_jump): Reduce the backward branch
range, and increase the forward branch range, to allow for
the fact that the PC will be off by 4.

From-SVN: r94219

20 years agoDaily bump.
GCC Administrator [Tue, 25 Jan 2005 00:19:57 +0000 (00:19 +0000)] 
Daily bump.

From-SVN: r94190

20 years ago* regrename.c (note_sets): Handle subregs.
Aldy Hernandez [Mon, 24 Jan 2005 12:37:40 +0000 (12:37 +0000)] 
* regrename.c (note_sets): Handle subregs.

From-SVN: r94159

20 years agoregrename.c (note_sets): Handle subregs.
Richard Henderson [Mon, 24 Jan 2005 12:37:09 +0000 (12:37 +0000)] 
regrename.c (note_sets): Handle subregs.

        * regrename.c (note_sets): Handle subregs.

[[Split portion of a mixed commit.]]

From-SVN: r94158.1

20 years ago* gcc.c-torture/compile/20050113-1.c: XFAIL on SPARC.
Eric Botcazou [Mon, 24 Jan 2005 12:18:09 +0000 (13:18 +0100)] 
* gcc.c-torture/compile/20050113-1.c: XFAIL on SPARC.

From-SVN: r94156

20 years agore PR middle-end/19551 (pure (complex types) function call removed as dead (LAPACK...
Jakub Jelinek [Mon, 24 Jan 2005 09:10:53 +0000 (10:10 +0100)] 
re PR middle-end/19551 (pure (complex types) function call removed as dead (LAPACK routine claic1.f bug))

* flow.c (propagate_one_insn): Formatting.

PR middle-end/19551
* flow.c (libcall_dead_p): Be more conservative if unsure.
If there are any instructions between insn and call, see if they are
all dead before saying the libcall is dead.

* gcc.c-torture/execute/20050121-1.c: New test.

From-SVN: r94149

20 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Mon, 24 Jan 2005 09:10:53 +0000 (09:10 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_4-branch'.

From-SVN: r94148

20 years agoFix entry.
David Billinghurst [Mon, 24 Jan 2005 05:08:34 +0000 (05:08 +0000)] 
Fix entry.

From-SVN: r94143

20 years agore PR other/16043 ([3.4 only] gcc version not reported with "enable-version-specific...
David Billinghurst [Mon, 24 Jan 2005 05:05:04 +0000 (05:05 +0000)] 
re PR other/16043 ([3.4 only] gcc version not reported with "enable-version-specific-runtime-libs" to gcc-testresults)

2005-01-24 David Billinghurst (David.Billinghurst@riotinto.com)

PR other/16403
* lib/g++.exp (g++_version): Tweak regexp for version
* lib/g77.exp (g77_version): Likewise
* lib/objc.exp (objc_version): Likewise
* lib/treelang.exp (treelang_version): Likewise

From-SVN: r94142

20 years agoDaily bump.
GCC Administrator [Mon, 24 Jan 2005 00:16:40 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r94135

20 years agoDaily bump.
GCC Administrator [Sun, 23 Jan 2005 00:16:13 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r94091

20 years agore PR target/19548 (RTEMS CPP specs not merged from 3.2/3.2 branches)
Ralf Corsepius [Sat, 22 Jan 2005 03:04:16 +0000 (04:04 +0100)] 
re PR target/19548 (RTEMS CPP specs not merged from 3.2/3.2 branches)

2005-01-22  Ralf Corsepius  <ralf.corsepius@rtems.org>

PR target/19548
* config/rs6000/rtems.h: Resurrect cpp_os_rtems_spec from gcc < 3.4.
(CPP_OS_RTEMS_SPEC): New (From gcc-3.3's config/rs6000/sys4.h).
(SUBSUBTARGET_EXTRA_SPECS): Use CPP_OS_RTEMS_SPEC.

From-SVN: r94058

20 years agoDaily bump.
GCC Administrator [Sat, 22 Jan 2005 00:16:55 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r94050

20 years agore PR libstdc++/19510 ([3.3 only] Uninitialized pointers in iterators)
Volker Reichelt [Fri, 21 Jan 2005 16:21:39 +0000 (16:21 +0000)] 
re PR libstdc++/19510 ([3.3 only] Uninitialized pointers in iterators)

PR libstdc++/19510
* include/bits/stl_list.h (_List_iterator): Initialize _M_node
in constructor.
(_List_const_iterator): Likewise.
* include/bits/stl_tree.h (_Rb_tree_iterator): Likewise.
(_Rb_tree_const_iterator): Likewise.

* testsuite/23_containers/map/operators/1_neg.cc: Adjust line numbers.
* testsuite/23_containers/set/operators/1_neg.cc: Likewise.

From-SVN: r94017

20 years agoDaily bump.
GCC Administrator [Fri, 21 Jan 2005 00:17:17 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r93998

20 years agoDaily bump.
GCC Administrator [Thu, 20 Jan 2005 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r93928

20 years agore PR c++/19375 (Access violation diagnostic given twice)
Kriang Lerdsuwanakij [Wed, 19 Jan 2005 14:50:24 +0000 (14:50 +0000)] 
re PR c++/19375 (Access violation diagnostic given twice)

PR c++/19375
* semantics.c (finish_id_expression): Disable access checking for
already lookuped FIELD_DECL.

From-SVN: r93899

20 years agore PR c++/19258 (Incorrect access check for default argument)
Kriang Lerdsuwanakij [Wed, 19 Jan 2005 14:46:35 +0000 (14:46 +0000)] 
re PR c++/19258 (Incorrect access check for default argument)

PR c++/19258
* parser.c (cp_parser_late_parsing_default_args): Handle friend
defined in class.
* pt.c (push_access_scope, pop_access_scope): Likewise.

* g++.dg/lookup/friend6.C: New test.

From-SVN: r93898

20 years agore PR rtl-optimization/15139 (cc1 uses excessive amounts of memory compiling small...
Jakub Jelinek [Wed, 19 Jan 2005 11:18:18 +0000 (12:18 +0100)] 
re PR rtl-optimization/15139 (cc1 uses excessive amounts of memory compiling small routine)

PR rtl-optimization/15139
* combine.c: Include params.h.
(count_rtxs): New function.
(record_value_for_reg): If replace_rtx would replace at least
2 occurrences of REG in VALUE and TEM is really large, replace REG with
(clobber (const_int 0)) instead of TEM.
* params.def (PARAM_MAX_LAST_VALUE_RTL): New.
* params.h (MAX_LAST_VALUE_RTL): New.
* Makefile.in (combine.o): Depend on $(PARAMS_H).
* doc/invoke.texi (--param max-last-value-rtl=N): Document.

* gcc.dg/20050111-2.c: New test.

From-SVN: r93895