public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/100194] New: [9/10/11/12 Regression] ICE in gfc_trans_create_temp_array, at fortran/trans-array.c:1351
@ 2021-04-21 19:56 gscfq@t-online.de
  2021-04-21 19:56 ` [Bug fortran/100194] " gscfq@t-online.de
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: gscfq@t-online.de @ 2021-04-21 19:56 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 100194
           Summary: [9/10/11/12 Regression] ICE in
                    gfc_trans_create_temp_array, at
                    fortran/trans-array.c:1351
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Changed between 20190113 and 20190120 :


$ cat z1.f90
subroutine s(x)
   real :: x(..)
   call t(x)
contains
   subroutine t(y)
      real, contiguous :: y(..)
   end
end


$ gfortran-9-20190113 -c z1.f90
$
$ gfortran-11-20210418 -c z1.f90
z1.f90:3:12:

    3 |    call t(x)
      |            1
internal compiler error: in gfc_trans_create_temp_array, at
fortran/trans-array.c:1351
0x73d26a gfc_trans_create_temp_array(stmtblock_t*, stmtblock_t*, gfc_ss*,
tree_node*, tree_node*, bool, bool, bool, locus*)
        ../../gcc/fortran/trans-array.c:1351
0x7475d2 gfc_conv_loop_setup(gfc_loopinfo*, locus*)
        ../../gcc/fortran/trans-array.c:5309
0x76bcee gfc_conv_subref_array_arg(gfc_se*, gfc_expr*, int, sym_intent, bool,
gfc_symbol const*, char const*, gfc_symbol*, bool)
        ../../gcc/fortran/trans-expr.c:4929
0x773875 gfc_conv_procedure_call(gfc_se*, gfc_symbol*, gfc_actual_arglist*,
gfc_expr*, vec<tree_node*, va_gc, vl_embed>*)
        ../../gcc/fortran/trans-expr.c:6450
0x7a95e8 gfc_trans_call(gfc_code*, bool, tree_node*, tree_node*, bool)
        ../../gcc/fortran/trans-stmt.c:424
0x739ad8 trans_code
        ../../gcc/fortran/trans.c:2000
0x75fd34 gfc_generate_function_code(gfc_namespace*)
        ../../gcc/fortran/trans-decl.c:6884
0x6e66b6 translate_all_program_units
        ../../gcc/fortran/parse.c:6351
0x6e66b6 gfc_parse_file()
        ../../gcc/fortran/parse.c:6620
0x7329cf gfc_be_parse_file
        ../../gcc/fortran/f95-lang.c:212

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

* [Bug fortran/100194] [9/10/11/12 Regression] ICE in gfc_trans_create_temp_array, at fortran/trans-array.c:1351
  2021-04-21 19:56 [Bug fortran/100194] New: [9/10/11/12 Regression] ICE in gfc_trans_create_temp_array, at fortran/trans-array.c:1351 gscfq@t-online.de
@ 2021-04-21 19:56 ` gscfq@t-online.de
  2021-04-22  7:31 ` rguenth at gcc dot gnu.org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: gscfq@t-online.de @ 2021-04-21 19:56 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from G. Steinmetz <gscfq@t-online.de> ---

Compiles these variants :


$ cat z2.f90
subroutine s(x)
   real, contiguous :: x(..)
   call t(x)
contains
   subroutine t(y)
      real :: y(..)
   end
end


$ cat z3.f90
subroutine s(x)
   real, contiguous :: x(..)
   call t(x)
contains
   subroutine t(y)
      real, contiguous :: y(..)
   end
end

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

* [Bug fortran/100194] [9/10/11/12 Regression] ICE in gfc_trans_create_temp_array, at fortran/trans-array.c:1351
  2021-04-21 19:56 [Bug fortran/100194] New: [9/10/11/12 Regression] ICE in gfc_trans_create_temp_array, at fortran/trans-array.c:1351 gscfq@t-online.de
  2021-04-21 19:56 ` [Bug fortran/100194] " gscfq@t-online.de
@ 2021-04-22  7:31 ` rguenth at gcc dot gnu.org
  2021-04-22  9:11 ` marxin at gcc dot gnu.org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-04-22  7:31 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4
   Target Milestone|---                         |9.4

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

* [Bug fortran/100194] [9/10/11/12 Regression] ICE in gfc_trans_create_temp_array, at fortran/trans-array.c:1351
  2021-04-21 19:56 [Bug fortran/100194] New: [9/10/11/12 Regression] ICE in gfc_trans_create_temp_array, at fortran/trans-array.c:1351 gscfq@t-online.de
  2021-04-21 19:56 ` [Bug fortran/100194] " gscfq@t-online.de
  2021-04-22  7:31 ` rguenth at gcc dot gnu.org
@ 2021-04-22  9:11 ` marxin at gcc dot gnu.org
  2021-06-01  8:20 ` rguenth at gcc dot gnu.org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-04-22  9:11 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2021-04-22
                 CC|                            |marxin at gcc dot gnu.org,
                   |                            |tkoenig at gcc dot gnu.org

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Started with r9-5537-g8558af5023b91a65.

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

* [Bug fortran/100194] [9/10/11/12 Regression] ICE in gfc_trans_create_temp_array, at fortran/trans-array.c:1351
  2021-04-21 19:56 [Bug fortran/100194] New: [9/10/11/12 Regression] ICE in gfc_trans_create_temp_array, at fortran/trans-array.c:1351 gscfq@t-online.de
                   ` (2 preceding siblings ...)
  2021-04-22  9:11 ` marxin at gcc dot gnu.org
@ 2021-06-01  8:20 ` rguenth at gcc dot gnu.org
  2021-06-02 21:26 ` anlauf at gcc dot gnu.org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-06-01  8:20 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|9.4                         |9.5

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 9.4 is being released, retargeting bugs to GCC 9.5.

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

* [Bug fortran/100194] [9/10/11/12 Regression] ICE in gfc_trans_create_temp_array, at fortran/trans-array.c:1351
  2021-04-21 19:56 [Bug fortran/100194] New: [9/10/11/12 Regression] ICE in gfc_trans_create_temp_array, at fortran/trans-array.c:1351 gscfq@t-online.de
                   ` (3 preceding siblings ...)
  2021-06-01  8:20 ` rguenth at gcc dot gnu.org
@ 2021-06-02 21:26 ` anlauf at gcc dot gnu.org
  2021-10-23 22:12 ` sandra at gcc dot gnu.org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: anlauf at gcc dot gnu.org @ 2021-06-02 21:26 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from anlauf at gcc dot gnu.org ---
We are hitting the assert

1351      gcc_assert (ss->dimen > 0);

in gfc_trans_create_temp_array which does not handle assumed rank yet.
(here ss->dimen = -1).

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

* [Bug fortran/100194] [9/10/11/12 Regression] ICE in gfc_trans_create_temp_array, at fortran/trans-array.c:1351
  2021-04-21 19:56 [Bug fortran/100194] New: [9/10/11/12 Regression] ICE in gfc_trans_create_temp_array, at fortran/trans-array.c:1351 gscfq@t-online.de
                   ` (4 preceding siblings ...)
  2021-06-02 21:26 ` anlauf at gcc dot gnu.org
@ 2021-10-23 22:12 ` sandra at gcc dot gnu.org
  2022-05-27  9:45 ` [Bug fortran/100194] [10/11/12/13 " rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: sandra at gcc dot gnu.org @ 2021-10-23 22:12 UTC (permalink / raw)
  To: gcc-bugs

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

sandra at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |burnus at gcc dot gnu.org

--- Comment #5 from sandra at gcc dot gnu.org ---
*** Bug 102729 has been marked as a duplicate of this bug. ***

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

* [Bug fortran/100194] [10/11/12/13 Regression] ICE in gfc_trans_create_temp_array, at fortran/trans-array.c:1351
  2021-04-21 19:56 [Bug fortran/100194] New: [9/10/11/12 Regression] ICE in gfc_trans_create_temp_array, at fortran/trans-array.c:1351 gscfq@t-online.de
                   ` (5 preceding siblings ...)
  2021-10-23 22:12 ` sandra at gcc dot gnu.org
@ 2022-05-27  9:45 ` rguenth at gcc dot gnu.org
  2022-06-28 10:44 ` jakub at gcc dot gnu.org
  2023-07-07 10:39 ` [Bug fortran/100194] [11/12/13/14 " rguenth at gcc dot gnu.org
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-05-27  9:45 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|9.5                         |10.4

--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 9 branch is being closed

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

* [Bug fortran/100194] [10/11/12/13 Regression] ICE in gfc_trans_create_temp_array, at fortran/trans-array.c:1351
  2021-04-21 19:56 [Bug fortran/100194] New: [9/10/11/12 Regression] ICE in gfc_trans_create_temp_array, at fortran/trans-array.c:1351 gscfq@t-online.de
                   ` (6 preceding siblings ...)
  2022-05-27  9:45 ` [Bug fortran/100194] [10/11/12/13 " rguenth at gcc dot gnu.org
@ 2022-06-28 10:44 ` jakub at gcc dot gnu.org
  2023-07-07 10:39 ` [Bug fortran/100194] [11/12/13/14 " rguenth at gcc dot gnu.org
  8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu.org @ 2022-06-28 10:44 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|10.4                        |10.5

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 10.4 is being released, retargeting bugs to GCC 10.5.

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

* [Bug fortran/100194] [11/12/13/14 Regression] ICE in gfc_trans_create_temp_array, at fortran/trans-array.c:1351
  2021-04-21 19:56 [Bug fortran/100194] New: [9/10/11/12 Regression] ICE in gfc_trans_create_temp_array, at fortran/trans-array.c:1351 gscfq@t-online.de
                   ` (7 preceding siblings ...)
  2022-06-28 10:44 ` jakub at gcc dot gnu.org
@ 2023-07-07 10:39 ` rguenth at gcc dot gnu.org
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-07-07 10:39 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|10.5                        |11.5

--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 10 branch is being closed.

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

end of thread, other threads:[~2023-07-07 10:39 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-21 19:56 [Bug fortran/100194] New: [9/10/11/12 Regression] ICE in gfc_trans_create_temp_array, at fortran/trans-array.c:1351 gscfq@t-online.de
2021-04-21 19:56 ` [Bug fortran/100194] " gscfq@t-online.de
2021-04-22  7:31 ` rguenth at gcc dot gnu.org
2021-04-22  9:11 ` marxin at gcc dot gnu.org
2021-06-01  8:20 ` rguenth at gcc dot gnu.org
2021-06-02 21:26 ` anlauf at gcc dot gnu.org
2021-10-23 22:12 ` sandra at gcc dot gnu.org
2022-05-27  9:45 ` [Bug fortran/100194] [10/11/12/13 " rguenth at gcc dot gnu.org
2022-06-28 10:44 ` jakub at gcc dot gnu.org
2023-07-07 10:39 ` [Bug fortran/100194] [11/12/13/14 " rguenth 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).