missing optimization - don't compute return value not used?

2007-09-26 Thread Neal Becker
gcc version 4.1.2 20070502 (Red Hat 4.1.2-12) I noticed the following code === version 1: templatetypename a_t, typename b_t inline a_t append (a_t a, b_t const b) { a.insert (a.end(), b.begin(), b.end()); return a; } === version 2: templatetypename a_t, typename b_t inline void append (a_t

Re: missing optimization - don't compute return value not used?

2007-09-26 Thread Richard Li
In version 1, the return type is a_t, so a class construction is required there (the caller will then destruct the returned object). Construction and destruction can have side effects, so the compiler would not drop them. For the following code, templatetypename a_t, typename b_t inline a_t

Re: support single predicate set instructions in GCC-4.1.1

2007-09-26 Thread 吴曦
2007/9/26, Jim Wilson [EMAIL PROTECTED]: On Tue, 2007-09-25 at 15:13 +0800, 吴曦 wrote: propagate_one_insn), I don't understand why GCC fails the computation of liveness if there is no optimization flag :-(. There is probably something else happening with -O that is recomputing some liveness

Re: Poor pow() / floating point performance of on x86_64

2007-09-26 Thread Ralf Lübben
Hello, maybe this is the better list to post the problem (see below). Regards Ralf On Wednesday, 26. September 2007 18:23:34 Ralf Lübben wrote: Ok, the problems seems to be the pow() function. If I use instead the function gsl_pow_int(double x, int n) from the gsl library the performance on

Re: Poor pow() / floating point performance of on x86_64

2007-09-26 Thread Tim Prince
Richard Guenther wrote: On 9/26/07, Ralf Lübben [EMAIL PROTECTED] wrote: Hello, maybe this is the better list to post the problem (see below). This is off-topic here, gcc-help would be a more appropriate list. True, but it appears to be a glibc problem, rather than one which can

Require help with the backend in gcc

2007-09-26 Thread V. Karthik Kumar
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I require help with some work i've been doing lately on gcc (4.2.1 tree). I have managed to put some code in. Now, for function compilation, i require to invoke the i386 (as of now) backend multiple times and with different switches; one time

Re: support single predicate set instructions in GCC-4.1.1

2007-09-26 Thread Jim Wilson
On Wed, 2007-09-26 at 23:35 +0800, 吴曦 wrote: Thanks, it's the problem of pass_stack_adjustments. pass_stack_adjustments isn't in gcc-4.2.x; it is only on mainline. But the flow stuff you are using isn't on mainline anymore since the dataflow merge. Maybe you are using a month or two old

Re: Require help with the backend in gcc

2007-09-26 Thread Ian Lance Taylor
V. Karthik Kumar [EMAIL PROTECTED] writes: I require help with some work i've been doing lately on gcc (4.2.1 tree). I have managed to put some code in. Now, for function compilation, i require to invoke the i386 (as of now) backend multiple times and with different switches; one time with

[libobjc] Shouldn't version take a long?

2007-09-26 Thread Jose Quinteiro
Hello, The getter/setter for version in Object.M gets/takes an int, and they eventually get/set the version field in struct objc_class. This field is declared as a long in objc/objc.h. I'm asking because I think this was causing a crash in GNUMail on 64-bit systems. More detail:

Re: Require help with the backend in gcc

2007-09-26 Thread V. Karthik Kumar
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thank you for a quick reply! :) I was to do dynamic cpu dispatching code (which could also benefit autovectorization). I'm checking out the trunk now. I've already implemented an userland library to do cpu detection, and the initialization hook goes

Re: [libobjc] Shouldn't version take a long?

2007-09-26 Thread Andrew Pinski
On 9/26/07, Jose Quinteiro [EMAIL PROTECTED] wrote: Hello, The getter/setter for version in Object.M gets/takes an int, and they eventually get/set the version field in struct objc_class. This field is declared as a long in objc/objc.h. Why? Any change here will change the ABI so it

Re: deadline extension for debug info project into GCC 4.3 stage3?

2007-09-26 Thread Alexandre Oliva
On Sep 11, 2007, Mark Mitchell [EMAIL PROTECTED] wrote: That's a possibility, but I don't want to commit at this point. We can have a look at it when you submit it and decide. However, in general, introducing churn for the sake of a feature that will be off by default isn't something that I

Re: [libobjc] Shouldn't version take a long?

2007-09-26 Thread Jose Quinteiro
Please forgive me if I'm being dense, I'm very new to Objective-C. The problem was that a class in GNUMail (PGPController) implemented a method thusly: - (NSString *) version { return @v0.9.1; } That method is declared in the GNUMailBundle protocol. GNUMail would segfault when the

Re: [libobjc] Shouldn't version take a long?

2007-09-26 Thread Jose Quinteiro
I wrote a simple test program that works just fine on my 64 bit system. The problem must lie somewhere in the GNUStep libraries. Sorry about the waste of bandwidth. Thanks, Jose. Jose Quinteiro wrote: Please forgive me if I'm being dense, I'm very new to Objective-C. The problem was that a

Re: missing optimization - don't compute return value not used?

2007-09-26 Thread Richard Li
Right, page 211 of the C++ standard (2003) explains when copy-ctor and dtor are allowed to be optimized away. But the two circumstances are both like this: A is constructed; A is copy-constructed to B; A is destructed Here A is a temporary object in some sense, and the standard allows for directly

[Bug fortran/33554] [4.3 regression] Seg.fault: Default initialization of derived type uses uninitialized values

2007-09-26 Thread anlauf at gmx dot de
--- Comment #5 from anlauf at gmx dot de 2007-09-26 07:10 --- (In reply to comment #4) I found backups of other gfortran versions: Working: GNU Fortran (GCC) 4.3.0 20070420 (experimental) Failing: GNU Fortran (GCC) 4.3.0 20070805 (experimental) So it's a regression. -- anlauf at

[Bug fortran/33554] [4.3 regression] Seg.fault: Default initialization of derived type uses uninitialized values

2007-09-26 Thread dominiq at lps dot ens dot fr
--- Comment #6 from dominiq at lps dot ens dot fr 2007-09-26 07:45 --- Failing: GNU Fortran (GCC) 4.3.0 20070805 (experimental) Did you try a more recent version? I don't see the problem with Target: powerpc-apple-darwin8 gcc version 4.3.0 20070925 (experimental) (GCC) - revision

[Bug fortran/33554] [4.3 regression] Seg.fault: Default initialization of derived type uses uninitialized values

2007-09-26 Thread burnus at gcc dot gnu dot org
--- Comment #7 from burnus at gcc dot gnu dot org 2007-09-26 07:53 --- I found backups of other gfortran versions: More tests: Works: 2007-07-23-r126835 Fails: 2007-07-25-r126902 This probably caused by: http://gcc.gnu.org/ml/gcc-cvs/2007-07/msg00745.html r126885 | pault | 2007-07-24

[Bug fortran/33554] [4.3 regression] Seg.fault: Default initialization of derived type uses uninitialized values

2007-09-26 Thread dominiq at lps dot ens dot fr
--- Comment #8 from dominiq at lps dot ens dot fr 2007-09-26 08:10 --- Now I get a bus error, but I have to use: gfc -m64 -g pr33554.f90 -O0 with gfc -m64 -g pr33554.f90 -fbounds-check -O0 the bus error disappear. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33554

[Bug target/31985] Wide operations (i.e. adddi3) are split too late

2007-09-26 Thread ubizjak at gmail dot com
--- Comment #2 from ubizjak at gmail dot com 2007-09-26 08:53 --- The testcase from comment #1 is fixed: test_c: subl$16, %esp movl24(%esp), %eax mull20(%esp) movl%eax, 8(%esp) movl%edx, 12(%esp) addl$16, %esp

