[Bug fortran/54822] OpenMP - Firstprivate optional dummy arguments crash if not present
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54822 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #3 from Dominique d'Humieres --- > The wording of the standard clearly states that this is a problem in the code. Thus closing as INVALID.
[Bug fortran/54822] OpenMP - Firstprivate optional dummy arguments crash if not present
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54822 --- Comment #2 from Roger Ferrer Ibanez 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.
[Bug fortran/54822] OpenMP - Firstprivate optional dummy arguments crash if not present
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54822 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek 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.