Help understanding overloaded templates

2007-11-15 Thread Rob Quill
Hi, I was wondering if anyone could help me make sense of the more_specialized_fn() function in pt.c (line 13281). Specifically, I am trying to understand what each of the are: tree decl1 = DECL_TEMPLATE_RESULT (pat1); tree targs1 = make_tree_vec (DECL_NTPARMS (pat1)); tree tparms1 = DECL_

Handling overloaded template functions with variadic parameters

2007-11-15 Thread Rob Quill
iadic parameter Any advice you can offer is greatly appreciated. Rob Quill

Removing #include "*.c"

2007-11-12 Thread Rob Quill
ry to include a .c file at all? Thanks for your help. Rob Quill

Re: Variable scope debug info

2007-04-07 Thread Rob Quill
On 06/04/07, Joe Buck <[EMAIL PROTECTED]> wrote: On Fri, Apr 06, 2007 at 11:38:50AM +0100, Rob Quill wrote: > So the general concensus is that's it's not worth doing? > Hypothetically, if I did it and it didn't make much difference, would > it be worth submitting

Re: Variable scope debug info

2007-04-06 Thread Rob Quill
pile-time constant value) were started before n, i wouldn't even consider that to be a bug... I would consider it a marvel of intelligence in the compiler. How so? Rob - Original Message From: Joe Buck <[EMAIL PROTECTED]> To: Rob Quill <[EMAIL PROTECTED]> Cc: GCC Deve

Re: Variable scope debug info

2007-04-06 Thread Rob Quill
So the general concensus is that's it's not worth doing? Hypothetically, if I did it and it didn't make much difference, would it be worth submitting a patch? Or should I just give up before I start? Rob On 06/04/07, Daniel Jacobowitz <[EMAIL PROTECTED]> wrote: On Thu, Apr 05, 2007 at 09:46:18A

Re: Variable scope debug info

2007-04-05 Thread Rob Quill
On 05/04/07, Joe Buck <[EMAIL PROTECTED]> wrote: On Thu, Apr 05, 2007 at 02:37:06PM +0100, Rob Quill wrote: > My problem is thus: When using GDB do debug the follow bit of code: > > int i = 0; > int j = 2; > int k = 3; > > If I set a breakpoint at the 3rd line,

Variable scope debug info

2007-04-05 Thread Rob Quill
Hi, I wrote an email about this a while ago, but it was rather consice and didn't explain the problem well. My problem is thus: When using GDB do debug the follow bit of code: int i = 0; int j = 2; int k = 3; If I set a breakpoint at the 3rd line, before int k = 3; has been executed, and check

DW_AT_start_scope

2006-11-29 Thread Rob Quill
Hi, I am considering trying to add DW_AT_start_scope attributes to the debug info emmited by GCC, so it can be used by GDB. I just wanted to know what people think about this, and how difficult it is likely to be? Thanks for your time. Rob

Re: how to load a cfg from a file by tree-ssa

2006-11-24 Thread Rob Quill
On 24/11/06, Paolo Bonzini <[EMAIL PROTECTED]> wrote: Rob Quill wrote: > On 24/11/06, Paolo Bonzini <[EMAIL PROTECTED]> wrote: >> Rob Quill wrote: >> > I haven't looked into this yet, but as I think I may need to be able >> > to do something similar,

Re: how to load a cfg from a file by tree-ssa

2006-11-24 Thread Rob Quill
On 24/11/06, Paolo Bonzini <[EMAIL PROTECTED]> wrote: Rob Quill wrote: > I haven't looked into this yet, but as I think I may need to be able > to do something similar, is it possible to parse the cfg file that is > given out, and build a C structure like that? It seems t

Re: how to load a cfg from a file by tree-ssa

2006-11-23 Thread Rob Quill
I haven't looked into this yet, but as I think I may need to be able to do something similar, is it possible to parse the cfg file that is given out, and build a C structure like that? Thanks Rob On 21/11/06, Paolo Bonzini <[EMAIL PROTECTED]> wrote: > but i don't know how to load that file in

Re: Control Flow Graphs

2006-10-16 Thread Rob Quill
) defined in cfg.c to output the pred and succ of each block. You can use this output to construct the CFG. Maybe the software graphviz can help you to visualize the CFG. On 10/16/06, Rob Quill <[EMAIL PROTECTED]> wrote: > Hi, > > Does anyone know if it is possible to view/access

Control Flow Graphs

2006-10-16 Thread Rob Quill
Hi, Does anyone know if it is possible to view/access/print out the control flow graphs produced by GCC, either at compilation time, or after compilation has taken place? Thanks for your time. Rob