[Bug c/38395] New: emit_library_call_value_1 calls emit_push_insn() with type=NULL_TREE
jon at beniston dot com
gcc-bugzilla@gcc.gnu.org
Thu Dec 4 10:23:00 GMT 2008
emit_library_call_value_1() in calls.c can call emit_push_insn() with
type=NULL_TREE and mode != BLKMode
If STRICT_ALIGNMENT is defined for the target, then, emit_push_insn() will call
assign_temp (see about 40 lines into the function), passing NULL_TREE as the
first param. This results in a SEGFAULT as assign_temp calls DECL_P on
NULL_TREE.
--
Summary: emit_library_call_value_1 calls emit_push_insn() with
type=NULL_TREE
Product: gcc
Version: 4.3.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jon at beniston dot com
GCC target triplet: Targets with STRICT_ALIGNMENT defined
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38395
More information about the Gcc-bugs
mailing list