buggy optimization levels...
Chuck Swiger
cswiger at mac.com
Mon Jul 14 14:37:54 PDT 2003
Hi, all--
The "known bugs" section of the GCC info documentation lists 5 issues; "man gcc"
lists none. Can someone provide a test case for a bug involving "cc -O" versus
"cc -O3" under FreeBSD 4-STABLE for the x86 architecture?
What is the preferred solution? The Dragon book and other compiler references
have a definition of safe versus unsafe "optimizations"; is the problem that -O3
enables something unsafe? Who is responsible (FreeBSD, GNU compiler team,
others?) for changing the compiler defaults so that -Ox will not produce
known-invalid results, for any x?
--
-Chuck
More information about the freebsd-questions
mailing list