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:40:10 +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 #3 from Jason Merrill <jason at gcc dot gnu.org> 2011-08-06 04:38:35 UTC ---
Author: jason
Date: Sat Aug 6 04:38:32 2011
New Revision: 177503
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=177503
Log:
PR c++/48993
* semantics.c (potential_constant_expression_1) [CALL_EXPR]: Sorry
on 'this' in a constructor.
Modified:
branches/gcc-4_6-branch/gcc/cp/ChangeLog
branches/gcc-4_6-branch/gcc/cp/semantics.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
branches/gcc-4_6-branch/gcc/testsuite/g++.dg/cpp0x/constexpr-48089.C