Re: porting-to update request

2025-03-25 Thread Steve Kargl
TL;DR version: fix your code. On Tue, Mar 25, 2025 at 11:04:52AM -0400, NightStrike wrote: > Between GCC 9 and 10, the following code now errors out: > Did you read the Release Notes for 10.1? Under the Fortran header: The handling of a BOZ literal constant has been reworked to provide

Re: [GSoC]Fortran – run-time argument checking

2025-03-25 Thread Steve Kargl
On Tue, Mar 25, 2025 at 08:34:51PM +0800, Gwen Fu wrote: > I found out that "-fcheck=*" is an option for runtime checking, but the > relevant options are commented out. > OPT_fcheck_ = 1070,/* -fcheck= */ > /* OPT_fcheck_assert = 1071, *//* -fcheck=assert */

porting-to update request

2025-03-25 Thread NightStrike
Between GCC 9 and 10, the following code now errors out: integer function fcn(x) implicit none integer, intent(in) :: x fcn = x * '0100'X end function fcn Error: BOZ constant at (1) uses nonstandard postfix syntax [see '-fno-allow-invalid-boz'] Compiler returned: 1 First, the error message

[GSoC]Fortran – run-time argument checking

2025-03-25 Thread Gwen Fu
I found out that "-fcheck=*" is an option for runtime checking, but the relevant options are commented out. OPT_fcheck_ = 1070,/* -fcheck= */ /* OPT_fcheck_assert = 1071, *//* -fcheck=assert */ /* OPT_fcheck_bounds = 1072, *//* -fcheck=bounds */