[Bug middle-end/42627] [4.5 regression] GNAT bug box building a-direct.adb

2010-01-05 Thread ebotcazou at gcc dot gnu dot org
--- Comment #1 from ebotcazou at gcc dot gnu dot org 2010-01-06 07:14 --- Presumably a duplicate of PR middle-end/42068. Still waiting for Jan's input... -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug regression/42632] unimplemented: inlining failed in call to �pskb_trim�: recursive inlining

2010-01-05 Thread raj dot khem at gmail dot com
--- Comment #1 from raj dot khem at gmail dot com 2010-01-06 06:08 --- Created an attachment (id=19482) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19482&action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42632

[Bug regression/42632] New: unimplemented: inlining failed in call to �pskb_trim�: recursive inlining

2010-01-05 Thread raj dot khem at gmail dot com
Attached testcase fails with gcc trunk when compiled with -O2 it works ok with -O1. This works fine with gcc 4.4/-O2 -- Summary: unimplemented: inlining failed in call to ‘pskb_trim’: recursive inlining Product: gcc Version: 4.5.0

[Bug c++/42346] darwin instantiation vs. optimization oddity

2010-01-05 Thread bkoz at gcc dot gnu dot org
--- Comment #10 from bkoz at gcc dot gnu dot org 2010-01-06 01:08 --- RE: PR40459 The errors are different between that PR and this one. So, my guess is that these are not related. That is also a warning, and this is an error. FWIW, I think this should be a P1. -- http://gcc.gnu

[Bug debug/42631] New: "-fcompare-debug failure" with "-O1 -funroll-loops"

2010-01-05 Thread zsojka at seznam dot cz
Command line: gcc -O1 -funroll-loops -fcompare-debug -c testcase.c Tested revisions: r155643 - crash (x86_64) r155290 - crash (x86) r153685 - crash (x86_64) Output: $ /mnt/svn/gcc-trunk/binary-153685-lto/bin/gcc -O1 -funroll-loops -fcompare-debug -c testcase.c gcc: testcase.c: -fcompare-debug fai

[Bug debug/42630] "-fcompare-debug failure (length)" with "-O1 -fvariable-expansion-in-unroller -funroll-loops"

2010-01-05 Thread zsojka at seznam dot cz
--- Comment #1 from zsojka at seznam dot cz 2010-01-06 00:41 --- Created an attachment (id=19481) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19481&action=view) reduced testcase Command line: gcc -O1 -fvariable-expansion-in-unroller -funroll-loops -fcompare-debug -c pr42630.c

[Bug debug/42630] New: "-fcompare-debug failure (length)" with "-O1 -fvariable-expansion-in-unroller -funroll-loops"

2010-01-05 Thread zsojka at seznam dot cz
Can be related to pr42629 Command line: gcc -O1 -fvariable-expansion-in-unroller -funroll-loops -fcompare-debug -c testcase.c Tested revisions (x86_64): r155643 - crash r155290 - crash (x86) r154886 - crash r153685 - crash Output: /mnt/svn/gcc-trunk/binary-155643-lto/bin/gcc -O1 -fvariable-expan

[Bug debug/42629] "-fcompare-debug failure (length)" with "-O1 -fsched-pressure -fschedule-insns"

2010-01-05 Thread zsojka at seznam dot cz
--- Comment #1 from zsojka at seznam dot cz 2010-01-06 00:29 --- Created an attachment (id=19480) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19480&action=view) reduced testcase gcc -O1 -fsched-pressure -fschedule-insns -fcompare-debug -c pr42629.c fails for both x86_64 and i68

[Bug debug/42629] New: "-fcompare-debug failure (length)" with "-O1 -fsched-pressure -fschedule-insns"

2010-01-05 Thread zsojka at seznam dot cz
Command line: gcc -O1 -fsched-pressure -fschedule-insns -fcompare-debug -c testcase.c Tested revisions: r155643 - crash r155248 - crash r153685 - crash Output: $ /mnt/svn/gcc-trunk/binary-155643-lto/bin/gcc -O1 -fsched-pressure -fschedule-insns -fcompare-debug -c testcase.c gcc: testcase.c: -fcom

[Bug target/42542] Vectorizer produces incorrect results on max/min of unsigned intergers

2010-01-05 Thread hjl at gcc dot gnu dot org
--- Comment #14 from hjl at gcc dot gnu dot org 2010-01-05 23:53 --- Subject: Bug 42542 Author: hjl Date: Tue Jan 5 23:53:29 2010 New Revision: 155666 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155666 Log: Add smaxv2di3, umaxv2di3, sminv2di3 and uminv2di3 gcc/ 2010-01-05

[Bug bootstrap/42628] [4.4 regression] ICE during bootstrap when compiling several libsupc++ files: original tree changed by fold

2010-01-05 Thread matt at use dot net
--- Comment #2 from matt at use dot net 2010-01-05 23:28 --- dyncast.cc, eh_call.cc, eh_personality.cc, guard.cc, and vmi_class_type_info.cc all exhibit the same problem. -- matt at use dot net changed: What|Removed |Added -

