This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/28548] [4.2 Regression]: Optional argument failed
- From: "kargl at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Aug 2006 04:49:33 -0000
- Subject: [Bug fortran/28548] [4.2 Regression]: Optional argument failed
- References: <bug-28548-682@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from kargl at gcc dot gnu dot org 2006-08-03 04:49 -------
Some progress has been. Craig Powers suggested that the problem was
with PRESENT but perhaps a conversion function. If I change HJ's code
to use the same type and kind type parameter, then everything works
fine. In gdb, I've found
(gdb) print *isym
$28 = {name = 0x8869b61 "__convert_i4_r4",
lib_name = 0x8869b61 "__convert_i4_r4", formal = 0x0, ts = {type = BT_REAL,
kind = 4, derived = 0x0, cl = 0x0}, elemental = 1, pure = 0, generic = 0,
specific = 0, actual_ok = 0, standard = 1, noreturn = 0, simplify = {
Note, the __convert function is marked as elemental. I don't know why
this is so.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28548