This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/21959] [4.1 Regression] Ada depends on signed overflow
- From: "schwab at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Jun 2005 16:59:56 -0000
- Subject: [Bug ada/21959] [4.1 Regression] Ada depends on signed overflow
- References: <20050608123145.21959.pinskia@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From schwab at suse dot de 2005-06-10 16:59 -------
> hmm, I can't test the 4.1 bootstrap with -fwrapv due to xgcc error.
Try this to enable -fwrapv by default:
--- misc.c 01 Jun 2005 10:00:47 +0200 1.102
+++ misc.c 08 Jun 2005 14:58:25 +0200
@@ -339,6 +339,8 @@ gnat_init_options (unsigned int argc, co
/* Uninitialized really means uninitialized in Ada. */
flag_zero_initialized_in_bss = 0;
+ flag_wrapv = 1;
+
return CL_Ada;
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21959