A question concering GCC testsuite

2006-10-05 Thread Revital1 Eres
Hello, I appreciate it if someone could explain what is the difference between gcc.c-torture library and gcc.dg library under the testsuite directory. Thanks, Revital

Re: A question concering GCC testsuite

2006-10-05 Thread Andrew Pinski
On Thu, 2006-10-05 at 09:27 +0200, Revital1 Eres wrote: > Hello, > > I appreciate it if someone could explain what is the difference between > gcc.c-torture library and gcc.dg library under the testsuite directory. http://gcc.gnu.org/wiki/HowToPrepareATestcase Should explain it. If it does not, h

Get C/C++ Preprocessor Tokens

2006-10-05 Thread Matteo Fioroni
Hi, I need to get the C/C++ Preprocessor tokens for perform some operations on them. How can I write a program interface the Preprocessor and get the token that it analyze? Tnaks for help. Matteo. __ Do You Yahoo!? Poco spazio e tanto spam? Yahoo!

Get C/C++ Preprocessor Tokens

2006-10-05 Thread Raghu
Hi Matteo, Do you want the list of tokens present in the source file which is being compiled ? - Regards, Raghavendra MB. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matteo Fioroni Sent: Thursday, October 05, 2006

Re: Documentation for loop infrastructure

2006-10-05 Thread Ira Rosen
Zdenek Dvorak <[EMAIL PROTECTED]> wrote on 28/09/2006 15:04:07: > > I have commited the documentation, including the parts from Daniel and > Sebastian (but not yours) now. > > Zdenek I've committed my part. Ira

Re: [MIPS64] Problems when Passing TImode Parameters in EABI

2006-10-05 Thread Richard Sandiford
"Fu, Chao-Ying" <[EMAIL PROTECTED]> writes: > I think there is a bug in mips_pass_by_reference when the mips abi > is EABI to pass TImode parameters. Good catch. > Does someone know how to pass TImode parameters in EABI? Thanks! I imagine this case wasn't specifically considered. The EABI

Re: [MIPS64] Problems when Passing TImode Parameters in EABI

2006-10-05 Thread Nigel Stephens
Fu, Chao-Ying wrote: > Hello, > > I think there is a bug in mips_pass_by_reference when the mips abi > is EABI to pass TImode parameters. > > > The following code is from the mainline GCC "mips.c". > - > mips_pass_by_reference (CUMULATIVE_ARGS *cum ATTRIBUTE_UNUSED, >

Re: How can I interface myself with the C preprocessor?

2006-10-05 Thread Michael Eager
Matteo Fioroni wrote: Thanks for your help, I saw the gcc -E output: but it don't match my needs. I've to interface the Preprocessor to get the tokens (keyword, preprocessor directives, grammar, ecc..) it analyzes on which I've to permorm some operations. The preprocessor doesn't break C into t

Re: How can I interface myself with the C preprocessor?

2006-10-05 Thread Michael Eager
Michael Eager wrote: Matteo Fioroni wrote: Thanks for your help, I saw the gcc -E output: but it don't match my needs. I've to interface the Preprocessor to get the tokens (keyword, preprocessor directives, grammar, ecc..) it analyzes on which I've to permorm some operations. The preprocessor

setjmp-3/setjmp-4 Darwin failures

2006-10-05 Thread Jack Howarth
Are the failures in the new setjmp-3 and setjmp-4 testcases on Darwin just another manifestation of PR10901? Jack

Re: IPA branch

2006-10-05 Thread Razya Ladelsky
Mark Mitchell <[EMAIL PROTECTED]> wrote on 29/09/2006 01:55:24: > Razya Ladelsky wrote: > > > Except for new optimizations, IPCP (currently on mainline) should also be > > transformed to SSA. > > IPCP in SSA code exists on IPA branch, and will be submitted to GCC4.3 > > after IPA branch > >

How do I code and compile a class liberary?

2006-10-05 Thread Changjiang Mei
Dear Sirs, I've successfully compiled a complete application into an executable using g++. I'm trying to develop a class library and compile into library for use by other programs. Can any one show me how? Thank you very much in advance. C.-J. Mei

Re: How do I code and compile a class liberary?

2006-10-05 Thread Mike Stump
On Oct 5, 2006, at 11:55 AM, Changjiang Mei wrote: I've successfully compiled a complete application into an executable using g++. I'm trying to develop a class library and compile into library for use by other programs. Can any one show me how? Thank you very much in advance. Please don't

problems with labels

2006-10-05 Thread Andrija Radicevic
Hi, I'm trying to adjust an already existing target port of gcc-2.95.2 to gcc-4.1.0 and I came to a point where I could use some help. Everything seams fine until xgcc tries to compile libgcc2.c, then I get the following error messages: libgcc2.s: Assembler messages: libgcc2.s:52: Error: un

Re: problems with labels

2006-10-05 Thread Mike Stump
On Oct 5, 2006, at 1:56 PM, Andrija Radicevic wrote: libgcc2.s:52: Error: unknown pseudo-op: `.lm_0' .LM_0 .LM_0: I have found out that the correct labels are written out by the hook TARGET_ASM_INTERNAL_LABEL and the faulty ones are the result of the output from the macro ASM_GENERATE_IN

Re: problems with labels

2006-10-05 Thread Andrija Radicevic
Does your generate look substantially different from: #undef ASM_GENERATE_INTERNAL_LABEL #define ASM_GENERATE_INTERNAL_LABEL(LABEL,PREFIX,NUM) \ sprintf (LABEL, "*%s%ld", PREFIX, (long)(NUM)) Hint, I put it outputs a label, which is wrong (or calls something that does). no, it's simple

gcc-4.0-20061005 is now available

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

Creating a VAR_DECL in a named section.

2006-10-05 Thread Brendon Costa
Hi all, I have been trying to place some data into a named section of a .o file. I can do it currently by hooking into various of the RTL to assembly routines and emitting the asm code directly, however I am now trying to do it from within the C++ front end by inserting a VAR_DECL node and setting

Re: How can I interface myself with the C preprocessor?

2006-10-05 Thread James Dennett
Michael Eager wrote: Matteo Fioroni wrote: Thanks for your help, I saw the gcc -E output: but it don't match my needs. I've to interface the Preprocessor to get the tokens (keyword, preprocessor directives, grammar, ecc..) it analyzes on which I've to permorm some operations. The preprocessor