https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96023
Bug ID: 96023 Summary: Line number for error message differs for x86-64 vs all other architectures Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: dje at gcc dot gnu.org Target Milestone: --- I don't know how this is possible, but the line number associated with the error message for gfortran.dg/pr95690.f90 is different for x86-64 than for all other architectures. As seen by the lack of failures in x86-64 testsuite reports, the test succeeds on that target. Manually running the testcase on x86-64 (gcc67) elicits: pr95690.f90:5:0: 5 | print *, (erfc) ! { dg-error "not a floating constant" } | Error: initializer for floating value is not a floating constant Running the testcase on powerpc64le-linux, powerpc-ibm-aix, s390x-linux, aarch64-linux, etc. elicits: pr95690.f90:6:0: 6 | end | Error: initializer for floating value is not a floating constant Same error message associated with a different line.