[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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




------- 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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



Reply to: