public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/95067] New: [10/11 Regression] ICE in tree_fits_shwi_p,  at tree.c:7262
@ 2020-05-11 18:51 gscfq@t-online.de
  2020-05-12  6:54 ` [Bug fortran/95067] [9/10/11 " marxin at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: gscfq@t-online.de @ 2020-05-11 18:51 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 95067
           Summary: [10/11 Regression] ICE in tree_fits_shwi_p, at
                    tree.c:7262
           Product: gcc
           Version: 11.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 20190526 and 20190602, with option -gstabs :


$ cat z1.f90
program p
   character(:), allocatable :: a
   character(3) :: b[*]
   a = 'abc'
   b[1] = a
end


$ gfortran-9 -c z1.f90 -fcoarray=lib -O2 -gstabs
$
$ gfortran-11-20200510 -c z1.f90 -fcoarray=lib -O2 -gstabs
during RTL pass: final
z1.f90:6:0:

    6 | end
      |
internal compiler error: Segmentation fault
0xbb93cf crash_signal
        ../../gcc/toplev.c:328
0xe0d447 tree_fits_shwi_p(tree_node const*)
        ../../gcc/tree.c:7262
0x815e82 dbxout_range_type
        ../../gcc/dbxout.c:1740
0x81556a dbxout_type
        ../../gcc/dbxout.c:2042
0x8141d4 dbxout_type
        ../../gcc/dbxout.c:2334
0x8161fe dbxout_symbol_location
        ../../gcc/dbxout.c:3246
0x816f00 dbxout_symbol(tree_node*, int)
        ../../gcc/dbxout.c:2972
0x817f2e dbxout_syms(tree_node*)
        ../../gcc/dbxout.c:3428
0x81808c dbxout_block
        ../../gcc/dbxout.c:3791
0x8182a3 dbxout_function_decl
        ../../gcc/dbxout.c:1388
0x8d9399 rest_of_handle_final
        ../../gcc/final.c:4694
0x8d9399 execute
        ../../gcc/final.c:4736

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

* [Bug fortran/95067] [9/10/11 Regression] ICE in tree_fits_shwi_p, at tree.c:7262
  2020-05-11 18:51 [Bug fortran/95067] New: [10/11 Regression] ICE in tree_fits_shwi_p, at tree.c:7262 gscfq@t-online.de
@ 2020-05-12  6:54 ` marxin at gcc dot gnu.org
  2020-05-12  7:03 ` rguenth at gcc dot gnu.org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-05-12  6:54 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2020-05-12
            Summary|[10/11 Regression] ICE in   |[9/10/11 Regression] ICE in
                   |tree_fits_shwi_p, at        |tree_fits_shwi_p, at
                   |tree.c:7262                 |tree.c:7262
             Status|UNCONFIRMED                 |NEW
                 CC|                            |hjl at gcc dot gnu.org,
                   |                            |marxin at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
With -fcoarray=lib -O2 -gstabs -feliminate-unused-debug-symbols it started
since r9-6530-gfb055f4b745b1b56

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

* [Bug fortran/95067] [9/10/11 Regression] ICE in tree_fits_shwi_p, at tree.c:7262
  2020-05-11 18:51 [Bug fortran/95067] New: [10/11 Regression] ICE in tree_fits_shwi_p, at tree.c:7262 gscfq@t-online.de
  2020-05-12  6:54 ` [Bug fortran/95067] [9/10/11 " marxin at gcc dot gnu.org
@ 2020-05-12  7:03 ` rguenth at gcc dot gnu.org
  2020-06-20 19:13 ` anlauf at gcc dot gnu.org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-05-12  7:03 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
That commit looks totally unrelated ... but it's eventually that

  /* If there was an input error and we don't really have a type,
     avoid crashing and write something that is at least valid
     by assuming `int'.  */
  if (type == error_mark_node)
    type = integer_type_node;

in dbxout_type makes us later use uninitialized low/high.  using
void_type_node might be less error-prone here.

Untested suggestion, that is.  Take it or leave it ;)  (stabs should go away)

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

* [Bug fortran/95067] [9/10/11 Regression] ICE in tree_fits_shwi_p, at tree.c:7262
  2020-05-11 18:51 [Bug fortran/95067] New: [10/11 Regression] ICE in tree_fits_shwi_p, at tree.c:7262 gscfq@t-online.de
  2020-05-12  6:54 ` [Bug fortran/95067] [9/10/11 " marxin at gcc dot gnu.org
  2020-05-12  7:03 ` rguenth at gcc dot gnu.org
