fold-const.c (pointer_may_wrap_p): Call int_size_in_bytes rather than size_in_bytes.
authorIan Lance Taylor <iant@google.com>
Tue, 22 Apr 2008 21:23:23 +0000 (21:23 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 22 Apr 2008 21:23:23 +0000 (21:23 +0000)
commitb2f06c39b01335127308567e5e074c3218011420
tree976b9798182677c5c456dcd680a49a1515900333
parentaafc759a8a4e404469bf39a92bb10522baf4a281
fold-const.c (pointer_may_wrap_p): Call int_size_in_bytes rather than size_in_bytes.

./: * fold-const.c (pointer_may_wrap_p): Call int_size_in_bytes rather
than size_in_bytes.
testsuite/:
* gcc.c-torture/compile/20080419-1.c: New test.

From-SVN: r134566
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/20080419-1.c [new file with mode: 0644]