re PR c++/66211 (Rvalue conversion in ternary operator causes internal compiler error)
authorRichard Biener <rguenther@suse.de>
Thu, 21 May 2015 13:23:41 +0000 (13:23 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 21 May 2015 13:23:41 +0000 (13:23 +0000)
commit5ba3ae6db5a599b3b8d3eaf500c47f447b36babf
treea38c2b2cacc71e52c0cc086b402691fb13a837b1
parent1ca46a7753d416f7f5610f82cca7f89683bf4da0
re PR c++/66211 (Rvalue conversion in ternary operator causes internal compiler error)

2015-05-21  Richard Biener  <rguenther@suse.de>

PR c++/66211
* match.pd: Guard pattern optimzing (int)(float)int
conversions to apply only on GIMPLE.

* g++.dg/conversion/pr66211.C: New testcase.
* gcc.dg/tree-ssa/forwprop-18.c: Adjust.

From-SVN: r223483
gcc/ChangeLog
gcc/match.pd
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/conversion/pr66211.C [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/forwprop-18.c