This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ipa/70366] [6 Regression] chromium fails to build with LTO due to segfault in ipa-inline-transform.c:inline_call


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
   Target Milestone|---                         |6.0
            Summary|chromium fails to build     |[6 Regression] chromium
                   |with LTO due to segfault in |fails to build with LTO due
                   |ipa-inline-transform.c:inli |to segfault in
                   |ne_call                     |ipa-inline-transform.c:inli
                   |                            |ne_call

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
./glslang_lex.cpp:1068:8: warning: type 'struct yyguts_t' violates the C++ One
Definition Rule [-Wodr]
./Tokenizer.cpp:605:8: note: a different type is defined in another translation
unit
./glslang_lex.cpp:1072:19: note: the first difference of corresponding
definitions is field 'yyextra_r'
./Tokenizer.cpp:609:19: note: a field of same name but different type is
defined in another translation unit
../../third_party/angle/src/compiler/translator/ParseContext.h:28:7: note: type
name 'TParseContext' should match type name 'pp::Tokenizer::Context'
 class TParseContext : angle::NonCopyable
       ^
../../third_party/angle/src/compiler/preprocessor/Tokenizer.h:22:12: note: the
incompatible type is defined here
     struct Context
            ^
lto1: internal compiler error: Segmentation fault
0xa4981f crash_signal
    ../../gcc.git/gcc/toplev.c:335
0x107c105 tree_check(tree_node*, char const*, int, char const*, tree_code)
    ../../gcc.git/gcc/tree.h:3005
0x107c105 inline_call(cgraph_edge*, bool, vec<cgraph_edge*, va_heap, vl_ptr>*,
int*, bool, bool*)
    ../../gcc.git/gcc/ipa-inline-transform.c:333
0x1074ac0 inline_small_functions
    ../../gcc.git/gcc/ipa-inline.c:2022
0x1074ac0 ipa_inline
    ../../gcc.git/gcc/ipa-inline.c:2432
0x1074ac0 execute
    ../../gcc.git/gcc/ipa-inline.c:2840


Can you try to reduce the problem?  You can use either multi-delta or any other
reducing program.  Using -r -nostdlib is also useful to reduce it too.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]