Brian Barrett
8231cb62a2
On OpenBSD (and probably others), expr operates on a 32 bit signed integer,
...
which is the same size as a Fortran or C integer. This resulted in configure
coming up with Fortran's MAX_INT as -2^31, which obviously isn't a positive
number. Since we found the MAX_INT using the same broken loop in a couple
places and doing it right is complicated, added a new macro that is much
more careful about sign roll-over.
During the Fortran rework between v1.6 and v1.7, the variable which
indicates whether or not Fortran is being compiled changed, so on platforms
without Fortran compilers, we were trying to determine the max value for
Fortran INTEGERS where we previously didn't. I believe this is why
bug #3374 appeared as a regression.
Finally, since the OMPI code doesn't cope with OMPI_FORTRAN_HANDLE_MAX
being negative (which was the root cause of the segfault in $3374),
add a check at the end of the OMPI_FORTRAN_GET_HANDLE_MAX macro to
ensure that OMPI_FORTRAN_HANDLE_MAX is always non-negative.
This commit was SVN r27714.
2012-12-22 16:24:36 +00:00
..
2009-07-21 12:40:43 +00:00
2010-11-12 23:22:11 +00:00
2012-06-27 01:28:28 +00:00
2010-09-17 23:04:06 +00:00
2010-08-25 19:40:17 +00:00
2010-11-23 16:10:52 +00:00
2008-10-28 17:22:29 +00:00
2009-05-06 20:11:28 +00:00
2012-04-18 15:57:29 +00:00
2010-08-27 22:48:57 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00
2008-10-28 17:22:29 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00
2012-06-22 19:30:08 +00:00
2010-10-14 22:49:09 +00:00
2012-12-19 00:00:36 +00:00
2008-10-28 17:22:29 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00
2012-02-10 19:25:23 +00:00
2009-02-04 23:04:21 +00:00
2012-12-19 00:00:36 +00:00
2012-04-23 15:28:26 +00:00
2012-04-23 15:28:26 +00:00
2008-10-28 17:22:29 +00:00
2012-04-23 15:28:26 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00
2012-01-30 12:09:06 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00
2009-10-28 10:51:59 +00:00
2012-08-10 02:00:39 +00:00
2010-08-27 22:48:57 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00
2012-12-22 16:24:36 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00
2010-11-12 23:22:11 +00:00
2008-10-28 17:22:29 +00:00
2012-04-18 15:57:29 +00:00
2012-08-17 21:37:41 +00:00
2010-09-17 23:04:06 +00:00
2010-11-12 23:22:11 +00:00
2008-10-28 17:22:29 +00:00
2012-02-03 23:02:24 +00:00
2009-04-10 22:10:07 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00
2009-10-28 10:51:59 +00:00
2008-10-28 17:22:29 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00
2012-06-25 20:28:45 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00
2012-12-22 16:24:36 +00:00
2011-02-16 22:53:23 +00:00
2011-02-16 22:53:23 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00
2012-12-19 00:00:36 +00:00