[Bug c++/42608] [4.4/4.5 Regression] Undefined reference not reported in case of explicit template instantiation

2010-01-05 Thread jason at gcc dot gnu dot org
--- Comment #2 from jason at gcc dot gnu dot org 2010-01-05 23:14 --- This was broken by 2008-08-19 Rafael Espindola * varasm.c (weak_decls): Move earlier in the file. (assemble_external): Add weak decls to the weak_decls list. (declare_weak): Don't

[Bug bootstrap/42628] [4.4 regression] ICE during bootstrap when compiling dyncast.cc: original tree changed by fold

2010-01-05 Thread matt at use dot net
X-Bugzilla-Reason: CC --- Comment #1 from matt at use dot net 2010-01-05 23:10 --- Created an attachment (id=19479) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19479&action=view) pre-processed source of the file that evokes the crash during bootstrap -- http://gcc.gnu.org/b

[Bug bootstrap/42628] New: [4.4 regression] ICE during bootstrap when compiling dyncast.cc: original tree changed by fold

2010-01-05 Thread matt at use dot net
X-Bugzilla-Reason: CC doing a profiledbootstrap with trunk revision 155656, I ran into this crash: /home/matt/src/gcc-obj/./gcc/xgcc -shared-libgcc -B/home/matt/src/gcc-obj/./gcc -nostdinc++ -L/home/matt/src/gcc-obj/x86_64-unknown-linux-gnu/libstdc++-v3/src -L/home/matt/src/gcc-obj/x86_64-unknown-

[Bug c++/42608] [4.4/4.5 Regression] Undefined reference not reported in case of explicit template instantiation

2010-01-05 Thread jason at gcc dot gnu dot org
-- jason at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org |dot org

[Bug middle-end/42178] [4.5 Regression] Invalid memory access in graphite

2010-01-05 Thread spop at gcc dot gnu dot org
--- Comment #16 from spop at gcc dot gnu dot org 2010-01-05 22:55 --- Subject: Bug 42178 Author: spop Date: Tue Jan 5 22:55:02 2010 New Revision: 155665 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155665 Log: Fix PR42178. 2010-01-05 Sebastian Pop PR middle-end/4

[Bug target/42564] unrecognizable insn with -O -fPIC

2010-01-05 Thread ebotcazou at gcc dot gnu dot org
--- Comment #12 from ebotcazou at gcc dot gnu dot org 2010-01-05 22:43 --- On all active branches. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/42564] unrecognizable insn with -O -fPIC

2010-01-05 Thread ebotcazou at gcc dot gnu dot org
--- Comment #11 from ebotcazou at gcc dot gnu dot org 2010-01-05 22:34 --- Subject: Bug 42564 Author: ebotcazou Date: Tue Jan 5 22:34:01 2010 New Revision: 155664 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155664 Log: PR target/42564 * config/sparc/sparc.h

[Bug ada/42627] New: GNAT bug box building a-direct.adb

2010-01-05 Thread simon at pushface dot org
This is a build of 4.5.0 (svn trunk r155633) configured as ../gcc-trunk-svn/configure --prefix=/opt/gcc-4.5.0-x86_64 --disable-multilib --enable-languages=c,ada --with-gmp=/opt/gnu --with-mpfr=/opt/gnu --with-mpc=/opt/gnu --disable-bootstrap 2>&1 The build proceeded OK until this: /Users/simon/g

[Bug target/42564] unrecognizable insn with -O -fPIC

2010-01-05 Thread ebotcazou at gcc dot gnu dot org
--- Comment #10 from ebotcazou at gcc dot gnu dot org 2010-01-05 22:32 --- Subject: Bug 42564 Author: ebotcazou Date: Tue Jan 5 22:32:25 2010 New Revision: 155663 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155663 Log: PR target/42564 * config/sparc/sparc.h

[Bug debug/41371] [4.5 Regression] var-tracking is slow and memory hungry

2010-01-05 Thread jakub at gcc dot gnu dot org
--- Comment #9 from jakub at gcc dot gnu dot org 2010-01-05 22:30 --- Created an attachment (id=19478) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19478&action=view) vta-limit-on-size.patch While Alex is busy working on speeding up var-tracking on these KDE testcases, here is a

[Bug target/42564] unrecognizable insn with -O -fPIC

2010-01-05 Thread ebotcazou at gcc dot gnu dot org
--- Comment #9 from ebotcazou at gcc dot gnu dot org 2010-01-05 22:29 --- Subject: Bug 42564 Author: ebotcazou Date: Tue Jan 5 22:29:18 2010 New Revision: 155662 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155662 Log: PR target/42564 * config/sparc/sparc.h (

[Bug tree-optimization/42625] -fipa-sra can generate different destructors in different object files, binary breaks after linking

2010-01-05 Thread zsojka at seznam dot cz
--- Comment #4 from zsojka at seznam dot cz 2010-01-05 22:14 --- Created an attachment (id=19477) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19477&action=view) different testcase Thank you for the quick fix. Attached testcase fails even when both files are compiled with "-O1 -

