This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/41823] gcc/fortran/trans-openmp.c: possible null pointer dereference


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41823

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at redhat dot com

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2012-01-24 10:44:02 UTC ---
On trunk at revision 183455, the code is now

  gfc_omp_clauses *clauses = code->ext.omp_clauses;
  int i, collapse = clauses->collapse;

AFAICT so far there has been no case of gfc_trans_omp_do called with 
clauses==NULL. 
CCed Jakub.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]