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++/56895] [4.8/4.9 Regression] ICE: unexpected expression of kind arrow_expr


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56895

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #15 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-04-12 09:14:41 UTC ---
Author: jakub
Date: Thu Apr 11 19:42:33 2013
New Revision: 197824

URL: http://gcc.gnu.org/viewcvs?rev=197824&root=gcc&view=rev
Log:
    PR c++/56895
    * call.c (null_ptr_cst_p): Call fold_non_dependent_expr_sfinae before
    calling maybe_constant_value for C++98.

    * g++.dg/template/arrow4.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/template/arrow4.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/call.c
    trunk/gcc/testsuite/ChangeLog

Author: jakub
Date: Thu Apr 11 19:43:58 2013
New Revision: 197825

URL: http://gcc.gnu.org/viewcvs?rev=197825&root=gcc&view=rev
Log:
    PR c++/56895
    * call.c (null_ptr_cst_p): Call fold_non_dependent_expr_sfinae before
    calling maybe_constant_value for C++98.

    * g++.dg/template/arrow4.C: New test.

Added:
    branches/gcc-4_8-branch/gcc/testsuite/g++.dg/template/arrow4.C
Modified:
    branches/gcc-4_8-branch/gcc/cp/ChangeLog
    branches/gcc-4_8-branch/gcc/cp/call.c
    branches/gcc-4_8-branch/gcc/testsuite/ChangeLog


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