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: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 05 Oct 2012 09:47:49 +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
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-10-05 09:47:49 UTC ---
Sure, but why do you think it is a compiler error?
The OpenMP standard says that the firstprivate private copy of the var is
initialized (for non-pointers) using intrinsic assignment, if you do
intrinsic assignment of X into some other var (Y = X), then you'll get exactly
the same segfault.