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

           Summary: [4.7 regression] ICE in lower_emutls_function_body, at
                    tree-emutls.c:623
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: r...@gcc.gnu.org
                CC: jamb...@gcc.gnu.org
              Host: alpha-dec-osf5.1b, *-*-solaris2.[89]
            Target: alpha-dec-osf5.1b, *-*-solaris2.[89]
             Build: alpha-dec-osf5.1b, *-*-solaris2.[89]


Between 20110408 and 20110415, I find a couple of libgomp testsuite regressions
on Tru64 UNIX UNIX V5.1b:

FAIL: libgomp.fortran/pr32359.f90  -O  (internal compiler error)
FAIL: libgomp.fortran/pr32359.f90  -O  (test for excess errors)
Excess errors:
/vol/gcc/src/hg/trunk/local/libgomp/testsuite/libgomp.fortran/pr32359.f90:17:0:
internal compiler error: in lower_emutls_function_body, at tree-emutls.c:623

and bootstrap failures on Solaris 8 and 9 with Sun as:

In function '__go_set_defer_retaddr':
/vol/gcc/src/hg/trunk/local/libgo/runtime/go-defer.c:69:1: internal compiler
error: in lower_emutls_function_body, at tree-emutls.c:623

This is obviously caused by

2011-04-12  Martin Jambor  <mjam...@suse.cz>

    * tree-inline.c (tree_function_versioning): Call cgraph_get_node
    instead of cgraph_node and assert it does not return NULL.
    * lto-streamer-in.c (lto_read_body): Likewise.
    * omp-low.c (new_omp_context): Likewise.
    (create_task_copyfn): Likewise.
    * tree-emutls.c (lower_emutls_function_body): Likewise.
    * matrix-reorg.c (transform_allocation_sites): Likewise.

the last patch to touch lower_emutls_function_body.

Please fix.
  Rainer

Reply via email to