This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/29440] 4.2 20061007 experimental misscompiles libavcodec/h264.o
- From: "pluto at agmk dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Oct 2006 14:40:37 -0000
- Subject: [Bug middle-end/29440] 4.2 20061007 experimental misscompiles libavcodec/h264.o
- References: <bug-29440-9939@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from pluto at agmk dot net 2006-10-12 14:40 -------
(In reply to comment #3)
> Does it work when compiled with -O0 instead of -O4? How about -O1?
>
> Besies above, I noticed that the asm in get_cabac looks to be clobbering memory
> but is not marked as such.
>
Andrew, this testcase violates aliasing rules.
h264.c: In function 'filter_mb_fast':
h264.c:7074: warning: dereferencing type-punned pointer will break
strict-aliasing rules
--
pluto at agmk dot net changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pluto at agmk dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29440