[Bug c++/75860] Segmentation violation in tree_check while compiling firefox 48
zeccav at gmail dot com
gcc-bugzilla@gcc.gnu.org
Sat Aug 13 15:08:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=75860
--- Comment #8 from Vittorio Zecca <zeccav at gmail dot com> ---
Compiling the big test case, 231025 lines, with trunk level 239276 of August
9th
g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/home/vitti/1tb/vitti/local/gcc-7-239276/libexec/gcc/x86_64-pc-linux-gnu/7.0.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ./configure --prefix=/home/vitti/1tb/vitti/local/gcc-7-239276
Thread model: posix
gcc version 7.0.0 20160809 (experimental) (GCC)
[vitti ~]$g++ -S pbase.C
In file included from
/home/vitti/1tb/vitti/rpmbuild/SOURCES/firefox-48.0-obj/dist/include/nsCycleCollectionTraversalCallback.h:10:0,
from
/home/vitti/1tb/vitti/rpmbuild/SOURCES/firefox-48.0-obj/dist/include/nsCycleCollectionNoteChild.h:13,
from
/home/vitti/1tb/vitti/rpmbuild/SOURCES/firefox-48.0-obj/dist/include/nsCOMPtr.h:33,
from
/home/vitti/1tb/vitti/rpmbuild/SOURCES/firefox-48.0-obj/dist/include/nsAutoPtr.h:10,
from
/home/vitti/1tb/vitti/rpmbuild/SOURCES/firefox-48.0/ipc/chromium/src/base/revocable_store.h:10,
from
/home/vitti/1tb/vitti/rpmbuild/SOURCES/firefox-48.0/ipc/chromium/src/base/task.h:9,
from
/home/vitti/1tb/vitti/rpmbuild/SOURCES/firefox-48.0/ipc/chromium/src/base/message_loop.h:17,
from
/home/vitti/1tb/vitti/rpmbuild/SOURCES/firefox-48.0/ipc/chromium/src/base/thread.h:11,
from
/home/vitti/1tb/vitti/rpmbuild/SOURCES/firefox-48.0/gfx/thebes/SoftwareVsyncSource.h:13,
from
/home/vitti/1tb/vitti/rpmbuild/SOURCES/firefox-48.0/gfx/thebes/SoftwareVsyncSource.cpp:7,
from
/home/vitti/1tb/vitti/rpmbuild/SOURCES/firefox-48.0-obj/gfx/thebes/Unified_cpp_gfx_thebes0.cpp:11:
/home/vitti/1tb/vitti/rpmbuild/SOURCES/firefox-48.0-obj/dist/include/jspubtd.h:411:50:
warning: offsetof within non-standard-layout type
‘js::PerThreadDataFriendFields::RuntimeDummy’ is undefined [-Winvalid-offsetof]
static const size_t RuntimeMainThreadOffset = offsetof(RuntimeDummy,
mainThread);
In file included from
/home/vitti/1tb/vitti/rpmbuild/SOURCES/firefox-48.0/gfx/thebes/gfxBaseSharedMemorySurface.cpp:7:0,
from
/home/vitti/1tb/vitti/rpmbuild/SOURCES/firefox-48.0-obj/gfx/thebes/Unified_cpp_gfx_thebes0.cpp:38:
/home/vitti/1tb/vitti/rpmbuild/SOURCES/firefox-48.0/gfx/thebes/gfxBaseSharedMemorySurface.h:
In static member function ‘static bool gfxBaseSharedMemorySurface<Base,
Sub>::IsSharedImage(gfxASurface*)’:
/home/vitti/1tb/vitti/rpmbuild/SOURCES/firefox-48.0/gfx/thebes/gfxBaseSharedMemorySurface.h:108:39:
internal compiler error: Segmentation fault
&& aSurface->GetData(&SHM_KEY));
^~~~~~~
0xd2a04f crash_signal
../.././gcc/toplev.c:335
0x6c42a8 tree_check(tree_node*, char const*, int, char const*, tree_code)
../.././gcc/tree.h:3022
0x6c42a8 is_really_empty_class(tree_node*)
../.././gcc/cp/class.c:8426
0x82a2b3 cxx_eval_constant_expression
../.././gcc/cp/constexpr.c:3702
0x83107b cxx_eval_outermost_constant_expr
../.././gcc/cp/constexpr.c:4382
0x834248 fold_non_dependent_expr(tree_node*)
../.././gcc/cp/constexpr.c:4662
0x64bd5c build_non_dependent_expr(tree_node*)
../.././gcc/cp/pt.c:23802
0x74feb7 build_x_unary_op(unsigned int, tree_code, cp_expr, int)
../.././gcc/cp/typeck.c:5353
0x710b39 cp_parser_unary_expression
../.././gcc/cp/parser.c:7966
0x71abf3 cp_parser_cast_expression
../.././gcc/cp/parser.c:8693
0x71b1f7 cp_parser_binary_expression
../.././gcc/cp/parser.c:8794
0x71bac4 cp_parser_assignment_expression
../.././gcc/cp/parser.c:9081
0x71d5c6 cp_parser_parenthesized_expression_list
../.././gcc/cp/parser.c:7487
0x71231b cp_parser_postfix_expression
../.././gcc/cp/parser.c:6792
0x710a90 cp_parser_unary_expression
../.././gcc/cp/parser.c:8016
0x71abf3 cp_parser_cast_expression
../.././gcc/cp/parser.c:8693
0x71b5ff cp_parser_simple_cast_expression
../.././gcc/cp/parser.c:26014
0x71b5ff cp_parser_binary_expression
../.././gcc/cp/parser.c:8858
0x71bac4 cp_parser_assignment_expression
../.././gcc/cp/parser.c:9081
0x71e3ea cp_parser_expression
../.././gcc/cp/parser.c:9250
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
More information about the Gcc-bugs
mailing list