https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101871
kargl at gcc dot gnu.org changed:
What|Removed |Added
Ever confirmed|0 |1
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101871
anlauf at gcc dot gnu.org changed:
What|Removed |Added
CC||anlauf at gcc dot gnu.org
--
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101871
--- Comment #3 from kargl at gcc dot gnu.org ---
(In reply to anlauf from comment #2)
> PR85547 is likely related to this one.
Yes, indeed. Looks like a duplicate. I checked
that array.c(gfc_match_array_constructor) does the
right things. So,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101871
--- Comment #4 from kargl at gcc dot gnu.org ---
With this testcase,
program tao_program
implicit none
integer i
character(80) abc(9)
character(1) n
n = 'H'
abc = [character(80) :: &
& 'a'//n, 'ab', 'abc', 'd', 'def', 'g
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101871
--- Comment #5 from anlauf at gcc dot gnu.org ---
In array.c:gfc_match_array_constructor there's the following code:
1335 /* Walk the constructor, and if possible, do type conversion for
1336 numeric types. */
1337
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101871
--- Comment #6 from Steve Kargl ---
On Sun, Aug 15, 2021 at 07:21:42PM +, anlauf at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101871
>
> --- Comment #5 from anlauf at gcc dot gnu.org ---
> In array.c:gfc_match_ar