[Bug java/35923] gcj: error trying to exec 'ecj1': execvp: No such file or directory

2009-02-03 Thread cnstar9988 at gmail dot com
--- Comment #7 from cnstar9988 at gmail dot com 2009-02-03 08:43 --- 4.3.3 on Linux has the same problem. Target Milestone: 4.3.3? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35923

[Bug fortran/38863] WHERE with multiple elemental defined assignments gives wrong answer

2009-02-03 Thread pault at gcc dot gnu dot org
--- Comment #5 from pault at gcc dot gnu dot org 2009-02-03 08:55 --- (In reply to comment #4) I would have said that the value of the integer component after the first assignment is, at best, ill-defined. If L_TO_T assigns a value to it, gfortran gives the same result as any other

[Bug tree-optimization/38964] TBAA side-effects of C++ new still missing

2009-02-03 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2009-02-03 09:08 --- The testcase lays the way to proof that whatever PTA ends up putting in the ESCAPED solution (which includes all globals) TBAA disambiguation on these is invalid. This basically means that TBAA is nearly useless,

[Bug tree-optimization/39074] PTA constraint processing for *x = y is wrong

2009-02-03 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2009-02-03 09:17 --- Yes, but as the store to y is via *x and x points to { ANYTHING } (via the non-pointer (int ***)q) only (as x already includes ANYTHING we do not add a for the second constraint), so for *x = i we fail to add a to

[Bug rtl-optimization/37534] [4.4 Regression] IRA causes 17% degradation in 187.facerec benchmark

2009-02-03 Thread bonzini at gnu dot org
--- Comment #10 from bonzini at gnu dot org 2009-02-03 09:45 --- How is it now? -- bonzini at gnu dot org changed: What|Removed |Added CC|

[Bug target/38134] [4.4 Regression] speed regression with inline-asm sse code

2009-02-03 Thread bonzini at gnu dot org
--- Comment #10 from bonzini at gnu dot org 2009-02-03 09:47 --- Can you try the patch of PR38824? -- bonzini at gnu dot org changed: What|Removed |Added

[Bug middle-end/19988] [4.2/4.3/4.4 Regression] pessimizes fp multiply-add/subtract combo

2009-02-03 Thread bonzini at gnu dot org
--- Comment #14 from bonzini at gnu dot org 2009-02-03 09:49 --- What about canonicalizing to a *positive* number? -- bonzini at gnu dot org changed: What|Removed |Added

[Bug inline-asm/39059] [4.3/4.4 regression] ICE with fixed-point type in inline-asm

2009-02-03 Thread jakub at gcc dot gnu dot org
--- Comment #1 from jakub at gcc dot gnu dot org 2009-02-03 10:06 --- Similarly __typeof (0r) foo (void) { return 0r; } ICEs on x86-64 and so does _Fract foo (void) { return 0r; } (the last one just as error-recovery ICE). I'd say for !targetm.fixed_point_supported_p () we should

[Bug rtl-optimization/39077] [4.3/4.4 Regression] GCSE-optimization causes enormous binary size increase (~20 times !)

2009-02-03 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2009-02-03 09:55 --- Created an attachment (id=17230) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17230action=view) unincluded testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39077

[Bug target/29207] gij bus errors on hppa-linux-gnu and alpha-linux-gnu

2009-02-03 Thread ubizjak at gmail dot com
--- Comment #2 from ubizjak at gmail dot com 2009-02-03 10:52 --- libjava testsuite works OK on 4.3.4 branch for hppa-linux-gnu [1] and alpha [2]. The remaining java failures on alpha are due to testsuite problem (dg ?/ expect ?/tcl ?), described in PR 33263. [1]

[Bug ada/36025] cpu_set_t not declared in OS_Interface compilation problem on alpha

2009-02-03 Thread ubizjak at gmail dot com
--- Comment #6 from ubizjak at gmail dot com 2009-02-03 11:04 --- (In reply to comment #2) Note: ada on alpha bootstrap fine on trunk. And on 4.3 branch [1]: [1] http://gcc.gnu.org/ml/gcc-testresults/2009-02/msg00280.html -- ubizjak at gmail dot com changed: What

[Bug c++/36897] [4.2/4.3/4.4 Regression] ICE with function pointer template parameter

2009-02-03 Thread bonzini at gnu dot org
--- Comment #5 from bonzini at gnu dot org 2009-02-03 11:11 --- caused by r90059 (convert_nontype_argument rewrite). Giovanni, do you have time to see if the patch I made makes sense? -- bonzini at gnu dot org changed: What|Removed |Added

[Bug target/38134] [4.4 Regression] speed regression with inline-asm sse code

