------- 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

Reply via email to