Re: GCC -On optimization passes: flag and doc issues

2007-04-26 Thread Richard Guenther
On 4/25/07, Joerg Wunsch <[EMAIL PROTECTED]> wrote: As Ian Lance Taylor wrote: > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31528 > The relevant code is in opts.c: > if (optimize_size) > { > /* Inlining of very small functions usually reduces total size. */ > set_param_va

Re: Problem with patch for PR tree-optimization/29789

2007-04-26 Thread Richard Guenther
On 4/25/07, Steve Ellcey <[EMAIL PROTECTED]> wrote: Richard, Has anyone reported any problems with your tree-ssa-loop-im.c patch that fixes PR tree-optimization/29789? I have been looking at a failure with the SPECfp2000 173.applu test. I found that if I compile it with version r124041 of the

Fwd: Enums and gcc's long long

2007-04-26 Thread gdr
- Forwarded message from [EMAIL PROTECTED] - Date: Thu, 26 Apr 2007 00:37:14 -0700 (PDT) From: Gennaro Prota <[EMAIL PROTECTED]> Reply-To: Gennaro Prota <[EMAIL PROTECTED]> Subject: Enums and gcc's long long To: Gabriel Dos Reis <[EMAIL PROTECTED]> Hi Gabriel and sorry if

Re: bootstrap broken on powerpc: implicit declaration of function 'pthread_getaffinity_np'

2007-04-26 Thread Martin Michlmayr
* Andrew Pinski <[EMAIL PROTECTED]> [2007-04-25 18:11]: > So I don't think that is the issue. Can you look into config.log and > make sure that the test is not emitting warnings. It is a link time > test too. In powerpc-linux-gnu/libgomp config.log shows undefined references and config.h undefin

Re: GCC 4.2.0 Status Report (2007-04-24)

2007-04-26 Thread Richard Guenther
On Wed, 25 Apr 2007, Diego Novillo wrote: > Richard Guenther wrote on 04/25/07 03:54: > > > I guess I can only produce a workaround, as I'm not too deeply into > > the aliasing stuff. So I'd prefer if Danny or Diego could have a look > > (Danny apperantly doesn't have time to do so, my bets for

Bug 29609

2007-04-26 Thread Claus Fischer
Dear GCC folks, may I humbly put in a word for my dear bug 29609, which is very close to my heart? I write most of my C code in the style if (!do_something(...)) goto failure_handler; and letting the debugger stop at the 'goto' line is quite important to finding bugs quickly. Is

[ARM optimization back-end] Strange bug in MySQL

2007-04-26 Thread Emmanuel Fleury
Hi, I'm following a strange bug in MySQL Debian package for ARM plateforms: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=411427 It seems that compiling the exact same code without optimization option make it works. Could somebody take a quick look at the thread (link given before) and tell m

Re: [ARM optimization back-end] Strange bug in MySQL

2007-04-26 Thread Andrew Haley
Emmanuel Fleury writes: > Hi, > > I'm following a strange bug in MySQL Debian package for ARM plateforms: > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=411427 > > It seems that compiling the exact same code without optimization option > make it works. > > Could somebody take a quic

Re: [ARM optimization back-end] Strange bug in MySQL

2007-04-26 Thread Emmanuel Fleury
Andrew Haley wrote: > > It seems that no-one has investigated what is really going on. All > the gdb backtraces are without any debuginfo, and no-one has looked at > where exactly the segfault happens. No-one has looked at the source > code that faults, or the assembly code generated by the comp

Re: [ARM optimization back-end] Strange bug in MySQL

2007-04-26 Thread Andrew Haley
Emmanuel Fleury writes: > Andrew Haley wrote: > > > > It seems that no-one has investigated what is really going on. All > > the gdb backtraces are without any debuginfo, and no-one has looked at > > where exactly the segfault happens. No-one has looked at the source > > code that faults,

Re: [ARM optimization back-end] Strange bug in MySQL

2007-04-26 Thread Jack Lloyd
On Thu, Apr 26, 2007 at 03:28:26PM +0200, Emmanuel Fleury wrote: > But if the bug disappear when -O2 is turned off, I do suspect > (*eventually*) some problem in the ARM back-end... Am I right ? Probably/maybe/possibly. It also could be the case that MySQL is doing something that invokes undefined

RE: Accessing signgam from the middle-end for builtin lgamma

2007-04-26 Thread Dave Korn
On 25 April 2007 18:55, Kaveh R. GHAZI wrote: > I'd like to work on using MPFR to handle builtin lgamma. In what sense is it a builtin if it requires a library to be installed and emits a call to a library function ??? I may not have understood what you're trying to do here, but how would it b

Re: Bug 29609

2007-04-26 Thread Tristan Gingold
On Apr 26, 2007, at 3:07 PM, Claus Fischer wrote: Dear GCC folks, may I humbly put in a word for my dear bug 29609, which is very close to my heart? I write most of my C code in the style if (!do_something(...)) goto failure_handler; and letting the debugger stop at the 'goto'

Re: GCC 4.2.0 Status Report (2007-04-24)

2007-04-26 Thread Mark Mitchell
Richard Guenther wrote: > On Wed, 25 Apr 2007, Diego Novillo wrote: > >> Richard Guenther wrote on 04/25/07 03:54: >> >>> I guess I can only produce a workaround, as I'm not too deeply into >>> the aliasing stuff. So I'd prefer if Danny or Diego could have a look >>> (Danny apperantly doesn't hav

Re: Accessing signgam from the middle-end for builtin lgamma

2007-04-26 Thread Brian Dessent
Dave Korn wrote: > On 25 April 2007 18:55, Kaveh R. GHAZI wrote: > > > I'd like to work on using MPFR to handle builtin lgamma. > > In what sense is it a builtin if it requires a library to be installed and > emits a call to a library function ??? I may not have understood what you're > tryin

RE: Accessing signgam from the middle-end for builtin lgamma

2007-04-26 Thread Dave Korn
On 26 April 2007 16:26, Brian Dessent wrote: > Dave Korn wrote: > >> On 25 April 2007 18:55, Kaveh R. GHAZI wrote: >> >>> I'd like to work on using MPFR to handle builtin lgamma. >> >> In what sense is it a builtin if it requires a library to be installed >> and emits a call to a library func

RE: Accessing signgam from the middle-end for builtin lgamma

2007-04-26 Thread Kaveh R. GHAZI
On Thu, 26 Apr 2007, Dave Korn wrote: > On 26 April 2007 16:26, Brian Dessent wrote: > > > The builtin would run on the host at compile time, whereas the above > > would run on the target at runtime. I presume he's talking about using > > MPFR in the host compiler to simplify lgamma(constant), no

Re: [ARM optimization back-end] Strange bug in MySQL

2007-04-26 Thread Emmanuel Fleury
Andrew Haley wrote: > > It's possible, but probably not. Most bugs that appear at -O2 are > coding errors, but let's wait before pushing to any judgment. Thank to both of you (Andrew and Jack), I'll dig this deeper anyway. Regard -- Emmanuel Fleury | Room: 261 Associate Professor

Re: general_operand() not accepting CONCAT?

2007-04-26 Thread Rask Ingemann Lambertsen
On Wed, Apr 25, 2007 at 09:11:52AM -0700, Richard Henderson wrote: > On Wed, Apr 25, 2007 at 01:51:34PM +0200, Rask Ingemann Lambertsen wrote: > > (define_mode_macro GT16 [SI DI TI SF DF XF SC DC XC SD DD TD CHI CSI CDI > > CTI]) > > > > (define_insn_and_split "*push1" > > You almost certainly do

[LWOW] INWESTYCYJNE INTERESY W UKRAINIE : 12-13 maja�2007 r., Lwow, Ukraina gcc@gcc.gnu.org

2007-04-26 Thread Frances
Serdecznie zapraszamy na Międzynarodową Polsko - Ukraińską konferencję na temat "Polska - Ukraina: sami budujemy przyszłość" XXI Międzynarodowa konferencja > ROZWÓJ INWESTYCJI W UKRAINIE - terażniejszość i

Re: general_operand() not accepting CONCAT?

2007-04-26 Thread Richard Henderson
On Thu, Apr 26, 2007 at 09:49:16PM +0200, Rask Ingemann Lambertsen wrote: >Unfortunately, the fallback code isn't exactly optimum, as it produces > something like > > addw$-N*2, %sp > movw%sp,%basereg > movw%wordN, N*2(%basereg) > ... > movw%w

C++ front end: NON_DEPENDENT_EXPR and lvalue_p_1

2007-04-26 Thread Doug Gregor
A question for the C++ maintainers considering the lvalue-ness of NON_DEPENDENT_EXPR expressions... As part of tightening up our checking of non-dependent expressions within templates (and necessary step for C++0x, and a good idea in C++98 anyway), I bumped into this bit of code in lvalue_p_1:

Intel IEEE 754r Decimal Floating-Point BID Library (beta version) now available

2007-04-26 Thread Cornea, Marius
We would like to announce the availability of the "Intel IEEE 754r Decimal Floating-Point BID Library" (beta version), at http://www3.intel.com/cd/software/products/asmo-na/eng/219861.htm under 'Decimal Floating-Point', packaged as a tar file which includes a README file besides the source code. Th

How to handle g++.dg/warn/multiple-overflow-warn-3.C failure

2007-04-26 Thread Steve Ellcey
I was wondering if anyone had some advice on how to handle the testcase g++.dg/warn/multiple-overflow-warn-3.C. The test case fails on my HP-UX platforms because the underlying type for wchar_t on HP-UX is 'unsigned int' and not 'int' like it is on Linux. This means that the expression does not

Re: How to handle g++.dg/warn/multiple-overflow-warn-3.C failure

2007-04-26 Thread Andrew Pinski
On 4/26/07, Steve Ellcey <[EMAIL PROTECTED]> wrote: I thought of changing all the wchar_t's to int's but I think that might negate what the test is trying to check since there would be no implicit conversions in the code any more and the test would probably never have given multiple overflow warn

Re: DR#314 update

2007-04-26 Thread Geoffrey Keating
"Joseph S. Myers" <[EMAIL PROTECTED]> writes: > Proposed amendment for C1x: > > 6.2.7 after paragraph 2 insert: There shall exist a partition of > all the structure and union types in the program into disjoint > classes such that (a) if two types are in the same class, then > they