[Bug middle-end/89998] [9 regression] AVR ICE: verify_gimple failed in printf-return-value

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Apr 8 08:34:00 GMT 2019


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

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

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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
This has nothing to do with PR89996 and is not AVR specific either.
Following can reproduce it on x86_64-linux:

unsigned int sprintf (char *str, const char *fmt, ...);

int
foo (char *s)
{
  return sprintf (s, "foo");
}

and s/unsigned int/unsigned short/ on AVR.
I'll handle it.


More information about the Gcc-bugs mailing list