This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Undefined behavior or gcc is doing additional good job?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]