Skip to content
Snippets Groups Projects
Commit a50ba82d authored by Francois-Xavier Coudert's avatar Francois-Xavier Coudert Committed by François-Xavier Coudert
Browse files

re PR fortran/31119 (-fbounds-check: Check for presence of optional arguments...

re PR fortran/31119 (-fbounds-check: Check for presence of optional arguments before bound checking)

	PR fortran/31119

	* trans-array.c (gfc_conv_ss_startstride): Only perform bounds
	checking for optional args when they are present.

	* gfortran.dg/bounds_check_9.f90: New test.
	* gfortran.dg/bounds_check_fail_2.f90: New test.

From-SVN: r128587
parent bf962a2a
No related branches found
No related tags found
Loading
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