This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/51150] [C++11][4.6/4.7 Regression] ICE when result of -> initializes const variable of different type


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]