From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32348 invoked by alias); 1 Feb 2006 14:27:34 -0000 Received: (qmail 32329 invoked by uid 48); 1 Feb 2006 14:27:30 -0000 Date: Wed, 01 Feb 2006 14:27:00 -0000 Subject: [Bug fortran/26064] New: 4.1 regression introduced with patch for bug 18197 X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "sven dot buijssen at math dot uni-dortmund dot de" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-02/txt/msg00076.txt.bz2 List-Id: Erik Edelmann's patch for PR fortran/18197 introduced a regression. a) The following test case does not compile with gfortran >= Revision 108555 --- cut here --- % cat > foo.h < regression.f90 < undopatch18197 < else > { > /* Set the type of the RESULT, then copy. */ > if (sym->result->ts.type == BT_UNKNOWN) > gfc_set_default_type (sym->result, 1, sym->result->ns); > > sym->ts = sym->result->ts; > if (sym->as == NULL) > sym->as = gfc_copy_array_spec (sym->result->as); > } > EOF % patch gcc/fortran/resolve.c < undopatch18197 % ./configure [....]; make bootstrap install --- cut here --- the above testcase compiles smoothly again - while reopening the error reported in bug 18197 (and causing another error in my already mentioned code I could not reduce to a small testcase so far.) -- Summary: 4.1 regression introduced with patch for bug 18197 Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: sven dot buijssen at math dot uni-dortmund 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=26064