public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug preprocessor/47254] New: ICE: unspellable token PRAGMA_EOL with #pragma redefine_extname and -fdirectives-only
@ 2011-01-11  3:16 zsojka at seznam dot cz
  2013-05-17  9:06 ` [Bug preprocessor/47254] " manu at gcc dot gnu.org
  2023-10-30 21:04 ` lhyatt at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: zsojka at seznam dot cz @ 2011-01-11  3:16 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: ICE: unspellable token PRAGMA_EOL with #pragma
                    redefine_extname and -fdirectives-only
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: preprocessor
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz


----- testcase.c -----
#pragma redefine_extname x y
#define something
----------------------

Compiler output:
$ gcc -fdirectives-only -save-temps testcase.c
testcase.c:1:18: warning: missing whitespace after the macro name [enabled by
default]
testcase.c:1:18: internal compiler error: unspellable token PRAGMA_EOL
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

(fails with -E as well)


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

* [Bug preprocessor/47254] ICE: unspellable token PRAGMA_EOL with #pragma redefine_extname and -fdirectives-only
  2011-01-11  3:16 [Bug preprocessor/47254] New: ICE: unspellable token PRAGMA_EOL with #pragma redefine_extname and -fdirectives-only zsojka at seznam dot cz
@ 2013-05-17  9:06 ` manu at gcc dot gnu.org
  2023-10-30 21:04 ` lhyatt at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: manu at gcc dot gnu.org @ 2013-05-17  9:06 UTC (permalink / raw)
  To: gcc-bugs

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

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2013-05-17
                 CC|                            |manu at gcc dot gnu.org
     Ever confirmed|0                           |1
      Known to fail|                            |4.7.2

--- Comment #2 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to Shakthi Kannan from comment #1)
> Confirmed.

You can edit bug status if you login with your gcc.gnu.org account.

It is also broken on trunk gcc version 4.9.0 20130502 (experimental) [trunk
revision 198545] (GCC)
>From gcc-bugs-return-422505-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 17 09:10:37 2013
Return-Path: <gcc-bugs-return-422505-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10854 invoked by alias); 17 May 2013 09:10:37 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 10809 invoked by uid 48); 17 May 2013 09:10:34 -0000
From: "skannan at redhat dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug preprocessor/47254] ICE: unspellable token PRAGMA_EOL with #pragma redefine_extname and -fdirectives-only
Date: Fri, 17 May 2013 09:10:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: preprocessor
X-Bugzilla-Version: 4.6.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: skannan at redhat dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-47254-4-McHlqrYB5e@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-47254-4@http.gcc.gnu.org/bugzilla/>
References: <bug-47254-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2013-05/txt/msg01178.txt.bz2
Content-length: 220

http://gcc.gnu.org/bugzilla/show_bug.cgi?idG254

--- Comment #3 from Shakthi Kannan <skannan at redhat dot com> ---
Sorry, I don't have a gcc.gnu.org account. Can you please change the status to
"Confirmed"?

Thanks!


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

* [Bug preprocessor/47254] ICE: unspellable token PRAGMA_EOL with #pragma redefine_extname and -fdirectives-only
  2011-01-11  3:16 [Bug preprocessor/47254] New: ICE: unspellable token PRAGMA_EOL with #pragma redefine_extname and -fdirectives-only zsojka at seznam dot cz
  2013-05-17  9:06 ` [Bug preprocessor/47254] " manu at gcc dot gnu.org
@ 2023-10-30 21:04 ` lhyatt at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: lhyatt at gcc dot gnu.org @ 2023-10-30 21:04 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47254

Lewis Hyatt <lhyatt at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=108244
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
                 CC|                            |lhyatt at gcc dot gnu.org

--- Comment #5 from Lewis Hyatt <lhyatt at gcc dot gnu.org> ---
This got fixed by r13-5114 (PR 108244) and is the same thing. That issue with
deferred pragmas in -fdirectives-only was identified as a latent problem
(revealed for diagnostic pragmas by r13-1544), and indeed this PR was there
pointing to the same thing much earlier. In any case, the testcases added
already (esp. c-c++-common/cpp/pr108244-2.c) provide coverage for this one too,
so closing it as fixed.

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

end of thread, other threads:[~2023-10-30 21:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-11  3:16 [Bug preprocessor/47254] New: ICE: unspellable token PRAGMA_EOL with #pragma redefine_extname and -fdirectives-only zsojka at seznam dot cz
2013-05-17  9:06 ` [Bug preprocessor/47254] " manu at gcc dot gnu.org
2023-10-30 21:04 ` lhyatt at gcc dot gnu.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).