From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9788 invoked by alias); 23 Mar 2014 14:52:00 -0000 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 Received: (qmail 9756 invoked by uid 48); 23 Mar 2014 14:51:55 -0000 From: "sarantis.pantazis at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/60543] [4.7/4.8/4.9 Regression] Function with side effect removed by the optimizer. Date: Sun, 23 Mar 2014 14:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.8.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: sarantis.pantazis at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-03/txt/msg02093.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60543 --- Comment #9 from Sarantis Pantazis --- Thank you for the fast response and effort. I have installed gcc from svn but the results are still the same. Perhaps I mis-installed something? Attached you will find the logs and the installation workflow. Is step #14 perhaps wrong? The output of gfortran -v seems correct though. Using built-in specs. COLLECT_GCC=/home/sarantis/latestGcc/gcc-build/gcc/gfortran Target: x86_64-unknown-linux-gnu Configured with: ../configure --prefix=/home/sarantis/latestGcc --enable-languages=c,fortran,c++ --disable-multilib Thread model: posix gcc version 4.9.0 20140323 (experimental) (GCC)