[Bug bootstrap/66009] [6 Regression] Bootstrap failure on x86

law at redhat dot com gcc-bugzilla@gcc.gnu.org
Thu May 7 04:20:00 GMT 2015


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

--- Comment #4 from Jeffrey A. Law <law at redhat dot com> ---
Hahaha, finally figured out what was going on here.

The definition of types_match and single_use violate the C++ ODR in a
non-optimizing compilation (ie, then they do not get inlined).  There'll be two
implementations of each function -- with different semantics and the linker
will just pick one willy-nilly.

Easily fixed by making them static inlines.

Doh!



More information about the Gcc-bugs mailing list