This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/49487] Internal compiler error in AVR code
- From: "gandalf at winds dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 21 Jun 2011 17:18:13 +0000
- Subject: [Bug target/49487] Internal compiler error in AVR code
- Auto-submitted: auto-generated
- References: <bug-49487-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49487
--- Comment #3 from gandalf at winds dot org 2011-06-21 17:17:20 UTC ---
(In reply to comment #1)
> (In reply to comment #0)
> > Compiling the following function triggers an internal compiler error in (at
> > least) GCC versions 4.2, 4.3, 4.5 and the latest 4.7.0-20110620:
>
> Could you be a bit more specific on the version numbers for 4.2, 4.3, and 4.5?
>
> I've just tried building on 4.3.3 (WinAVR 20100110) and it compiled
> successfully for -O[0123s].
>
> <snip>
> > This was compiled using a cross-compiler on an x86_64 system as outlined below:
>
> Could you try using a 32-bit host?
Sorry about being vague on the previous GCC versions--I didn't think it
mattered that much. I very well could have been using patches from Atmel back
then (it was a while ago). I cannot reproduce the problem today on vanilla GCC
4.3.5 and 4.4.6.
However I am able to reproduce the problem on 4.5.3 right now too (on a 64-bit
host).