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 lto/61012] [4.9/4.10 Regression] lto1: errors during merging of translation units (error: variable âlinkâ redeclared as function)


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61012

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Reduced b.c:

extern int link (const char *, const char *);

int main()
{
  return foo() + link("foo", "bar");
}


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