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: Is this FE bug or am I missing something?


On 12/09/16 20:41, Igor Shevlyakov wrote:

> It would be beneficial to make the behaviour consistent between
> those 2 cases.

You've got two cases of undefined behaviour.  What benefit
is there from making two cases of UB consistent with each other?
It's not worth the effort of changing the compiler or of slowing
it down for even a nanosecond to achieve spurious "consistency",
IMO.

Andrew.


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