develooper Front page | perl.perl5.porters | Postings from September 2003

Re: Interesting - [drow@mvista.com: A user's experiences with GCC-3.4 snapshots]

Thread Previous | Thread Next
From:
Mark Jason Dominus
Date:
September 16, 2003 19:10
Subject:
Re: Interesting - [drow@mvista.com: A user's experiences with GCC-3.4 snapshots]
Message ID:
20030917021057.5948.qmail@plover.com

> Chip Salzenberg <chip@pobox.com>:
> > According to Mark-Jason Dominus:
> > > I suggested (setproctitle!=main) because it seemed to me that there
> > > was no way any compiler could possibly optimize away the comparision:
> > 
> > I agree.  OTOH, I don't think this works:
> > 
> > >         extern int main();
> > >         int (*setproctitle)() = main;
> > 
> 
> You are mistaken.  

No, I am mistaken.  I thought I'd tested it, but I must have made a mistake.

I apologize for calling you superstitious.  

This is exactly what happened to me last time I was snotty to you in a
public forum.  I hope the lesson sticks this time.

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About