------- Comment #18 from jingyu at google dot com 2010-01-15 21:46 ------- Subject: Re: [4.4/4.5 regression] problematic REG_EQUAL note added to SUBREG On Fri, Jan 15, 2010 at 1:42 PM, mikpe at it dot uu dot se wrote: > > > ------- 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. > Sorry for the inconvenience. I only tested "-mthumb", which happened to work. I should have proofread the code carefully. I have reverted the whole patch on mainline and 4.4 I will modify the testcase and send the whole patch again. > BTW, gcc-4.3.4 is also broken but gcc-4.2.4 works. Thanks for testing 4.3.4. I don't have a working 4.3.x on hands. I tested gcc-4.2.1, which works. So this is a regression bug. > > > -- > > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42691 > > ------- You are receiving this mail because: ------- > You reported the bug, or are watching the reporter. > You are the assignee for the bug, or are watching the assignee. > -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42691