--- Comment #7 from jakub at gcc dot gnu dot org 2008-01-29 23:22 ---
Fixed.
--
jakub at gcc dot gnu dot org changed:
What|Removed |Added
Status|ASSIGNED
--- Comment #6 from jakub at gcc dot gnu dot org 2008-01-29 23:19 ---
Subject: Bug 35017
Author: jakub
Date: Tue Jan 29 23:19:07 2008
New Revision: 131945
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131945
Log:
PR c/35017
* c-decl.c (start_decl): Don't pedwarn
--- Comment #5 from joseph at codesourcery dot com 2008-01-29 18:24 ---
Subject: Re: [4.3 Regression] PR11377 pedwarns even about valid
code
On Tue, 29 Jan 2008, jakub at gcc dot gnu dot org wrote:
> TREE_READONLY isn't modifiable, so I guess that part is quite clear and I'm
> also
>
--- Comment #4 from jakub at gcc dot gnu dot org 2008-01-29 17:48 ---
Created an attachment (id=15052)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15052&action=view)
gcc43-pr35017.patch
Alternative patch, which only pedwarns in inline definitions as defined in
4.7.6p6 as before,
--- Comment #3 from jakub at gcc dot gnu dot org 2008-01-29 17:39 ---
BTW, the patch I've attached doesn't bootstrap, got an error on bitmap.c.
Simplified testcase:
typedef int bitmap_element;
typedef struct { bitmap_element *first; } *bitmap;
extern void bitmap_clear (bitmap);
static v
--- Comment #2 from jakub at gcc dot gnu dot org 2008-01-29 17:31 ---
Created an attachment (id=15051)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15051&action=view)
gcc43-pr35017.patch
TREE_READONLY isn't modifiable, so I guess that part is quite clear and I'm
also
pretty sure
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-01-29 17:07 ---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11377 says otherwise.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35017
--
jakub at gcc dot gnu dot org changed:
What|Removed |Added
AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org
|dot org
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
Keywords||diagnostic, rejects-valid
Priority|P3
--
jakub at gcc dot gnu dot org changed:
What|Removed |Added
Target Milestone|--- |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35017
10 matches
Mail list logo