2009-02-03 Thread bonzini at gnu dot org
--- Comment #12 from bonzini at gnu dot org 2009-02-03 11:17 --- What if we forbid altogether memory operands and we *synthesize* them with a peephole2? Anyway, it seems safe to me to declare this a dup of PR38824? -- bonzini at gnu dot org changed: What|Removed

[Bug libmudflap/28077] [4.2/4.3 regression] pass39-frag.c produces mudflap violation on alpha

2009-02-03 Thread ubizjak at gmail dot com
--- Comment #6 from ubizjak at gmail dot com 2009-02-03 11:18 --- Can someone check if this still fails on latest 4.3 branch? 4.4 works OK. -- ubizjak at gmail dot com changed: What|Removed |Added

[Bug target/37581] IEEE inexact-flag not working on the Alpha

2009-02-03 Thread ubizjak at gmail dot com
--- Comment #7 from ubizjak at gmail dot com 2009-02-03 11:10 --- Not a GCC bug. -- ubizjak at gmail dot com changed: What|Removed |Added Status|UNCONFIRMED

[Bug tree-optimization/18557] Inefficient code generated by -ftree-vectorize on Alpha

2009-02-03 Thread ubizjak at gmail dot com
--- Comment #8 from ubizjak at gmail dot com 2009-02-03 12:24 --- Current trunk produces: f: .frame $30,0,$26,0 .prologue 0 and $16,4,$3 lda $6,64($31) bis $31,$31,$2 cmpult $31,$3,$3 beq $3,$L3 stl $31,0($16) lda

[Bug tree-optimization/18557] Inefficient code generated by -ftree-vectorize on Alpha

2009-02-03 Thread ubizjak at gmail dot com
--- Comment #9 from ubizjak at gmail dot com 2009-02-03 12:25 --- Together with the patch for PR 8603: f: .frame $30,0,$26,0 .prologue 0 and $16,4,$4 lda $1,64($31) bis $31,$31,$2 cmpult $31,$4,$4 beq $4,$L3 stl $31,0($16)

[Bug tree-optimization/18557] Inefficient code generated by -ftree-vectorize on Alpha

2009-02-03 Thread ubizjak at gmail dot com
--- Comment #10 from ubizjak at gmail dot com 2009-02-03 12:31 --- By changing the test to: --cut here-- unsigned int p[64]; int f(void) { for (int i = 0; i 64; ++i) p[i] = 0; } --cut here-- gcc -O2 -ftree-vectorize -mcpu=ev67 -std=c99 f: .frame $30,0,$26,0

[Bug c++/37314] [4.2/4.3/4.4 Regression] seg violation

2009-02-03 Thread paolo dot carlini at oracle dot com
--- Comment #18 from paolo dot carlini at oracle dot com 2009-02-03 13:16 --- (In reply to comment #17) + if (TREE_CODE (t1) == TYPENAME_TYPE) +t1 = resolve_typename_type (t2, /*only_current_p=*/true); But I suppose you want consistently t1 here ;) --

[Bug target/38134] [4.4 Regression] speed regression with inline-asm sse code

2009-02-03 Thread ubizjak at gmail dot com
--- Comment #11 from ubizjak at gmail dot com 2009-02-03 10:36 --- (In reply to comment #10) Can you try the patch of PR38824? I have tried with a similar peephole2 recognizer. The problem is, that there is no spare x register to allocate as a temporary, so peephole2 is ineffective in

[Bug target/38991] [4.3/4.4 Regression] SH: ICE in extract_insn at recog.c:1990

2009-02-03 Thread kkojima at gcc dot gnu dot org
--- Comment #2 from kkojima at gcc dot gnu dot org 2009-02-03 13:31 --- It seems that the move insn in problem is generated when reloading but has no insn definition matched. The patch --- ORIG/trunk/gcc/config/sh/predicates.md 2008-04-05 09:19:14.0 +0900 +++

[Bug tree-optimization/38049] points-to results imprecise

2009-02-03 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-02-03 10:20 --- Subject: Bug 38049 Author: rguenth Date: Tue Feb 3 10:20:20 2009 New Revision: 143890 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=143890 Log: 2009-02-03 Richard Guenther rguent...@suse.de PR

[Bug target/37437] [4.4 regression] speed regression

2009-02-03 Thread bonzini at gnu dot org
--- Comment #6 from bonzini at gnu dot org 2009-02-03 13:58 --- News? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37437

[Bug rtl-optimization/38373] 32-bit Vortex degradation on PPC due to bad RTL aliasing

2009-02-03 Thread bonzini at gnu dot org
--- Comment #2 from bonzini at gnu dot org 2009-02-03 14:00 --- Is this a regression? I don't see anything in the patches or in their description that would prevent a backport to 4.4. -- bonzini at gnu dot org changed: What|Removed |Added