[Bug rtl-optimization/42621] [4.4/4.5 Regression] Computed gotos on AMD 800% slower

2010-01-05 Thread steven at gcc dot gnu dot org
--- Comment #4 from steven at gcc dot gnu dot org 2010-01-05 22:11 --- I would just go back to the old status (of GCC 4.3 and earlier) than deciding for each basic block individually whether to unfactor or not. Could you please see if the attached problem makes the slow-down disappear?

[Bug rtl-optimization/42621] [4.4/4.5 Regression] Computed gotos on AMD 800% slower

2010-01-05 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2010-01-05 21:56 --- So the profiling information (which is not always accurate without real profiling) says the code is not executed that often. I guess someone needs to tune them better for computed gotos unless people really want to

[Bug rtl-optimization/42621] [4.4/4.5 Regression] Computed gotos on AMD 800% slower

2010-01-05 Thread steven at gcc dot gnu dot org
--- Comment #2 from steven at gcc dot gnu dot org 2010-01-05 21:51 --- Caused by revision 139760. http://gcc.gnu.org/viewcvs?view=revision&revision=139760 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42621

[Bug tree-optimization/42625] -fipa-sra can generate different destructors in different object files, binary breaks after linking

2010-01-05 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2010-01-05 21:26 --- Created an attachment (id=19476) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19476&action=view) gcc45-pr42625.patch Untested fix. No idea how to create a testcase though, dg-additional-sources are compiled us

[Bug bootstrap/42511] bootstrap error in stage3 on alpha-linux-gnu

2010-01-05 Thread ubizjak at gmail dot com
--- Comment #13 from ubizjak at gmail dot com 2010-01-05 21:15 --- (In reply to comment #12) > I will restart bootstrap now. Bootstraps OK for --enable-languages=c. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42511

[Bug tree-optimization/42625] -fipa-sra can generate different destructors in different object files, binary breaks after linking

2010-01-05 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2010-01-05 21:10 --- I guess cgraph_make_node_local needs to update all same_body aliases (in particular clear DECL_WEAK which etc. which made the alias externally visible). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42625

[Bug bootstrap/42511] bootstrap error in stage3 on alpha-linux-gnu

2010-01-05 Thread ubizjak at gmail dot com
--- Comment #12 from ubizjak at gmail dot com 2010-01-05 20:47 --- Got the problem. stage1 compiler miscompiles determine_max_movement() from tree-ssa-loop-im.c. Following patch fixes the testcase from comment #5: Index: tree-ssa-loop-im.c ==

[Bug target/42542] Vectorizer produces incorrect results on max/min of unsigned intergers

2010-01-05 Thread hjl at gcc dot gnu dot org
--- Comment #13 from hjl at gcc dot gnu dot org 2010-01-05 20:44 --- Subject: Bug 42542 Author: hjl Date: Tue Jan 5 20:44:14 2010 New Revision: 155660 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155660 Log: Properly convert GTU to GT for V4SI and V2DI gcc/ 2010-01-05 Paol

[Bug ada/42626] gcc/ada/Makefile.in has missing quote

2010-01-05 Thread simon at pushface dot org
--- Comment #1 from simon at pushface dot org 2010-01-05 20:40 --- Created an attachment (id=19475) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19475&action=view) Patch to gcc/ada/Makefile.in -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42626

[Bug ada/42626] New: gcc/ada/Makefile.in has missing quote

2010-01-05 Thread simon at pushface dot org
A missing quote prevents building the RTS. -- Summary: gcc/ada/Makefile.in has missing quote Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada AssignedTo: unassigned at gc

[Bug tree-optimization/42625] -fipa-sra can generate different destructors in different object files, binary breaks after linking

2010-01-05 Thread zsojka at seznam dot cz
--- Comment #1 from zsojka at seznam dot cz 2010-01-05 20:35 --- Created an attachment (id=19474) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19474&action=view) packed files (testcase) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42625

[Bug tree-optimization/42625] New: -fipa-sra can generate different destructors in different object files, binary breaks after linking

2010-01-05 Thread zsojka at seznam dot cz
Tested revisions: r155643 - broken r155256 - broken r154886 - broken r154830 - OK Command line: in original testcases, all files are compiled with the same compiler parameters for this reduced testcase, one file is compiled with "-O1 -fipa-sra", second with just "-O1" if -fipa-sra is expected to g

[Bug c++/42623] [C++0x] Function template default arguments: Invalid expressions are allowed

2010-01-05 Thread jason at gcc dot gnu dot org
--- Comment #1 from jason at gcc dot gnu dot org 2010-01-05 20:22 --- Created an attachment (id=19473) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19473&action=view) fix Here's a fix. Since this touches language-independent code and the bug isn't a regression, I'm not going to

[Bug c++/42623] [C++0x] Function template default arguments: Invalid expressions are allowed

2010-01-05 Thread jason at gcc dot gnu dot org
-- jason at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org |dot org

