To: pgcc AT delorie DOT com Subject: [1.1.3] genattrtab exposes optimization bug X-Url: http://www.cs.ucsb.edu/~jerry/ X-Tom-Swiftie: "My lenses will stay perfectly clear," Tom said optimistically. Mime-Version: 1.0 (generated by tm-edit 7.108) Content-Type: text/plain; charset=US-ASCII From: jerry AT cs DOT ucsb DOT edu (Jerry James) Date: 26 Apr 1999 17:08:43 -0700 Message-ID: Lines: 20 X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald" X-Face: +5(Pfr,;N>q#6NT,Qi5^TQh-MaUnz#kGN~OW[CQj~RS+sIor( '_8K^f9u^Y#.N`>9oKN$\JpI Reply-To: pgcc AT delorie DOT com 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/