public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/113400] New: Internal compiler error:  Segmentation fault, regression in 13.2.1 compared to 13.2.0
@ 2024-01-15 13:55 boris at kolpackov dot net
  2024-01-15 13:56 ` [Bug c++/113400] " boris at kolpackov dot net
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: boris at kolpackov dot net @ 2024-01-15 13:55 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 113400
           Summary: Internal compiler error:  Segmentation fault,
                    regression in 13.2.1 compared to 13.2.0
           Product: gcc
           Version: 13.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: boris at kolpackov dot net
  Target Milestone: ---

We are getting this ICE since upgrading to 13.2.1.

$ g++ --version
g++ (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6)

The attached files were produced with these command lines:

g++ -I/home/karen/work/build2/bpkg -I/home/karen/work/build2/bpkg
-D_GLIBCXX_ASSERTIONS -I/home/karen/work/build2/build2
-I/home/karen/work/build2/build2 -DLIBBUILD2_SHARED
-I/home/karen/work/build2/libbutl -I/home/karen/work/build2/libbutl
-DLIBBUTL_SHARED -I/home/karen/work/build2/build2
-I/home/karen/work/build2/build2 -DLIBBUILD2_BASH_SHARED
-I/home/karen/work/build2/build2 -I/home/karen/work/build2/build2
-DLIBBUILD2_IN_SHARED -I/home/karen/work/build2/build2
-I/home/karen/work/build2/build2 -DLIBBUILD2_BIN_SHARED
-I/home/karen/work/build2/build2 -I/home/karen/work/build2/build2
-DLIBBUILD2_C_SHARED -I/home/karen/work/build2/build2
-I/home/karen/work/build2/build2 -DLIBBUILD2_CC_SHARED
-I/home/karen/work/build2/build2 -I/home/karen/work/build2/build2
-DLIBBUILD2_CLI_SHARED -I/home/karen/work/build2/build2
-I/home/karen/work/build2/build2 -DLIBBUILD2_CXX_SHARED
-I/home/karen/work/build2/build2 -I/home/karen/work/build2/build2
-DLIBBUILD2_VERSION_SHARED -I/home/karen/work/build2/libbpkg
-I/home/karen/work/build2/libbpkg -DLIBBPKG_SHARED
-I/home/karen/work/odb/libodb -I/home/karen/work/odb/libodb -DLIBODB_BUILD2
-DLIBODB_SHARED -I/home/karen/work/odb/libodb-sqlite
-I/home/karen/work/odb/libodb-sqlite -DLIBODB_SQLITE_BUILD2
-DLIBODB_SQLITE_SHARED
-I/home/karen/work/build2/packaging/sqlite/sqlite/libsqlite3/libsqlite3 -W
-Wall -Wextra -Wno-unknown-pragmas -g -ggdb -fno-inline -fsanitize=address
-fsanitize=undefined -fno-omit-frame-pointer -fstack-protector-all
-Wno-maybe-uninitialized -Wno-free-nonheap-object -Wno-stringop-overread
-Wno-dangling-reference -Wno-unknown-pragmas -std=c++23 -finput-charset=UTF-8
-x c++ -MQ ^ -MD -E -fdirectives-only -MF
/home/karen/work/build2/bpkg/bpkg/manifest-utility.o.t -o
/home/karen/work/build2/bpkg/bpkg/manifest-utility.o.ii
/home/karen/work/build2/bpkg/bpkg/manifest-utility.cxx

g++ -I/home/karen/work/build2/bpkg -I/home/karen/work/build2/bpkg
-D_GLIBCXX_ASSERTIONS -I/home/karen/work/build2/build2
-I/home/karen/work/build2/build2 -DLIBBUILD2_SHARED
-I/home/karen/work/build2/libbutl -I/home/karen/work/build2/libbutl
-DLIBBUTL_SHARED -I/home/karen/work/build2/build2
-I/home/karen/work/build2/build2 -DLIBBUILD2_BASH_SHARED
-I/home/karen/work/build2/build2 -I/home/karen/work/build2/build2
-DLIBBUILD2_IN_SHARED -I/home/karen/work/build2/build2
-I/home/karen/work/build2/build2 -DLIBBUILD2_BIN_SHARED
-I/home/karen/work/build2/build2 -I/home/karen/work/build2/build2
-DLIBBUILD2_C_SHARED -I/home/karen/work/build2/build2
-I/home/karen/work/build2/build2 -DLIBBUILD2_CC_SHARED
-I/home/karen/work/build2/build2 -I/home/karen/work/build2/build2
-DLIBBUILD2_CLI_SHARED -I/home/karen/work/build2/build2
-I/home/karen/work/build2/build2 -DLIBBUILD2_CXX_SHARED
-I/home/karen/work/build2/build2 -I/home/karen/work/build2/build2
-DLIBBUILD2_VERSION_SHARED -I/home/karen/work/build2/libbpkg
-I/home/karen/work/build2/libbpkg -DLIBBPKG_SHARED
-I/home/karen/work/odb/libodb -I/home/karen/work/odb/libodb -DLIBODB_BUILD2
-DLIBODB_SHARED -I/home/karen/work/odb/libodb-sqlite
-I/home/karen/work/odb/libodb-sqlite -DLIBODB_SQLITE_BUILD2
-DLIBODB_SQLITE_SHARED
-I/home/karen/work/build2/packaging/sqlite/sqlite/libsqlite3/libsqlite3 -W
-Wall -Wextra -Wno-unknown-pragmas -g -ggdb -fno-inline -fsanitize=address
-fsanitize=undefined -fno-omit-frame-pointer -fstack-protector-all
-Wno-maybe-uninitialized -Wno-free-nonheap-object -Wno-stringop-overread
-Wno-dangling-reference -Wno-unknown-pragmas -std=c++23 -fdiagnostics-color
-finput-charset=UTF-8 -o bpkg/manifest-utility.o -c -x c++ -fpreprocessed
-fdirectives-only /home/karen/work/build2/bpkg/bpkg/manifest-utility.o.ii

In function ‘std::vector<butl::b_project_info> bpkg::package_b_info(const
common_options&, const dir_paths&, butl::b_info_flags)’:
cc1plus: internal compiler error: Segmentation fault
Please submit a full bug report, with preprocessed source.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/ccemvm8K.out file, please attach this to
your bugreport.

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

* [Bug c++/113400] Internal compiler error:  Segmentation fault, regression in 13.2.1 compared to 13.2.0
  2024-01-15 13:55 [Bug c++/113400] New: Internal compiler error: Segmentation fault, regression in 13.2.1 compared to 13.2.0 boris at kolpackov dot net
@ 2024-01-15 13:56 ` boris at kolpackov dot net
  2024-01-15 13:57 ` boris at kolpackov dot net
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: boris at kolpackov dot net @ 2024-01-15 13:56 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Boris Kolpackov <boris at kolpackov dot net> ---
Created attachment 57083
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57083&action=edit
Reproducer

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

* [Bug c++/113400] Internal compiler error:  Segmentation fault, regression in 13.2.1 compared to 13.2.0
  2024-01-15 13:55 [Bug c++/113400] New: Internal compiler error: Segmentation fault, regression in 13.2.1 compared to 13.2.0 boris at kolpackov dot net
  2024-01-15 13:56 ` [Bug c++/113400] " boris at kolpackov dot net
