This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Question about option -fpermissive


In article <199906291621.JAA10280@atrus.synopsys.com> you write:
>Not just from an educational point of view.  I think that anyone who
>alters specs should be urged to alter version.c as well, so that users
>will be alerted (by gcc -v) that they have a non-standard compiler.

Why not make that automated ?  Add a very simple CRC somewhere in the 
binary, so that gcc -v does check the specs and adds a prominent warning
that the specs is NOT standard.

Granted this only protects against specs files changes, not against people
that patch the compiler source proper, but it would remove misgivings
about changing the specfile.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]