Skip to content
Snippets Groups Projects
Commit 723bd722 authored by Harald Anlauf's avatar Harald Anlauf
Browse files

Fortran: bogus warnings with REPEAT intrinsic and -Wconversion-extra [PR96724]


gcc/fortran/ChangeLog:

	PR fortran/96724
	* iresolve.cc (gfc_resolve_repeat): Force conversion to
	gfc_charlen_int_kind before call to gfc_multiply.

gcc/testsuite/ChangeLog:

	PR fortran/96724
	* gfortran.dg/repeat_8.f90: New test.

Co-authored-by: default avatarJosé Rui Faustino de Sousa <jrfsousa@gmail.com>
parent fefbd85b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment