public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/38395]  New: emit_library_call_value_1 calls emit_push_insn() with type=NULL_TREE
@ 2008-12-04 10:23 jon at beniston dot com
  2008-12-23 23:31 ` [Bug middle-end/38395] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: jon at beniston dot com @ 2008-12-04 10:23 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-12-24 18:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-04 10:23 [Bug c/38395] New: emit_library_call_value_1 calls emit_push_insn() with type=NULL_TREE jon at beniston dot com
2008-12-23 23:31 ` [Bug middle-end/38395] " pinskia at gcc dot gnu dot org
2008-12-23 23:34 ` pinskia at gcc dot gnu dot org
2008-12-24 18:23 ` jon at beniston dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).