[Bug libstdc++/38081] time_get<>::do_get_weekday does not always recognize full names of weekdays

2010-01-05 Thread paolo dot carlini at oracle dot com
--- Comment #5 from paolo dot carlini at oracle dot com 2010-01-05 20:10 --- Fixed. -- paolo dot carlini at oracle dot com changed: What|Removed |Added Statu

[Bug libstdc++/38081] time_get<>::do_get_weekday does not always recognize full names of weekdays

2010-01-05 Thread paolo at gcc dot gnu dot org
--- Comment #4 from paolo at gcc dot gnu dot org 2010-01-05 20:05 --- Subject: Bug 38081 Author: paolo Date: Tue Jan 5 20:05:20 2010 New Revision: 155659 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155659 Log: 2010-01-05 Paolo Carlini PR libstdc++/38081 *

[Bug c++/42346] darwin instantiation vs. optimization oddity

2010-01-05 Thread howarth at nitro dot med dot uc dot edu
--- Comment #9 from howarth at nitro dot med dot uc dot edu 2010-01-05 19:52 --- Might this bug be related to PR40459? Does the PR42346 test case work on gcc pre-r148492? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42346

[Bug tree-optimization/42462] [4.5 Regression] wrong-code with computed-goto

2010-01-05 Thread jamborm at gcc dot gnu dot org
--- Comment #7 from jamborm at gcc dot gnu dot org 2010-01-05 19:44 --- Fixed. -- jamborm at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug tree-optimization/42462] [4.5 Regression] wrong-code with computed-goto

2010-01-05 Thread jamborm at gcc dot gnu dot org
--- Comment #6 from jamborm at gcc dot gnu dot org 2010-01-05 19:42 --- Subject: Bug 42462 Author: jamborm Date: Tue Jan 5 19:42:32 2010 New Revision: 155658 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155658 Log: 2010-01-05 Martin Jambor PR tree-optimization/424

[Bug libstdc++/42624] libstdc++ parallel mode deadlocks in barrier

2010-01-05 Thread paolo dot carlini at oracle dot com
--- Comment #2 from paolo dot carlini at oracle dot com 2010-01-05 19:22 --- The best we can do is asking the attention of Johannes... -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug libfortran/42420] libgfortran fails to open large files on MINGW32

2010-01-05 Thread jb at gcc dot gnu dot org
--- Comment #9 from jb at gcc dot gnu dot org 2010-01-05 19:14 --- Closing as fixed. -- jb at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug tree-optimization/42157] [4.5 regression] ICE building stage 1 libgcc: SEGV in compare_access_positions

2010-01-05 Thread jamborm at gcc dot gnu dot org
--- Comment #12 from jamborm at gcc dot gnu dot org 2010-01-05 18:46 --- I posted a slightly simpler patch to the mailing list: http://gcc.gnu.org/ml/gcc-patches/2010-01/msg00229.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42157

[Bug tree-optimization/42286] October 23rd change to tree-ssa-pre.c breaks calculix on powerpc with -ffast-math

2010-01-05 Thread meissner at linux dot vnet dot ibm dot com
--- Comment #11 from meissner at linux dot vnet dot ibm dot com 2010-01-05 18:40 --- Subject: Re: October 23rd change to tree-ssa-pre.c breaks calculix on powerpc with -ffast-math On Tue, Jan 05, 2010 at 04:03:17PM -, rguenther at suse dot de wrote: > > > --- Comment #9 from

[Bug rtl-optimization/42499] Bad register allocation in multiplication code by constant

2010-01-05 Thread ramana at gcc dot gnu dot org
--- Comment #2 from ramana at gcc dot gnu dot org 2010-01-05 18:28 --- Why is there no load of tv.tv_usec in the code generated that you've pasted? Are you sure you've pasted this right ? With 4.4 arm-eabi - 17/12/2009 snapshot I see the following code ? for -march=armv5te -mthumb -Os

[Bug fortran/34136] Add entry point and symbol for linker

2010-01-05 Thread howarth at nitro dot med dot uc dot edu
--- Comment #20 from howarth at nitro dot med dot uc dot edu 2010-01-05 18:27 --- (In reply to comment #19) > pr42568 looks like a duplicate of this one. > > Note that the issue seems fixed on darwin10. > This issue was radr://5613343 and has been fixed for darwin10 and later. --

[Bug target/42601] Simplify code to address function static variables with option -fpic

2010-01-05 Thread ramana at gcc dot gnu dot org
--- Comment #1 from ramana at gcc dot gnu dot org 2010-01-05 18:20 --- Confirmed but definitely an enhancement. -- ramana at gcc dot gnu dot org changed: What|Removed |Added -

[Bug fortran/34136] Add entry point and symbol for linker

2010-01-05 Thread dominiq at lps dot ens dot fr
--- Comment #19 from dominiq at lps dot ens dot fr 2010-01-05 18:15 --- pr42568 looks like a duplicate of this one. Note that the issue seems fixed on darwin10. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34136

