re PR middle-end/37418 (error: type mismatch in address expression, verify_gimple...
authorRichard Biener <rguenth@gcc.gnu.org>
Thu, 16 Oct 2008 08:19:49 +0000 (08:19 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 16 Oct 2008 08:19:49 +0000 (08:19 +0000)
commitbd4a51ab34c0033d7359f3cb138d2efeb5efb5e9
treee8d65b04c2d8f9c3a71d5eab0ef74c5a07810ace
parent5b429886c5e390a0d7ae27311f859d2ae1d4b2c1
re PR middle-end/37418 (error: type mismatch in address expression, verify_gimple failed)

2008-10-16  Joseph Myers  <joseph@codesourcery.com>
        Richard Guenther  <rguenther@suse.de>

PR middle-end/37418
* tree-ssa.c (useless_type_conversion_p_1): Do not treat
volatile qualified functions or methods as relevant.

* gcc.c-torture/compile/pr37418-1.c,
gcc.c-torture/compile/pr37418-2.c,
gcc.c-torture/compile/pr37418-3.c,
gcc.c-torture/compile/pr37418-4.c: New tests.

From-SVN: r141165
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr37418-1.c [new file with mode: 0644]
gcc/testsuite/gcc.c-torture/compile/pr37418-2.c [new file with mode: 0644]
gcc/testsuite/gcc.c-torture/compile/pr37418-3.c [new file with mode: 0644]
gcc/testsuite/gcc.c-torture/compile/pr37418-4.c [new file with mode: 0644]
gcc/tree-ssa.c