-dv -fdump-rtl-all question

Seongbae Park (박성배, 朴成培) seongbae.park@gmail.com
Wed Jul 18 15:05:00 GMT 2007

On 7/18/07, Sunzir Deepur <sunzird@gmail.com> wrote:
> Hi list,
> Is it ok to assume that when I compile a C file (that is guranteed to have
> some code in it) under the following flags, I always get the mentioned
> VCG file (and do not get a bigger one) ?
> Flags                              Maximum VCG file that is always created
> =====                            ==============================
> "      -dv -fdump-rtl-all"      .49.stack.vcg
> "-O1 -dv -fdump-rtl-all"      .49.stack.vcg
> "-O2 -dv -fdump-rtl-all"      .50.compgotos.vcg
> "-O3 -dv -fdump-rtl-all"      .50.compgotos.vcg
> So basically I want to assume the maximum vcg file that is created
> is a function of the optimizations and not a function of the source file..

There's no guarantee,
although usually on any particular version of gcc on a given platform
with given options, probably it is.
#pragma ident "Seongbae Park, compiler, http://seongbae.blogspot.com"

More information about the Gcc mailing list