This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
[BUG] pragma: attempt to use poisoned * in struct member
- From: Jiri Slaby <jirislaby at gmail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Sat, 08 Nov 2008 14:20:42 +0100
- Subject: [BUG] pragma: attempt to use poisoned * in struct member
Hi,
while compiling slightly augmented cc1, I've found a poison pragma bug. Here
comes a trimmed example of the bug:
$ echo -e '#pragma GCC poison malloc\nstruct { int malloc; };'|gcc - -E -o/dev/null
<stdin>:2:14: error: attempt to use poisoned "malloc"