__builtin_return_address for ARM

2009-02-25 Thread Uwe Kleine-König
Hello, currently[1] __builtin_return_address for ARM only works with level == 0. For ftrace in the linux kernel it would be great to implement that for level > 0 (provided that framepointers or unwind information are available of course). On the linux-arm-kernel ML Mikael Pettersson[2] said that

Re: __builtin_return_address for ARM

2009-02-25 Thread Paolo Bonzini
Uwe Kleine-König wrote: > Hello, > > currently[1] __builtin_return_address for ARM only works with level == 0. > > For ftrace in the linux kernel it would be great to implement that for > level > 0 (provided that framepointers or unwind information are > available of course). On the linux-arm-ke

Re: __builtin_return_address for ARM

2009-02-25 Thread Andrew Haley
Uwe Kleine-König wrote: > currently[1] __builtin_return_address for ARM only works with level == 0. > > For ftrace in the linux kernel it would be great to implement that for > level > 0 (provided that framepointers or unwind information are > available of course). On the linux-arm-kernel ML Mik

Re: __builtin_return_address for ARM

2009-02-25 Thread Paul Brook
On Wednesday 25 February 2009, Andrew Haley wrote: > Uwe Kleine-König wrote: > > currently[1] __builtin_return_address for ARM only works with level == 0. > > > > For ftrace in the linux kernel it would be great to implement that for > > level > 0 (provided that framepointers or unwind information

Re: Please block henry2000 from the wiki

2009-02-25 Thread Gerald Pfeifer
On Tue, 24 Feb 2009, Steven Bosscher wrote: > Can someone *please* ban this nutcase from the wiki? > There is almost weekly spam added to the wiki from this account. > Thanks, Let me forward this to the overseers team... Gerald

Re: __builtin_return_address for ARM

2009-02-25 Thread Richard Earnshaw
On Wed, 2009-02-25 at 12:27 +, Paul Brook wrote: > In general it's impossible to make __builtin_return_address(N) to work for > N>0. In any situation where you need to look beyond the current frame needs agreement as to how the data required can be found. That's going to have an impact someh

real_format_for_mode / Porting GCC on a new arch

2009-02-25 Thread Florent DEFAY
Hi, I would like to know more about REAL_MODE_FORMAT and real_format_for_mode. I'm sorry because I already posted this email in gcc-help mailing-list but there was no answer and maybe its right place is here ? I am working on a port of GCC. The new xgcc generated crashes this way : Program rece

Re: real_format_for_mode / Porting GCC on a new arch

2009-02-25 Thread Richard Guenther
On Wed, Feb 25, 2009 at 4:43 PM, Florent DEFAY wrote: > Hi, > > I would like to know more about REAL_MODE_FORMAT and real_format_for_mode. > > I'm sorry because I already posted this email in gcc-help mailing-list > but there was no answer and maybe its right place is here ? > > I am working on a

query automaton

2009-02-25 Thread Alex Turjan
Hello, Some time ago I asked a question regarding the possibility to schedule an operation on alternative functional units (FUs) AND depending on the chosen FUs to generate a dedicated assembly mnemonic. To give a simple example suppose I have a move operation that can be issued on one of the

Re: [Ada] Wrong code in gcc/ada/a-teioed.adb causing FAIL of ACATS ?cxf3a01 on mipsel and ia64

2009-02-25 Thread Laurent GUERBY
On Wed, 2009-02-18 at 10:23 +0100, Laurent GUERBY wrote: > On Wed, 2009-02-18 at 08:56 +0100, Arnaud Charlet wrote: > > > > OK for stage 1 (GCC 4.5), currently pretty much everything is frozen on > > > > mainline, except regressions (I hope stage 1 will open soon, since we > > > > have > > > > mon

Re: __builtin_return_address for ARM

2009-02-25 Thread Dave Korn
Paul Brook wrote: > On Wednesday 25 February 2009, Andrew Haley wrote: > In general it's impossible to make __builtin_return_address(N) to work for > N>0. >> In userland ARM EABI doesn't have a frame pointer chain, so what you >> suggest isn't possible. However, we do need to unwind the stack

Is a Better Warning for this Stupid Mistake?

2009-02-25 Thread Joel Sherrill
Hi, I made a stupid typo and accidentally included an unprotected file from itself. The error message generated by gcc surprised me and I wondered if there was a better alternative. $ cat recursive_include.c #include "recursive_include.c" $ gcc -c recursive_include.c

Fwd: Constant folding and Constant propagation

2009-02-25 Thread Jean Christophe Beyler
Dear all, I was working on the machine description so I was postponing a bit this problem but now I have a bit more time on my hands to handle it. I'm starting to look at the various links and code you've provided me and will keep you posted if I make any headway or not ;-). > For the GCC port I

gcc-4.2-20090225 is now available

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

Fwd: Pseudo-templates

2009-02-25 Thread Patrick Moran
Dear all,     We are two students in a Compiler Design course who have been assigned to work on a gcc beginners project. We have chosen the project on making pseudo-templated containers, and we had some questions about the semantics you want from them.  The gcc page specifically mentioned splay tr

Announce: MPFR 2.4.1 is released

2009-02-25 Thread Vincent Lefevre
After a buffer overflow has been found (and fixed) in the mpfr_snprintf and mpfr_vsnprintf functions of MPFR 2.4.0, it has been decided to release MPFR 2.4.1 immediately. It is available for download from the MPFR web site: http://www.mpfr.org/mpfr-2.4.1/ The MD5's: 22402995cf2496d8faea42c8da02

Re: Is a Better Warning for this Stupid Mistake?

2009-02-25 Thread James Dennett
On Wed, Feb 25, 2009 at 9:56 AM, Joel Sherrill wrote: > Hi, > > I made a stupid typo and accidentally included > an unprotected file from itself.  The error > message generated by gcc surprised me and I > wondered if there was a better alternative. > > $ cat recursive_include.c > #include "recursi

Re: Fwd: Pseudo-templates

2009-02-25 Thread Ian Lance Taylor
Patrick Moran writes: >     We are two students in a Compiler Design course who have been > assigned to work on a gcc beginners project. We have chosen the > project on making pseudo-templated containers, and we had some > questions about the semantics you want from them.  The gcc page > specific