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 c/30368] wrong result



------- Comment #2 from pinskia at gcc dot gnu dot org  2007-01-05 05:23 -------
Actually this is undefined by the C standard as you are deferencing a null
pointer, yes &a->b is implemented as a pointer arthematic but it is still a
deferencing according to the C standard.


-- 


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


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