public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/60526] New: [4.7/4.8/4.9 Regression] Accepts-invalid: Variable name same as type name
@ 2014-03-14 15:16 janus at gcc dot gnu.org
  2014-03-14 15:19 ` [Bug fortran/60526] " janus at gcc dot gnu.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: janus at gcc dot gnu.org @ 2014-03-14 15:16 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60526

            Bug ID: 60526
           Summary: [4.7/4.8/4.9 Regression] Accepts-invalid: Variable
                    name same as type name
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: janus at gcc dot gnu.org

The following program is supposed to be invalid:

type X
end type

type(X) :: X

end


4.6 rejects it with:

type(X) :: X
            1
Error: Symbol 'x' at (1) cannot have a type


4.7, 4.8 and trunk however accept it happily. I think that is yet another
regression caused by the constructor implementation in 4.7.


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

* [Bug fortran/60526] [4.7/4.8/4.9 Regression] Accepts-invalid: Variable name same as type name
  2014-03-14 15:16 [Bug fortran/60526] New: [4.7/4.8/4.9 Regression] Accepts-invalid: Variable name same as type name janus at gcc dot gnu.org
@ 2014-03-14 15:19 ` janus at gcc dot gnu.org
  2014-03-16  0:51 ` dominiq at lps dot ens.fr
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: janus at gcc dot gnu.org @ 2014-03-14 15:19 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60526

--- Comment #1 from janus at gcc dot gnu.org ---
See also
https://groups.google.com/forum/?fromgroups#!topic/comp.lang.fortran/ZZ0iPFE7TFk
for a discussion of ifort's behavior (which is the other way round than
gfortran's: it used to accept it but now rejects it).


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

* [Bug fortran/60526] [4.7/4.8/4.9 Regression] Accepts-invalid: Variable name same as type name
  2014-03-14 15:16 [Bug fortran/60526] New: [4.7/4.8/4.9 Regression] Accepts-invalid: Variable name same as type name janus at gcc dot gnu.org
  2014-03-14 15:19 ` [Bug fortran/60526] " janus at gcc dot gnu.org
@ 2014-03-16  0:51 ` dominiq at lps dot ens.fr
  2014-03-31  8:57 ` rguenth at gcc dot gnu.org
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: dominiq at lps dot ens.fr @ 2014-03-16  0:51 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60526

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-03-16
     Ever confirmed|0                           |1

--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Confirmed.


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

* [Bug fortran/60526] [4.7/4.8/4.9 Regression] Accepts-invalid: Variable name same as type name
  2014-03-14 15:16 [Bug fortran/60526] New: [4.7/4.8/4.9 Regression] Accepts-invalid: Variable name same as type name janus at gcc dot gnu.org
  2014-03-14 15:19 ` [Bug fortran/60526] " janus at gcc dot gnu.org
  2014-03-16  0:51 ` dominiq at lps dot ens.fr
@ 2014-03-31  8:57 ` rguenth at gcc dot gnu.org
  2014-03-31  9:44 ` rguenth at gcc dot gnu.org
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-03-31  8:57 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60526

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.7.4


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

* [Bug fortran/60526] [4.7/4.8/4.9 Regression] Accepts-invalid: Variable name same as type name
  2014-03-14 15:16 [Bug fortran/60526] New: [4.7/4.8/4.9 Regression] Accepts-invalid: Variable name same as type name janus at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2014-03-31  8:57 ` rguenth at gcc dot gnu.org
@ 2014-03-31  9:44 ` rguenth at gcc dot gnu.org
  2014-06-12 13:43 ` [Bug fortran/60526] [4.7/4.8/4.9/4.10 " rguenth at gcc dot gnu.org
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-03-31  9:44 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60526

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |accepts-invalid
           Priority|P3                          |P4


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

* [Bug fortran/60526] [4.7/4.8/4.9/4.10 Regression] Accepts-invalid: Variable name same as type name
  2014-03-14 15:16 [Bug fortran/60526] New: [4.7/4.8/4.9 Regression] Accepts-invalid: Variable name same as type name janus at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2014-03-31  9:44 ` rguenth at gcc dot gnu.org
