OSDN Git Service

2008-08-20 Bob Duff <duff@adacore.com>
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 20 Aug 2008 14:27:50 +0000 (14:27 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 20 Aug 2008 14:27:50 +0000 (14:27 +0000)
commit694fbb34026012ea7ee1669ac86719a4910cc4e1
treec08133b942bdfbbdc34891f607732e710e1a692f
parent7b1d52add9af84292a151979f2d8aa927f1c0c7b
2008-08-20  Bob Duff  <duff@adacore.com>

* exp_ch4.adb (Expand_N_And_Then, Expand_N_Or_Else): Improve constant
folding. We were folding things like "False and then ...", but not
"X and then ..." where X is a constant whose value is known at compile
time.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@139304 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/exp_ch4.adb