[Bug middle-end/20548] [4.3/4.4 regression] ACATS c52103x c52104x c52104y segfault

2009-02-03 Thread bonzini at gnu dot org
--- Comment #34 from bonzini at gnu dot org 2009-02-03 14:02 --- Is this still a 4.4 regression? -- bonzini at gnu dot org changed: What|Removed |Added

[Bug middle-end/37135] [4.3/4.4 Regression] code size increase for struct assignment

2009-02-03 Thread bonzini at gnu dot org
--- Comment #13 from bonzini at gnu dot org 2009-02-03 14:23 --- Adjusting subject, the testcase from comment #2 still produces suboptimal code. -- bonzini at gnu dot org changed: What|Removed |Added

[Bug tree-optimization/39074] PTA constraint processing for *x = y is wrong

2009-02-03 Thread rguenther at suse dot de
--- Comment #6 from rguenther at suse dot de 2009-02-03 14:24 --- Subject: Re: PTA constraint processing for *x = y is wrong On Tue, 3 Feb 2009, dberlin at dberlin dot org wrote: Subject: Re: PTA constraint processing for *x = y is wrong There used to be a *ANYTHING =

[Bug middle-end/37135] [4.3/4.4 Regression] code size increase for struct assignment

2009-02-03 Thread bonzini at gnu dot org
--- Comment #14 from bonzini at gnu dot org 2009-02-03 14:30 --- what remains is a dup of 22141. *** This bug has been marked as a duplicate of 22141 *** -- bonzini at gnu dot org changed: What|Removed |Added

[Bug middle-end/22141] [4.2/4.3/4.4 Regression] Missing optimization when storing structures

2009-02-03 Thread bonzini at gnu dot org
--- Comment #16 from bonzini at gnu dot org 2009-02-03 14:30 --- *** Bug 37135 has been marked as a duplicate of this bug. *** -- bonzini at gnu dot org changed: What|Removed |Added

[Bug c/39084] [4.3/4.4 regression] ice on struct redefinition

2009-02-03 Thread bonzini at gnu dot org
-- bonzini at gnu dot org changed: What|Removed |Added Target Milestone|--- |4.3.4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39084

[Bug rtl-optimization/37534] [4.4 Regression] IRA causes 17% degradation in 187.facerec benchmark

2009-02-03 Thread vmakarov at redhat dot com
--- Comment #11 from vmakarov at redhat dot com 2009-02-03 14:48 --- I have a patch (a new spill heuristic) which makes facerec even faster with IRA on power6. The patch is in http://gcc.gnu.org/ml/gcc-patches/2008-11/msg00368.html Unfortunately the new spill heuristic results in

[Bug rtl-optimization/37534] [4.4 Regression] IRA causes 17% degradation in 187.facerec benchmark

2009-02-03 Thread bonzini at gnu dot org
--- Comment #12 from bonzini at gnu dot org 2009-02-03 14:56 --- Maybe we can approach the problem from the other side, for example marking I/O functions as cold, or marking I/O functions as cold so that PRED_FLAG_FIRST_MATCH hits in predict.def? -- bonzini at gnu dot org changed:

[Bug rtl-optimization/37534] [4.4 Regression] IRA causes 17% degradation in 187.facerec benchmark

2009-02-03 Thread bonzini at gnu dot org
-- bonzini at gnu dot org changed: What|Removed |Added Status|WAITING |NEW Ever Confirmed|0 |1 Last

[Bug c/39085] New: Floating point errors on Arm9 processor

2009-02-03 Thread mp2 at ladybridge dot com
On an Arm9 processor running Debian the following program gives the results indicated... #include stdio.h #include stdlib.h #include math.h int main() { double in, out; in = 2.0; out = sqrt(in); printf(%f\n, out); // 2. printf(%f\n, sqrt(in)); // 1.414214 printf(%f\n, sqrt(2.0));

[Bug target/37437] [4.4 regression] speed regression

2009-02-03 Thread vmakarov at redhat dot com
--- Comment #7 from vmakarov at redhat dot com 2009-02-03 15:06 --- I don't see anymore code difference (only a bit different hard registers are used) on mentioned functions for code generated with the old RA and IRA. Probably it was fixed with a fix in regmove which was submitted as a

[Bug debug/39086] New: Failing assert in dwarf2out.c:5770 when compiling with -fno-tree-sra

2009-02-03 Thread jamborm at gcc dot gnu dot org
When compiling test 27_io/basic_istream/requirements/explicit_instantiation.cc from the libstc++ testsuite and adding the -fno-tree-sra flag, I get the following error: --

[Bug debug/39086] Failing assert in dwarf2out.c:5770 when compiling with -fno-tree-sra

