[Bug preprocessor/64803] [5 Regression] __LINE__ inside macro is not constant

2015-02-03 Thread dodji at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64803 Dodji Seketeli changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug preprocessor/64803] [5 Regression] __LINE__ inside macro is not constant

2015-02-03 Thread dodji at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64803 --- Comment #8 from Dodji Seketeli --- Author: dodji Date: Tue Feb 3 09:26:46 2015 New Revision: 220367 URL: https://gcc.gnu.org/viewcvs?rev=220367&root=gcc&view=rev Log: PR preprocessor/64803 - __LINE__ inside macro is not constant Consider t

[Bug preprocessor/64803] [5 Regression] __LINE__ inside macro is not constant

2015-01-30 Thread dodji at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64803 Dodji Seketeli changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #7 from Dodji Seke

[Bug preprocessor/64803] [5 Regression] __LINE__ inside macro is not constant

2015-01-29 Thread dodji at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64803 --- Comment #6 from Dodji Seketeli --- Created attachment 34622 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34622&action=edit Refined candidate fix patch with regression test and cover letter I have successfully tested this refined patc

[Bug preprocessor/64803] [5 Regression] __LINE__ inside macro is not constant

2015-01-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64803 --- Comment #5 from Jakub Jelinek --- Note, instead of doing such ugly hacks with __LINE__, IMHO gtest should use __COUNTER__ instead, that doesn't care if it is on one line or multiple, and doesn't get upset if you put more such macros on the sa

[Bug preprocessor/64803] [5 Regression] __LINE__ inside macro is not constant

2015-01-29 Thread alserkli at inbox dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64803 --- Comment #4 from Alexander Klimov --- Thanks! Your patch works for llvm.