weakref miscompiling libgfortran
Andrew Pinski
pinskia@physics.uc.edu
Wed Dec 28 03:20:00 GMT 2005
On Dec 27, 2005, at 6:36 PM, Jakub Jelinek wrote:
> It has nothing to do with libgfortran actually, libgfortran only ever
> uses the weak pthread function aliases within libgfortran.
> The reason why weakref attribute has been added is primarily libstdc++,
> see PR4372, because unlike libgfortran or libobjc, libstdc++ installed
> headers were using #pragma weak on all pthread_* functions it wanted
> to use.
But as mentioned the feature was not thought through. It has not been
tested
that well (or at all) with stuff like IMA or templates.
I still support a reverting of the weakref patch as it was put way too
late
for 4.1 (stage 3 is not a good idea for a new feature).
-- Pinski
More information about the Gcc
mailing list