Fwd: Patch: fix PRs 17408, 17409
Joseph S. Myers
jsm@polyomino.org.uk
Tue Sep 14 02:01:00 GMT 2004
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)
More information about the Gcc-patches
mailing list