[Bug c++/44256] When using -flto and -fwhole-program the compiler/linker crash
--- Comment #16 from reichelt at gcc dot gnu dot org 2010-05-25 08:41 --- *** Bug 44264 has been marked as a duplicate of this bug. *** -- reichelt at gcc dot gnu dot org changed: What|Removed |Added CC||reichelt at gcc dot gnu dot ||org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44256
[Bug lto/44264] [4.5 regression] ICE with virtual functions
--- Comment #2 from reichelt at gcc dot gnu dot org 2010-05-25 08:41 --- This sounds like the same as PR 44256 which was just fixed today. I guess, you're right. The bug disappeared. *** This bug has been marked as a duplicate of 44256 *** -- reichelt at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||DUPLICATE http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44264
[Bug lto/44264] New: [4.5 regression] ICE with virtual functions
The following valid code snippet triggers an ICE on the 4.5 branch when compiled and linked with -flto -g: = namespace N { struct A {}; } struct B { virtual void foo(N::A) {} }; int main() { B b; return 0; } = lto1: internal compiler error: in gimple_register_type, at gimple.c:3820 Please submit a full bug report, [etc.] GCC 4.5.0 and trunk are not affected. -- Summary: [4.5 regression] ICE with virtual functions Product: gcc Version: 4.6.0 Status: UNCONFIRMED Keywords: ice-on-valid-code, monitored, lto Severity: normal Priority: P3 Component: lto AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44264
[Bug lto/44264] [4.5 regression] ICE with virtual functions
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.5.1 Version|4.6.0 |4.5.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44264
[Bug middle-end/44206] New: [4.6 Regression] ICE: Inline clone with address taken
The following valid code snippet triggers an ICE on trunk when compiled with -O3 on i686-pc-linux-gnu and x86_64-unknown-linux-gnu: === templateint struct A { void foo(void(*)(A)); void bar(void(*f)(A)) { foo(f); foo(f); } }; templateint N inline void FOO(AN a) { a.foo(0); } extern template void FOO(A0); void BAR() { A0 a; FOO(a); a.bar(FOO); } === bug.cc:19:1: error: Inline clone with address taken void FOO(AN) [with int N = 0]/5(-1) @0x40228780 (asm: _Z3FOOILi0EEv1AIXT_EE) (inline copy in void BAR()/0) availability:local analyzed 12 time, 11 benefit 3 size, 2 benefit address_taken body local finalized inlinable called by: void BAR()/0 (1.00 per call) (inlined) (can throw external) calls: void Aanonymous ::foo(void (*)(Aanonymous )) [with int anonymous = 0, Aanonymous = A0]/3 (1.00 per call) (can throw external) References: Refering this function: fn:void Aanonymous ::bar(void (*)(Aanonymous )) [with int anonymous = 0, Aanonymous = A0]/4 (addr) fn:void Aanonymous ::bar(void (*)(Aanonymous )) [with int anonymous = 0, Aanonymous = A0]/4 (addr) bug.cc:19:1: internal compiler error: verify_cgraph_node failed Please submit a full bug report, [etc.] This is probably related to PR 44121. -- Summary: [4.6 Regression] ICE: Inline clone with address taken Product: gcc Version: 4.6.0 Status: UNCONFIRMED Keywords: ice-on-valid-code, monitored Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44206
[Bug middle-end/44206] [4.6 Regression] ICE: Inline clone with address taken
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.6.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44206
[Bug middle-end/44121] [4.6 Regression] multiple char-related fails.
--- Comment #12 from reichelt at gcc dot gnu dot org 2010-05-20 06:25 --- The failure in comment #1 might be related to PR 44206. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44121
[Bug c++/40406] ICE with broken template member declaration
--- Comment #3 from reichelt at gcc dot gnu dot org 2010-05-06 06:05 --- Yes, it's fixed in GCC 4.5.0 and later. Paolo, would you mind adding a testcase? -- reichelt at gcc dot gnu dot org changed: What|Removed |Added CC||paolo dot carlini at oracle ||dot com Target Milestone|--- |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40406
[Bug c++/44017] New: [4.6 regression] ICE with template hierarchy
The following valid code snippet triggers an ICE on trunk: = struct A { templateint void foo(); }; templateint N struct B : A { B() { fooN(); } }; B0 b; = bug.cc: In constructor 'BN::B() [with int N = 0]': bug.cc:11:6: instantiated from here bug.cc:8:9: internal compiler error: in build_base_path, at cp/class.c:270 Please submit a full bug report, [etc.] -- Summary: [4.6 regression] ICE with template hierarchy Product: gcc Version: 4.6.0 Status: UNCONFIRMED Keywords: ice-on-valid-code, monitored Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44017
[Bug c++/44017] [4.6 regression] ICE with template hierarchy
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.6.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44017
[Bug c++/43079] New: [4.5 Regression] ICE with incompatible pointer-to-member-function as template parameter
The following invalid code snippet triggers an ICE on trunk: === struct A {}; struct B { void foo() const; void foo(); }; templatevoid (A::*)() void bar(); void baz() { barB::foo(); } === bug.cc: In function 'void baz()': bug.cc:13:16: internal compiler error: in convert_nontype_argument, at cp/pt.c:5132 Please submit a full bug report, [etc.] -- Summary: [4.5 Regression] ICE with incompatible pointer-to- member-function as template parameter Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code, monitored Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43079
[Bug c++/43079] [4.5 Regression] ICE with incompatible pointer-to-member-function as template parameter
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43079
[Bug c++/43080] New: ICE with anonymous union and -flto
The following valid code snippet triggers an ICE on trunk when compiled with -flto -g: === inline int foo() { static union { int i; }; return i; } void bar() { foo(); } === bug.cc: In function 'foo()': bug.cc:5:1: internal compiler error: in gimple_decl_printable_name, at gimple.c:4610 Please submit a full bug report, [etc.] -- Summary: ICE with anonymous union and -flto Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: ice-on-valid-code, monitored, lto Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43080
[Bug c++/43081] New: [c++0x] ICE with invalid use of lambda expression
The following invalid code snippet triggers an ICE on trunk: === struct A { typedef void (F)(); F f = []{}; }; === bug.cc:4:12: internal compiler error: in grokfield, at cp/decl2.c:911 Please submit a full bug report, [etc.] -- Summary: [c++0x] ICE with invalid use of lambda expression Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code, monitored Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43081
[Bug c++/43024] [4.4 Regression] ICE on template code with -O2 or -O3, regression from 4.4.2
--- Comment #9 from reichelt at gcc dot gnu dot org 2010-02-14 21:52 --- Created an attachment (id=19865) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19865action=view) Further reduced testcase -- reichelt at gcc dot gnu dot org changed: What|Removed |Added Attachment #19836|0 |1 is obsolete|| Attachment #19854|0 |1 is obsolete|| Attachment #19855|0 |1 is obsolete|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43024
[Bug c++/43024] [4.4 Regression] ICE on template code with -O2 or -O3, regression from 4.4.2
--- Comment #10 from reichelt at gcc dot gnu dot org 2010-02-14 21:54 --- The reduced testcase from comment #9 crashes with -O2 on i686-pc-linux-gnu since GCC 4.4.0, so the problem is not a regression from 4.4.2, but from 4.3.x. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added CC||reichelt at gcc dot gnu dot ||org Known to fail|4.4.3 4.4.4 |4.4.0 4.4.3 4.4.4 Known to work|4.4.2 4.5.0 |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43024
[Bug c++/41183] [4.4 Regression] ICE compiling chromium
--- Comment #10 from reichelt at gcc dot gnu dot org 2009-12-22 23:46 --- Fixed. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41183
[Bug debug/42395] [4.5 Regression] error: definition in block 12 does not dominate use in block 19 with -O3 -g
--- Comment #2 from reichelt at gcc dot gnu dot org 2009-12-23 00:13 --- Confirmed. It also crashes on i686-pc-linux-gnu if you add -msse2 to the command line. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added CC||reichelt at gcc dot gnu dot ||org Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|-00-00 00:00:00 |2009-12-23 00:13:56 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42395
[Bug middle-end/42363] [4.5 Regression] ICE: verify_flow_info failed for gcc.c-torture/compile/pr37913.c -O1 -g
--- Comment #3 from reichelt at gcc dot gnu dot org 2009-12-23 00:22 --- Confirmed. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added CC||reichelt at gcc dot gnu dot ||org Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|-00-00 00:00:00 |2009-12-23 00:22:02 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42363
[Bug c++/42336] [4.5 Regression] ICE with pointer-to-member-function argument in template function
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added CC||reichelt at gcc dot gnu dot ||org Keywords||ice-on-valid-code Summary|ICE with pointer-to-member- |[4.5 Regression] ICE with |function argument in|pointer-to-member-function |template function |argument in template ||function Target Milestone|--- |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42336
[Bug debug/42425] New: ICE declaring local class
The following valid code snippet triggers an ICE on trunk when compiled with -flto -g: == struct A { virtual ~A(); }; void foo() { struct B : A {}; B b; } == bug.cc: In member function 'B': bug.cc:8:16: internal compiler error: tree check: expected class 'type', have 'declaration' (function_decl) in gen_type_die_with_usage, at dwarf2out.c:18739 Please submit a full bug report, [etc.] -- Summary: ICE declaring local class Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: ice-on-valid-code, lto Severity: normal Priority: P3 Component: debug AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42425
[Bug c++/27425] [4.3/4.4/4.5 regression] ICE with invalid template-template-parameter
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.5.0 |4.4.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27425
[Bug c++/34274] [4.3/4.4/4.5 regression] Broken diagnostic: 'template_template_parm' not supported by dump_decl
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.5.0 |4.4.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34274
[Bug c++/42219] [4.5 Regression] ICE with const void as parameter type
--- Comment #5 from reichelt at gcc dot gnu dot org 2009-12-14 08:46 --- Fixed. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42219
[Bug middle-end/42228] [4.5 Regression] verify_cgraph_node failed:node has wrong clone_of
--- Comment #3 from reichelt at gcc dot gnu dot org 2009-12-08 14:16 --- After removing a couple of lines from the preprocessed code I end up with the same problem as in PR41290. Apparently this bug hasn't been fixed and still haunts us. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42228
[Bug c++/42315] New: [4.3/4.4/4.5 Regression] ICE with invalid array initializer
The following invalid code snippet triggers an ICE since GCC 4.1.2: extern int x[]; int i = x[0]; int x[] = 0; bug.cc:5:11: error: initializer fails to determine size of 'x' bug.cc: In function 'void __static_initialization_and_destruction_0(int, int)': bug.cc:3:12: internal compiler error: tree check: expected array_type, have error_mark in array_ref_low_bound, at expr.c:6205 Please submit a full bug report, [etc.] -- Summary: [4.3/4.4/4.5 Regression] ICE with invalid array initializer Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code, error-recovery, monitored Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42315
[Bug c++/42315] [4.3/4.4/4.5 Regression] ICE with invalid array initializer
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.3.5 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42315
[Bug c++/42260] New: [4.3/4.4/4.5 Regression] ICE looking up template conversion operator
The following invalid code snippet triggers an ICE since GCC 3.2.3: = struct A { templatetypename T operator T*(); }; int i = *A(); = bug.cc:6:12: internal compiler error: tree check: expected record_type or union_type or qual_union_type, have template_type_parm in lookup_conversions, at cp/search.c:2431 Please submit a full bug report, [etc.] -- Summary: [4.3/4.4/4.5 Regression] ICE looking up template conversion operator Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code, monitored Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42260
[Bug c++/42260] [4.3/4.4/4.5 Regression] ICE looking up template conversion operator
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.3.5 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42260
[Bug c++/42057] [4.5 Regression] ICE with invalid parameter of virtual function
--- Comment #3 from reichelt at gcc dot gnu dot org 2009-12-01 07:26 --- Indeed, the ICE disappeared. Would you mind adding the testcase anyway? Thanks! -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42057
[Bug middle-end/42217] New: [4.5 Regression] ICE with zero-length bit-field
The following valid code snippet triggers an ICE on trunk: == struct A { int : 0; }; A a = A(); == bug.cc:6:9: internal compiler error: in int_or_pointer_precision, at tree.c:10593 Please submit a full bug report, [etc.] -- Summary: [4.5 Regression] ICE with zero-length bit-field Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: ice-on-valid-code, monitored Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42217
[Bug middle-end/42217] [4.5 Regression] ICE with zero-length bit-field
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42217
[Bug c++/42218] New: [4.5 Regression] Broken diagnostic: 'tree_vec' not supported by pp_c_expression
A broken diagnostic is issued for the following invalid code snippet on trunk: templateint struct A { templateint struct B; }; int i = A0::B0::X::Y; bug.cc:6:21: error: 'A0::B#'tree_vec' not supported by pp_c_expression#, #'tree_vec' not supported by pp_c_expression#::X' has not been declared GCC 4.3.x and 4.4.x issue a sensible error message: bug.cc:6: error: 'A::B::X' has not been declared GCC 4.2.x issues an even better error message: bug.cc:6: error: 'struct A0::B0::X' has not been declared -- Summary: [4.5 Regression] Broken diagnostic: 'tree_vec' not supported by pp_c_expression Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: diagnostic, monitored Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42218
[Bug c++/42218] [4.5 Regression] Broken diagnostic: 'tree_vec' not supported by pp_c_expression
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42218
[Bug c++/42038] [4.3/4.4/4.5 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in useless_type_conversion_p
--- Comment #6 from reichelt at gcc dot gnu dot org 2009-11-29 15:56 --- The ICE happens since GCC 4.2.0. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added CC||reichelt at gcc dot gnu dot ||org Keywords||error-recovery, monitored Summary|ICE: tree check: expected |[4.3/4.4/4.5 Regression] |class 'type', have |ICE: tree check: expected |'exceptional' (error_mark) |class 'type', have |in useless_type_conversion_p|'exceptional' (error_mark) ||in useless_type_conversion_p Target Milestone|--- |4.3.5 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42038
[Bug c++/42219] New: [4.5 Regression] ICE with const void as parameter type
The following invalid code snippet triggers an ICE on trunk: = void foo(const void); void bar() { void (*pf)() = foo; } = bug.cc:1:16: error: 'anonymous' has incomplete type bug.cc:1:20: error: invalid use of 'const void' bug.cc: In function 'void bar()': bug.cc:5:18: error: invalid conversion from 'void (*)(type error)' to 'void (*)()' bug.cc:5:18: internal compiler error: tree check: expected class 'type', have 'exceptional' (error_mark) in useless_type_conversion_p, at tree-ssa.c:1426 Please submit a full bug report, [etc.] -- Summary: [4.5 Regression] ICE with const void as parameter type Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code, error-recovery, monitored Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42219
[Bug c++/42219] [4.5 Regression] ICE with const void as parameter type
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42219
[Bug c++/42069] [4.5 Regression] fails on class template specialization with default parameter
--- Comment #2 from reichelt at gcc dot gnu dot org 2009-11-29 18:39 --- Shorter testcase (without default parameter): = struct A { static const int N = 0; }; templateint struct B {}; templatetypename T, int struct C { typedef T U; BU::N b; }; templatetypename T struct CT*, 0 { BT::N b; }; CA*, 0 c; = -- reichelt at gcc dot gnu dot org changed: What|Removed |Added CC||reichelt at gcc dot gnu dot ||org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42069
[Bug c++/38600] Trouble mangling template_id_expr
--- Comment #3 from reichelt at gcc dot gnu dot org 2009-11-29 22:23 --- Reduced testcase: templatevoid (*)() struct A {}; templatetypename void foo(); templatetypename T AfooT bar(); void baz() { barint(); } Versions before GCC 4.4.0 just crash on the code snippet. Since GCC 4.4.0 the compiler issues a sorry: bug.cc:5:33: sorry, unimplemented: mangling template_id_expr Is this an ABI defect, or can we make mangling work in this case? -- reichelt at gcc dot gnu dot org changed: What|Removed |Added CC||reichelt at gcc dot gnu dot ||org Status|WAITING |NEW Ever Confirmed|0 |1 Keywords||ice-on-valid-code, rejects- ||valid Last reconfirmed|-00-00 00:00:00 |2009-11-29 22:23:42 date|| Summary|Internal compiler error |Trouble mangling |(ICE) Segmentation fault|template_id_expr http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38600
[Bug c++/41961] Internal error with -O3 and -ftree-parallelize-loops
--- Comment #3 from reichelt at gcc dot gnu dot org 2009-11-29 23:04 --- Reduced testcase: = struct A { char c[17]; void foo(); }; void A::foo() { for (int i = 0; i 17; ++i) c[i] = 0; } = The bug is fixed in GCC 4.4.0. (Because -ftree-parallelize-loops was introcuded in GCC 4.3.0, the crash in GCC 4.3.x is not a regression.) -- reichelt at gcc dot gnu dot org changed: What|Removed |Added CC||reichelt at gcc dot gnu dot ||org Status|UNCONFIRMED |RESOLVED Keywords||ice-on-valid-code Resolution||FIXED Target Milestone|--- |4.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41961
[Bug middle-end/41183] [4.4 Regression] ICE compiling chromium
--- Comment #3 from reichelt at gcc dot gnu dot org 2009-11-30 00:37 --- Reduced testcase (crashes with -O2 on i686-pc-linux-gnu): == void foo(const char*); templateint* struct A { templatetypename T A(const int, T); int i; }; templateint* X templatetypename T AX::A(const int j, T) : i(j) { foo(0); foo(0); foo(__PRETTY_FUNCTION__); } int N; struct B { B(); AN a; }; B::B() : a(N, 0) {} == The crash only happens on the 4.4 branch. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added CC||reichelt at gcc dot gnu dot ||org Component|c++ |middle-end Keywords||ice-on-valid-code, monitored Known to fail||4.4.0 4.4.1 4.4.2 Known to work|4.5.0 |4.3.4 4.5.0 Summary|internal compiler error:|[4.4 Regression] ICE |Segmentation fault compiling|compiling chromium |chromium| Target Milestone|--- |4.4.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41183
[Bug c++/6259] Explicit instantiation of template constructor not allowed
--- Comment #9 from reichelt at gcc dot gnu dot org 2009-11-28 11:03 --- Just for further reference: This was fixed by the patch for PR 9050. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6259
[Bug middle-end/41883] [4.5 Regression] ICE from '-O -fprofile-arcs -fsched2-use-superblocks -ftree-vrp -fschedule-insns2 -freorder-blocks'
--- Comment #2 from reichelt at gcc dot gnu dot org 2009-11-20 12:23 --- Confirmed. Reduced testcase (crashes with -fprofile-arcs -fsched2-use-superblocks -fschedule-insns2 -freorder-blocks -O): int foo(int i) { if (i) return 0; __builtin_alloca(4); return 0; } -- reichelt at gcc dot gnu dot org changed: What|Removed |Added CC||reichelt at gcc dot gnu dot ||org Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords||ice-on-valid-code Last reconfirmed|-00-00 00:00:00 |2009-11-20 12:23:29 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41883
[Bug middle-end/42110] New: [4.5 Regression] ICE with inlining
The following valid code snippet triggers an ICE on trunk when compiled with -O2: === bool foo(); struct A { A* fooA() { if (foo()) foo(); return this; } virtual void barA(char); }; templateint struct B { A *p, *q; void fooB(char c) { p-fooA()-barA(c); } }; templateint N inline void bar(BN b) { b.fooB(0); } extern template void bar(B0); void (*f)(B0) = bar; void baz() { B0().fooB(0); } === bug.cc:26:1: error: inlined_to pointer set for noninline callers bug.cc:26:1: error: multiple inline callers A::fooA()/7(-1) @0xb7cea820 (inline copy in baz()/1) availability:available 17 time, 12 benefit 6 size, 3 benefit reachable body finalized inlinable called by: _ZN1BILi0EE4fooBEc.clone.0/5 (1.00 per call) (can throw external) _ZN1BILi0EE4fooBEc.clone.0/6 (1.00 per call) (inlined) (can throw external) calls: foo()/4 (1.00 per call) (can throw external) foo()/4 (0.39 per call) (can throw external) bug.cc:26:1: internal compiler error: verify_cgraph_node failed Please submit a full bug report, [etc.] The regression was introduced between 2009-11-13 and 2009-11-17. -- Summary: [4.5 Regression] ICE with inlining Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: ice-on-valid-code, monitored Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42110
[Bug middle-end/42110] [4.5 Regression] ICE with inlining
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42110
[Bug c/42078] ice in gimple_assign_set_rhs_code
--- Comment #2 from reichelt at gcc dot gnu dot org 2009-11-17 12:42 --- Confirmed. Reduced testcase (crashes with -O -ffast-math -g): == double sqrt (double x); float foo(float x) { float y = sqrt(x); return x/y; } == -- reichelt at gcc dot gnu dot org changed: What|Removed |Added CC||reichelt at gcc dot gnu dot ||org Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|-00-00 00:00:00 |2009-11-17 12:42:48 date|| Target Milestone|--- |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42078
[Bug c++/189] [DR176] parse error in qualified member name lookup
--- Comment #17 from reichelt at gcc dot gnu dot org 2009-11-18 07:07 --- *** Bug 13052 has been marked as a duplicate of this bug. *** -- reichelt at gcc dot gnu dot org changed: What|Removed |Added CC||3 dot 14159 at gmx dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=189
[Bug c++/13052] error in looking up template super classes in different namespace
--- Comment #5 from reichelt at gcc dot gnu dot org 2009-11-18 07:07 --- This is the same problem as PR 189 which was fixed yesterday. *** This bug has been marked as a duplicate of 189 *** -- reichelt at gcc dot gnu dot org changed: What|Removed |Added Status|NEW |RESOLVED Resolution||DUPLICATE http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13052
[Bug c++/42054] New: [4.3/4.4/4.5 Regression] ICE with invalid template parameter
The following invalid testcase triggers an ICE since GCC 4.2.0: = templateint int struct A; templateint int struct A; = bug.cc:1:14: error: two or more data types in declaration of 'parameter' bug.cc:2:14: error: two or more data types in declaration of 'parameter' bug.cc:2:26: error: redefinition of default argument for 'declaration error' bug.cc:2:26: internal compiler error: tree check: expected tree that contains 'decl minimal' structure, have 'error_mark' in redeclare_class_template, at cp/pt.c:4576 Please submit a full bug report, [etc.] -- Summary: [4.3/4.4/4.5 Regression] ICE with invalid template parameter Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code, error-recovery, monitored Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42054
[Bug c++/42054] [4.3/4.4/4.5 Regression] ICE with invalid template parameter
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.3.5 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42054
[Bug c++/42056] New: ICE with invalid use of auto in template
The following invalid testcase triggers an ICE since GCC 4.4.0 (when the meaning of the auto keyword changed). == templateint struct A { int a[auto(1)]; }; == bug.cc:3:16: internal compiler error: in fold_convert_loc, at fold-const.c:2671 Please submit a full bug report, [etc.] A similar code snippet is wrongly accepted: == templateint void foo() { int a[auto(1)]; } == It is rejected when foo is instantiated, but (given the first example) this is probably too late. -- Summary: ICE with invalid use of auto in template Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code, accepts-invalid, monitored Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42056
[Bug c++/42057] New: [4.5 Regression] ICE with invalid parameter of virtual function
The following invalid testcase triggers an ICE on trunk: struct A; struct B { virtual B* foo(A); }; struct C : virtual B { virtual C* foo(A) { return 0; } }; C c; bug.cc: In member function 'virtual C* C::foo(A)': bug.cc:10:14: error: 'anonymous' has incomplete type bug.cc:1:8: error: forward declaration of 'struct A' bug.cc: In member function 'C* C::_ZTch0_v0_n16_N1C3fooE1A(A)': bug.cc:13:4: internal compiler error: tree check: expected class 'type', have 'exceptional' (error_mark) in create_tmp_var, at gimplify.c:504 Please submit a full bug report, [etc.] When the code snippet is compiles with -Wall then the ICE happens in a different place (the rest of the error message is identical): bug.cc:13:4: internal compiler error: tree check: expected class 'type', have 'exceptional' (error_mark) in operand_equal_p, at fold-const.c:3182 -- Summary: [4.5 Regression] ICE with invalid parameter of virtual function Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code, error-recovery, monitored Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42057
[Bug c++/42057] [4.5 Regression] ICE with invalid parameter of virtual function
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42057
[Bug c++/42058] New: [4.3/4.4/4.5 Regression] Trouble with invalid array initialization
The following invalid testcase triggers an ICE on trunk (and GCC 4.1.x): struct A; struct B { A a; }; B b[1] = (B[]) { 0 }; bug.cc:5:5: error: field 'a' has incomplete type bug.cc:8:20: error: initializer for 'B' must be brace-enclosed bug.cc:8:20: internal compiler error: tree check: expected class 'type', have 'exceptional' (error_mark) in digest_init_r, at cp/typeck2.c:844 Please submit a full bug report, [etc.] If one actually defines A, the compiler goes into an infinite loop (since GCC 4.1.0): struct A {}; struct B { A a; }; B b[1] = (B[]) { 0 }; bug.cc:8:20: error: initializer for 'A' must be brace-enclosed bug.cc:8:20: error: initializer for 'A' must be brace-enclosed bug.cc:8:20: error: initializer for 'A' must be brace-enclosed [etc.] -- Summary: [4.3/4.4/4.5 Regression] Trouble with invalid array initialization Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code, error-recovery, monitored, compile- time-hog Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42058
[Bug c++/42058] [4.3/4.4/4.5 Regression] Trouble with invalid array initialization
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.3.5 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42058
[Bug c++/42059] New: [4.4/4.5 Regression] ICE with initializer list for VLA
The following invalid testcase triggers an ICE since GCC 4.4.1: == void foo(int i) { int a[i]; a = {}; } == bug.cc: In function 'void foo(int)': bug.cc:4:8: internal compiler error: tree check: expected integer_cst, have nop_expr in process_init_constructor_array, at cp/typeck2.c:912 Please submit a full bug report, [etc.] -- Summary: [4.4/4.5 Regression] ICE with initializer list for VLA Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code, monitored Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42059
[Bug c++/42059] [4.4/4.5 Regression] ICE with initializer list for VLA
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.4.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42059
[Bug c++/42055] [4.5 Regression] ICE with amiguous template specialization
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42055
[Bug c++/42055] New: [4.5 Regression] ICE with amiguous template specialization
The following invalid testcase triggers an ICE on trunk: === templatetypename T void foo(T, T); templatetypename T void foo(T, int); template void foo(int, int); === bug.cc:5:15: error: ambiguous template specialization 'foo' for 'void foo(int, int)' bug.cc:5:27: internal compiler error: Segmentation fault Please submit a full bug report, [etc.] -- Summary: [4.5 Regression] ICE with amiguous template specialization Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code, error-recovery, monitored Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42055
[Bug c++/42060] New: [4.4/4.5 Regression] [c++0x] ICE throwing array with initializer list
The following invalid testcase triggers an ICE since GCC 4.4.1: == void foo() { int a[1]; throw a = {}; } == bug.cc: In function 'void foo()': bug.cc:4:14: error: invalid use of non-lvalue array bug.cc:4:15: internal compiler error: tree check: expected class 'type', have 'exceptional' (error_mark) in useless_type_conversion_p, at tree-ssa.c:1221 Please submit a full bug report, [etc.] -- Summary: [4.4/4.5 Regression] [c++0x] ICE throwing array with initializer list Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code, error-recovery, monitored Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42060
[Bug c++/42060] [4.4/4.5 Regression] [c++0x] ICE throwing array with initializer list
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.4.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42060
[Bug c++/42061] New: [4.4/4.5 Regression] [c++0x] ICE with invalid initializer list for reference
The following invalid testcase triggers an ICE since GCC 4.4.2: == int i = { j }; == bug.cc:1:12: error: 'j' was not declared in this scope bug.cc:1:14: internal compiler error: tree check: expected class 'type', have 'exceptional' (error_mark) in reference_related_p, at cp/call.c:972 Please submit a full bug report, [etc.] -- Summary: [4.4/4.5 Regression] [c++0x] ICE with invalid initializer list for reference Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code, error-recovery, monitored Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42061
[Bug c++/42061] [4.4/4.5 Regression] [c++0x] ICE with invalid initializer list for reference
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.4.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42061
[Bug c++/42062] New: [4.3/4.4/4.5 Regression] Trouble with invalid template specialization
The following invalid testcase triggers an ICE since GCC 4.3.4: === templatetypename struct A { templateint void foo(); template struct Avoid { templateint void foo(); }; }; void bar() { Avoid a; a.foo0(); } === bug.cc:5:12: error: explicit specialization in non-namespace scope 'struct A template-parameter-1-1 ' bug.cc:5:21: error: template parameters not used in partial specialization: bug.cc:5:21: error: 'template-parameter-1-1' bug.cc: In function 'void bar()': bug.cc:14:12: internal compiler error: in retrieve_specialization, at cp/pt.c:953 Please submit a full bug report, [etc.] A similar testcase is wrongly accepted since GCC 3.3 (before it it triggered an ICE): === templatetypename struct A { templateint void foo(); templatetypename T struct AT* { templateint void foo(); }; }; void bar() { Avoid* a; a.foo0(); } === -- Summary: [4.3/4.4/4.5 Regression] Trouble with invalid template specialization Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code, accepts-invalid, error-recovery, monitored Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42062
[Bug c++/42062] [4.3/4.4/4.5 Regression] Trouble with invalid template specialization
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.3.5 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42062
[Bug target/27001] ICE with -fschedule-insns -fstack-protector-all
--- Comment #3 from reichelt at gcc dot gnu dot org 2009-11-14 17:07 --- The code compiles without ICE on trunk since at least 2009-09-17. So lets close it as fixed. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED Target Milestone|--- |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27001
[Bug c++/32305] ICE in initialize_flags_in_bb with -O -fipa-pta
--- Comment #11 from reichelt at gcc dot gnu dot org 2009-11-14 19:24 --- The problems with -O -fipa-pta seem to be fixed since GCC 4.4.0. I checked all duplicates from comment #4 - #7. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED Target Milestone|--- |4.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32305
[Bug tree-optimization/38355] ICE with -fipa-struct-reorg
--- Comment #5 from reichelt at gcc dot gnu dot org 2009-11-14 21:21 --- Confirmed. Reduced testcase (crashes with -O2 -fwhole-program -fipa-struct-reorg): = templateint struct A { char c; void foo(int); void bar(int i) { foo(i+1); } }; templateint struct B : virtual A0 {}; templateint T inline void baz(BT b, int i) { if (i) b.bar(0); } extern template class A0; extern template void baz(B0, int); int main() { B0 b; baz(b, 0); return 0; } = GCC 4.3.x and 4.4.x segfault, while trunk produced the following ICE: bug.cc:23:1: internal compiler error: in build_data_structure, at ipa-struct-reorg.c:3387 Please submit a full bug report, [etc.] -- reichelt at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords||ice-on-valid-code, monitored Last reconfirmed|-00-00 00:00:00 |2009-11-14 21:21:13 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38355
[Bug middle-end/42029] New: [4.5 Regression] ICE with complex data type and openmp for reduction clause
The following valid code snippet triggers in ICE on trunk: == void foo() { int i; _Complex int c = 0; #pragma omp parallel for private(i) reduction(+:c) for (i = 0; i 8; ++i) c += 0; } == bug.c: In function 'foo.omp_fn.0': bug.c:8:7: error: invalid rhs for gimple memory store D.2747 *D.2746_13; D.2747 = *D.2746_13; bug.c:8:7: internal compiler error: verify_stmts failed Please submit a full bug report, [etc.] -- Summary: [4.5 Regression] ICE with complex data type and openmp for reduction clause Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: ice-on-valid-code, monitored, openmp Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42029
[Bug middle-end/42029] [4.5 Regression] ICE with complex data type and openmp for reduction clause
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42029
[Bug middle-end/42025] [4. Regression] ICE verify_stmts failed (non-trivial conversion at assignment)
--- Comment #2 from reichelt at gcc dot gnu dot org 2009-11-13 10:45 --- Confirmed. Reduced testcase (compile with -O2): typedef void* Ptr; struct A { int i; union { Ptr p; char *q; } u; }; static void foo(struct A *p, char *q) { if (p-i) p-u.p = 0; else p-u.q = q; } void bar(struct A *p, char *q) { foo(p, q); } -- reichelt at gcc dot gnu dot org changed: What|Removed |Added CC||reichelt at gcc dot gnu dot ||org Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords||ice-on-valid-code, monitored Last reconfirmed|-00-00 00:00:00 |2009-11-13 10:45:15 date|| Summary|internal compiler error:|[4. Regression] ICE |verify_stmts failed (non- |verify_stmts failed (non- |trivial conversion at |trivial conversion at |assignment) |assignment) Target Milestone|--- |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42025
[Bug middle-end/40281] [4.4/4.5 Regression] -fprefetch-loop-arrays: ICE: in initialize_matrix_A, at tree-data-ref.c:1887
--- Comment #7 from reichelt at gcc dot gnu dot org 2009-11-13 12:32 --- Even shorter testcase (crashes with -O -fprefetch-loop-arrays): === void foo(int); void bar(int n) { int a[2], i, j = 0; for (i = 0; i 2; i += j+1) for (j = 0; j (n ? 1 : 2); ++j) foo(a[i] + a[j]); } === -- reichelt at gcc dot gnu dot org changed: What|Removed |Added CC||reichelt at gcc dot gnu dot ||org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40281
[Bug middle-end/42029] [4.5 Regression] ICE with complex data type and openmp for reduction clause
--- Comment #4 from reichelt at gcc dot gnu dot org 2009-11-14 03:31 --- Fixed. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42029
[Bug c++/41994] New: [4.4/4.5 Regression] ICE with A::operator T
The following valid code snippet triggers an ICE since GCC 4.4.0: === templatetypename T struct A { operator T(); A() { T (A::*f)() = A::operator T; } }; Aint a; === bug.cc: In constructor 'AT::A() [with T = int]': bug.cc:7:8: instantiated from here bug.cc:4:36: internal compiler error: Segmentation fault Please submit a full bug report, [etc.] -- Summary: [4.4/4.5 Regression] ICE with A::operator T Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: ice-on-valid-code, monitored Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41994
[Bug c++/41994] [4.4/4.5 Regression] ICE with A::operator T
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.4.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41994
[Bug middle-end/41290] [4.5 regression] C++ - libdirac don't want to compile
--- Comment #7 from reichelt at gcc dot gnu dot org 2009-11-09 15:15 --- Unfortunately the problem still persists, see following testcase which crashes in the same fashion when compiled with -O3 -m32 on x86_64-unknown-linux-gnu. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41290
[Bug middle-end/41290] [4.5 regression] C++ - libdirac don't want to compile
--- Comment #8 from reichelt at gcc dot gnu dot org 2009-11-09 15:16 --- Created an attachment (id=18998) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18998action=view) Self-contained testcase that crashes with -O3 -m32 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41290
[Bug c++/38699] [4.3/4.4/4.5 regression] ICE using offsetof with pointer and array accesses
--- Comment #15 from reichelt at gcc dot gnu dot org 2009-11-09 21:42 --- The bug is not a regression, because the code snippet is invalid and was never correctly rejected since the introduction of __builtin_offsetof. Since it's fixed now we can close it. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED Target Milestone|4.3.5 |4.4.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38699
[Bug c++/41994] [4.4/4.5 Regression] ICE with A::operator T
--- Comment #5 from reichelt at gcc dot gnu dot org 2009-11-09 21:43 --- Fixed for GCC 4.4.3. Thanks, Jason! -- reichelt at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41994
[Bug c++/37093] [4.2/4.3 Regression] ICE with pointer to member template parameters
--- Comment #27 from reichelt at gcc dot gnu dot org 2009-11-09 21:54 --- After the reversion of the patch for on the 4.3 branch, it is only fixed for GCC 4.4.3 and later. But let's keep it closed since this is just an ice-on-invalid-code bug. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.3.5 |4.4.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37093
[Bug tree-optimization/40140] [4.5 Regression] ICE with -ftree-parallelize-loops
--- Comment #4 from reichelt at gcc dot gnu dot org 2009-11-09 21:59 --- The second testcase stopped crashing in August or September. Because the first testcase stopped crashing although the bug wasn't really fixed, I thought it would maybe pop up again. But apparently it didn't. So let's close the bug for good. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added Status|WAITING |RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40140
[Bug rtl-optimization/9085] Unable to find register to spill when optimizing
--- Comment #12 from reichelt at gcc dot gnu dot org 2009-11-09 22:13 --- The testcase from comment #7 doesn't crash since GCC 4.0.0. The testcase from comment #4 stopped crashing in August or September, so let's close the bug for good. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED Target Milestone|--- |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9085
[Bug c++/41905] New: [4.5 Regression] ICE with __attribute__((noreturn))
The following valid code snippet triggers an ICE on trunk: === int foo() __attribute__((noreturn)); int bar() { return foo(); } === bug.cc: In function 'int bar()': bug.cc:2:27: internal compiler error: in lower_eh_constructs, at tree-eh.c:1997 Please submit a full bug report, [etc.] The bug appeared between 2009-10-16 and 2009-10-24. The C frontend does not crash. -- Summary: [4.5 Regression] ICE with __attribute__((noreturn)) Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: ice-on-valid-code, monitored Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41905
[Bug c++/41905] [4.5 Regression] ICE with __attribute__((noreturn))
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41905
[Bug c++/41906] [4.5 Regression] ICE with catch(...) and -fpermissive
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41906
[Bug c++/41906] New: [4.5 Regression] ICE with catch(...) and -fpermissive
The following valid code snippet triggers an ICE on trunk when compiled with -fpermissive: === void foo(); void bar() { try { foo(); } catch (...) {} catch (int) {} } === bug.cc: In function 'void bar()': bug.cc:6:3: warning: '...' handler must be the last handler for its try block bug.cc:3:6: internal compiler error: Segmentation fault Please submit a full bug report, [etc.] The bug appeared between 2009-09-01 and 2009-09-17. -- Summary: [4.5 Regression] ICE with catch(...) and -fpermissive Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: ice-on-valid-code, monitored Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41906
[Bug c++/41876] New: [4.3/4.4/4.5 regression] Parse problems with catch
The following valid code snippet is rejected since GCC 3.4.0: == struct A; void foo() { try {} catch(int A) {} } == bug.cc: In function 'void foo()': bug.cc:5:20: error: two or more data types in declaration of 'type name' -- Summary: [4.3/4.4/4.5 regression] Parse problems with catch Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: rejects-valid Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41876
[Bug c++/41876] [4.3/4.4/4.5 regression] Parse problems with catch
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41876
[Bug c++/41876] [4.3/4.4/4.5 regression] Parse problems with catch
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.5.0 |4.3.5 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41876
[Bug c++/18747] template int i; accepted
--- Comment #4 from reichelt at gcc dot gnu dot org 2009-10-30 12:41 --- *** Bug 41875 has been marked as a duplicate of this bug. *** -- reichelt at gcc dot gnu dot org changed: What|Removed |Added CC||cs9in at acm dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18747
[Bug c++/41875] invalid C++ code compiles with no error
--- Comment #1 from reichelt at gcc dot gnu dot org 2009-10-30 12:41 --- Your case is mentioned in comment #2 of PR18747. *** This bug has been marked as a duplicate of 18747 *** -- reichelt at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||DUPLICATE http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41875
[Bug c++/41619] [4.4/4.5 regression] ICE in insert_save (caller-save.c) for SPEC CPU2000's 252.eon
--- Comment #3 from reichelt at gcc dot gnu dot org 2009-10-30 15:52 --- Confirmed. Even shorter testcase (crashes with -O2 -fno-ira-share-save-slots): == struct A { A(double); }; int foo(); A bar(double x) { double y; if (foo()) y = 1 / x; return y; } == bug.cc: In function 'bar(double)': bug.cc:14:1: internal compiler error: in insert_save, at caller-save.c:1223 Please submit a full bug report, [etc.] The code compiles with GCC 4.4.0, but crashes since GCC 4.4.1. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added CC||reichelt at gcc dot gnu dot ||org Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Known to fail||4.4.1 4.4.2 Known to work||4.4.0 Last reconfirmed|-00-00 00:00:00 |2009-10-30 15:52:44 date|| Summary|ICE in insert_save (caller- |[4.4/4.5 regression] ICE in |save.c) for SPEC CPU2000's |insert_save (caller-save.c) |252.eon |for SPEC CPU2000's 252.eon Target Milestone|--- |4.4.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41619
[Bug rtl-optimization/41619] [4.4/4.5 regression] ICE in insert_save (caller-save.c) for SPEC CPU2000's 252.eon
--- Comment #4 from reichelt at gcc dot gnu dot org 2009-10-30 15:58 --- Even shorter C testcase: === struct A {}; int foo(); struct A bar(double x) { double y; if (foo()) y = 1 / x; return bar(y); } === -- reichelt at gcc dot gnu dot org changed: What|Removed |Added Component|c++ |rtl-optimization http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41619
[Bug c++/41819] New: [4.5 regression] ICE with try/catch and -fno-exceptions
The following code snippet triggers an ICE when compiled with -fno-exceptions: === void f() { try {} catch (...) {} } === bug.cc: In function 'void f()': bug.cc:9:10: error: exception handling disabled, use -fexceptions to enable bug.cc:10:1: internal compiler error: in gen_eh_region, at except.c:351 Please submit a full bug report, [etc.] The bug appeared between 2009-10-02 and 2009-10-10. Btw, that's the same problem as PR1054 which was fixed for GCC 3.0 :-( -- Summary: [4.5 regression] ICE with try/catch and -fno-exceptions Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code, error-recovery, monitored Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41819
[Bug c++/41819] [4.5 regression] ICE with try/catch and -fno-exceptions
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41819
[Bug target/15319] [x86] ICE in change_stack, at reg-stack.c:2299
--- Comment #4 from reichelt at gcc dot gnu dot org 2009-09-20 20:42 --- The code is invalid. But the compiler shouldn't crash on invalid code. So this is an ice-on-invalid-code bug. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|INVALID | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15319
[Bug middle-end/41398] can't resolve .LFE1408 {*UND* section} - .Ltext0 {.text section}
--- Comment #2 from reichelt at gcc dot gnu dot org 2009-09-18 12:04 --- This looks like the same issue we had on the trunk a while ago: PR 40126. Honza, could you please have a look? -- reichelt at gcc dot gnu dot org changed: What|Removed |Added CC||reichelt at gcc dot gnu dot ||org, hubicka at gcc dot gnu ||dot org BugsThisDependsOn||40126 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41398
[Bug tree-optimization/40676] [4.5 Regression] internal compiler error: verify_ssa error: definition in block 5 does not dominate use in block 7
--- Comment #10 from reichelt at gcc dot gnu dot org 2009-09-17 07:34 --- Honza, can this PR be closed? -- reichelt at gcc dot gnu dot org changed: What|Removed |Added CC||reichelt at gcc dot gnu dot ||org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40676
[Bug tree-optimization/41377] New: [4.5 Regression] ICE in unsplit_eh
The following testcase triggers an ICE on the trunk when compiled with -O3: === struct A { bool foo(int*) const; } a; struct B {}; struct B1 : B { bool (A::*pmf)(int*) const; const A* pa; B1() : pmf(A::foo), pa(a) {} bool operator()() const { return (pa-*pmf)(new int); } }; struct B2 : B { B1 b1; B2(const B1 _b1) : b1(_b1) {} bool operator()() const { return b1(); } }; templateint struct C { void bar(B2 b2) { while (b2()) ; } C() { bar(B2(B1())); } }; void baz(int i) { switch(i) { case 0: new C0; case 1: new C1; case 2: new C2; } } === bug.cc: In function 'baz(int)': bug.cc:31:6: internal compiler error: in unsplit_eh, at tree-eh.c:3359 Please submit a full bug report, [etc.] -- Summary: [4.5 Regression] ICE in unsplit_eh Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41377
[Bug tree-optimization/41377] [4.5 Regression] ICE in unsplit_eh
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41377