https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72849
Bug ID: 72849 Summary: [7 Regression] r239267 causes Firefox build failure Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: trippels at gcc dot gnu.org Target Milestone: --- trippels@gcc2-power8 thebes % /home/trippels/gcc_test/usr/local/bin/c++ -w -c Unified_cpp_gfx_thebes0.ii In file included from /home/trippels/gecko-dev/gfx/thebes/gfxBaseSharedMemorySurface.cpp:1:0, from /home/trippels/moz-build-dir/gfx/thebes/Unified_cpp_gfx_thebes0.cpp:29: /home/trippels/gecko-dev/gfx/thebes/gfxBaseSharedMemorySurface.h: In static member function ‘static bool gfxBaseSharedMemorySurface<Base, Sub>::IsSharedImage(gfxASurface*)’: /home/trippels/gecko-dev/gfx/thebes/gfxBaseSharedMemorySurface.h:96:39: internal compiler error: Segmentation fault const gfxIntSize& aSize, ^~~ 0x10b014d3 crash_signal ../../gcc/gcc/toplev.c:335 0x102a9114 tree_check ../../gcc/gcc/tree.h:3022 0x102a9114 is_really_empty_class(tree_node*) ../../gcc/gcc/cp/class.c:8426 0x1047aad3 cxx_eval_constant_expression ../../gcc/gcc/cp/constexpr.c:3702 0x1047331f cxx_eval_outermost_constant_expr ../../gcc/gcc/cp/constexpr.c:4383 0x10483a03 fold_non_dependent_expr(tree_node*) ../../gcc/gcc/cp/constexpr.c:4662 0x1020d997 build_non_dependent_expr(tree_node*) ../../gcc/gcc/cp/pt.c:23802 0x1035b9cb build_x_unary_op(unsigned int, tree_code, cp_expr, int) ../../gcc/gcc/cp/typeck.c:5353 0x1030b287 cp_parser_unary_expression ../../gcc/gcc/cp/parser.c:7966 0x10317bcf cp_parser_cast_expression ../../gcc/gcc/cp/parser.c:8693 0x10318357 cp_parser_binary_expression ../../gcc/gcc/cp/parser.c:8795 0x10318e93 cp_parser_assignment_expression ../../gcc/gcc/cp/parser.c:9083 0x1031b30f cp_parser_parenthesized_expression_list ../../gcc/gcc/cp/parser.c:7487 0x1030d7e3 cp_parser_postfix_expression ../../gcc/gcc/cp/parser.c:6795 0x1030b06f cp_parser_unary_expression ../../gcc/gcc/cp/parser.c:8016 0x10317bcf cp_parser_cast_expression ../../gcc/gcc/cp/parser.c:8693 0x1031872f cp_parser_simple_cast_expression ../../gcc/gcc/cp/parser.c:26014 0x1031872f cp_parser_binary_expression ../../gcc/gcc/cp/parser.c:8858 0x10318e93 cp_parser_assignment_expression ../../gcc/gcc/cp/parser.c:9083 0x1031c667 cp_parser_expression ../../gcc/gcc/cp/parser.c:9250 Please submit a full bug report, Reducing...