lkml.org 
[lkml]   [2004]   [Nov]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 14:08    [W:0.041 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site