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

--- Comment #4 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Program received signal SIGSEGV, Segmentation fault.
0x0000000010f9b10c in ._Z19build_function_typeP9tree_nodeS0_ ()
(gdb) bt
#0  0x0000000010f9b10c in ._Z19build_function_typeP9tree_nodeS0_ ()
#1  0x0000000010f9b488 in ._Z24build_function_type_listP9tree_nodez ()
#2  0x000000001118519c in ._Z30rs6000_init_generated_builtinsv ()
#3  0x000000001117dcec in ._Z20rs6000_init_builtinsv ()
#4  0x000000001032b88c in ._Z27c_common_nodes_and_builtinsv ()
#5  0x0000000010227648 in ._Z22c_init_decl_processingv ()
#6  0x000000001029f630 in ._Z18c_objc_common_initv ()
#7  0x00000000102079ac in ._ZN6toplev4mainEiPPc ()
#8  0x0000000010209e90 in .main ()

build_function_type(tree_node*, tree_node*) is called with a zero value_type
and that crashes pretty much immediately.

Reply via email to