https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96724
Bug ID: 96724 Summary: Bogus warnings with the repeat intrinsic and the flag -Wconversion-extra Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: jrfsousa at gmail dot com Target Milestone: --- Created attachment 49088 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49088&action=edit Fortran code demonstrating problems. Hi all! Getting bogus warnings using the flag -Wconversion-extra of the type: Warning: Conversion from INTEGER(<some kind /= 8>) to INTEGER(8) AFAIK the repeat intrinsic is "generic" on integer kind and, IMHO, no warnings should be generated. Tested on: GNU Fortran (GCC) 9.3.1 20200819 GNU Fortran (GCC) 10.2.1 20200819 GNU Fortran (GCC) 11.0.0 20200807 (experimental) Thank you very much. Best regards, José Rui