[Bug target/42113] [4.3/4.4 Regression] Internal Compiler error with -O3, breaking commit known

2009-11-20 Thread rguenth at gcc dot gnu dot org


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

   Priority|P3  |P4
Summary|[4.3/4.4/4.5 Regression]|[4.3/4.4 Regression]
   |Internal Compiler error with|Internal Compiler error with
   |-O3, breaking commit known  |-O3, breaking commit known
   Target Milestone|--- |4.4.3


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



[Bug target/42113] [4.3/4.4 Regression] Internal Compiler error with -O3, breaking commit known

2009-11-20 Thread ubizjak at gmail dot com


--- Comment #5 from ubizjak at gmail dot com  2009-11-20 12:58 ---
This reduced testcase fails also on 4.5:

--cut here--
int make_file (int a, int b)
{
  int foo = a * sizeof (int);

  if (b)
foo += sizeof (int);

  return foo;
}
--cut here--


-- 


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



[Bug target/42113] [4.3/4.4 Regression] Internal Compiler error with -O3, breaking commit known

2009-11-20 Thread ubizjak at gmail dot com


--- Comment #6 from ubizjak at gmail dot com  2009-11-20 13:40 ---
Created an attachment (id=19067)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19067action=view)
patch to fix mode of scratch register in *cmp_s{add,sub}_si{,di}

This patch fixes wrong modes of scratch register in *cmp_s{add,sub}_si{,di}
patterns.


-- 


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