------- Comment #44 from rogerio at rilhas dot com 2010-08-13 16:30 ------- (In reply to comment #35) > > char* p1=(char*)0x3000; // address not pointing to any "C-object in the C99 > > sense" > > char* p2=(char*)0x4000; // address not pointing to any "C-object in the C99 > > sense" > > > > Can GCC users trust that p2-p1 will always return a predictable and well > > defined integer value of 0x1000 on any platform with 16-bit or more that GCC > > currently supports or that will come to support in the future? > [ ] Yes > [x] No
There you go, you are now famous. http://en.wikipedia.org/wiki/GNU_Compiler_Collection#Criticism The comunity has been warned about GCC. It was a good day's work after all. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45265