[Bug preprocessor/38161] [4.4 regression] #elif non-const expression #defined in this #if breaks

2013-05-20 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38161 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added CC||signupnathan at

[Bug preprocessor/38161] [4.4 regression] #elif non-const expression #defined in this #if breaks

2013-05-20 Thread harald at gigawatt dot nl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38161 Harald van Dijk harald at gigawatt dot nl changed: What|Removed |Added CC||harald at

[Bug preprocessor/38161] [4.4 regression] #elif non-const expression #defined in this #if breaks

2013-05-20 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38161 --- Comment #7 from Andrew Pinski pinskia at gcc dot gnu.org --- *** Bug 57345 has been marked as a duplicate of this bug. ***

[Bug preprocessor/38161] [4.4 regression] #elif non-const expression #defined in this #if breaks

2008-12-05 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2008-12-05 12:20 --- *** This bug has been marked as a duplicate of 36453 *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug preprocessor/38161] [4.4 regression] #elif non-const expression #defined in this #if breaks

2008-11-18 Thread neil at gcc dot gnu dot org
--- Comment #3 from neil at gcc dot gnu dot org 2008-11-18 22:18 --- The standard talks about the groups controlled by conditionals being skipped. There is no conditional controlling the #elif - it is at the top level - so I see nothing permitting its non-evaluation. --

[Bug preprocessor/38161] [4.4 regression] #elif non-const expression #defined in this #if breaks

2008-11-17 Thread tromey at gcc dot gnu dot org
--- Comment #1 from tromey at gcc dot gnu dot org 2008-11-17 17:29 --- According to my reading of the standard, this code is in fact incorrect. This is basically the same as #36320. I'm beginning to wonder, though, whether this change was overly eager on my part and should be made

[Bug preprocessor/38161] [4.4 regression] #elif non-const expression #defined in this #if breaks

2008-11-17 Thread h dot b dot furuseth at usit dot uio dot no
--- Comment #2 from h dot b dot furuseth at usit dot uio dot no 2008-11-17 20:15 --- Subject: Re: [4.4 regression] #elif non-const expression #defined in this #if breaks Yes, I should have read the #36320 text more carefully. I merely noticed that its empty #elif cannot expand to