This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fwd: Patch: fix PRs 17408, 17409
- From: "Joseph S. Myers" <jsm at polyomino dot org dot uk>
- To: Dale Johannesen <dalej at apple dot com>
- Cc: "gcc-patches at gcc dot gnu dot org Patches" <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 14 Sep 2004 00:20:32 +0000 (UTC)
- Subject: Re: Fwd: Patch: fix PRs 17408, 17409
- References: <F2578295-05E1-11D9-A13E-000A95D7CD40@apple.com>
On Mon, 13 Sep 2004, Dale Johannesen wrote:
> 2004-09-13 Dale Johannesen <dalej@apple.com>
>
> PR 17408
> PR 17409
> * c-decl.c (start_decl): Repair TREE_STATIC for initialized
> objects declared extern.
> 2004-09-13 Dale Johannesen <dalej@apple.com>
>
> * gcc.dg/pr17408.c, gcc.dg/pr17409.c: New test cases.
As identical testcases with different optimization options, where what's
being tested is that the code successfully compiles/assembles rather than
the warnings emitted for it, gcc.c-torture/compile would be a better place
for the test to go. OK with that change (single testcase in
gcc.c-torture/compile, without the dg comments but with a comment
referencing both PRs).
--
Joseph S. Myers http://www.srcf.ucam.org/~jsm28/gcc/
http://www.srcf.ucam.org/~jsm28/gcc/#c90status - status of C90 for GCC 4.0
jsm@polyomino.org.uk (personal mail)
jsm28@gcc.gnu.org (Bugzilla assignments and CCs)