------- Comment #17 from mikpe at it dot uu dot se  2010-01-15 21:42 -------
(In reply to comment #16)
> --- testsuite/gcc.c-torture/execute/pr42691.c   (revision 155944)
> +++ testsuite/gcc.c-torture/execute/pr42691.c   (working copy)
> @@ -26,7 +26,8 @@
> 
>      i++;
>    }
> -  *deletedEntry = 0.0;
> +  if (deletedEntry)
> +    *deletedEntry = 0.0;
>    return 0;
>  }

Thanks, with this fix the test case exits normally with -O0 on both arm and
i686, but abort()s as intended with -Os -mthumb with 4.4 (pre-fix) on arm.

BTW, gcc-4.3.4 is also broken but gcc-4.2.4 works.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42691

Reply via email to