public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/105464] New: '-fcompare-debug' failure (length) w/ -Og -fharden-compares -fno-tree-dce
@ 2022-05-03 10:12 asolokha at gmx dot com
  2022-05-03 10:31 ` [Bug debug/105464] " marxin at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: asolokha at gmx dot com @ 2022-05-03 10:12 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 105464
           Summary: '-fcompare-debug' failure (length) w/ -Og
                    -fharden-compares -fno-tree-dce
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Keywords: compare-debug-failure
          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 52920
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52920&action=edit
gkd diff

gcc 13.0.0 20220501 snapshot (g:75bbc3da3e5f75f683fa33e309045c582efd20eb) fails
-fcompare-debug check when compiling
gcc/testsuite/gcc.c-torture/compile/pr46547-1.c w/ -Og -fharden-compares
-fno-tree-dce:

% x86_64-unknown-linux-gnu-gcc-13.0.0 -Og -fcompare-debug -fharden-compares
-fno-tree-dce -c sqnqheby.c
x86_64-unknown-linux-gnu-gcc-13.0.0: error: sqnqheby.c: '-fcompare-debug'
failure (length)

gkd diff attached.

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

* [Bug debug/105464] '-fcompare-debug' failure (length) w/ -Og -fharden-compares -fno-tree-dce
  2022-05-03 10:12 [Bug debug/105464] New: '-fcompare-debug' failure (length) w/ -Og -fharden-compares -fno-tree-dce asolokha at gmx dot com
@ 2022-05-03 10:31 ` marxin at gcc dot gnu.org
  2022-10-31 16:06 ` [Bug target/105464] " pinskia at gcc dot gnu.org
  2022-12-14 13:03 ` asolokha at gmx dot com
  2 siblings, 0 replies; 4+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-05-03 10:31 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aoliva at gcc dot gnu.org,
                   |                            |marxin at gcc dot gnu.org
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2022-05-03
     Ever confirmed|0                           |1

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

* [Bug target/105464] '-fcompare-debug' failure (length) w/ -Og -fharden-compares -fno-tree-dce
  2022-05-03 10:12 [Bug debug/105464] New: '-fcompare-debug' failure (length) w/ -Og -fharden-compares -fno-tree-dce asolokha at gmx dot com
  2022-05-03 10:31 ` [Bug debug/105464] " marxin at gcc dot gnu.org
@ 2022-10-31 16:06 ` pinskia at gcc dot gnu.org
  2022-12-14 13:03 ` asolokha at gmx dot com
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-10-31 16:06 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This is very similar to PR 107183. It looks like reg-stack is causing the
difference too.

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

* [Bug target/105464] '-fcompare-debug' failure (length) w/ -Og -fharden-compares -fno-tree-dce
  2022-05-03 10:12 [Bug debug/105464] New: '-fcompare-debug' failure (length) w/ -Og -fharden-compares -fno-tree-dce asolokha at gmx dot com
  2022-05-03 10:31 ` [Bug debug/105464] " marxin at gcc dot gnu.org
  2022-10-31 16:06 ` [Bug target/105464] " pinskia at gcc dot gnu.org
@ 2022-12-14 13:03 ` asolokha at gmx dot com
  2 siblings, 0 replies; 4+ messages in thread
From: asolokha at gmx dot com @ 2022-12-14 13:03 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Arseny Solokha <asolokha at gmx dot com> ---
Indeed I cannot reproduce it w/ the current gcc 13.0.0 20221211 snapshot.

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

end of thread, other threads:[~2022-12-14 13:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-03 10:12 [Bug debug/105464] New: '-fcompare-debug' failure (length) w/ -Og -fharden-compares -fno-tree-dce asolokha at gmx dot com
2022-05-03 10:31 ` [Bug debug/105464] " marxin at gcc dot gnu.org
2022-10-31 16:06 ` [Bug target/105464] " pinskia at gcc dot gnu.org
2022-12-14 13:03 ` asolokha at gmx dot com

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