public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/107000] New: ICE in gfc_real2complex, at fortran/arith.cc:2243
@ 2022-09-21 17:33 gscfq@t-online.de
  2022-09-21 17:34 ` [Bug fortran/107000] " gscfq@t-online.de
                   ` (24 more replies)
  0 siblings, 25 replies; 26+ messages in thread
From: gscfq@t-online.de @ 2022-09-21 17:33 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 107000
           Summary: ICE in gfc_real2complex, at fortran/arith.cc:2243
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Affects versions down to at least r5 :


$ cat z1.f90
program p
   complex :: x(1)
   x = (1.0, 2.0) * [real :: +'1']
   x = (1.0, 2.0) * [real :: -'1']
end


$ cat z2.f90
program p
   complex :: x
   x = (1.0, 2.0) * [real :: +'1']
   x = (1.0, 2.0) * [real :: -'1']
end


$ gfortran-13-20220918 -c z1.f90
f951: internal compiler error: Segmentation fault
0xf3a72f crash_signal
        ../../gcc/toplev.cc:314
0x7be3a1 gfc_real2complex(gfc_expr*, int)
        ../../gcc/fortran/arith.cc:2243
0x890cb2 gfc_convert_constant(gfc_expr*, bt, int)
        ../../gcc/fortran/simplify.cc:8754
0x808edb do_simplify
        ../../gcc/fortran/intrinsic.cc:4658
0x814a51 gfc_convert_type_warn(gfc_expr*, gfc_typespec*, int, int, bool)
        ../../gcc/fortran/intrinsic.cc:5384
0x7bb887 eval_intrinsic
        ../../gcc/fortran/arith.cc:1591
0x82e2bc match_add_operand
        ../../gcc/fortran/matchexp.cc:392
0x82e46c match_level_2
        ../../gcc/fortran/matchexp.cc:480
0x82e5c2 match_level_3
        ../../gcc/fortran/matchexp.cc:551
0x82e6b4 match_level_4
        ../../gcc/fortran/matchexp.cc:599
0x82e6b4 match_and_operand
        ../../gcc/fortran/matchexp.cc:693
0x82e8a2 match_or_operand
        ../../gcc/fortran/matchexp.cc:722
0x82e972 match_equiv_operand
        ../../gcc/fortran/matchexp.cc:765
0x82ea44 match_level_5
        ../../gcc/fortran/matchexp.cc:811
0x82de11 gfc_match_expr(gfc_expr**)
        ../../gcc/fortran/matchexp.cc:870
0x825450 gfc_match(char const*, ...)
        ../../gcc/fortran/match.cc:1131
0x8271e9 gfc_match_assignment()
        ../../gcc/fortran/match.cc:1330
0x851950 match_word
        ../../gcc/fortran/parse.cc:67
0x851950 decode_statement
        ../../gcc/fortran/parse.cc:363
0x85344a next_free
        ../../gcc/fortran/parse.cc:1399

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

end of thread, other threads:[~2023-05-02 19:11 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-21 17:33 [Bug fortran/107000] New: ICE in gfc_real2complex, at fortran/arith.cc:2243 gscfq@t-online.de
2022-09-21 17:34 ` [Bug fortran/107000] " gscfq@t-online.de
2022-09-21 18:58 ` anlauf at gcc dot gnu.org
2022-09-21 19:44 ` anlauf at gcc dot gnu.org
2022-09-24 16:30 ` kargl at gcc dot gnu.org
2022-09-26 20:38 ` anlauf at gcc dot gnu.org
2022-09-26 21:37 ` sgk at troutmask dot apl.washington.edu
2022-09-27 19:32 ` anlauf at gcc dot gnu.org
2022-09-28 18:22 ` kargl at gcc dot gnu.org
2022-09-28 18:55 ` kargl at gcc dot gnu.org
2022-09-29 19:57 ` anlauf at gcc dot gnu.org
2022-09-29 20:10 ` sgk at troutmask dot apl.washington.edu
2022-09-29 21:13 ` sgk at troutmask dot apl.washington.edu
2022-09-30 12:45 ` mikael at gcc dot gnu.org
2022-09-30 19:46 ` anlauf at gcc dot gnu.org
2022-09-30 20:26 ` sgk at troutmask dot apl.washington.edu
2022-10-02 20:05 ` anlauf at gcc dot gnu.org
2022-10-02 20:58 ` anlauf at gcc dot gnu.org
2022-10-03 10:05 ` mikael at gcc dot gnu.org
2022-10-03 10:14 ` mikael at gcc dot gnu.org
2022-10-03 19:36 ` anlauf at gcc dot gnu.org
2022-10-04 21:20 ` anlauf at gcc dot gnu.org
2022-10-05 16:10 ` sgk at troutmask dot apl.washington.edu
2022-10-05 21:20 ` anlauf at gcc dot gnu.org
2022-10-08 20:27 ` cvs-commit at gcc dot gnu.org
2023-05-02 19:11 ` anlauf 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).