[Bug middle-end/33559] GCC manual documents Wstack-protector option but not fstack-protector/fno-stack-protector

2007-09-26 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-09-26 08:59 --- They are included as far as I can tell: @item -fstack-protector Emit extra code to check for buffer overflows, such as stack smashing attacks. This is done by adding a guard variable to functions with vulnerable

[Bug tree-optimization/30375] [4.3 Regression] tree-ssa-dse incorrectly removes struct initialization

2007-09-26 Thread belyshev at depni dot sinp dot msu dot ru
--- Comment #29 from belyshev at depni dot sinp dot msu dot ru 2007-09-26 09:31 --- Another testcase: /* { dg-do run } */ /* { dg-options -O1 --param max-aliased-vops=0 } */ struct T { int a, b; } t; __attribute__((noinline)) struct T *f (struct T *p) { struct T *q =

[Bug tree-optimization/33560] New: [4.3 regression] wrong code with dse and alias partitioning

2007-09-26 Thread belyshev at depni dot sinp dot msu dot ru
Reduced from 197.parser which failed with -O1: /* { dg-do run } */ /* { dg-options -O1 --param max-aliased-vops=0 } */ struct T { int a, b; } t; __attribute__((noinline)) struct T *f (struct T *p) { struct T *q = __builtin_malloc (sizeof (struct T)); *q = *p; return q; } int main

[Bug tree-optimization/30375] [4.3 Regression] tree-ssa-dse incorrectly removes struct initialization

2007-09-26 Thread belyshev at depni dot sinp dot msu dot ru
--- Comment #30 from belyshev at depni dot sinp dot msu dot ru 2007-09-26 09:46 --- (In reply to comment #29) Another testcase: Ignore this one, I filed it as a separate report, see bug 33560 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30375

[Bug tree-optimization/33560] [4.3 regression] wrong code with dse and alias partitioning

2007-09-26 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2007-09-26 09:57 --- Confirmed. I have a patch. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/33560] [4.3 regression] wrong code with dse and alias partitioning

2007-09-26 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2007-09-26 09:58 --- get_use_of_stmt_lhs happily skips over calls. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/33561] New: Wrong code for single precision math functions on x86_64-pc-mingw32

2007-09-26 Thread fxcoudert at gcc dot gnu dot org
I have had a bug report from people who tested my gfortran binaries for mingw-w64 that the float variants of math functions aren't working properly. The proper report that was sent to me has this example: C:\gfortran\test\single_bugtype table.f90 program table real x integer i write(*,*) '

[Bug fortran/33561] Wrong code for single precision math functions on x86_64-pc-mingw32

2007-09-26 Thread fxcoudert at gcc dot gnu dot org
-- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last

[Bug tree-optimization/30375] [4.3 Regression] tree-ssa-dse incorrectly removes struct initialization

2007-09-26 Thread rguenth at gcc dot gnu dot org
--- Comment #31 from rguenth at gcc dot gnu dot org 2007-09-26 11:55 --- Subject: Bug 30375 Author: rguenth Date: Wed Sep 26 11:55:17 2007 New Revision: 128810 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=128810 Log: 2007-09-26 Richard Guenther [EMAIL PROTECTED] PR

[Bug tree-optimization/33560] [4.3 regression] wrong code with dse and alias partitioning

2007-09-26 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2007-09-26 11:55 --- Subject: Bug 33560 Author: rguenth Date: Wed Sep 26 11:55:17 2007 New Revision: 128810 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=128810 Log: 2007-09-26 Richard Guenther [EMAIL PROTECTED] PR

[Bug tree-optimization/33562] New: aggregate DSE disabled

