Patch to fix -fverbose-asm (broken by GGC heuristics)

Geoff Keating geoffk@geoffk.org
Thu Feb 27 20:38:00 GMT 2003


bosch@gnat.com (Geert Bosch) writes:

> The patch below fixes output of GGC heuristics information, when
> written to the assembler file by print_version. I also moved the
> new output to after the initial version information, which seems
> to make more sense.
> 
> Header of assembly file when using -fverbose-asm now looks as follows:
> 
>         .file   "a-calend.adb"
> # GNU Ada version 3.4 20030227 (experimental) (i686-pc-linux-gnu)
> #       compiled by GNU C version 3.4 20030227 (experimental).
> # GGC heuristics: --param ggc-min-expand=64 --param ggc-min-heapsize=64367
> # options passed:  -gnatgp -fverbose-asm
> # options enabled:  -fpeephole -ffunction-cse -fkeep-static-consts
> # -fpcc-struct-return -fgcse-lm -fgcse-sm -fsched-interblock -fsched-spec
> # -fbranch-count-reg -fcommon -fverbose-asm -fgnu-linker -fargument-alias
> # -fzero-initialized-in-bss -fident -fmath-errno -ftrapping-math
> # -ftime-report -m80387 -mhard-float -mno-soft-float -mieee-fp
> # -mfp-ret-in-387 -maccumulate-outgoing-args -mtune=pentiumpro -march=i386
> 
> Output of gnat1 --version:
> GNU Ada version 3.4 20030227 (experimental) (i686-pc-linux-gnu)
>         compiled by GNU C version 3.4 20030227 (experimental).
> GGC heuristics: --param ggc-min-expand=64 --param ggc-min-heapsize=64367
> 
> Tested with full bootstrap of C and Ada on i686-pc-linux-gnu.
> Please approve.

This is OK.

> 2003-02-27   Geert Bosch <bosch@gnat.com>
> 
> 	* toplev.c (print_version): Add indentation for GGC heuristics and
> 	output after printing version information.

-- 
- Geoffrey Keating <geoffk@geoffk.org>



More information about the Gcc-patches mailing list