[Bug fortran/37501] [4.4 regression] ABI breakage with _gfortran_set_options
burnus at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Sep 12 20:01:00 GMT 2008
------- Comment #1 from burnus at gcc dot gnu dot org 2008-09-12 19:59 -------
> This makes running 4.3 programs with the 4.4 libraries impossible,
> as the library will receive garbage on its eigth argument.
Why? The first argument should tell how many arguments exists.
set_options has:
if (num >= 7)
compile_options.bounds_check = options[6];
if (num >= 8)
compile_options.range_check = options[7];
Thus if there is no 8th argument, there should be no problem (assuming that
there are reasonable default values).
--
burnus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |burnus at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37501
More information about the Gcc-bugs
mailing list