[Bug rtl-optimization/88311] mlongcall indirections are optimised away

iains at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Dec 12 09:01:00 GMT 2018


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

Iain Sandoe <iains at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2018-12-12
     Ever confirmed|0                           |1

--- Comment #2 from Iain Sandoe <iains at gcc dot gnu.org> ---
on gcc110:

this fails:

$ cat ~/hello.c

extern int printf (const char *, ...);

int main (int ac, char *av[])
{
  printf ("here we are");
  return 0;
}

this does not:

$ cat ~/foo.c

void g (void *);

void foo (void) { g ("xyzzy"); }

so maybe something happens with the builtin string handling that does not
affect regular funcs.


More information about the Gcc-bugs mailing list