[Bug fortran/42568] [Cygwin] BLOCKDATA referenced in EXTERNAL not loading from library

2010-01-05 Thread dominiq at lps dot ens dot fr
--- Comment #23 from dominiq at lps dot ens dot fr 2010-01-05 18:12 --- This looks like a duplicate of pr34136. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42568

[Bug libstdc++/42624] libstdc++ parallel mode deadlocks in barrier

2010-01-05 Thread edwintorok at gmail dot com
--- Comment #1 from edwintorok at gmail dot com 2010-01-05 18:09 --- (In reply to comment #0) > $ make -j4 This should have been: make CCLD=g++ -j4 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42624

[Bug libstdc++/42624] New: libstdc++ parallel mode deadlocks in barrier

2010-01-05 Thread edwintorok at gmail dot com
When building ClamAV with -D_GLIBCXX_PARALLEL -fopenmp, clamd hangs, attaching gdb to the hanged process reveals 2 threads, one is waiting in poll (normal), the other one is hanged in gomp_team_barrier_wait_end. Since there are no other threads that could grant it the barrier, that thread will wait

[Bug debug/42396] [4.5 Regression] ICE: in dwarf2out_frame_debug_adjust_cfa, at dwarf2out.c:1859

2010-01-05 Thread rth at gcc dot gnu dot org
-- rth at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |rth at gcc dot gnu dot org |dot org

[Bug bootstrap/41771] Bootstrap with Sun Studio 12.1 fails

2010-01-05 Thread ro at gcc dot gnu dot org
--- Comment #15 from ro at gcc dot gnu dot org 2010-01-05 17:14 --- Subject: Bug 41771 Author: ro Date: Tue Jan 5 17:14:30 2010 New Revision: 155654 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155654 Log: gcc: PR bootstrap/41771 * flags.h: Don't inclu

[Bug middle-end/42450] [4.5 Regression] another GCC 4.5 ICE on C++ templated code

2010-01-05 Thread rth at gcc dot gnu dot org
-- rth at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |rth at gcc dot gnu dot org |dot org

[Bug tree-optimization/42286] October 23rd change to tree-ssa-pre.c breaks calculix on powerpc with -ffast-math

2010-01-05 Thread segher at kernel dot crashing dot org
--- Comment #10 from segher at kernel dot crashing dot org 2010-01-05 16:42 --- (In reply to comment #9) > Right. Just it might be simpler with -fno-signed-zeros to > transform a-b*c to 0 + -(b*c-a). a-b*c is two machine instructions; -(b*c-a) is one. Adding zero again makes it two,

[Bug c++/17920] add __attribute__((reimpl)) as a replacement for the (optional) virtual keyword for reimplementations of virtual functions

2010-01-05 Thread shcherbakov at daad-alumni dot de
--- Comment #12 from shcherbakov at daad-alumni dot de 2010-01-05 16:27 --- I would also appreciate if an attribute like this is supported by gcc due to several reasons: 1. Developers that want to ensure that a virtual method actually overrides another virtual method of a base class w

[Bug bootstrap/42511] bootstrap error in stage3 on alpha-linux-gnu

2010-01-05 Thread ubizjak at gmail dot com
--- Comment #11 from ubizjak at gmail dot com 2010-01-05 16:24 --- (In reply to comment #10) > Well, I can't see how this wouldn't be a problem on other targets thus I > re-iterate: which stages do show this behavior? Does the stage1 cc1 > reproduce it? No. -- http://gcc.gnu.org/b

[Bug fortran/42568] [Cygwin] BLOCKDATA referenced in EXTERNAL not loading from library

2010-01-05 Thread ian at airs dot com
--- Comment #22 from ian at airs dot com 2010-01-05 16:09 --- For ELF, when the GNU linker has seen a common symbol, and then sees that symbol in the archive map, it will look in the object to see whether the object defines the symbol (rather than simply providing another common definiti

[Bug tree-optimization/42286] October 23rd change to tree-ssa-pre.c breaks calculix on powerpc with -ffast-math

2010-01-05 Thread rguenther at suse dot de
--- Comment #9 from rguenther at suse dot de 2010-01-05 16:03 --- Subject: Re: October 23rd change to tree-ssa-pre.c breaks calculix on powerpc with -ffast-math On Tue, 5 Jan 2010, segher at kernel dot crashing dot org wrote: > --- Comment #7 from segher at kernel dot crashing do

[Bug tree-optimization/42462] [4.5 Regression] wrong-code with computed-goto

2010-01-05 Thread jamborm at gcc dot gnu dot org
--- Comment #5 from jamborm at gcc dot gnu dot org 2010-01-05 16:03 --- Patch posted to the mailing list: http://gcc.gnu.org/ml/gcc-patches/2010-01/msg00215.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42462

[Bug tree-optimization/42286] October 23rd change to tree-ssa-pre.c breaks calculix on powerpc with -ffast-math

