This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/83660] ICE with vec_extract inside expression statement
- From: "kelvin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 19 Jan 2018 19:13:38 +0000
- Subject: [Bug target/83660] ICE with vec_extract inside expression statement
- Auto-submitted: auto-generated
- References: <bug-83660-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83660
kelvin at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|kelvin at gcc dot gnu.org |unassigned at gcc dot gnu.org
--- Comment #5 from kelvin at gcc dot gnu.org ---
The ICE in verify_gimple_stmt apparently occurs because gimplification wants to
produce an "<<< Unknown GIMPLE statement: gimple_with_cleanup_expr >>>". The
cleanup expression is a CLOBBER directive on a temporary variable that is
introduced with a match_scratch pattern in the expansion for this built-in.
The Power9 version of the expansion does not introduce the scratch operand, nor
the CLOBBER directive, which explains why it does not exhibit this problem.
Based on other observations captured in the comments of this problem report, it
appears that the problem is introduced by the C++ parser and its handling of
the compound statement nested within the return expression.
I'm going to unassign myself from this task for now.