Re: gcc 4.2 more strict check for function called through a non-compatible type

2006-07-05 Thread Yuri Pudgorodsky
Andrew Pinski wrote: On Jul 4, 2006, at 5:07 PM, Yuri Pudgorodsky wrote: Can someone make the decision to reopen PR optimization/12085? And I posted a patch to do the same in Objective-C mode as C mode :). http://gcc.gnu.org/ml/gcc-patches/2004-08/msg01013.html That indeed will fix PR for

Re: gcc 4.2 more strict check for function called through a non-compatible type

2006-07-05 Thread Andrew Haley
Ian Lance Taylor writes: Andrew Haley [EMAIL PROTECTED] writes: Ian Lance Taylor writes: Yuri Pudgorodsky [EMAIL PROTECTED] writes: Compiling openssl-0.9.8b with gcc-4.2 snapshots, I found gcc 4.2 fortifies its check for function pointer conversion and generates

Re: gcc 4.2 more strict check for function called through a non-compatible type

2006-07-05 Thread Andrew Pinski
On Jul 5, 2006, at 2:36 AM, Yuri Pudgorodsky wrote: 1) with direct cast: (int (*)(int)) foo - warn/trap since 3.x 2) with cast through void fptr: (int (*)(int)) (int(*)()) foo - warn/trap since 4.2 current I don't see why you are invoking this undefined behavior anyways. What are you trying

Re: dejaGNU testsuite files for 2.95.3 20010315 (release)

2006-07-05 Thread J.J.Garcia
Mike Stump wrote: svn ls -r40553 svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-2_95-branch/ gcc/testsuite appears to be fairly close. Don't know why the tag was messed up. This number comes from the tags/gcc-2_95_3 tag. Thx a lot Mike, This is what i get from svn repo (after importing

Re: gcc 4.2 more strict check for function called through a non-compatible type

2006-07-05 Thread Gabriel Dos Reis
Andrew Haley [EMAIL PROTECTED] writes: [...] | If we're going to guarantee this stuff for the future, we'll have to | fix the bug, make sure it's doesn't destabilize the compiler and write | some test cases. If we're really serious about it we should make it a | documented extension to C. if

Re: gcc 4.2 more strict check for function called through a non-compatible type

2006-07-05 Thread Yuri Pudgorodsky
Andrew Pinski wrote: On Jul 5, 2006, at 2:36 AM, Yuri Pudgorodsky wrote: 1) with direct cast: (int (*)(int)) foo - warn/trap since 3.x 2) with cast through void fptr: (int (*)(int)) (int(*)()) foo - warn/trap since 4.2 current I don't see why you are invoking this undefined behavior

Re: gcc 4.2 more strict check for function called through a non-compatible type

2006-07-05 Thread Yuri Pudgorodsky
Gabriel Dos Reis wrote: Furthermore, I've read people suggesting that we are gratuitously broking code. That is misleading. The code was invoking undefined behaviour and, before, we did not make any explicit guarantee about the semantics. It is one thing to argue for changing gear; but,

Re: gcc 4.2 more strict check for function called through a non-compatible type

2006-07-05 Thread Gabriel Dos Reis
Yuri Pudgorodsky [EMAIL PROTECTED] writes: | Gabriel Dos Reis wrote: | Furthermore, I've read people suggesting that we are gratuitously | broking code. That is misleading. The code was invoking undefined | behaviour and, before, we did not make any explicit guarantee about | the semantics.

Re: gcc 4.2 more strict check for function called through a non-compatible type

2006-07-05 Thread Yuri Pudgorodsky
I apologize for presenting something which appears to be a strawman argument. That would never be my intent. Let me restate: I don't think gcc should ever insert a trap call for undefined code. We should only insert a trap call for code which will provably trap. We're currently breaking

Re: gcc 4.2 more strict check for function called through a non-compatible type

2006-07-05 Thread Andrew Haley
Ian Lance Taylor writes: Andrew Haley [EMAIL PROTECTED] writes: If we're going to guarantee this stuff for the future, we'll have to fix the bug, make sure it's doesn't destabilize the compiler and write some test cases. If we're really serious about it we should make it a

Re: gcc 4.2 more strict check for function called through a non-compatible type

2006-07-05 Thread Eric Botcazou
What do we do if compiler ICE generating code for valid C syntax with defined behavior? Fix it! Why should we go another way for valid C syntax with undefined behavior? The answer is in the question, no? -- Eric Botcazou

Re: Does SIMD optimization of GCC 3.4.6 work?

2006-07-05 Thread Ian Lance Taylor
This question is not appropriate for the gcc@gcc.gnu.org mailing list. It would be appropriate on the [EMAIL PROTECTED] mailing list. Thanks. [EMAIL PROTECTED] writes: I am wondering if i have used -O, -O2 or -O3, do i still benifit from flags such as -march -fmpmath -ffast-math -mmx -sse

