[Bug c++/56558] Address of operator with template base class member (C++ source compile error)

thierry.moreau at connotech dot com gcc-bugzilla@gcc.gnu.org
Thu Mar 7 14:46:00 GMT 2013


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

--- Comment #5 from Thierry Moreau <thierry.moreau at connotech dot com> 2013-03-07 14:45:20 UTC ---
paolo.carlini at oracle dot com wrote:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56558
> 
> Paolo Carlini <paolo.carlini at oracle dot com> changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>              Status|UNCONFIRMED                 |RESOLVED
>          Resolution|                            |DUPLICATE
> 
> --- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> 2013-03-07 08:47:18 UTC ---
> Indeed.
> 
> *** This bug has been marked as a duplicate of bug 48593 ***
> 
Indeed, and thanks.

I reported this bug (against 4.6 -- still supported by volunteers) 
because it *might* prevent the C++-converted gcc from being build with 
gcc in the range 3.x to 4.6.

Working around bugs 48593 or 56558 is easy: get the pointer value 
through a reference declaration. The workaround may become a recommended 
coding style, with rationale being lost in the meantime.

I don't know the terminology for gcc developers for applying a bug 
correction to an earlier version.

So, I'm leaving it to you to determine if these bugs are relevant to 4.6 
(and prior?) in view of the C++ conversion.

Thanks and best regards,



More information about the Gcc-bugs mailing list