2007-09-26 Thread rguenth at gcc dot gnu dot org
Author: rguenth Date: Wed Sep 26 11:55:17 2007 New Revision: 128810 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=128810 Log: 2007-09-26 Richard Guenther [EMAIL PROTECTED] PR tree-optimization/30375 PR tree-optimization/33560 ... * gcc.dg/tree-ssa/complex-4.c:

[Bug tree-optimization/33560] [4.3 regression] wrong code with dse and alias partitioning

2007-09-26 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2007-09-26 11:56 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug tree-optimization/30375] [4.3 Regression] tree-ssa-dse incorrectly removes struct initialization

2007-09-26 Thread rguenth at gcc dot gnu dot org
--- Comment #32 from rguenth at gcc dot gnu dot org 2007-09-26 11:56 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/33383] [4.3 Regression] Revision 128092 miscompiles 400.perlbench

2007-09-26 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2007-09-26 11:57 --- This should now be fixed. Waiting for next results from the spec-tester to verify. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33383

[Bug c/16602] Spurious warnings about pointer to array - const pointer to array conversion

2007-09-26 Thread jozef dot behran at krs dot sk
--- Comment #5 from jozef dot behran at krs dot sk 2007-09-26 11:58 --- Section 5.6.2.1, paragraph 2 says E1[E2] is equivalent to *((E1)+(E2)). This means if we have typedef int THostAddr[8] then the declaration THostAddr *Host declares Host to be a pointer to 8-item arrays of integers,

[Bug fortran/33561] Wrong code for single precision math functions on x86_64-pc-mingw32

2007-09-26 Thread ubizjak at gmail dot com
--- Comment #1 from ubizjak at gmail dot com 2007-09-26 12:00 --- (In reply to comment #0) (Notice the extra lines between the call to _sinf and the leave.) -O2 will remove these lines (as well as the lines above _sinf): BTW: Could you check if _sinf returns values in %xmm0 reg?

[Bug fortran/33561] Wrong code for single precision math functions on x86_64-pc-mingw32

2007-09-26 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2007-09-26 12:03 --- There is nothing wrong with the extra asm instructions. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33561

[Bug tree-optimization/33562] aggregate DSE disabled

2007-09-26 Thread belyshev at depni dot sinp dot msu dot ru
-- belyshev at depni dot sinp dot msu dot ru changed: What|Removed |Added CC||belyshev at depni dot sinp |

[Bug c/33076] Warning when passing a pointer to a const array to a function that expects a pointer to a non-cast one

2007-09-26 Thread jozef dot behran at krs dot sk
--- Comment #6 from jozef dot behran at krs dot sk 2007-09-26 12:06 --- Neither C nor C++ have qualified array types, only arrays of qualified element types, but C++ has different rules from C regarding conversions involving qualifiers, which allow some conversions (involving

[Bug c/16602] Spurious warnings about pointer to array - const pointer to array conversion

2007-09-26 Thread jsm28 at gcc dot gnu dot org
--- Comment #6 from jsm28 at gcc dot gnu dot org 2007-09-26 12:09 --- When you apply const to array of int, the resulting type is array of const int not const array of int; that's how type qualifiers and arrays interact in C, there is no such thing as a qualified array type. array of

[Bug c/33076] Warning when passing a pointer to a const array to a function that expects a pointer to a non-cast one

2007-09-26 Thread jozef dot behran at krs dot sk
--- Comment #7 from jozef dot behran at krs dot sk 2007-09-26 12:18 --- Neither C nor C++ have qualified array types, only arrays of qualified element types, but C++ has different rules from C regarding conversions involving qualifiers, which allow some conversions (involving

[Bug c/25309] [4.0/4.1/4.2/4.3 Regression] ICE on initialization of a huge array

2007-09-26 Thread jsm28 at gcc dot gnu dot org
--- Comment #15 from jsm28 at gcc dot gnu dot org 2007-09-26 12:32 --- Subject: Bug 25309 Author: jsm28 Date: Wed Sep 26 12:32:27 2007 New Revision: 128811 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=128811 Log: PR c/25309 * c-common.c (complete_array_type):

