From owner-freebsd-current Mon May 13 17:47:50 2002 Delivered-To: freebsd-current@freebsd.org Received: from motgate2.mot.com (motgate2.mot.com [136.182.1.10]) by hub.freebsd.org (Postfix) with ESMTP id 2E7F137B405 for ; Mon, 13 May 2002 17:47:45 -0700 (PDT) Received: [from pobox4.mot.com (pobox4.mot.com [10.64.251.243]) by motgate2.mot.com (motgate2 2.1) with ESMTP id RAA21979 for ; Mon, 13 May 2002 17:47:44 -0700 (MST)] Received: [from latour.rsch.comm.mot.com (latour.rsch.comm.mot.com [145.1.80.116]) by pobox4.mot.com (MOT-pobox4 2.0) with ESMTP id RAA27663 for ; Mon, 13 May 2002 17:47:43 -0700 (MST)] Received: from latour.rsch.comm.mot.com (localhost.rsch.comm.mot.com [127.0.0.1]) by latour.rsch.comm.mot.com (8.12.3/8.12.3) with ESMTP id g4E0lgNM063135; Mon, 13 May 2002 19:47:42 -0500 (CDT) (envelope-from rittle@latour.rsch.comm.mot.com) Received: (from rittle@localhost) by latour.rsch.comm.mot.com (8.12.3/8.12.3/Submit) id g4E0lgsT063134; Mon, 13 May 2002 19:47:42 -0500 (CDT) Date: Mon, 13 May 2002 19:47:42 -0500 (CDT) From: Loren James Rittle Message-Id: <200205140047.g4E0lgsT063134@latour.rsch.comm.mot.com> To: current@freebsd.org Subject: Re: GCC-3.1 Optimization -Os broken In-Reply-To: <3CE01A94.9000109@gmx.de> Organization: Networks and Infrastructure Lab (IL02/2240), Motorola Labs Cc: D.Rock@t-online.de Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In article <3CE01A94.9000109@gmx.de> you write: > found the bug: -Os compilation seems broken with gcc-3.1. I normally > [...] I know any other optimization than -O isn't supported but this bug > (either in libalias or in gcc) should be investigated. I can narrow it down *much* further to exact small test cases. FYI, there are 8 C failures in the gcc 3.1 testsuite for FreeBSD/i386: 4 involve -Os (Quite sorry I never got around to fixing them before the release; I don't usually do per-CPU fixes but I could have requested help from the people that do.) 4 involve -Wformat checking not working in all cases (vfscanf only and then again only when not using the proper system headers; the test cases attempt to declare the prototypes). There are 2 C++ failures (only one of which is seen without linking against -lc_r); neither are extremely important. See http://gcc.gnu.org/ml/gcc-testresults/2002-05/msg00412.html http://gcc.gnu.org/ml/gcc-testresults/2002-05/msg00458.html FreeBSD/alpha is looking almost as good (more libgcj failures) http://gcc.gnu.org/ml/gcc-testresults/2002-05/msg00455.html http://gcc.gnu.org/ml/gcc-testresults/2002-05/msg00425.html Regards, Loren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message