2009-02-03 Thread jamborm at gcc dot gnu dot org
--- Comment #1 from jamborm at gcc dot gnu dot org 2009-02-03 15:09 --- Created an attachment (id=17232) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17232action=view) Preprocessed source Enough to compile with -O2 -g -fno-tree-sra explicit_instantiation.ii --

[Bug target/37437] [4.4 regression] speed regression

2009-02-03 Thread bonzini at gnu dot org
--- Comment #8 from bonzini at gnu dot org 2009-02-03 15:09 --- Great. -- bonzini at gnu dot org changed: What|Removed |Added Status|NEW

[Bug rtl-optimization/37889] [4.3/4.4 Regression] SEGV, conditional execution proactively executed the false arm.

2009-02-03 Thread bonzini at gnu dot org
--- Comment #11 from bonzini at gnu dot org 2009-02-03 15:15 --- No, the patch does not fix it. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37889

[Bug rtl-optimization/37889] [4.3/4.4 Regression] SEGV, conditional execution proactively executed the false arm.

2009-02-03 Thread bonzini at gnu dot org
--- Comment #12 from bonzini at gnu dot org 2009-02-03 15:19 --- But at least it gets cc1 to call rtx_addr_can_trap_p_1. Mine -- bonzini at gnu dot org changed: What|Removed |Added

[Bug debug/39086] Failing assert in dwarf2out.c:5770 when compiling with -fno-tree-sra

2009-02-03 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2009-02-03 15:30 --- Not too useful, that preprocessed source includes PCHs. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39086

[Bug c/39084] [4.3/4.4 regression] ice on struct redefinition

2009-02-03 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Keywords||error-recovery Priority|P3 |P4

[Bug libfortran/39083] stage 3 libgfortran build fails

2009-02-03 Thread tony_eckert at umsl dot edu
--- Comment #3 from tony_eckert at umsl dot edu 2009-02-03 15:38 --- Created an attachment (id=17233) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17233action=view) autoconf log of failed stage 3 build -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39083

[Bug fortran/39087] New: Performance using COMPLEX data type

2009-02-03 Thread m4341 at abc dot se
I have noticed that in some cases - especially calculating Mandelbrot Fractals there is a severe performance penalty if the COMPLEX data type is used instead of plain variables. It's nothing wrong with the calculation, but it shall be noted that it can mean a severe performance penalty if the

Re: [Bug c++/36607] [4.3/4.4 Regression] Incorrect type diagnostic on substracting casted char pointers

2009-02-03 Thread Andrew Thomas Pinski
Sent from my iPhone On Feb 3, 2009, at 5:56 AM, bonzini at gnu dot org gcc-bugzi...@gcc.gnu.org wrote: --- Comment #7 from bonzini at gnu dot org 2009-02-03 13:56 --- ping? The patch was just approved last night and I will be applying it when I get into work today.

[Bug c++/36607] [4.3/4.4 Regression] Incorrect type diagnostic on substracting casted char pointers

2009-02-03 Thread pinskia at gmail dot com
--- Comment #8 from pinskia at gmail dot com 2009-02-03 15:44 --- Subject: Re: [4.3/4.4 Regression] Incorrect type diagnostic on substracting casted char pointers Sent from my iPhone On Feb 3, 2009, at 5:56 AM, bonzini at gnu dot org gcc-bugzi...@gcc.gnu.org wrote: ---

[Bug rtl-optimization/37889] [4.3/4.4 Regression] SEGV, conditional execution proactively executed the false arm.

2009-02-03 Thread bonzini at gnu dot org
--- Comment #13 from bonzini at gnu dot org 2009-02-03 15:48 --- Created an attachment (id=17235) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17235action=view) patch to be tested The patch fixes the bug. As a follow up (see PR38921 audit trail) MTP_AFTER_MOVE and

[Bug fortran/39087] Performance using COMPLEX data type

2009-02-03 Thread m4341 at abc dot se
--- Comment #2 from m4341 at abc dot se 2009-02-03 15:50 --- Notice that the test cases have been executed on a Pentium III computer with dual 866MHz processors. The 'depth' variable in the example code has been set to produce comfortable execution times for the forementioned computer.

[Bug c/39088] New: Warning about potential use of uninitialized variable

2009-02-03 Thread av1474 at comtv dot ru
Following emits a warning about potential use of uninitialized variable, even though the variable initialization and it's use are guarded by the same predicate. int f (void); int g (int a) { int b; if (a) b = f (); asm volatile (#); if (a) return b; return 1; } $ gcc -O

[Bug c++/36897] [4.2/4.3/4.4 Regression] ICE with function pointer template parameter

