[Bug testsuite/42854] [4.4/4.5 Regression] FAIL: gcc.dg/darwin-weakimport-[13].c scan-assembler-not *

jakub at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Jan 25 12:59:00 GMT 2010



------- Comment #3 from jakub at gcc dot gnu dot org  2010-01-25 12:59 -------
I mean that
grep weak_import doc/*
yields nothing at all (and google for weak_import doesn't show up any useful
documentation either).
It seems that Geoff Keating's implementation of the attribute (how could it be
committed without documentation nor at least some words on what it is meant to
do?) basically ignored it if weak attribute was also specified.  Just removing
those lookup_attribute (, "weak") tests would cure this.  That really depends
on
what __attribute__((weak, weak_import)) is supposed to mean (if anything).
Or what means combination of #pragma weak and weak_import attribute for the
same decl name.  Also, what matters is if undefined weak_import symbols are
supposed to generate weak directives or not.


-- 


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



More information about the Gcc-bugs mailing list