[Bug middle-end/52334] The user of "zero" register is wrong
cslhc at qq dot com
gcc-bugzilla@gcc.gnu.org
Thu Feb 23 01:11:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52334
--- Comment #5 from haichang417 <cslhc at qq dot com> 2012-02-23 01:01:56 UTC ---
(In reply to comment #3)
> (In reply to comment #0)
> > if( _find_port( g_pstv->member.pstid, index,
> > (void*)&pstid)
>
> This bit looks like a strict-aliasing violation waiting to happen.
But When I compiled without any warning that about strict-aliasing. I think
that his result is caused by the optimization. In the assembly of 4.3.2, there
is nothing code about calling the _find_port() func.
lw v0,76(zero) //"zero" should be "v1"
More information about the Gcc-bugs
mailing list