[Bug lto/83954] [6/7/8 Regression] LTO: Bogus -Wlto-type-mismatch warning for array of pointer to incomplete type
dobonachea at lbl dot gov
gcc-bugzilla@gcc.gnu.org
Mon Jan 22 14:07:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83954
--- Comment #2 from Dan Bonachea <dobonachea at lbl dot gov> ---
Thanks Mr. Liška!
If possible it would be useful for our project to know whether this defect is
solely a spurious warning, or whether it could affect analysis in a way that
might result in incorrect code generation on affected compiler versions (as
suggested by the warning text).
Assuming it's the latter, can anyone suggest any non-intrusive workarounds?
(aside from the obvious "big hammers" of -fno-lto or -fno-strict-aliasing)
More information about the Gcc-bugs
mailing list