public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/103748] New: [PDT] Variable declaration with PDT syntax when the type is not a PDT fails to trigger a syntax error
@ 2021-12-16 15:05 b.j.braams at cwi dot nl
  2023-06-30  8:41 ` [Bug fortran/103748] " pault at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: b.j.braams at cwi dot nl @ 2021-12-16 15:05 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 103748
           Summary: [PDT] Variable declaration with PDT syntax when the
                    type is not a PDT fails to trigger a syntax error
           Product: gcc
           Version: 10.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: b.j.braams at cwi dot nl
  Target Milestone: ---

This code compiles without error message even though it contains a syntax
error.
program test
  implicit none
  type f_type
     integer, allocatable :: x(:)
  end type f_type
  type (f_type(n=9)) :: f ! should trigger a syntax error
  stop
end program test
(History: f_type used to be a parameterized type. I changed it, but neglected
to change the declaration of a variable of type (f_type).)

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

* [Bug fortran/103748] [PDT] Variable declaration with PDT syntax when the type is not a PDT fails to trigger a syntax error
  2021-12-16 15:05 [Bug fortran/103748] New: [PDT] Variable declaration with PDT syntax when the type is not a PDT fails to trigger a syntax error b.j.braams at cwi dot nl
@ 2023-06-30  8:41 ` pault at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: pault at gcc dot gnu.org @ 2023-06-30  8:41 UTC (permalink / raw)
  To: gcc-bugs

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

Paul Thomas <pault at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2023-06-30
             Blocks|                            |82173
                 CC|                            |pault at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Paul Thomas <pault at gcc dot gnu.org> ---
Added to PDT meta-bug


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82173
[Bug 82173] [meta-bug] [PDT] Parameterized derived type errors

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

end of thread, other threads:[~2023-06-30  8:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-16 15:05 [Bug fortran/103748] New: [PDT] Variable declaration with PDT syntax when the type is not a PDT fails to trigger a syntax error b.j.braams at cwi dot nl
2023-06-30  8:41 ` [Bug fortran/103748] " pault 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).