From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2640 invoked by alias); 5 Jan 2006 13:41:44 -0000 Received: (qmail 2615 invoked by uid 48); 5 Jan 2006 13:41:42 -0000 Date: Thu, 05 Jan 2006 13:41:00 -0000 Message-ID: <20060105134142.2614.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/23091] ICE in gfc_trans_auto_array_allocation In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "mimo2 at free dot fr" 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-01/txt/msg00496.txt.bz2 List-Id: ------- Comment #6 from mimo2 at free dot fr 2006-01-05 13:41 ------- same (?) bug on GNU Fortran 95 (GCC) 4.2.0 20060104 program test call toto(4) end subroutine toto(n) integer, intent(in) :: n real :: tab(n) tab(1:n) = 4. end this code compiles when no option, but fails when -fno-automatic with test.f90:6: erreur interne du compilateur: dans gfc_trans_auto_array_allocation, à fortran/trans-array.c:3326 commenting the line tab(1:n) = 4. makes it to compile with -fno-automatic -- mimo2 at free dot fr changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mimo2 at free dot fr http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23091