This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/37189] OpenMP task construct with implicit firstprivate variables ICEs
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Sep 2008 08:12:56 -0000
- Subject: [Bug c++/37189] OpenMP task construct with implicit firstprivate variables ICEs
- References: <bug-37189-15092@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from jakub at gcc dot gnu dot org 2008-09-03 08:12 -------
There is nothing strange about it, it is just a bug that needs to be fixed, and
is caused by the design decision that the sharing status of implicitly
determined is computed during the gimplification phase, but synthetization of
method invokes the gimplifier too. I guess the best fix would be to start
defering all mark_used calls for the duration of finish_function and at the end
of finish_function call all the queued mark_used calls.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37189