Re: gcc 4.2 more strict check for function called through a non-compatible type

2006-07-05 Thread Ian Lance Taylor
Ian Lance Taylor [EMAIL PROTECTED] writes: I personally don't agree that this needs to be a documented extension. I'm simply going on a more general rule which I tried to state above: I don't think we should insert a trap call for undefined code. I realized that I am still not stating my

Re: gcc 4.2 more strict check for function called through a non-compatible type

2006-07-05 Thread Yuri Pudgorodsky
For what it's worth, I tried to recreate the ICE after removing the trap insertion, but failed. So I'm not even sure the trap insertion is fixing a real problem any more. It works at the moment simply because it treats the call through a cast as a call through a function pointer, and

Re: gcc 4.2 more strict check for function called through a non-compatible type

2006-07-05 Thread Ian Lance Taylor
Andrew Haley [EMAIL PROTECTED] writes: If we make a change for openssh to allow this undefined behaviour, then do we agree to keep it working or not? If we agree that we will, then we have to at least add some test cases and we have to add some internal documentation to gcc. If we don't

Re: A question about TYPE_ARG_TYPES

2006-07-05 Thread Ian Lance Taylor
Kazu Hirata [EMAIL PROTECTED] writes: I keep finding places in GCC sources that check whether a member of TYPE_ARG_TYPES is 0. For example, for (link = TYPE_ARG_TYPES (function_or_method_type); link TREE_VALUE (link); link = TREE_CHAIN (link)) gen_type_die

Re: A question about TYPE_ARG_TYPES

2006-07-05 Thread Daniel Berlin
Ian Lance Taylor wrote: Kazu Hirata [EMAIL PROTECTED] writes: I keep finding places in GCC sources that check whether a member of TYPE_ARG_TYPES is 0. For example, for (link = TYPE_ARG_TYPES (function_or_method_type); link TREE_VALUE (link); link = TREE_CHAIN (link))

Re: A question about TYPE_ARG_TYPES

2006-07-05 Thread Mark Mitchell
Daniel Berlin wrote: I believe it also happens with varargs functions in some cases, if there was nothing but a varargs parameter. This is the one and only case in which it should occur, but, yes, it is possible. -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713

Re: A question about TYPE_ARG_TYPES

2006-07-05 Thread Daniel Jacobowitz
On Wed, Jul 05, 2006 at 11:49:58AM -0400, Daniel Berlin wrote: I believe it also happens with varargs functions in some cases, if there was nothing but a varargs parameter. I was recently reminded that that's not valid C. Is there any language which lets you get away with only unnamed

Re: A question about TYPE_ARG_TYPES

2006-07-05 Thread Kazu Hirata
Hi Ian, I keep finding places in GCC sources that check whether a member of TYPE_ARG_TYPES is 0. For example, for (link = TYPE_ARG_TYPES (function_or_method_type); link TREE_VALUE (link); link = TREE_CHAIN (link)) gen_type_die (TREE_VALUE (link), context_die); Notice that

Re: A question about TYPE_ARG_TYPES

