This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/83660] ICE with vec_extract inside expression statement


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]