This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: -MD together with -save-temps broken


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; 
}

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]