[Bug c++/20407] Rejects valid C99 for the C++ front-end

2005-05-22 Thread pinskia at gcc dot gnu dot org


-- 
Bug 20407 depends on bug 18327, which changed state.

Bug 18327 Summary: [3.3 Regression] ICE while compiling valid c code with g++
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18327

   What|Old Value   |New Value

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20407


[Bug c++/20407] Rejects valid C99 for the C++ front-end

2005-03-17 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2005-03-17 
17:46 ---
Confirmed.

-- 
   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed||1
   Last reconfirmed|-00-00 00:00:00 |2005-03-17 17:46:49
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20407


[Bug c++/20407] Rejects valid C99 for the C++ front-end

2005-03-10 Thread joseph at codesourcery dot com

--- Additional Comments From joseph at codesourcery dot com  2005-03-10 
15:59 ---
Subject: Re:  New: Rejects valid C99 for the C++ front-end

On Thu, 10 Mar 2005, pinskia at gcc dot gnu dot org wrote:

> The following code is rejects (even though it is valid C99 and Mark said we 
> should have the C++ front-
> end accept it also):
> typedef struct {
>  unsigned char dir;
>  int data[];
> } AiDefaultRailBlock;
> static const AiDefaultRailBlock _raildata_ai_0 = { 1,  { 0,  4 }  };

Initialization of flexible array members is not valid C99; it is a GNU 
extension.



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20407


[Bug c++/20407] Rejects valid C99 for the C++ front-end

2005-03-10 Thread pinskia at gcc dot gnu dot org


-- 
   What|Removed |Added

  BugsThisDependsOn||18327


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20407