[Bug c/16602] Spurious warnings about pointer to array - const pointer to array conversion

2007-09-26 Thread jozef dot behran at krs dot sk
--- Comment #7 from jozef dot behran at krs dot sk 2007-09-26 12:33 --- Hm, I must apologize for argumenting about wrong point of this issue. Now I can see why other sometimes say think before you type :) The problem here is not whether applying const to array of int makes const array

[Bug c/33076] Warning when passing a pointer to a const array to a function that expects a pointer to a non-cast one

2007-09-26 Thread joseph at codesourcery dot com
--- Comment #8 from joseph at codesourcery dot com 2007-09-26 12:38 --- Subject: Re: Warning when passing a pointer to a const array to a function that expects a pointer to a non-cast one On Wed, 26 Sep 2007, jozef dot behran at krs dot sk wrote: Could you give me reference in the

[Bug tree-optimization/33563] New: [4.3 Regression] DSE removes non-dead store

2007-09-26 Thread rguenth at gcc dot gnu dot org
For gcc.dg/torture /* { dg-do run } */ /* { dg-options --param max-aliased-vops=0 } */ struct T { int a, b; } t, q; int main (void) { struct T *p; t.a = 1; t.b = 2; q = t; t.a = 3; if (q.a != 1) __builtin_abort (); return 0; } the logic behind

[Bug c/33076] Warning when passing a pointer to a const array to a function that expects a pointer to a non-cast one

2007-09-26 Thread joseph at codesourcery dot com
--- Comment #9 from joseph at codesourcery dot com 2007-09-26 12:42 --- Subject: Re: Warning when passing a pointer to a const array to a function that expects a pointer to a non-cast one On Wed, 26 Sep 2007, jozef dot behran at krs dot sk wrote: And another point: Whether C/C++

[Bug fortran/33561] Wrong code for single precision math functions on x86_64-pc-mingw32

2007-09-26 Thread ktietz at gcc dot gnu dot org
--- Comment #3 from ktietz at gcc dot gnu dot org 2007-09-26 12:52 --- This doesn't seems to be an error in gcc. The w64 crt currently does not implement some math functions proper. May somebody can assist to port the assemble coded function for this target. --

[Bug tree-optimization/33563] [4.3 Regression] DSE removes non-dead store

2007-09-26 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2007-09-26 13:26 --- I have a patch. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/33564] New: A static inline function as a parameter of another static inline function is not inlined.

2007-09-26 Thread michaelferguson at acm dot org
This is a duplicate of bug 1601, which I can't reopen. This bug is still present on 4.1.2-13 (RedHat, 20070626) and 3.4.6-3 (RedHat 20060404). Looking at the produced assembly, f2 and fun are both produced; the assembly should only produce fun and inline both f1 and f2. I havn't tested it on

[Bug target/33168] [4.3 Regression] GCC Boot failure, building libstc++

2007-09-26 Thread amodra at bigpond dot net dot au
--- Comment #11 from amodra at bigpond dot net dot au 2007-09-26 14:27 --- We first choose a section here, when decl readonly_flag is false: #0 get_section (name=0x4cca824 .data._ZSt15system_category, flags=512, decl=0x4e44000) at /src/gcc-current/gcc/varasm.c:527 #1

[Bug other/33543] make html does not generate gccinstall documentation properly

2007-09-26 Thread manu at gcc dot gnu dot org
--- Comment #1 from manu at gcc dot gnu dot org 2007-09-26 14:30 --- This is a known problem. There is a patch here: http://gcc.gnu.org/ml/gcc-patches/2007-09/msg01735.html -- manu at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/33561] Wrong code for single precision math functions on x86_64-pc-mingw32

2007-09-26 Thread fxcoudert at gcc dot gnu dot org
--- Comment #4 from fxcoudert at gcc dot gnu dot org 2007-09-26 14:47 --- Sorry for the wrong report, and thanks. -- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/33564] A static inline function as a parameter of another static inline function is not inlined.