2009-02-03 Thread bonzini at gcc dot gnu dot org
--- Comment #6 from bonzini at gnu dot org 2009-02-03 15:56 --- Subject: Bug 36897 Author: bonzini Date: Tue Feb 3 15:56:05 2009 New Revision: 143896 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=143896 Log: gcc/cp: 2009-02-03 Paolo Bonzini bonz...@gnu.org PR

[Bug c++/37314] [4.2/4.3/4.4 Regression] seg violation

2009-02-03 Thread bonzini at gcc dot gnu dot org
--- Comment #20 from bonzini at gnu dot org 2009-02-03 15:56 --- Subject: Bug 37314 Author: bonzini Date: Tue Feb 3 15:56:05 2009 New Revision: 143896 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=143896 Log: gcc/cp: 2009-02-03 Paolo Bonzini bonz...@gnu.org PR

[Bug target/39076] internal compiler error when cross-compiling flac

2009-02-03 Thread s dot neumann at phase-zero dot de
--- Comment #3 from s dot neumann at phase-zero dot de 2009-02-03 16:14 --- The code in flac that triggered the problem does also make gcc crash with -O3 -funroll-loops. I've also tested -O1 and -O2, same problem. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39076

[Bug fortran/39087] Performance using COMPLEX data type

2009-02-03 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2009-02-03 16:15 --- Use -ffast-math. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39087

[Bug target/23322] [4.2/4.3/4.4 regression] performance regression

2009-02-03 Thread bonzini at gnu dot org
--- Comment #32 from bonzini at gnu dot org 2009-02-03 16:16 --- The patch for partial memory writes was committed. How are we doing on this benchmark now? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23322

[Bug target/23322] [4.2/4.3/4.4 regression] performance regression

2009-02-03 Thread bonzini at gnu dot org
-- bonzini at gnu dot org changed: What|Removed |Added Status|NEW |WAITING http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23322

[Bug c++/36897] [4.2 Regression] ICE with function pointer template parameter

2009-02-03 Thread bonzini at gnu dot org
--- Comment #7 from bonzini at gnu dot org 2009-02-03 16:20 --- fixed on 4.3/4.4, still needs backporting to 4.2 -- bonzini at gnu dot org changed: What|Removed |Added

[Bug c++/37314] [4.2/4.3/4.4 Regression] seg violation

2009-02-03 Thread bonzini at gnu dot org
--- Comment #21 from bonzini at gnu dot org 2009-02-03 16:21 --- fixed on 4.3/4.4, still needs backporting to 4.2 -- bonzini at gnu dot org changed: What|Removed |Added

[Bug c++/36897] [4.2 Regression] ICE with function pointer template parameter

2009-02-03 Thread paolo dot carlini at oracle dot com
--- Comment #8 from paolo dot carlini at oracle dot com 2009-02-03 16:22 --- Did you really commit it to mainline? I don't see it. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36897

[Bug c++/37314] [4.2 Regression] seg violation

2009-02-03 Thread paolo dot carlini at oracle dot com
--- Comment #22 from paolo dot carlini at oracle dot com 2009-02-03 16:22 --- Likewise... ;) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37314

[Bug target/27440] [4.2/4.3/4.4 regression] code quality regression due to ivopts

2009-02-03 Thread bonzini at gnu dot org
--- Comment #12 from bonzini at gnu dot org 2009-02-03 16:25 --- When generating 64-bit code we produce good induction variables either with or without ivopts, but with an extra mov. For 32-bit code the situation is the same as reported originally. -- bonzini at gnu dot org

[Bug c++/36897] [4.2 Regression] ICE with function pointer template parameter

2009-02-03 Thread bonzini at gnu dot org
--- Comment #9 from bonzini at gnu dot org 2009-02-03 16:26 --- Subject: Re: [4.2 Regression] ICE with function pointer template parameter Did you really commit it to mainline? I don't see it. I was doing it. :-) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36897

[Bug c++/36897] [4.2 Regression] ICE with function pointer template parameter

2009-02-03 Thread bonzini at gcc dot gnu dot org
--- Comment #9 from bonzini at gnu dot org 2009-02-03 16:26 --- Subject: Re: [4.2 Regression] ICE with function pointer template parameter Did you really commit it to mainline? I don't see it. I was doing it. :-) --- Comment #10 from bonzini at gnu dot org 2009-02-03

[Bug c++/37314] [4.2 Regression] seg violation

2009-02-03 Thread bonzini at gcc dot gnu dot org
--- Comment #23 from bonzini at gnu dot org 2009-02-03 16:26 --- Subject: Bug 37314 Author: bonzini Date: Tue Feb 3 16:26:28 2009 New Revision: 143898 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=143898 Log: gcc/cp: 2009-02-03 Paolo Bonzini bonz...@gnu.org PR

[Bug tree-optimization/37709] [4.4 Regression] inlining causes explosion in debug info

