This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/84961] [7/8 Regression] ICE error: SSA_NAME_DEF_STMT is wrong
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 20 Mar 2018 10:31:18 +0000
- Subject: [Bug c++/84961] [7/8 Regression] ICE error: SSA_NAME_DEF_STMT is wrong
- Auto-submitted: auto-generated
- References: <bug-84961-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84961
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 43716
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43716&action=edit
gcc8-pr84961.patch
So like this? Or of course the gimplifier could do it too.
The second testcase passed e.g. with 4.4, but fails already with 4.6, the first
one regressed later with the SSA_NAME gimplification.