This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/51150] [C++11][4.6/4.7 Regression] ICE when result of -> initializes const variable of different type
- From: "paolo at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 18 Nov 2011 15:51:47 +0000
- Subject: [Bug c++/51150] [C++11][4.6/4.7 Regression] ICE when result of -> initializes const variable of different type
- Auto-submitted: auto-generated
- References: <bug-51150-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51150
--- Comment #5 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2011-11-18 15:51:47 UTC ---
Author: paolo
Date: Fri Nov 18 15:51:41 2011
New Revision: 181479
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181479
Log:
/cp
2011-11-18 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/51150
* pt.c (tsubst_copy_and_build): Handle FIX_TRUNC_EXPR.
/testsuite
2011-11-18 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/51150
* g++.dg/cpp0x/pr51150.C: New.
Added:
branches/gcc-4_6-branch/gcc/testsuite/g++.dg/cpp0x/pr51150.C
Modified:
branches/gcc-4_6-branch/gcc/cp/ChangeLog
branches/gcc-4_6-branch/gcc/cp/pt.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog