[BUG] pragma: attempt to use poisoned * in struct member

Jiri Slaby jirislaby@gmail.com
Sat Nov 8 13:21:00 GMT 2008


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"



More information about the Gcc mailing list