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/35330] [4.8/4.9/5 regression] ICE with invalid pragma weak


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

--- Comment #13 from Kai Tietz <ktietz at gcc dot gnu.org> ---
Author: ktietz
Date: Fri Feb 27 10:44:43 2015
New Revision: 221053

URL: https://gcc.gnu.org/viewcvs?rev=221053&root=gcc&view=rev
Log:
2015-02-27  Kai Tietz  <ktietz@redhat.com>

    PR c/35330
    * c-pragma.c (handle_pragma_weak): Do not try to create
    weak/alias of declarations not being function, or variable
    declarations.

2015-02-27  Kai Tietz  <ktietz@redhat.com>

    PR c/35330
    * gcc.dg/weak/weak-17.c: New file.


Added:
    trunk/gcc/testsuite/gcc.dg/weak/weak-17.c
Modified:
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c-family/c-pragma.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]