2007-09-26 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2007-09-26 14:49 --- Fixed in 4.3.0. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/33563] [4.3 Regression] DSE removes non-dead store

2007-09-26 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2007-09-26 15:32 --- Subject: Bug 33563 Author: rguenth Date: Wed Sep 26 15:31:50 2007 New Revision: 128815 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=128815 Log: 2007-09-26 Richard Guenther [EMAIL PROTECTED] PR

[Bug tree-optimization/33563] [4.3 Regression] DSE removes non-dead store

2007-09-26 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2007-09-26 15:32 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug fortran/33544] Spurious warning in TRANSFER intrinsic in Sept 24 snapshot of gfortran

2007-09-26 Thread michael dot a dot richmond at nasa dot gov
--- Comment #8 from michael dot a dot richmond at nasa dot gov 2007-09-26 15:36 --- An analogous message appears when I compile the program listed below with the flag -fdefault-real-8: qq.f90:3.15: rft = TRANSFER('abcd', 0.0) 1 Warning: Intrinsic TRANSFER at (1) has

[Bug c/16602] Spurious warnings about pointer to array - const pointer to array conversion

2007-09-26 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2007-09-26 16:40 --- Again this is invalid. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/33565] New: [4.3 regression] spurious warning: assuming signed overflow does not occur when assuming that (X + c) = X is always true

2007-09-26 Thread belyshev at depni dot sinp dot msu dot ru
with -O2 -Wall: void f (int m, int n) { int j; for (j = m; j m + 10 j n; j ++) do_something (j); } t.c:2: warning: assuming signed overflow does not occur when assuming that (X + c) = X is always true (also note useless line number) -- Summary: [4.3 regression]

[Bug target/33479] SyncTest Intermittent failing on MIPS

2007-09-26 Thread daney at gcc dot gnu dot org
--- Comment #5 from daney at gcc dot gnu dot org 2007-09-26 16:45 --- Subject: Bug 33479 Author: daney Date: Wed Sep 26 16:45:39 2007 New Revision: 128821 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=128821 Log: 2007-09-26 David Daney [EMAIL PROTECTED] PR

[Bug fortran/33432] g77 extension: Support for the .XOR. operator

2007-09-26 Thread fxcoudert at gcc dot gnu dot org
--- Comment #1 from fxcoudert at gcc dot gnu dot org 2007-09-26 17:17 --- (In reply to comment #0) The only problem is that this patch rejects (with -std=gnu/legacy) a user-implemented .XOR., which is valid Fortran 90/95/2003. I suggest we make it conditional on a -fxor-operator,

[Bug libstdc++/33489] parallel v3: sort assumes that the type of the objects to be sorted have a default constructor

2007-09-26 Thread bkoz at gcc dot gnu dot org
--- Comment #3 from bkoz at gcc dot gnu dot org 2007-09-26 17:27 --- OK. Now there are tests for all of algorithms for defaultconstructable. As per 20.1, this is not required for template arguments unless the standard explicitly notes it.

[Bug tree-optimization/33383] [4.3 Regression] Revision 128092 miscompiles 400.perlbench

2007-09-26 Thread hjl at lucon dot org
--- Comment #8 from hjl at lucon dot org 2007-09-26 17:39 --- Revision 128810: http://gcc.gnu.org/ml/gcc-cvs/2007-09/msg00806.html doesn't fix 400.perlbench on Linux/x86-64. I am testing revision 128815: http://gcc.gnu.org/ml/gcc-cvs/2007-09/msg00812.html --

[Bug tree-optimization/33565] [4.3 regression] spurious warning: assuming signed overflow does not occur when assuming that (X + c) = X is always true

2007-09-26 Thread ian at airs dot com
--- Comment #1 from ian at airs dot com 2007-09-26 17:54 --- Created an attachment (id=14253) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14253action=view) Patch I'm testing this patch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33565

