https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115673

--- Comment #22 from Uroš Bizjak <ubizjak at gmail dot com> ---
Comment on attachment 60337
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60337
A patch with tests

>From 1503e1e1df7a402d4be560fdc446dd6c39127e9c Mon Sep 17 00:00:00 2001
>From: "H.J. Lu" <hjl.to...@gmail.com>
>Date: Fri, 31 Jan 2025 12:29:04 +0800
>Subject: [PATCH] Fix -mforce-indirect-call with tests
>
>Co-Authored-By: Uros Bizjak <ubiz...@gmail.com>
>Signed-off-by: H.J. Lu <hjl.to...@gmail.com>

>   "!TARGET_X32
>+   && !flag_force_indirect_call

Just put these two lines together here and elsewhere for some visual
consistency.

>-  "!TARGET_64BIT && SIBLING_CALL_P (peep2_next_insn (1))
>+  "!TARGET_64BIT
>+   && !flag_force_indirect_call

Also here.

Reply via email to