------- Comment #8 from redi at gcc dot gnu dot org 2010-08-12 15:52 ------- (In reply to comment #6) > (In reply to comment #4) > > Pretty please, before filing further bugs take time and learn C. > > The pointer subtraction triggers undefined behavior, because one pointer > > points > > to one object and the other pointer points to different object. > > Pretty pretty please: before you give out such wrong and embarassing answers > please take the time to learn the standards and also take the time to learn > how > to read.
Bravo, well trolled. > I'm subtracting 2 pointers of the same type. If you knew how to read you would > have seen that p1 and p2 are of the same type. Or maybe you just don't know C, > but I'm sure you can learn it so that you can be helpful to the GCC team and > not waste my time. Please stop trying to use GCC, we'll all be better off. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45265