This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/48993] [C++0x] segmentation fault when compiling this program with constexpr
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 6 Aug 2011 04:36:35 +0000
- Subject: [Bug c++/48993] [C++0x] segmentation fault when compiling this program with constexpr
- Auto-submitted: auto-generated
- References: <bug-48993-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48993
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2011-08-06 04:34:50 UTC ---
Author: jason
Date: Sat Aug 6 04:34:45 2011
New Revision: 177499
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=177499
Log:
PR c++/48993
* semantics.c (potential_constant_expression_1) [CALL_EXPR]: Sorry
on 'this' in a constructor.
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/semantics.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-48089.C