Messages in this thread | | | Date | Sun, 21 Nov 2004 15:43:30 -0800 | From | Mitchell Blank Jr <> | Subject | Re: sparse segfaults |
| |
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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |