Mail Archives: pgcc/1999/04/26/22:22:04
respect for pgcc 1.1.3 now, I managed to sucessfully compile my kernel,
isdn4linux and pgcc itself with these flags on a i586-pc-linux-gnu system:
(pgcc partly with rtti & execptions :)
-Wall -Wstrict-prototypes -O6 -fomit-frame-pointer -mieee-fp -malign-double
-mstack-align-double -funroll-all-loops -march=pentium -fno-exceptions -fno-
rtti -malign-loops=2 -malign-jumps=2 -malign-functions=2
this will become my standard CFLAGS if no further problems occur, any hints
on further optimalisations?
----- Original Message -----
From: Jerry James <jerry AT cs DOT ucsb DOT edu>
To: <pgcc AT delorie DOT com>
Sent: Tuesday, April 27, 1999 2:08 AM
Subject: [1.1.3] genattrtab exposes optimization bug
>
> I wanted to see how well pgcc can optimize itself, just to get some idea
> of how trustworthy its optimizations are. My first build, with -O6 used
> for everything, crashed when it tried to run genattrtab (with a
> segmentation fault). My experiments indicate that the problem is with
> the compilation of genattrtab.c itself, although I haven't tracked it
> down to a specific point in the code. If anyone is interested in
> tracking this down, here's what I know so far:
>
> -O3: works
> -O4: segmentation fault
> -O4 -fno-risc: works
> -O5 -fno-risc: segmentation fault
> -O5 -fno-risc -fno-omit-frame-pointer: works
> -O6 -fno-risc -fno-omit-frame-pointer: works
>
> This is on a Pentium II-based Solaris 7 system.
> --
> Jerry James
> Email: jerry AT cs DOT ucsb DOT edu
> WWW: http://www.cs.ucsb.edu/~jerry/
>
- Raw text -