This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: static-after-extern tests vs. mips explicit relocs
> Richard, I'd be inclined to simply remove the "static" from each of
> these declarations, rather than have that [static_after_extern] tcl
> check.
> r~
As I recall, we ran into problems when they were extern because if the
abort-ified function is called from a startup module before `main'
we'll get a spurious crash.
[dig dig dig] ah here we are, it was you (rth) who did it ;-)
http://gcc.gnu.org/ml/gcc-patches/2000-11/msg00466.html
Since then, we have many more of these builtins, more testcases and
thus more opportunities for this problem to happen and produce
spurious testsuite failures on alpha-linux et al.
Suggestions?
--Kaveh
--
Kaveh R. Ghazi ghazi@caip.rutgers.edu