https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67784

Jacques-Henri Jourdan <jacques-henri.jourdan at inria dot Fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #9 from Jacques-Henri Jourdan <jacques-henri.jourdan at inria dot 
Fr> ---
I am sorry, but it appears a similar bug is still in the 6.1 RC, with the
following variant of my first example:

typedef int T;
void f(void) {
  if(sizeof(enum { T }) == 0);
  T x; // T should be resolved outside of the scope of "if"
  x = 0;
}

Reply via email to