Commit 26a0cc94 by Paolo Carlini Committed by Paolo Carlini

re PR c++/79410 (internal compiler error: in gimplify_init_ctor_preeval, at gimplify.c:3489)

2018-03-01  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/79410
	* g++.dg/torture/pr79410.C: New.

From-SVN: r258106
parent 303a1e75
2018-03-01 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/79410
* g++.dg/torture/pr79410.C: New.
2018-03-01 Martin Liska <mliska@suse.cz>
PR sanitizer/82484
......
struct duration {
long val;
static constexpr duration max() { return {}; }
};
struct S {
duration max = duration::max();
};
void Ice(S& s) {
s = {};
}
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