public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/97896] New: [11 Regression] ICE in gfc_trans_assignment_1, at fortran/trans-expr.c:11156
@ 2020-11-18 16:37 gscfq@t-online.de
  2020-11-18 17:57 ` [Bug fortran/97896] " dominiq at lps dot ens.fr
                   ` (17 more replies)
  0 siblings, 18 replies; 19+ messages in thread
From: gscfq@t-online.de @ 2020-11-18 16:37 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 97896
           Summary: [11 Regression] ICE in gfc_trans_assignment_1, at
                    fortran/trans-expr.c:11156
           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: ---

Follow-up of pr91651, changed between 20201004 and 20201018 :


$ cat z1.f90
program p
   logical :: a(2)
   integer :: b(2)
   b = index('xyxy', 'yx', a, 4)
   print *, b
end


$ gfortran-11-20201004 -c z1.f90
$
$ gfortran-11-20201115 -c z1.f90
z1.f90:4:32:

    4 |    b = index('xyxy', 'yx', a, 4)
      |                                1
internal compiler error: in gfc_trans_assignment_1, at
fortran/trans-expr.c:11156
0x764094 gfc_trans_assignment_1
        ../../gcc/fortran/trans-expr.c:11155
0x725aa7 trans_code
        ../../gcc/fortran/trans.c:1888
0x74bbe4 gfc_generate_function_code(gfc_namespace*)
        ../../gcc/fortran/trans-decl.c:6878
0x6d2e86 translate_all_program_units
        ../../gcc/fortran/parse.c:6347
0x6d2e86 gfc_parse_file()
        ../../gcc/fortran/parse.c:6616
0x71ee2f gfc_be_parse_file
        ../../gcc/fortran/f95-lang.c:212

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

end of thread, other threads:[~2022-01-16 21:20 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-18 16:37 [Bug fortran/97896] New: [11 Regression] ICE in gfc_trans_assignment_1, at fortran/trans-expr.c:11156 gscfq@t-online.de
2020-11-18 17:57 ` [Bug fortran/97896] " dominiq at lps dot ens.fr
2020-11-18 21:48 ` anlauf at gcc dot gnu.org
2020-11-19  7:34 ` rguenth at gcc dot gnu.org
2020-11-19 20:28 ` anlauf at gcc dot gnu.org
2020-11-20 14:55 ` mikael at gcc dot gnu.org
2020-11-20 20:48 ` anlauf at gcc dot gnu.org
2020-11-21 18:00 ` mikael at gcc dot gnu.org
2020-11-21 18:02 ` mikael at gcc dot gnu.org
2020-11-21 18:06 ` mikael at gcc dot gnu.org
2021-04-27 11:39 ` [Bug fortran/97896] [11/12 " jakub at gcc dot gnu.org
2021-07-28  7:05 ` rguenth at gcc dot gnu.org
2021-08-07 18:38 ` mikael at gcc dot gnu.org
2021-11-12 12:11 ` cvs-commit at gcc dot gnu.org
2021-11-16 20:36 ` cvs-commit at gcc dot gnu.org
2021-11-17 10:45 ` mikael at gcc dot gnu.org
2022-01-16 18:16 ` cvs-commit at gcc dot gnu.org
2022-01-16 21:20 ` cvs-commit at gcc dot gnu.org
2022-01-16 21:20 ` 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).