http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60179
Bug ID: 60179
Summary: [4.9 Regression] target optimization attribute
streaming is broken
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Keywords: lto
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: rguenth at gcc dot gnu.org
Target: x86_64-*-*, i?86-*-*
Since somewhen recently the i386 target started to put pointers to strings in
struct cl_target_option (TargetSaves in i386.opt). This breaks LTO streaming
of TS_TARGET_OPTION which streams the contents of cl_target_option
byte-for-byte.
For me this results in a LTO bootstrap comparison failure when comparing
stage2/libccp/lex.o and stage3/libcpp/lex.o.
And it obviously will make the backend crash if anybody would ever inspect
one of those streamed string pointers (well, or they'll point somewhere
random and not so useful).