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  <kti...@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  <kti...@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

Reply via email to