diff options
author | Jakub Jelinek <jakub@redhat.com> | 2009-07-15 12:17:54 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2009-07-15 12:17:54 +0200 |
commit | b4e4232dc53bbe172d5a7f2a4df972846d8508c6 (patch) | |
tree | 5543d61cd34cab5ac95d722b8fd9da0a241d17ea /gcc/resource.c | |
parent | 00838d9ae17529661245350976a8f1ce5e553415 (diff) | |
download | gcc-b4e4232dc53bbe172d5a7f2a4df972846d8508c6.zip gcc-b4e4232dc53bbe172d5a7f2a4df972846d8508c6.tar.gz gcc-b4e4232dc53bbe172d5a7f2a4df972846d8508c6.tar.bz2 |
re PR middle-end/40747 (wrong code for int-is-in-range test at -O1 and above)
PR middle-end/40747
* fold-const.c (fold_cond_expr_with_comparison): When folding
< and <= to MIN, make sure the MIN uses the same type as the
comparison's operands.
* gcc.c-torture/execute/pr40747.c: New test.
From-SVN: r149675
Diffstat (limited to 'gcc/resource.c')
0 files changed, 0 insertions, 0 deletions