Re: finding the minimum allowed value for a type
Jerry Coffin <jcoffin@taeus. com> writes:
[color=blue]
> In article <bl3du4$45a@dis patch.concentri c.net>, gi2nospam@maria ni.ws
> says...
>
> [ ... ]
>[color=green]
> > The code above took 3min 14sec in compilation time on a 800Mhz x86-P3
> > machine with gcc 3.3.1 with the -ftemplate-depth-10000 flag.[/color]
>
> Hmmm...strange -- it gave identical results for me, but compiled in only
> 21 seconds with gcc 3.2 (the mingw port). This was on a 1.2 GHz P3, so
> I expected it to be a _little_ faster, but not nearly this much.[/color]
Hm. gcc 3.3 seems to take longer than gcc 3.2. With
g++3 -ftemplate-depth-10000 -Wreturn-type -W -Wpointer-arith -pipe -ggdb
it compiled in 17 seconds with gcc 3.3.1 (RH Linux 7.3) on a 2.2 GHz P4.
regards
frank
--
Frank Schmitt
4SC AG phone: +49 89 700763-0
e-mail: frankNO DOT SPAMschmitt AT 4sc DOT com
Jerry Coffin <jcoffin@taeus. com> writes:
[color=blue]
> In article <bl3du4$45a@dis patch.concentri c.net>, gi2nospam@maria ni.ws
> says...
>
> [ ... ]
>[color=green]
> > The code above took 3min 14sec in compilation time on a 800Mhz x86-P3
> > machine with gcc 3.3.1 with the -ftemplate-depth-10000 flag.[/color]
>
> Hmmm...strange -- it gave identical results for me, but compiled in only
> 21 seconds with gcc 3.2 (the mingw port). This was on a 1.2 GHz P3, so
> I expected it to be a _little_ faster, but not nearly this much.[/color]
Hm. gcc 3.3 seems to take longer than gcc 3.2. With
g++3 -ftemplate-depth-10000 -Wreturn-type -W -Wpointer-arith -pipe -ggdb
it compiled in 17 seconds with gcc 3.3.1 (RH Linux 7.3) on a 2.2 GHz P4.
regards
frank
--
Frank Schmitt
4SC AG phone: +49 89 700763-0
e-mail: frankNO DOT SPAMschmitt AT 4sc DOT com
Comment