public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/59330] New: Crash in is_gimple_reg_type
@ 2013-11-28 11:25 d.g.gorbachev at gmail dot com
  2013-11-28 11:44 ` [Bug middle-end/59330] [4.7/4.8/4.9 Regression] " mpolacek at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: d.g.gorbachev at gmail dot com @ 2013-11-28 11:25 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59330

            Bug ID: 59330
           Summary: Crash in is_gimple_reg_type
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: d.g.gorbachev at gmail dot com

======= 8< =======
void free(void *p)
{
}

void *foo(void)
{
  return 0;
}

int main(void)
{
  void *p = foo();
  free(p);
  return 0;
}
======= >8 =======

$ gcc -O 1.c
1.c: In function 'main':
1.c:15:1: internal compiler error: Segmentation fault
 }
 ^
0x86dfff0 crash_signal
    ../../gcc-4.9/gcc/toplev.c:336
0x871992f is_gimple_reg_type
    ../../gcc-4.9/gcc/gimple-expr.h:74
0x871992f verify_gimple_call
    ../../gcc-4.9/gcc/tree-cfg.c:3190
0x871ac23 verify_gimple_stmt
    ../../gcc-4.9/gcc/tree-cfg.c:4306
0x8721a9a verify_gimple_in_cfg(function*)
    ../../gcc-4.9/gcc/tree-cfg.c:4765
0x86158d5 execute_function_todo
    ../../gcc-4.9/gcc/passes.c:1843
0x8615a5b do_per_function
    ../../gcc-4.9/gcc/passes.c:1573
0x8615bee execute_todo
    ../../gcc-4.9/gcc/passes.c:1877
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.


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

end of thread, other threads:[~2014-05-07 10:07 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-28 11:25 [Bug middle-end/59330] New: Crash in is_gimple_reg_type d.g.gorbachev at gmail dot com
2013-11-28 11:44 ` [Bug middle-end/59330] [4.7/4.8/4.9 Regression] " mpolacek at gcc dot gnu.org
2013-11-28 11:46 ` rguenth at gcc dot gnu.org
2013-11-28 14:52 ` rguenth at gcc dot gnu.org
2013-11-28 14:53 ` [Bug middle-end/59330] [4.7/4.8 " rguenth at gcc dot gnu.org
2013-11-29 10:49 ` rguenth at gcc dot gnu.org
2013-12-06 14:14 ` rguenth at gcc dot gnu.org
2014-05-07 10:02 ` [Bug middle-end/59330] [4.7 " rguenth at gcc dot gnu.org
2014-05-07 10:07 ` rguenth at gcc dot gnu.org

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).