Undefined behavior or gcc is doing additional good job?
Bin.Cheng
amker.cheng@gmail.com
Tue Jan 7 10:05:00 GMT 2014
On Tue, Jan 7, 2014 at 4:10 PM, Jakub Jelinek <jakub@redhat.com> wrote:
> 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.
I see. Thanks for elaborating.
Thanks,
bin
--
Best Regards.
More information about the Gcc
mailing list