[all-commits] [llvm/llvm-project] b4f901: [flang] Make a non-digit in fixed-form label field...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Thu Jan 8 08:59:07 PST 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b4f9012464144fc0f5c430dd97736c4e868a5de3
https://github.com/llvm/llvm-project/commit/b4f9012464144fc0f5c430dd97736c4e868a5de3
Author: Peter Klausler <pklausler at nvidia.com>
Date: 2026-01-08 (Thu, 08 Jan 2026)
Changed paths:
M flang/lib/Parser/prescan.cpp
M flang/lib/Parser/prescan.h
M flang/test/Driver/Inputs/free-form-test.f90
M flang/test/Driver/color-diagnostics-scan.f
M flang/test/Driver/fixed-free-detection.f90
M flang/test/Driver/fixed-free-flag.f90
M flang/test/Driver/werror-scan.f
M flang/test/Parser/badlabel.f
A flang/test/Parser/bug50563.f
M flang/test/Preprocessing/pp039.F
Log Message:
-----------
[flang] Make a non-digit in fixed-form label field an error unless -E (#174836)
A character in a fixed-form source line (as opposed to a comment or
compiler directive) can't have a non-digit in its label field, columns 1
through 5. The prescanner presently emits only a warning for this case.
Retain the warning for -E output, but otherwise diagnose an error.
(This change affected a number of tests that relied on this situation
being a warning just so that they could test prescanner warnings, and
those tests were adjusted to use another warning.)
Fixes https://github.com/llvm/llvm-project/issues/50563.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list