Commit 44d23deb by Yvan Roux Committed by Yvan Roux

re PR c++/80287 (C++ crash with __attribute((may_alias)))

2017-08-22  Yvan Roux  <yvan.roux@linaro.org>

        PR c++/80287
        * g++.dg/pr80287.C: New test.

From-SVN: r251268
parent 4033e62c
2017-08-22 Yvan Roux <yvan.roux@linaro.org>
PR c++/80287
* g++.dg/pr80287.C: New test.
2017-08-22 Richard Biener <rguenther@suse.de>
Revert
......
// PR c++/80287
// { dg-do compile { target c++11 } }
// { dg-options "-g" }
struct A {
operator long() {}
} __attribute__((__may_alias__));
struct {
A ino;
} a;
char b = a.ino;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment