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

--- Comment #10 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to H.J. Lu from comment #9)
> [hjl@gnu-mic-1 build_base_lto.0000]$
> /export/gnu/import/git/gcc-test-spec-lto/usr/bin/g++ -S -DSPEC_CPU -DNDEBUG 
> -DAPP_NO_THREADS -DXALAN_INMEM_MSG_LOADER -I. -Ixercesc -Ixercesc/dom
> -Ixercesc/dom/impl -Ixercesc/sax -Ixercesc/util/MsgLoaders/InMemory
> -Ixercesc/util/Transcoders/Iconv -Ixalanc/include -DPROJ_XMLPARSER
> -DPROJ_XMLUTIL -DPROJ_PARSERS -DPROJ_SAX4C -DPROJ_SAX2 -DPROJ_DOM
> -DPROJ_VALIDATORS -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER
> -O2    -DSPEC_CPU_LP64  -DSPEC_CPU_LINUX     XPath.cpp  -ffast-math
> In file included from ./XPathDefinitions.hpp:21,
>                  from XPath.hpp:22,
>                  from XPath.cpp:18:
> XPath.cpp: In member function ‘void
> xalanc_1_8::XPath::executeMore(xalanc_1_8::XalanNode*,
> xalanc_1_8::XPath::OpCodeMapPositionType,
> xalanc_1_8::XPathExecutionContext&, xalanc_1_8::FormatterListener&,
> xalanc_1_8::XPath::MemberFunctionPtr) const’:
> ./PlatformDefinitions.hpp:66:35: internal compiler error: Segmentation fault
>    66 |  #define XALAN_CPP_NAMESPACE_END  }
>       |                                   ^
> XPath.cpp:5696:1: note: in expansion of macro ‘XALAN_CPP_NAMESPACE_END’
>  5696 | XALAN_CPP_NAMESPACE_END
>       | ^~~~~~~~~~~~~~~~~~~~~~~
> 0xfbcc0f crash_signal
>       ../../src-trunk/gcc/toplev.c:326
> 0xb26b73 lookup_page_table_entry
>       ../../src-trunk/gcc/ggc-page.c:632
> 0xb26b73 ggc_set_mark(void const*)
>       ../../src-trunk/gcc/ggc-page.c:1531
> 0xd6a781 gt_ggc_mx_symtab_node(void*)
>       /export/gnu/import/git/gcc-test-spec-lto/bld/gcc/gtype-desc.c:1302
> 0xee51fd gt_ggc_ma_order
>       ./gt-passes.h:31
> 0xee51fd gt_ggc_ma_order
>       ./gt-passes.h:26
> 0xcf6995 ggc_mark_root_tab
>       ../../src-trunk/gcc/ggc-common.c:77
> 0xcf6b9c ggc_mark_roots()
>       ../../src-trunk/gcc/ggc-common.c:94
> 0xb274f5 ggc_collect()
>       ../../src-trunk/gcc/ggc-page.c:2201
> 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.
> [hjl@gnu-mic-1 build_base_lto.0000]$ 
> 
> -O2 -ffast-math is needed to trigger ICE.

Hm, I can't reproduce that. How have you configured the compiler?

Reply via email to