]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR middle-end/37882
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 22 Oct 2008 18:21:55 +0000 (18:21 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 22 Oct 2008 18:21:55 +0000 (18:21 +0000)
commit17c3cb97659520406d70fcb0401d0cfd1564c3fb
treef6e3ecababdb7c9cb2c4fa8858443e73e6840f66
parentc9197a91e180703238925902f4ec0203cf2d6da4
PR middle-end/37882
* fold-const.c (build_range_type): For 1 .. signed_max
range call build_nonstandard_inter_type if signed_type_for
returned a type with bigger precision.

* gcc.c-torture/execute/pr37882.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@141303 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr37882.c [new file with mode: 0644]