r246548 - Add a new frontend warning for referencing members from the handler of a constructor or destructor function-try-block, which is UB in C++.

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 1 10:15:05 PDT 2015


On Tue, Sep 1, 2015 at 12:43 PM, Renato Golin <renato.golin at linaro.org> wrote:
> On 1 September 2015 at 15:49, Aaron Ballman via cfe-commits
> <cfe-commits at lists.llvm.org> wrote:
>> Author: aaronballman
>> Date: Tue Sep  1 09:49:24 2015
>> New Revision: 246548
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=246548&view=rev
>> Log:
>> Add a new frontend warning for referencing members from the handler of a constructor or destructor function-try-block, which is UB in C++.
>
> Hi Aaron,
>
> Could this be yours?
>
> http://lab.llvm.org:8011/builders/clang-cmake-armv7-a15-selfhost-neon/builds/3246
>
> Seems like bad codegen, possibly a 32-bit issue? This is ok on the
> AArch64 bots, have you seen any problem in x86-32 ones?

It seems unlikely as this shouldn't effect codegen. None of the other
bots seem to be red because it either. FWIW, my tests were 32-bit x86
on Windows 10 with MSVC 2015.

This was the only failure report I've received thus far, but I'll
definitely keep my eyes open to see if there's a pattern somewhere.

~Aaron

>
> cheers,
> --renato


More information about the cfe-commits mailing list