This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/13984] sh-elf-gcc: Bad code generated with -O0
- From: "klawson at ad-holdings dot co dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Feb 2004 15:58:04 -0000
- Subject: [Bug target/13984] sh-elf-gcc: Bad code generated with -O0
- References: <20040202173814.13984.klawson@ad-holdings.co.uk>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From klawson at ad-holdings dot co dot uk 2004-02-04 15:58 -------
Subject: Re: sh-elf-gcc: Bad code generated with -O0
Thanks. I tried compiling with 3.3.2 and the problem has disappeared.
The code generated at -O0 and -O2 is now exactly the same for this bit
of C, and is working in both cases.
Many thanks,
Kelvin.
pinskia at gcc dot gnu dot org wrote:
> ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-02-02 17:52 -------
> Can you try on a more recent compiler like 3.3.2?
>
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13984