This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
US-CERT Vulnerability Note VU#162289
- From: Nils Pipenbrinck <n dot pipenbrinck at cubic dot org>
- To: gcc at gcc dot gnu dot org
- Date: Mon, 07 Apr 2008 23:35:21 +0200
- Subject: US-CERT Vulnerability Note VU#162289
> If you know of a non-GCC compiler that optimizes away
> the test (so that the function always returns 0), please
> post here, and let me know the name, version number,
> command-line options, etc. you used to demonstrate that.
The lovely TI Code Composer Studio compiler does the same optimization.
It's mostly for DSP code and not a mainstream compiler though.
Cmdline: ./cl6x -O3 test.c
Version of the compiler is 6.0.8 (latest)
Optimizations are good. I love them!
Nils