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++/34938] ICE with function pointers and attribute noreturn


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34938

--- Comment #4 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Mon Aug 25 08:32:04 2014
New Revision: 214415

URL: https://gcc.gnu.org/viewcvs?rev=214415&root=gcc&view=rev
Log:
/cp
2014-08-25  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/34938
    * cp-tree.h (TFF_POINTER): Add.
    * cxx-pretty-print.h (pp_cxx_cv_qualifiers): Forward the third
    argument too.
    * error.c (dump_type_suffix): Actually print the const and noreturn
    attribute when appropriate.

/testsuite
2014-08-25  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/34938
    * g++.dg/template/pr34938-1.C: New.
    * g++.dg/template/pr34938-2.C: Likewise.

Added:
    trunk/gcc/testsuite/g++.dg/template/pr34938-1.C
    trunk/gcc/testsuite/g++.dg/template/pr34938-2.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/cp-tree.h
    trunk/gcc/cp/cxx-pretty-print.h
    trunk/gcc/cp/error.c
    trunk/gcc/testsuite/ChangeLog


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