where is the definition of struct gcc_options?

2016-06-15 Thread zet
Hello, All I am reading the source of gcc(version 4.8.2), there is a important symbol 'global_options' whose type is struct gcc_options in cc1' entry function toplev_main(). I have build the gcc with make -g -O0, in gdb use ptype i can get the content of struct gcc_options, but in vim I cannot

when gcc support -z ?

2016-05-23 Thread zet
hello, all just like the title, when gcc support -z keyword? if show me the patch, it will be great. thx -- 业精于勤,荒于嬉..

where is the source code generate crtbegin.o (i386)?

2016-10-23 Thread zet
Hello, all where is the source code which generate crtbegin.o (i386)? gcc-6.2.0-source/libgcc/config/i386 only have ctr1.S/crtn.S, where is the others(crtbegin/crtend/crt1, etc)? thx -- 业精于勤,荒于嬉.

How can distinguish DECL in LTO mode?

2018-08-12 Thread zet
Hello, everyone. Sorry to disturb you, but this question confused me several days, I have searched the GCC source code cannot find the answers. I know we can distinguish the different DECL tree using DECL_UID in a translation unit. But when in LTO mode, lto1 combine some input fat object files.

GCC + GNAT- ADA + BUG

2006-02-05 Thread zet
gcc -c hh.adb +===GNAT BUG DETECTED==+ | 4.0.0 20050519 (Red Hat 4.0.0-8) (i386-redhat-linux-gnu) GCC error: | | in expand_assignment, at expr.c:3824 | | Error detected at hh.adb:19:5