[Bug sanitizer/79783] [7 Regression] ICE on valid C++ with -fsanitize=address
reichelt at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Mar 1 23:29:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79783
Volker Reichelt <reichelt at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
CC| |reichelt at gcc dot gnu.org
Known to work| |6.1.0
Ever confirmed|0 |1
Known to fail| |7.0.1
--- Comment #1 from Volker Reichelt <reichelt at gcc dot gnu.org> ---
Even simpler testcase, crashes with -O -fsanitize=address -fno-tree-dce :
=========================================
struct A
{
static void foo(const char&) {}
};
struct B
{
B() { A::foo(char()); }
};
struct C
{
virtual void bar() const { B b; }
};
C c;
=========================================
More information about the Gcc-bugs
mailing list