This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/57042] [4.7/4.8 Regression] ICE/Segfault with -fdump-parse-tree
- From: "janus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 11 Jan 2014 11:54:36 +0000
- Subject: [Bug fortran/57042] [4.7/4.8 Regression] ICE/Segfault with -fdump-parse-tree
- Auto-submitted: auto-generated
- References: <bug-57042-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57042
--- Comment #7 from janus at gcc dot gnu.org ---
(In reply to Thomas Koenig from comment #4)
> Other functions returning characters have a bogus
> typespec:
Huh. Problem with implicit typing?
Adding 'implicit none' yields an unknown type for 'adjustl':
Namespace: A-Z: (UNKNOWN 0)
procedure name = main
symtree: 'adjustl' || symbol: 'adjustl'
type spec : (UNKNOWN 0)
attributes: (PROCEDURE FUNCTION)
result: adjustl
symtree: 'main' || symbol: 'main'
type spec : (UNKNOWN 0)
attributes: (PROGRAM PUBLIC SUBROUTINE)
code:
WRITE UNIT=6 FMT=-1
TRANSFER 'a '
DT_END