Try to compile the following code with -fdump-tree-all and you will get a seg fault: subroutine foo return end
Confirmed on i686. Was not there on 4/12/2005 build.
Confirmed.
Fixed.
Subject: Bug 21049 CVSROOT: /cvs/gcc Module name: gcc Changes by: pinskia@gcc.gnu.org 2005-04-18 17:20:57 Modified files: gcc : ChangeLog Log message: Add PR markers to: 2005-04-18 Alexandre Oliva <aoliva@redhat.com> PR middle-end/21049 * tree-cfg.c (dump_function_to_file): Do not crash if cfun or cfun->cfg are NULL. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.8352&r2=2.8353
*** Bug 21103 has been marked as a duplicate of this bug. ***