re PR middle-end/63237 (error: invalid operand in unary operation)
authorRichard Biener <rguenther@suse.de>
Fri, 12 Sep 2014 11:06:49 +0000 (11:06 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 12 Sep 2014 11:06:49 +0000 (11:06 +0000)
commit2813904b118a4c7b914fd44ed9a189ee777c5165
tree5f752cde493f70af6de17527d7a822c41cd690dc
parentd9a72d17e64f6a1b50ef859dadcf86551de1b265
re PR middle-end/63237 (error: invalid operand in unary operation)

2014-09-12  Richard Biener  <rguenther@suse.de>

PR middle-end/63237
* gimple-fold.c (get_maxval_strlen): Gimplify string length.

* g++.dg/torture/pr63237.C: New testcase.

From-SVN: r215212
gcc/ChangeLog
gcc/gimple-fold.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr63237.C [new file with mode: 0644]