2008-10-16 Joseph Myers <joseph@codesourcery.com>
commitd37e56198f1be3b0cf8404e90b63eb9e0548a3a3
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Oct 2008 08:19:49 +0000 (16 08:19 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Oct 2008 08:19:49 +0000 (16 08:19 +0000)
treee8d65b04c2d8f9c3a71d5eab0ef74c5a07810ace
parentd235ab601f652fcc944f4b5461e9f3c82c7020b4
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@141165 138bc75d-0d04-0410-961f-82ee72b054a4
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