| From: | Greg Stark <stark(at)enterprisedb(dot)com> | 
|---|---|
| To: | Martijn van Oosterhout <kleptog(at)svana(dot)org> | 
| Cc: | Robert Lor <Robert(dot)Lor(at)sun(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Zdenek Kotala <Zdenek(dot)Kotala(at)sun(dot)com>, pgsql-hackers(at)postgresql(dot)org | 
| Subject: | Re: DTrace probes broken in HEAD on Solaris? | 
| Date: | 2009-03-24 22:18:08 | 
| Message-ID: | 4136ffa0903241518h9a2a442qfaaa7b8741a0fa65@mail.gmail.com | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | pgsql-hackers | 
On Tue, Mar 24, 2009 at 10:12 PM, Martijn van Oosterhout
<kleptog(at)svana(dot)org> wrote:
> Not really a GCC extension, but you could have the macro check that it
> can take the address of the arguments, which amounts to almost the same
> thing. It only doesn't work on constants.
No, there are all kinds of complex expressions which are lvalues --
anything ending in a pointer dereference for example, which is
precisely the most likely kind of expression to introduce seg fault if
something is unexpectedly null
.
-- 
greg
| From | Date | Subject | |
|---|---|---|---|
| Next Message | David E. Wheeler | 2009-03-24 22:31:36 | Re: small but useful patches for text search | 
| Previous Message | Martijn van Oosterhout | 2009-03-24 22:12:09 | Re: DTrace probes broken in HEAD on Solaris? |