]> gcc.gnu.org Git - gcc.git/commit
re PR tree-optimization/78742 (internal compiler error: in int_cst_value, at tree...
authorRichard Biener <rguenther@suse.de>
Tue, 13 Dec 2016 09:17:42 +0000 (09:17 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 13 Dec 2016 09:17:42 +0000 (09:17 +0000)
commit6182121c120a277dd38eb28e669866842a83a4dc
treec4391d1481feb6460765c0bf0934473b01c2383e
parent56b7aede9188eeda696eff95effb2288289ddc52
re PR tree-optimization/78742 (internal compiler error: in int_cst_value, at tree.c:10782)

2016-12-13  Richard Biener  <rguenther@suse.de>

PR middle-end/78742
* tree.c (cst_and_fits_in_hwi): Look if the actual value fits.
* tree-object-size.c (compute_builtin_object_size): Use
tree_fits_shwi_p.
* tree-data-ref.c (initialize_matrix_A): Remove excess assert.

* gcc.dg/torture/pr78742.c: New testcase.

From-SVN: r243598
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr78742.c [new file with mode: 0644]
gcc/tree-data-ref.c
gcc/tree-object-size.c
gcc/tree.c
This page took 0.064971 seconds and 5 git commands to generate.