Support for export keyword to use with C++ templates ?

2010-01-21 Thread Timothy Madden
Hello Is there any progress or start yet in implemententing export for C++ templates ? A search in the mailing list archive shows the last time the issue was discussed was in 2006. Why is everybody such not interested in this ? It would be such a great feature, especially for a leading C++ implem

A question about GGC/gengtype

2010-01-21 Thread Alexei I. Adamovich
Hi, all! I have a question concerning GGC and gengtype in particular. The question is: can I have DIFFERENT <>-ed types and variables with the SAME NAMES in two DIFFERENT front ends? More expanded: I am trying to implement a front-end of a C-derived language (say, Z); and have used the c-parser.c

GCC 4.4.3 Status Report (2010-01-21)

2010-01-21 Thread Jakub Jelinek
Status == GCC 4.4.3 release tarballs have been uploaded, the 4.4 branch is again open for commits under the usual release branch rules. I'll announce the release once mirrors had some time to download it. Quality Data Priority # Change from Last Report

GCC 4.5 Status Report (2010-01-21)

2010-01-21 Thread Jakub Jelinek
Status == The trunk is still in regression and documentation fixes only mode, we still have several P1 regressions that need to be fixed before branching. There will be a release candidate made available when there are no remaining P1 regressions on the trunk. If you have found a bug that yo

Question about peephole2 and addressing mode

2010-01-21 Thread Mohamed Shafi
Hello all, I am doing a port for a 32bit a target in GCC 4.4.0. The target supports (base + offset) addressing mode for QImode store instructions but not for QImode load instructions. GCC doesn't take the middle path. It either supports an addressing mode completely and doesn't support at all. I t

Re: [trans-mem] STM GCC Implementation

2010-01-21 Thread Riyadh Baghdadi
When compiling a transactional program, the compiler doesn't recognize "__sync_add_and_fetch_8", it shows the following error message : libitm.so: undefined reference to `__sync_add_and_fetch_8' I suppose that this is an interinsic function and doesn't need a linker, is it a bug ? To configure G

Possible IRA bug in assign_hard_reg

2010-01-21 Thread Ian Bolton
Near the end of assign_hard_reg in ira-color.c, there is this code: if (min_full_cost > mem_cost) { if (! retry_p && internal_flag_ira_verbose > 3 && ira_dump_file != NULL) fprintf (ira_dump_file, "(memory is more profitable %d vs %d) ", mem_cost, min_full_cost);

Re: Possible IRA bug in assign_hard_reg

2010-01-21 Thread Vladimir Makarov
Ian Bolton wrote: Near the end of assign_hard_reg in ira-color.c, there is this code: if (min_full_cost > mem_cost) { if (! retry_p && internal_flag_ira_verbose > 3 && ira_dump_file != NULL) fprintf (ira_dump_file, "(memory is more profitable %d vs %d) ", mem_cost

Re: Question about peephole2 and addressing mode

2010-01-21 Thread Richard Henderson
On 01/21/2010 06:22 AM, Mohamed Shafi wrote: Hello all, I am doing a port for a 32bit a target in GCC 4.4.0. The target supports (base + offset) addressing mode for QImode store instructions but not for QImode load instructions. GCC doesn't take the middle path. It either supports an addressing

gcc-4.5-20100121 is now available

2010-01-21 Thread gccadmin
Snapshot gcc-4.5-20100121 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.5-20100121/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.5 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/trunk

Re: Support for export keyword to use with C++ templates ?

2010-01-21 Thread Ian Lance Taylor
Timothy Madden writes: > Is there any progress or start yet in implemententing export for C++ > templates ? Not to my knowledge. The C++0x standards committee considered deprecating export for C++0x, but I think they have decided to retain it for now. > Why is everybody such not interested i

Re: A question about GGC/gengtype

2010-01-21 Thread Ian Lance Taylor
"Alexei I. Adamovich" writes: > I have a question concerning GGC and gengtype in particular. > The question is: can I have DIFFERENT <>-ed types and > variables with the SAME NAMES in two DIFFERENT front ends? Yes. Needless to say, I don't recommend it. What you describe sounds like a recipe f

Re: [trans-mem] STM GCC Implementation

2010-01-21 Thread Ian Lance Taylor
Riyadh Baghdadi writes: > To configure GCC, I use : ./configure --disable-bootstrap > --prefix=GCC_PREFIX_FOLDER --disable-multilib --enable-languages=c,c++ > --enable-shared --enable-threads Since you are using x86, add --with-arch=pentium4 or whatever is appropriate for your target. Ian