On 07/15/14 02:18, Marek Polacek wrote:
This is a revised patch that Peter recently submitted
<https://gcc.gnu.org/ml/gcc-patches/2014-04/msg01571.html>, but
it was lacking a testcase and a better comment.  This patch
adds a testcase (kind of a hacky one), the comment is hopefully
better too.  Joseph already said that the code changes look ok.

Bootstrapped/regtested on x86_64-linux, ok for trunk?
Ok also for 4.9/4.8?

2014-07-14  Marek Polacek  <pola...@redhat.com>
            Manuel López-Ibáñez  <m...@gcc.gnu.org>

        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.
I was really hoping someone could add tests from the old (2004?) thread between DJ and Per to ensure we weren't regressing any of those cases while fixing 57653. In fact, I think I'd pre-approved with those tests added ;-)


Jeff

Reply via email to