other/8677: "gcc -v" should report options used for bootstrap

nirkko@dkf6.unibe.ch nirkko@dkf6.unibe.ch
Fri Nov 22 08:03:00 GMT 2002


>Number:         8677
>Category:       other
>Synopsis:       "gcc -v" should report options used for bootstrap
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 22 07:26:03 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Nirkko
>Release:        gcc-3.1.1
>Organization:
>Environment:
any (this one is Sparc-Solaris2.6)
>Description:
with "gcc -v", the compiler flags used for the bootstrap
should be reported together with the other configuration
parameters. This would not only be useful as a requirement
for bug reporting, but also in "real life" when identifying
a particular compiler build. Example: I once for test purposes
bootstrapped with -ffast-math, which naturally leads to certain
floating point anomalies in programs compiled with the resulting
compiler. Somehow, I forgot and actually used that compiler,
leading to errors very difficult to debug, especially since
gcc -v didn't show anything wrong. Also, bootstrapping options
like -O3 -mcpu=ultra etc. might be relevent when transporting
the build to another machine (pre-ultrasparc, for example).

Please let gcc -v report ALL relevant configuration parameters,
including bootstrapping options!
>How-To-Repeat:
type "gcc -v"
no bootstrap compiler options can be seen...
>Fix:
yes please :-)

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-bugs mailing list