public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/99204] ICE in fold_read_from_constant_string, at fold-const.c:15441 Date: Mon, 22 Feb 2021 16:57:13 +0000 [thread overview] Message-ID: <bug-99204-4-rYryyxq6dG@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-99204-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99204 G. Steinmetz <gscfq@t-online.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-invalid-code --- Comment #1 from G. Steinmetz <gscfq@t-online.de> --- Some cases with small numbers : $ cat zz1.f90 program p character :: c = 'c' integer :: i = -1 c = 'abc'(i:i) print *, c end $ cat zz2.f90 program p character :: c = 'c' integer :: i = -123 c = 'abc'(i:i) print *, c end $ gfortran-11-20210221 zz1.f90 -O2 && ./a.out $ gfortran-11-20210221 zz2.f90 -O2 && ./a.out c --- The value at which the switchover from no-ICE to ICE occurs depends on used options, and changes with gfortran versions and environment, e.g. $ cat za.f90 # no-ICE program p character :: c integer :: i = -1800000 c = 'abc'(i:i) print *, c end $ cat zb.f90 # ICE program p character :: c integer :: i = -1900000 c = 'abc'(i:i) print *, c end
next prev parent reply other threads:[~2021-02-22 16:57 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-02-22 16:56 [Bug fortran/99204] New: " gscfq@t-online.de 2021-02-22 16:57 ` gscfq@t-online.de [this message] 2021-02-22 17:02 ` [Bug fortran/99204] " dominiq at lps dot ens.fr 2021-02-22 17:19 ` gscfq@t-online.de 2021-02-22 17:46 ` anlauf at gcc dot gnu.org 2021-02-22 18:50 ` [Bug tree-optimization/99204] [8/9/10/11 Regression] " jakub at gcc dot gnu.org 2021-02-22 18:58 ` jakub at gcc dot gnu.org 2021-02-23 8:51 ` cvs-commit at gcc dot gnu.org 2021-02-23 9:12 ` [Bug tree-optimization/99204] [8/9/10 " jakub at gcc dot gnu.org 2021-03-19 23:29 ` cvs-commit at gcc dot gnu.org 2021-03-20 8:08 ` [Bug tree-optimization/99204] [8/9 " jakub at gcc dot gnu.org 2021-04-20 23:32 ` cvs-commit at gcc dot gnu.org 2021-04-22 16:51 ` cvs-commit at gcc dot gnu.org 2021-04-22 17:11 ` jakub 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-99204-4-rYryyxq6dG@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).