------- Comment #7 from ebotcazou at gcc dot gnu dot org 2010-02-27 14:30 ------- Subject: Bug 42253
Author: ebotcazou Date: Sat Feb 27 14:30:12 2010 New Revision: 157108 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157108 Log: PR ada/42253 * gcc-interface/utils2.c (build_binary_op) <EQ_EXPR>: Assert that fat pointer base types are variant of each other. Apply special treatment for null to fat pointer types in all cases. Added: branches/gcc-4_4-branch/gcc/testsuite/gnat.dg/thin_pointer1.adb - copied, changed from r156340, branches/gcc-4_4-branch/gcc/testsuite/gnat.dg/thin_pointer.adb branches/gcc-4_4-branch/gcc/testsuite/gnat.dg/thin_pointer1.ads - copied, changed from r156340, branches/gcc-4_4-branch/gcc/testsuite/gnat.dg/thin_pointer.ads branches/gcc-4_4-branch/gcc/testsuite/gnat.dg/thin_pointer2.adb branches/gcc-4_4-branch/gcc/testsuite/gnat.dg/thin_pointer2_pkg.adb branches/gcc-4_4-branch/gcc/testsuite/gnat.dg/thin_pointer2_pkg.ads Removed: branches/gcc-4_4-branch/gcc/testsuite/gnat.dg/thin_pointer.adb branches/gcc-4_4-branch/gcc/testsuite/gnat.dg/thin_pointer.ads Modified: branches/gcc-4_4-branch/gcc/ada/ChangeLog branches/gcc-4_4-branch/gcc/ada/gcc-interface/utils2.c branches/gcc-4_4-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42253