This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH - Restore TREE_STATIC flag of previous decl when C99 6.2.7p2 rule is enforced.
On Sat, Nov 08, 2003 at 11:31:01AM -0800, Fariborz Jahanian wrote:
> Problem is that as a side-effect of call to duplicate_decls to enforce
> the C99 rule, the TREE_STATIC flag for the
> implicit declaration for simple_cst_equal, used in first call to
> simple_cst_equal is changed to that of current
> declaration (true). darwin back-end has already seen TREE_STATIC to be
> false in generating the call as a relocatable call....
I think it's a bug that TREE_STATIC is ever not set for a function.
Certainly it's a bug that darwin looks at it at all.
r~