public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/39646]  New: __FILE__ breaks for empty file name
@ 2009-04-05 13:05 neil at gcc dot gnu dot org
  2009-04-08 16:07 ` [Bug preprocessor/39646] " jsm28 at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: neil at gcc dot gnu dot org @ 2009-04-05 13:05 UTC (permalink / raw)
  To: gcc-bugs

GCC rejects the following strictly conforming TU with -pedantic-errors

extern int x;

#line 24 ""
extern char z[sizeof __FILE__ == 1];


-- 
           Summary: __FILE__ breaks for empty file name
           Product: gcc
           Version: 4.1.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: neil at gcc dot gnu dot org


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


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

end of thread, other threads:[~2009-04-18 17:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-05 13:05 [Bug c/39646] New: __FILE__ breaks for empty file name neil at gcc dot gnu dot org
2009-04-08 16:07 ` [Bug preprocessor/39646] " jsm28 at gcc dot gnu dot org
2009-04-18 17:36 ` jsm28 at gcc dot gnu dot org
2009-04-18 17:38 ` jsm28 at gcc dot gnu dot 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).