From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3346 invoked by alias); 5 Nov 2009 10:37:24 -0000 Received: (qmail 3324 invoked by uid 48); 5 Nov 2009 10:37:15 -0000 Date: Thu, 05 Nov 2009 10:37:00 -0000 Subject: [Bug fortran/41948] New: [4.5.0 regression] mismatch in optional arguments triggers segmentation fault X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "reuter at physik dot uni-freiburg dot de" 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-11/txt/msg00406.txt.bz2 When compiling the sample program, gfortran 4.5.0 (referring to Revision v153847) the running of it triggers a seg fault due to an optional argument, which was not present in the beginning, but astonishingly is when calling the corresponding subroutine: $ ./test_case model_set_particle_data: present(name) = F particle_data_set: present (name) = T Segmentation fault (core dumped) -- Summary: [4.5.0 regression] mismatch in optional arguments triggers segmentation fault Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reuter at physik dot uni-freiburg 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=41948