re PR middle-end/15988 (ICE in fold_convert with pointer-to-member-function)
authorAndrew Pinski <apinski@apple.com>
Thu, 24 Jun 2004 06:51:56 +0000 (06:51 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Thu, 24 Jun 2004 06:51:56 +0000 (23:51 -0700)
commitb713a445f2bfa00419e7efdb5ffc0cf89e335227
tree8b542cb717be7d0a6115fd0fa9904df608c4535f
parent62d1db179e700aeb45e805aa81de54036745f93e
re PR middle-end/15988 (ICE in fold_convert with pointer-to-member-function)

2004-06-23  Andrew Pinski  <apinski@apple.com>

        PR middle-end/15988
        * fold-const.c (fold_convert): Types which are compatible
        can be converted with only a NOP_EXPR.

2004-06-23  Andrew Pinski  <apinski@apple.com>

        PR middle-end/15988
        * g++.dg/opt/ptrmem4.C: New test.

From-SVN: r83585
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/ptrmem4.C [new file with mode: 0644]