Dan Nelson <[EMAIL PROTECTED]> writes:
> In the last episode (Jan 19), Terry Lambert said:
> > Alp Atici wrote:
> > > Is gcc 3.x going to be the default compiler starting from FBSD 5.x
> > > series? Is the development on current branch compiled using gcc 3.0
> > > (or up)?
> > 
> > I think that the cut over will happen after the compiler
> > no longer core dumps on:
> > 
> >     main()
> >     {
> >             int i;
> > 
> >             i = foo();
> > 
> >             switch( i) {
> >             default:
> >                     printf( "hello, stupid compiler!\n");
> >                     break;
> >             }
> >     }
> > 
> >     int
> >     foo()
> >     {
> >             return( 6);
> >     }
> 
> Doesn't core on me (gcc30+bounds-checking port, FreeBSD-current).  In
> fact, I've got USE_GCC30 in my make.conf and build all my ports with it
> (at least the ports that aren't broken and hardcode cc or gcc).

Interesting.  The sparc64 toolchain suffers from this problem, so a
number of files on the sparc64 p4 branch have custom versions.
Anyway, I'm told this problem has been fixed in 3.1, which is the
planned version of GCC for 5.0-RELEASE.

Best regards,
Mike Barcroft

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to