[Bug target/42159] app compiled with 4.4.2 SIGABRTs after a trivial nested throw/stack unwinding

2009-11-27 Thread vlad at demoninsight dot com
--- Comment #8 from vlad at demoninsight dot com 2009-11-28 06:42 --- I am somewhat unsure about what our best course of action is at this point. Can we discuss this in gnu forums? Could I help by providing diagnostics? I'd like to use 4.4.x for its OpenMP support etc in preference to t

[Bug tree-optimization/42205] [4.5 Regression] internal compiler error: verify_ssa failed with -ffast-math -floop-interchange

2009-11-27 Thread zsojka at seznam dot cz
--- Comment #1 from zsojka at seznam dot cz 2009-11-28 06:14 --- Created an attachment (id=19169) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19169&action=view) reduced testcase, comes from gcc sources -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42205

[Bug tree-optimization/42205] New: [4.5 Regression] internal compiler error: verify_ssa failed with -ffast-math -floop-interchange

2009-11-27 Thread zsojka at seznam dot cz
gcc trunk r154706 command flags: -O1 -ffast-math -floop-interchange Running on testcase gives: /mnt/svn/gcc-trunk/binary-154706-lto/bin/gcc -O1 -ffast-math -floop-interchange -c testcaseN2-min.i -o tmp.o testcaseN2-min.i: In function ‘adler32’: testcaseN2-min.i:1:5: error: definition in block 8 do

[Bug fortran/20923] gfortran slow for large array constructors

2009-11-27 Thread jvdelisle at gcc dot gnu dot org
--- Comment #14 from jvdelisle at gcc dot gnu dot org 2009-11-28 05:04 --- I missed one regression from the patch in comment #13. Stay tuned. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20923

[Bug c/42204] New: update_eliminables should be called in reload after something changes

2009-11-27 Thread hutchinsonandy at gcc dot gnu dot org
This bug was previously mentioned in email from Denis. I have confirmed this on 4.5 (after long but educational tour of reload) http://gcc.gnu.org/ml/gcc/2006-03/msg00783.html When stacks slots increase from zero in reload() (in my case due to setup_save_areas() ) the register elimination conditi

[Bug middle-end/42202] [4.5 regression] Revision 154688 caused many gfortran failures

2009-11-27 Thread howarth at nitro dot med dot uc dot edu
--- Comment #2 from howarth at nitro dot med dot uc dot edu 2009-11-28 02:06 --- No new failures seen on x86_64-apple-darwin10 at r154715 in the gfortran testsuite at -m64. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42202

[Bug fortran/20923] gfortran slow for large array constructors

2009-11-27 Thread jvdelisle at gcc dot gnu dot org
--- Comment #13 from jvdelisle at gcc dot gnu dot org 2009-11-28 01:46 --- Created an attachment (id=19168) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19168&action=view) Updated patch This exploratory patch passes all regression tests. I have also successfully compiled and ru

[Bug tree-optimization/42203] std::copy() results to a call to memmove() and is not inlined in trivial cases

2009-11-27 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2009-11-28 01:24 --- Fixed in 4.5. a[0] = 0; a[1] = 1; memcpy (&b[0], &a[0], 8); D.8585_1 = b[1]; return D.8585_1; -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug c++/42203] std::copy() results to a call to memmove() and is not inlined in trivial cases

2009-11-27 Thread pogonyshev at gmx dot net
--- Comment #2 from pogonyshev at gmx dot net 2009-11-28 01:23 --- Created an attachment (id=19167) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19167&action=view) disassemble results for main() -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42203

[Bug c++/42203] std::copy() results to a call to memmove() and is not inlined in trivial cases

2009-11-27 Thread pogonyshev at gmx dot net
--- Comment #1 from pogonyshev at gmx dot net 2009-11-28 01:22 --- Created an attachment (id=19166) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19166&action=view) source code of the program -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42203

[Bug c++/42203] New: std::copy() results to a call to memmove() and is not inlined in trivial cases

2009-11-27 Thread pogonyshev at gmx dot net
It seems that even calls to std::copy() with trivially known size are not inlined. I'm attaching source C++ source file and output of GDB disassemble command. Compilation: g++-4.4 -O3 test3.cpp -o test3 -- Summary: std::copy() results to a call to memmove() and is not

