This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Fix regression preprocessor/17651, v2
- From: Zack Weinberg <zack at codesourcery dot com>
- To: neroden at fastmail dot fm (Nathanael Nerode)
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 29 Nov 2004 08:42:53 -0800
- Subject: Re: [patch] Fix regression preprocessor/17651, v2
- References: <20041128220132.GA3626@fastmail.fm>
neroden@fastmail.fm (Nathanael Nerode) writes:
> Per Zack's recommendaton. Also fixes the bug, in essentially the same way.
> Tested i686-pc-linux-gnu. OK?
Yes, this is OK; also for 3.4.
> I don't have a test case because I couldn't figure out how to design an
> appropriate one for the testsuite; there's only one remotely similar test,
> gcc.misc-tests/mg.{c,exp}, and I don't understand how it works.
Something like
/* { dg-do preprocess } */
/* { dg-options "-g -MM -MF pr17651.d" } */
/* { dg-final { scan-assembler-not "^#" } } */
int main (void) { return 0; }
ought to work.
zw