[Bug rtl-optimization/27761] combine miscompiles
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed May 24 18:19:00 GMT 2006
------- Comment #2 from pinskia at gcc dot gnu dot org 2006-05-24 18:19 -------
> For the same reason __builtin_offsetof also hides the bug.
Because it gets lowered correctly to a constant while
"(intptr_t)(&(((struct A*)0x0)->mem1) )" is not a constant.
Why is someone using that method of offsetof?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27761
More information about the Gcc-bugs
mailing list