public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/85696] OpenMP with variably modified and default(none) won't compile
       [not found] <bug-85696-4@http.gcc.gnu.org/bugzilla/>
@ 2021-02-12 11:37 ` jakub at gcc dot gnu.org
  2023-04-06  5:40 ` zhonghao at pku dot org.cn
  2023-04-06  6:57 ` jakub at gcc dot gnu.org
  2 siblings, 0 replies; 3+ messages in thread
From: jakub at gcc dot gnu.org @ 2021-02-12 11:37 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |philippe.virouleau at imag dot fr

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
*** Bug 61342 has been marked as a duplicate of this bug. ***

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug c/85696] OpenMP with variably modified and default(none) won't compile
       [not found] <bug-85696-4@http.gcc.gnu.org/bugzilla/>
  2021-02-12 11:37 ` [Bug c/85696] OpenMP with variably modified and default(none) won't compile jakub at gcc dot gnu.org
@ 2023-04-06  5:40 ` zhonghao at pku dot org.cn
  2023-04-06  6:57 ` jakub at gcc dot gnu.org
  2 siblings, 0 replies; 3+ messages in thread
From: zhonghao at pku dot org.cn @ 2023-04-06  5:40 UTC (permalink / raw)
  To: gcc-bugs

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

zhonghao at pku dot org.cn changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zhonghao at pku dot org.cn

--- Comment #11 from zhonghao at pku dot org.cn ---
Is this bug really fixed? I tried the latest version, but it is still rejected:

<source>:1:28: error: use of parameter outside function body before ']' token
    1 |   void foo(int n, int a[][n])
      |                            ^
<source>: In function 'void foo(...)':
<source>:4:9: error: 'a' was not declared in this scope
    4 |         a[23][0] = 42;
      |         ^
Compiler returned: 1

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug c/85696] OpenMP with variably modified and default(none) won't compile
       [not found] <bug-85696-4@http.gcc.gnu.org/bugzilla/>
  2021-02-12 11:37 ` [Bug c/85696] OpenMP with variably modified and default(none) won't compile jakub at gcc dot gnu.org
  2023-04-06  5:40 ` zhonghao at pku dot org.cn
@ 2023-04-06  6:57 ` jakub at gcc dot gnu.org
  2 siblings, 0 replies; 3+ messages in thread
From: jakub at gcc dot gnu.org @ 2023-04-06  6:57 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
If you are trying to compile C code which isn't valid C++ by C++, then such an
error is expected.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-04-06  6:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-85696-4@http.gcc.gnu.org/bugzilla/>
2021-02-12 11:37 ` [Bug c/85696] OpenMP with variably modified and default(none) won't compile jakub at gcc dot gnu.org
2023-04-06  5:40 ` zhonghao at pku dot org.cn
2023-04-06  6:57 ` jakub at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).