------- Comment #2 from markhobley at yahoo dot co dot uk  2009-01-27 00:36 
-------
Subject: Re:  Additional switches to disallow processor supplementary
instructions


> ------- Comment #1 from pinskia at gcc dot gnu dot org 
> 2009-01-26 19:15 -------
> I think this is a bad idea.  Also most if not all x86 CPUs
> released in the last
> 10 years support these instructions

These instructions make the binaries non-portable, The switches aid
portability. You do not have to apply these. If the switches are not applied,
the compiler behaves exactly as it does now, so the compiled code remains the
same, if required.

The advantage of the switches is that they can be used to enable system
builders to trap invalid instructions at compile time, rather than waiting for
reports of system crashes at runtime.

Applying the fix has no detrimental effects to anyone, since the compiler
behaves as it does now. However the fix does benefit people wanting to produce
portable code.

Mark.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38959

Reply via email to