Graphical representation of data structures

2008-05-29 Thread Sumit Rangwala
Hi, I am not sure if this is the appropriate list for the question but I have tried, without success, to find a tool to accomplish the following: "I am trying to understand a large project written in C and I am looking for a tool that takes all the .h and .cpp file and build a graphical (or eve

Re: GCC 4.1 snapshots

2008-05-29 Thread Joe Buck
On Wed, 28 May 2008, Joe Buck wrote: > > Ah. Then the DATESTAMP change shouldn't happen if there is no > > modification to the branch since the last DATESTAMP. On Thu, May 29, 2008 at 11:48:31PM +, Joseph S. Myers wrote: > The snapshots know nothing of whether there were any changes on the b

Re: GCC 4.1 snapshots

2008-05-29 Thread Joseph S. Myers
On Wed, 28 May 2008, Joe Buck wrote: > On Wed, May 28, 2008 at 08:15:20PM +0200, Richard Guenther wrote: > > On Wed, May 28, 2008 at 7:13 PM, Joe Buck <[EMAIL PROTECTED]> wrote: > > > On Tue, May 27, 2008 at 09:11:18PM -0400, NightStrike wrote: > > >> On 5/27/08, Joe Buck <[EMAIL PROTECTED]> wrote

RE: Implement #pragma unroll?

2008-05-29 Thread Bingfeng Mei
Alex, Thanks for your suggestion. What target hook do you use for the backend function? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alex Turjan Sent: 29 May 2008 14:45 To: gcc@gcc.gnu.org Subject: RE: Implement #pragma unroll? Dear Bingfeng, Some tim

gcc-4.3-20080529 is now available

2008-05-29 Thread gccadmin
Snapshot gcc-4.3-20080529 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.3-20080529/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.3 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/branches

Re: Program editor programming c++

2008-05-29 Thread Lopezio
Thank you guys g++ solved my problem Jan-Benedict Glaw wrote: > > On Thu, 2008-05-29 14:04:24 -0700, Lopezio <[EMAIL PROTECTED]> wrote: >> Thank you for your help.I'm a beginer on cpp. I'm programming in >> windows/dos >> mode and i get error when i compile the program >> #include >> int main

Re: Program editor programming c++

2008-05-29 Thread Joe Buck
On Thu, May 29, 2008 at 02:04:24PM -0700, Lopezio wrote: > Hi > Thank you for your help.I'm a beginer on cpp. I'm programming in windows/dos > mode and i get error when i compile the program > #include > int main(){ > std::cout << "olare" << std::endl; > } > I get error when i compile the progra

Re: Program editor programming c++

2008-05-29 Thread Jan-Benedict Glaw
On Thu, 2008-05-29 14:04:24 -0700, Lopezio <[EMAIL PROTECTED]> wrote: > Thank you for your help.I'm a beginer on cpp. I'm programming in windows/dos > mode and i get error when i compile the program > #include > int main(){ > std::cout << "olare" << std::endl; > } > I get error when i compile the

Re: Program editor programming c++

2008-05-29 Thread Lopezio
Hi Thank you for your help.I'm a beginer on cpp. I'm programming in windows/dos mode and i get error when i compile the program #include int main(){ std::cout << "olare" << std::endl; } I get error when i compile the program with gcc ola.cpp -o ola.exe Can you help me? Thank you Axel Freyn wro

Re: Help with reload and naked constant sum causing ICE

2008-05-29 Thread Denis Chertykov
2008/5/29 <[EMAIL PROTECTED]>: > Again thank you and Denis for your comment. > > Here is what I deduce from code and Denis comments - I am sure he (and > others) will correct me if wrong :-) > > > The main issue is that we have one pointer register that cannot take offset > and two base pointers

RE: Implement #pragma unroll?

2008-05-29 Thread Alex Turjan
Dear Bingfeng, Some time ago I had to deal with a similar issue as you. Basically I did as follows: I built a backend function which catches the unroll pragma and replaces it with a target assembly intrinsic (which of course has to be described in an .md file). After that in the RTL unroll phase, I

feature request: new function attribute, "experimental"

