]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/34935 (ICE with attribute may_alias)
authorDouglas Gregor <doug.gregor@gmail.com>
Thu, 31 Jan 2008 20:06:33 +0000 (20:06 +0000)
committerDoug Gregor <dgregor@gcc.gnu.org>
Thu, 31 Jan 2008 20:06:33 +0000 (20:06 +0000)
commit0451301c5987ec736e4e7c8a2f430b3b9051288e
treee3ce23aff54310844d24fd7882f14fa469956d3d
parent5ca3d30cfb7596bbdabf9e644db03526958ba821
re PR c++/34935 (ICE with attribute may_alias)

2008-01-31  Douglas Gregor  <doug.gregor@gmail.com>
           Jakub Jelinek  <jakub@redhat.com>

       PR c++/34935
       PR c++/34936
       * typeck.c (structural_comptypes): Handle comparisons of
       VOID_TYPE, BOOLEAN_TYPE, INTEGER_TYPE, FIXED_POINT_TYPE, and
       REAL_TYPE nodes.
       * mangle.c (write_builtin_type): Map down to the canonical type,
       which will be one of the predefined type nodes.

2008-01-31  Douglas Gregor  <doug.gregor@gmail.com>
           Jakub Jelinek  <jakub@redhat.com>

       PR c++/34935
       PR c++/34936
       * g++.dg/ext/alias-canon.C: New.
       * g++.dg/ext/alias-mangle.C: New.

Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
From-SVN: r131984
gcc/cp/ChangeLog
gcc/cp/mangle.c
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/alias-canon.C [new file with mode: 0644]
gcc/testsuite/g++.dg/ext/alias-mangle.C [new file with mode: 0644]