public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/60483] New: associate error on valid code: no IMPLICIT type
@ 2014-03-10 12:18 antony at cosmologist dot info
  2014-03-10 18:40 ` [Bug fortran/60483] [4.7/4.8/4.9 Regression] No IMPLICIT type error with: ASSOCIATE( X => derived_type() ) [i.e. w/ structure constructor] dominiq at lps dot ens.fr
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: antony at cosmologist dot info @ 2014-03-10 12:18 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 60483
           Summary: associate error on valid code: no IMPLICIT type
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: antony at cosmologist dot info

module A
    implicit none
    Type T
     integer :: val = 2
    contains
    final :: testfree
    end type
    contains

    subroutine testfree(this)
    Type(T) this

    print *,'freed'
    end subroutine

    subroutine Testf()

    associate(X => T())
        print *, X%val
    end associate
    print *,'after scope'
    end subroutine Testf

    end module


which gives

  print *, X%val
             1
Error: Symbol 'x' at (1) has no IMPLICIT type

(code checks if finalization is called correctly, but didn't get that far)
This code compiles in ifort.


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

* [Bug fortran/60483] [4.7/4.8/4.9 Regression] No IMPLICIT type error with: ASSOCIATE( X => derived_type() ) [i.e. w/ structure constructor]
  2014-03-10 12:18 [Bug fortran/60483] New: associate error on valid code: no IMPLICIT type antony at cosmologist dot info
@ 2014-03-10 18:40 ` dominiq at lps dot ens.fr
  2014-03-10 21:41 ` janus at gcc dot gnu.org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: dominiq at lps dot ens.fr @ 2014-03-10 18:40 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
The change in behavior occurred after r181425 (r181424 is OK).


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

* [Bug fortran/60483] [4.7/4.8/4.9 Regression] No IMPLICIT type error with: ASSOCIATE( X => derived_type() ) [i.e. w/ structure constructor]
  2014-03-10 12:18 [Bug fortran/60483] New: associate error on valid code: no IMPLICIT type antony at cosmologist dot info
  2014-03-10 18:40 ` [Bug fortran/60483] [4.7/4.8/4.9 Regression] No IMPLICIT type error with: ASSOCIATE( X => derived_type() ) [i.e. w/ structure constructor] dominiq at lps dot ens.fr
@ 2014-03-10 21:41 ` janus at gcc dot gnu.org
  2014-03-31  8:57 ` rguenth at gcc dot gnu.org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: janus at gcc dot gnu.org @ 2014-03-10 21:41 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from janus at gcc dot gnu.org ---
