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/59280] [4.8/4.9 Regression] ICE with attribute((constructor(invalid)))


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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Nov 29 07:42:23 2013
New Revision: 205510

URL: http://gcc.gnu.org/viewcvs?rev=205510&root=gcc&view=rev
Log:
    PR c/59280
    * c-common.c (get_priority): If TREE_VALUE (args) is IDENTIFIER_NODE,
    goto invalid.  If it is error_mark_node, don't issue further
    diagnostics.
testsuite/
    * c-c++-common/pr59280.c: New test.

Added:
    trunk/gcc/testsuite/c-c++-common/pr59280.c
Modified:
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c-family/c-common.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]