http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57416
Paolo Carlini changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57416
--- Comment #8 from Paolo Carlini ---
The ICE is indeed fixed in mainline. I'm going to commit a (reduced) testcase
and close the issue.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57416
Richard Biener changed:
What|Removed |Added
Keywords||ice-on-invalid-code
--- Comment #7 from
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57416
--- Comment #6 from Frank Bergemann ---
the error depends on optimization level.
-O0 has the problem
-O1, -02, -03 do not have the problem.
For those i get - even for the original buggy code:
make all
Building file: ../main.cpp
Invoking: GCC C++
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57416
--- Comment #5 from Daniel Krügler ---
(In reply to Daniel Krügler from comment #4)
We had a clash here, but except for my first observation the remaining
questions are still relevant.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57416
--- Comment #4 from Daniel Krügler ---
If you remove the still existing member initializer in func1, does the ICE
still exist? (On 4.9 after removal of that initializer I could compile and run
the program). Are all the compiler flags necessary to
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57416
Frank Bergemann changed:
What|Removed |Added
Attachment #30194|0 |1
is obsolete|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57416
--- Comment #2 from Frank Bergemann ---
Created attachment 30194
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30194&action=edit
fixed version of test program - compilation works now
Hi Daniel,
thanks for the hint! - i was not aware of thi
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57416
Daniel Krügler changed:
What|Removed |Added
CC||daniel.kruegler@googlemail.