tree-ssa-structalias.c (fieldoff_compare): Make sure to not overflow the result type.
authorRichard Guenther <rguenther@suse.de>
Wed, 25 Jun 2008 11:13:44 +0000 (11:13 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 25 Jun 2008 11:13:44 +0000 (11:13 +0000)
commit185ab3b677bf383dc804bc52bc58f24e67a16825
treeece01c7290f7172ceb9d98a3f064935a89dc9b09
parent8ef834ca4defdd75ad6b9bb329a95eb5cf55823b
tree-ssa-structalias.c (fieldoff_compare): Make sure to not overflow the result type.

2008-06-25  Richard Guenther  <rguenther@suse.de>

* tree-ssa-structalias.c (fieldoff_compare): Make sure to
not overflow the result type.

* gcc.c-torture/compile/20080625-1.c: New testcase.

From-SVN: r137104
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/20080625-1.c [new file with mode: 0644]
gcc/tree-ssa-structalias.c