https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64803
Dodji Seketeli changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64803
Dodji Seketeli changed:
What|Removed |Added
Status|NEW |ASSIGNED
--- Comment #7 from Dodji Seke
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
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64803
--- Comment #4 from Alexander Klimov ---
Thanks! Your patch works for llvm.