public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/37654]  New: gcc-4.3.1: stripping trailing backspace from args fools gcc
@ 2008-09-26 15:40 mmokrejs at ribosome dot natur dot cuni dot cz
  2008-09-26 15:43 ` [Bug other/37654] " mmokrejs at ribosome dot natur dot cuni dot cz
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: mmokrejs at ribosome dot natur dot cuni dot cz @ 2008-09-26 15:40 UTC (permalink / raw)
  To: gcc-bugs

$ gcc -g3\ -O0 mozilla/view/src/nsScrollPortView.cpp
cc1plus: error: unrecognised debug output level "3 -O0"
$ gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with:
/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/configure --prefix=/usr
--bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.3.1
--includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.3.1/include
--datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.1
--mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.1/man
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.1/info
--with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.3.1/include/g++-v4
--host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec
--enable-nls --without-included-gettext --with-system-zlib --disable-checking
--disable-werror --enable-secureplt --disable-multilib --enable-libmudflap
--disable-libssp --enable-cld --enable-java-awt=gtk --with-arch=i686
--enable-languages=c,c++,java,treelang,fortran --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
--with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.3.1-r1 p1.1'
Thread model: posix
gcc version 4.3.1 (Gentoo 4.3.1-r1 p1.1) 
$


-- 
           Summary: gcc-4.3.1: stripping trailing backspace from args fools
                    gcc
           Product: gcc
           Version: 4.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mmokrejs at ribosome dot natur dot cuni dot cz


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37654


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug other/37654] gcc-4.3.1: stripping trailing backspace from args fools gcc
  2008-09-26 15:40 [Bug other/37654] New: gcc-4.3.1: stripping trailing backspace from args fools gcc mmokrejs at ribosome dot natur dot cuni dot cz
@ 2008-09-26 15:43 ` mmokrejs at ribosome dot natur dot cuni dot cz
  2008-09-26 17:20 ` brian at dessent dot net
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: mmokrejs at ribosome dot natur dot cuni dot cz @ 2008-09-26 15:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from mmokrejs at ribosome dot natur dot cuni dot cz  2008-09-26 15:41 -------
Happens also with 4.2.1 but not with 3.3.6.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37654


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug other/37654] gcc-4.3.1: stripping trailing backspace from args fools gcc
  2008-09-26 15:40 [Bug other/37654] New: gcc-4.3.1: stripping trailing backspace from args fools gcc mmokrejs at ribosome dot natur dot cuni dot cz
  2008-09-26 15:43 ` [Bug other/37654] " mmokrejs at ribosome dot natur dot cuni dot cz
@ 2008-09-26 17:20 ` brian at dessent dot net
  2008-09-26 17:26 ` mmokrejs at ribosome dot natur dot cuni dot cz
  2008-09-26 19:29 ` schwab at suse dot de
  3 siblings, 0 replies; 5+ messages in thread
From: brian at dessent dot net @ 2008-09-26 17:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from brian at dessent dot net  2008-09-26 17:18 -------
Subject: Re:   New: gcc-4.3.1: stripping trailing backspace from 
 args fools gcc

What exact problem are you trying to report here?  Quoting a space with
\ to the shell causes it to not split the arguments into two words,
which means gcc receives an argv[1] = "-g3 -O0" which is obviously
bogus.  The error is correct.

It seems like you are confusing a 'make' feature of continuation lines
with the \-newline sequence.  But that's not what you're demonstrating
here, which is shell quoting.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37654


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug other/37654] gcc-4.3.1: stripping trailing backspace from args fools gcc
  2008-09-26 15:40 [Bug other/37654] New: gcc-4.3.1: stripping trailing backspace from args fools gcc mmokrejs at ribosome dot natur dot cuni dot cz
  2008-09-26 15:43 ` [Bug other/37654] " mmokrejs at ribosome dot natur dot cuni dot cz
  2008-09-26 17:20 ` brian at dessent dot net
@ 2008-09-26 17:26 ` mmokrejs at ribosome dot natur dot cuni dot cz
  2008-09-26 19:29 ` schwab at suse dot de
  3 siblings, 0 replies; 5+ messages in thread
From: mmokrejs at ribosome dot natur dot cuni dot cz @ 2008-09-26 17:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from mmokrejs at ribosome dot natur dot cuni dot cz  2008-09-26 17:24 -------
I would actually think that the backslash should be removed by the shell but it
is obviously not what happens. I believe your explanation is correct and
gcc-3.3.6 did not have the check. However, it works with 3.3.6 while not with
newer versions. ;-)

My real problem is https://bugzilla.mozilla.org/show_bug.cgi?id=455468 .

Clues?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37654


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug other/37654] gcc-4.3.1: stripping trailing backspace from args fools gcc
  2008-09-26 15:40 [Bug other/37654] New: gcc-4.3.1: stripping trailing backspace from args fools gcc mmokrejs at ribosome dot natur dot cuni dot cz
                   ` (2 preceding siblings ...)
  2008-09-26 17:26 ` mmokrejs at ribosome dot natur dot cuni dot cz
@ 2008-09-26 19:29 ` schwab at suse dot de
  3 siblings, 0 replies; 5+ messages in thread
From: schwab at suse dot de @ 2008-09-26 19:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from schwab at suse dot de  2008-09-26 19:27 -------
Not a gcc bug.


-- 

schwab at suse dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37654


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-09-26 19:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-26 15:40 [Bug other/37654] New: gcc-4.3.1: stripping trailing backspace from args fools gcc mmokrejs at ribosome dot natur dot cuni dot cz
2008-09-26 15:43 ` [Bug other/37654] " mmokrejs at ribosome dot natur dot cuni dot cz
2008-09-26 17:20 ` brian at dessent dot net
2008-09-26 17:26 ` mmokrejs at ribosome dot natur dot cuni dot cz
2008-09-26 19:29 ` schwab at suse dot de

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).