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/32511] GCC inlines weak function



------- Comment #7 from rguenth at gcc dot gnu dot org  2008-03-27 16:35 -------
Subject: Bug 32511

Author: rguenth
Date: Thu Mar 27 16:34:55 2008
New Revision: 133646

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133646
Log:
2008-03-27  Richard Guenther  <rguenther@suse.de>

        PR c/32511
        * c-common.c (handle_weak_attribute): Reject combination of
        weak and inline.

        * gcc.dg/attr-weak-1.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/attr-weak-1.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-common.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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