diff options
author | Kyrylo Tkachov <kyrylo.tkachov@arm.com> | 2016-06-02 12:26:42 +0000 |
---|---|---|
committer | Kyrylo Tkachov <ktkachov@gcc.gnu.org> | 2016-06-02 12:26:42 +0000 |
commit | b5bd197890a8394028e77e0345cf8c326bfc419f (patch) | |
tree | a941aa68273c5d9bb083a41f678ef943244940f1 /gcc/predict.c | |
parent | 8aa5bdd61e96a7adeec6dad22847be27faad7122 (diff) | |
download | gcc-b5bd197890a8394028e77e0345cf8c326bfc419f.zip gcc-b5bd197890a8394028e77e0345cf8c326bfc419f.tar.gz gcc-b5bd197890a8394028e77e0345cf8c326bfc419f.tar.bz2 |
[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.
From-SVN: r237034
Diffstat (limited to 'gcc/predict.c')
0 files changed, 0 insertions, 0 deletions