This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/35379] New: -MT generates a target string too long over two lines
- From: "uriah at mobiletornado dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Feb 2008 14:21:16 -0000
- Subject: [Bug preprocessor/35379] New: -MT generates a target string too long over two lines
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Precondition: an empty file named "dummy.c" exists in the current directory.
The following command:
arm-elf-gcc -c -MM -MT
123456789a123456789b123456789c123456789d123456789e123456789f123456789g123
dummy.c
generates the following output:
\
123456789a123456789b123456789c123456789d123456789e123456789f123456789g123: \
dummy.c
Starting with a redundant " \<newline> ".
The length of the -MT argument is 73 characters. For 72 characters this does
not happen. The following command:
arm-elf-gcc -c -MM -MT
123456789a123456789b123456789c123456789d123456789e123456789f123456789g12
dummy.c
generates the following output:
123456789a123456789b123456789c123456789d123456789e123456789f123456789g12: \
dummy.c
(the redundant spaces may interfere with make operation, apparently)
arm-elf-gcc -v output:
Using built-in specs.
Target: arm-elf
Configured with: ../../gcc-4.1.1/configure --enable-languages=c,c++
--enable-int
erwork --enable-multilib --with-gcc --with-gnu-ld --with-gnu-as --with-stabs
--d
isable-shared --disable-threads --disable-libssp --disable-libstdcxx-pch
--disab
le-libmudflap --disable-win32-registry --disable-nls --disable-debug
--without-h
eaders --with-newlib --target=arm-elf --prefix=c:/WinARM -v
Thread model: single
gcc version 4.1.1 (WinARM)
--
Summary: -MT generates a target string too long over two lines
Product: gcc
Version: 4.1.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: preprocessor
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: uriah at mobiletornado dot com
GCC host triplet: Win32
GCC target triplet: arm-elf
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35379