This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/41823] gcc/fortran/trans-openmp.c: possible null pointer dereference
- From: "dominiq at lps dot ens.fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 24 Jan 2012 11:09:05 +0000
- Subject: [Bug fortran/41823] gcc/fortran/trans-openmp.c: possible null pointer dereference
- Auto-submitted: auto-generated
- References: <bug-41823-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41823
--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2012-01-24 11:09:05 UTC ---
> It is guaranteed to be non-NULL for omp parallel/do/task and many others, see
> the ew_st.ext.omp_clauses = something lines in openmp.c.
Then is the 'if (clauses)' necessary?