This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/21716] [3.4/4.0/4.1 Regression] ICE in reg-stack.c's swap_rtx_condition
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 May 2005 16:39:09 -0000
- Subject: [Bug target/21716] [3.4/4.0/4.1 Regression] ICE in reg-stack.c's swap_rtx_condition
- References: <20050523085844.21716.jakub@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From reichelt at gcc dot gnu dot org 2005-05-23 16:39 -------
Here's a reduced testcase that might be appropriate for the testsuite:
======================================================================
/* PR target/21716 */
/* { dg-do compile } */
/* { dg-options "-march=i386 -m32 -O2 -ffast-math" { i?86-*-* } } */
double atan (double);
void foo()
{
double x, y;
do
{
goto L2;
L1:
if (x) goto L1;
L2:
x += atan (y);
goto L1;
}
while (1);
}
======================================================================
For me the original testcase and the reduced one only crash with the
3.4 branch on a native i686-pc-linux-gnu box.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21716