Commit 004a7e45 by Uros Bizjak

emit-rtl.c (gen_reg_rtx): Assert that crtl->emit.regno_pointer_align_length is non-zero.

	* emit-rtl.c (gen_reg_rtx): Assert that
	crtl->emit.regno_pointer_align_length is non-zero.

From-SVN: r207968
parent 39434bce
2014-02-20 Uros Bizjak <ubizjak@gmail.com>
* emit-rtl.c (gen_reg_rtx): Assert that
crtl->emit.regno_pointer_align_length is non-zero.
2014-02-20 Richard Henderson <rth@redhat.com> 2014-02-20 Richard Henderson <rth@redhat.com>
PR c++/60272 PR c++/60272
...@@ -32,8 +37,7 @@ ...@@ -32,8 +37,7 @@
* tree-cfg.c (replace_uses_by): Mark altered BBs before * tree-cfg.c (replace_uses_by): Mark altered BBs before
doing the substitution. doing the substitution.
(verify_gimple_assign_single): Also verify bare MEM_REFs (verify_gimple_assign_single): Also verify bare MEM_REFs on the lhs.
on the lhs.
2014-02-20 Martin Jambor <mjambor@suse.cz> 2014-02-20 Martin Jambor <mjambor@suse.cz>
...@@ -50,8 +54,8 @@ ...@@ -50,8 +54,8 @@
2014-02-20 Jan Hubicka <hubicka@ucw.cz> 2014-02-20 Jan Hubicka <hubicka@ucw.cz>
PR ipa/58555 PR ipa/58555
* ipa-inline-transform.c (clone_inlined_nodes): Add freq_scale parameter * ipa-inline-transform.c (clone_inlined_nodes): Add freq_scale
specifying the scaling. parameter specifying the scaling.
(inline_call): Update. (inline_call): Update.
(want_inline_recursively): Guard division by zero. (want_inline_recursively): Guard division by zero.
(recursive_inlining): Update. (recursive_inlining): Update.
......
...@@ -896,6 +896,9 @@ gen_reg_rtx (enum machine_mode mode) ...@@ -896,6 +896,9 @@ gen_reg_rtx (enum machine_mode mode)
return gen_rtx_CONCAT (mode, realpart, imagpart); return gen_rtx_CONCAT (mode, realpart, imagpart);
} }
/* Do not call gen_reg_rtx with uninitialized crtl. */
gcc_assert (crtl->emit.regno_pointer_align_length);
/* Make sure regno_pointer_align, and regno_reg_rtx are large /* Make sure regno_pointer_align, and regno_reg_rtx are large
enough to have an element for this pseudo reg number. */ enough to have an element for this pseudo reg number. */
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
2014-02-20 Jan Hubicka <hubicka@ucw.cz> 2014-02-20 Jan Hubicka <hubicka@ucw.cz>
PR ipa/58555 PR ipa/58555
* testsuite/g++.dg/torture/pr58555.C: New testcase. * g++.dg/torture/pr58555.C: New testcase.
2014-02-20 Ilya Tocar <ilya.tocar@intel.com> 2014-02-20 Ilya Tocar <ilya.tocar@intel.com>
...@@ -58,8 +58,8 @@ ...@@ -58,8 +58,8 @@
PR target/59794 PR target/59794
* gcc.target/i386/pr39162.c: Add dg-prune-output. * gcc.target/i386/pr39162.c: Add dg-prune-output.
(dg-options): Remove -Wno-psabi. (dg-options): Remove -Wno-psabi.
* gcc.target/i386/59794-2.c: Ditto. * gcc.target/i386/pr59794-2.c: Ditto.
* gcc.target/i386/60205-1.c: Ditto. * gcc.target/i386/pr60205-1.c: Ditto.
* gcc.target/i386/sse-5.c: Ditto. * gcc.target/i386/sse-5.c: Ditto.
2014-02-18 Nick Clifton <nickc@redhat.com> 2014-02-18 Nick Clifton <nickc@redhat.com>
......
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