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

2009-11-27 Thread hjl dot tools at gmail dot com
--- Comment #1 from hjl dot tools at gmail dot com 2009-11-27 08:15 --- It is caused by revision 154667: http://gcc.gnu.org/ml/gcc-cvs/2009-11/msg00890.html -- hjl dot tools at gmail dot com changed: What|Removed |Added ---

[Bug fortran/42131] Weird translation of DO loops

2009-11-27 Thread burnus at gcc dot gnu dot org
--- Comment #16 from burnus at gcc dot gnu dot org 2009-11-27 08:29 --- (In reply to comment #12) > > Any tricks I have missed? > Yes - we could provide for loop versioning in the front end. [...] > ELSE >ABORT "M3 MUST NOT BE ZERO" > ENDIF Just for completeness a zeroness check is

[Bug fortran/41807] [4.5/4.4 Regression] data statement with nested type constructors

2009-11-27 Thread burnus at gcc dot gnu dot org
--- Comment #31 from burnus at gcc dot gnu dot org 2009-11-27 08:32 --- Crossref: I have opened a follow up PR 42189 as in the review it was stated that "gfc_is_constant_expr has unacceptable side effects". -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41807

[Bug fortran/41278] internal compiler error related to matmul and transpose

2009-11-27 Thread burnus at gcc dot gnu dot org
--- Comment #11 from burnus at gcc dot gnu dot org 2009-11-27 08:34 --- (In reply to comment #10) > Just a note of appreciation to Chris for reporting this bug and providing a > simple and extremely useful test case. When I get a moment, I will add Chris > to the test case as recognitio

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

2009-11-27 Thread jv244 at cam dot ac dot uk
--- Comment #39 from jv244 at cam dot ac dot uk 2009-11-27 08:52 --- I've rerun the initial (non-reduced) testcase at -O0, and I'm getting now more reasonable memory usage (2.5Gb), and all time is now in 'expand'. 'expand' is now about 3 times slower than 1year ago, but this is with chec

[Bug rtl-optimization/38582] excessive time in rename registers

2009-11-27 Thread jv244 at cam dot ac dot uk
--- Comment #7 from jv244 at cam dot ac dot uk 2009-11-27 08:55 --- Time report shows this is now fixed at -O3. Great job! Execution times (seconds) garbage collection: 7.60 ( 1%) usr 0.03 ( 0%) sys 7.65 ( 1%) wall 0 kB ( 0%) ggc callgraph construction: 0.23 ( 0%) us

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

2009-11-27 Thread jv244 at cam dot ac dot uk
--- Comment #40 from jv244 at cam dot ac dot uk 2009-11-27 09:00 --- with the fix for rename registers this now also runs 'fast' at -O3 (see below), and memory is reasonable as well. Most time is in expand as well. This is the time report of -O3: Execution times (seconds) garbage colle

[Bug fortran/42131] Weird translation of DO loops

2009-11-27 Thread rguenther at suse dot de
--- Comment #17 from rguenther at suse dot de 2009-11-27 09:47 --- Subject: Re: Weird translation of DO loops On Thu, 26 Nov 2009, tkoenig at gcc dot gnu dot org wrote: > --- Comment #13 from tkoenig at gcc dot gnu dot org 2009-11-26 21:56 > --- > Created an attachment (id=1

[Bug fortran/42131] Weird translation of DO loops

2009-11-27 Thread rguenther at suse dot de
--- Comment #18 from rguenther at suse dot de 2009-11-27 09:48 --- Subject: Re: Weird translation of DO loops On Thu, 26 Nov 2009, tkoenig at gcc dot gnu dot org wrote: > --- Comment #15 from tkoenig at gcc dot gnu dot org 2009-11-26 23:43 > --- > (In reply to comment #14) >

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

2009-11-27 Thread redi at gcc dot gnu dot org
--- Comment #1 from redi at gcc dot gnu dot org 2009-11-27 10:04 --- I think this change is intentional, as per the resolutions to http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-defects.html#696 and http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-defects.html#23 -- http://gcc.gnu.

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

2009-11-27 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2009-11-27 10:22 --- class IntSize { public: IntSize(int width, int height) : m_width(width), m_height(height) { } int m_width, m_height; }; class IntPoint { public: IntPoint(int x, int y) : m_x(x), m_y(y) { } int m_x, m_

[Bug middle-end/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 CC||spop at gcc dot gnu dot org Target Milestone|---

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

2009-11-27 Thread paolo dot carlini at oracle dot com
--- Comment #2 from paolo dot carlini at oracle dot com 2009-11-27 10:24 --- Definitely intentional, yes. -- paolo dot carlini at oracle dot com 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
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-11-27 10:25 --- 4.4.2 works. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Known to work|

[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
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Component|c++ |middle-end Keywords||ice-checki

[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

[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 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 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 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 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 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 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 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 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/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 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 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 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 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++/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 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++/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 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++/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 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 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 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 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 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 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 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 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 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/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 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 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 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 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 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/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 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 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 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 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 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 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 #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 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 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 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 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 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 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 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 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 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 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 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 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/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 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 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 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 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 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 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 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++/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++/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++/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 #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/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++/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 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] [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 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 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 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

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] 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

[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 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 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 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 #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] [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 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 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 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

  1   2   >