2009-02-03 Thread bonzini at gnu dot org
--- Comment #8 from bonzini at gnu dot org 2009-02-03 16:28 --- changing summary, inlining _is_ the right thing to do. -- bonzini at gnu dot org changed: What|Removed |Added

[Bug libstdc++/25191] exception_defines.h #defines try/catch

2009-02-03 Thread paolo dot carlini at oracle dot com
-- paolo dot carlini at oracle dot com changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |paolo dot carlini at oracle |dot org

[Bug fortran/39087] Performance using COMPLEX data type

2009-02-03 Thread m4341 at abc dot se
--- Comment #1 from m4341 at abc dot se 2009-02-03 15:46 --- Created an attachment (id=17234) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17234action=view) Test cases for demonstrating performance impact. The attached file contains code that is in it's current state requiring

[Bug tree-optimization/32044] [4.3 Regression] final value replacement too aggressive for e.g. targets with no native div/mod insns

2009-02-03 Thread bonzini at gnu dot org
--- Comment #68 from bonzini at gnu dot org 2009-02-03 16:32 --- This was fixed on trunk (see comment #65). Open another bug for long-term solutions, this is cluttering the 4.4 regressions. :-) -- bonzini at gnu dot org changed: What|Removed

[Bug rtl-optimization/37889] [4.3/4.4 Regression] SEGV, conditional execution proactively executed the false arm.

2009-02-03 Thread hp at gcc dot gnu dot org
--- Comment #14 from hp at gcc dot gnu dot org 2009-02-03 16:34 --- (In reply to comment #11) No, the patch does not fix it. Yes, I found that out too ;) but haven't had time to follow up. FWIW, I have an overlapping patch for PR38921 that does fold the code as suggested. It doesn't

[Bug middle-end/22141] [4.2/4.3/4.4 Regression] Missing optimization when storing structures

2009-02-03 Thread etienne_lorrain at yahoo dot fr
--- Comment #17 from etienne_lorrain at yahoo dot fr 2009-02-03 16:38 --- (In reply to comment #15) The advantage of such a RTL pass (or just adding such optimization to another RTL pass) would be that it would handle also say: ... Why only limit that pass to constants, and only to

[Bug rtl-optimization/37889] [4.3/4.4 Regression] SEGV, conditional execution proactively executed the false arm.

2009-02-03 Thread bonzini at gnu dot org
--- Comment #15 from bonzini at gnu dot org 2009-02-03 16:40 --- Subject: Re: [4.3/4.4 Regression] SEGV, conditional execution proactively executed the false arm. Yes, I found that out too ;) but haven't had time to follow up. FWIW, I have an overlapping patch for PR38921

[Bug c++/35652] [4.2/4.3/4.4 Regression] offset warning should be given in the front-end

2009-02-03 Thread bonzini at gnu dot org
--- Comment #13 from bonzini at gnu dot org 2009-02-03 16:40 --- I agree that the patch is correct *without* the -1, so... ping :) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35652

[Bug fortran/39087] Performance using COMPLEX data type

2009-02-03 Thread bonzini at gnu dot org
--- Comment #4 from bonzini at gnu dot org 2009-02-03 16:52 --- more precisely, without -ffast-math gcc is not able to change abs(z) 2 to r*r+i*i 4 and computes a square root on every iteration. -- bonzini at gnu dot org changed: What|Removed

[Bug libfortran/39083] stage 3 libgfortran build fails

2009-02-03 Thread bonzini at gnu dot org
--- Comment #4 from bonzini at gnu dot org 2009-02-03 16:56 --- no he's not. -- bonzini at gnu dot org changed: What|Removed |Added CC|

[Bug debug/39086] Failing assert in dwarf2out.c:5770 when compiling with -fno-tree-sra

2009-02-03 Thread jamborm at gcc dot gnu dot org
--- Comment #3 from jamborm at gcc dot gnu dot org 2009-02-03 16:56 --- Created an attachment (id=17236) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17236action=view) Preprocessed source OK, this one is hopefully without any precompiled headers. -- jamborm at gcc dot gnu

[Bug target/36861] [4.3/4.4 Regression] boost's compressed avl confuses GCC

2009-02-03 Thread bonzini at gnu dot org
--- Comment #28 from bonzini at gnu dot org 2009-02-03 09:54 --- Am I right that the bug is just at -O, not at -O2? 4.4 -O2 is worse than 4.4 -O2 -fno-strict-aliasing, but are they better than 4.3 -O2 or worse? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36861

[Bug libstdc++/25191] exception_defines.h #defines try/catch

2009-02-03 Thread bonzini at gnu dot org
--- Comment #77 from bonzini at gnu dot org 2009-02-03 17:10 --- Can't the library just #undef try/catch at the end of each file that includes exception_defines.h? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25191

