[Bug driver/84391] External specs file misinterpreted, unless read twice
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Feb 15 01:11:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84391
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This is the correct behavior; the driver itself has option checking. If you
want a custom option, you need to either use directly the -specs option which
disables option checking or add the .opt file inside GCC to say the option is a
driver only option.
GCC will either use its internal specs or use the file called specs for the
specs but that does not disable option checking.
More information about the Gcc-bugs
mailing list