public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/98282] New: Segmentation fault when compiling with optimization >= 2
@ 2020-12-14 19:25 bengilgit at gmail dot com
  2020-12-14 19:33 ` [Bug c++/98282] " bengilgit at gmail dot com
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: bengilgit at gmail dot com @ 2020-12-14 19:25 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 98282
           Summary: Segmentation fault when compiling with optimization >=
                    2
           Product: gcc
           Version: 7.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bengilgit at gmail dot com
  Target Milestone: ---

Compilation of the attached preprocessed source produces an internal compiler
error:

$ /usr/bin/g++ -O2 -c ../scalar_cast_nested.cc.preprocessed.cc
../src/arrow/compute/kernels/scalar_cast_nested.cc: In function ‘void
arrow::compute::internal::CastListExec(arrow::compute::KernelContext*, const
arrow::compute::ExecBatch&, arrow::Datum*) [with Type = arrow::ListType]’:
../src/arrow/compute/kernels/scalar_cast_nested.cc:33:6: internal compiler
error: Segmentation fault
 void CastListExec(KernelContext* ctx, const ExecBatch& batch, Datum* out) {
      ^~~~~~~~~~~~
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.

$ /usr/bin/g++ --version
g++ (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


Bisection indicates this is ultimately caused by replacing `nonstd::variant`
with an in-house implementation, change at:
https://github.com/apache/arrow/pull/8472

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

end of thread, other threads:[~2021-03-17 10:21 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-14 19:25 [Bug c++/98282] New: Segmentation fault when compiling with optimization >= 2 bengilgit at gmail dot com
2020-12-14 19:33 ` [Bug c++/98282] " bengilgit at gmail dot com
2020-12-14 22:06 ` jakub at gcc dot gnu.org
2020-12-14 23:30 ` jakub at gcc dot gnu.org
2020-12-14 23:34 ` [Bug c++/98282] [8/9/10/11 Regression] " jakub at gcc dot gnu.org
2020-12-15 10:05 ` jakub at gcc dot gnu.org
2020-12-16  9:03 ` [Bug tree-optimization/98282] " rguenth at gcc dot gnu.org
2020-12-16  9:14 ` jakub at gcc dot gnu.org
2021-01-04 10:40 ` rguenth at gcc dot gnu.org
2021-01-04 11:59 ` cvs-commit at gcc dot gnu.org
2021-01-04 12:05 ` [Bug tree-optimization/98282] [8/9/10 " rguenth at gcc dot gnu.org
2021-01-12 14:51 ` cvs-commit at gcc dot gnu.org
2021-03-17  9:35 ` [Bug tree-optimization/98282] [8/9 " cvs-commit at gcc dot gnu.org
2021-03-17 10:20 ` [Bug tree-optimization/98282] [8 " cvs-commit at gcc dot gnu.org
2021-03-17 10:21 ` rguenth 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).