From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6569 invoked by alias); 11 Feb 2015 12:15:30 -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 6465 invoked by uid 55); 11 Feb 2015 12:15:26 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/57653] [4.8/4.9 Regression] filename information discarded when using -imacros Date: Wed, 11 Feb 2015 12:15:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 4.8.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.8.5 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: 2015-02/txt/msg01162.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57653 --- Comment #26 from Richard Biener --- Author: rguenth Date: Wed Feb 11 12:14:54 2015 New Revision: 220615 URL: https://gcc.gnu.org/viewcvs?rev=220615&root=gcc&view=rev Log: 2015-02-11 Richard Biener Backport from mainline 2014-07-24 Marek Polacek PR c/57653 * c-opts.c (c_finish_options): If -imacros is in effect, return. * c-c++-common/pr57653.c: New test. * c-c++-common/pr57653.h: New file. * c-c++-common/pr57653-2.c: New test. * c-c++-common/pr57653-2.h: New file. Added: branches/gcc-4_8-branch/gcc/testsuite/c-c++-common/pr57653-2.c branches/gcc-4_8-branch/gcc/testsuite/c-c++-common/pr57653-2.h branches/gcc-4_8-branch/gcc/testsuite/c-c++-common/pr57653.c branches/gcc-4_8-branch/gcc/testsuite/c-c++-common/pr57653.h Modified: branches/gcc-4_8-branch/gcc/c-family/c-opts.c branches/gcc-4_8-branch/gcc/testsuite/ChangeLog