This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: -MD together with -save-temps broken
- From: Daniel Egger <degger at fhm dot edu>
- To: Daniel Egger <degger at fhm dot edu>
- Cc: GCC Developer Mailinglist <gcc at gcc dot gnu dot org>
- Date: 13 Mar 2002 22:22:59 +0100
- Subject: Re: -MD together with -save-temps broken
- References: <1016051164.18118.3.camel@sonja>
Am Mit, 2002-03-13 um 21.25 schrieb Daniel Egger:
> /opt/gcc/bin/gcc -save-temps -O2 -Wall -Wp,-MD,.deps/glib-genmarshal.pp
> -c glib-genmarshal.c
Now I am confused. It seems like the last cpp which is supposed to
listen to -MD is from the 2.95 series but apparently it still works
for me with HEAD gcc as long I don't use the mentioned -save-temps
switch.
Attached is a testcase which will exhibit the mentioned behaviour
and could go to the testsuit (or be burried together with the
preprocessor switch :))
--
Servus,
Daniel
/* Test for -Wp,-MD,<filename> breakage when used together with
-save-temps.
By Daniel Egger <degger@fhm.edu> 2002-03-13. */
/* { dg-do run } */
/* { dg-options "-save-temps -Wp,-MD,makedependencies.pp" } */
int
main ()
{
return 0;
}