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

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2011.03.30 20:43:03
     Ever Confirmed|0                           |1

--- Comment #1 from Thomas Koenig <tkoenig at gcc dot gnu.org> 2011-03-30 
20:43:03 UTC ---
Really strange.

gdb shows

Program received signal SIGSEGV, Segmentation fault.
gfc_expr_walker (e=0x18, exprfn=0x597fc0 <cfe_expr_0>, data=0x0)
    at ../../trunk/gcc/fortran/frontend-passes.c:752
752       while (*e)
(gdb) up
#1  0x00000000005984ec in gfc_code_walker (c=0x1452b30, codefn=0x597330
<cfe_code>,
    exprfn=0x597fc0 <cfe_expr_0>, data=0x0) at
../../trunk/gcc/fortran/frontend-passes.c:1050
1050                      WALK_SUBEXPR ((*c)->ext.omp_clauses->chunk_size);
(gdb) p (*c)->op
$1 = EXEC_ASSIGN
(gdb) p (*c)->ext.omp_clauses
$2 = (gfc_omp_clauses *) 0x0

Why are we in the section dealing with OMP stuff when handling an EXEC_ASSIGN?
We should not get there at all.

Reply via email to