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/32968] selected_(int|real)_kind fail with -fdefault-integer-8



------- Comment #12 from dominiq at lps dot ens dot fr  2007-08-03 00:17 -------
Subject: Re:  selected_(int|real)_kind fail with
 -fdefault-integer-8

> I think that we may be converging on a patch.  Can you test
> the attached diff?

I have converged in the same direction (modulo the coding style!-):

+         if (actual->expr->ts.kind != 4)
+          { 
+            ts.type = BT_INTEGER;
+            ts.kind = 4;
+            gfc_convert_type (actual->expr, &ts, 2); 
+          }

It pass my tests and it will regtest while I am going to bed (2AM my time).

Thanks.


-- 


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


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