Maybe bug in call function to static declaration variable?

2010-11-14 Thread Gilberto Cuba Ricardo
Hi colleagues, The follow program is an abstraction of on application where it produce an error in runtime and i don't know why it's success. The program compile very good in all cases with Visual Studio 2005, 2008, 2010, MinGW 4.5.1 on Windows 7 and with GCC 4.3 on GNU Debian. Though, it produce

Re: Maybe bug in call function to static declaration variable?

2010-11-14 Thread Axel Freyn
Hi Gilberto, On Sun, Nov 14, 2010 at 09:47:43AM -0500, Gilberto Cuba Ricardo wrote: > Hi colleagues, > > The follow program is an abstraction of on application where it > produce an error in runtime and i don't know why it's success. > > The program compile very good in all cases with Visual Stud

gcc-4.3-20101114 is now available

2010-11-14 Thread gccadmin
Snapshot gcc-4.3-20101114 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.3-20101114/ 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

reload_combine vs. exceptions

2010-11-14 Thread Andreas Schwab
It appears that reload_combine does not take exceptions into account. When it encounters a BARRIER it forgets all register uses after this point. But an exception can transfer control to any of the CODE_LABELs and jump back to after the BARRIER, with the registers still in use. See PR46395 for a t

Re: I propose Ralf Wildenhues for build machinery maintainer

2010-11-14 Thread Gerald Pfeifer
On Mon, 8 Nov 2010, Gerald Pfeifer wrote: >> To the steering committee: I propose Ralf Wildenhues as a new >> maintainer for the build machinery. > I've relayed this proposal, thanks Ian. I am happy to announce Ralf's appointment as build machinery maintainer. As usual, happy hacking, Ralf -- an

Re: gcc 4.5.1 / as 2.20.51.0.11 miscompiling drivers/char/i8k.c ?

2010-11-14 Thread James Cloos
Gcc 4.5.1 running on an amd64 box "cross"-compiling for a P3 i8k fails to compile the module since commit 6b4e81db2552bad04100e7d5ddeed7e848f53b48 with: CC drivers/char/i8k.o drivers/char/i8k.c: In function ‘i8k_smm’: drivers/char/i8k.c:149:2: error: can't find a register in class ‘GENERAL_

Re: gcc 4.5.1 / as 2.20.51.0.11 miscompiling drivers/char/i8k.c ?

2010-11-14 Thread Linus Torvalds
On Sun, Nov 14, 2010 at 4:52 PM, James Cloos wrote: > Gcc 4.5.1 running on an amd64 box "cross"-compiling for a P3 i8k fails > to compile the module since commit 6b4e81db2552bad04100e7d5ddeed7e848f53b48 > with: > >  CC      drivers/char/i8k.o > drivers/char/i8k.c: In function ‘i8k_smm’: > drivers/

Symbolic range analysis

2010-11-14 Thread Hongtao Yu
Hi All, Does it perform symbolic range analysis or array section analysis in GCC-4.6 ? Thanks, Hongtao Yu Purdue University

Re: GCC-4.5.0 comparison with previous releases and LLVM-2.7 on SPEC2000 for x86/x86_64

2010-11-14 Thread Xinliang David Li
Thanks, this works. gcc vs llvm 176.gcc: +3.7% 252.eon: +6.1% David On Sat, Nov 13, 2010 at 3:14 PM, H.J. Lu wrote: > On Sat, Nov 13, 2010 at 1:08 PM, Xinliang David Li wrote: >> >> Though gcc leads LLVM in performance overrall, there are a couple of >> benchmarks gcc is worse: vpr and crafty