public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/106189] [10/11/12/13 Regression] ICE: Floating point exception since r9-1948-gd893b683f40884cd Date: Tue, 26 Jul 2022 06:37:08 +0000 [thread overview] Message-ID: <bug-106189-4-FTXOMxxAkT@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-106189-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106189 --- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Biener <rguenth@gcc.gnu.org>: https://gcc.gnu.org/g:bb04f9f23ac0dee2c003118c85372ece50a52220 commit r13-1835-gbb04f9f23ac0dee2c003118c85372ece50a52220 Author: Richard Biener <rguenther@suse.de> Date: Mon Jul 25 17:24:57 2022 +0200 tree-optimization/106189 - avoid division by zero exception The diagnostic code can end up with zero sized array elements with T[][0] and the wide-int code nicely avoids exceptions when dividing by zero in one codepath but not in another. The following fixes the exception by using wide-int in both paths. PR tree-optimization/106189 * gimple-array-bounds.cc (array_bounds_checker::check_mem_ref): Divide using offset_ints. * gcc.dg/pr106189.c: New testcase.
next prev parent reply other threads:[~2022-07-26 6:37 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-07-04 19:39 [Bug c/106189] New: [10/11/12/13 Regression] ICE: Floating point exception gscfq@t-online.de 2022-07-04 20:14 ` [Bug tree-optimization/106189] " pinskia at gcc dot gnu.org 2022-07-07 12:37 ` [Bug tree-optimization/106189] [10/11/12/13 Regression] ICE: Floating point exception since r9-1948-gd893b683f40884cd marxin at gcc dot gnu.org 2022-07-07 12:40 ` marxin at gcc dot gnu.org 2022-07-25 15:23 ` rguenth at gcc dot gnu.org 2022-07-26 6:37 ` cvs-commit at gcc dot gnu.org [this message] 2022-07-27 9:24 ` [Bug tree-optimization/106189] [10/11/12 " cvs-commit at gcc dot gnu.org 2022-10-17 13:28 ` [Bug tree-optimization/106189] [10/11 " cvs-commit at gcc dot gnu.org 2023-07-07 10:02 ` [Bug tree-optimization/106189] [10 " rguenth 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-106189-4-FTXOMxxAkT@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).