Date: Mon, 14 Jul 2003 17:37:45 -0400 From: Chuck Swiger <cswiger@mac.com> To: freebsd Questions <freebsd-questions@FreeBSD.ORG> Subject: buggy optimization levels... Message-ID: <3F1322A9.8080805@mac.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F1322A9.8080805>