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] | |
In experimenting with building the compiler with overflow checks turned on, we found a case where theoretically overflow might cause trouble if not checked for compiling a-ngcefu.adb. Not clear if this could ever really cause trouble with overflow checks off (the normal way the compiler is compiled), and certainly not practical to find a small test case for, but the original code was a bit junky anyway, and this patch fixes the possible overflow Tested on i686-pc-linux-gnu, committed on trunk 2008-07-30 Robert Dewar <dewar@adacore.com> * uintp.adb (UI_GCD): Fix potential overflow
Attachment:
difs
Description: Text document
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |