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 fortran/37501] [4.4 regression] ABI breakage with _gfortran_set_options



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


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