Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 May 2002 19:47:42 -0500 (CDT)
From:      Loren James Rittle <rittle@latour.rsch.comm.mot.com>
To:        current@freebsd.org
Cc:        D.Rock@t-online.de
Subject:   Re: GCC-3.1 Optimization -Os broken
Message-ID:  <200205140047.g4E0lgsT063134@latour.rsch.comm.mot.com>
In-Reply-To: <3CE01A94.9000109@gmx.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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