public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/94397] New: [10 Regression] the compiler consider "type is( real(kind(1.)) )" as a syntax error.
@ 2020-03-30  7:06 chinoune.mehdi at hotmail dot com
  2020-03-30  8:29 ` [Bug fortran/94397] " rguenth at gcc dot gnu.org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: chinoune.mehdi at hotmail dot com @ 2020-03-30  7:06 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 94397
           Summary: [10 Regression] the compiler consider "type is(
                    real(kind(1.)) )" as a syntax error.
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: chinoune.mehdi at hotmail dot com
  Target Milestone: ---

Failed to build https://github.com/Goddard-Fortran-Ecosystem/pFUnit (which I
successfully built last Monday 23-03-2020) this morning with gcc-git.
This is the reduced code:

$ cat type_is.f90
module m
  implicit none
contains
  subroutine sub(a)
    class(*) :: a
    select type(a)
      type is ( real( kind(1.) ) )
        a = 1.
    end select
  end subroutine sub
end module m

$ gfortran-10 -c type_is.f90
type_is.f90:7:32:

    7 |       type is ( real( kind(1.) ) )
      |                                1
Error: Syntax error in TYPE IS specification at (1)
type_is.f90:8:14:

    8 |         a = 1.
      |              1
Error: Expected TYPE IS, CLASS IS or END SELECT statement following SELECT TYPE
at (1)

$gfortran-10 --version
GNU Fortran (GCC) 10.0.1 20200330 (experimental)

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

end of thread, other threads:[~2020-05-28 15:08 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-30  7:06 [Bug fortran/94397] New: [10 Regression] the compiler consider "type is( real(kind(1.)) )" as a syntax error chinoune.mehdi at hotmail dot com
2020-03-30  8:29 ` [Bug fortran/94397] " rguenth at gcc dot gnu.org
2020-03-30  8:58 ` marxin at gcc dot gnu.org
2020-03-30 16:23 ` [Bug fortran/94397] [10 Regression] the compiler consider "type is( real(kind(1.)) )" as a syntax error since r10-7369-gc38daa7976886a59 kargl at gcc dot gnu.org
2020-03-30 16:41 ` sgk at troutmask dot apl.washington.edu
2020-03-31  7:12 ` markeggleston at gcc dot gnu.org
2020-03-31 14:33 ` kargl at gcc dot gnu.org
2020-04-01  7:51 ` markeggleston at gcc dot gnu.org
2020-04-29 20:46 ` [Bug fortran/94397] [9/10 " anlauf at gcc dot gnu.org
2020-04-30  6:41 ` markeggleston at gcc dot gnu.org
2020-05-07 11:56 ` [Bug fortran/94397] [9/10/11 " jakub at gcc dot gnu.org
2020-05-28 12:27 ` cvs-commit at gcc dot gnu.org
2020-05-28 13:45 ` cvs-commit at gcc dot gnu.org
2020-05-28 15:06 ` cvs-commit at gcc dot gnu.org
2020-05-28 15:08 ` markeggleston 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).