Commit adcffce3 by Paolo Carlini Committed by Paolo Carlini

re PR c++/57827 (compiler segmentation fault)

2013-07-10  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/57827
	* g++.dg/cpp0x/constexpr-ice7.C: New.

From-SVN: r200892
parent d331d374
2013-07-10 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/57827
* g++.dg/cpp0x/constexpr-ice7.C: New.
2013-07-10 Janis Johnson <janisjo@codesourcery.com> 2013-07-10 Janis Johnson <janisjo@codesourcery.com>
* gcc.target/powerpc/20020118-1.c: Force 128-bit stack alignment * gcc.target/powerpc/20020118-1.c: Force 128-bit stack alignment
......
// PR c++/57827
// { dg-do compile { target c++11 } }
struct C
{
constexpr int fun (int x)
{
return x + 1;
}
int a = 2;
int b = fun(a);
};
C c;
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