http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53524

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2012-05-30
                 CC|                            |manu at gcc dot gnu.org
     Ever Confirmed|0                           |1

--- Comment #4 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2012-05-30 
07:57:59 UTC ---
That input_location is pointing to something so bogus makes me think that
something weird is going on. In any case, it would be interesting to know why
same_type fails a few lines above, and whether it is true that g++ is not doing
the two-phase typing properly.

The following also warns, so the type of the enum values does not seem to be
the issue:

    N2 = 0 ? PointerLikeTypeTraits < PT1 >::NumLowBitsAvailable :
PointerLikeTypeTraits < PT2 >::NumLowBitsAvailable,

Reply via email to