Path: csiph.com!feeder.erje.net!2.eu.feeder.erje.net!border1.nntp.ams1.giganews.com!nntp.giganews.com!buffer1.nntp.ams1.giganews.com!nntp.brightview.co.uk!news.brightview.co.uk.POSTED!not-for-mail NNTP-Posting-Date: Sat, 29 Apr 2017 01:00:36 -0500 From: Gareth Owen Newsgroups: comp.lang.c Subject: Re: gcc failure (optimised/non-optimised) References: <87shl0enji.fsf@gmail.com> <77bf027a-bf2c-41c1-8daa-bade4b803842@googlegroups.com> Date: Sat, 29 Apr 2017 07:00:35 +0100 Message-ID: <87d1bvoirg.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:o/lsUM/mbecQHpRVTmz5kih5zYM= MIME-Version: 1.0 Content-Type: text/plain Lines: 6 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-OfRVg99GUPfUwnVQTKCgOSPzFuEY/ISTbONRoLn6KmNB/4et0Gk3P3i48FCuS4Khq8VbKPi85ZDDKMJ!d3C3D+5EqTuoeAQzujr/3x7wXUPBPvfvxnTNN6RVeOp2BeMR0z5bz/atuDTjJtGg478Se6M= X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 1354 Xref: csiph.com comp.lang.c:108712 supercat@casperkitty.com writes: > if (message+5 == &magic) I think this equality expression may be UB in C11 (S6.5.8.5) It's merely unspecified in C++.