This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]