@ 2024-01-15 13:57 ` boris at kolpackov dot net
  2024-01-15 14:26 ` rguenth at gcc dot gnu.org
  2024-01-18 19:16 ` mpolacek at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: boris at kolpackov dot net @ 2024-01-15 13:57 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Boris Kolpackov <boris at kolpackov dot net> ---
Created attachment 57084
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57084&action=edit
Reproducer

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

* [Bug c++/113400] Internal compiler error:  Segmentation fault, regression in 13.2.1 compared to 13.2.0
  2024-01-15 13:55 [Bug c++/113400] New: Internal compiler error: Segmentation fault, regression in 13.2.1 compared to 13.2.0 boris at kolpackov dot net
  2024-01-15 13:56 ` [Bug c++/113400] " boris at kolpackov dot net
  2024-01-15 13:57 ` boris at kolpackov dot net
@ 2024-01-15 14:26 ` rguenth at gcc dot gnu.org
  2024-01-18 19:16 ` mpolacek at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2024-01-15 14:26 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=113347

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
 = 0;, std::vector<butl::b_project_info>::~vector ((struct vector *) <retval>);
$3 = void


looks like a duplicate of PR113347

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

* [Bug c++/113400] Internal compiler error:  Segmentation fault, regression in 13.2.1 compared to 13.2.0
  2024-01-15 13:55 [Bug c++/113400] New: Internal compiler error: Segmentation fault, regression in 13.2.1 compared to 13.2.0 boris at kolpackov dot net
                   ` (2 preceding siblings ...)
  2024-01-15 14:26 ` rguenth at gcc dot gnu.org
@ 2024-01-18 19:16 ` mpolacek at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2024-01-18 19:16 UTC (permalink / raw)
  To: gcc-bugs

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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |mpolacek at gcc dot gnu.org

--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
I think so too.

*** This bug has been marked as a duplicate of bug 113347 ***

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

end of thread, other threads:[~2024-01-18 19:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-15 13:55 [Bug c++/113400] New: Internal compiler error: Segmentation fault, regression in 13.2.1 compared to 13.2.0 boris at kolpackov dot net
2024-01-15 13:56 ` [Bug c++/113400] " boris at kolpackov dot net
2024-01-15 13:57 ` boris at kolpackov dot net
2024-01-15 14:26 ` rguenth at gcc dot gnu.org
2024-01-18 19:16 ` mpolacek 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).