[lkml]   [2002]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] C undefined behavior fix
    David Woodhouse wrote:
    > What part of 'undefined behaviour' is so difficult for people to understand?

    The behaviour is undefined by the C standard. But the mentioned
    pointer arithmetic is defined in the environment where it has been
    used. GCC tries to optimize undefined C-standard behaviour. And
    IMHO that's the point. It may optimize defined behaviour and should
    not touch things undefined by the standard.

    Ciao, ET.

    PS: Hey, we are talking about C, the de luxe assembler! *g*
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:15    [W:0.020 / U:3.360 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site