public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/113481] avr: internal compiler error in decompose, at rtl.h:2298 Date: Thu, 18 Jan 2024 22:30:30 +0000 [thread overview] Message-ID: <bug-113481-4-YdGbsZ3362@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-113481-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113481 --- Comment #9 from Andrew Pinski <pinskia at gcc dot gnu.org> --- This fixes the ICE but I am not 100% sure it is correct: ``` diff --git a/gcc/dwarf2asm.cc b/gcc/dwarf2asm.cc index 6c835bafbc4..7bd9c5f8bcc 100644 --- a/gcc/dwarf2asm.cc +++ b/gcc/dwarf2asm.cc @@ -146,11 +146,11 @@ dw2_asm_output_data (int size, unsigned HOST_WIDE_INT value, va_start (ap, comment); - if (size * 8 < HOST_BITS_PER_WIDE_INT) - value &= ~(HOST_WIDE_INT_M1U << (size * 8)); - if (op) { + if (size * 8 < HOST_BITS_PER_WIDE_INT) + value &= ~(HOST_WIDE_INT_M1U << (size * 8)); + fputs (op, asm_out_file); fprint_whex (asm_out_file, value); } ```
next prev parent reply other threads:[~2024-01-18 22:30 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2024-01-18 13:52 [Bug debug/113481] New: " gjl at gcc dot gnu.org 2024-01-18 13:54 ` [Bug debug/113481] [14 Regession] " gjl at gcc dot gnu.org 2024-01-18 13:58 ` gjl at gcc dot gnu.org 2024-01-18 14:22 ` rguenth at gcc dot gnu.org 2024-01-18 18:03 ` [Bug debug/113481] " pinskia at gcc dot gnu.org 2024-01-18 18:32 ` gjl at gcc dot gnu.org 2024-01-18 19:08 ` gjl at gcc dot gnu.org 2024-01-18 20:57 ` gjl at gcc dot gnu.org 2024-01-18 22:22 ` [Bug middle-end/113481] " pinskia at gcc dot gnu.org 2024-01-18 22:23 ` [Bug debug/113481] " pinskia at gcc dot gnu.org 2024-01-18 22:30 ` pinskia at gcc dot gnu.org [this message] 2024-01-18 22:33 ` pinskia 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-113481-4-YdGbsZ3362@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).