https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82159
chr at terma dot com changed:
What|Removed |Added
CC||chr at terma dot com
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82159
--- Comment #8 from chr at terma dot com ---
(In reply to Jakub Jelinek from comment #7)
> If you can't provide a testcase, then we can't do anything with it.
> If the inability to provide a testcase is because it contains so
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82159
--- Comment #9 from chr at terma dot com ---
Created attachment 42333
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42333&action=edit
gcc 7.2.1 20170915 ICE testcase
Attached testcase.cpp as file.
g++ -O0 testcase.cpp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82159
--- Comment #11 from chr at terma dot com ---
I've build the 7.2.0 with patch. The testcase compiles, but the original code
doesn't compile with the patched compiler. I'll try to run creduce with the
patched compiler.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82159
--- Comment #12 from chr at terma dot com ---
I've build a gcc 7.2.0 + above patch using crosstool ng. The original test code
passes, so I should have managed to succesfully create a patches gcc.
Steps to Repro:
-
g++ -
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82159
--- Comment #16 from chr at terma dot com ---
(In reply to Jakub Jelinek from comment #14)
> Created attachment 42340 [details]
> gcc8-pr82159.patch
>
> Untested fix for that.
Applied both patches to GCC 7.2.0. Works for us.