https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98991
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
Component|inline-asm |target
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Small testcase which ICEs all the back to GCC 4.1.2:
void g(float*);
void n()
{
float f;
int t;
asm("":"=rmf"(f):"0"(0));
g(&f);
}
The ICE between 4.4 and 4.7 is:
<source>: In function 'n':
<source>:8:1: internal compiler error: in inline_secondary_memory_needed, at
config/i386/i386.c:31107
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
4.1.2 ICE:
<source>: In function 'n':
<source>:8: internal compiler error: in ix86_secondary_memory_needed, at
config/i386/i386.c:15992
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
The change of the function was r0-82161.