ptrmemfield.C: New testcase.
authorAndrew Pinski <andrew_pinski@playstation.sony.com>
Sat, 5 Jul 2008 19:37:48 +0000 (19:37 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Sat, 5 Jul 2008 19:37:48 +0000 (12:37 -0700)
commit0e4b00d683943bc1620bb025149918f844e88d41
treed2ce9d323f7a8369837c81bd35b927468c1790a0
parent6e1fab3d8762b9378311130f01687d925f2858a5
ptrmemfield.C: New testcase.

2008-07-05  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        * g++.dg/tree-ssa/ptrmemfield.C: New testcase.

2008-07-05  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        * fold-const.c (fold_convert_const): Treat OFFSET_TYPE the same as
        integral and pointer types.

From-SVN: r137510
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/tree-ssa/ptrmemfield.C [new file with mode: 0644]