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 rtl-optimization/88311] mlongcall indirections are optimised away


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.

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