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

[Bug tree-optimization/21582] (optimisation) VRP pass could/should use non-null function attribute


------- Additional Comments From arjanv at redhat dot com  2005-06-02 12:59 -------
simple test case:

#include <stdio.h>

static inline void do_thing(char *s)
{
        if (s)
                printf("do_thing: %s \n", s);
}

void __attribute__((nonnull)) do_other_thing(char *s)
{
        do_thing(s);
}



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21582


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