[Bug middle-end/42202] [4.5 regression] Revision 154688 caused many gfortran failures

2009-11-27 Thread hjl dot tools at gmail dot com
--- Comment #1 from hjl dot tools at gmail dot com 2009-11-28 00:47 --- It is caused by revision 154688: http://gcc.gnu.org/ml/gcc-cvs/2009-11/msg00911.html -- hjl dot tools at gmail dot com changed: What|Removed |Added ---

[Bug middle-end/42202] New: [4.5 regression] many gfortran failures

2009-11-27 Thread hjl dot tools at gmail dot com
On Linux/ia64, revision 154697 gave FAIL: gfortran.dg/alloc_comp_assign_10.f90 -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions execution test FAIL: gfortran.dg/alloc_comp_assign_10.f90 -O3 -fomit-frame-pointer -funroll-loops execution test FAIL: gfortran.dg/alloc_comp_assign_2.f

[Bug c++/42201] [C++0x] std::vector>::push_back fails

2009-11-27 Thread paolo dot carlini at oracle dot com
--- Comment #2 from paolo dot carlini at oracle dot com 2009-11-27 23:08 --- The issue is pretty simple, actually: std::unique_future (which, by the way, will be renamed just std::future), is missing move assignment operator. Note, in N2914 it does *not* exist, has been added only in N3

[Bug middle-end/42006] [4.5 Regression] Termination problem with -O2 and -O3

2009-11-27 Thread jamborm at gcc dot gnu dot org
--- Comment #6 from jamborm at gcc dot gnu dot org 2009-11-27 22:35 --- Fixed. -- jamborm at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug middle-end/42006] [4.5 Regression] Termination problem with -O2 and -O3

2009-11-27 Thread jamborm at gcc dot gnu dot org
--- Comment #5 from jamborm at gcc dot gnu dot org 2009-11-27 22:34 --- Subject: Bug 42006 Author: jamborm Date: Fri Nov 27 22:34:40 2009 New Revision: 154715 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=154715 Log: 2009-11-27 Martin Jambor PR middle-end/42006

[Bug middle-end/42196] ICE when SRAing partial assigments to complex number

2009-11-27 Thread jamborm at gcc dot gnu dot org
--- Comment #1 from jamborm at gcc dot gnu dot org 2009-11-27 22:22 --- Just for the record, this also fails, for similar reasons like the second testcase above: union U { __complex__ int ci; __complex__ float cf; }; float gd; extern float bar (float, float); float foo (int b, uni

[Bug target/42200] Suboptimal optimization: after x / 2 carry flag == x & 1

2009-11-27 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-11-27 22:14 --- Confirmed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Severity|norma

[Bug c++/42201] [C++0x] std::vector>::push_back fails

2009-11-27 Thread lloyd at randombit dot net
--- Comment #1 from lloyd at randombit dot net 2009-11-27 21:39 --- Created an attachment (id=19165) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19165&action=view) Test case Here is the full output compiling this on my machine: $ g++-4.5-20091112 -Wall -W -std=c++0x movable.cpp

[Bug java/41991] gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin*

2009-11-27 Thread howarth at nitro dot med dot uc dot edu
--- Comment #19 from howarth at nitro dot med dot uc dot edu 2009-11-27 21:38 --- In case it helps, a break point on _Unwind_RaiseException () is hit 39 times. When you continue from the 39th instance of that break point having hit, when compiling the testme.java test code, you get...

[Bug c++/42201] New: [C++0x] std::vector>::push_back fails

2009-11-27 Thread lloyd at randombit dot net
For reasons I do not fully understand, std::vector>'s push_back fails because it attempts to use the (deleted) copy constructor and (copying) assignment operator. The std::vector implementation seems to support move-only objects in C++0x mode, and I don't really see why that is not working here. $

[Bug java/41991] gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin*

2009-11-27 Thread howarth at nitro dot med dot uc dot edu
--- Comment #18 from howarth at nitro dot med dot uc dot edu 2009-11-27 21:28 --- Created an attachment (id=19164) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19164&action=view) complete walk from _Jv_Throw as bz2 archive Used proposed patch from http://gcc.gnu.org/bugzilla/sho

[Bug rtl-optimization/42200] New: Suboptimal optimization: after x / 2 carry flag == x & 1

2009-11-27 Thread vda dot linux at googlemail dot com
In the example below f1 and f2 are equivalent functions differing only by the order of conditions in if(): y && !(x & 1) versus !(x & 1) && y. There are two lost optimization opportunities here: gcc does not try to pick an order of conditions which is better, and in both cases it does not use the f

[Bug c++/34272] ICE with invalid template specialization

2009-11-27 Thread paolo dot carlini at oracle dot com
-- paolo dot carlini at oracle dot com changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |paolo dot carlini at oracle |dot org

[Bug c/42199] A problem with -maltivec

2009-11-27 Thread pinskia at gmail dot com
--- Comment #1 from pinskia at gmail dot com 2009-11-27 19:12 --- Subject: Re: New: A problem with -maltivec Can you attach the preprocessed source for the configure test that is failing? It looks like the context sensitive keywords is causing the header to fail to compile. Sent

Re: [Bug c/42199] New: A problem with -maltivec

2009-11-27 Thread Andrew Pinski
Can you attach the preprocessed source for the configure test that is failing? It looks like the context sensitive keywords is causing the header to fail to compile. Sent from my iPhone On Nov 27, 2009, at 11:00 AM, "galtgendo at o2 dot pl" > wrote: You'll probably mark this bug as invali

[Bug c/42199] New: A problem with -maltivec

2009-11-27 Thread galtgendo at o2 dot pl
You'll probably mark this bug as invalid, as it's not my bug and being on x86, I really can't provide any info. http://bugs.gentoo.org/show_bug.cgi?id=293899 http://bugs.freedesktop.org/show_bug.cgi?id=25103 As you may see there, a trivial autoconf test was failing with -maltivec, but even before

[Bug middle-end/42006] [4.5 Regression] Termination problem with -O2 and -O3

2009-11-27 Thread jamborm at gcc dot gnu dot org
--- Comment #4 from jamborm at gcc dot gnu dot org 2009-11-27 18:46 --- I have started a bootstrap and check of the following (with a testcase and change log and stuff...) which for some reason fixes this (renaming introduces the mess, the code as is generated by IPA-SRA is OK): Index:

[Bug middle-end/41674] [4.5 Regression] /usr/ccs/bin/ld: Unsatisfied symbols: _GLOBAL__I_65535_0_main

2009-11-27 Thread danglin at gcc dot gnu dot org
--- Comment #6 from danglin at gcc dot gnu dot org 2009-11-27 18:39 --- Fixed. -- danglin at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug c++/42198] [C++0x] Using std::thread without -pthread causes immediate crash

2009-11-27 Thread redi at gcc dot gnu dot org
--- Comment #1 from redi at gcc dot gnu dot org 2009-11-27 18:31 --- (In reply to comment #0) > > Perhaps -pthread should be implied by -std=c++0x/-std=gnu++0x? (Except at > least > nominally one could use std::thread with DCE or Solaris threads, so is > -pthread > right anyway?) -pt

[Bug target/39488] ARM EABI: enum comparison against zero optimized away

2009-11-27 Thread rearnsha at gcc dot gnu dot org
--- Comment #5 from rearnsha at gcc dot gnu dot org 2009-11-27 18:23 --- The ARM EABI documentation has now been amended in release 2.08, making GCC's implementation fully conformant. -- rearnsha at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/42198] New: [C++0x] Using std::thread without -pthread causes immediate crash

