News for hackers. Stuff that matters.
Re:GCC 6.1 Released by dsfuoi on Wednesday April 27, 2016 @03:18PM (#11583653)
By definition made in the C Standard, undefined behavior is: behavior, upon use of a nonportable or erroneous program construct or of erroneous data, for which this International Standard imposes no requirements

If you're using some other definition, then say so, otherwise your comments make no sense.

Re:GCC 6.1 Released by pjmlp on Thursday April 28, 2016 @01:22AM (#11586697)
Given my-app.c, each C compiler out there will pick a different UB subset and not everything that is defined as UB in the standard.

They are free to do that and still be compliant, after all UB means anything goes.

Re:GCC 6.1 Released by lorenzhs on Friday April 29, 2016 @09:20AM (#11595494)
That compilers may behave differently is exactly the point of UB, if they all had to behave the same it wouldn't be undefined, after all!