2009-07-03 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 3 Jul 2009 22:09:12 +0000 (22:09 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 3 Jul 2009 22:09:12 +0000 (22:09 +0000)
commit42d9ffa50a7ececb4bd73c18db80a66739f55241
treee3367b873291ba1ab60b45a98762a593c7bf410a
parent89c679bd815aae344e78a0fcd7f61d6528a22a8e
2009-07-03  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/40640
* tree-switch-conversion.c (build_arrays): Perform arithmetic
in original type.

* gcc.c-torture/compile/pr40640.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149211 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr40640.c [new file with mode: 0644]
gcc/tree-switch-conversion.c