confirmed, but that's invalid code:

$ gcc-9 -c qq.i 
qq.i: In function ‘m’:
qq.i:1:49: error: expected expression before ‘)’ token
    1 | int m(int a, int b) { return sizeof((char[a][b])); }
      |                                                 ^


** Changed in: gcc-10 (Ubuntu)
       Status: New => Confirmed

** Bug watch added: GCC Bugzilla #97892
   https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97892

** Also affects: groovy via
   https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97892
   Importance: Unknown
       Status: Unknown

** Project changed: groovy => gcc

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1904630

Title:
  gcc-10 compilation failure in c_expr_sizeof_expr

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/1904630/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to