1 msgGPL exception for fptr.c and milli64.s
1 msgplugin branch initial commit
6 msgSH2A: 'RTV/N Rn' implementation
1 msggcc-4.1-20070716 is now available
2 msgGCC 4.1 status on front page
2 msg[tuples] Renaming GS to GIMPLE
1 msgBasic frontend framework: Segfault on append_to...
2 msgEfficiently encoding a hierarchy
1 msgFAIL: gcc.dg/pragma-darwin.c
15 msgCan realloc be marked as a mallloc-like function?
1 msgmake clean-target fails at x86_64-unknown-linux...
3 msgvalid_gimple_expression_p claims validity of in...
1 msggcc-4.3-20070713 is now available
1 msgGCC 4.2.1 RC2
2 msgincremental compiler project
1 msgDbase Files
1 msg[PATCH] Modulo-scheduling improvements. Patch 1...
1 msgTrouble with powerpc64 mfpgpr patch

Regarding bug 32505
\ ori bar (12 Jul 2007)

4 msgkind of regression -fprofile-* between r126538 ...
Subject:Regarding bug 32505
Group:Gcc
From:ori bar
Date:12 Jul 2007


I've been wanting to contribute code to gcc, but since i don't know it
too much i thought of starting from this bug (which, btw recreates on
my machine with gcc 4.2).

I've found out this bug and begun working it.

I've started writing code in maybe_process_partial_specialization
after push_template_decl.

My current idea for how to solve the bug is as following:

First, i need to run on DECL_TEMPLATE_INSTANTIATIONS (for each tree in
there i should also check that it is an INSTANTIATON and not a
SPEICALIZATION) of the most_general_template from which this template
has been instantiated.

For each instantiation, i need to somehow check two things:
1) Can it be instantiated from the newly created partial specialization?
2) Is the partial specialization more specific than the one from which
the instantiation has already been implemented.

My question is, how can i find out from which template the existing
instantiation has been made?
From the check i've made, i think that CLASSTYPE_TI_TEMPLATE always
give the most general template, and not it's partial specializations.
Is there any way for me to get it?
I've tried doing something using most_specialized_class (not
successful) and I believe that it may work too, but it may be less
efficient.

I hope I'm sending this to the right people, have a nice day and
thanks in advance.
--
1110101111111110 - it's a way of life


© 2004-2008 readlist.com