-fdump-translation-unit does'nt dump as expected.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi Group,

Just updated gcc and ran into a problem
$gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2
--enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc
--enable-mpfr --enable-targets=all --enable-checking=release
--build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu3)

My test file try.c
$cat try.c
typedef struct {
int j;
float k;
char l;
} MyStruct;

main()
{
MyStruct s = { 1, 3.2, 'a'};
}

$gcc -fdump-translation-unit try.c
 generates try.c.001t.tu (earlier versions generated try.c.tu). I
don't see any reference of MyStruct in the generated file.
Please help, am I missing any thing in the process?

--regards, Praveen

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux