Bug#593086: gcc-4.4: -MG doesn't work with -MD
Package: gcc-4.4
Version: 4.4.4-8
Severity: important
Tags: upstream
*** Please type your report below this line ***
% gcc -MD -MG foo.c
cc1: error: -MG may only be used with -M or -MM
(Contents of source file don't matter.)
According to the manual
`-MD' is equivalent to `-M -MF FILE', except that `-E' is not implied.
so I figure it should work. (It did in previous versions, e.g. 4.1.2)
I'm classifying this as important as there seems to be no
work-around since "-M" implies "-E".
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.34 (SMP w/1 CPU core)
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash
Versions of packages gcc-4.4 depends on:
ii binutils 2.20.1-12 The GNU assembler, linker and bina
ii cpp-4.4 4.4.4-8 The GNU C preprocessor
ii gcc-4.4-base 4.4.4-8 The GNU Compiler Collection (base
ii libc6 2.11.2-2 Embedded GNU C Library: Shared lib
ii libgcc1 1:4.4.4-8 GCC support library
ii libgomp1 4.4.4-8 GCC OpenMP (GOMP) support library
Versions of packages gcc-4.4 recommends:
ii libc6-dev 2.11.2-2 Embedded GNU C Library: Developmen
Versions of packages gcc-4.4 suggests:
ii gcc-4.4-doc 4.4.4.nf1-1 documentation for the GNU compiler
pn gcc-4.4-locales <none> (no description available)
ii gcc-4.4-multilib 4.4.4-8 The GNU C compiler (multilib files
pn libcloog-ppl0 <none> (no description available)
pn libgcc1-dbg <none> (no description available)
pn libgomp1-dbg <none> (no description available)
pn libmudflap0-4.4-dev <none> (no description available)
pn libmudflap0-dbg <none> (no description available)
pn libppl-c2 <none> (no description available)
pn libppl7 <none> (no description available)
-- no debconf information
Reply to: