Null pointer check elimination

Gabriel Dos Reis gdr@integrable-solutions.net
Sat Nov 12 21:15:00 GMT 2005


Andrew Pinski <pinskia@physics.uc.edu> writes:
| Was there an example of:
||| int f(int &);
|| int g(void)
| {
| int *a = 0;
| return f(*a);
| }
||| Yes this would be undefined code but so what.

So it is NOT a compeling example that a reference can be null. You
have to try harder, Andrew.
-- Gaby


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /