This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug rtl-optimization/42691] [4.4/4.5 regression] problematic REG_EQUAL note added to SUBREG



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]