diff options
author | Jakub Jelinek <jakub@redhat.com> | 2012-12-06 15:37:09 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2012-12-06 15:37:09 +0100 |
commit | 5442fe4818ecb877fccbba726ded41f1de3583c6 (patch) | |
tree | 69d8a57a66b0f88599b49c7300a7e116451e88ce /gcc/tree.c | |
parent | d8169a0d2a030e0b25fc545f535328b5adfaadec (diff) | |
download | gcc-5442fe4818ecb877fccbba726ded41f1de3583c6.zip gcc-5442fe4818ecb877fccbba726ded41f1de3583c6.tar.gz gcc-5442fe4818ecb877fccbba726ded41f1de3583c6.tar.bz2 |
re PR c++/55137 (Unexpected static structure initialization)
PR c++/55137
* fold-const.c (fold_binary_loc) <associate>: Don't introduce
TREE_OVERFLOW through reassociation. If type doesn't have defined
overflow, but one or both of the operands do, use the wrapping type
for reassociation and only convert to type at the end.
* g++.dg/opt/pr55137.C: New test.
* gcc.c-torture/execute/pr55137.c: New test.
From-SVN: r194250
Diffstat (limited to 'gcc/tree.c')
0 files changed, 0 insertions, 0 deletions