[all-commits] [llvm/llvm-project] 9fb2db: [flang] Retain spaces when preprocessing fixed-for...

Peter Klausler via All-commits all-commits at lists.llvm.org
Tue Oct 15 14:24:06 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9fb2db1e1f42ae10a9d8c1d9410b5f4e719fdac0
      https://github.com/llvm/llvm-project/commit/9fb2db1e1f42ae10a9d8c1d9410b5f4e719fdac0
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2024-10-15 (Tue, 15 Oct 2024)

  Changed paths:
    M flang/lib/Parser/parsing.cpp
    M flang/lib/Parser/prescan.cpp
    M flang/lib/Parser/prescan.h
    M flang/test/Parser/continuation-in-conditional-compilation.f
    M flang/test/Preprocessing/pp029.F
    M flang/test/Preprocessing/pp031.F
    M flang/test/Preprocessing/pp041.F
    M flang/test/Preprocessing/renaming.F

  Log Message:
  -----------
  [flang] Retain spaces when preprocessing fixed-form source (#112417)

When running fixed-form source through the compiler under -E, don't
aggressively remove space characters, since the parser won't be parsing
the result and some tools might need to see the spaces in the -E
preprocessed output.

Fixes https://github.com/llvm/llvm-project/issues/112279.



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