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++/61825] [5 regression] g++.dg/cpp0x/static_assert9.C FAILs


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

--- Comment #8 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Author: hubicka
Date: Fri Sep 19 23:56:52 2014
New Revision: 215409

URL: https://gcc.gnu.org/viewcvs?rev=215409&root=gcc&view=rev
Log:

    PR c++/61825
    * c-family/c-common.c (handle_alias_ifunc_attribute): Check
    that visibility change is possible
    (handle_weakref_attribute): Likewise.
    * cgraph.h (symtab_node): Add method get_create and
    field refuse_visibility_changes.
    (symtab_node::get_create): New method.
    * fold-const.c (tree_single_nonzero_warnv_p): Use get_create.
    * varasm.c (mark_weak): Verify that visibility change is
    possible.

    * gcc.dg/tree-ssa/nonzero-1.c: Require error to be output.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-family/c-common.c
    trunk/gcc/cgraph.h
    trunk/gcc/fold-const.c
    trunk/gcc/symtab.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/tree-ssa/nonzero-1.c
    trunk/gcc/varasm.c


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