Re: [trans-mem] RFC Fix missing REG_TM notes

2012-01-09 Thread Patrick Marlier
On 01/09/2012 04:19 PM, Patrick Marlier wrote: On 01/09/2012 04:04 PM, Torvald Riegel wrote: On Mon, 2012-01-09 at 15:55 -0500, Patrick Marlier wrote: On my side, I was able to fix the problem with genome but the patch is not clean at all and I need to find exactly where and why the problem was

Re: contributing to gcc

2012-01-09 Thread Joe Buck
On Mon, Jan 09, 2012 at 04:33:54PM -0800, Aayush Upadhyay wrote: > I'm a sophomore in college, and I'm a solid C programmer. I'd like to work on an open source project, and the gcc compiler seems like a great one. However, I'm not sure if work is still done on the compiler itself, or just po

Trouble installing gfortran

2012-01-09 Thread John Harper
Recently I have been describing my troubles installing gfortran in the comp.lang.fortran newsgroup, and FX has given useful help. But today my system won't let me read anything in that newsgroup so I'm emailing to you. One thing that wasn't suggested but I find allowed me to configure GCC, make a

contributing to gcc

2012-01-09 Thread Aayush Upadhyay
Hey guys, I'm a sophomore in college, and I'm a solid C programmer. I'd like to work on an open source project, and the gcc compiler seems like a great one. However, I'm not sure if work is still done on the compiler itself, or just porting it to other systems? I'm interested in the former, but

Re: Broken links (HTTP 404) on http://gcc.gnu.org/onlinedocs/

2012-01-09 Thread Benjamin Kosnik
> I would like to report some broken links on > http://gcc.gnu.org/onlinedocs/ Namely links to PDF version of "GCC > 4.6.2 Standard C++ Library Reference Manual" and "GCC 4.6.2 Standard > C++ Library Manual" referencing > http://gcc.gnu.org/onlinedocs/gcc-4.6.2/libstdc++/libstdc++-manual.pdf.bz

Missed optimization opportunity

2012-01-09 Thread Peter A. Felvegi
Hello, I've come across an issue when working on a smart pointer implementation. Gcc does not seem to propagate constants enough, missing some optimization opportunities. I don't think that this issue is specific to smart pointers, so there might be other cases when gcc generates suboptimal c

Re: [4.7,trans-mem] Summary of unsolved known bugs

2012-01-09 Thread Patrick Marlier
On 01/09/2012 05:20 AM, Torvald Riegel wrote: * ICE when lto1 does not have -fgnu-tm and object file uses TM > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51280 Still open? Yes. I have started a thread here: http://gcc.gnu.org/ml/gcc-patches/2011-12/msg01221.html But as I said, probab

Re: [trans-mem] RFC Fix missing REG_TM notes

2012-01-09 Thread Patrick Marlier
On 01/09/2012 04:04 PM, Torvald Riegel wrote: On Mon, 2012-01-09 at 15:55 -0500, Patrick Marlier wrote: On my side, I was able to fix the problem with genome but the patch is not clean at all and I need to find exactly where and why the problem was fixed. What do you mean? Do you still see is

Re: [trans-mem] RFC Fix missing REG_TM notes

2012-01-09 Thread Torvald Riegel
On Mon, 2012-01-09 at 15:55 -0500, Patrick Marlier wrote: > On my side, I was able to fix the problem with genome but the patch is > not clean at all and I need to find exactly where and why the problem > was fixed. What do you mean? Do you still see issues with Genome, even with the returns-tw

[trans-mem] RFC Fix missing REG_TM notes

2012-01-09 Thread Patrick Marlier
In trans-mem.c:make_tm_edge, it gets the slot for insertion but it doesn't set it. Fixing this makes cfgexpand.c: mark_transaction_restart_calls fails because sometimes the instruction is not found. In the attached patch, I just ignore if insn is NULL but do you have an idea why this happens?

Broken links (HTTP 404) on http://gcc.gnu.org/onlinedocs/

2012-01-09 Thread Filip Jareš
Hello, I would like to report some broken links on http://gcc.gnu.org/onlinedocs/ Namely links to PDF version of "GCC 4.6.2 Standard C++ Library Reference Manual" and "GCC 4.6.2 Standard C++ Library Manual" referencing http://gcc.gnu.org/onlinedocs/gcc-4.6.2/libstdc++/libstdc++-manual.pdf.bz2

Re: ChangeLog rotation

2012-01-09 Thread 沈涵
Oh, my bad, sorry about the conflict marker. I didn't realize the "Start of New Year" procedure until after I googled it, sorry again. -Han

Re: return vs simple_return

2012-01-09 Thread Bernd Schmidt
On 12/28/2011 07:13 PM, Michael Eager wrote: > Hi -- > > I've run into a problem with the MicroBlaze backend > where it is not recognizing a return pattern. I'm > trying to modify the back end to use the 'simple_return' > pattern, rather than 'return', since MicroBlaze has > exactly what the docu

Re: [4.7,trans-mem] Summary of unsolved known bugs

2012-01-09 Thread Torvald Riegel
stage3 is over, so let's have a look at the open bugs again... Looking at Patrick's old list, the following bugs are still open > [trans-mem] save/restore of thread-local data in nested txns is missing > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49581 Aldy, you wanted to take a look. W

Re: Access to unused global variable declarations from a plugin

2012-01-09 Thread Richard Guenther
On Thu, Jan 5, 2012 at 5:16 PM, David Malcolm wrote: > I'm working on a GCC plugin which performs static analysis of Python > extension code [1] > > In various places I need access to a VAR_DECL for various globals from C > code, many of which potentially aren't used directly within the > compilat

GCC 4.7.0 Status Report (2012-01-09), Stage 3 ends now

2012-01-09 Thread Richard Guenther
Status == Stage 3 is now officially over, after a bit more than two months. The GCC trunk is now in regression and documentation fixes only state (so-called stage4). The trunk will remain in this state until it is sufficiently stable for release. At this point we will create the 4.7 branch