Re: Fix g++.dg/cpp0x/static_assert9.C failure

2014-10-01 Thread Thomas Schwinge
Hi! On Sat, 20 Sep 2014 01:59:25 +0200, Jan Hubicka wrote: > Bootstrapped/regtested x86_64-linux, comitted. (In r215409.) > PR c++/61825 > * c-family/c-common.c (handle_alias_ifunc_attribute): Check > that visibility change is possible > (handle_weakref_attribute): Likew

Fix g++.dg/cpp0x/static_assert9.C failure

2014-09-19 Thread Jan Hubicka
Hi, this patch makes symbol==NULL comparsion to be resolved during parsing again. I made this foldable only after symbol table is built because during parsing the visibility of symbols may change affecting the outcome of folding. Sadly it seems that C++ FE needs this to be folded early. This patch