]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
emit-rtl.c (gen_reg_rtx): Assert that crtl->emit.regno_pointer_align_length is non...
authorUros Bizjak <uros@gcc.gnu.org>
Thu, 20 Feb 2014 20:21:42 +0000 (21:21 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Thu, 20 Feb 2014 20:21:42 +0000 (21:21 +0100)
* emit-rtl.c (gen_reg_rtx): Assert that
crtl->emit.regno_pointer_align_length is non-zero.

From-SVN: r207968

gcc/ChangeLog
gcc/emit-rtl.c
gcc/testsuite/ChangeLog

index 7161754b2b3dfd3c35a04b368c8c207bccfd48a5..10ab024984602e5105abe9e3a654294091e94580 100644 (file)
@@ -1,4 +1,9 @@
-2014-02-20  Richard Henderson <rth@redhat.com>
+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>
 
        PR c++/60272
        * builtins.c (expand_builtin_atomic_compare_exchange): Conditionalize
@@ -32,8 +37,7 @@
 
        * tree-cfg.c (replace_uses_by): Mark altered BBs before
        doing the substitution.
-       (verify_gimple_assign_single): Also verify bare MEM_REFs
-       on the lhs.
+       (verify_gimple_assign_single): Also verify bare MEM_REFs on the lhs.
 
 2014-02-20  Martin Jambor  <mjambor@suse.cz>
 
@@ -50,8 +54,8 @@
 2014-02-20  Jan Hubicka  <hubicka@ucw.cz>
 
        PR ipa/58555
-       * ipa-inline-transform.c (clone_inlined_nodes): Add freq_scale parameter
-       specifying the scaling.
+       * ipa-inline-transform.c (clone_inlined_nodes): Add freq_scale
+       parameter specifying the scaling.
        (inline_call): Update.
        (want_inline_recursively): Guard division by zero.
        (recursive_inlining): Update.
@@ -64,7 +68,7 @@
        64 bytes or less in register.
 
 2014-02-20  Ilya Tocar  <ilya.tocar@intel.com>
-            Kirill Yukhin  <kirill.yukhin@intel.com>
+           Kirill Yukhin  <kirill.yukhin@intel.com>
 
        * config/i386/avx512erintrin.h (_mm_rcp28_round_sd): Swap operands.
        (_mm_rcp28_round_ss): Ditto.
 
        * config/microblaze/microblaze.h: Define SIZE_TYPE and PTRDIFF_TYPE.
 
-2014-02-10  Richard Henderson <rth@redhat.com>
+2014-02-10  Richard Henderson  <rth@redhat.com>
 
        PR target/59927
        * calls.c (expand_call): Don't double-push for reg_parm_stack_space.
        (altivec_vupklpx): Emit vupkhpx instead of vupklpx when target is
        little endian and -maltivec=be is not specified.
 
-2014-02-05  Richard Henderson <rth@redhat.com>
+2014-02-05  Richard Henderson  <rth@redhat.com>
 
        PR debug/52727
        * combine-stack-adj.c: Revert r206943.
        * config/aarch64/aarch64.c (aarch64_register_move_cost): Correct cost
        of moving from/to the STACK_REG register class.
 
-2014-01-15  Richard Henderson <rth@redhat.com>
+2014-01-15  Richard Henderson  <rth@redhat.com>
 
        PR debug/54694
        * reginfo.c (global_regs_decl): Globalize.
index bcc6ad3afb7a7bdf3af3f3399e855c00391303ca..dc1408b7623d20678f542d82b9680420b432d20c 100644 (file)
@@ -896,6 +896,9 @@ gen_reg_rtx (enum machine_mode mode)
       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
      enough to have an element for this pseudo reg number.  */
 
index 256c885ad9665dcc28db6ae4e32e105169a7a42f..84e1ba38723117a5985c8120092bb2a6abbeac17 100644 (file)
@@ -16,7 +16,7 @@
 2014-02-20  Jan Hubicka  <hubicka@ucw.cz>
 
        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>
 
@@ -58,8 +58,8 @@
        PR target/59794
        * gcc.target/i386/pr39162.c: Add dg-prune-output.
        (dg-options): Remove -Wno-psabi.
-       * gcc.target/i386/59794-2.c: Ditto.
-       * gcc.target/i386/60205-1.c: Ditto.
+       * gcc.target/i386/pr59794-2.c: Ditto.
+       * gcc.target/i386/pr60205-1.c: Ditto.
        * gcc.target/i386/sse-5.c: Ditto.
 
 2014-02-18  Nick Clifton  <nickc@redhat.com>
        in dg-output regexps.
        * c-c++-common/tsan/simple_stack.c: Likewise.
 
-2014-01-31  Richard Henderson <rth@redhat.com>
+2014-01-31  Richard Henderson  <rth@redhat.com>
 
        * g++.dg/tm/pr60004.C: New.
 
        * c-c++-common/cpp/warning-zero-in-literals-1.c: New test file.
 
 2014-01-23  Kirill Yukhin  <kirill.yukhin@intel.com>
-           Ilya Tocar     <ilya.tocar@intel.com>
+           Ilya Tocar  <ilya.tocar@intel.com>
 
        * gcc.target/i386/avx512f-kmovw-1.c: New.