public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/108025] New: Duplicate CONTIGUOUS attribute should be diagnosed
@ 2022-12-08 21:48 anlauf at gcc dot gnu.org
  2022-12-08 22:00 ` [Bug fortran/108025] " anlauf at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: anlauf at gcc dot gnu.org @ 2022-12-08 21:48 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 108025
           Summary: Duplicate CONTIGUOUS attribute should be diagnosed
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: anlauf at gcc dot gnu.org
  Target Milestone: ---

The following code should be rejected as indicated:

subroutine foo (x)
  real, contiguous :: x(:)
  contiguous       :: x    ! { dg-error "Duplicate CONTIGUOUS attribute" }
end

Detected by NAG and Intel.

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

* [Bug fortran/108025] Duplicate CONTIGUOUS attribute should be diagnosed
  2022-12-08 21:48 [Bug fortran/108025] New: Duplicate CONTIGUOUS attribute should be diagnosed anlauf at gcc dot gnu.org
@ 2022-12-08 22:00 ` anlauf at gcc dot gnu.org
  2022-12-08 22:15 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: anlauf at gcc dot gnu.org @ 2022-12-08 22:00 UTC (permalink / raw)
  To: gcc-bugs

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

anlauf at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2022-12-08
             Status|UNCONFIRMED                 |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |anlauf at gcc dot gnu.org
     Ever confirmed|0                           |1
           Keywords|                            |diagnostic, patch

--- Comment #1 from anlauf at gcc dot gnu.org ---
Submitted: https://gcc.gnu.org/pipermail/fortran/2022-December/058597.html

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

* [Bug fortran/108025] Duplicate CONTIGUOUS attribute should be diagnosed
  2022-12-08 21:48 [Bug fortran/108025] New: Duplicate CONTIGUOUS attribute should be diagnosed anlauf at gcc dot gnu.org
  2022-12-08 22:00 ` [Bug fortran/108025] " anlauf at gcc dot gnu.org
@ 2022-12-08 22:15 ` cvs-commit at gcc dot gnu.org
  2022-12-08 22:17 ` anlauf at gcc dot gnu.org
  2023-03-27 18:43 ` cvs-commit at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-12-08 22:15 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Harald Anlauf <anlauf@gcc.gnu.org>:

https://gcc.gnu.org/g:3a9f6d5a8ee490adf9a18f93feaf86542642be7d

commit r13-4568-g3a9f6d5a8ee490adf9a18f93feaf86542642be7d
Author: Harald Anlauf <anlauf@gmx.de>
Date:   Thu Dec 8 22:50:45 2022 +0100

    Fortran: diagnose and reject duplicate CONTIGUOUS attribute [PR108025]

    gcc/fortran/ChangeLog:

            PR fortran/108025
            * symbol.cc (gfc_add_contiguous): Diagnose and reject duplicate
            CONTIGUOUS attribute.

    gcc/testsuite/ChangeLog:

            PR fortran/108025
            * gfortran.dg/contiguous_12.f90: New test.

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

* [Bug fortran/108025] Duplicate CONTIGUOUS attribute should be diagnosed
  2022-12-08 21:48 [Bug fortran/108025] New: Duplicate CONTIGUOUS attribute should be diagnosed anlauf at gcc dot gnu.org
  2022-12-08 22:00 ` [Bug fortran/108025] " anlauf at gcc dot gnu.org
  2022-12-08 22:15 ` cvs-commit at gcc dot gnu.org
@ 2022-12-08 22:17 ` anlauf at gcc dot gnu.org
  2023-03-27 18:43 ` cvs-commit at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: anlauf at gcc dot gnu.org @ 2022-12-08 22:17 UTC (permalink / raw)
  To: gcc-bugs

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

anlauf at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED
   Target Milestone|---                         |13.0

--- Comment #3 from anlauf at gcc dot gnu.org ---
Fixed.

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

* [Bug fortran/108025] Duplicate CONTIGUOUS attribute should be diagnosed
  2022-12-08 21:48 [Bug fortran/108025] New: Duplicate CONTIGUOUS attribute should be diagnosed anlauf at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2022-12-08 22:17 ` anlauf at gcc dot gnu.org
@ 2023-03-27 18:43 ` cvs-commit at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-03-27 18:43 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-12 branch has been updated by Harald Anlauf
<anlauf@gcc.gnu.org>:

https://gcc.gnu.org/g:4b56945b1ae497580b542abb6d7ca41b6444c219

commit r12-9321-g4b56945b1ae497580b542abb6d7ca41b6444c219
Author: Harald Anlauf <anlauf@gmx.de>
Date:   Thu Dec 8 22:50:45 2022 +0100

    Fortran: diagnose and reject duplicate CONTIGUOUS attribute [PR108025]

    gcc/fortran/ChangeLog:

            PR fortran/108025
            * symbol.cc (gfc_add_contiguous): Diagnose and reject duplicate
            CONTIGUOUS attribute.

    gcc/testsuite/ChangeLog:

            PR fortran/108025
            * gfortran.dg/contiguous_12.f90: New test.

    (cherry picked from commit 3a9f6d5a8ee490adf9a18f93feaf86542642be7d)

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

end of thread, other threads:[~2023-03-27 18:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-08 21:48 [Bug fortran/108025] New: Duplicate CONTIGUOUS attribute should be diagnosed anlauf at gcc dot gnu.org
2022-12-08 22:00 ` [Bug fortran/108025] " anlauf at gcc dot gnu.org
2022-12-08 22:15 ` cvs-commit at gcc dot gnu.org
2022-12-08 22:17 ` anlauf at gcc dot gnu.org
2023-03-27 18:43 ` cvs-commit 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).