www.delorie.com/archives/browse.cgi   search  
Mail Archives: pgcc/1999/04/26/20:13:19

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)
From: jerry AT cs DOT ucsb DOT edu (Jerry James)
Date: 26 Apr 1999 17:08:43 -0700
Message-ID: <tpr3e1mexh0.fsf@cs.ucsb.edu>
Lines: 20
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
X-Face: +5(Pfr,;N<RBl'|Xv5zrC\p$;u*nfOiN-E:PeZJda+Y!RC[QkTvF*GR',H5EV,-b;n*%1Hb
{ZR|hIzas}[;QCvbj=M*ht_-Yp72~mNX0ZVO\$t-6X:mauuY-YrLYDZ$,SnTL^ni{aFj;i1FgDEo,'
p;B!2B!_F=,`R%TDZxPy@+{&qNKT:9-xg(Z**>>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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019