https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71295

--- Comment #3 from ktkachov at gcc dot gnu.org ---
Author: ktkachov
Date: Thu Jun  2 12:26:42 2016
New Revision: 237034

URL: https://gcc.gnu.org/viewcvs?rev=237034&root=gcc&view=rev
Log:
[rtlanal] Fix rtl-optimization/71295

        PR rtl-optimization/71295
        * rtlanal.c (subreg_get_info): If taking a subreg at the requested
        offset would go over the size of the inner mode reject it.

        * gcc.c-torture/compile/pr71295.c: New test.


Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr71295.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/rtlanal.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to