This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: IMA corner case with forward declarations of statics
On Thu, Jun 24, 2004 at 11:40:51PM +0200, Richard Guenther wrote:
> So can't we just do the right thing and to do so require unit-at-a-time
> for IMA? Or is IMA not really whole-program-at-a-time in that case?
That's not the point.
The point is that we *already* have a situation where we get broken
code at -fno-unit-at-a-time, and thus we should diagnose this error
all of the time, regardless of how often users have traditionally
made this mistake and gotten away with it.
r~