[Bug fortran/33566] New: fortran : wrong rank of derived type parameters array components

2007-09-26 Thread mikael dot morin at tele2 dot fr
version 4.3.0 20070926 (experimental) (GCC) -- Summary: fortran : wrong rank of derived type parameters array components Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/31446] [4.2/4.3 regression] ICE with invalid template parameter

2007-09-26 Thread pcarlini at suse dot de
--- Comment #5 from pcarlini at suse dot de 2007-09-26 18:24 --- Seems due to a trivial thinko in the changes for 27668, 27962, etc.. -- pcarlini at suse dot de changed: What|Removed |Added

[Bug c/33396] add --enable-intermodule

2007-09-26 Thread aldot at gcc dot gnu dot org
--- Comment #4 from aldot at gcc dot gnu dot org 2007-09-26 18:43 --- For the fortran frontend, It seems that i have this patch (must be relatively old; undetermined status, ATM). Index: gcc/fortran/Make-lang.in === ---

[Bug bootstrap/33396] add --enable-intermodule

2007-09-26 Thread aldot at gcc dot gnu dot org
--- Comment #5 from aldot at gcc dot gnu dot org 2007-09-26 18:53 --- (In reply to comment #4) For the fortran frontend, It seems that i have this patch (must be relatively old; undetermined status, ATM). Scratch that. Testing a working version that i will attach when it passes the

[Bug tree-optimization/33562] [4.3 Regression] aggregate DSE disabled

2007-09-26 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-09-26 19:04 --- * gcc.dg/tree-ssa/complex-4.c: XFAIL. is a regression then because the testcase was added back in 2006-02-18 (by me). -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug tree-optimization/33565] [4.3 regression] spurious warning: assuming signed overflow does not occur when assuming that (X + c) = X is always true

2007-09-26 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-09-26 19:04 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug libstdc++/33485] parallel v3: do not use __builtin_alloca, use VLA

2007-09-26 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2007-09-26 19:06 --- Hmm, __extension__ is lost with templates, see PR 21385. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/33500] [4.3 regression] ICE in copy_to_mode_reg with logical(kind=1) expression

2007-09-26 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33500

[Bug c++/33501] [4.1/4.2/4.3 regression] Copy constructor assumed to exist for undefined class

2007-09-26 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.1.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33501

[Bug c++/33506] [4.2/4.3 Regression] TYPE_RAISES_EXCEPTIONS dumped with attributes

2007-09-26 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.2.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33506

[Bug target/33545] [4.3 regression] Bootstrap failure/broken exceptions on alpha/Tru64

2007-09-26 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33545

[Bug c++/33516] [4.1/4.2/4.3 Regression] Rejects typedef qualified name-lookup

2007-09-26 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Summary|[4.0/4.1/4.2/4.3 Regression]|[4.1/4.2/4.3 Regression] |Rejects typedef

[Bug debug/33537] [4.1/4.2/4.3 regression] C++ arguments passed by invisible reference have wrong type

2007-09-26 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Summary|[4.0/4.1/4.2/4.3 regression]|[4.1/4.2/4.3 regression] C++ |C++ arguments passed

[Bug fortran/33554] [4.3 regression] Seg.fault: Default initialization of derived type uses uninitialized values

2007-09-26 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33554

[Bug rtl-optimization/33410] [4.2/4.3 regression] ICE in iv_analyze_expr, at loop-iv.c:934

2007-09-26 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33410

[Bug target/30919] [4.1 regression] unable to find a register to spill in class 'CREG'

2007-09-26 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.1.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30919

[Bug bootstrap/25672] [4.1/4.2 regression] cross build's libgcc picks up CFLAGS

2007-09-26 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.1.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25672

[Bug ada/31108] [4.2 regression] ACATS C35507M fails

