This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: powerpc-ibm-aix4.3.3.0 bootstrap issue


mike stump <mrs@windriver.com> writes:

|> > From: Alexandre Oliva <aoliva@redhat.com>
|> > Date: 24 Oct 2001 17:48:35 -0200
|> 
|> > But I still don't see how this would lead to bootstrap compare
|> > failures, or to differences not showing up when the compiler is run
|> > inside a debugger.
|> 
|> For much the same reason that:
|> 
|> main() {
|>        char *a[2];
|>        a[0]=strdup("Hi");
|>        a[1]=strdup("Hello");
|>        qsort (a, 2, sizeof(char*), strcmp);
|>        printf("%s\n", a[0]);
|> }
|> 
|> might print Hi, or Hello.

Or even crash.

Andreas.

-- 
Andreas Schwab                                  "And now for something
Andreas.Schwab@suse.de				completely different."
SuSE Labs, SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]