public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/106955] New: [13 Regression] '-fcompare-debug' failure w/ -std=c++20 -O1 -ftree-parallelize-loops=2 -fno-ipa-sra --param ggc-min-expand=55
@ 2022-09-16 10:31 asolokha at gmx dot com
  2022-09-17  4:50 ` [Bug debug/106955] " rguenth at gcc dot gnu.org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: asolokha at gmx dot com @ 2022-09-16 10:31 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 106955
           Summary: [13 Regression] '-fcompare-debug' failure w/
                    -std=c++20 -O1 -ftree-parallelize-loops=2 -fno-ipa-sra
                    --param ggc-min-expand=55
           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: ---

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

g++ 13.0.0 20220911 snapshot (g:0ea5e3f4542832b8da016b152695e64a2a386309) fails
-fcompare-debug check when compiling the following testcase, reduced from
test/std/containers/sequences/forwardlist/forwardlist.ops/sort.pass.cpp from
the libc++ 14.0.6 test suite, w/ -std=c++20 -O1 -ftree-parallelize-loops=2
-fno-ipa-sra --param ggc-min-expand=55:

#include <forward_list>
#include <iterator>
#include <algorithm>
#include <vector>

void
test_stable ()
{
  std::vector<int> v;

  for (int i = 0; i < 1000; ++i)
    v.push_back (i);

  for (int i = 0; i < 1000; ++i)
    v[i] = i;
}

% g++-13.0.0 -std=c++20 -O1 -fcompare-debug -ftree-parallelize-loops=2
-fno-ipa-sra --param ggc-min-expand=55 -c dfptqjrz.cpp
g++-13.0.0: error: dfptqjrz.cpp: '-fcompare-debug' failure

gkd diff attached.

Preprocessed testcase is still being reduced, currently at
06:43:08 INFO (66.7%, 468334 bytes, 7781 lines)
I'll post it here once the reducer yields something meaningful under several
kilobytes in size.

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

end of thread, other threads:[~2024-05-21  9:12 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-16 10:31 [Bug debug/106955] New: [13 Regression] '-fcompare-debug' failure w/ -std=c++20 -O1 -ftree-parallelize-loops=2 -fno-ipa-sra --param ggc-min-expand=55 asolokha at gmx dot com
2022-09-17  4:50 ` [Bug debug/106955] " rguenth at gcc dot gnu.org
2022-09-19  6:26 ` asolokha at gmx dot com
2022-09-20  8:35 ` marxin at gcc dot gnu.org
2022-09-20  8:36 ` marxin at gcc dot gnu.org
2022-09-20  8:53 ` asolokha at gmx dot com
2022-09-20  9:07 ` marxin at gcc dot gnu.org
2022-09-20 10:26 ` redi at gcc dot gnu.org
2022-09-20 10:30 ` redi at gcc dot gnu.org
2022-09-21  4:37 ` asolokha at gmx dot com
2023-03-27 14:05 ` rguenth at gcc dot gnu.org
2023-04-26  6:56 ` [Bug debug/106955] [13/14 " rguenth at gcc dot gnu.org
2023-07-27  9:23 ` rguenth at gcc dot gnu.org
2024-03-22 14:04 ` law at gcc dot gnu.org
2024-05-21  9:12 ` [Bug debug/106955] [13/14/15 " 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).