The testcase for bug 38582 causes a new failure in gcc trunk, an internal
compiler error (see summary).  The revision is

Last Changed Rev: 152847
Last Changed Date: 2009-10-15 16:12:03 +0100 (Thu, 15 Oct 2009)

To reproduce, execute the following in the gcc build directory:

./f951 testcase.f90 -ffree-line-length-512 -g -ffree-form -ftime-report
-funroll-loops -O3

I'll attach the testcase to this bug as well.

I've briefly looked at it and this appears to be an integer overflow.  In
account_vars_for_block, we end up with new_sv_num == 65576, and
triangular_index overflows.


-- 
           Summary: internal compiler error: in add_stack_var_conflict, at
                    cfgexpand.c:359
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bernds_cb1 at t-online dot de
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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

Reply via email to