public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/96261] New: -fcompare-debug failure (length) with -Os -fno-gcse-lm -fnon-call-exceptions
@ 2020-07-21 10:40 zsojka at seznam dot cz
  2020-07-23 10:45 ` [Bug debug/96261] " marxin at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: zsojka at seznam dot cz @ 2020-07-21 10:40 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 96261
           Summary: -fcompare-debug failure (length) with -Os -fno-gcse-lm
                    -fnon-call-exceptions
           Product: gcc
           Version: 11.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: ---
              Host: x86_64-pc-linux-gnu

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

Compiler output:
$ x86_64-pc-linux-gnu-gcc -Os -fno-gcse-lm -fnon-call-exceptions
-fcompare-debug testcase.C
x86_64-pc-linux-gnu-gcc: error: testcase.C: '-fcompare-debug' failure (length)

$ 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-r11-2246-20200721142816-gc850a642e1d-checking-yes-rtl-df-extra-nobootstrap-amd64/bin/../libexec/gcc/x86_64-pc-linux-gnu/11.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-r11-2246-20200721142816-gc850a642e1d-checking-yes-rtl-df-extra-nobootstrap-amd64
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 11.0.0 20200721 (experimental) (GCC)

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

* [Bug debug/96261] -fcompare-debug failure (length) with -Os -fno-gcse-lm -fnon-call-exceptions
  2020-07-21 10:40 [Bug debug/96261] New: -fcompare-debug failure (length) with -Os -fno-gcse-lm -fnon-call-exceptions zsojka at seznam dot cz
@ 2020-07-23 10:45 ` marxin at gcc dot gnu.org
  2020-07-23 10:45 ` marxin at gcc dot gnu.org
  2021-09-20  6:43 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-07-23 10:45 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2020-07-23
     Ever confirmed|0                           |1
                 CC|                            |jason at gcc dot gnu.org,
                   |                            |marxin at gcc dot gnu.org
             Status|UNCONFIRMED                 |NEW

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Started with r5-5019-g27d93d2c8a36cea4.

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

* [Bug debug/96261] -fcompare-debug failure (length) with -Os -fno-gcse-lm -fnon-call-exceptions
  2020-07-21 10:40 [Bug debug/96261] New: -fcompare-debug failure (length) with -Os -fno-gcse-lm -fnon-call-exceptions zsojka at seznam dot cz
  2020-07-23 10:45 ` [Bug debug/96261] " marxin at gcc dot gnu.org
@ 2020-07-23 10:45 ` marxin at gcc dot gnu.org
  2021-09-20  6:43 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-07-23 10:45 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
(with -std=c++14).

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

* [Bug debug/96261] -fcompare-debug failure (length) with -Os -fno-gcse-lm -fnon-call-exceptions
  2020-07-21 10:40 [Bug debug/96261] New: -fcompare-debug failure (length) with -Os -fno-gcse-lm -fnon-call-exceptions zsojka at seznam dot cz
  2020-07-23 10:45 ` [Bug debug/96261] " marxin at gcc dot gnu.org
  2020-07-23 10:45 ` marxin at gcc dot gnu.org
@ 2021-09-20  6:43 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-09-20  6:43 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
   Target Milestone|---                         |11.0
             Status|NEW                         |RESOLVED

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I suspect r11-7750-g9f59cb7c (+ r10-7393-g5a1706f63) fixed this.  It is very
similar to PR 99230 in the patch which caused the regression (using FOR_STMT in
the C front-end rather than just the C++ front-end).

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

end of thread, other threads:[~2021-09-20  6:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-21 10:40 [Bug debug/96261] New: -fcompare-debug failure (length) with -Os -fno-gcse-lm -fnon-call-exceptions zsojka at seznam dot cz
2020-07-23 10:45 ` [Bug debug/96261] " marxin at gcc dot gnu.org
2020-07-23 10:45 ` marxin at gcc dot gnu.org
2021-09-20  6:43 ` pinskia 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).