re PR middle-end/36172 (ice for legal code with -O3)
authorRichard Guenther <rguenther@suse.de>
Thu, 8 May 2008 08:19:16 +0000 (08:19 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 8 May 2008 08:19:16 +0000 (08:19 +0000)
commitb13e7b6cfc7ecbdd98cbff22e1b1a394c1f50dbc
treebdfeda8250b35bf9a3fac155385beaae4b0c72f1
parent81464b2cd8f8153d1314a628fdc3dbdbb27a9c02
re PR middle-end/36172 (ice for legal code with -O3)

2008-05-08  Richard Guenther  <rguenther@suse.de>

PR middle-end/36172
* fold-const.c (operand_equal_p): Two objects which types
differ in pointerness are not equal.

* gcc.c-torture/compile/pr36172.c: New testcase.

From-SVN: r135070
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr36172.c [new file with mode: 0644]