aboutsummaryrefslogtreecommitdiff
path: root/contrib/gcc/cfgcleanup.c
diff options
context:
space:
mode:
authorAlexander Kabaev <kan@FreeBSD.org>2003-02-10 05:41:50 +0000
committerAlexander Kabaev <kan@FreeBSD.org>2003-02-10 05:41:50 +0000
commit7b74929d749aa5688fd0814a9880872323e02cde (patch)
treef843ff90d71b900271088361ed96ff82eb2a365d /contrib/gcc/cfgcleanup.c
parente3dd383f0088d7ec9c67022680e31a5b756d4258 (diff)
downloadsrc-7b74929d749aa5688fd0814a9880872323e02cde.tar.gz
src-7b74929d749aa5688fd0814a9880872323e02cde.zip
Gcc 3.2.2-release.
Notes
Notes: svn path=/vendor/gcc/dist/; revision=110611
Diffstat (limited to 'contrib/gcc/cfgcleanup.c')
-rw-r--r--contrib/gcc/cfgcleanup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/gcc/cfgcleanup.c b/contrib/gcc/cfgcleanup.c
index 12be4f523c6e..9589d1f6a43f 100644
--- a/contrib/gcc/cfgcleanup.c
+++ b/contrib/gcc/cfgcleanup.c
@@ -469,7 +469,7 @@ try_forward_edges (mode, b)
&& NOTE_LINE_NUMBER (insn) == NOTE_INSN_LOOP_BEG)
break;
- if (GET_CODE (insn) == NOTE)
+ if (insn && GET_CODE (insn) == NOTE)
break;
}