This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Tested on x86-linux, committed on mainline. The constants Others_Value and All_Others_Value added in a-exexpr.adb cause a problem for the GNAAMP compiler because their values (16#BEEF#) are outside the range of 16-bit signed integers. Only the first hex digit needs to be changed, to something <= 8. 16#7EEF# is used instead as the "unlikely" pattern. 2004-12-07 Gary Dismukes <dismukes@adacore.com> * a-exexpr.adb (Others_Value, All_Others_Value): Change initial values from 16#BEEF# to 16#7FFF# to avoid exceeding Integer'Last on 16-bit targets (such as AAMP).
Attachment:
difs.2
Description: Text document
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |