[Bug rtl-optimization/60818] ICE in validate_condition_mode on powerpc*-linux-gnu*

asolokha at gmx dot com gcc-bugzilla@gcc.gnu.org
Fri Mar 31 07:49:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60818

--- Comment #20 from Arseny Solokha <asolokha at gmx dot com> ---
(In reply to Alan Modra from comment #19)
> Yes, r246294 powerpc64le-linux-gcc -O1 -misel ICEs on the last testcase.  An
> earlier compiler I had laying around, 7.0.0 20160616, does not.

Here's a simplified version, then (-misel -Os):

int
lx (int oi, int mb)
{
  return (oi < mb) < (mb < oi);
}

Note that this snippet as well as one from comment 17 both have comparison
patterns similar to those from snippets in comment 3 and comment 4.


More information about the Gcc-bugs mailing list