Stack based / zero operand CPU - ZPU

2008-01-14 Thread Øyvind Harboe
Hi all, I've implemented a stack based or zero operand CPU, including GCC/gdb toolchain, eCos operating system support, simulator, HDL implementation, etc. I'm boldly assuming that a fair number of people on this list might find this a little bit fascinating. It's all open source of course: http

Re: jc1 out of memory error gcc 4.2.2 Linux 64-bit OS

2008-01-14 Thread Andrew Haley
Harpal Grover writes: > Hello all, > > I downloaded and built gcc 4.2.2 on my linux box. I have also used the > sources to build a cross compiler using Ranjit's Matthews guide. The > build went just fine. I tried to compile my java application and got > the following error: > > c1: out o

Re: Changes in C++ FE regarding pedwarns to be errors are harmful

2008-01-14 Thread Paolo Bonzini
Ismail Dönmez wrote: Sunday 13 January 2008 18:03:20 tarihinde Andreas Schwab şunları yazmıştı: Ismail Dönmez <[EMAIL PROTECTED]> writes: That was just an example, real life testcase shows that problem stems from autoconf and its config.h. Projects end up defining things like HAVE_STDLIB_H twic

RE: How to stop gcc from not calling noinline functions

2008-01-14 Thread Dave Korn
On 14 January 2008 11:03, Hans-Peter Nilsson wrote: >> Date: Sat, 12 Jan 2008 11:16:23 +0100 >> From: Paolo Bonzini <[EMAIL PROTECTED]> > >>> (Yeah, new attributes "impure" and/or "nonconst" would solve >>> this, but only for IPA and there's already the existing option >>> and asm I mentioned. A

Re: How to stop gcc from not calling noinline functions

2008-01-14 Thread Hans-Peter Nilsson
> Date: Sat, 12 Jan 2008 11:16:23 +0100 > From: Paolo Bonzini <[EMAIL PROTECTED]> > > (Yeah, new attributes "impure" and/or "nonconst" would solve > > this, but only for IPA and there's already the existing option > > and asm I mentioned. And if you say different files/compilation > > units, I sa

Re: How to stop gcc from not calling noinline functions

2008-01-14 Thread Hans-Peter Nilsson
> From: "Dave Korn" <[EMAIL PROTECTED]> > Date: Mon, 14 Jan 2008 11:26:33 - > If you wanted to stick to standard C, you could surely force it with a call > through function pointer, perhaps? (You might need to make it volatile to > fool IPA.) No. No tricks in the calling function. To rei

Re: How to stop gcc from not calling noinline functions

2008-01-14 Thread Jan Hubicka
> On 14 January 2008 11:03, Hans-Peter Nilsson wrote: > > >> Date: Sat, 12 Jan 2008 11:16:23 +0100 > >> From: Paolo Bonzini <[EMAIL PROTECTED]> > > > >>> (Yeah, new attributes "impure" and/or "nonconst" would solve > >>> this, but only for IPA and there's already the existing option > >>> and asm

RE: How to stop gcc from not calling noinline functions

2008-01-14 Thread Dave Korn
On 14 January 2008 11:43, Hans-Peter Nilsson wrote: >> From: "Dave Korn" <[EMAIL PROTECTED]> >> Date: Mon, 14 Jan 2008 11:26:33 - > >> If you wanted to stick to standard C, you could surely force it with a >> call through function pointer, perhaps? (You might need to make it >> volatile to

Rant and proposal about bitfield semantics in our IL and the C/C++ Frontend

2008-01-14 Thread Richard Guenther
Consider struct s { long a : 33; }; long bar(struct s *x) { return (x->a << 16) >> 16; } extern void abort(void); int main() { struct s a = { 1u << 31 }; if (bar(&a) != 0) abort (); return 0; } where we currently (rightfully so, IMHO) abort. There are several prob

Re: Changes in C++ FE regarding pedwarns to be errors are harmful

2008-01-14 Thread Ismail Dönmez
Monday 14 January 2008 12:34:03 tarihinde Paolo Bonzini şunları yazmıştı: > Why not fixing the handful of packages with a /^#define PACKAGE/d, > instead of adding -fpermissive to the 50 users of those broken packages? That simple fix won't work, there might be installed headers which depend on de

Re: [RFC] porting to gcc-4.3 docs

2008-01-14 Thread Benjamin Kosnik
> The attached patch makes it clearer to me, does anyone agree? Please check this in. Thanks Jonathan! -benjamin

Re: Rant and proposal about bitfield semantics in our IL and the C/C++ Frontend

2008-01-14 Thread Joseph S. Myers
On Mon, 14 Jan 2008, Richard Guenther wrote: > - document how integral promotion is performed on the implementation >defined bitfields we allow as a GNU extension. (4.9, "Integer >promotion rules are extended for non-standard bit-field types to >promote to the smallest integer type t

Re: Rant and proposal about bitfield semantics in our IL and the C/C++ Frontend

2008-01-14 Thread Richard Guenther
On Mon, 14 Jan 2008, Joseph S. Myers wrote: > On Mon, 14 Jan 2008, Richard Guenther wrote: > > > - document how integral promotion is performed on the implementation > >defined bitfields we allow as a GNU extension. (4.9, "Integer > >promotion rules are extended for non-standard bit-fie

Simple language project...

2008-01-14 Thread Tarmo Pikaro
Hi ! I've decided to mail to gcc mail list, since I've could find best programming language experts in here. I'm starting to design a new language called 'Simple language'. I'm searching for people for discussing ideas, designing, brainstorming and/or making pc side code. Here is web site: htt

gcc-4.1-20080114 is now available

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

New ICE on gcc.dg/pr34233.c for MIPS...

2008-01-14 Thread David Daney
Between r131315 and r131326 I started getting an ICE on mipsel-linux for gcc.dg/pr34233.c. See: http://gcc.gnu.org/ml/gcc-testresults/2008-01/msg00144.html http://gcc.gnu.org/ml/gcc-testresults/2008-01/msg00204.html David Daney

Re: jc1 out of memory error gcc 4.2.2 Linux 64-bit OS

2008-01-14 Thread Harpal Grover
On Jan 14, 2008 5:09 AM, Andrew Haley <[EMAIL PROTECTED]> wrote: > > Harpal Grover writes: > > Hello all, > > > > I downloaded and built gcc 4.2.2 on my linux box. I have also used the > > sources to build a cross compiler using Ranjit's Matthews guide. The > > build went just fine. I tried t

Re: Rant and proposal about bitfield semantics in our IL and the C/C++ Frontend

2008-01-14 Thread Alexandre Oliva
On Jan 14, 2008, Richard Guenther <[EMAIL PROTECTED]> wrote: > The question arises when computing the value of say long : 33 i; > i << 16 >> 16. Is the shift performed in long : 33 type? Is an > out-of-range value truncated? If truncation makes any difference, then there must have been overflow

Re: Rant and proposal about bitfield semantics in our IL and the C/C++ Frontend

2008-01-14 Thread Joseph S. Myers
On Mon, 14 Jan 2008, Richard Guenther wrote: > Can you clarify on the resulting promotions? As I remember the > standard defines promotions based on the representable values, so > long : 15 gets promoted to int, but long : 33 doesn't get promoted. > In the C++ FE at least we promote to the _decla

Re: Simple language project...

2008-01-14 Thread Ben Elliston
> I'm starting to design a new language called 'Simple language'. They rarely are, though. :-) > I'm searching for people for discussing ideas, designing, brainstorming > and/or making pc side code. This is the wrong mailing list for this topic. This list is used to discuss the development of