------- Comment #4 from burnus at gcc dot gnu dot org  2010-09-22 20:22 -------
As you might have guessed, the error is with regards to the arguments of MAX
which are A1 and A2.

The arguments are defined as BT_UNKNOWN, cf. in intrinsics.c:

  add_sym_1m ("max", GFC_ISYM_MAX, CLASS_ELEMENTAL, ACTUAL_NO,
              BT_UNKNOWN, 0, GFC_STD_F77,
              gfc_check_min_max, gfc_simplify_max, gfc_resolve_max,
              a1, BT_UNKNOWN, dr, REQUIRED, a2, BT_UNKNOWN, dr, REQUIRED);

The backtrace shows:

#0  gfc_set_default_type (sym=0x144e6b0, error_flag=1, ns=<value optimized
out>)
    at fortran/symbol.c:263
#1  0x00000000005328d7 in resolve_formal_arglist (proc=0x144d1f0)
    at fortran/resolve.c:303


-- 

burnus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |rejects-valid
      Known to fail|                            |4.5.0 4.6.0
      Known to work|                            |4.4.0
   Last reconfirmed|0000-00-00 00:00:00         |2010-09-22 20:22:16
               date|                            |
            Summary|-fimplicit-none strange     |[4.5/4.6 Regression] -
                   |behaviour                   |fimplicit-none failures when
                   |                            |using intrinsic MAX
   Target Milestone|---                         |4.5.2


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

Reply via email to