re PR middle-end/36013 (Wrong code involving restricted pointers to non-restricted...
authorIan Lance Taylor <iant@google.com>
Wed, 7 May 2008 07:45:17 +0000 (09:45 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 7 May 2008 07:45:17 +0000 (09:45 +0200)
commit2ee510b4220fe07af99aae860afa178898b12cf7
tree64710767b3276cd480a6e30e9f003c1c16e08ead
parentf61edbf65f93da4d4c1d7c3f201b39dc85d982c2
re PR middle-end/36013 (Wrong code involving restricted pointers to non-restricted pointers)

PR middle-end/36013
* gimplify.c (find_single_pointer_decl_1): Don't look through
indirections.
(find_single_pointer_decl): Adjust comments.

* gcc.c-torture/execute/20080506-2.c: New test.

From-SVN: r135029
gcc/ChangeLog
gcc/gimplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/20080506-2.c [new file with mode: 0644]