[Bug c/28280] [4.2 regression] bogus statement with no effect warning with VLA and typeof

2006-08-15 Thread jsm28 at gcc dot gnu dot org


--- Comment #11 from jsm28 at gcc dot gnu dot org  2006-08-15 16:16 ---
The patch http://gcc.gnu.org/ml/gcc-patches/2006-07/txt00017.txt is OK.


-- 


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



[Bug c/28280] [4.2 regression] bogus statement with no effect warning with VLA and typeof

2006-08-15 Thread mrs at gcc dot gnu dot org


--- Comment #12 from mrs at gcc dot gnu dot org  2006-08-15 18:01 ---
Subject: Bug 28280

Author: mrs
Date: Tue Aug 15 18:01:19 2006
New Revision: 116163

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=116163
Log:
PR c/28280
* c-parser.c (c_parser_typeof_specifier): Don't use
c_finish_expr_stmt, open code desired semantics instead.

Added:
trunk/gcc/testsuite/gcc.dg/vla-9.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/c-parser.c


-- 


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



[Bug c/28280] [4.2 regression] bogus statement with no effect warning with VLA and typeof

2006-08-15 Thread pinskia at gcc dot gnu dot org


--- Comment #13 from pinskia at gcc dot gnu dot org  2006-08-15 18:04 
---
Fixed.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||FIXED


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



[Bug c/28280] [4.2 regression] bogus statement with no effect warning with VLA and typeof

2006-07-16 Thread mmitchel at gcc dot gnu dot org


-- 

mmitchel at gcc dot gnu dot org changed:

   What|Removed |Added

   Priority|P3  |P2


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



[Bug c/28280] [4.2 regression] bogus statement with no effect warning with VLA and typeof

2006-07-15 Thread mrs at gcc dot gnu dot org


--- Comment #8 from mrs at gcc dot gnu dot org  2006-07-15 17:03 ---
Subject: Bug 28280

Author: mrs
Date: Sat Jul 15 17:03:44 2006
New Revision: 115479

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=115479
Log:
Revert:
PR c/28280
* c-parser.c (c_parser_typeof_specifier): Don't use
c_finish_expr_stmt, open code desired semantics instead.

Removed:
trunk/gcc/testsuite/gcc.dg/vla-9.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/c-parser.c


-- 


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



[Bug c/28280] [4.2 regression] bogus statement with no effect warning with VLA and typeof

2006-07-15 Thread mrs at apple dot com


--- Comment #9 from mrs at apple dot com  2006-07-15 18:52 ---
THis bug should be reopened.


-- 


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



[Bug c/28280] [4.2 regression] bogus statement with no effect warning with VLA and typeof

2006-07-15 Thread pinskia at gcc dot gnu dot org


--- Comment #10 from pinskia at gcc dot gnu dot org  2006-07-15 18:58 
---
Reopening because Mike cannot do it himself as he does not know the trick of
using his @gcc.gnu.org. 


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |


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



[Bug c/28280] [4.2 regression] bogus statement with no effect warning with VLA and typeof

2006-07-12 Thread mrs at gcc dot gnu dot org


--- Comment #5 from mrs at gcc dot gnu dot org  2006-07-12 13:12 ---
Subject: Bug 28280

Author: mrs
Date: Wed Jul 12 13:12:08 2006
New Revision: 115369

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=115369
Log:
PR c/28280
* c-parser.c (c_parser_typeof_specifier): Don't use
c_finish_expr_stmt, open code desired semantics instead.

Added:
trunk/gcc/testsuite/gcc.dg/vla-9.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/c-parser.c


-- 


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



[Bug c/28280] [4.2 regression] bogus statement with no effect warning with VLA and typeof

2006-07-12 Thread mrs at apple dot com


--- Comment #6 from mrs at apple dot com  2006-07-12 13:13 ---
I have checked in a fix for this.


-- 


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



[Bug c/28280] [4.2 regression] bogus statement with no effect warning with VLA and typeof

2006-07-12 Thread pinskia at gcc dot gnu dot org


--- Comment #7 from pinskia at gcc dot gnu dot org  2006-07-12 17:23 ---
Fixed.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


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



[Bug c/28280] [4.2 regression] bogus statement with no effect warning with VLA and typeof

2006-07-08 Thread mrs at apple dot com


--- Comment #4 from mrs at apple dot com  2006-07-08 10:10 ---
Fix submitted.


-- 


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



[Bug c/28280] [4.2 regression] bogus statement with no effect warning

2006-07-06 Thread pinskia at gcc dot gnu dot org


--- Comment #1 from pinskia at gcc dot gnu dot org  2006-07-06 14:51 ---
This is not a debug issue.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 CC|fche at redhat dot com, |
   |jakub at redhat dot com |


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



[Bug c/28280] [4.2 regression] bogus statement with no effect warning with VLA and typeof

2006-07-06 Thread pinskia at gcc dot gnu dot org


--- Comment #2 from pinskia at gcc dot gnu dot org  2006-07-06 15:12 ---
We are warning inside the typeof.
Here is a shorter testcase:
void f(__SIZE_TYPE__ d)
{
  typedef int t[d];
  t *g = (__typeof(g))d;
}


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

   Keywords||diagnostic
Summary|[4.2 regression] bogus  |[4.2 regression] bogus
   |statement with no effect  |statement with no effect
   |warning |warning with VLA and typeof
   Target Milestone|--- |4.2.0


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



[Bug c/28280] [4.2 regression] bogus statement with no effect warning with VLA and typeof

2006-07-06 Thread pinskia at gcc dot gnu dot org


--- Comment #3 from pinskia at gcc dot gnu dot org  2006-07-06 15:13 ---
Most likely caused by:
2006-05-18  Mike Stump  [EMAIL PROTECTED]

Fix up vla, vm and [*] sematics.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||mrs at apple dot com
 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2006-07-06 15:13:05
   date||


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