This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: 3.4.3 unable to compile 2.95.3
On Thu, Jan 20, 2005 at 04:18:35AM +0100, Giovanni Bajo wrote:
> Edward Peschko <esp5@pge.com> wrote:
>
> > I just noticed that gcc-3.4.3 is not particularly good at compiling
> > old versions of gcc (I tried 2.95.3, and 3.3.5)
>
>
> There might be good reasons. For instance, 2.95.3 could contain invalid C code
> which was not diagnosed in older versions; or it could contain code which
> triggers undefined behaviour (say, broken with respect to aliasing issues), but
> the old optimizers were not able to exploit this. Or it could rely on old GNU
> extensions that were since removed.
>
> Giovanni Bajo
>
the problem is that - at the moment - 3.4.3 can't compile other pieces of software.
For instance, my experience with glib-2.3.2.
If you install 3.4.3 without 2.95.3 you are really screwed because you can't
get back to a compiler that *can* compile glib-2.3.2, etc. Hence IMO it makes
sense to make an exception and *force* backward compatibility for old versions
of gcc.
Ed