2010-01-05 Thread segher at kernel dot crashing dot org
--- Comment #8 from segher at kernel dot crashing dot org 2010-01-05 16:00 --- (In reply to comment #6) > IIRC the problem is that using fma causes the -0 argument for fsqrt (which > behaves 100% correct). Thus a more sensible fix would be to do the 0+ on > the fma result. But a -0 re

[Bug tree-optimization/42286] October 23rd change to tree-ssa-pre.c breaks calculix on powerpc with -ffast-math

2010-01-05 Thread segher at kernel dot crashing dot org
--- Comment #7 from segher at kernel dot crashing dot org 2010-01-05 15:57 --- With -fno-signed-zeroes, a-b*c is transformed to -(b*c-a), which is a machine instruction. If the result would have been +0 before, it now is -0. The code then takes the sqrt() of that; sqrt(-0) is -0. This

[Bug tree-optimization/42286] October 23rd change to tree-ssa-pre.c breaks calculix on powerpc with -ffast-math

2010-01-05 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2010-01-05 15:50 --- IIRC the problem is that using fma causes the -0 argument for fsqrt (which behaves 100% correct). Thus a more sensible fix would be to do the 0+ on the fma result. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id

[Bug tree-optimization/42286] October 23rd change to tree-ssa-pre.c breaks calculix on powerpc with -ffast-math

2010-01-05 Thread dje at gcc dot gnu dot org
--- Comment #5 from dje at gcc dot gnu dot org 2010-01-05 15:47 --- sqrt(-0) = -0 and 0 is a discontinuity for atan2 Either sqrt should return +0 or atan2 should force +0 if games with signed zeros are allowed. -- dje at gcc dot gnu dot org changed: What|Removed

[Bug target/42503] [4.4 Regression] gcc-4.4-20091215 broke libjava on ARM

2010-01-05 Thread mikpe at it dot uu dot se
--- Comment #17 from mikpe at it dot uu dot se 2010-01-05 15:41 --- Fixed now, closing. -- mikpe at it dot uu dot se changed: What|Removed |Added Status|NEW

[Bug bootstrap/42511] bootstrap error in stage3 on alpha-linux-gnu

2010-01-05 Thread rguenth at gcc dot gnu dot org
--- Comment #10 from rguenth at gcc dot gnu dot org 2010-01-05 15:36 --- Well, I can't see how this wouldn't be a problem on other targets thus I re-iterate: which stages do show this behavior? Does the stage1 cc1 reproduce it? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42511

[Bug target/42503] [4.4 Regression] gcc-4.4-20091215 broke libjava on ARM

2010-01-05 Thread rguenth at gcc dot gnu dot org
--- Comment #16 from rguenth at gcc dot gnu dot org 2010-01-05 15:17 --- Is this fixed now? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42503

[Bug c++/42623] New: Function template default arguments: Invalid expressions are allowed