2006-07-05 Thread Mark Mitchell
Kazu Hirata wrote: Hi Ian, I keep finding places in GCC sources that check whether a member of TYPE_ARG_TYPES is 0. For example, for (link = TYPE_ARG_TYPES (function_or_method_type); link TREE_VALUE (link); link = TREE_CHAIN (link)) gen_type_die (TREE_VALUE (link),

Re: gcc 4.2 more strict check for function called through a non-compatible type

2006-07-05 Thread Andrew Haley
Ian Lance Taylor writes: Andrew Haley [EMAIL PROTECTED] writes: If we make a change for openssh to allow this undefined behaviour, then do we agree to keep it working or not? If we agree that we will, then we have to at least add some test cases and we have to add some internal

Re: gcc 4.2 more strict check for function called through a non-compatible type

2006-07-05 Thread Andrew Pinski
On Jul 5, 2006, at 8:38 AM, Ian Lance Taylor wrote: To me this is related to the point I raised at the steering committee panel discussion (I know you weren't there): I think we are too casual about breaking existing working code. What happens when a target comes along and passes different

Re: gcc 4.2 more strict check for function called through a non-compatible type

2006-07-05 Thread Daniel Jacobowitz
On Wed, Jul 05, 2006 at 09:11:32AM -0700, Andrew Pinski wrote: What happens when a target comes along and passes different pointers types differently. Like say a floating point pointer in the FP register and an pointer to an integer in the general purpose register, wouldn't that also break

Re: gcc 4.2 more strict check for function called through a non-compatible type

2006-07-05 Thread Ian Lance Taylor
Andrew Pinski [EMAIL PROTECTED] writes: On Jul 5, 2006, at 8:38 AM, Ian Lance Taylor wrote: To me this is related to the point I raised at the steering committee panel discussion (I know you weren't there): I think we are too casual about breaking existing working code. What happens

RE: gcc 4.2 more strict check for function called through a non-compatible type

2006-07-05 Thread Dave Korn
On 05 July 2006 17:12, Andrew Pinski wrote: On Jul 5, 2006, at 8:38 AM, Ian Lance Taylor wrote: To me this is related to the point I raised at the steering committee panel discussion (I know you weren't there): I think we are too casual about breaking existing working code. What happens

Re: gcc 4.2 more strict check for function called through a non-compatible type

2006-07-05 Thread Yuri Pudgorodsky
What happens when a target comes along and passes different pointers types differently. Like say a floating point pointer in the FP register and an pointer to an integer in the general purpose register, wouldn't that also break the code in question? Yes this is in theory but still saying

Re: bootstrap failed during 'make check'

2006-07-05 Thread Joern RENNECKE
Eric Botcazou wrote: make[3]: Leaving directory `/mnt/scratch/nightly/2006-07-04/i686' Comparing stages 2 and 3 warning: ./cc1-checksum.o differs warning: ./cc1plus-checksum.o differs warning: ./cc1obj-checksum.o differs Bootstrap comparison failure! Does the attached patch make any

Re: bootstrap failed during 'make check'

2006-07-05 Thread Eric Botcazou
No, I still get the same set of .o files that differ, and the -fdump-noaddr (See PR other/28251) peephole2 dump for cfg.c compiled with stage1 / stage2 cc1 is still the same. Then I'm puzzled. The original patch is supposed to be essentially a nop for languages that do not use

Re: bootstrap failed during 'make check'

2006-07-05 Thread Joern RENNECKE
Joern Rennecke wrote: Eric Botcazou wrote: make[3]: Leaving directory `/mnt/scratch/nightly/2006-07-04/i686' Comparing stages 2 and 3 warning: ./cc1-checksum.o differs warning: ./cc1plus-checksum.o differs warning: ./cc1obj-checksum.o differs Bootstrap comparison failure! Does the

Re: dejaGNU testsuite files for 2.95.3 20010315 (release)

2006-07-05 Thread Mike Stump
On Jul 5, 2006, at 2:26 AM, J.J.Garcia wrote: Can i assume that what im using (2.95.2.1) is the last used previously to release 2.95.3 20010315 (release)? Not really. If you were going to stake your life on it, you'd not want to do that. I doubt the stakes are that high however. Anyway,

Re: bootstrap failed during 'make check'

2006-07-05 Thread Andrew Haley
Joern RENNECKE writes: Joern Rennecke wrote: Eric Botcazou wrote: make[3]: Leaving directory `/mnt/scratch/nightly/2006-07-04/i686' Comparing stages 2 and 3 warning: ./cc1-checksum.o differs warning: ./cc1plus-checksum.o differs warning: ./cc1obj-checksum.o differs

Re: Does SIMD optimization of GCC 3.4.6 work?

2006-07-05 Thread Mike Stump
On Jul 4, 2006, at 7:43 PM, [EMAIL PROTECTED] wrote: The codec is at http://www.sourceforge.net/projects/openavs/. Currently, it requires a 3Ghz or better CPU to get a resonable framerate. I would like the codec to be useful even on 586 ( 1Ghz or so ). Any ideas? Recode slower parts in

Re: Does SIMD optimization of GCC 3.4.6 work?

2006-07-05 Thread Rene Rebe
Hi, On Wednesday 05 July 2006 19:57, Mike Stump wrote: On Jul 4, 2006, at 7:43 PM, [EMAIL PROTECTED] wrote: The codec is at http://www.sourceforge.net/projects/openavs/. Currently, it requires a 3Ghz or better CPU to get a resonable framerate. I would like the codec to be useful even on

RE: Does SIMD optimization of GCC 3.4.6 work?

2006-07-05 Thread Dave Korn
On 05 July 2006 19:11, Rene Rebe wrote: Hi, On Wednesday 05 July 2006 19:57, Mike Stump wrote: On Jul 4, 2006, at 7:43 PM, [EMAIL PROTECTED] wrote: The codec is at http://www.sourceforge.net/projects/openavs/. Currently, it requires a 3Ghz or better CPU to get a resonable framerate. I

Re: GCC 4.2 Status Report (2006-06-16)

2006-07-05 Thread Jason Merrill
Mark Mitchell wrote: I'm not sure the number above is in and of itself terribly meaningful, in part because Volker has been filing many ICE-on-invalid-after-error-message PRs against the C++ front end. These don't really even show up for users in releases, due to the confused by earlier errors

Re: Does SIMD optimization of GCC 3.4.6 work?

2006-07-05 Thread Rene Rebe
Hi, On Wednesday 05 July 2006 20:26, Dave Korn wrote: I believe Lionel's real problem is likely to be that he was hoping that turning on the -mmx -sse -sse2 -3dnow options would auto-vectorise his code for him. Lionel, (IIUIC) those options just /enable/ the use of the various SIMD

Re: gcc 4.2 more strict check for function called through a non-compatible type

2006-07-05 Thread Mike Stump
On Jul 4, 2006, at 5:18 PM, Andrew Pinski wrote: And I posted a patch to do the same in Objective-C mode as C mode :). http://gcc.gnu.org/ml/gcc-patches/2004-08/msg01013.html Is the reason that Objective-C was excluded been fixed? If so, while I don't like the semantics in place now, I'd

Re: Ulrich Weigand appointed reload maintainer

2006-07-05 Thread Ulrich Weigand
David Edelsohn wrote: I am pleased to announce that the GCC Steering Committee has appointed Ulrich Weigand to the role of reload maintainer. Thank you! Please join me in congratulating Ulrich on his new role. Ulrich, please update your entry in the MAINTAINERS file. I've

Re: gcc 4.2 more strict check for function called through a non-compatible type

2006-07-05 Thread Ian Lance Taylor
Mike Stump [EMAIL PROTECTED] writes: On Jul 4, 2006, at 5:18 PM, Andrew Pinski wrote: And I posted a patch to do the same in Objective-C mode as C mode :). http://gcc.gnu.org/ml/gcc-patches/2004-08/msg01013.html Is the reason that Objective-C was excluded been fixed? If so, while I

Notes from the BOF on DFP on x86/x86-64 at the GCC Summit

2006-07-05 Thread Evandro Menezes
(Resending after update on archive link below.) A proposal was made to pick one the Decimal Floating-Point encodings from the IEEE754r draft in the x86-64 psABI a few weeks ago (see thread starting at http://www.amd64.org/lists/discuss/thrd215.html#08857). Given that any such decision can have

RFA: new execute testcase (Was: Re: bootstrap failed during 'make check')

2006-07-05 Thread Joern RENNECKE
Andrew Haley wrote: So it seems I have to abandom the system compiler for doing bootstraps. Can you make a simple testcase for this? Andrew. Attached. This fails at -O0..-O2 for gcc 3.2.2 and gcc 3.2.3 on i686-pc-linux-gnu. For gcc 3.4.3, it still fails at -O1. 4.2.0 appears to be

Re: bootstrap failed during 'make check'

2006-07-05 Thread Eric Botcazou
Hmm, as far as I can tell, stage1 i386.c:ix86_split_ashr has been miscompiled by gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-54). Thanks a bunch for sorting this out! -- Eric Botcazou

Re: gcc 4.2 more strict check for function called through a non-compatible type

2006-07-05 Thread Yuri Pudgorodsky
Ian Lance Taylor wrote: Mike Stump [EMAIL PROTECTED] writes: On Jul 4, 2006, at 5:18 PM, Andrew Pinski wrote: And I posted a patch to do the same in Objective-C mode as C mode :). http://gcc.gnu.org/ml/gcc-patches/2004-08/msg01013.html Is the reason that Objective-C was

Re: gcc 4.2 more strict check for function called through a non-compatible type

2006-07-05 Thread Gabriel Dos Reis
Ian Lance Taylor [EMAIL PROTECTED] writes: [...] | I personally don't agree that this needs to be a documented extension. | I'm simply going on a more general rule which I tried to state above: | I don't think we should insert a trap call for undefined code. If it should not a documented

Re: gcc 4.2 more strict check for function called through a non-compatible type

2006-07-05 Thread Gabriel Dos Reis
Ian Lance Taylor [EMAIL PROTECTED] writes: | Andrew Haley [EMAIL PROTECTED] writes: | | If we make a change for openssh to allow this undefined behaviour, | then do we agree to keep it working or not? If we agree that we will, | then we have to at least add some test cases and we have to add

Re: gcc 4.2 more strict check for function called through a non-compatible type

2006-07-05 Thread Mark Mitchell
Ian Lance Taylor wrote: I realized that I am still not stating my position very clearly. I don't think we should make any extra effort to make this code work: after all, the code is undefined. I just think 1) we should not insert a trap; 2) we should not ICE. I agree. If the inlining

[Bug c/27898] Compile failure with --combine and anonymous structures

2006-07-05 Thread aoliva at gcc dot gnu dot org
-- aoliva at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |aoliva at gcc dot gnu dot |dot org

[Bug c/27898] Compile failure with --combine and anonymous structures

2006-07-05 Thread aoliva at gcc dot gnu dot org
--- Comment #1 from aoliva at gcc dot gnu dot org 2006-07-05 06:04 --- Created an attachment (id=11822) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11822action=view) Patch that fixes the bug This patch fixes the problem for me. --

[Bug other/28264] New: broken gcc/config/soft-fp build.

2006-07-05 Thread pluto at agmk dot net
(...) ../../gcc/config/soft-fp/floatsisf.c:36: warning: no previous prototype for '__floatsisf' /home/users/builder/rpm/BUILD/trunk/builddir/./gcc/xgcc -B/home/users/builder/rpm/BUILD/trunk/builddir/./gcc/ -B/usr/ppc-pld-linux/bin/ -B/usr/ppc-pld-linux/lib/ -isystem /usr/ppc-pld-linux/include

[Bug tree-optimization/28218] [4.1 Regression] ICE when building Inkscape with gcc-4.1 with -O2 -ffast-math

2006-07-05 Thread bonzini at gcc dot gnu dot org
--- Comment #5 from bonzini at gnu dot org 2006-07-05 06:20 --- Subject: Bug 28218 Author: bonzini Date: Wed Jul 5 06:20:19 2006 New Revision: 115197 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=115197 Log: 2006-07-04 Paolo Bonzini [EMAIL PROTECTED] PR

[Bug other/28264] broken gcc/config/soft-fp build.

2006-07-05 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-07-05 06:23 --- How did you configure GCC? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28264

[Bug other/28264] broken gcc/config/soft-fp build.

2006-07-05 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-07-05 06:24 --- soft-fp is included by default on powerpc-linux and it works for everyone I know. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28264

[Bug other/28264] broken gcc/config/soft-fp build.

2006-07-05 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-07-05 06:25 --- And config/soft-fp/divdf3.c is there for me. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28264

[Bug tree-optimization/28218] [4.1 Regression] ICE when building Inkscape with gcc-4.1 with -O2 -ffast-math

2006-07-05 Thread bonzini at gcc dot gnu dot org
--- Comment #6 from bonzini at gnu dot org 2006-07-05 06:47 --- Subject: Bug 28218 Author: bonzini Date: Wed Jul 5 06:47:21 2006 New Revision: 115198 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=115198 Log: 2006-07-04 Paolo Bonzini [EMAIL PROTECTED] PR

[Bug tree-optimization/28218] [4.1 Regression] ICE when building Inkscape with gcc-4.1 with -O2 -ffast-math

2006-07-05 Thread bonzini at gnu dot org
--- Comment #7 from bonzini at gnu dot org 2006-07-05 06:49 --- patch committed to 4.1 branch and mainline (where it was latent) -- bonzini at gnu dot org changed: What|Removed |Added

[Bug libstdc++/28265] New: iconv-related errors while building a cross-compiler for MinGW

2006-07-05 Thread rmathew at gcc dot gnu dot org
libstdc++-v3/include/ext/codecvt_specializations.h uses iconv_t and causes errors while building an i686-pc-linux-gnu to i686-pc-mingw32 cross-compiler. (I'm at trunk revision 115196.) Strangely however, this does not cause a build failure and is therefore not catastrophic for this target. GCC

[Bug libstdc++/28265] iconv-related errors while building a cross-compiler for MinGW

2006-07-05 Thread rmathew at gcc dot gnu dot org
--- Comment #1 from rmathew at gcc dot gnu dot org 2006-07-05 07:32 --- Created an attachment (id=11823) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11823action=view) The portion of the build log that shows the error reported in this PR. --

[Bug other/28264] broken gcc/config/soft-fp build.

2006-07-05 Thread pluto at agmk dot net
--- Comment #4 from pluto at agmk dot net 2006-07-05 08:19 --- ohhh, now I see what's wrong. Out of Memory: Killed process 18248 (cc1). the PPC970FX box has 1GB ram + 1GB swap. i'll re-run build and try to reproduce this memory-hog. --

[Bug middle-end/28252] pow(x,1/3.0) should be converted to cbrt(x)

2006-07-05 Thread uros at kss-loka dot si
--- Comment #2 from uros at kss-loka dot si 2006-07-05 08:25 --- Created an attachment (id=11824) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11824action=view) Patch to implement pow(x,1.0/3.0) = cbrt(x) optimization I have the patch that implements the optimization ready, just

[Bug middle-end/28252] pow(x,1/3.0) should be converted to cbrt(x)

2006-07-05 Thread uros at kss-loka dot si
-- uros at kss-loka dot si changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |uros at kss-loka dot si |dot org |

[Bug tree-optimization/21883] [4.1/4.2 Regression] jump threading causing excessive code duplication

2006-07-05 Thread pinskia at gcc dot gnu dot org
--- Comment #12 from pinskia at gcc dot gnu dot org 2006-07-05 09:04 --- As far as I can tell this has been fixed now so closing as such. Yes I did test to make sure the function calls are no longer being duplicated. -- pinskia at gcc dot gnu dot org changed: What

[Bug target/26885] [4.1 regression] -m64 -m32 no longer creates 32-bit object

2006-07-05 Thread pinskia at gcc dot gnu dot org
--- Comment #20 from pinskia at gcc dot gnu dot org 2006-07-05 09:05 --- Fixed on the mainline. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/8361] [4.1/4.2 regression] C++ compile-time performance regression

2006-07-05 Thread pinskia at gcc dot gnu dot org
--- Comment #67 from pinskia at gcc dot gnu dot org 2006-07-05 09:06 --- Does anyone have new numbers for this, Richard G.'s recent memory patches have an effect on the compile time also I noticed between 7% and 10% on at least CSiBE. --

[Bug tree-optimization/18687] [4.0/4.1/4.2 Regression] ~50% compile time regression

2006-07-05 Thread pinskia at gcc dot gnu dot org
--- Comment #30 from pinskia at gcc dot gnu dot org 2006-07-05 09:14 --- Can you do timings on these again on the mainline since it looks like Richard G.'s memory patches also improved compile time for C at least on the CSiBE benchmark. --

[Bug fortran/28005] [4.1 only] gfortran: matmul produces wrong result

2006-07-05 Thread tobias dot burnus at physik dot fu-berlin dot de
--- Comment #7 from tobias dot burnus at physik dot fu-berlin dot de 2006-07-05 09:23 --- The patch did not apply to 4.1, so I will have to submit a back port. Thanks, Paul. I think this is the most serious bug in gfortran 4.1.x as it silently produces wrong results. -- tobias dot

[Bug tree-optimization/21596] [4.0/4.1/4.2 Regression] extra temporaries when using global register variables

2006-07-05 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2006-07-05 09:27 --- It is slightly different now: leal-4(%edi), %eax movl%eax, %edi movl(%eax), %eax testl %eax, %eax But still the same issue. -- pinskia at gcc dot gnu dot org

[Bug libfortran/23138] [mingw32] real(16) values are printed incorrectly

2006-07-05 Thread fxcoudert at gcc dot gnu dot org
--- Comment #12 from fxcoudert at gcc dot gnu dot org 2006-07-05 09:45 --- (In reply to comment #9) mingw has an implementation of _IO_ldtoa() and _IO_ldtostr(), based on Stephen Moshier's ioldoubl package, that could be used. Currently, the ldtoa function is not exposed, but there

[Bug fortran/28237] print call()

2006-07-05 Thread paul dot richard dot thomas at cea dot fr
--- Comment #3 from paul dot richard dot thomas at cea dot fr 2006-07-05 09:47 --- Created an attachment (id=11825) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11825action=view) Fix for PR28237 and the last bit of PR2320. I have not had time to do a full regtest; just

[Bug target/25500] [4.0/4.1/4.2 Regression]: SSE2 vectorized code is slower on 4.x.x than previous

2006-07-05 Thread pinskia at gcc dot gnu dot org
--- Comment #17 from pinskia at gcc dot gnu dot org 2006-07-05 09:50 --- struct FF { __m128 d; . } Mine I have a patch for this I cannot believe I found this before. The patch has been tested a bit at least in the local tree I have been playing out with. SRA should use element

[Bug tree-optimization/27474] ICE: tree check: expected ssa_name, have struct_field_tag in verify_ssa, at tree-ssa.c:776

2006-07-05 Thread uros at kss-loka dot si
--- Comment #4 from uros at kss-loka dot si 2006-07-05 10:10 --- This still fails with current mainline gcc. -- uros at kss-loka dot si changed: What|Removed |Added

[Bug tree-optimization/28162] [4.2 Regression] ICE in set_value_range, at tree-vrp.c:157

2006-07-05 Thread patchapp at dberlin dot org
--- Comment #5 from patchapp at dberlin dot org 2006-07-05 10:45 --- Subject: Bug number PR28162 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2006-07/msg00133.html --

[Bug c++/26696] [4.0/4.1/4.2 Regression] ICE with statement forming unused static member function reference

2006-07-05 Thread dtemirbulatov at gmail dot com
--- Comment #4 from dtemirbulatov at gmail dot com 2006-07-05 10:46 --- fix we need to check first operand for FIELD_DECL before gimpilfying COMPONENT_REF this is a wrong fix, it caused some regressions -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26696

[Bug target/28158] [4.2 Regression] ICE on complex operation with -O1 -msse

2006-07-05 Thread patchapp at dberlin dot org
--- Comment #5 from patchapp at dberlin dot org 2006-07-05 10:50 --- Subject: Bug number PR28158 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2006-07/msg00134.html --

[Bug c++/27084] Does not propagate memory load base through useless type conversion

2006-07-05 Thread rguenth at gcc dot gnu dot org
--- Comment #13 from rguenth at gcc dot gnu dot org 2006-07-05 10:54 --- Subject: Bug 27084 Author: rguenth Date: Wed Jul 5 10:54:17 2006 New Revision: 115200 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=115200 Log: 2006-07-05 Richard Guenther [EMAIL PROTECTED]

[Bug c++/27084] Does not propagate memory load base through useless type conversion

2006-07-05 Thread rguenth at gcc dot gnu dot org
--- Comment #14 from rguenth at gcc dot gnu dot org 2006-07-05 10:58 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug c++/28255] [4.1/4.2 regression] ICE with initialization in template

2006-07-05 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2006-07-05 11:03 --- Confirmed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added CC|

[Bug c/9072] -Wconversion should be split into two distinct flags

2006-07-05 Thread lopezibanez at gmail dot com
--- Comment #14 from lopezibanez at gmail dot com 2006-07-05 11:15 --- Created an attachment (id=11826) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11826action=view) split current functionality of Wconversion in two different options This patch divides the functionality of

[Bug c/9072] -Wconversion should be split into two distinct flags

2006-07-05 Thread lopezibanez at gmail dot com
--- Comment #15 from lopezibanez at gmail dot com 2006-07-05 11:18 --- Created an attachment (id=11827) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11827action=view) Adds a new function which detects when a real value can be exactly represented as an integer. Patch 2of3

[Bug c/9072] -Wconversion should be split into two distinct flags

2006-07-05 Thread lopezibanez at gmail dot com
--- Comment #16 from lopezibanez at gmail dot com 2006-07-05 11:22 --- Created an attachment (id=11828) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11828action=view) detect implicit conversions where a value may change patch 3of3 http://gcc.gnu.org/wiki/Wcoercion#Background

[Bug c/6614] [-Wconversion] incorrect conversion warning for function taking a short

2006-07-05 Thread lopezibanez at gmail dot com
--- Comment #8 from lopezibanez at gmail dot com 2006-07-05 11:34 --- I think we may close this bug report since either: * The solution is to split the functionality of Wconversion as conceived by the Wcoercion project http://gcc.gnu.org/wiki/Wcoercion#Background. In that case, this is

[Bug c/6614] [-Wconversion] incorrect conversion warning for function taking a short

2006-07-05 Thread rguenth at gcc dot gnu dot org
--- Comment #9 from rguenth at gcc dot gnu dot org 2006-07-05 11:37 --- See comment #1, this is how it is intended. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/24401] -fbounds-check takes too long

2006-07-05 Thread fxcoudert at gcc dot gnu dot org
--- Comment #6 from fxcoudert at gcc dot gnu dot org 2006-07-05 11:43 --- (In reply to comment #5) Can we close this? I think we can. If someone has precise input on how we can make -fbounds-check even faster, please reopen this PR with extra details. -- fxcoudert at gcc dot gnu

[Bug fortran/28129] gfortran -fbounds-check: Shows invalid array out of bounds error

2006-07-05 Thread fxcoudert at gcc dot gnu dot org
--- Comment #2 from fxcoudert at gcc dot gnu dot org 2006-07-05 11:50 --- I have a patch here: http://gcc.gnu.org/ml/gcc-patches/2006-07/msg00137.html -- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/28266] New: [4.0/4.1/4.2 regression] ICE on invalid default variable

2006-07-05 Thread reichelt at gcc dot gnu dot org
The following invalid code snippet triggers an ICE since GCC 4.0.0: struct A { int i; A(int = X); }; void foo() { A().i; } bug.cc:4: error: 'X' was not declared in this scope bug.cc: In function 'void foo()': bug.cc:9: internal compiler error: in

[Bug c++/28267] New: [4.0/4.1/4.2 regression] ICE on invalid default variable in operator new

2006-07-05 Thread reichelt at gcc dot gnu dot org
The following invalid code snippet triggers a segfault since GCC 4.0.0: struct A { void* operator new(__SIZE_TYPE__, int = X); void operator delete(void*, int); A(); }; void foo() { new A; }

[Bug middle-end/28268] New: [4.2 regression] ICE with simple vector operations

2006-07-05 Thread reichelt at gcc dot gnu dot org
The following valid code snippet triggers an ICE on mainline: int __attribute__((vector_size(8))) a; void foo() { a += a*a; } bug.c: In function 'foo': bug.c:5: internal

[Bug c++/28269] New: [4.2 regression] ICE on attribute for invalid template

2006-07-05 Thread reichelt at gcc dot gnu dot org
The following invalid code snippet triggers an ICE on mainline: templateint struct A; struct __attribute__((unused)) A0; bug.cc:3: error: template argument 1 is invalid

[Bug target/28270] New: [4.0/4.1/4.2 regression] ICE on invalid inline asm

2006-07-05 Thread reichelt at gcc dot gnu dot org
The following invalid code snippet triggers an ICE since GCC 3.1: void foo(long double d) { asm( :: a (d)); } bug.c: In function 'foo': bug.c:3: error: impossible register

[Bug c++/28271] New: Specialization of a function is not called if compile with -03 option

2006-07-05 Thread maxime dot fiandino at imag dot fr
The specialization of a function is not called if compile with -03 option, the generic implementation is called insteed. This appear only if the declaration of the specialization is in another file. The specialization is called if compiled with -02 or lees optimization, or if the generic

[Bug c++/28271] Specialization of a function is not called if compile with -03 option

2006-07-05 Thread maxime dot fiandino at imag dot fr
--- Comment #1 from maxime dot fiandino at imag dot fr 2006-07-05 13:11 --- Created an attachment (id=11829) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11829action=view) The main, just call the template function foo and return the return value --

[Bug c++/28271] Specialization of a function is not called if compile with -03 option

2006-07-05 Thread maxime dot fiandino at imag dot fr
--- Comment #2 from maxime dot fiandino at imag dot fr 2006-07-05 13:12 --- Created an attachment (id=11830) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11830action=view) the specialization The specialization on int return true --

[Bug c++/28271] Specialization of a function is not called if compile with -03 option

2006-07-05 Thread maxime dot fiandino at imag dot fr
--- Comment #3 from maxime dot fiandino at imag dot fr 2006-07-05 13:12 --- Created an attachment (id=11831) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11831action=view) The header with the generic implementation The generic template function return false --

[Bug c++/28271] Specialization of a function is not called if compile with -03 option

2006-07-05 Thread maxime dot fiandino at imag dot fr
--- Comment #4 from maxime dot fiandino at imag dot fr 2006-07-05 13:14 --- Created an attachment (id=11832) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11832action=view) The makefile to test This makefile create two executable TC1 compiled with -02 which work well TC2

[Bug c++/28271] Specialization of a function is not called if compile with -03 option

2006-07-05 Thread maxime dot fiandino at imag dot fr
--- Comment #5 from maxime dot fiandino at imag dot fr 2006-07-05 13:18 --- This bug was firstly discover under gcc3.2.3, then we test with 4.1.1 with the same results. The test case is very short. -- maxime dot fiandino at imag dot fr changed: What|Removed

[Bug rtl-optimization/28221] [4.1 regression] ICE in add_insn_before, at emit-rtl.c:3479

2006-07-05 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2006-07-05 13:36 --- With checking enabled we have obj2/gcc ./cc1plus -quiet -O2 t.ii t.ii: In static member function 'static IntType boost::random::const_modIntType, m::mult_schrage(IntType, IntType) [with IntType = int, IntType m =

[Bug fortran/27874] Bad interaction between bounds checking, forall and derived types

2006-07-05 Thread fxcoudert at gcc dot gnu dot org
-- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |fxcoudert at gcc dot gnu dot |dot org

[Bug target/27500] iWMMXT bootstrap failure with recent binutils

2006-07-05 Thread s_j_newbury at yahoo dot co dot uk
--- Comment #2 from s_j_newbury at yahoo dot co dot uk 2006-07-05 13:38 --- This bug is still present with binutils-2.17.50.0.2. I am still uncertain whether gcc is producing invalid code or the check in binutils is wrong. I have found this bug to be triggered while compiling gcc and

[Bug other/28251] dumped addresses makes diffing dumps unusable

2006-07-05 Thread amylaar at gcc dot gnu dot org
--- Comment #3 from amylaar at gcc dot gnu dot org 2006-07-05 13:42 --- Created an attachment (id=11833) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11833action=view) dump diff for mainline r115174 bootstrap failure The diff with -fdump-noaddr is indeed much more useful to track

[Bug tree-optimization/28187] [4.1/4.2 Regression] '-O2 -fwrapv' exhausts memory.

2006-07-05 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2006-07-05 13:48 --- I can reproduce it on the 4.1 branch on i686, but not on trunk. Very slowly eating all of memory. Reducing. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28187

  1   2   3   >