From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15637 invoked by alias); 17 Aug 2009 04:17:17 -0000 Received: (qmail 15604 invoked by uid 48); 17 Aug 2009 04:17:02 -0000 Date: Mon, 17 Aug 2009 04:17:00 -0000 Subject: [Bug tree-optimization/41087] New: [4.5 Regression]: cris-elf gfortran.dg/zero_sized_3.f90 -O3 -funroll-loops execution X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "hp at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-08/txt/msg01392.txt.bz2 With revision r150587 this test passed. >>From revision r150588 and on, this test has failed as follows: Running /tmp/r150587-150588/gcc/gcc/testsuite/gfortran.dg/dg.exp ... ... FAIL: gfortran.dg/zero_sized_3.f90 -O3 -fomit-frame-pointer -funroll-loops execution test FAIL: gfortran.dg/zero_sized_3.f90 -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions execution test With the message in the logfile being: Executing on host: /tmp/r150587-150588/gccobj/gcc/testsuite/gfortran/../../gfortran -B/tmp/r150587-150588/gccobj/gcc/te\ stsuite/gfortran/../../ /tmp/r150587-150588/gcc/gcc/testsuite/gfortran.dg/zero_sized_3.f90 -O3 -fomit-frame-pointer -\ funroll-loops -pedantic-errors -isystem /tmp/r150587-150588/gccobj/cris-elf/./newlib/targ-include -isystem /tmp/r15\ 0587-150588/gcc/newlib/libc/include -B/tmp/r150587-150588/gccobj/cris-elf/./libgloss/cris/ -L/tmp/r150587-150588/gccobj\ /cris-elf/./libgloss/cris -L/tmp/r150587-150588/gcc/libgloss/cris -B/tmp/r150587-150588/gccobj/cris-elf/./newlib/ -L/t\ mp/r150587-150588/gccobj/cris-elf/./newlib -sim3 -B/tmp/r150587-150588/gccobj/cris-elf/./libgfortran/.libs -L/tmp/r150\ 587-150588/gccobj/cris-elf/./libgfortran/.libs -L/tmp/r150587-150588/gccobj/cris-elf/./libiberty -lm -o ./zero_sized\ _3.exe (timeout = 300) PASS: gfortran.dg/zero_sized_3.f90 -O3 -fomit-frame-pointer -funroll-loops (test for excess errors) 0 0^M program stopped with signal 6.^M FAIL: gfortran.dg/zero_sized_3.f90 -O3 -fomit-frame-pointer -funroll-loops execution test Author of patch exposing the regression CC:ed. I'll try and analyze a bit so I can point out the wrong code. N.B., CRIS has post-increment. -- Summary: [4.5 Regression]: cris-elf gfortran.dg/zero_sized_3.f90 -O3 -funroll-loops execution Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hp at gcc dot gnu dot org GCC host triplet: x86_64-unknown-linux-gnu GCC target triplet: cris-axis-elf http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41087