$ cat 43.f90
end
$ cat 44.f90
end
$ gfortran-4.3 -fdump-tree-original 43.f90
$ gfortran -fdump-tree-original 44.f90
$ diff -u *original
--- 43.f90.003t.original        2008-09-12 21:12:50.000000000 +0200
+++ 44.f90.003t.original        2008-09-12 21:12:59.000000000 +0200
@@ -1,8 +1,8 @@
 MAIN__ ()
 {
-  static integer(kind=4) options.0[7] = {68, 127, 0, 0, 0, 1, 0};
+  static integer(kind=4) options.0[8] = {68, 255, 0, 0, 0, 1, 0, 1};

-  _gfortran_set_options (7, (void *) &options.0);
+  _gfortran_set_options (8, (void *) &options.0);
 }

This makes running 4.3 programs with the 4.4 libraries impossible,
as the library will receive garbage on its eigth argument.


-- 
           Summary: [4.4 regression] ABI breakage with _gfortran_set_options
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: wrong-code, ABI
          Severity: critical
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tkoenig at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37501

Reply via email to