public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "ian at airs dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug go/98504] [11 Regression] bootstrap broken in libgo on ia64-linux-gnu Date: Mon, 04 Jan 2021 21:16:19 +0000 [thread overview] Message-ID: <bug-98504-4-Rls1DjvR9W@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-98504-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98504 --- Comment #3 from Ian Lance Taylor <ian at airs dot com> --- Maybe I'm missing something obvious, but I don't see how this is possible. The code in the Go frontend is if (suffix.compare(2, 5, "thunk") == 0 && Gogo::is_digits(suffix.substr(7))) return pos; The crash is apparently occurring on the call to suffix.substr(7). Given that suffix.compare already worked, there should be no way that that code could crash. So to me this looks like a miscompilation of the Go frontend code, rather than a bug in the Go frontend.
next prev parent reply other threads:[~2021-01-04 21:16 UTC|newest] Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-01-03 12:08 [Bug go/98504] New: " doko at debian dot org 2021-01-03 12:10 ` [Bug go/98504] " doko at debian dot org 2021-01-03 12:17 ` schwab@linux-m68k.org 2021-01-04 21:16 ` ian at airs dot com [this message] 2021-01-05 11:17 ` rguenth at gcc dot gnu.org 2021-02-01 15:55 ` [Bug lto/98504] " doko at debian dot org 2021-04-09 8:02 ` rguenth at gcc dot gnu.org 2021-04-09 8:34 ` glaubitz at physik dot fu-berlin.de 2021-04-27 11:40 ` [Bug lto/98504] [11/12 " jakub at gcc dot gnu.org 2021-07-28 7:05 ` rguenth at gcc dot gnu.org 2022-01-17 15:05 ` rguenth at gcc dot gnu.org 2022-01-17 15:07 ` glaubitz at physik dot fu-berlin.de 2022-01-18 19:06 ` glaubitz at physik dot fu-berlin.de 2022-01-18 21:25 ` ian at airs dot com 2022-01-18 22:02 ` glaubitz at physik dot fu-berlin.de 2022-01-19 7:33 ` rguenth at gcc dot gnu.org 2022-04-21 7:48 ` rguenth at gcc dot gnu.org 2023-05-29 10:03 ` [Bug lto/98504] [11/12/13/14 " 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-98504-4-Rls1DjvR9W@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).