[Bug rtl-optimization/71295] [7 Regression] internal compiler error: in subreg_get_info, at rtlanal.c:3673 on arm
ktkachov at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jun 2 12:27:00 GMT 2016
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
More information about the Gcc-bugs
mailing list