This RFE is for two related issues. I'll call it an RFE rather
than attempt to argue it is a Bug (by omission or inconsistent 
behavior).


1: Typing "gcc -v" will print the 'specs info', 'HBT', 'how gcc was
"./configured"', 'the thread model' and 'version / revision'. When
you actually compile a program using the "-v" option gcc will print
out some additional info that may be useful to include with the 
more trivial "gcc -v" command.


2: When you actually compile a program using the "-v" option gcc
prints out info about gmp and mpfr but none about cloog , ppl and 
pwl.

In the past 'libgmp.so' and 'libmpfr.so' were optional in _some_
configurations, and were tested for during configuration to enable
or disable features. It is my understanding that these libraries
are now mandatory and omission of them will cause configuration
failure.

At present 'libppl.so', 'libpwl.so', and 'libcloog.so' are optional
and are tested for during configuration to enable or disable features.

Are the 'libppl.so', 'libpwl.so', and 'libcloog.so' libraries worthy
of enough "status" to print their versions alongside gmp and mpfr ?

It is also a minor issue that there is some leading whitespace.



Here is an example of "gcc -v" as it currently is (depending upon your
configuration and platform):

# gcc -v
Using built-in specs.
Target: i386-pc-solaris2.11
Configured with: ../gcc_trunk/configure
--enable-languages=ada,c,c++,fortran,java,objc,obj-c++ --enable-shared
--disable-static --enable-decimal-float --with-long-double-128 --enable-nls
--with-included-gettext --enable-gather-detailed-mem-stats --with-stabs
--enable-debug --enable-largefile --enable-symvers --without-system-zlib
--enable-gtk-cairo --enable-gconf-peer --enable-xmlj --enable-gtk-peer
--enable-qt-peer --enable-plugin --enable-tool-wrappers --enable-local-sockets
--enable-gjdoc --enable-java-awt=gtk,xlib,qt,x --enable-gc-debug
--enable-libgcj-debug --enable-objc-gc --enable-libstdcxx-debug
--disable-stage1-checking --enable-checking=release --without-system-libunwind
--with-gnu-as --with-as=/usr/local/bin/as --with-gnu-ld
--with-ld=/usr/local/bin/ld
Thread model: posix
gcc version 4.4.0 20090117 (experimental) [trunk revision 143454] (GCC) 


Here is an example of adding "-v" when compiling a program (current):

# gcc -v program.c
...
End of search list.
GNU C (GCC) version 4.4.0 20090117 (experimental) [trunk revision 143454]
(i386-pc-solaris2.11)
        compiled by GNU C version 4.4.0 20090116 (experimental) [trunk revision
143443], GMP version 4.2.1, MPFR version 2.3.2.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
...



Here the revised version of "gcc -v":

# gcc -v
Using built-in specs.
Configured with: ../gcc_trunk/configure
--enable-languages=ada,c,c++,fortran,java,objc,obj-c++ --enable-shared
--disable-static --enable-decimal-float --with-long-double-128 --enable-nls
--with-included-gettext --enable-gather-detailed-mem-stats --with-stabs
--enable-debug --enable-largefile --enable-symvers --without-system-zlib
--enable-gtk-cairo --enable-gconf-peer --enable-xmlj --enable-gtk-peer
--enable-qt-peer --enable-plugin --enable-tool-wrappers --enable-local-sockets
--enable-gjdoc --enable-java-awt=gtk,xlib,qt,x --enable-gc-debug
--enable-libgcj-debug --enable-objc-gc --enable-libstdcxx-debug
--disable-stage1-checking --enable-checking=release --without-system-libunwind
--with-gnu-as --with-as=/usr/local/bin/as --with-gnu-ld
--with-ld=/usr/local/bin/ld
Thread model: posix
GNU GCC version 4.4.0 20090117 (experimental) [trunk revision 143454]
(i386-pc-solaris2.11)
compiled by GNU C version 4.4.0 20090116 (experimental) [trunk revision
143443], GMP version 4.2.1, MPFR version 2.3.2, PPL 1.0, CLOOG 1.0.
Compiler executable checksum: 887b9f3a0e2bcd7effe1a0a359de0f07


Here the revised version of adding a "-v" when compiling a program
(remove the extra white space before "compiled"):

# gcc -v program.c
...
End of search list.
GNU C (GCC) version 4.4.0 20090117 (experimental) [trunk revision 143454]
(i386-pc-solaris2.11)
compiled by GNU C version 4.4.0 20090116 (experimental) [trunk revision 43443],
GMP version 4.2.1, MPFR version 2.3.2, PPL 1.0, CLOOG 1.0.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 887b9f3a0e2bcd7effe1a0a359de0f07
...

Thanks,
Rob


-- 
           Summary: RFE - Need verbose gcc to show cloog , ppl and pwl +
                    more (and trivial fix)
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: driver
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rob1weld at aol dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38911

Reply via email to