re PR rtl-optimization/58079 (internal compiler error: in do_SUBST, at combine.c...
authorRichard Sandiford <rdsandiford@googlemail.com>
Thu, 8 Aug 2013 18:42:21 +0000 (18:42 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Thu, 8 Aug 2013 18:42:21 +0000 (18:42 +0000)
commitf40423e28fa50514ff92f01846bd7ae89318b3bc
treeda52318ec63d85be2410eb5e67acd9e1c0c74225
parentd0595b65c9461d9f13f88b383f8dcef017c6c374
re PR rtl-optimization/58079 (internal compiler error: in do_SUBST, at combine.c:711)

gcc/
PR rtl-optimization/58079
* combine.c (combine_simplify_rtx): Avoid using SUBST if
simplify_comparison has widened a comparison with an integer.

gcc/testsuite/
* gcc.dg/torture/pr58079.c: New test.

From-SVN: r201609
gcc/ChangeLog
gcc/combine.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr58079.c [new file with mode: 0644]