[Bug c/57653] [4.8/4.9 Regression] filename information discarded when using -imacros

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Feb 11 12:14:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57653

--- Comment #25 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Wed Feb 11 12:14:07 2015
New Revision: 220614

URL: https://gcc.gnu.org/viewcvs?rev=220614&root=gcc&view=rev
Log:
2015-02-11  Richard Biener  <rguenther@suse.de>

    Backport from mainline
    2014-07-24  Marek Polacek  <polacek@redhat.com>

    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_9-branch/gcc/testsuite/c-c++-common/pr57653-2.c
    branches/gcc-4_9-branch/gcc/testsuite/c-c++-common/pr57653-2.h
    branches/gcc-4_9-branch/gcc/testsuite/c-c++-common/pr57653.c
    branches/gcc-4_9-branch/gcc/testsuite/c-c++-common/pr57653.h
Modified:
    branches/gcc-4_9-branch/gcc/c-family/ChangeLog
    branches/gcc-4_9-branch/gcc/c-family/c-opts.c
    branches/gcc-4_9-branch/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list