public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: preprocessor/4492: cpp incorrectly omits whitespace in output (affects linux build)
@ 2001-10-06 10:56 Neil Booth
  0 siblings, 0 replies; 3+ messages in thread
From: Neil Booth @ 2001-10-06 10:56 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR preprocessor/4492; it has been noted by GNATS.

From: Neil Booth <neil@daikokuya.demon.co.uk>
To: paul.stoeber@in.stud.tu-ilmenau.de
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: preprocessor/4492: cpp incorrectly omits whitespace in output (affects linux build)
Date: Sat, 6 Oct 2001 18:48:48 +0100

 Wow.  I was aware of this one remaining issue (we don't backup over
 padding tokens when looking for the '(' after a macro name), but I
 didn't expect anyone to trip over it so quickly.
 
 I'll work something out soon.
 
 Neil.


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

* Re: preprocessor/4492: cpp incorrectly omits whitespace in output (affects linux build)
@ 2001-10-07 23:23 neil
  0 siblings, 0 replies; 3+ messages in thread
From: neil @ 2001-10-07 23:23 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, nobody, paul.stoeber

Synopsis: cpp incorrectly omits whitespace in output (affects linux build)

State-Changed-From-To: open->closed
State-Changed-By: neil
State-Changed-When: Sun Oct  7 23:23:43 2001
State-Changed-Why:
    Fixed.  Thanks for the bug report and simple testcase.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=4492&database=gcc


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

* preprocessor/4492: cpp incorrectly omits whitespace in output (affects linux build)
@ 2001-10-06  8:56 paul.stoeber
  0 siblings, 0 replies; 3+ messages in thread
From: paul.stoeber @ 2001-10-06  8:56 UTC (permalink / raw)
  To: gcc-gnats

>Number:         4492
>Category:       preprocessor
>Synopsis:       cpp incorrectly omits whitespace in output (affects linux build)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 06 08:56:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Paul Stoeber
>Release:        3.1 20010930 (experimental)
>Organization:
>Environment:
System: Linux tulgey 2.4.9-pre3 #10 Wed Oct 3 16:18:13 UTC 2001 ppc unknown
Architecture: ppc
host: powerpc-unknown-linux-gnu
build: powerpc-unknown-linux-gnu
target: powerpc-unknown-linux-gnu
configured with: ../gcc/configure --prefix=/home/wtq/gcc-inst --enable-languages=c
>Description:
$ cat bug.c
#define A(x) B x
#define B(k)
A(C)
$ /home/wtq/gcc-inst/bin/cpp -v bug.c
Reading specs from /home/wtq/gcc-inst/lib/gcc-lib/powerpc-unknown-linux-gnu/3.1/specs
Configured with: ../gcc/configure --prefix=/home/wtq/gcc-inst --enable-languages=c
Thread model: single
gcc version 3.1 20010930 (experimental)
 /home/wtq/gcc-inst/lib/gcc-lib/powerpc-unknown-linux-gnu/3.1/cpp0 -lang-c -v -DPPC -D__ELF__ -Dpowerpc -D__PPC__ -D__ELF__ -D__powerpc__ -D__PPC -D__powerpc -Acpu=powerpc -Amachine=powerpc -D__CHAR_UNSIGNED__ -D__NO_INLINE__ -D__STDC_HOSTED__=1 -D_CALL_SYSV -D_BIG_ENDIAN -D__BIG_ENDIAN__ -Amachine=bigendian -D_ARCH_PPC -D__unix__ -D__linux__ -Dunix -D__unix -Dlinux -D__linux -Asystem=unix -Asystem=posix bug.c
GNU CPP version 3.1 20010930 (experimental) (cpplib) (PowerPC GNU/Linux)
ignoring nonexistent directory "/home/wtq/gcc-inst/powerpc-unknown-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include
 /home/wtq/gcc-inst/include
 /home/wtq/gcc-inst/lib/gcc-lib/powerpc-unknown-linux-gnu/3.1/include
 /usr/include
End of search list.
# 1 "bug.c"
# 1 "<builtin>"
# 1 "<command line>"
# 1 "bug.c"


BC
$ 

>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:


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

end of thread, other threads:[~2001-10-07 23:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-06 10:56 preprocessor/4492: cpp incorrectly omits whitespace in output (affects linux build) Neil Booth
  -- strict thread matches above, loose matches on Subject: below --
2001-10-07 23:23 neil
2001-10-06  8:56 paul.stoeber

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