2008-05-29 Thread Shane Harrelson
http://gcc.gnu.org/onlinedocs/gcc-4.3.0/gcc/Function-Attributes.html I'd like to suggest a new function attribute, "experimental". Should work identically to existing function attribute "deprecated", except with the appropriate warning message. I'm currently using the function attribute warning

Re: Help with reload and naked constant sum causing ICE

2008-05-29 Thread hutchinsonandy
Again thank you and Denis for your comment. Here is what I deduce from code and Denis comments - I am sure he (and others) will correct me if wrong :-) The main issue is that we have one pointer register that cannot take offset and two base pointers with limited offset (0-63). Reload pro

Re: Code instrumentation with GCC

2008-05-29 Thread Jan-Benedict Glaw
On Thu, 2008-05-29 12:03:05 +, Narech K <[EMAIL PROTECTED]> wrote: > Is there a way to make GCC to instrument every function it compiles with a > prologue/epilogue call to a user defined code a la MSVC's _penter and > _pexit, e.g.: > > http://msdn.microsoft.com/en-us/library/c63a9b7h.aspx >

Re: Code instrumentation with GCC

2008-05-29 Thread Richard Guenther
On Thu, May 29, 2008 at 2:03 PM, Narech K <[EMAIL PROTECTED]> wrote: > Hi, > > Is there a way to make GCC to instrument every function it compiles with a > prologue/epilogue call to a user defined code a la MSVC's _penter and > _pexit, e.g.: > > http://msdn.microsoft.com/en-us/library/c63a9b7h.aspx

Code instrumentation with GCC

2008-05-29 Thread Narech K
Hi, Is there a way to make GCC to instrument every function it compiles with a prologue/epilogue call to a user defined code a la MSVC's _penter and _pexit, e.g.: http://msdn.microsoft.com/en-us/library/c63a9b7h.aspx http://msdn.microsoft.com/en-us/library/xc11y76y.aspx If not, can anyone sugg

GCC 4.3.1 second Release Candidate available from gcc.gnu.org

2008-05-29 Thread Richard Guenther
A second release candidate for GCC 4.3.1 is available from ftp://gcc.gnu.org/pub/gcc/snapshots/4.3.1-RC-20080529 and shortly its mirrors. It has been generated from SVN revision 136151. The branch is still frozen and all checkins until after the final release of GCC 4.3.1 require explicit

Re: Program editor programming c++

2008-05-29 Thread Axel Freyn
Hi, On Thu, May 29, 2008 at 03:08:34AM -0700, Lopezio wrote: > #include "iostream" > int main(){ > printf("olare"); > return 0; > } > I get error when compile it with gcc ola.cpp -o ola.exe but it works in > rhide environment. Well, your example is neither valid C-code, nor valid C++-code: - iost

Re: Announcement: initial release of a coding rule checker for GCC

2008-05-29 Thread Guillem Marpons
2008/5/28 Taras Glek <[EMAIL PROTECTED]>: > Guillem Marpons wrote: >> >> Hello all, >> >> In the context of the GlobalGCC project (http://www.ggcc.info, >> http://gcc.gnu.org/ml/gcc/2006-10/msg00676.html) we are developing a >> facility for automatically enforcing coding rules. >> >> (...) >> >> ht

Program editor programming c++

2008-05-29 Thread Lopezio
Hi I use rhide for programming in c++, but i get errors when i compile the program. It works in rhide environment but doesn't work when i compile it. Consider the following example #include "iostream" int main(){ printf("olare"); return 0; } I get error when compile it with gcc ola.cpp -o ola.exe

Implement #pragma unroll?

2008-05-29 Thread Bingfeng Mei
Hello, In porting GCC to our VLIW, we would like to implement #pragma unroll to manually specify unrolling factor, hoping to achieve better performance in some cases without changing code itself. As far as I know, #pragma unroll is present in both HPUX aCC and INTEL icc. I examined pragma implement

Re: Help with reload and naked constant sum causing ICE

2008-05-29 Thread Denis Chertykov
2008/5/29 Jeff Law <[EMAIL PROTECTED]>: > Richard Sandiford wrote: >> >> Andy H <[EMAIL PROTECTED]> writes: If L_R_A does nothing with it, the normal reload handling will first try: (const:HI (plus:HI (symbol_ref:HI ("chk_fail_buf") (const_int 2 >>> >>> This worke