This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/18251] unable to find a register to spill in class `POINTER_REGS'
- From: "eweddington at cso dot atmel dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Aug 2007 18:06:44 -0000
- Subject: [Bug target/18251] unable to find a register to spill in class `POINTER_REGS'
- References: <bug-18251-8160@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #40 from eweddington at cso dot atmel dot com 2007-08-29 18:06 -------
(In reply to comment #39)
> Created an attachment (id=14131)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14131&action=view) [edit]
> another test case
>
> This test case only has problems when gcc is invoked with the -ftree-pre flag
> which is part of -O2 by default.
>
This is not a good test case as "float *a" is being used uninitialized. Please
provide a better test case. FWIW, this test case works for me on:
4.2.1 -O[0123s]
4.3.0 20070824 snapshot -O[0123s]
4.1.2 (WinAVR 20070525) -O[0123s]
Please provide which version of GCC, and which target that you are using to
make it fail, including how GCC is configured. I would also suggest opening up
a new bug report for this until it is determined that this is the same bug.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18251