[Bug c++/46626] [4.6 Regression] simple use of virtual methods causes pure virtual method call in c++0x mode

2010-12-24 Thread roman at binarylife dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46626 --- Comment #8 from Roman Kononov 2010-12-25 01:49:05 UTC --- With the patch applied to r168236: $ cat test.cpp struct X { virtual int& x(int&)=0; virtual ~X() {} }; struct Y { virtual int& y(int&)=0; virtual ~Y() {} }; struct

[Bug other/47062] New: -mfpmath=sse,387 causes pow() to produce incorrect results

2010-12-24 Thread bero at arklinux dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47062 Summary: -mfpmath=sse,387 causes pow() to produce incorrect results Product: gcc Version: 4.5.2 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug ada/47017] [4.6 Regression] gnatlib ICE on sparc64-linux

2010-12-24 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47017 Eric Botcazou changed: What|Removed |Added Status|NEW |ASSIGNED CC|ebotcazou at

[Bug tree-optimization/47061] VRP doesn't propagate through x<<=1, but it does for x*=2

2010-12-24 Thread zsojka at seznam dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47061 --- Comment #2 from Zdenek Sojka 2010-12-24 19:25:21 UTC --- (In reply to comment #1) > For the right shift, the > function is optimised correctly. Actually, no, it's just the cast what optimises the range, but not the shift - .vrp1 dump for "in

[Bug target/47038] gcc.dg/pr46685.c FAILs on Solaris 10/SPARC

2010-12-24 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47038 Eric Botcazou changed: What|Removed |Added Status|NEW |ASSIGNED AssignedTo|unassigned at

[Bug target/47038] gcc.dg/pr46685.c FAILs on Solaris 10/SPARC

2010-12-24 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47038 Eric Botcazou changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/47061] VRP doesn't propagate through x<<=1, but it does for x*=2

2010-12-24 Thread zsojka at seznam dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47061 --- Comment #1 from Zdenek Sojka 2010-12-24 15:54:35 UTC --- Created attachment 22851 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22851 another testcase This testcase seems to be optimised at the RTL level. $ gcc pr47061-2.c -S -O3 -fdu

[Bug tree-optimization/47061] New: VRP doesn't propagate through x<<=1, but it does for x*=2

2010-12-24 Thread zsojka at seznam dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47061 Summary: VRP doesn't propagate through x<<=1, but it does for x*=2 Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug rtl-optimization/47036] [4.6 Regression] ICE: in move_cond_jump, at sel-sched.c:4901 with -fschedule-insns -fselective-scheduling -fno-dce

2010-12-24 Thread amonakov at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47036 Alexander Monakov changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug rtl-optimization/47036] [4.6 Regression] ICE: in move_cond_jump, at sel-sched.c:4901 with -fschedule-insns -fselective-scheduling -fno-dce

2010-12-24 Thread amonakov at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47036 --- Comment #2 from Alexander Monakov 2010-12-24 14:19:26 UTC --- Author: amonakov Date: Fri Dec 24 14:19:23 2010 New Revision: 168225 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168225 Log: PR rtl-optimization/47036 * sel-sche

[Bug tree-optimization/47060] New: [4.6 Regression] ICE: SIGSEGV in reduction_phi (tree-parloops.c:212) with -O -ffast-math -ftree-parallelize-loops=2 -fno-tree-dce

2010-12-24 Thread zsojka at seznam dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47060 Summary: [4.6 Regression] ICE: SIGSEGV in reduction_phi (tree-parloops.c:212) with -O -ffast-math -ftree-parallelize-loops=2 -fno-tree-dce Product: gcc Version: 4.6.0

[Bug target/45701] [4.6 Regression] Fail to prefer using r3 for padding a push/pop multiple to 8-byte alignment

2010-12-24 Thread ramana at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45701 --- Comment #5 from Ramana Radhakrishnan 2010-12-24 11:04:08 UTC --- Ok I'll test this. (In reply to comment #4) > Created attachment 22835 [details] > gcc46-pr45701.patch > > Remembering pointers to tail call insns is both wasteful (allocates s

[Bug tree-optimization/47059] New: compiler fails to coalesce loads/stores

2010-12-24 Thread rahul at icerasemi dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47059 Summary: compiler fails to coalesce loads/stores Product: gcc Version: 4.5.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo

[Bug fortran/31821] character pointer => target(range) should detect if lengths don't match

2010-12-24 Thread tkoenig at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31821 Thomas Koenig changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug fortran/31821] character pointer => target(range) should detect if lengths don't match

2010-12-24 Thread tkoenig at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31821 --- Comment #11 from Thomas Koenig 2010-12-24 08:42:07 UTC --- Author: tkoenig Date: Fri Dec 24 08:42:04 2010 New Revision: 168224 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168224 Log: 2010-12-24 Thomas Koenig PR fortran/3182

Re: [Bug insn-scheduling][4.4 ARM] Scheduling error on -O2 -mfloat-abi=softfp -mfpu=vfp

2010-12-24 Thread Andreas Schwab
"M.F. Wu" writes: > Source code: > > typedef unsigned long long float64; > > float64 syst_float64_div( float64 a, float64 b ) > { > float64 z; > > *( (double *) &z ) = *( (double *) &a ) / *( (double *) &b ); Please read . Andreas. -- Andreas Schwab

[Bug insn-scheduling][4.4 ARM] Scheduling error on -O2 -mfloat-abi=softfp -mfpu=vfp

2010-12-24 Thread M.F. Wu
Dear sir, gcc-4.4.0 mis-schedules the instructions. It causes the wrong return values in r0 and r1. But, gcc-4.5.0 does the right thing to schedule the instructions. How do I fix this in gcc-4.4.0? Thank you. Cheers Mingfeng Source code: typedef unsigned long long float64; float64 syst_float

[Bug rtl-optimization/45352] ICE: in reset_sched_cycles_in_current_ebb, at sel-sched.c:7058

2010-12-24 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45352 --- Comment #25 from Andrey Belevantsev 2010-12-24 08:23:07 UTC --- Zdenek, please don't worry about the set of flags, it does not make fixing the problem any harder, and your work on finding these is invaluable for us. Sigh, in this case I forg