Commit d7be3fcd by Kaz Kojima

sh.c (barrier_align): Return 0 when barrier_or_label is null.

	* config/sh/sh.c (barrier_align): Return 0 when barrier_or_label
	is null.

From-SVN: r204865
parent 35f48a90
2013-11-15 Kaz Kojima <kkojima@gcc.gnu.org>
* config/sh/sh.c (barrier_align): Return 0 when barrier_or_label
is null.
2013-11-15 Aldy Hernandez <aldyh@redhat.com>
* Makefile.in (C_COMMON_OBJS): Depend on c-cilkplus.o.
......@@ -5777,6 +5777,9 @@ barrier_align (rtx barrier_or_label)
{
rtx next, pat;
if (! barrier_or_label)
return 0;
if (LABEL_P (barrier_or_label)
&& NEXT_INSN (barrier_or_label)
&& JUMP_TABLE_DATA_P (NEXT_INSN (barrier_or_label)))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment