[Bug c++/15837] Optimization (of templatized functions?)
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Jun 5 22:42:00 GMT 2004
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-06-05 22:42 -------
You are violating aliasing rules in the deferencing of the value returned here:
operator const generic_pen_row_iterator<const value_type>&()const
{
return *reinterpret_cast<generic_pen_row_iterator<const value_type>*>(this);
}
So this is invalid, please fix your code.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15837
More information about the Gcc-bugs
mailing list