[Bug c++/49525] [4.4] wrong code and wrong warning for bitfield related operations

marcin.slusarz at gmail dot com gcc-bugzilla@gcc.gnu.org
Fri Jun 24 22:24:00 GMT 2011


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

--- Comment #2 from Marcin Ślusarz <marcin.slusarz at gmail dot com> 2011-06-24 22:23:56 UTC ---
Created attachment 24597
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24597
standalone app testing this bug

I'm attaching sources of standalone app which tests this bug.

It should print:
0
0
0
0

Sometimes it prints:
1
1
1
1
a.out: main.c:14: void check_output(ureg_src*): Assertion `sum == 0' failed.



More information about the Gcc-bugs mailing list