From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12957 invoked by alias); 18 Oct 2011 16:31:12 -0000 Received: (qmail 12923 invoked by uid 22791); 18 Oct 2011 16:31:08 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 18 Oct 2011 16:30:47 +0000 From: "nightstrike at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/47485] gfortran -M output is incorrect when -MT option is used Date: Tue, 18 Oct 2011 16:31: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-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: nightstrike at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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: 2011-10/txt/msg01842.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47485 nightstrike changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nightstrike at gmail dot | |com --- Comment #3 from nightstrike 2011-10-18 16:29:43 UTC --- I have just now seen this problem for c and not fortran for GCC 4.1.2. It appears fixed in 4.6.0. I searched the bug database, and found this: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12448 It looks like the two bugs are related, although I can confirm that the bug still exists for gfortran 4.6.0 using the test case provided in this PR: $ cat > f.f90 program test print "(a)", "hello world" end program $ gfortran -cpp -M f.f90 -MT aaa f.o aaa: f.f90 So at the very least, can someone set the bug status to NEW (confirmed) and the See Also to PR12448? Also, when fixing this, whoever does so, be sure to not run into this snag: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44076 That should be on the See Also, as well.