[Bug libstdc++/25191] exception_defines.h #defines try/catch

2009-02-03 Thread paolo dot carlini at oracle dot com
--- Comment #78 from paolo dot carlini at oracle dot com 2009-02-03 17:14 --- Nope, we never do that. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25191

[Bug middle-end/37060] [4.3/4.4 regression] Bogus __builtin___memcpy_chk overflow warning

2009-02-03 Thread bonzini at gnu dot org
--- Comment #6 from bonzini at gnu dot org 2009-02-03 17:15 --- Only fails on 64-bit targets. -- bonzini at gnu dot org changed: What|Removed |Added CC|

[Bug libstdc++/25191] exception_defines.h #defines try/catch

2009-02-03 Thread bonzini at gnu dot org
--- Comment #79 from bonzini at gnu dot org 2009-02-03 17:15 --- Yeah, but it seems better than uglifying __try/__catch all over the place... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25191

[Bug libstdc++/25191] exception_defines.h #defines try/catch

2009-02-03 Thread paolo dot carlini at oracle dot com
--- Comment #80 from paolo dot carlini at oracle dot com 2009-02-03 17:20 --- Many solutions are better, in principle, but really this issue is too old. After all we are uglifying also in other cases. Let's do that and be done with it. Unless there are objections (or, better,

[Bug middle-end/37060] [4.3/4.4 regression] Bogus __builtin___memcpy_chk overflow warning

2009-02-03 Thread bonzini at gnu dot org
--- Comment #7 from bonzini at gnu dot org 2009-02-03 17:21 --- Interesting: we actually propagate *more* on 64-bit targets, and end up with __builtin___memcpy_chk (buf, valbuf_7(D), 16, 8); while on 32-bit we get __builtin___memcpy_chk (buf, valbuf_7(D), D.1293_2, 8); --

[Bug c++/39056] [4.4 regression] [c++0x] ICE with invalid initializer list for complex variable

2009-02-03 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2009-02-03 17:23 --- Subject: Bug 39056 Author: jakub Date: Tue Feb 3 17:23:11 2009 New Revision: 143899 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=143899 Log: PR c++/39056 * typeck2.c (digest_init_r): Don't

[Bug inline-asm/39059] [4.3/4.4 regression] ICE with fixed-point type in inline-asm

2009-02-03 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2009-02-03 17:26 --- Subject: Bug 39059 Author: jakub Date: Tue Feb 3 17:26:28 2009 New Revision: 143900 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=143900 Log: PR inline-asm/39059 * c-parser.c

[Bug target/35318] [4.3/4.4 regression] ICE with inline asm in reload

2009-02-03 Thread jakub at gcc dot gnu dot org
--- Comment #8 from jakub at gcc dot gnu dot org 2009-02-03 17:28 --- Subject: Bug 35318 Author: jakub Date: Tue Feb 3 17:27:45 2009 New Revision: 143901 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=143901 Log: PR target/35318 * function.c

[Bug c/35433] [4.2/4.3/4.4 regression] ICE with typeof and ternary operator

2009-02-03 Thread jsm28 at gcc dot gnu dot org
--- Comment #2 from jsm28 at gcc dot gnu dot org 2009-02-03 17:38 --- Working on a patch. -- jsm28 at gcc dot gnu dot org changed: What|Removed |Added

[Bug rtl-optimization/38921] [4.3 Regression] NULL access in delay-slot

2009-02-03 Thread hp at gcc dot gnu dot org
--- Comment #9 from hp at gcc dot gnu dot org 2009-02-03 17:46 --- Created an attachment (id=17237) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17237action=view) Proposed fix Also folds may_trap_after_code_motion_p into may_trap_or_fault_p, as being the original semantics. --

[Bug rtl-optimization/37889] [4.3/4.4 Regression] SEGV, conditional execution proactively executed the false arm.

2009-02-03 Thread hp at gcc dot gnu dot org
--- Comment #16 from hp at gcc dot gnu dot org 2009-02-03 17:54 --- (In reply to comment #15) If you submit it, I'll happily take care of the conflicts. I've put it in the PR, though it's not a proper submit yet. Also, only regtested for cris-elf on the 4.3 branch and

[Bug fortran/39072] I/O READing logical value beyond end of string

2009-02-03 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2009-02-03 10:02 --- I believe gfortran is correct as far as giving an error. The last logical value does not begin with a T(t) or F(f). That was my impression in comment 0 (maybe wontfix), which was confirmed by the standard

[Bug target/38134] [4.4 Regression] speed regression with inline-asm sse code

2009-02-03 Thread ubizjak at gmail dot com
--- Comment #13 from ubizjak at gmail dot com 2009-02-03 11:34 --- (In reply to comment #12) What if we forbid altogether memory operands and we *synthesize* them with a peephole2? Anyway, it seems safe to me to declare this a dup of PR38824? I think that we will hit PR 19398

