RE: undefined declaration in pre-processed generated C file

2006-03-30 Thread GALLEGGIANTI Bruno
In fact, I'm working on the development of a concept validation tools, based on the source code (static approach). I use a parser to read the pre-processed files, but I've found problem due to the __builtin_* declarations. I though about grep action on preprocessed file, but this solution isn't

Segment registers support for i386

2006-03-30 Thread Rémy Saissy
Hi everybody, I'm looking for gcc support of x86-32 segment registers but the only information I've found about it is in this old thread: http://gcc.gnu.org/ml/gcc/1999-12/msg00526.html I was wondering what happened since this thread, does somebody have integrated the segment register support for i

Re: Qemu and GCC-3.4 on powerpc

2006-03-30 Thread Alan Modra
On Tue, Mar 28, 2006 at 12:00:47PM +0200, Gabriel Paubert wrote: > On Tue, Mar 28, 2006 at 12:56:13AM +0200, Dieter Schuster wrote: > > If I try to compile qemu with GCC 3.4 without the patch I get the following > > error: > > > > qemu-0.8.0/linux-user/elfload.c: In function `load_elf_binary': >

Re: R_PPC_REL24 overflow

2006-03-30 Thread Alan Modra
On Wed, Mar 29, 2006 at 01:53:31PM -0500, James Lemke wrote: > The generated asm makes the reference as: > bl [EMAIL PROTECTED] # 141 *call_value_nonlocal_sysv/1 [length = 4] > > And for this, gas generates: > R_PPC_REL24 __pthread_mutex_lock Nope, you're looking at the wrong asm. unl

RFC: Branch for define_constraint conversions

2006-03-30 Thread Zack Weinberg
Since mainline is now in bugfixes only mode, and since port conversions have been being more troublesome than I had hoped, I think it makes sense to start a branch now to queue up port conversions until the next release cycle. I can undertake to do periodic mainline-to-branch merges (no more frequ

gcc-4.0-20060330 is now available

2006-03-30 Thread gccadmin
Snapshot gcc-4.0-20060330 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.0-20060330/ 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

Re: Incremental gcc

2006-03-30 Thread Richard Guenther
On 3/31/06, Mike Stump <[EMAIL PROTECTED]> wrote: > On Mar 30, 2006, at 7:55 AM, Camm Maguire wrote: > > This was the most promising. If I could run gcc as a pipe with > > assembler only output, all I need is a 'flush instruction on stdin > > to get the assemly of the function(s) input thus far. >

Re: Incremental gcc

2006-03-30 Thread Mike Stump
On Mar 30, 2006, at 7:55 AM, Camm Maguire wrote: Longer term, it would be nice to have someone from your camp layout where the time is spent and what changes might be worth while in gcc to make it more suitable for that type of work. This would be interesting, how does one benchmark gcc per

transient bug in gcc

2006-03-30 Thread Virgil Anderson
>From time to time i run into these ridiculous bugs in gcc which make me want to choke it! Here is another ... in gcc-4.1.0 This is according to the web a much reported problem from apparently way way back ... maybe 5 or more years. In gcc/crtstuff.c there is an include which is local tsystem.h wh

Paperwork to contribute to GCC

2006-03-30 Thread Rafael Dantas de Castro
Hi, I'd like to contribute some code to GCC, specifically a "Hello World" frontend for GCC4, we built as part of an University project on compilers . I was wondering about the paperwork I'd have to fill out. Is this the right place to e-mail? Who could send that to me? I don't sign the mailing

ANNOUNCE: GCC track at Gelato ICE finalized - April 24 & 25

2006-03-30 Thread Mark K. Smith
The following GCC track is part of the Gelato ICE (Itanium Conference & Expo) technical program. All interested GCC developers are invited to attend . A complete list of speakers and topics can be found here: Monday Afternoon (4/24/06): * 2:15 pm - Arutyun Avetisyan The ISP RAS Effort to Improv

Re: R_PPC_REL24 overflow

2006-03-30 Thread Richard Henderson
On Wed, Mar 29, 2006 at 04:51:59PM -0500, Daniel Jacobowitz wrote: > On Wed, Mar 29, 2006 at 01:53:31PM -0500, James Lemke wrote: > > The generated asm makes the reference as: > > bl [EMAIL PROTECTED] # 141 *call_value_nonlocal_sysv/1 [length = 4] > > > > And for this, gas generates: > > R_P

Re: Ada subtypes and base types

2006-03-30 Thread Tom Tromey
> "Jeff" == Jeffrey A Law <[EMAIL PROTECTED]> writes: Jeff> It seems to me that for other locals that the non-null property Jeff> ought to be a property of how those locals are assigned a value. Yeah, thanks for the re-frame. This is PR 20318, and also related to PR 21856. Tom

Re: Ada subtypes and base types

2006-03-30 Thread Jeffrey A Law
On Thu, 2006-03-30 at 18:39 +0100, Andrew Haley wrote: > Jeffrey A Law writes: > > On Wed, 2006-03-29 at 14:28 -0700, Tom Tromey wrote: > > > > > On irc today we were discussing handling 'this' in gcj. We can add an > > > attribute to the argument to mark it as non-null... but strangely > >

Re: Ada subtypes and base types

2006-03-30 Thread Jeffrey A Law
On Tue, 2006-03-28 at 23:49 +0200, Duncan Sands wrote: > That still leaves the problem of how the Ada front-end tells the > middle-end that a variable is known to be in a certain range. Due > to the way the language works, the front-end often does know a useful > range, helpful for optimisation.

Re: Ada subtypes and base types

2006-03-30 Thread Andrew Haley
Jeffrey A Law writes: > On Wed, 2006-03-29 at 14:28 -0700, Tom Tromey wrote: > > > On irc today we were discussing handling 'this' in gcj. We can add an > > attribute to the argument to mark it as non-null... but strangely > > there doesn't seem to be a way to mark other local variables as

Re: Ada subtypes and base types

2006-03-30 Thread Jeffrey A Law
On Wed, 2006-03-29 at 14:28 -0700, Tom Tromey wrote: > On irc today we were discussing handling 'this' in gcj. We can add an > attribute to the argument to mark it as non-null... but strangely > there doesn't seem to be a way to mark other local variables as > known-non-null -- a curious deficien

Re: GNU Pascal branch

2006-03-30 Thread Andrew Haley
Adriaan van Os writes: > Steven Bosscher wrote: > > > Adriaan van Os <[EMAIL PROTECTED]> wrote: > >> The > >> answer is that simply the resources fail to maintain gpc on a daily > >> basis on gcc mainline. > > > > It seems to me that integrating gpc would _reduce_ the burden on the > > gp

Re: GNU Pascal branch

2006-03-30 Thread Adriaan van Os
Steven Bosscher wrote: Adriaan van Os <[EMAIL PROTECTED]> wrote: The answer is that simply the resources fail to maintain gpc on a daily basis on gcc mainline. It seems to me that integrating gpc would _reduce_ the burden on the gpc team, because you would get more regular testing the probl

Re: GNU Pascal branch

2006-03-30 Thread Diego Novillo
On 03/30/06 03:32, Adriaan van Os wrote: > Still, I would like to create a GNU Pascal branch for gcc. This will be > a central place where to keep the compiler updated with > I don't think this is a good idea. You are either part of the compiler or you aren't. Front ends that are only partially

Re: the loss of SET_TYPE

2006-03-30 Thread Gaius Mulley
"Steven Bosscher" <[EMAIL PROTECTED]> writes: > Does the code conform to the GNU/GCC coding conventions? You can find > those on the gcc web site (http://gcc.gnu.org/codingconventions.html). Hi, thanks for the URL. Generally yes - although the documentation needs more work to include internal f

Re: GNU Pascal branch

2006-03-30 Thread Steven Bosscher
On 3/30/06, Adriaan van Os <[EMAIL PROTECTED]> wrote: > The > answer is that simply the resources fail to maintain gpc on a daily > basis on gcc mainline. It seems to me that integrating gpc would _reduce_ the burden on the gpc team, because you would get more regular testing and people are respon

Re: Incremental gcc

2006-03-30 Thread Camm Maguire
Greetings, and thanks for your reply! Mike Stump <[EMAIL PROTECTED]> writes: > On Mar 25, 2006, at 9:14 PM, Camm Maguire wrote: > > Greetings! GCL is a lisp compiler system which outputs C code normally > > compiled by gcc into an object, which is then loaded and relocated > > into the running G

Re: Lot's of ICEs with Polyhedron and -ftree-vectorize with mainline

2006-03-30 Thread Richard Guenther
On Wed, 29 Mar 2006, Richard Guenther wrote: > > Has anyone gone through Polyhedron ICEs with -ftree-vectorize? I see > aermod, air, doduc, linpk, mdbx, rnflow and test_fpu ICE on i686 and > additionally induct and tfft on x86_64. (-O3 -ffast-math -funroll-loops > otherwise) After the fix for

Re: GCC 4.1.0 build error (as doesn't like code produced by xgcc)

2006-03-30 Thread Clifford Wolf
Hi, On Wed, Mar 29, 2006 at 09:31:26AM -0500, Daniel Jacobowitz wrote: > On Tue, Mar 28, 2006 at 03:10:30PM +0200, Clifford Wolf wrote: > > /tmp/cc9Aywrx.s: Assembler messages: > > /tmp/cc9Aywrx.s:1256: Error: can't resolve `.text.unlikely' > > {.text.unlikely section} - `.LCFI70' {.text sect

GCC 3.3.6 built OK for HP-UX 11.11

2006-03-30 Thread Andreas Garvik
Hi, 1. config.guess: hppa2.0w-hp-hpux11.11 2. gcc -v macallan 253: gcc -v Reading specs from /lts_dev/opt/hp-gcc/3.3.6/ilp32/lib/gcc-lib/hppa1.1-hp-hpux11.11/3.3.6/specs Configured with: /proj/oscp/nightly/gcc/gcc_3_3_6_release/gcc/configure --enable-languages=c,c++ --enable-threads=posix --w

Re: Ada subtypes and base types

2006-03-30 Thread Diego Novillo
On 03/30/06 07:24, Duncan Sands wrote: > On Wednesday 29 March 2006 23:28, Tom Tromey wrote: > >> On irc today we were discussing handling 'this' in gcj. We can add an >> attribute to the argument to mark it as non-null... but strangely >> there doesn't seem to be a way to mark other local variabl

Re: undefined declaration in pre-processed generated C file

2006-03-30 Thread Neil Booth
GALLEGGIANTI Bruno wrote:- > typedef __builtin_va_list __gnu_va_list; > > My problem is that __builtin_va_list is never declared/defined in the > pre-processed file. I've no warning about that (-Wall option) > > Following this behaviour, I have 3 questions: > > 1) How does gcc compiler resolve

RE: undefined declaration in pre-processed generated C file

2006-03-30 Thread Dave Korn
On 30 March 2006 13:52, GALLEGGIANTI Bruno wrote: > typedef __builtin_va_list __gnu_va_list; > > My problem is that __builtin_va_list is never declared/defined in the > pre-processed file. I've no warning about that (-Wall option) > > Following this behaviour, I have 3 questions: > > 1) How doe

undefined declaration in pre-processed generated C file

2006-03-30 Thread GALLEGGIANTI Bruno
Hi, My name is Bruno Galleggianti and I am working for the CEA, a French Research centre. I use gcc 3.3.2 and I work on generated pre-processed C files. In example, I'm using classic 'helloworld' source file. In this file, I include header and this header file includes header file. In the ge

Re: Ada subtypes and base types

2006-03-30 Thread Duncan Sands
On Wednesday 29 March 2006 23:28, Tom Tromey wrote: > > "Duncan" == Duncan Sands <[EMAIL PROTECTED]> writes: > > Duncan> That still leaves the problem of how the Ada front-end tells the > Duncan> middle-end that a variable is known to be in a certain range. Due > Duncan> to the way the langua

Re: gcc project

2006-03-30 Thread Diego Novillo
On 03/29/06 16:05, Nic Volanschi wrote: > Nevertheless, this light approach could be combined with the API-based > approach, by complementing the (declarative) code patterns with > (executable) predicates using the API, and loaded as dynamic libraries. > Yes, absolutely. Once you have a pluggab

Re: GNU Pascal branch

2006-03-30 Thread Adriaan van Os
The GNU Pasal compiler is maintained as a separate back-end project. The compiler can be built with gcc-2.8.1 up to gcc-3.4.x and preliminary support for gcc-4.0 was recently added (). A regular question is why

GNU Pascal branch

2006-03-30 Thread Adriaan van Os
The GNU Pasal compiler is maintained as a separate back-end project. The compiler can be built with gcc-2.8.1 up to gcc-3.4.x and preliminary support for gcc-4.0 was recently added (). A regular question is why