Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Dec 1996 23:27:43 -0800 (PST)
From:      Andreas Klemm <andreas>
To:        CVS-committers, cvs-all, cvs-ports
Subject:   cvs commit:  ports/lang/pgcc-current/patches patch-ac patch-ab
Message-ID:  <199612200727.XAA08816@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
andreas     96/12/19 23:27:43

  Modified:    lang/pgcc-current/patches  patch-ab
  Added:       lang/pgcc-current/patches  patch-ac
  Log:
  Bootstrap pgcc-current using -O instead of -O2 (for safety reasons, I don't
  want higher optimization levels result in unsafer binaries).
  
  Fix bug, that causes core dumps when using higher optimization levels
  than -O2.
  
  Results with dhrystone 2.1 (1000000 loops):
  	stock cc (2.7.2.1 from current)	:	136k	(136xxx)
  	pgcc-current with -O2		:	138k
  	pgcc-current with -O6		:	172k
  
  And no coredump anymore. Reason for coredump:
  With -O3 cc1 does an register-to-register-copy optimization and it tries
  to write some debugging information about what it is doing into a file
  that does not exist unless you have instructed cc1 to dump all its
  information about its internal state. (From: Sascha Blank)
  
  BTW:	PLIST is really coming soon, it's on my todo list ;-)
  BTW2:	Is Sascha already in the contributors list ? Have to go to work now.
  
  Submitted by:	Sascha Blank <blank@sliphost37.uni-trier.de>
  
  Revision  Changes    Path
  1.2       +1 -1      ports/lang/pgcc-current/patches/patch-ab



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612200727.XAA08816>