This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH - [tree-ssa] fix for PRs 14036 and 14065
- From: "Zack Weinberg" <zack at codesourcery dot com>
- To: Fariborz Jahanian <fjahanian at apple dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 09 Feb 2004 14:12:46 -0800
- Subject: Re: PATCH - [tree-ssa] fix for PRs 14036 and 14065
- References: <86E838C9-5B49-11D8-A3F3-000A95BA54A6@apple.com>
Fariborz Jahanian <fjahanian@apple.com> writes:
[Please fix your mailer so it word wraps before 80 columns.]
> These PRs were filed when tree-ssa was used to build gap of the SPEC
> benchmark with IMI. But bugs also show up without IMI in a single
> file compile mode. Two tests are attached.
Can you reproduce these failures with mainline? I do not see what
they have to do with tree-ssa.
> Both bugs are related and have to do with declaration or definition
> of a locally declared 'extern' variable in global scope. Bug results
> in ICE in the first test and duplicate definition in the second
> test. Fix is to preserve the flag in call to merge_decls
... this would be fine, but the whole concept is slated to disappear;
> and to keep locally declared extern of the old declaration 'extern'
> after call to merge_decls in pushdecl.
... and this is flat wrong, as far as I can tell, and would cause
standards violations once the existing (thoroughly broken) data
structure is replaced.
Please do the following:
1) Attempt to duplicate these problems on mainline. Report results.
2) Assign PRs 14036 and 14065 to me.
3) Do NOT check anything in at this time.
i) if you feel like being helpful, please test the patch in
http://gcc.gnu.org/ml/gcc-patches/2004-02/msg00768.html
on a system that uses stabs, SDB, or XCOFF debug format by default.
zw