[Bug fortran/104812] Construct-name with same variable name in scope

2022-04-05 Thread fruitclover at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104812 --- Comment #6 from Mike K. --- Thanks a lot for the guidance, posted patch.

[Bug fortran/104812] Construct-name with same variable name in scope

2022-04-05 Thread fruitclover at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104812 --- Comment #4 from Mike K. --- Created attachment 52749 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52749&action=edit propose to return an error if constuct-name clashes with variable name > Note, the prohibition in the standard is no

[Bug fortran/104812] Construct-name with same variable name in scope

2022-03-10 Thread fruitclover at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104812 --- Comment #2 from Mike K. --- Thanks, and subroutine s2 conforming Fortran 2018, 19.4, right?

[Bug fortran/104812] New: Construct-name with same variable name in scope

2022-03-06 Thread fruitclover at gmail dot com via Gcc-bugs
Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: fruitclover at gmail dot com Target Milestone: --- Is this expected behavior for s1 to disallow construct-name with the same name as declared variable? $ cat -n test.f90 1 subroutine s1 2logical :: x

[Bug c++/89616] Parameter names can be redeclared in outermost block of a function definition

2019-03-12 Thread fruitclover at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89616 Michael Kashkarov changed: What|Removed |Added CC||fruitclover at gmail dot com