@ 2014-06-12 13:43 ` rguenth at gcc dot gnu.org
  2014-12-19 13:27 ` [Bug fortran/60526] [4.8/4.9/5 " jakub at gcc dot gnu.org
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-06-12 13:43 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.7.4                       |4.8.4

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
The 4.7 branch is being closed, moving target milestone to 4.8.4.


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

* [Bug fortran/60526] [4.8/4.9/5 Regression] Accepts-invalid: Variable name same as type name
  2014-03-14 15:16 [Bug fortran/60526] New: [4.7/4.8/4.9 Regression] Accepts-invalid: Variable name same as type name janus at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2014-06-12 13:43 ` [Bug fortran/60526] [4.7/4.8/4.9/4.10 " rguenth at gcc dot gnu.org
@ 2014-12-19 13:27 ` jakub at gcc dot gnu.org
  2015-02-15 14:13 ` dominiq at lps dot ens.fr
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-12-19 13:27 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.8.4                       |4.8.5

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 4.8.4 has been released.


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

* [Bug fortran/60526] [4.8/4.9/5 Regression] Accepts-invalid: Variable name same as type name
  2014-03-14 15:16 [Bug fortran/60526] New: [4.7/4.8/4.9 Regression] Accepts-invalid: Variable name same as type name janus at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2014-12-19 13:27 ` [Bug fortran/60526] [4.8/4.9/5 " jakub at gcc dot gnu.org
@ 2015-02-15 14:13 ` dominiq at lps dot ens.fr
  2015-06-23  8:20 ` [Bug fortran/60526] [4.8/4.9/5/6 " rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: dominiq at lps dot ens.fr @ 2015-02-15 14:13 UTC (permalink / raw)
  To: gcc-bugs

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

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |burnus at gcc dot gnu.org

--- Comment #5 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
This PR is caused/exposed by r181425.


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

* [Bug fortran/60526] [4.8/4.9/5/6 Regression] Accepts-invalid: Variable name same as type name
  2014-03-14 15:16 [Bug fortran/60526] New: [4.7/4.8/4.9 Regression] Accepts-invalid: Variable name same as type name janus at gcc dot gnu.org
                   ` (6 preceding siblings ...)
  2015-02-15 14:13 ` dominiq at lps dot ens.fr
@ 2015-06-23  8:20 ` rguenth at gcc dot gnu.org
  2015-06-26 19:58 ` [Bug fortran/60526] [4.9/5/6 " jakub at gcc dot gnu.org
  2015-06-26 20:28 ` jakub at gcc dot gnu.org
  9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-06-23  8:20 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.8.5                       |4.9.3

--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
The gcc-4_8-branch is being closed, re-targeting regressions to 4.9.3.


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

* [Bug fortran/60526] [4.9/5/6 Regression] Accepts-invalid: Variable name same as type name
  2014-03-14 15:16 [Bug fortran/60526] New: [4.7/4.8/4.9 Regression] Accepts-invalid: Variable name same as type name janus at gcc dot gnu.org
                   ` (7 preceding siblings ...)
  2015-06-23  8:20 ` [Bug fortran/60526] [4.8/4.9/5/6 " rguenth at gcc dot gnu.org
@ 2015-06-26 19:58 ` jakub at gcc dot gnu.org
  2015-06-26 20:28 ` jakub at gcc dot gnu.org
  9 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-06-26 19:58 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 4.9.3 has been released.


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

* [Bug fortran/60526] [4.9/5/6 Regression] Accepts-invalid: Variable name same as type name
  2014-03-14 15:16 [Bug fortran/60526] New: [4.7/4.8/4.9 Regression] Accepts-invalid: Variable name same as type name janus at gcc dot gnu.org
                   ` (8 preceding siblings ...)
  2015-06-26 19:58 ` [Bug fortran/60526] [4.9/5/6 " jakub at gcc dot gnu.org
@ 2015-06-26 20:28 ` jakub at gcc dot gnu.org
  9 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-06-26 20:28 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.9.3                       |4.9.4


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

end of thread, other threads:[~2015-06-26 20:28 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-14 15:16 [Bug fortran/60526] New: [4.7/4.8/4.9 Regression] Accepts-invalid: Variable name same as type name janus at gcc dot gnu.org
2014-03-14 15:19 ` [Bug fortran/60526] " janus at gcc dot gnu.org
2014-03-16  0:51 ` dominiq at lps dot ens.fr
2014-03-31  8:57 ` rguenth at gcc dot gnu.org
2014-03-31  9:44 ` rguenth at gcc dot gnu.org
2014-06-12 13:43 ` [Bug fortran/60526] [4.7/4.8/4.9/4.10 " rguenth at gcc dot gnu.org
2014-12-19 13:27 ` [Bug fortran/60526] [4.8/4.9/5 " jakub at gcc dot gnu.org
2015-02-15 14:13 ` dominiq at lps dot ens.fr
2015-06-23  8:20 ` [Bug fortran/60526] [4.8/4.9/5/6 " rguenth at gcc dot gnu.org
2015-06-26 19:58 ` [Bug fortran/60526] [4.9/5/6 " jakub at gcc dot gnu.org
2015-06-26 20:28 ` 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).