2009-11-27 Thread lloyd at randombit dot net
It looks like any use of std::thread compiled in a program without -pthread (or probably some specific macro set by -pthread, but hard to say as -pthread isn't really documented to begin with) will crash on the spot. For instance, this code: #include void f() {} int main() { std::thread t

[Bug c/21920] aliasing violations

2009-11-27 Thread paolo dot carlini at oracle dot com
--- Comment #150 from paolo dot carlini at oracle dot com 2009-11-27 16:53 --- *** Bug 42197 has been marked as a duplicate of this bug. *** -- paolo dot carlini at oracle dot com changed: What|Removed |Added --

[Bug c++/42197] g++ 4.1.2 on x86_64 gives differing results in O0, O1 and O2, O3

2009-11-27 Thread paolo dot carlini at oracle dot com
--- Comment #3 from paolo dot carlini at oracle dot com 2009-11-27 16:53 --- ... close as duplicate. *** This bug has been marked as a duplicate of 21920 *** -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug c++/42197] g++ 4.1.2 on x86_64 gives differing results in O0, O1 and O2, O3

2009-11-27 Thread paolo dot carlini at oracle dot com
--- Comment #2 from paolo dot carlini at oracle dot com 2009-11-27 16:52 --- Reopening to... -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug c++/42197] g++ 4.1.2 on x86_64 gives differing results in O0, O1 and O2, O3

2009-11-27 Thread paolo dot carlini at oracle dot com
--- Comment #1 from paolo dot carlini at oracle dot com 2009-11-27 16:48 --- 4.1.x is very old and not maintained anymore. Try something more recent, eg, 4.4.x, and, before reporting anything make sure you are not violating aliasing rules (double check if the result changes with -fno-st

[Bug c++/38656] Broken diagnostic: 'template_id_expr' not supported by pp_c_expression

2009-11-27 Thread paolo dot carlini at oracle dot com
--- Comment #3 from paolo dot carlini at oracle dot com 2009-11-27 16:37 --- Fixed for 4.5.0. -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug c++/38656] Broken diagnostic: 'template_id_expr' not supported by pp_c_expression

2009-11-27 Thread paolo at gcc dot gnu dot org
--- Comment #2 from paolo at gcc dot gnu dot org 2009-11-27 16:37 --- Subject: Bug 38656 Author: paolo Date: Fri Nov 27 16:36:43 2009 New Revision: 154712 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=154712 Log: cp/ 2009-11-27 Paolo Carlini PR c++/38656 * c

[Bug c++/42197] New: g++ 4.1.2 on x86_64 gives differing results in O0, O1 and O2, O3

2009-11-27 Thread tamas_gaal at yahoo dot com
When compiling and executing the little demo program (enclosed) using g++ 4.1.2 on a x86_64 machine it gives differing results when compiled with -O0, -O1 versus -O2, -O3 optimisation flags. I suspect the latter results (with O2, O3) are wrong. The same (I think bad) result when tried with g++ 4.

[Bug rtl-optimization/42084] [4.5 Regression] Wrong result with -Os -fno-delete-null-pointer-checks

2009-11-27 Thread matz at gcc dot gnu dot org
--- Comment #8 from matz at gcc dot gnu dot org 2009-11-27 15:37 --- Fixed. -- matz at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug rtl-optimization/42084] [4.5 Regression] Wrong result with -Os -fno-delete-null-pointer-checks

2009-11-27 Thread matz at gcc dot gnu dot org
--- Comment #7 from matz at gcc dot gnu dot org 2009-11-27 15:36 --- Subject: Bug 42084 Author: matz Date: Fri Nov 27 15:35:50 2009 New Revision: 154709 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=154709 Log: PR rtl-optimization/42084 * cfgexpand.c (maybe_clea

[Bug target/41810] Cannot build gcc: gthr-default.h:466: error: '__mutex' was not declared in this scope

2009-11-27 Thread ro at gcc dot gnu dot org
--- Comment #12 from ro at gcc dot gnu dot org 2009-11-27 15:17 --- Subject: Bug 41810 Author: ro Date: Fri Nov 27 15:17:04 2009 New Revision: 154708 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=154708 Log: PR target/41810 * gthr-solaris.h (__gthread_mutex_dest

[Bug tree-optimization/42195] missed xnor optimization.

2009-11-27 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-11-27 15:07 --- Confirmed. This somehow looks like a variant of PR42117. Or of course a missed folding - though I believe we shouldn't match this big patterns in fold anymore. -- rguenth at gcc dot gnu dot org changed:

[Bug c++/42194] performance degradation with STL complex convolution operation

2009-11-27 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-11-27 15:02 --- This is because with GCC 4.3 we properly implement complex arithmetic. Use -fcx-fortran-rules or -fcx-limited-range for speed. -- rguenth at gcc dot gnu dot org changed: What|Removed

[Bug fortran/40850] "double free or corruption" returning derived types with allocatable components

2009-11-27 Thread mrestelli at gmail dot com
--- Comment #3 from mrestelli at gmail dot com 2009-11-27 14:45 --- (In reply to comment #2) > > *** This bug has been marked as a duplicate of 41777 *** > Sorry! I hit something accidentally on my keyboard, I didn't mean marking this bug as a duplicate at all... Apologies! -- mr

[Bug fortran/40850] "double free or corruption" returning derived types with allocatable components

2009-11-27 Thread mrestelli at gmail dot com
--- Comment #2 from mrestelli at gmail dot com 2009-11-27 14:28 --- *** This bug has been marked as a duplicate of 41777 *** -- mrestelli at gmail dot com changed: What|Removed |Added --

[Bug fortran/41777] Wrong-code with POINTER-returning GENERIC function

2009-11-27 Thread mrestelli at gmail dot com
--- Comment #17 from mrestelli at gmail dot com 2009-11-27 14:28 --- *** Bug 40850 has been marked as a duplicate of this bug. *** -- mrestelli at gmail dot com changed: What|Removed |Added --

[Bug rtl-optimization/42084] [4.5 Regression] Wrong result with -Os -fno-delete-null-pointer-checks

2009-11-27 Thread matz at gcc dot gnu dot org
--- Comment #6 from matz at gcc dot gnu dot org 2009-11-27 14:25 --- Mine. -- matz at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gc

[Bug middle-end/42006] [4.5 Regression] Termination problem with -O2 and -O3

2009-11-27 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2009-11-27 14:18 --- This is early IPA-SRA which transforms : goto ; : p_6.0_3 = (int) p_6_1; if (p_6.0_3 <= 100) goto ; else goto ; : p_6_6 = p_6_1 >> p_6.0_3; : # p_6_7 = PHI if (p_6_7 != 0) goto ; else

[Bug middle-end/42196] New: ICE when SRAing partial assigments to complex number

2009-11-27 Thread jamborm at gcc dot gnu dot org
Not very surprisingly, I get ICEs at tree-sra.c:2148 when compiling these two examples with the current trunk at -O[123] on x86-64-linux: == union U { double d; __complex__ int c; }; double gd; extern double bar (union U); d

[Bug c++/41906] [4.5 Regression] ICE with catch(...) and -fpermissive

2009-11-27 Thread matz at gcc dot gnu dot org
--- Comment #4 from matz at gcc dot gnu dot org 2009-11-27 13:26 --- Fixed. -- matz at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug tree-optimization/42195] New: missed xnor optimization.

2009-11-27 Thread pluto at agmk dot net
bool xnor_1( bool x, bool y ) { return !( x ^ y ); } bool xnor_2( bool x, bool y ) { return ( x && y ) || ( !x && !y ); } both functions should emit (x==y) code, but _2 isn't optimized. bool xnor_1(bool, bool) (x, y) { int D.2085; : return x == y; } bool xnor_2(bool, bool) (x, y) { bool D.

[Bug rtl-optimization/42084] [4.5 Regression] Wrong result with -Os -fno-delete-null-pointer-checks

2009-11-27 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2009-11-27 13:22 --- int g = 0; static int foo(int ui1, int ui2) { if (ui2 == 0) return ui1; else return ui1 + ui2; } void func_2(long long p) { if ((g > p) == (g <= foo(8, (&g != 0 g = 1; else g = 2; } extern

[Bug rtl-optimization/42084] [4.5 Regression] Wrong result with -Os -fno-delete-null-pointer-checks

2009-11-27 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2009-11-27 13:22 --- Actually it is some RTL optimization pass that miscompiles this (func_2). With -fno-delete-null-pointer-checks we defer evaluating &g != 0 until expansion which then exposes CCP opportunities. With -O1 -fno-delete-n

[Bug c++/41906] [4.5 Regression] ICE with catch(...) and -fpermissive

2009-11-27 Thread matz at gcc dot gnu dot org
--- Comment #3 from matz at gcc dot gnu dot org 2009-11-27 13:09 --- Subject: Bug 41906 Author: matz Date: Fri Nov 27 13:08:58 2009 New Revision: 154704 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=154704 Log: PR c++/41906 * tree-eh.c (lower_catch): Stop after

[Bug c++/38656] Broken diagnostic: 'template_id_expr' not supported by pp_c_expression

2009-11-27 Thread paolo dot carlini at oracle dot com
-- paolo dot carlini at oracle dot com changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |paolo dot carlini at oracle |dot org

[Bug target/41156] [4.4/4.5 Regression] zlib segfault in inflate_table() compiled w/ -O -msse2 ftree-vectorize

2009-11-27 Thread mahatma at eu dot by
--- Comment #30 from mahatma at eu dot by 2009-11-27 12:51 --- Created an attachment (id=19163) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19163&action=view) (2) for 4.5 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41156

[Bug target/41156] [4.4/4.5 Regression] zlib segfault in inflate_table() compiled w/ -O -msse2 ftree-vectorize

2009-11-27 Thread mahatma at eu dot by
--- Comment #29 from mahatma at eu dot by 2009-11-27 12:49 --- Created an attachment (id=19162) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19162&action=view) (2) for 4.4 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41156

[Bug c++/37933] reference to ... is ambiguous: same error shown twice for same line of code

2009-11-27 Thread paolo dot carlini at oracle dot com
--- Comment #2 from paolo dot carlini at oracle dot com 2009-11-27 12:49 --- Fixed by my patch for PR35112 in r154698. -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug target/41156] [4.4/4.5 Regression] zlib segfault in inflate_table() compiled w/ -O -msse2 ftree-vectorize

2009-11-27 Thread mahatma at eu dot by
--- Comment #28 from mahatma at eu dot by 2009-11-27 12:45 --- Yes, I read PR 40838. But last (IMHO) in this thread: Disabling SSE in whole GCC libs may cause various build problems in SSE-related -march (mostly with -ffast-math, but IMHO more). So, to use this simple solution, SSE disa

[Bug middle-end/41290] [4.5 regression] ICE: edge points to wrong declaration

2009-11-27 Thread rguenth at gcc dot gnu dot org
--- Comment #12 from rguenth at gcc dot gnu dot org 2009-11-27 12:43 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|REOPENE

[Bug rtl-optimization/42175] Slow compile and much memory use at -O1

2009-11-27 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2009-11-27 12:38 --- With -O1 -fno-move-loop-invariants we get TOTAL : 83.46 2.1785.63 1650809 kB -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42175

[Bug rtl-optimization/42175] Slow compile and much memory use at -O1

2009-11-27 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2009-11-27 12:13 --- At -O2 gcc 4.4 uses about 2.7GB ram and shows: Execution times (seconds) df reaching defs : 30.13 ( 6%) usr 7.70 (73%) sys 39.01 ( 8%) wall 0 kB ( 0%) ggc df live regs : 14.44 ( 3%) usr

[Bug c++/42194] New: performance degradation with STL complex convolution operation

2009-11-27 Thread jagjeet dot nain at gmail dot com
I have very simple program which basically does complex matrix convolution operation. I am seeing 3 times performance degradation if this program is compiled with 4.3.2 version vs compiled with 4.0.2. I am compiling this program with -O3 option, no additional optimization flags supplied. Also one m

[Bug middle-end/41290] [4.5 regression] ICE: edge points to wrong declaration

2009-11-27 Thread jamborm at gcc dot gnu dot org
--- Comment #11 from jamborm at gcc dot gnu dot org 2009-11-27 12:00 --- I can't reproduce this with revision 154673. Maybe it is fixed already? (perhaps by a fix for PR 42151?) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41290

[Bug rtl-optimization/42175] Slow compile and much memory use at -O1

2009-11-27 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2009-11-27 11:58 --- 4.5 shows at -O1: Execution times (seconds) garbage collection: 1.66 ( 1%) usr 0.05 ( 0%) sys 1.73 ( 1%) wall 0 kB ( 0%) ggc callgraph construction: 0.11 ( 0%) usr 0.00 ( 0%) sys 0.13 ( 0%) w

[Bug middle-end/42110] [4.5 Regression] ICE with inlining

2009-11-27 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2009-11-27 11:35 --- *** Bug 42187 has been marked as a duplicate of this bug. *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug middle-end/42187] [4.5 Regression] ice when inlined_to pointer set for noninline callers

2009-11-27 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2009-11-27 11:35 --- *** This bug has been marked as a duplicate of 42110 *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added --

[Bug debug/42186] [4.5 Regression] internal compiler error: verify_ssa failed

2009-11-27 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added CC||aoliva at gcc dot gnu dot |

[Bug tree-optimization/42185] [4.5 Regression] expected gimple_assign(error_mark), have gimple_call() in gimple_assign_rhs_code, at gimple.h:1820

2009-11-27 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Component|middle-end |tree-optimization Keywords||ice

[Bug middle-end/42183] [4.5 Regression] internal compiler error: verify_stmts failed

2009-11-27 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42183

[Bug middle-end/42181] [4.5 Regression] -fgraphite-identity miscompiles or ICEs on air.f90

2009-11-27 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Keywords||ice-on-valid-code, wrong- |

[Bug middle-end/42169] [4.4/4.5 Regression] gfortran.dg/pr41928.f90:47: internal compiler error: in store_can_be_removed_p, at ira-emit.c:371

2009-11-27 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42169

[Bug ada/42168] [4.4/4.5 Regression] GNAT bug box with invalid anonymous access declaration

2009-11-27 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P5 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42168

[Bug debug/42166] [4.5 Regression] internal compiler error: verify_ssa failed

2009-11-27 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2009-11-27 11:30 --- Confirmed. The ICE is from verify-ssa after DOM which threads some jumps. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added --

[Bug bootstrap/42157] [4.5 regression] ICE building stage 1 libgcc on IRIX 5.3: SEGV in compare_access_positions

2009-11-27 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2009-11-27 11:27 --- Thus invalid. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|UN

[Bug objc++/42156] [4.5 Regression] Hundreds of objc++ testsuite regressions

2009-11-27 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42156

[Bug middle-end/42110] [4.5 Regression] ICE with inlining

2009-11-27 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2009-11-27 11:25 --- Re-confirmed. Might cause wrong-code, so P1 even if ice-checking. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added --

[Bug tree-optimization/42108] [4.4/4.5 Regression] Vectorizer cannot deal with PAREN_EXPR gracefully, 50% performance regression

2009-11-27 Thread rguenth at gcc dot gnu dot org
--- Comment #19 from rguenth at gcc dot gnu dot org 2009-11-27 11:23 --- I guess this PR should be split further, a bug about the PAREN_EXPR wrt vectorization and a bug about the yet unanalyzed performance regression. -- rguenth at gcc dot gnu dot org changed: What|R

[Bug rtl-optimization/41862] [4.5 Regression] -fgcse-sm causes bootstrap comparison failures

2009-11-27 Thread zsojka at seznam dot cz
--- Comment #7 from zsojka at seznam dot cz 2009-11-27 11:23 --- My fault for not using -fgcse-sm in BOOT_CFLAGS. With that, it gets worse: $ nice -n 19 make -j3 BOOT_CFLAGS="-O2 -fgcse-sm" Comparing stages 2 and 3 warning: gcc/cc1plus-checksum.o differs warning: gcc/cc1-checksum.o diff

[Bug c++/42161] use __cxa_vec_dtor instead of loop to reduce code size

2009-11-27 Thread rearnsha at gcc dot gnu dot org
--- Comment #2 from rearnsha at gcc dot gnu dot org 2009-11-27 11:22 --- This is a generic C++ issue; it's not target specific -- rearnsha at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/42084] [4.5 Regression] Wrong result with -Os -fno-delete-null-pointer-checks

2009-11-27 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42084

[Bug c++/42069] [4.5 Regression] fails on class template specialization with default parameter

2009-11-27 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Known to work||4.4.2 Priority|P3 |P1 http://gcc

[Bug bootstrap/42068] [4.5 regression] ICE in function_and_variable_visibility breaks Tru64 UNIX Ada bootstrap

2009-11-27 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2009-11-27 11:20 --- Is this still an issue? -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/42062] [4.3/4.4/4.5 Regression] Trouble with invalid template specialization

2009-11-27 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-11-27 11:20 --- P2 for the accepts-invalid, the ICE would have been P5. Please consider splitting this bug. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/42057] [4.5 Regression] ICE with invalid parameter of virtual function

2009-11-27 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P5 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42057

[Bug c++/42054] [4.3/4.4/4.5 Regression] ICE with invalid template parameter

2009-11-27 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P5 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42054

[Bug tree-optimization/42027] [4.5 Regression] Performance regression in convolution loop optimization

2009-11-27 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Prio

[Bug middle-end/42024] [4.5 regression] Revision 154128 caused many failures

2009-11-27 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2009-11-27 11:18 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRM

[Bug middle-end/42006] [4.5 Regression] Termination problem with -O2 and -O3

2009-11-27 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2009-11-27 11:17 --- Re-confirmed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Component|c

[Bug debug/41988] [4.5 Regression] FAIL: g++.dg/debug/*.C -gdwarf-2 -g1 (internal compiler error)

2009-11-27 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41988

[Bug middle-end/41674] [4.5 Regression] /usr/ccs/bin/ld: Unsatisfied symbols: _GLOBAL__I_65535_0_main

2009-11-27 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2009-11-27 11:12 --- Does this still happen? -- rguenth at gcc dot gnu dot org changed: What|Removed |Added P

[Bug bootstrap/41399] [4.5 Regression] Internal error compiling fortran/intrinsic.c

2009-11-27 Thread rguenth at gcc dot gnu dot org
--- Comment #10 from rguenth at gcc dot gnu dot org 2009-11-27 11:10 --- Why is this a regression? Does it work with 4.4 and checking enabled? Does it work with current trunk and release checking? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41399

[Bug libstdc++/42191] operator>>(istream &, double &) overwrites value upon failure

2009-11-27 Thread paolo dot carlini at oracle dot com
--- Comment #4 from paolo dot carlini at oracle dot com 2009-11-27 10:50 --- It is zero, in mainline. I'm not planning to backport anything here. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42191

[Bug middle-end/38474] [Meta] slow compilation at -O0 (callgraph optimization, inline heuristics, expand )

2009-11-27 Thread rguenth at gcc dot gnu dot org
--- Comment #41 from rguenth at gcc dot gnu dot org 2009-11-27 10:50 --- Micha - we still spend most of the time in expand_used_vars even at -O0. Maybe you want to have a look. expand: 555.46 (92%) usr 4.88 (77%) sys 579.14 (92%) wall 310089 kB (56%) ggc integrated

[Bug libstdc++/42191] operator>>(istream &, double &) overwrites value upon failure

2009-11-27 Thread redi at gcc dot gnu dot org
--- Comment #3 from redi at gcc dot gnu dot org 2009-11-27 10:46 --- Paolo, should int x also be set to zero? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42191

[Bug c++/35112] [4.3/4.4 regression] ICE and broken diagnostic with ambiguous class name

2009-11-27 Thread paolo dot carlini at oracle dot com
--- Comment #7 from paolo dot carlini at oracle dot com 2009-11-27 10:46 --- Fixed for 4.5.0. Not planning a backport. -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug c++/35112] [4.3/4.4/4.5 regression] ICE and broken diagnostic with ambiguous class name

2009-11-27 Thread paolo at gcc dot gnu dot org
--- Comment #6 from paolo at gcc dot gnu dot org 2009-11-27 10:45 --- Subject: Bug 35112 Author: paolo Date: Fri Nov 27 10:44:49 2009 New Revision: 154698 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=154698 Log: /cp 2009-11-27 Paolo Carlini PR c++/35112 * p

[Bug middle-end/42193] [4.5 Regression] 454.calculix in SPEC CPU 2006 failed to compile at -O3

2009-11-27 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2009-11-27 10:36 --- I see umat_single_crystal.f: In function 'umat_single_crystal_': umat_single_crystal.f:19:0: internal compiler error: in gimple_call_set_arg, at gimple.h:2088 Please submit a full bug report, with preprocessed sourc

[Bug middle-end/42193] [4.5 Regression] 454.calculix in SPEC CPU 2006 failed to compile at -O3

2009-11-27 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P1 Target Milestone|--- |4.5.0 http://gcc

  1   2   >