This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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"


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]