(In reply to Dominique d'Humieres from comment #2)
> The change in behavior occurred after r181425

the infamous constructor patch strikes again ...


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

* [Bug fortran/60483] [4.7/4.8/4.9 Regression] No IMPLICIT type error with: ASSOCIATE( X => derived_type() ) [i.e. w/ structure constructor]
  2014-03-10 12:18 [Bug fortran/60483] New: associate error on valid code: no IMPLICIT type antony at cosmologist dot info
  2014-03-10 18:40 ` [Bug fortran/60483] [4.7/4.8/4.9 Regression] No IMPLICIT type error with: ASSOCIATE( X => derived_type() ) [i.e. w/ structure constructor] dominiq at lps dot ens.fr
  2014-03-10 21:41 ` janus at gcc dot gnu.org
@ 2014-03-31  8:57 ` rguenth at gcc dot gnu.org
  2014-03-31  9:32 ` rguenth at gcc dot gnu.org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ 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=60483

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

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


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

* [Bug fortran/60483] [4.7/4.8/4.9 Regression] No IMPLICIT type error with: ASSOCIATE( X => derived_type() ) [i.e. w/ structure constructor]
  2014-03-10 12:18 [Bug fortran/60483] New: associate error on valid code: no IMPLICIT type antony at cosmologist dot info
                   ` (2 preceding siblings ...)
  2014-03-31  8:57 ` rguenth at gcc dot gnu.org
@ 2014-03-31  9:32 ` rguenth at gcc dot gnu.org
  2014-06-12 13:49 ` [Bug fortran/60483] [4.7/4.8/4.9/4.10 " rguenth at gcc dot gnu.org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-03-31  9:32 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4


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

* [Bug fortran/60483] [4.7/4.8/4.9/4.10 Regression] No IMPLICIT type error with: ASSOCIATE( X => derived_type() ) [i.e. w/ structure constructor]
  2014-03-10 12:18 [Bug fortran/60483] New: associate error on valid code: no IMPLICIT type antony at cosmologist dot info
                   ` (3 preceding siblings ...)
  2014-03-31  9:32 ` rguenth at gcc dot gnu.org
@ 2014-06-12 13:49 ` rguenth at gcc dot gnu.org
  2014-12-19 13:33 ` [Bug fortran/60483] [4.8/4.9/5 " jakub at gcc dot gnu.org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-06-12 13:49 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #4 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] 10+ messages in thread

* [Bug fortran/60483] [4.8/4.9/5 Regression] No IMPLICIT type error with: ASSOCIATE( X => derived_type() ) [i.e. w/ structure constructor]
  2014-03-10 12:18 [Bug fortran/60483] New: associate error on valid code: no IMPLICIT type antony at cosmologist dot info
                   ` (4 preceding siblings ...)
  2014-06-12 13:49 ` [Bug fortran/60483] [4.7/4.8/4.9/4.10 " rguenth at gcc dot gnu.org
@ 2014-12-19 13:33 ` jakub at gcc dot gnu.org
  2015-06-23  8:25 ` [Bug fortran/60483] [4.8/4.9/5/6 " rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-12-19 13:33 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

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


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

* [Bug fortran/60483] [4.8/4.9/5/6 Regression] No IMPLICIT type error with: ASSOCIATE( X => derived_type() ) [i.e. w/ structure constructor]
  2014-03-10 12:18 [Bug fortran/60483] New: associate error on valid code: no IMPLICIT type antony at cosmologist dot info
                   ` (5 preceding siblings ...)
  2014-12-19 13:33 ` [Bug fortran/60483] [4.8/4.9/5 " jakub at gcc dot gnu.org
@ 2015-06-23  8:25 ` rguenth at gcc dot gnu.org
  2015-06-26 20:01 ` [Bug fortran/60483] [4.9/5/6 " jakub at gcc dot gnu.org
  2015-06-26 20:31 ` jakub at gcc dot gnu.org
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-06-23  8:25 UTC (permalink / raw)
  To: gcc-bugs

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

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] 10+ messages in thread

* [Bug fortran/60483] [4.9/5/6 Regression] No IMPLICIT type error with: ASSOCIATE( X => derived_type() ) [i.e. w/ structure constructor]
  2014-03-10 12:18 [Bug fortran/60483] New: associate error on valid code: no IMPLICIT type antony at cosmologist dot info
                   ` (6 preceding siblings ...)
  2015-06-23  8:25 ` [Bug fortran/60483] [4.8/4.9/5/6 " rguenth at gcc dot gnu.org
@ 2015-06-26 20:01 ` jakub at gcc dot gnu.org
  2015-06-26 20:31 ` jakub at gcc dot gnu.org
  8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-06-26 20:01 UTC (permalink / raw)
  To: gcc-bugs

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

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


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

* [Bug fortran/60483] [4.9/5/6 Regression] No IMPLICIT type error with: ASSOCIATE( X => derived_type() ) [i.e. w/ structure constructor]
  2014-03-10 12:18 [Bug fortran/60483] New: associate error on valid code: no IMPLICIT type antony at cosmologist dot info
                   ` (7 preceding siblings ...)
  2015-06-26 20:01 ` [Bug fortran/60483] [4.9/5/6 " jakub at gcc dot gnu.org
@ 2015-06-26 20:31 ` jakub at gcc dot gnu.org
  8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-06-26 20:31 UTC (permalink / raw)
  To: gcc-bugs

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

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] 10+ messages in thread

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

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-10 12:18 [Bug fortran/60483] New: associate error on valid code: no IMPLICIT type antony at cosmologist dot info
2014-03-10 18:40 ` [Bug fortran/60483] [4.7/4.8/4.9 Regression] No IMPLICIT type error with: ASSOCIATE( X => derived_type() ) [i.e. w/ structure constructor] dominiq at lps dot ens.fr
2014-03-10 21:41 ` janus at gcc dot gnu.org
2014-03-31  8:57 ` rguenth at gcc dot gnu.org
2014-03-31  9:32 ` rguenth at gcc dot gnu.org
2014-06-12 13:49 ` [Bug fortran/60483] [4.7/4.8/4.9/4.10 " rguenth at gcc dot gnu.org
2014-12-19 13:33 ` [Bug fortran/60483] [4.8/4.9/5 " jakub at gcc dot gnu.org
2015-06-23  8:25 ` [Bug fortran/60483] [4.8/4.9/5/6 " rguenth at gcc dot gnu.org
2015-06-26 20:01 ` [Bug fortran/60483] [4.9/5/6 " jakub at gcc dot gnu.org
2015-06-26 20:31 ` 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).