From owner-cvs-ports Thu Dec 19 23:27:45 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id XAA08825 for cvs-ports-outgoing; Thu, 19 Dec 1996 23:27:45 -0800 (PST) Received: (from andreas@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id XAA08816; Thu, 19 Dec 1996 23:27:43 -0800 (PST) Date: Thu, 19 Dec 1996 23:27:43 -0800 (PST) From: Andreas Klemm Message-Id: <199612200727.XAA08816@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-ports Subject: cvs commit: ports/lang/pgcc-current/patches patch-ac patch-ab Sender: owner-cvs-ports@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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 Revision Changes Path 1.2 +1 -1 ports/lang/pgcc-current/patches/patch-ab