This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/54957] Two crashes introduced by rev192488
- From: "rmansfield at qnx dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 17 Oct 2012 19:05:36 +0000
- Subject: [Bug middle-end/54957] Two crashes introduced by rev192488
- Auto-submitted: auto-generated
- References: <bug-54957-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54957
--- Comment #9 from Ryan Mansfield <rmansfield at qnx dot com> 2012-10-17 19:05:36 UTC ---
(In reply to comment #8)
> Created attachment 28466 [details]
> Proposed patch
>
> Handle the possibility that stmt_bb may be NULL in emit_case_dispatch_table.
> Untested.
I was able to reproduce the crash in emit_case_dispatch_table on a stock
sh4-unknown-linux-gnu configuration with another testcase. This patch fixes the
all crashes I've seen so far.