public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/67615] ICE on using arithmetic if with array instead of scalar Date: Thu, 17 Sep 2015 22:59:00 -0000 [thread overview] Message-ID: <bug-67615-4-ljcCqKov8O@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-67615-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67615 Dominique d'Humieres <dominiq at lps dot ens.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-09-17 Ever confirmed|0 |1 --- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- Confirmed from 4.8 up to trunk (6.0). Backtrace * thread #1: tid = 0x97e3343, 0x00000001000dc6ee f951`::gfc_conv_scalarized_array_ref(se=0x00007fff5fbfef40, ar=0x0000000144b01728) + 30 at trans-array.c:3129, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0) frame #0: 0x00000001000dc6ee f951`::gfc_conv_scalarized_array_ref(se=0x00007fff5fbfef40, ar=0x0000000144b01728) + 30 at trans-array.c:3129 3126 int n; 3127 3128 ss = se->ss; -> 3129 expr = ss->info->expr; 3130 info = &ss->info->data.array; 3131 if (ar) 3132 n = se->loop->order[0]; (lldb) bt * thread #1: tid = 0x97e3343, 0x00000001000dc6ee f951`::gfc_conv_scalarized_array_ref(se=0x00007fff5fbfef40, ar=0x0000000144b01728) + 30 at trans-array.c:3129, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0) * frame #0: 0x00000001000dc6ee f951`::gfc_conv_scalarized_array_ref(se=0x00007fff5fbfef40, ar=0x0000000144b01728) + 30 at trans-array.c:3129 frame #1: 0x00000001000dd26a f951`gfc_conv_array_ref(se=0x00007fff5fbfef40, ar=0x0000000144b01728, expr=<unavailable>, where=0x0000000144b016b0) + 154 at trans-array.c:3281 frame #2: 0x0000000100109f5e f951`::gfc_conv_variable(se=0x00007fff5fbfef40, expr=0x0000000144b01660) + 414 at trans-expr.c:2567 frame #3: 0x0000000100108594 f951`gfc_conv_expr_val(se=0x00007fff5fbfef40, expr=<unavailable>) + 20 at trans-expr.c:7535 frame #4: 0x000000010013b6a4 f951`gfc_trans_arithmetic_if(code=0x0000000144b019a0) + 52 at trans-stmt.c:1183 frame #5: 0x00000001000d4c48 f951`::trans_code(code=0x0000000144b019a0, cond=0x0000000000000000) + 1176 at trans.c:1744 frame #6: 0x00000001000fa015 f951`gfc_generate_function_code(ns=<unavailable>) + 1061 at trans-decl.c:5900 frame #7: 0x000000010008bedc f951`gfc_parse_file() + 1628 at parse.c:5526 frame #8: 0x00000001000d1ad6 f951`::gfc_be_parse_file() + 54 at f95-lang.c:209 frame #9: 0x000000010091d67a f951`::compile_file() + 58 at toplev.c:545 frame #10: 0x0000000100cf817c f951`toplev::main(int, char**) + 1151 at toplev.c:2035 frame #11: 0x0000000100cf7cfd f951`toplev::main(this=<unavailable>, argc=2, argv=0x00007fff5fbff350) + 717 frame #12: 0x0000000100cf9be9 f951`main(argc=2, argv=0x00007fff5fbff350) + 41 at main.c:39
next prev parent reply other threads:[~2015-09-17 22:59 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-09-17 18:06 [Bug fortran/67615] New: " gerhard.steinmetz.fortran@t-online.de 2015-09-17 18:07 ` [Bug fortran/67615] " gerhard.steinmetz.fortran@t-online.de 2015-09-17 22:59 ` dominiq at lps dot ens.fr [this message] 2015-09-18 19:40 ` kargl at gcc dot gnu.org 2015-09-21 18:09 ` kargl at gcc dot gnu.org 2015-09-21 18:25 ` kargl at gcc dot gnu.org 2015-09-21 18:27 ` kargl at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-67615-4-ljcCqKov8O@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).