2007-09-26 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.1.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31108

[Bug ada/31108] [4.2 regression] ACATS C35507M fails

2007-09-26 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.1.3 |4.2.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31108

[Bug tree-optimization/31632] [4.1 regression] ICE in compare_values

2007-09-26 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2007-09-26 19:11 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug target/30663] [4.1/4.2 regression] m68k-uclinux-20060615 compiler fault

2007-09-26 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.1.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30663

[Bug tree-optimization/32139] [4.1 Regression] ICE in mark_operand_necessary

2007-09-26 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.1.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32139

[Bug ada/32452] [4.2 Regression] Incorrect type debugging information for variables in other compilation units

2007-09-26 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Summary|[4.0/4.1 Regression]|[4.2 Regression] Incorrect |Incorrect type

[Bug fortran/33566] fortran : wrong rank of derived type parameters array components

2007-09-26 Thread burnus at gcc dot gnu dot org
-- burnus at gcc dot gnu dot org changed: What|Removed |Added CC||burnus at gcc dot gnu dot |

[Bug tree-optimization/32891] [4.2 Regression] PRE goes crazy on YQPkgTechnicalDetailsView.cpp

2007-09-26 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.2.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32891

[Bug ada/31174] [4.2 regression] ACATS C380004 fails

2007-09-26 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.2.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31174

[Bug target/33008] [4.1/4.2 regression] code pessimization after -fforce-mem removal.

2007-09-26 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Keywords||missed-optimization Target Milestone|---

[Bug libgomp/33131] [4.2 regression] libgomp/env.c:60: warning: implicit declaration of function 'strncasecmp'

2007-09-26 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.2.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33131

[Bug tree-optimization/32901] [4.1/4.2/4.3 regression] bitfield constants with multiple bitfields take up space in .data

2007-09-26 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Summary|[4.1 regression] bitfield |[4.1/4.2/4.3 regression] |constants with multiple

[Bug target/33391] [4.3 regression] gfortran.dg/do_3.F90 fails at -O2

2007-09-26 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33391

[Bug c++/32470] [4.2/4.3 regression] fvisibility=hidden without effect in some cases

2007-09-26 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Summary|[4.2 regression]|[4.2/4.3 regression] |fvisibility=hidden without

[Bug tree-optimization/33434] [4.3 Regression] -fipa-cp miscompilation

2007-09-26 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33434

[Bug rtl-optimization/33410] [4.2/4.3 regression] ICE in iv_analyze_expr, at loop-iv.c:934

2007-09-26 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.3.0 |4.2.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33410

[Bug libfortran/33421] [4.3 Regression] Weird quotation of namelist output of character arrays

2007-09-26 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33421

[Bug libstdc++/33489] parallel v3: sort assumes that the type of the objects to be sorted have a default constructor

2007-09-26 Thread bangerth at dealii dot org
--- Comment #4 from bangerth at dealii dot org 2007-09-26 19:41 --- (In reply to comment #3) OK. Now there are tests for all of algorithms for defaultconstructable. As per 20.1, this is not required for template arguments unless the standard explicitly notes it. Yay, thanks for

[Bug tree-optimization/33383] [4.3 Regression] Revision 128092 miscompiles 400.perlbench

2007-09-26 Thread hjl at lucon dot org
--- Comment #9 from hjl at lucon dot org 2007-09-26 19:57 --- (In reply to comment #8) Revision 128810: http://gcc.gnu.org/ml/gcc-cvs/2007-09/msg00806.html doesn't fix 400.perlbench on Linux/x86-64. I am testing revision 128815:

[Bug libstdc++/33485] parallel v3: do not use __builtin_alloca, use VLA

2007-09-26 Thread bkoz at gcc dot gnu dot org
--- Comment #6 from bkoz at gcc dot gnu dot org 2007-09-26 20:43 --- the real question for me is why #pragma GCC system header doesn't work. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33485

  1   2   >