This is the mail archive of the gcc-patches@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]

Re: -ftree-check for review


On 5/9/07, Nic Volanschi <nic.volanschi@free.fr> wrote:
gcc --tree-check="%_ = fopen(%_, "rw")" *.c

Except this won't match: fopen(XXXX, &"rw"[0]) Or: fopen(XXXX, &"11\0rw"[3])

While the first is more likely (I think the C++ front-end produces
that), the second can happen if people are smart (or doing something
crazy).

Thanks,
Andrew Pinski


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