This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/65975] !$ is not recognized as a comment when -fopenmp flag is used
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 02 May 2015 10:46:42 +0000
- Subject: [Bug fortran/65975] !$ is not recognized as a comment when -fopenmp flag is used
- Auto-submitted: auto-generated
- References: <bug-65975-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65975
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |jakub at gcc dot gnu.org
Resolution|--- |INVALID
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC is correct. See e.g. OpenMP 4.0, section 2.2 "Conditional Compilation"
chapter (or similar chapter in older OpenMP versions). !$ in free form and
!$ *$ c* in fixed form are replaced by two spaces if the various conditions
mentioned in "Conditional Compilation" chapter are met and OpenMP support is
enabled.