This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/37501] [4.4 regression] ABI breakage with _gfortran_set_options
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Sep 2008 19:59:42 -0000
- Subject: [Bug fortran/37501] [4.4 regression] ABI breakage with _gfortran_set_options
- References: <bug-37501-10391@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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