[PATCH 1/3] C++20 constexpr lib part 1/3

Steve Ellcey sellcey@marvell.com
Tue Aug 6 15:30:00 GMT 2019


I have run into an ICE that I tracked down to this patch:

commit 02fefffe6b78c4c39169206aa40fb53f367ecba8
Author: emsr <emsr@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Thu Aug 1 15:25:42 2019 +0000

    2019-08-01  Edward Smith-Rowland  <3dw4rd@verizon.net>

            Implement C++20 p0202 - Add Constexpr Modifiers to Functions
            in <algorithm> and <utility> Headers.
            Implement C++20 p1023 - constexpr comparison operators for std::array.

Before I try to create a smaller test example (the current failure happens
when I build https://github.com/llnl/RAJAPerf.git) I was wondering if you
have already seen this ICE:

/extra/sellcey/raja-build-error/RAJAPerf/src/apps/WIP-COUPLE.cpp: In member function 'virtual void rajaperf::apps::COUPLE::runKernel(rajaperf::VariantID)':
/extra/sellcey/raja-build-error/RAJAPerf/src/apps/WIP-COUPLE.cpp:217:1: internal compiler error: Segmentation fault
  217 | } // end namespace rajaperf
      | ^
0xe81ddf crash_signal
0x968d14 lookup_page_table_entry
0x968d14 ggc_set_mark(void const*)
0xbfeadf gt_ggc_mx_symtab_node(void*)
0xd9d2a7 gt_ggc_ma_order
0xd9d2a7 gt_ggc_ma_order
0xb6f49f ggc_mark_root_tab
0xb6f6c3 ggc_mark_roots()
0x9696af ggc_collect()
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

More information about the Libstdc++ mailing list