[Bug fortran/91728] Accepts array with wrong shape in a structure constructor

2022-04-04 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91728

anlauf at gcc dot gnu.org changed:

   What|Removed |Added

 CC||anlauf at gcc dot gnu.org
 Resolution|--- |FIXED
 Status|WAITING |RESOLVED

--- Comment #3 from anlauf at gcc dot gnu.org ---
Should be fixed.  Closing.

[Bug fortran/91728] Accepts array with wrong shape in a structure constructor

2022-02-02 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91728

anlauf at gcc dot gnu.org changed:

   What|Removed |Added

 Status|NEW |WAITING
   Priority|P3  |P4
   Target Milestone|--- |10.4

--- Comment #2 from anlauf at gcc dot gnu.org ---
Both testcases in comment#0 are now rejected on 10/11/12:

pr91728-z1.f90:7:8:

7 |   x = t([1.0])
  |1
Error: The shape of component 'a' in the structure constructor at (1) differs
from the shape of the declared component for dimension 1 (1/3)

I assume this PR is a duplicate of another one that got fixed recently.

[Bug fortran/91728] Accepts array with wrong shape in a structure constructor

2020-01-05 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91728

Thomas Koenig  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2020-01-05
 CC||tkoenig at gcc dot gnu.org
 Ever confirmed|0   |1

--- Comment #1 from Thomas Koenig  ---
Confirmed.