This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/54822] OpenMP - Firstprivate optional dummy arguments crash if not present
- From: "roger.ferrer at bsc dot es" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 05 Oct 2012 09:53:36 +0000
- Subject: [Bug fortran/54822] OpenMP - Firstprivate optional dummy arguments crash if not present
- Auto-submitted: auto-generated
- References: <bug-54822-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54822
--- Comment #2 from Roger Ferrer Ibanez <roger.ferrer at bsc dot es> 2012-10-05 09:53:36 UTC ---
> The OpenMP standard says that the firstprivate private copy of the var is
> initialized (for non-pointers) using intrinsic assignment,
Oops. I tried also with Intel Fortran and it worked and I wrongly assumed this
was OK.
The wording of the standard clearly states that this is a problem in the code.
Sorry for the fuss.