[Bug lto/86490] lto1: fatal error: multiple prevailing defs

joe.harvell at netscout dot com gcc-bugzilla@gcc.gnu.org
Tue May 26 16:13:27 GMT 2020


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

--- Comment #16 from joe.harvell at netscout dot com ---
Correction on the previous comment.  I said

This function is defined in one .c file and declared with the extern keyword in
another .c file.

But in fact the extern declaration in the second .c file is removed by the
pre-processor.  So the symbol only occurs in one .c file.


More information about the Gcc-bugs mailing list