This is the mail archive of the gcc@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: What is acceptable for -ffast-math? (Was: associative law in combine)


On Jul 30, 2001, dewar@gnat.com wrote:

> <<I am serious.  The preprocessor should protect individual parentheses
> from becoming consecutive by introducing whitespace.  We should tell:
>>> 

> Sometimes I must say that people seem to work hard to dream up the most
> infeasible and ugly syntactical ideas that one could possibly imagine :-)

:-)

Would you prefer

__extension__ __attribute__ ((optimize=0)) (a*b) +
__extension__ __attribute__ ((optimize=0)) (a*c)

? :-)

I'd much rather write ((a*b)) + ((a*c)), which will even compile with
other compilers, and might be picked up in a future revision of the C
and C++ Standards.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me


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