public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug preprocessor/38161]  New: #elif <non-const expression #defined in this #if> breaks
@ 2008-11-16 21:16 h dot b dot furuseth at usit dot uio dot no
  2008-11-17 17:30 ` [Bug preprocessor/38161] [4.4 regression] " tromey at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: h dot b dot furuseth at usit dot uio dot no @ 2008-11-16 21:16 UTC (permalink / raw)
  To: gcc-bugs

#ifndef FOO
#define FOO sizeof(void *)
#elif FOO
#endif
t.c:3:7: error: missing binary operator before token "("

I expect it's caused by the fix to bug #36320.


-- 
           Summary: #elif <non-const expression #defined in this #if> breaks
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: preprocessor
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: h dot b dot furuseth at usit dot uio dot no
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


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


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

end of thread, other threads:[~2013-05-20 22:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-38161-4@http.gcc.gnu.org/bugzilla/>
2013-05-20 22:39 ` [Bug preprocessor/38161] [4.4 regression] #elif <non-const expression #defined in this #if> breaks jakub at gcc dot gnu.org
2013-05-20 22:42 ` harald at gigawatt dot nl
2013-05-20 22:52 ` pinskia at gcc dot gnu.org
2008-11-16 21:16 [Bug preprocessor/38161] New: " h dot b dot furuseth at usit dot uio dot no
2008-11-17 17:30 ` [Bug preprocessor/38161] [4.4 regression] " tromey at gcc dot gnu dot org
2008-11-17 20:16 ` h dot b dot furuseth at usit dot uio dot no
2008-11-18 22:19 ` neil at gcc dot gnu dot org
2008-12-05 12:30 ` rguenth 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).