------- Comment #16 from mark at codesourcery dot com 2005-10-11 17:31 ------- Subject: Re: [4.0 regression] mem_fun* code fine with -O1, bus error with -O2
giovannibajo at libero dot it wrote: > ------- Comment #15 from giovannibajo at libero dot it 2005-10-11 17:16 > ------- > Probably. But what if the problem with dereferencing p was that it is NULL, > instead of a misalignment? Would that case be caught in reorg by something > else? Well, then the code would have undefined behavior, and the bus error would be OK. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23585