Undefined behavior or gcc is doing additional good job?
Jakub Jelinek
jakub@redhat.com
Tue Jan 7 08:19:00 GMT 2014
On Tue, Jan 07, 2014 at 04:01:23PM +0800, Bin.Cheng wrote:
> Em, YES, it comes from ivopt rewriting, but, if it's not undefined
> behavior, won't it be annoying (or simply wrong) for compiler to do
> something not written by the code?
If __bss_start of __data_start aren't 32-bit aligned, then it is undefined
behavior, so it is not wrong.
Jakub
More information about the Gcc
mailing list