[Bug middle-end/19988] [4.2/4.3/4.4 Regression] pessimizes fp multiply-add/subtract combo

2009-02-03 Thread jakub at gcc dot gnu dot org
--- Comment #15 from jakub at gcc dot gnu dot org 2009-02-03 09:56 --- I really think either GCSE should be trying to decrease the number of floating point constants used by a function by getting rid of constants for which negated constants is also used and it can be negated at no cost

[Bug c++/39089] New: -Wconversion is buggy with bitwise operators

2009-02-03 Thread oleg dot smolsky at riverbed dot com
g++ 4.3.3 emits warnings for every statement in the following function when the code is built this way: /gcc43/bin/g++ -c -Wall -Wconversion test.cpp void func(unsigned char a, unsigned char b, unsigned char *out) { *out = a | b; *out = out[0] 0x20; out[0] = 0x20; } I'd expect

[Bug rtl-optimization/37889] [4.3/4.4 Regression] SEGV, conditional execution proactively executed the false arm.

2009-02-03 Thread bonzini at gnu dot org
--- Comment #17 from bonzini at gnu dot org 2009-02-03 17:57 --- Thanks, I'll merge it with mine, bootstrap/regtest i686-pc-linux-gnu and submit it. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37889

[Bug target/39090] New: MIPS: wrong-code with 64-bit values and register asm constraints with o32 ABI.

2009-02-03 Thread daney at gcc dot gnu dot org
With GCC: (GNU) 4.4.0 20090116 (experimental) [trunk revision 143437] Consider this program (bug1900.c): ---8--- unsigned long long bar() { unsigned long long rv; asm volatile (rdhwr %0, $30 : =d (rv)); return rv; }

[Bug c++/39089] -Wconversion is buggy with bitwise operators

2009-02-03 Thread oleg dot smolsky at riverbed dot com
--- Comment #1 from oleg dot smolsky at riverbed dot com 2009-02-03 17:58 --- Created an attachment (id=17238) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17238action=view) The test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39089

[Bug tree-optimization/39074] PTA constraint processing for *x = y is wrong

2009-02-03 Thread dberlin at dberlin dot org
--- Comment #5 from dberlin at gcc dot gnu dot org 2009-02-03 14:16 --- Subject: Re: PTA constraint processing for *x = y is wrong There used to be a *ANYTHING = ANYTHING constraint + ANYTHING containing all the variables pointing to ANYTHING that would have taken care of

[Bug libfortran/39083] stage 3 libgfortran build fails

2009-02-03 Thread mikael dot morin at tele2 dot fr
--- Comment #5 from mikael dot morin at tele2 dot fr 2009-02-03 18:00 --- /export/home/eckerta/Desktop/objdir/./gcc/gfortran -B/export/home/eckerta/Desktop/objdir/./gcc/ -B/usr/local/gcc-4.3.3/i686-pc-linux-gnu/bin/ -B/usr/local/gcc-4.3.3/i686-pc-linux-gnu/lib/ -isystem

[Bug libfortran/39083] stage 3 libgfortran build fails

2009-02-03 Thread mikael dot morin at tele2 dot fr
--- Comment #6 from mikael dot morin at tele2 dot fr 2009-02-03 18:01 --- (In reply to comment #1) Only departure from defaults is --prefix No, -prefix ;) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39083

[Bug c++/37314] [4.2/4.3/4.4 Regression] seg violation

2009-02-03 Thread bonzini at gnu dot org
--- Comment #17 from bonzini at gnu dot org 2009-02-03 12:51 --- The failure happens because structural_comptypes calls resolve_typename_type, while merge_types does not. Maybe it should as in this patch? Index: ../../peak-gcc-src/gcc/cp/typeck.c

GCC bug: Inappropriate implicit invocation of copy constructor when reference parameter is a temporary

2009-02-03 Thread Manfred von Willich (RapidM)
I believe this is a genuine GCC compiler bug (in both GCC 4.1.1 and GCC 4.2.4). I hope this report is of value, and certainly hope it can be corrected. Forgive me for not logging a bug via http://gcc.gnu.org/bugzilla/ - I don't want to mess around with your system due to unfamiliarity with

[Bug testsuite/35114] 731 unexpected libgomp testsuite failures due setup of test environment

2009-02-03 Thread gerald at pfeifer dot com
--- Comment #2 from gerald at pfeifer dot com 2009-02-03 10:03 --- Latest testruns confirm this as fixed: http://gcc.gnu.org/ml/gcc-testresults/2009-02/msg00249.html Only four failures remain, and these are different from what has been reported here: === libgomp tests

  1   2   >