public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/103838] New: [11/12 Regression] '-fcompare-debug' failure (length) w/ -O2 --param max-early-inliner-iterations=0 --param max-inline-insns-auto=2
@ 2021-12-26 17:12 asolokha at gmx dot com
  2021-12-26 21:09 ` [Bug debug/103838] " pinskia at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: asolokha at gmx dot com @ 2021-12-26 17:12 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 103838
           Summary: [11/12 Regression] '-fcompare-debug' failure (length)
                    w/ -O2 --param max-early-inliner-iterations=0 --param
                    max-inline-insns-auto=2
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
  Target Milestone: ---
            Target: x86_64-unknown-linux-gnu

Created attachment 52063
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52063&action=edit
diff -u uarspwmr.*.gkd

gcc 12.0.0 20211219 snapshot (g:fcbf94a5be9e0c1ecad92da773a6632b86b7f70a) fails
-fcompare-debug check when compiling the following testcase w/ -O2 --param
max-early-inliner-iterations=0 --param max-inline-insns-auto=2:

__int128 m;
int n;

void
bar (void)
{
  n += !!m;
}

void
foo (void)
{
  int i;

  for (i = 0; i < 2; ++i)
    {
      bar ();
      m /= 3;
    }
}

% x86_64-unknown-linux-gnu-gcc-12.0.0 -O2 -fcompare-debug --param
max-early-inliner-iterations=0 --param max-inline-insns-auto=2 -c uarspwmr.c
x86_64-unknown-linux-gnu-gcc-12.0.0: error: uarspwmr.c: '-fcompare-debug'
failure (length)

Diff between two gkd files attached.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-01-24  9:30 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-26 17:12 [Bug debug/103838] New: [11/12 Regression] '-fcompare-debug' failure (length) w/ -O2 --param max-early-inliner-iterations=0 --param max-inline-insns-auto=2 asolokha at gmx dot com
2021-12-26 21:09 ` [Bug debug/103838] " pinskia at gcc dot gnu.org
2021-12-27  9:34 ` jakub at gcc dot gnu.org
2021-12-27 10:00 ` jakub at gcc dot gnu.org
2021-12-27 10:12 ` jakub at gcc dot gnu.org
2021-12-28 16:39 ` cvs-commit at gcc dot gnu.org
2021-12-28 16:42 ` [Bug debug/103838] [11 " jakub at gcc dot gnu.org
2022-01-24  9:20 ` cvs-commit at gcc dot gnu.org
2022-01-24  9:30 ` jakub at gcc dot gnu.org

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).