flang icon indicating copy to clipboard operation
flang copied to clipboard

SEVERE ERROR line 206 in file symini_ftn.n, illegal ilm, invalid atyp and invalid dtype

Open pawosm-arm opened this issue 3 years ago • 2 comments
trafficstars

Since QUADFP was introduced I am observing the following warnings while building flang:

SEVERE ERROR line 206 file tools/flang2/utils/symtab/symini_ftn.n: bad atyp, assumed to be DT_INT
SEVERE ERROR line 206 file tools/flang2/utils/symtab/symini_ftn.n: bad dtype, assumed to be DT_INT
WARNING line 206 file tools/flang2/utils/symtab/symini_ftn.n: illegal ilm, QCONJG, in template

Although this is only a warning and does not interrupt building process, it would be good to investigate its origin.

pawosm-arm avatar Jul 19 '22 19:07 pawosm-arm

This is caused by an accidental addition of QCONJG to the file, which should have been part of the quad-precision complex type support (to be upstreamed in a future PR). QCONJG is not used anywhere currently; I'll submit a PR to revert this addition.

bryanpkc avatar Jul 19 '22 21:07 bryanpkc

I have added a fix for this problem to #1215: https://github.com/flang-compiler/flang/pull/1215/commits/bd978a7bfd408ff5bc8434731a6df54bcf586ac2

bryanpkc avatar Jul 20 '22 22:07 bryanpkc

The fix has been merged into flang/master.

bryanpkc avatar Aug 24 '22 14:08 bryanpkc