On Nov 19, 2009, at 10:30 AM, Ken Dyck wrote: > On Thursday, November 19, 2009 11:26 AM, Chris Lattner wrote: >> >> Are the ptrdiff types ever actually different from the >> intptr types? > > Not on any of the architectures that llvm currently targets. Or any > architecture that I know of, for that matter. On the other hand, the C > standard, as far as I understand it, allows the two types to vary > independently.
Ok, well please do the simplest thing possible. If it is cleaner to model it as one type, or cleaner to model them independently, do the best thing. I'd rather not worry about crazy "theoretically possible" architectures if it makes things less clean. -Chris _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