2010-01-05 Thread adam at jessamine dot co dot uk
Ref: Function template default arguments: C++ defect report 226 (http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#226) GCC 4.5.0 (tr...@155642) compiles the following code despite the result of sizeof being undefined. The use of sizeof(incomplete-type) as the value of a default templa

[Bug fortran/42568] [Cygwin] BLOCKDATA referenced in EXTERNAL not loading from library

2010-01-05 Thread burnus at gcc dot gnu dot org
--- Comment #21 from burnus at gcc dot gnu dot org 2010-01-05 14:46 --- (In reply to comment #20) > Dave, do you know how to emit the forceload and just exactly what is this? g77 does it as shown in http://gcc.gnu.org/viewcvs/branches/gcc-3_4-branch/gcc/f/com.c?view=markup -- http:

[Bug middle-end/42479] Wrong code with -floop-block

2010-01-05 Thread dominiq at lps dot ens dot fr
--- Comment #4 from dominiq at lps dot ens dot fr 2010-01-05 14:35 --- Note that the inner loops in subroutine mutual_ind_quad_rec_coil are not vectorized at -O3, unless -ffast-math is used. Timing the code with and without -ffast-math gives [macbook] lin/test% gfc -O3 induct.f90 [macbo

[Bug bootstrap/42511] bootstrap error in stage3 on alpha-linux-gnu

2010-01-05 Thread ubizjak at gmail dot com
--- Comment #9 from ubizjak at gmail dot com 2010-01-05 14:27 --- (In reply to comment #7) > setting BOOT_CFLAGS to -g -O1 lets the build succeed. the testcase from > comment > #5 doesn't ice. It will ICE with default build, with checkings enabled. -- http://gcc.gnu.org/bugzilla/

[Bug bootstrap/42511] bootstrap error in stage3 on alpha-linux-gnu

2010-01-05 Thread ubizjak at gmail dot com
--- Comment #8 from ubizjak at gmail dot com 2010-01-05 14:21 --- It looks that tree loop IM FUBARs the compilation. All testcases compile OK with -O2 -fno-tree-loop-im. The dump for _.c.099t.lim1 looks quite strange (it resembles _.c.024t.ssa): --cut here-- ;; Function alpha_fallback

[Bug bootstrap/42511] bootstrap error in stage3 on alpha-linux-gnu

2010-01-05 Thread debian-gcc at lists dot debian dot org
--- Comment #7 from debian-gcc at lists dot debian dot org 2010-01-05 14:16 --- setting BOOT_CFLAGS to -g -O1 lets the build succeed. the testcase from comment #5 doesn't ice. test results for this build at http://gcc.gnu.org/ml/gcc-testresults/2010-01/msg00501.html -- http://gcc.g

[Bug fortran/42517] -fcheck=recursion does not work with -fopenmp

2010-01-05 Thread burnus at gcc dot gnu dot org
--- Comment #10 from burnus at gcc dot gnu dot org 2010-01-05 14:15 --- Subject: Bug 42517 Author: burnus Date: Tue Jan 5 14:15:37 2010 New Revision: 155649 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155649 Log: 2010-01-05 Tobias Burnus PR fortran/42517

[Bug bootstrap/42511] bootstrap error in stage3 on alpha-linux-gnu

2010-01-05 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2010-01-05 13:53 --- So, which stages do ICE on the testcase? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42511

[Bug bootstrap/42511] bootstrap error in stage3 on alpha-linux-gnu

2010-01-05 Thread ubizjak at gmail dot com
--- Comment #5 from ubizjak at gmail dot com 2010-01-05 13:52 --- Minimized testcase (from other bootstrap failure): --cut here-- typedef struct { struct { int how; } reg[64 + 1]; } _Unwind_FrameState; alpha_fallback_frame_state (_Unwind_FrameState * fs) { long i; for (i

[Bug tree-optimization/42614] [4.4 Regression] FRE optimizes away valid code after IPA inlining

2010-01-05 Thread rguenth at gcc dot gnu dot org
--- Comment #15 from rguenth at gcc dot gnu dot org 2010-01-05 13:42 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNE

[Bug tree-optimization/42614] [4.4 Regression] FRE optimizes away valid code after IPA inlining

2010-01-05 Thread rguenth at gcc dot gnu dot org
--- Comment #14 from rguenth at gcc dot gnu dot org 2010-01-05 13:42 --- Subject: Bug 42614 Author: rguenth Date: Tue Jan 5 13:42:40 2010 New Revision: 155647 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155647 Log: 2010-01-05 Richard Guenther PR tree-optimizatio

[Bug tree-optimization/42614] [4.4 Regression] FRE optimizes away valid code after IPA inlining

2010-01-05 Thread rguenth at gcc dot gnu dot org
--- Comment #13 from rguenth at gcc dot gnu dot org 2010-01-05 13:41 --- Subject: Bug 42614 Author: rguenth Date: Tue Jan 5 13:41:41 2010 New Revision: 155646 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155646 Log: 2010-01-05 Richard Guenther PR tree-optimizatio

[Bug tree-optimization/42462] [4.5 Regression] wrong-code with computed-goto

2010-01-05 Thread jamborm at gcc dot gnu dot org
--- Comment #4 from jamborm at gcc dot gnu dot org 2010-01-05 13:39 --- This weird side-effect of IPA-SRA is caused by a bug in compute_inline_parameters which should pass node->decl instead of current_function_decl to its helper functions. I am about to test the following patch which f

[Bug c++/40155] [c++0x] variadic template pack problem

2010-01-05 Thread dodji at gcc dot gnu dot org
--- Comment #4 from dodji at gcc dot gnu dot org 2010-01-05 13:31 --- Patch submitted to http://gcc.gnu.org/ml/gcc-patches/2010-01/msg00205.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40155

[Bug c++/42603] [C++0x] decltype not supported for parent class specifier

2010-01-05 Thread jason at gcc dot gnu dot org
--- Comment #2 from jason at gcc dot gnu dot org 2010-01-05 13:29 --- This is http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#950 we decided in Santa Cruz that this usage should be allowed. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42603

[Bug c++/40155] [c++0x] variadic template pack problem

2010-01-05 Thread bangerth at gmail dot com
--- Comment #3 from bangerth at gmail dot com 2010-01-05 13:20 --- (In reply to comment #2) > I believe this should be flagged P1, even if it doesn't seem to be a > regression. I'm obviously not impartial, but this is the sort of code that template packs are supposed to support, and for

[Bug middle-end/42479] Wrong code with -floop-block

2010-01-05 Thread dominiq at lps dot ens dot fr
--- Comment #3 from dominiq at lps dot ens dot fr 2010-01-05 12:56 --- Profiling without -floop-block + 99.8%, start, a.out | + 99.8%, main, a.out | | + 99.8%, induct_, a.out | | | + 77.5%, __mqc_m_MOD_mutual_ind_quad_cir_coil, a.out | | | | 2.8%, cosisin, libSystem.B.dylib | | | | -

[Bug rtl-optimization/42621] [4.4/4.5 Regression] Computed gotos on AMD 800% slower

2010-01-05 Thread steven at gcc dot gnu dot org
--- Comment #1 from steven at gcc dot gnu dot org 2010-01-05 12:50 --- There is a pass "duplicate_computed_gotos" that should take care of this. Why does it not work in this case? -- steven at gcc dot gnu dot org changed: What|Removed |Added --

[Bug rtl-optimization/42621] [4.4/4.5 Regression] Computed gotos on AMD 800% slower

2010-01-05 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Component|c |rtl-optimization Keywords||miss

[Bug tree-optimization/42614] [4.4 Regression] FRE optimizes away valid code after IPA inlining

2010-01-05 Thread stubbs at icerasemi dot com
--- Comment #12 from stubbs at icerasemi dot com 2010-01-05 12:32 --- Your patch fixes our original application. Thanks again for your help. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42614

[Bug bootstrap/42511] bootstrap error in stage3 on alpha-linux-gnu

2010-01-05 Thread ubizjak at gmail dot com
--- Comment #4 from ubizjak at gmail dot com 2010-01-05 12:29 --- I got different error in the same place when configured with: Target: alpha-linux-gnu Configured with: ../gcc-svn/trunk/configure --host=alpha-linux-gnu --build=alpha-linux-gnu --target=alpha-linux-gnu --enable-languages=

[Bug tree-optimization/42614] [4.4 Regression] FRE optimizes away valid code after IPA inlining

2010-01-05 Thread stubbs at icerasemi dot com
--- Comment #11 from stubbs at icerasemi dot com 2010-01-05 12:23 --- Thanks for your time and the extra quick fix! I'll do some testing with that patch now. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42614

[Bug tree-optimization/42614] [4.4 Regression] FRE optimizes away valid code after IPA inlining

2010-01-05 Thread rguenth at gcc dot gnu dot org
--- Comment #10 from rguenth at gcc dot gnu dot org 2010-01-05 12:20 --- Created an attachment (id=19472) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19472&action=view) patch Testing on the application that originally failed appreciated. -- http://gcc.gnu.org/bugzilla/show

[Bug tree-optimization/42614] [4.4 Regression] FRE optimizes away valid code after IPA inlining

2010-01-05 Thread rguenth at gcc dot gnu dot org
--- Comment #9 from rguenth at gcc dot gnu dot org 2010-01-05 12:16 --- Ok, it's simple. We add false aliases to &index to both SMTs of SEntry and STable because may_alias_p (SEntry, char) returns true as every alias-set is a subset of alias-set zero. But then when coming along to addi

[Bug rtl-optimization/42612] post-increment addressing not used

2010-01-05 Thread jon at beniston dot com
--- Comment #3 from jon at beniston dot com 2010-01-05 12:13 --- GCC 4.1.2 seems to produce the same code. mov r2, #0 mov r3, r0 strbr2, [r3], #1 strbr2, [r0, #1] add r0, r3, #2 @ lr needed for prologue strbr2, [r3

[Bug libstdc++/42622] New: [C++0x] Improve std::ratio_less to not overflow

2010-01-05 Thread paolo dot carlini at oracle dot com
This is just an internal reminder: we should implement the following suggestion from Howard on the library reflector. Maybe Chris is interested... / I just recently became aware that it is possible to do this comparison without any chance of overflow. This is accomplished by conve

[Bug tree-optimization/42614] [4.4 Regression] FRE optimizes away valid code after IPA inlining

2010-01-05 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2010-01-05 11:58 --- Well, I'm sure it goes wrong in compute_flow_insensitive_aliasing - let me have a quick look there. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42614

[Bug tree-optimization/42614] [4.4 Regression] FRE optimizes away valid code after IPA inlining

2010-01-05 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2010-01-05 11:57 --- Shorter testcase, fails at -O2 -fno-early-inlining: extern void abort(void); typedef struct SEntry { int num; } TEntry; typedef struct STable { TEntry data[2]; } TTable; TTable * __attribute__((noinline)) ini

[Bug c/42621] New: 4.4/4.5 Regression, Computed gotos on AMD 800% slower

2010-01-05 Thread fredrik dot svahn at gmail dot com
When compiling a program with computed goto:s with gcc 4.4.2 it runs significantly slower (up to a factor 10) than when it is compiled with e.g. gcc 4.1/4.3 with the same optimization flags (-O2 or -O3). A small dummy test program without header file dependencies is attached. I am compiling with a

[Bug c++/40155] [c++0x] variadic template pack problem

2010-01-05 Thread dodji at gcc dot gnu dot org
--- Comment #2 from dodji at gcc dot gnu dot org 2010-01-05 11:43 --- FWIW, I think this code is valid. The A template parameter in "typename identity::type..." is in a non-deduced context, so it's argument should not be deduced from there. The argument of A should be re-used from the d

[Bug rtl-optimization/42612] post-increment addressing not used

2010-01-05 Thread bonzini at gnu dot org
--- Comment #2 from bonzini at gnu dot org 2010-01-05 11:43 --- Combine is doing what it knows best (forming complicated instructions, addressing modes in this case); to do this it is already damaging the nice shape of the code after the tree optimizers, and synthesizing things like x+2.

  1   2   >