re PR fortran/41121 (compile-time error when building BLAS with -fimplicit-none)
2009-08-20 Janus Weil <janus@gcc.gnu.org> PR fortran/41121 * resolve.c (resolve_symbol): Don't resolve formal_ns of intrinsic procedures. 2009-08-20 Janus Weil <janus@gcc.gnu.org> PR fortran/41121 * gfortran.dg/intrinsic_5.f90: New. From-SVN: r150957
This commit is contained in:
parent
b0f86a7e6b
commit
e4c1aa1996
@ -1,3 +1,9 @@
|
||||
2009-08-20 Janus Weil <janus@gcc.gnu.org>
|
||||
|
||||
PR fortran/41121
|
||||
* resolve.c (resolve_symbol): Don't resolve formal_ns of intrinsic
|
||||
procedures.
|
||||
|
||||
2009-08-18 Michael Matz <matz@suse.de>
|
||||
|
||||
* trans-expr.c (gfc_conv_substring): Don't evaluate casted decl early,
|
||||
|
@ -10280,7 +10280,7 @@ resolve_symbol (gfc_symbol *sym)
|
||||
|
||||
/* Resolve formal namespaces. */
|
||||
if (sym->formal_ns && sym->formal_ns != gfc_current_ns
|
||||
&& !sym->attr.contained)
|
||||
&& !sym->attr.contained && !sym->attr.intrinsic)
|
||||
gfc_resolve (sym->formal_ns);
|
||||
|
||||
/* Make sure the formal namespace is present. */
|
||||
|
@ -1,3 +1,8 @@
|
||||
2009-08-20 Janus Weil <janus@gcc.gnu.org>
|
||||
|
||||
PR fortran/41121
|
||||
* gfortran.dg/intrinsic_5.f90: New.
|
||||
|
||||
2009-08-19 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
|
||||
Richard Earnshaw <richard.earnshaw@arm.com>
|
||||
|
||||
|
13
gcc/testsuite/gfortran.dg/intrinsic_5.f90
Normal file
13
gcc/testsuite/gfortran.dg/intrinsic_5.f90
Normal file
@ -0,0 +1,13 @@
|
||||
! { dg-do compile }
|
||||
! { dg-options "-fimplicit-none" }
|
||||
!
|
||||
! PR 41121: [4.5 Regression] compile-time error when building BLAS with -fimplicit-none
|
||||
!
|
||||
! Original test case: http://www.netlib.org/blas/dgbmv.f
|
||||
! Reduced by Joost VandeVondele <jv244@cam.ac.uk>
|
||||
|
||||
INTRINSIC MIN
|
||||
INTEGER :: I,J
|
||||
print *,MIN(I,J)
|
||||
END
|
||||
|
Loading…
x
Reference in New Issue
Block a user