Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jul 2003 16:09:01 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Ruslan Ermilov <ru@freebsd.org>
Cc:        John De Boskey <jwd@bsdwins.com>
Subject:   Re: -current 'make release' status? [SOLVED]
Message-ID:  <20030729210901.GC39375@dan.emsphone.com>
In-Reply-To: <20030729203250.GE66399@sunbay.com>
References:  <20030729103054.GA33488@BSDWins.Com> <20030729120105.GB20737@sunbay.com> <20030729123740.GA6239@BSDWins.Com> <20030729125738.GA27879@sunbay.com> <20030729134154.GA7048@BSDWins.Com> <20030729143848.GA37496@sunbay.com> <20030730060749.G978@gamplex.bde.org> <20030729203250.GE66399@sunbay.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Jul 29), Ruslan Ermilov said:
> Hm, I always thought that -O2 and -Os are just useful aliases that in
> effect only turn a few dozens of -f optimization flags, and that
> switching some of them off later is allowed.  I.e., "-Os
> -fno-strict-aliasing" should work.

That does work, but there are still things you can't turn off with -f. 
They're half-aliases.  toplev.c::parse_options_and_default_flags does
set -f flags based on the optimization level, but there is still a
whole lot of gcc code that directly tests the value of optimize and
optimize_size.

-- 
	Dan Nelson
	dnelson@allantgroup.com



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