public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/114232] [14 regression] ICE when building rr-5.7.0 with LTO on x86 Date: Tue, 05 Mar 2024 08:59:53 +0000 [thread overview] Message-ID: <bug-114232-4-P3fuyGCtHU@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-114232-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114232 --- Comment #5 from Uroš Bizjak <ubizjak at gmail dot com> --- Huh, it looks that optimize_function_for_size_p (cfun) is not stable during LTO?! Using: --cut here-- diff --git a/gcc/config/i386/mmx.md b/gcc/config/i386/mmx.md index 2856ae6ffef..80114494b0b 100644 --- a/gcc/config/i386/mmx.md +++ b/gcc/config/i386/mmx.md @@ -2975,7 +2975,7 @@ (define_insn "<insn>v2qi3" (match_operand:V2QI 1 "register_operand" "<comm>0,0,Yw") (match_operand:V2QI 2 "register_operand" "Q,x,Yw"))) (clobber (reg:CC FLAGS_REG))] - "!TARGET_PARTIAL_REG_STALL || optimize_function_for_size_p (cfun)" + "!TARGET_PARTIAL_REG_STALL" "#" [(set_attr "isa" "*,sse2_noavx,avx") (set_attr "type" "multi,sseadd,sseadd") @@ -2987,7 +2987,7 @@ (define_split (match_operand:V2QI 1 "general_reg_operand") (match_operand:V2QI 2 "general_reg_operand"))) (clobber (reg:CC FLAGS_REG))] - "(!TARGET_PARTIAL_REG_STALL || optimize_function_for_size_p (cfun)) + "!TARGET_PARTIAL_REG_STALL && reload_completed" [(parallel [(set (strict_low_part (match_dup 0)) @@ -3021,7 +3021,7 @@ (define_split (match_operand:V2QI 1 "sse_reg_operand") (match_operand:V2QI 2 "sse_reg_operand"))) (clobber (reg:CC FLAGS_REG))] - "(!TARGET_PARTIAL_REG_STALL || optimize_function_for_size_p (cfun)) + "!TARGET_PARTIAL_REG_STALL && TARGET_SSE2 && reload_completed" [(set (match_dup 0) (plusminus:V16QI (match_dup 1) (match_dup 2)))] --cut here-- So, removing optimize-size bypass successfully compiles the testcase.
next prev parent reply other threads:[~2024-03-05 8:59 UTC|newest] Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top 2024-03-05 7:04 [Bug target/114232] New: " sjames at gcc dot gnu.org 2024-03-05 7:05 ` [Bug target/114232] " sjames at gcc dot gnu.org 2024-03-05 7:05 ` sjames at gcc dot gnu.org 2024-03-05 7:05 ` sjames at gcc dot gnu.org 2024-03-05 8:24 ` ubizjak at gmail dot com 2024-03-05 8:59 ` ubizjak at gmail dot com [this message] 2024-03-05 9:10 ` rguenth at gcc dot gnu.org 2024-03-05 9:12 ` rguenth at gcc dot gnu.org 2024-03-05 9:14 ` rguenth at gcc dot gnu.org 2024-03-05 9:53 ` ubizjak at gmail dot com 2024-03-05 10:30 ` ubizjak at gmail dot com 2024-03-05 10:36 ` rguenth at gcc dot gnu.org 2024-03-05 10:38 ` jakub at gcc dot gnu.org 2024-03-05 10:48 ` ubizjak at gmail dot com 2024-03-05 10:52 ` rguenther at suse dot de 2024-03-05 11:58 ` jakub at gcc dot gnu.org 2024-03-05 12:09 ` ubizjak at gmail dot com 2024-03-05 12:57 ` Jan Hubicka 2024-03-05 12:21 ` jakub at gcc dot gnu.org 2024-03-05 12:30 ` hubicka at ucw dot cz 2024-03-05 12:49 ` ubizjak at gmail dot com 2024-03-05 12:53 ` jakub at gcc dot gnu.org 2024-03-05 12:57 ` hubicka at ucw dot cz 2024-03-05 13:06 ` rguenther at suse dot de 2024-03-05 13:08 ` ubizjak at gmail dot com 2024-03-05 13:11 ` jakub at gcc dot gnu.org 2024-03-05 13:43 ` ubizjak at gmail dot com 2024-03-05 14:13 ` hubicka at ucw dot cz 2024-03-06 8:47 ` ubizjak at gmail dot com 2024-03-06 19:54 ` cvs-commit at gcc dot gnu.org 2024-03-06 20:10 ` ubizjak at gmail dot com
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-114232-4-P3fuyGCtHU@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).