Re: sparse segfaults

Mitchell Blank Jr
2004-11-21T23:42:29Z

Jan Engelhardt wrote:
> >Actually, this is documented gcc behaviour,[...]
> >you can do
> > int tickadj = *ptr++ ? : 1;
> >and it's well-behaved in that it increments the pointer only once.
>
> And it's specific to GCC. This kinda ruins some tries to get ICC working on the
> kernel tree :)

By ICC do you mean the Intel compiler? It's supported the GCC Extension
"Conditionals with Omitted Operands" since at least version 5.0.1. See:
http://www.intel.com/software/products/compilers/c50/linux/comp501.pdf

-Mitch