http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60443
Bug ID: 60443 Summary: Target specific options that change the ABI should be marked Product: gcc Version: 4.9.0 Status: UNCONFIRMED Keywords: lto Severity: enhancement Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: rguenth at gcc dot gnu.org CC: hubicka at gcc dot gnu.org Currently there is no way to handle ABI-changing target options conservatively in lto-wrapper (complain if there are mismatches inbetween files, make sure to carry them over to link-time). This is because explicitely handling them is not possible (the OPT_ enum is different for each target). ABI changing options should be marked in the .opt files with a flag that can be checked instead.