Re: porting-to update request

2025-04-04 Thread Steve Kargl
On Fri, Apr 04, 2025 at 02:40:06AM -0400, NightStrike wrote: > > Is this email list still active? :) Are you subscribed to the list? First reply: https://gcc.gnu.org/pipermail/fortran/2025-March/061963.html Second reply: https://gcc.gnu.org/pipermail/fortran/2025-March/061981.html -- Steve

Re: porting-to update request

2025-04-04 Thread Sergey Fedorov
I think it is On Apr 4, 2025 at 2:40 PM +0800, NightStrike , wrote: > On Fri, Mar 28, 2025 at 2:02 PM NightStrike wrote: > > > > On Tue, Mar 25, 2025 at 11:04 AM NightStrike wrote: > > > > > > Between GCC 9 and 10, the following code now errors out: > > > > > > integer function fcn(x) > > > impli

Re: porting-to update request

2025-04-04 Thread FX Coudert
Hi, The error message was fixed by Harald in: commit fb132276d173907d575ea61fda3b846a9bc6e456 Author: Harald Anlauf Date: 2025-03-28 20:31:08 +0100 Fortran: fix spelling of flag -fallow-invalid-boz gcc/fortran/ChangeLog: * check.cc (gfc_invalid_boz): Correct spel

Re: porting-to update request

2025-04-03 Thread NightStrike
On Fri, Mar 28, 2025 at 2:02 PM NightStrike wrote: > > On Tue, Mar 25, 2025 at 11:04 AM NightStrike wrote: > > > > 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 f

Re: porting-to update request

2025-03-28 Thread Steve Kargl
On Fri, Mar 28, 2025 at 02:02:03PM -0400, NightStrike wrote: > > Should I open a bugzilla PR about this? > Submit the 3-character patch to fix the error to point to -fallow-invalid-boz instead of the negative form -fno-allow-invalid-boz, which seems to have led to a manner of confusion. Other th

Re: porting-to update request

2025-03-28 Thread NightStrike
On Tue, Mar 25, 2025 at 11:04 AM NightStrike wrote: > > 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 >

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

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