re PR middle-end/33724 (Type checking error with address-of and ref-all pointer type)
commit20dcff2aec49d4274cf4564186ca11b78c01f4de
authorRichard Guenther <rguenther@suse.de>
Thu, 11 Oct 2007 08:58:28 +0000 (11 08:58 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 11 Oct 2007 08:58:28 +0000 (11 08:58 +0000)
treea22c969c6a1f62a117efed36cbc46f1aa283273e
parent31b52b5a21ea72420cc11a9077843ad6cbc059a2
re PR middle-end/33724 (Type checking error with address-of and ref-all pointer type)

2007-10-11  Richard Guenther  <rguenther@suse.de>

PR middle-end/33724
* tree-cfg.c (one_pointer_to_useless_type_conversion_p): New function.
(verify_gimple_expr): Use it to verify pointer-to types for
ADDR_EXPRs.

* gcc.dg/pr33724.c: New testcase.

From-SVN: r129228
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr33724.c [new file with mode: 0644]
gcc/tree-cfg.c