From d935a36e27c5a15e05cabdc6b6e9b6d68538a14f Mon Sep 17 00:00:00 2001 From: Arnaud Charlet Date: Thu, 29 Apr 2004 17:24:56 +0200 Subject: [multiple changes] 2004-04-29 Ed Schonberg * checks.adb (Enable_Range_Check): If the prefix of an index component is an access to an unconstrained array, perform check unconditionally. 2004-04-29 Richard Kenner * decl.c (gnat_to_gnu_field): Also call make_packable_type if Component_Clause. 2004-04-29 Olivier Hainque * init.c (__gnat_install_handler, __gnat_error_handler): Remove alternate stack setting. There was no support for the tasking cases and the changes eventually caused a number of side-effect failures in the non-tasking case too. 2004-04-29 Eric Botcazou lang-specs.h: Redirect output to /dev/null if -gnatc or -gnatz or -gnats is passed. 2004-04-29 Vincent Celier * make.adb (Gnatmake): Increase max size of argument array for gnatbind for the potential addition of -F. If there are Stand-Alone Library projects, invoke gnatbind with -F to be sure that elaboration flags will be checked. * switch-c.adb: Correct call to Scan_Pos for -gnateI 2004-04-29 Thomas Quinot * sem_warn.adb (Check_References): Move ' may be null' warning out of under Warn_On_No_Value_Assigned. 2004-04-29 Ed Falis * gnat_ugn.texi: Fixed texi error 2004-04-29 Robert Dewar * sem_ch4.adb (Remove_Abstract_Operations): Unconditionally remove abstract operations if they come from predefined files. * gnat_rm.texi: Fix bad doc for pragma Elaboration_Checks (should be Dynamic, not RM). * s-addope.adb: Correct obvious error in mod function From-SVN: r81289 --- gcc/ada/s-addope.adb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/ada/s-addope.adb') diff --git a/gcc/ada/s-addope.adb b/gcc/ada/s-addope.adb index 5a388131..2b360f1 100644 --- a/gcc/ada/s-addope.adb +++ b/gcc/ada/s-addope.adb @@ -81,7 +81,7 @@ package body System.Address_Operations is function ModA (Left, Right : Address) return Address is begin - return A (I (Left) and I (Right)); + return A (I (Left) mod I (Right)); end ModA; --------- -- cgit v1.1