@ 2020-06-20 19:13 ` anlauf at gcc dot gnu.org
  2021-06-01  8:17 ` [Bug fortran/95067] [9/10/11/12 " rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: anlauf at gcc dot gnu.org @ 2020-06-20 19:13 UTC (permalink / raw)
  To: gcc-bugs

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

anlauf at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P5
           Severity|normal                      |minor

--- Comment #3 from anlauf at gcc dot gnu.org ---
Appears to be fixed on GCC-11 master.

Given Richard's comment, anything left to do?

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

* [Bug fortran/95067] [9/10/11/12 Regression] ICE in tree_fits_shwi_p,  at tree.c:7262
  2020-05-11 18:51 [Bug fortran/95067] New: [10/11 Regression] ICE in tree_fits_shwi_p, at tree.c:7262 gscfq@t-online.de
                   ` (2 preceding siblings ...)
  2020-06-20 19:13 ` anlauf at gcc dot gnu.org
@ 2021-06-01  8:17 ` rguenth at gcc dot gnu.org
  2022-05-27  9:42 ` [Bug fortran/95067] [10/11/12/13 " rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-06-01  8:17 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #4 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] 8+ messages in thread

* [Bug fortran/95067] [10/11/12/13 Regression] ICE in tree_fits_shwi_p, at tree.c:7262
  2020-05-11 18:51 [Bug fortran/95067] New: [10/11 Regression] ICE in tree_fits_shwi_p, at tree.c:7262 gscfq@t-online.de
                   ` (3 preceding siblings ...)
  2021-06-01  8:17 ` [Bug fortran/95067] [9/10/11/12 " rguenth at gcc dot gnu.org
@ 2022-05-27  9:42 ` rguenth at gcc dot gnu.org
  2022-06-28 10:40 ` jakub at gcc dot gnu.org
  2022-12-01  1:46 ` pinskia at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-05-27  9:42 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

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

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

* [Bug fortran/95067] [10/11/12/13 Regression] ICE in tree_fits_shwi_p, at tree.c:7262
  2020-05-11 18:51 [Bug fortran/95067] New: [10/11 Regression] ICE in tree_fits_shwi_p, at tree.c:7262 gscfq@t-online.de
                   ` (4 preceding siblings ...)
  2022-05-27  9:42 ` [Bug fortran/95067] [10/11/12/13 " rguenth at gcc dot gnu.org
@ 2022-06-28 10:40 ` jakub at gcc dot gnu.org
  2022-12-01  1:46 ` pinskia at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2022-06-28 10:40 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #6 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] 8+ messages in thread

* [Bug fortran/95067] [10/11/12/13 Regression] ICE in tree_fits_shwi_p, at tree.c:7262
  2020-05-11 18:51 [Bug fortran/95067] New: [10/11 Regression] ICE in tree_fits_shwi_p, at tree.c:7262 gscfq@t-online.de
                   ` (5 preceding siblings ...)
  2022-06-28 10:40 ` jakub at gcc dot gnu.org
@ 2022-12-01  1:46 ` pinskia at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-12-01  1:46 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WONTFIX
   Target Milestone|10.5                        |13.0
             Status|NEW                         |RESOLVED

--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
stabs debugging was removed in r13-2361-g7e0db0cdf01e9c so closing as won't
fix.

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

end of thread, other threads:[~2022-12-01  1:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-11 18:51 [Bug fortran/95067] New: [10/11 Regression] ICE in tree_fits_shwi_p, at tree.c:7262 gscfq@t-online.de
2020-05-12  6:54 ` [Bug fortran/95067] [9/10/11 " marxin at gcc dot gnu.org
2020-05-12  7:03 ` rguenth at gcc dot gnu.org
2020-06-20 19:13 ` anlauf at gcc dot gnu.org
2021-06-01  8:17 ` [Bug fortran/95067] [9/10/11/12 " rguenth at gcc dot gnu.org
2022-05-27  9:42 ` [Bug fortran/95067] [10/11/12/13 " rguenth at gcc dot gnu.org
2022-06-28 10:40 ` jakub at gcc dot gnu.org
2022-12-01  1:46 ` pinskia 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).