https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118441

anlauf at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |burnus at gcc dot gnu.org

--- Comment #4 from anlauf at gcc dot gnu.org ---
I am currently using the following hack to be able compile with -fopenmp:

diff --git a/gcc/fortran/trans-decl.cc b/gcc/fortran/trans-decl.cc
index 4ae22a5584d..bdd58916559 100644
--- a/gcc/fortran/trans-decl.cc
+++ b/gcc/fortran/trans-decl.cc
@@ -2461,6 +2461,7 @@ module_sym:
     pushdecl_top_level (fndecl);

   if (sym->formal_ns
+      && sym->attr.proc != PROC_INTRINSIC      // temporary hack
       && sym->formal_ns->proc_name == sym)
     {
       if (sym->formal_ns->omp_declare_simd)


Not sure if this is the right thing to do.

Paul-Antoine, Tobias, can you have a look?

Reply via email to