public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "zsojka at seznam dot cz" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/103742] New: [12 Regression] '-fcompare-debug' failure (length) with -O2 -fnon-call-exceptions --param=early-inlining-insns=82
Date: Thu, 16 Dec 2021 05:44:30 +0000	[thread overview]
Message-ID: <bug-103742-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 103742
           Summary: [12 Regression] '-fcompare-debug' failure (length)
                    with -O2 -fnon-call-exceptions
                    --param=early-inlining-insns=82
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zsojka at seznam dot cz
                CC: aoliva at gcc dot gnu.org
  Target Milestone: ---

Created attachment 52011
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52011&action=edit
auto-reduced testcase

Compiler output:
$ x86_64-pc-linux-gnu-gcc -O2 -fnon-call-exceptions
--param=early-inlining-insns=82 -fcompare-debug testcase.C
x86_64-pc-linux-gnu-gcc: error: testcase.C: '-fcompare-debug' failure

$ diff -u *gkd
--- a-testcase.C.gkd    2021-12-16 06:38:14.832032631 +0100
+++ a-testcase.gk.C.gkd 2021-12-16 06:38:14.912032192 +0100
@@ -279,7 +279,7 @@
      (expr_list:REG_EQUAL (plus:DI (reg/f:DI 19 frame)
             (const_int -16 [0xfffffffffffffff0]))
         (nil)))
-(code_label # 0 0 4 18 (nil) [1 uses])
+(code_label # 0 0 4 19 (nil) [1 uses])
 (note # 0 0 [bb 4] NOTE_INSN_BASIC_BLOCK)
 (insn:TI # 0 0 4 (set (reg:DI 1 dx [orig:87 _9 ] [87])
         (mem:DI (reg/f:DI 0 ax [orig:86 iftmp.4_8 ] [86]) [
*iftmp.4_8.m_value+0 S8 A64])) "testcase.C":5:61# {*movdi_internal}
@@ -340,6 +340,6 @@
 (jump_insn # 0 0 5 (set (pc)
         (label_ref #))# {jump}
      (nil)
- -> 18)
+ -> 19)
 (barrier # 0 0)
 (note # 0 0 NOTE_INSN_DELETED)

$ x86_64-pc-linux-gnu-gcc -v
Using built-in specs.
COLLECT_GCC=/repo/gcc-trunk/binary-latest/bin/x86_64-pc-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/repo/gcc-trunk/binary-trunk-r12-6011-20211215204558-gab18659afc0-checking-yes-rtl-df-extra-nobootstrap-amd64/bin/../libexec/gcc/x86_64-pc-linux-gnu/12.0.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /repo/gcc-trunk//configure --enable-languages=c,c++
--enable-valgrind-annotations --disable-nls --enable-checking=yes,rtl,df,extra
--disable-bootstrap --with-cloog --with-ppl --with-isl
--build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu
--target=x86_64-pc-linux-gnu --with-ld=/usr/bin/x86_64-pc-linux-gnu-ld
--with-as=/usr/bin/x86_64-pc-linux-gnu-as --disable-libstdcxx-pch
--prefix=/repo/gcc-trunk//binary-trunk-r12-6011-20211215204558-gab18659afc0-checking-yes-rtl-df-extra-nobootstrap-amd64
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 12.0.0 20211216 (experimental) (GCC)

             reply	other threads:[~2021-12-16  5:44 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-16  5:44 zsojka at seznam dot cz [this message]
2021-12-16  6:52 ` [Bug debug/103742] " pinskia at gcc dot gnu.org
2021-12-16 10:04 ` [Bug debug/103742] [12 Regression] '-fcompare-debug' failure (length) with -O2 -fnon-call-exceptions --param=early-inlining-insns=82 since r12-5301-g045206450386bcd7 marxin at gcc dot gnu.org
2021-12-28 15:03 ` jakub at gcc dot gnu.org
2021-12-28 16:37 ` jakub at gcc dot gnu.org
2021-12-28 17:22 ` zsojka at seznam dot cz
2021-12-29 20:47 ` cvs-commit at gcc dot gnu.org
2021-12-29 20:56 ` 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-103742-4@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: link
Be 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).