public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/37973] New: -MM fails with when used with -combine
@ 2008-10-31 1:46 jdybnis at gmail dot com
2009-03-30 1:15 ` [Bug c/37973] " tromey at gcc dot gnu dot org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: jdybnis at gmail dot com @ 2008-10-31 1:46 UTC (permalink / raw)
To: gcc-bugs
> echo > x1.c
> echo > x2.c
> gcc -combine -MM x1.c x2.c
cc1: error: too many filenames given. Type cc1 --help for usage
> gcc -combine -MM -save-temps x1.c x2.c
i686-apple-darwin9-gcc-4.2.1: internal gcc abort in main, at
/var/tmp/gcc_42/gcc_42-5564~1/src/gcc/gcc.c:6967
>gcc -v -combine -MM x1.c x2.c
Using built-in specs.
Target: i686-apple-darwin9
Configured with: /var/tmp/gcc_42/gcc_42-5564~1/src/configure --disable-checking
--enable-werror --prefix=/usr --mandir=/usr/share/man
--enable-languages=c,objc,c++,obj-c++
--program-transform-name=/^[cg][^.-]*$/s/$/-4.2/
--with-gxx-include-dir=/usr/include/c++/4.0.0 --with-slibdir=/usr/lib
--build=i686-apple-darwin9 --host=i686-apple-darwin9
--target=i686-apple-darwin9
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5564)
/usr/libexec/gcc/i686-apple-darwin9/4.2.1/cc1 -E -quiet -v -MM -D__DYNAMIC__
x1.c x2.c -fPIC -mmacosx-version-min=10.5.5 -mtune=core2
ignoring nonexistent directory
"/usr/lib/gcc/i686-apple-darwin9/4.2.1/../../../../i686-apple-darwin9/include"
#include "..." search starts here:
#include <...> search starts here:
/usr/local/include
/usr/lib/gcc/i686-apple-darwin9/4.2.1/include
/usr/include
/System/Library/Frameworks (framework directory)
/Library/Frameworks (framework directory)
End of search list.
cc1: error: too many filenames given. Type cc1 --help for usage
--
Summary: -MM fails with when used with -combine
Product: gcc
Version: 4.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jdybnis at gmail dot com
GCC build triplet: i686-apple-darwin9
GCC host triplet: i686-apple-darwin9
GCC target triplet: i686-apple-darwin9
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37973
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c/37973] -MM fails with when used with -combine
2008-10-31 1:46 [Bug c/37973] New: -MM fails with when used with -combine jdybnis at gmail dot com
@ 2009-03-30 1:15 ` tromey at gcc dot gnu dot org
2010-04-09 1:18 ` [Bug c/37973] Document that -MM and -combine don't mix ohnobinki at ohnopublishing dot net
2010-09-17 9:08 ` rguenth at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: tromey at gcc dot gnu dot org @ 2009-03-30 1:15 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from tromey at gcc dot gnu dot org 2009-03-30 01:15 -------
This is not really a bug. I don't think -MM is intended to work
with -combine.
This restriction should be documented, though.
--
tromey at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tromey at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2009-03-30 01:15:49
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37973
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c/37973] Document that -MM and -combine don't mix
2008-10-31 1:46 [Bug c/37973] New: -MM fails with when used with -combine jdybnis at gmail dot com
2009-03-30 1:15 ` [Bug c/37973] " tromey at gcc dot gnu dot org
@ 2010-04-09 1:18 ` ohnobinki at ohnopublishing dot net
2010-09-17 9:08 ` rguenth at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: ohnobinki at ohnopublishing dot net @ 2010-04-09 1:18 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from ohnobinki at ohnopublishing dot net 2010-04-09 01:17 -------
(In reply to comment #1)
> This is not really a bug. I don't think -MM is intended to work
> with -combine.
-combine's existing documentation would make it seem that gcc should call cc1
multiple times, once for each file, because it's in a situation where the
underlying processor does not support multiple files at a time. This would be
analogous to -combine being automatically disabled when a language other than C
is being compiled.
--
ohnobinki at ohnopublishing dot net changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ohnobinki at ohnopublishing
| |dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37973
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c/37973] Document that -MM and -combine don't mix
2008-10-31 1:46 [Bug c/37973] New: -MM fails with when used with -combine jdybnis at gmail dot com
2009-03-30 1:15 ` [Bug c/37973] " tromey at gcc dot gnu dot org
2010-04-09 1:18 ` [Bug c/37973] Document that -MM and -combine don't mix ohnobinki at ohnopublishing dot net
@ 2010-09-17 9:08 ` rguenth at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-09-17 9:08 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from rguenth at gcc dot gnu dot org 2010-09-17 09:06 -------
-combine has been removed from GCC 4.6 in favor of LTO, closing as WONTFIX.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37973
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-09-17 9:08 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-31 1:46 [Bug c/37973] New: -MM fails with when used with -combine jdybnis at gmail dot com
2009-03-30 1:15 ` [Bug c/37973] " tromey at gcc dot gnu dot org
2010-04-09 1:18 ` [Bug c/37973] Document that -MM and -combine don't mix ohnobinki at ohnopublishing dot net
2010-09-17 9:08 ` rguenth at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).