[Bug fortran/99561] gfortran reports an error for a truncation that is permitted by the standard

2021-03-12 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99561 --- Comment #3 from Steve Kargl --- On Fri, Mar 12, 2021 at 06:39:49PM +, kargl at gcc dot gnu.org wrote: > --- Comment #1 from kargl at gcc dot gnu.org --- > (In reply to Michal Paszta from comment #0) > > In this line of code: > > > >

[Bug fortran/99561] gfortran reports an error for a truncation that is permitted by the standard

2021-03-12 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99561 --- Comment #2 from kargl at gcc dot gnu.org --- (In reply to kargl from comment #1) > (In reply to Michal Paszta from comment #0) > > In this line of code: > > > > INTEGER(KIND=1) :: var8 = 257_2 > > > > we try to cast an integer of kind 2 (16

[Bug fortran/99561] gfortran reports an error for a truncation that is permitted by the standard

2021-03-12 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99561 kargl at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |INVALID