This is the mail archive of the gcc-bugs@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]

[Bug ada/21959] [4.1 Regression] Ada depends on signed overflow


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]