Re: new offset outside bounds of constant string warning

2009-04-22 Thread Jakub Jelinek
On Thu, Apr 23, 2009 at 03:50:12PM +1000, Ben Elliston wrote: > According to svn annotate, it was you who authored the new 'offset > outside bounds of constant string warning' warning in GCC (well, I think > so, anyway). The compiler now complains about some code in the C++ > demangler: > > /home

new offset outside bounds of constant string warning

2009-04-22 Thread Ben Elliston
Hi HJ According to svn annotate, it was you who authored the new 'offset outside bounds of constant string warning' warning in GCC (well, I think so, anyway). The compiler now complains about some code in the C++ demangler: /home/bje/source/gcc-trunk/libiberty/cplus-dem.c:2651: warning: offset ‘

Re: [m32c] IRA reload failures in libstdc++

2009-04-22 Thread Joern Rennecke
Quoting DJ Delorie : m32c has no problem loading a 24-bit register from a 32-bit memory location. The only truncsipsi2* alternative part that seems to match is Raa / Sd* . Does that mean that Sd* is as good as m? It had crossed my mind that you could use LEGITIMIZE_RELOAD_ADDRESS to hide the

Re: [m32c] IRA reload failures in libstdc++

2009-04-22 Thread DJ Delorie
> From looking at the m32c machine description I got the impression > that you can't directly load A_REGS in PSImode from a PSImode subreg > of a SImode memory location, but maybe I was mistaken. The big problem with m32c (--mcpu=m32c) is that pointers are 24 bits, which doesn't correspond to an

Re: [m32c] IRA reload failures in libstdc++

2009-04-22 Thread Joern Rennecke
Quoting DJ Delorie : I suggest making reload reload the PSImode subreg instead, and make the m32c machine description provide for a tertiary reload so that the value can be loaded & truncated. / Don't know how to set up a tertiary reload (it's not documented anywhere). It's simply a seconda

Re: [m32c] IRA reload failures in libstdc++

2009-04-22 Thread DJ Delorie
> I suggest making reload reload the PSImode subreg instead, and > make the m32c machine description provide for a tertiary > reload so that the value can be loaded & truncated. Don't know how to set up a tertiary reload (it's not documented anywhere). Is this the type of patch you're thining ab

Re: messaging

2009-04-22 Thread Ian Lance Taylor
Arthur Schwarz writes: > In the following code fragment: > > # include > # include > # include > > using namespace std; > void CommandLine(int argc, char** argv); > int main(int argc, char** argv) { >CommandLine(argc, argv[]); >ifstream x.open(argv[1], ios:in); >ofstream y.open(arg

Re: Restricted version for GCC?

2009-04-22 Thread Robert Dewar
Adayadil Thomas wrote: Hi All, I was wondering if gcc had a restricted version which would enable me to write programs with a subset of C language. Any input is much appreciated. Thanks ! What are you really looking for here? You can of course use any subset of C you like, and compile and ru

Re: Restricted version for GCC?

2009-04-22 Thread Ian Lance Taylor
Adayadil Thomas writes: > I was wondering if gcc had a restricted version which would enable me > to write programs > with a subset of C language. This question would be better directed to the gcc-h...@gcc.gnu.org mailing list. Please take any followups to that mailing list. No, gcc does not i

Re: Machine description

2009-04-22 Thread Ian Lance Taylor
Jean Christophe Beyler writes: > I've been working on the Machine description of my target and was > wondering if you could help me out here. > > I've been trying to force GCC out of it's habit of generating this code : > (insn 28 8 10 2 glob.c:13 (set (reg:DI 9 r9) > (mem/s:DI (symbol_re

Restricted version for GCC?

2009-04-22 Thread Adayadil Thomas
Hi All, I was wondering if gcc had a restricted version which would enable me to write programs with a subset of C language. Any input is much appreciated. Thanks !

Machine description

2009-04-22 Thread Jean Christophe Beyler
Dear all, I've been working on the Machine description of my target and was wondering if you could help me out here. I've been trying to force GCC out of it's habit of generating this code : (insn 28 8 10 2 glob.c:13 (set (reg:DI 9 r9) (mem/s:DI (symbol_ref:DI ("data") ) [4 data+0 S8 A64]

Re: [gSoc] [graphite] general plan for Automatic parallelization in Graphite

2009-04-22 Thread Alex Turjan
Are there any plans to move the partial unrolling phase from RTL to Tree-SSA? The move would benefit from better (or easier to implement) Tree-SSA alias analysis. Alex > > > > > --- On Wed, 4/22/09, Li Feng > wrote: > > > From: Li Feng > > Subject: [gSoc] [graphite] general plan for Auto

Re: Urgent Question regarding GCOV

2009-04-22 Thread Jayashree Ramani
Thanks Ian. I appreciate your PROMPT response! Wow! In anycase, I do have followup question. Should I ask you or ask gcc-help? I have used "-fprofile-arcs -ftest-coverage" options for compilation. Do I still add --coverage for Linking as LINK_FLAGS? I will try that whats the latest gcc we

Re: Urgent Question regarding GCOV

2009-04-22 Thread Ian Lance Taylor
Jayashree Ramani writes: > Hello GCC Experts, This message should have been sent to gcc-h...@gcc.gnu.org rather than g...@gcc.gnu.org. Please send any followups to gcc-help. > > I am an engineer trying to run gcov for our unit tests. We have a couple > of DLLs and a few static libraries.

Urgent Question regarding GCOV

2009-04-22 Thread Jayashree Ramani
Hello GCC Experts, I am an engineer trying to run gcov for our unit tests. We have a couple of DLLs and a few static libraries. I am having trouble linking the Test program that links in the DLLs. I have the following in the Cmake files: IF( "${COVERAGE}" STREQUAL "TRUE" ) LINK_D

[gSoc] [graphite] general plan for Automatic parallelization in Graphite

2009-04-22 Thread Li Feng
Hi, It's nice that the proposal 'Automatic parallelization in Graphite' is accepted. Which means I will be working with great Graphtie developers this summer, and trying to implement the project . I have set up a blog for this project, which will mainly about this project: 1. plans 2. what I have

Re: typo in gcc-4.4 changes

2009-04-22 Thread Jonathan Wakely
On 06/04/2009, Gerald Pfeifer wrote: > On Sat, 4 Apr 2009, Jonathan Wakely wrote: >> There is currently no way to get from the front page to the >> gcc-4.4/changes.html page, should there be a "(changes)" link on the >> front page until a release is added to the gcc-4.4/index.html page? > > I think