[Bug c++/56394] pointer arithmetic breaks with __attribute__((packed))

2013-02-19 Thread maxim.yegorushkin at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56394 --- Comment #6 from Maxim Yegorushkin 2013-02-19 14:31:10 UTC --- (In reply to comment #5) > (In reply to comment #4) > > (In reply to comment #2) > > > (In reply to comment #1) > > > > Also reproduces with optimization but with -fno-inl

[Bug c++/56394] pointer arithmetic breaks with __attribute__((packed))

2013-02-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56394 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c++/56394] pointer arithmetic breaks with __attribute__((packed))

2013-02-19 Thread maxim.yegorushkin at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56394 --- Comment #4 from Maxim Yegorushkin 2013-02-19 14:21:52 UTC --- (In reply to comment #2) > (In reply to comment #1) > > Also reproduces with optimization but with -fno-inline. The issue must be > > with the exact division: > > > >

[Bug c++/56394] pointer arithmetic breaks with __attribute__((packed))

2013-02-19 Thread maxim.yegorushkin at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56394 Maxim Yegorushkin changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resoluti

[Bug c++/56394] pointer arithmetic breaks with __attribute__((packed))

2013-02-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56394 --- Comment #2 from Richard Biener 2013-02-19 14:17:16 UTC --- (In reply to comment #1) > Also reproduces with optimization but with -fno-inline. The issue must be > with the exact division: > > D.2616_5 = end.0_3 - beg.1_4; > D.2

[Bug c++/56394] pointer arithmetic breaks with __attribute__((packed))

2013-02-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56394 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|