[Bug tree-optimization/69162] [6 Regression] ICE in create_tmp_var, at gimple-expr.c:468

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jan 7 14:47:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69162

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 37251
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37251&action=edit
gcc6-pr69162.patch

Untested fix.
The problem is that for GIMPLE pointer conversions are useless and therefore
the actual pointer to va_list used originally in IFN_VA_ARG might change into
some different pointer before it is expanded.  The fix remembers the type in
another argument, so that it is not lost.


More information about the Gcc-bugs mailing list