Add an asssert and testcase for PR 68064
authorMartin Jambor <mjambor@suse.cz>
Fri, 11 Dec 2015 11:27:11 +0000 (12:27 +0100)
committerMartin Jambor <jamborm@gcc.gnu.org>
Fri, 11 Dec 2015 11:27:11 +0000 (12:27 +0100)
commit9e64af18754df7b9360cb9b693111caf0df8e7a2
tree96d2c0c0834139ec38bc420965962410743d5f59
parentda0dcab1848db83728e0549c14bdacfc47321f5a
Add an asssert and testcase for PR 68064

2015-12-11  Martin Jambor  <mjambor@suse.cz>

PR ipa/68064
* ipa-prop.c (ipa_compute_jump_functions_for_edge): Add checking
assert that align is nonzero.

testsuite/
* g++.dg/torture/pr68064.C: New test.

From-SVN: r231559
gcc/ChangeLog
gcc/ipa-prop.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr68064.C [new file with mode: 0644]