public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "lindsayd at cisco dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug preprocessor/14438] New: -E of #pragma poison has negative line number
Date: Fri, 05 Mar 2004 00:23:00 -0000	[thread overview]
Message-ID: <20040305002353.14438.lindsayd@cisco.com> (raw)

A i686-pc-linux-gnu compiler built from 
  gcc-3.4-20040303.tar.bz2
exhibits this:

echo "#pragma GCC poison foo" > _dummy.c
gcc -E -nostdinc _dummy.c
  # 1 "_dummy.c"
  # 1 "<built-in>"
  # 1 "<command line>"
  # 1 "_dummy.c"       
  # 4294967218 "_dummy.c"

Umm, ah, line number 4294967218 ? This bug was brought to my attention by GAS,
when it said:
   line numbers must be positive; line number -15 rejected

The bug is in GCC-3.3.2 but isn't in 3.3.1.

-- 
           Summary: -E of #pragma poison has negative line number
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: preprocessor
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: lindsayd at cisco dot com
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: native


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


             reply	other threads:[~2004-03-05  0:23 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-05  0:23 lindsayd at cisco dot com [this message]
2004-03-05  8:20 ` [Bug preprocessor/14438] [3.4/3.5 Regression] " pinskia at gcc dot gnu dot org
2004-03-10 16:22 ` [Bug preprocessor/14438] [3.3/3.4/3.5 Regression] -E of #pragma " reichelt at gcc dot gnu dot org
2004-03-11  6:55 ` aoliva at gcc dot gnu dot org
2004-03-20 21:17 ` reichelt at gcc dot gnu dot org
2004-03-21 20:16 ` zack at gcc dot gnu dot org
2004-03-21 20:18 ` mmitchel at gcc dot gnu dot org
2004-03-21 22:11 ` gdr at integrable-solutions dot net
2004-03-23  0:45 ` aoliva at gcc dot gnu dot org
2004-03-23  0:55 ` lindsayd at cisco dot com
2004-03-23  1:13 ` aoliva at gcc dot gnu dot org
2004-03-24  3:18 ` cvs-commit at gcc dot gnu dot org
2004-03-24  3:19 ` cvs-commit at gcc dot gnu dot org
2004-03-24  3:19 ` cvs-commit at gcc dot gnu dot org
2004-03-24  3:27 ` [Bug preprocessor/14438] [3.5, needs investigation] " aoliva at gcc dot gnu dot org
2004-03-24  4:31 ` aoliva at redhat dot com
2004-03-24  4:36 ` neroden at gcc dot gnu dot org
2004-03-24  4:59 ` zack at codesourcery dot com
2004-03-30 21:59 ` aoliva at redhat dot com
2004-03-31  0:07 ` [Bug preprocessor/14438] Potential need for buffer overflow checks in _cpp_lex_direct zack at gcc dot gnu dot org
2004-03-31  0:08 ` zack at gcc dot gnu dot org
2004-03-31  0:09 ` zack at gcc dot gnu dot org
2005-04-21  5:06 ` mmitchel at gcc dot gnu dot org
2005-07-05  2:14 ` pinskia at gcc dot gnu dot org
2005-07-08  1:44 ` mmitchel at gcc dot gnu dot org
2005-09-10  5:58 ` pinskia at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040305002353.14438.lindsayd@cisco.com \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).