------- Comment #4 from pinskia at gcc dot gnu dot org 2006-10-05 17:15 -------
(gdb) p debug_tree (function)
<addr_expr 0xb7dd60a0
type <pointer_type 0xb7dd3900
type <function_type 0xb7dae180 type <integer_type 0xb7d122a0 int>
SI
size <integer_cst 0xb7cff380 constant invariant 32>
unit size <integer_cst 0xb7cff040 constant invariant 4>
align 32 symtab 0 alias set -1
attributes <tree_list 0xb7daaba0
purpose <identifier_node 0xb7da95a0 __format__>
value <tree_list 0xb7daab40
value <identifier_node 0xb7da95d0 __printf__>
chain <tree_list 0xb7daab10
value <integer_cst 0xb7cffc00 constant invariant 3>
chain <tree_list 0xb7daab28 value <integer_cst
0xb7cffc20 4>>>>
chain <tree_list 0xb7d4c4e0
purpose <identifier_node 0xb7d11810 nonnull>
value <tree_list 0xb7d215d0 value <integer_cst 0xb7cffc00
3>>
chain <tree_list 0xb7d4c4c8
purpose <identifier_node 0xb7d11780 format>
value <tree_list 0xb7d21a08 value <identifier_node
0xb7d118a0 printf> chain <tree_list 0xb7d2 16a8>>>>>
arg-types <tree_list 0xb7daaae0 value <pointer_type 0xb7dac360>
chain <tree_list 0xb7daaac8 value <integer_type 0xb7d939c0
size_t>
chain <tree_list 0xb7daaab0 value <pointer_type
0xb7da7900>>>>
pointer_to_this <pointer_type 0xb7dd3900>>
unsigned SI size <integer_cst 0xb7cff380 32> unit size <integer_cst
0xb7cff040 4>
align 32 symtab 0 alias set -1>
constant invariant
arg 0 <function_decl 0xb7d4d900 snprintf type <function_type 0xb7dae180>
addressable used nothrow public external in_system_header built-in
decl_3 decl_5 SI defer-output file /home/a
pinski/src/gcc-3c/gcc-4.1-build/install/ppu/sysroot//usr/include/stdio.h line
353
built-in BUILT_IN_NORMAL:BUILT_IN_SNPRINTF attributes <tree_list
0xb7d4c558>>>
$4 = void
(gdb) p debug_generic_expr(0xb7d4c4c8)
format printf, 3, 4
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29358