On Thu, Feb 26, 2015 at 10:28 AM, Kai Tietz <ktiet...@googlemail.com> wrote: > Hi, > > This patch addresses the reported ICE about #pragma weak used on > declarations not var or function. > > ChangeLog > > 2015-02-26 Kai Tietz <kti...@redhat.com> > > * c-pragma.c (handle_pragma_weak): Do not try to creat > weak/alias of declarations > not being function, or variable declarations. > > Bootstrapped and regression tested on x86_64-unknown-linux-gnu. Ok for apply?
Should we add a testcase? -- H.J.