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/51993] Erroneous type component initialization leads to internal compiler error


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51993

kargl at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kargl at gcc dot gnu.org

--- Comment #3 from kargl at gcc dot gnu.org ---
Changing the gcc_assert to an early return gives

% gfc6 -c h6.f90
h6.f90:3:27:

     character(len=3) :: a = .true.
                           1
Error: Can't convert LOGICAL(4) to CHARACTER(1) at (1)
troutmask:sgk[219]


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