https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36887
Lewis Hyatt changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36887
--- Comment #5 from CVS Commits ---
The master branch has been updated by Lewis Hyatt :
https://gcc.gnu.org/g:cb05acdcea298b62e7fb00dcc153f5d506d085fe
commit r14-4874-gcb05acdcea298b62e7fb00dcc153f5d506d085fe
Author: Lewis Hyatt
Date: Thu Se
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36887
Lewis Hyatt changed:
What|Removed |Added
CC||lhyatt at gcc dot gnu.org
--- Comment #4 f
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36887
--- Comment #3 from Andrew Pinski ---
Simplified testcase:
#pragma GCC poison a
int a;
GCC outputs:
:2:5: error: attempt to use poisoned "a"
2 | int a;
| ^
But not the location of the #pragma which would be useful to debug why it
--- Comment #2 from tromey at gcc dot gnu dot org 2008-07-21 14:36 ---
Seems like a reasonable idea to me.
--
tromey at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #1 from h dot b dot furuseth at usit dot uio dot no 2008-07-21
11:36 ---
Subject: Re: New: Please report #pragma GCC poison" location
Sorry about the empty report. Anyway:
The warning
a.c:2:5: attempt to use poisoned "foo"
is not intelligle if one does not know about