[Bug bootstrap/44970] [4.6 regression] Revision 162270 failed to bootstrap

2010-09-04 Thread bonzini at gnu dot org
--- Comment #79 from bonzini at gnu dot org 2010-09-04 16:49 --- Created an attachment (id=21699) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21699&action=view) incomplete patch This shows what I plan to do. It doesn't even compile stage2, so it is more or less use

[Bug rtl-optimization/45472] [4.5/4.6 Regression] ICE: in move_op_ascend, at sel-sched.c:6124 with -fselective-scheduling2

2010-09-20 Thread bonzini at gnu dot org
--- Comment #5 from bonzini at gnu dot org 2010-09-20 16:01 --- Looks like a problem in expand. CCing Matz. -- bonzini at gnu dot org changed: What|Removed |Added

[Bug bootstrap/44970] [4.6 regression] Revision 162270 failed to bootstrap

2010-10-13 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44970 --- Comment #82 from Paolo Bonzini 2010-10-13 07:36:45 UTC --- My patch is not finished and doesn't bootstrap, I'll look at it (promised) next weekend. I suggest just using BOOT_CFLAGS="-O2 -fno-forward-propagate".

[Bug rtl-optimization/45472] [4.5/4.6 Regression] ICE: in move_op_ascend, at sel-sched.c:6124 with -fselective-scheduling2

2010-10-18 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45472 --- Comment #8 from Paolo Bonzini 2010-10-18 12:20:39 UTC --- Would it make sense to make the statement volatile even if only some subcomponents (or all subcomponents) are volatile? I like (2); if I understand it correctly, in this case vv1 and

[Bug rtl-optimization/45472] [4.5/4.6 Regression] ICE: in move_op_ascend, at sel-sched.c:6124 with -fselective-scheduling2

2010-10-18 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45472 --- Comment #12 from Paolo Bonzini 2010-10-18 17:12:59 UTC --- It would be nice if for struct a { char a,b,c,d; volatile int e; }; struct a v1, v2; ... v1 = v2; the compiler emitted only _two_ memory accesse

[Bug bootstrap/44970] [4.6 regression] Revision 162270 failed to bootstrap

2010-10-18 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44970 Paolo Bonzini changed: What|Removed |Added Attachment #21699|0 |1 is obsolete|

[Bug bootstrap/44970] [4.6 regression] Revision 162270 failed to bootstrap

2010-10-20 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44970 --- Comment #89 from Paolo Bonzini 2010-10-20 14:09:33 UTC --- The armv5 failure is a stage2 miscompilation. Is it caused by Bernd's patch too? Or by fwprop? According to comment 22, previously it was not bootstrapping but the failure was else

[Bug bootstrap/44970] [4.6 regression] Revision 162270 failed to bootstrap

2010-10-29 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44970 --- Comment #92 from Paolo Bonzini 2010-10-29 22:33:04 UTC --- See followup here: http://gcc.gnu.org/ml/gcc-patches/2010-10/msg01636.html

[Bug c/46243] New: [4.6 Regression] expected tree that contains ‘decl minimal’ structure, have ‘tree_list’ in start_decl, at c-decl.c:4049

2010-10-30 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46243 Summary: [4.6 Regression] expected tree that contains ‘decl minimal’ structure, have ‘tree_list’ in start_decl, at c-decl.c:4049 Product: gcc Version: unknown Stat

[Bug c/46243] [4.6 Regression] expected tree that contains ‘decl minimal’ structure, have ‘tree_list’ in start_decl, at c-decl.c:4049

2010-10-30 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46243 Paolo Bonzini changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/46243] [4.6 Regression] expected tree that contains ‘decl minimal’ structure, have ‘tree_list’ in start_decl, at c-decl.c:4049

2010-10-30 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46243 Paolo Bonzini changed: What|Removed |Added Target Milestone|--- |4.6.0

[Bug rtl-optimization/37272] [4.5 Regression] IRA has caused ppc64-double-1.c to fail

2010-10-30 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37272 Paolo Bonzini changed: What|Removed |Added CC||bonzini at gnu dot org Target

[Bug middle-end/37053] [4.3/4.4 regression] ICE in reload_cse_simplify_operands, at postreload.c:395

2010-11-01 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37053 --- Comment #24 from Paolo Bonzini 2010-11-01 16:38:53 UTC --- You'd need also the patch for bug 41064.

[Bug middle-end/37053] [4.3/4.4 regression] ICE in reload_cse_simplify_operands, at postreload.c:395

2010-11-01 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37053 Paolo Bonzini changed: What|Removed |Added CC||nospamname at web dot de --- Comment #25

[Bug target/40414] gcc 4.4.0 error at postreload.c:396

2010-11-01 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40414 Paolo Bonzini changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug middle-end/37053] [4.3/4.4 regression] ICE in reload_cse_simplify_operands, at postreload.c:395

2010-11-01 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37053 --- Comment #27 from Paolo Bonzini 2010-11-01 16:58:20 UTC --- Better: not for this testcase. We found it on CRIS, but the bug could really happen on any target.

[Bug rtl-optimization/23047] Combine ignores flag_wrapv

2010-11-03 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23047 Paolo Bonzini changed: What|Removed |Added CC||bonzini at gnu dot org Known to

[Bug c/20385] Lame parse error message for undefined type

2010-11-13 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20385 --- Comment #5 from Paolo Bonzini 2010-11-13 10:01:38 UTC --- Author: bonzini Date: Sat Nov 13 10:01:33 2010 New Revision: 166700 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166700 Log: 2010-10-30 Paolo Bonzini PR c/20385 *

[Bug testsuite/46463] [4.6 Regression] FAIL: objc.dg/attributes/method-format-1.m

2010-11-13 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46463 Paolo Bonzini changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c/46462] [4.6 Regression] Revision 166700 caused new C test failures

2010-11-13 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46462 --- Comment #1 from Paolo Bonzini 2010-11-13 16:19:38 UTC --- Author: bonzini Date: Sat Nov 13 16:19:33 2010 New Revision: 166711 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166711 Log: 2010-11-13 Paolo Bonzini PR c/46462 *

[Bug c/46462] [4.6 Regression] Revision 166700 caused new C test failures

2010-11-13 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46462 --- Comment #2 from Paolo Bonzini 2010-11-13 16:27:24 UTC --- FAIL: gcc.dg/pr14963.c (internal compiler error) FAIL: gcc.dg/pr14963.c (test for excess errors) I actually new about this, it's PR45062. The Objective-C failures are bad. The other

[Bug c/46462] [4.6 Regression] Revision 166700 caused new C test failures

2010-11-13 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46462 --- Comment #4 from Paolo Bonzini 2010-11-14 01:01:58 UTC --- Patches have been posted, I'm waiting for Objective-C maintainers to (not) object before committing. The warnings you see are cured by the c-decl.c part: the behavior of choosing int

[Bug c/46462] [4.6 Regression] Revision 166700 caused new C test failures

2010-11-14 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46462 --- Comment #5 from Paolo Bonzini 2010-11-14 13:10:45 UTC --- Author: bonzini Date: Sun Nov 14 13:10:41 2010 New Revision: 166732 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166732 Log: 2010-11-13 Paolo Bonzini PR c/46462 *

[Bug c/46475] [4.6 Regression] FAIL: gcc.dg/nofixed-point-2.c

2010-11-14 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46475 --- Comment #2 from Paolo Bonzini 2010-11-14 15:47:03 UTC --- Author: bonzini Date: Sun Nov 14 15:46:59 2010 New Revision: 166733 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166733 Log: 2010-11-14 Paolo Bonzini PR c/46475 *

[Bug c/46475] [4.6 Regression] FAIL: gcc.dg/nofixed-point-2.c

2010-11-14 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46475 --- Comment #3 from Paolo Bonzini 2010-11-14 15:47:12 UTC --- I think I have to debug my test scripts. I'm committing the change from dg-warning to dg-bogus.

[Bug c/46475] [4.6 Regression] FAIL: gcc.dg/nofixed-point-2.c

2010-11-14 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46475 Paolo Bonzini changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug bootstrap/44970] [4.6 regression] Revision 162270 failed to bootstrap

2010-11-14 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44970 --- Comment #98 from Paolo Bonzini 2010-11-14 22:35:54 UTC --- Minimized testcase: int f (unsigned long arg, int *cr) { int *p = (int *) arg; int x = *cr; long pu_err = 0; if (x) asm volatile ("stw %2,0(%1)": "=r" (pu_err): "r" (p),

[Bug bootstrap/44970] [4.6 regression] Revision 162270 failed to bootstrap

2010-11-14 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44970 --- Comment #100 from Paolo Bonzini 2010-11-14 23:34:28 UTC --- > Cool! The reduced code no longer makes any sense but it should compile. > I'm sure this was a fair bit of work. Actually delta made all the work down to 31 lines of typedefs/stru

[Bug c/20385] Lame parse error message for undefined type

2010-11-15 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20385 Paolo Bonzini changed: What|Removed |Added CC||bonzini at gnu dot org --- Comment #6

[Bug c/20385] Lame parse error message for undefined type

2010-11-15 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20385 --- Comment #8 from Paolo Bonzini 2010-11-15 16:24:52 UTC --- That works.

[Bug c/20385] Lame parse error message for undefined type

2010-11-17 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20385 --- Comment #9 from Paolo Bonzini 2010-11-17 16:14:32 UTC --- Another case in which we still do not detect the unsigned type is after declspecs: typedef uintt16_t pid_t; extern uintt16_t x; I think that until this is fixed, there are still enou

[Bug bootstrap/44970] [4.6 regression] Revision 162270 failed to bootstrap

2010-11-17 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44970 --- Comment #101 from Paolo Bonzini 2010-11-17 23:44:28 UTC --- http://gcc.gnu.org/ml/gcc-patches/2010-11/msg01832.html

[Bug bootstrap/44970] [4.6 regression] Revision 162270 failed to bootstrap

2010-11-22 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44970 --- Comment #102 from Paolo Bonzini 2010-11-22 16:20:26 UTC --- Author: bonzini Date: Mon Nov 22 16:20:16 2010 New Revision: 167038 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167038 Log: 2010-11-22 Paolo Bonzini PR bootstrap/449

[Bug target/33637] [4.3/4.4/4.5/4.6 Regression] "checking for nm: test: too many arguments" causes "Undefined symbol: __gxx_personality_v0"

2010-11-23 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33637 --- Comment #13 from Paolo Bonzini 2010-11-23 12:25:19 UTC --- On 11/23/2010 12:46 PM, jakub at gcc dot gnu.org wrote: > If not (it would surprise me if everything worked, e.g. > $1=`cd $with_build_time_tools&& pwd`/$2 > in acx.m4 will not do w

[Bug driver/46750] Parallel build doesn't work --with-build-config=bootstrap-lto in a gcc+binutils combined tree

2010-12-01 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46750 --- Comment #5 from Paolo Bonzini 2010-12-02 01:50:39 UTC --- More like, everyone's Makefiles problem. This is a serious limitation of -flto=jobserver, I wonder if it makes sense to keep the option at all.

[Bug rtl-optimization/46920] New: suboptimal register allocation with local register variables

2010-12-13 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46920 Summary: suboptimal register allocation with local register variables Product: gcc Version: unknown Status: UNCONFIRMED Keywords: ra Severity: normal Pri

[Bug rtl-optimization/46920] suboptimal register allocation with local register variables

2010-12-14 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46920 --- Comment #2 from Paolo Bonzini 2010-12-14 08:21:33 UTC --- > To generate the proposed code, we should assign r12 to p63.  IRA marks p63 > conflicting with r12 because DF-infrastructure reports r12 having intersected > live ranges with p63. > >

[Bug rtl-optimization/46920] suboptimal register allocation with local register variables

2010-12-14 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46920 --- Comment #4 from Paolo Bonzini 2010-12-14 16:48:20 UTC --- Yes, I agree that excessive peppering of the code with register asm causes worse performance. The interpreter is only placing the very hot ip and sp registers in hard-coded registers.

[Bug target/43610] [4.5/4.6 Regression] ICE: in prepare_float_lib_cmp, at optabs.c:4392 with -fno-trapping-math and _Decimal64 comparison

2010-05-09 Thread bonzini at gnu dot org
--- Comment #11 from bonzini at gnu dot org 2010-05-09 14:14 --- Patch posted now. Sorry, I was busy. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43610

[Bug libgcj/44216] [4.6 regression] All libjava tests fail on IRIX 6.5: ld warns about -no-merge-exidx-entries

2010-05-21 Thread bonzini at gnu dot org
--- Comment #2 from bonzini at gnu dot org 2010-05-21 07:27 --- What if you call AC_LANG_WERROR just before the test? This wouldn't be a final patch because then you need to restore the previous value, but it's a start. Ralf, maybe we want in Autoconf (and hence in over

[Bug libgcj/44216] [4.6 regression] All libjava tests fail on IRIX 6.5: ld warns about -no-merge-exidx-entries

2010-05-25 Thread bonzini at gnu dot org
--- Comment #6 from bonzini at gnu dot org 2010-05-25 16:21 --- The patch needs a fat comment saying what's going on, then it should be okay. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44216

[Bug middle-end/44321] attribute warn_unused_result fails under inlining.

2010-05-29 Thread bonzini at gnu dot org
--- Comment #3 from bonzini at gnu dot org 2010-05-29 17:32 --- I don't think this bug is of any use. Unlike nonnull, unused return values do not trigger undesirable optimizations and (as far as I can tell) cannot possibly result in miscompilation. This bug is indeed about a loo

[Bug middle-end/44321] attribute warn_unused_result fails under inlining.

2010-05-29 Thread bonzini at gnu dot org
--- Comment #5 from bonzini at gnu dot org 2010-05-30 06:42 --- Richi, I think we're saying the same thing from two different directions. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44321

[Bug tree-optimization/39839] [4.3/4.4/4.5/4.6 regression] loop invariant motion causes stack spill

2010-06-22 Thread bonzini at gnu dot org
--- Comment #11 from bonzini at gnu dot org 2010-06-22 17:28 --- That would be WONTFIX for 4.5 and earlier, right? 4.4 and earlier are definitely out of question, but maybe your patch alone gives the same effect on 4.5 branch too, without any of the other ivopts and ARM improvements

[Bug rtl-optimization/44695] [4.6 Regression] ice in simplify_subreg, at simplify-rtx.c:5117

2010-06-30 Thread bonzini at gnu dot org
--- Comment #5 from bonzini at gnu dot org 2010-06-30 11:51 --- I agree that the problem is a wrong pattern. Here you have non-matching mode between the udiv/umod and the first argument: > (ior:HI (ashift:HI (zero_extend:HI (umod:QI (reg:HI 68) > (reg:QI 61 [

[Bug bootstrap/44455] GCC fails to build if MPFR 3.0.0 (Release Candidate) is used

2010-07-08 Thread bonzini at gnu dot org
--- Comment #5 from bonzini at gnu dot org 2010-07-08 16:24 --- The patch is okay, but it should be tested with bootstrap, `make install' and a smoke test after install with: - in-tree GMP, in-tree MPFR 2.3 - in-tree GMP, in-tree MPFR 3.0 - out-of-tree GMP, in-tree MPFR 2.3 - o

[Bug rtl-optimization/39837] [4.3/4.4/4.5 regression] extra spills due to RTL LICM

2010-07-11 Thread bonzini at gnu dot org
--- Comment #12 from bonzini at gnu dot org 2010-07-11 07:51 --- I agree. -- bonzini at gnu dot org changed: What|Removed |Added Status|RESOLVED

[Bug rtl-optimization/36758] [4.3/4.4/4.5/4.6 Regression] addition moved out of the loop when used with an argument

2010-07-11 Thread bonzini at gnu dot org
--- Comment #23 from bonzini at gnu dot org 2010-07-11 07:51 --- This is fixed on ARM, what about PPC? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36758

[Bug bootstrap/44455] GCC fails to build if MPFR 3.0.0 (Release Candidate) is used

2010-07-13 Thread bonzini at gnu dot org
--- Comment #8 from bonzini at gnu dot org 2010-07-13 09:32 --- Yes, C-only bootstrap is enough. Regarding the removal of an installed GMP, in theory yes, it would be preferable. In practice removing it would force you to use an old bootstrap GCC that does not use MPC/MPFR/GMP, and

[Bug bootstrap/44455] GCC fails to build if MPFR 3.0.0 (Release Candidate) is used

2010-07-13 Thread bonzini at gnu dot org
--- Comment #10 from bonzini at gnu dot org 2010-07-13 14:43 --- Great! Do you have commit rights? Patch is ok for all 4.5 and 4.6. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44455

[Bug bootstrap/44455] GCC fails to build if MPFR 3.0.0 (Release Candidate) is used

2010-07-13 Thread bonzini at gnu dot org
--- Comment #12 from bonzini at gnu dot org 2010-07-13 15:31 --- Subject: Re: GCC fails to build if MPFR 3.0.0 (Release Candidate) is used On 07/13/2010 05:01 PM, marc dot glisse at normalesup dot org wrote: > --- Comment #11 from marc dot glisse at normalesup dot org 2010-07

[Bug middle-end/49721] convert_memory_address_addr_space may generate invalid new insns

2011-08-02 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49721 --- Comment #17 from Paolo Bonzini 2011-08-03 06:32:42 UTC --- H.J., I agree with what you write in comment 16. But unless we are sure that the problematic composition will never be generated (e.g. by ivopts), we cannot afford that. The patch i

[Bug bootstrap/50047] [4.7 Regression] Revision 177670 failed to bootstrap

2011-08-12 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50047 --- Comment #1 from Paolo Bonzini 2011-08-12 17:13:10 UTC --- Author: bonzini Date: Fri Aug 12 17:13:04 2011 New Revision: 177706 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=177706 Log: 2011-08-12 Paolo Bonzini PR bootstrap/500

[Bug target/26726] -fivopts producing out of bounds array refs

2007-10-29 Thread bonzini at gnu dot org
--- Comment #17 from bonzini at gnu dot org 2007-10-29 10:05 --- > This issue with -4 offset is annoying because code size of offsetted load insn > is huge: > >f: c7 40 fc 01 00 00 00movl $0x1,-0x4(%eax) -0x4(%eax) is 2 bytes more than (%eax), where IIRC it wou

[Bug rtl-optimization/33796] valgrind error with -O2 for linux kernel code

2007-10-31 Thread bonzini at gnu dot org
--- Comment #8 from bonzini at gnu dot org 2007-10-31 13:21 --- Reopening and marking as enhancement. A patch like this should work: Index: sparseset.c === --- sparseset.c (revision 129768) +++ sparseset.c (working copy

[Bug rtl-optimization/15023] -frename-registers is slow

2007-11-05 Thread bonzini at gnu dot org
--- Comment #16 from bonzini at gnu dot org 2007-11-05 08:21 --- No, but I don't think this should hold up marking this PR as fixed. -- bonzini at gnu dot org changed: What|Removed |

[Bug middle-end/33713] [4.3 Regression] can't find a register in class 'GENERAL_REGS' while reloading 'asm'

2007-11-06 Thread bonzini at gnu dot org
--- Comment #6 from bonzini at gnu dot org 2007-11-06 17:05 --- I think P1 is a little too much since this requires -fforce-addr. Anyway, here are my findings and thoughts: 1) reduced testcase: void oc_frag_recon_inter2_mmx(unsigned char *_dst,int _dst_ystride, const unsigned char

[Bug c++/33604] [4.3 Regression] Revision 119502 causes significantly slower results with 4.3 compared to 4.2

2007-11-06 Thread bonzini at gnu dot org
--- Comment #7 from bonzini at gnu dot org 2007-11-06 17:10 --- I would also like to know the status, because I would like to get rid of -fforce-addr. :-) -- bonzini at gnu dot org changed: What|Removed |Added

[Bug c++/33604] [4.3 Regression] Revision 119502 causes significantly slower results with 4.3 compared to 4.2

2007-11-06 Thread bonzini at gnu dot org
--- Comment #9 from bonzini at gnu dot org 2007-11-06 20:08 --- Can you try -O3 -fno-predictive-commoning and -O3 -fno-tree-vectorize? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33604

[Bug c++/33604] [4.3 Regression] Revision 119502 causes significantly slower results with 4.3 compared to 4.2

2007-11-06 Thread bonzini at gnu dot org
--- Comment #11 from bonzini at gnu dot org 2007-11-06 21:23 --- michael dot olbrich at gmx dot net wrote: > --- Comment #10 from michael dot olbrich at gmx dot net 2007-11-06 21:01 > --- > 4.2 4.3 | > --- > 4.4s 15.9s |-O3 > 4.6s 16

[Bug rtl-optimization/34012] [4.3 Regression] Pessimization caused by fwprop

2007-11-07 Thread bonzini at gnu dot org
--- Comment #3 from bonzini at gnu dot org 2007-11-07 11:04 --- Created an attachment (id=14495) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14495&action=view) patch that fixes the bug I'm not sure about the correctness of the i386.c hunk. The problem is that a

[Bug rtl-optimization/34012] [4.3 Regression] Pessimization caused by fwprop

2007-11-07 Thread bonzini at gnu dot org
--- Comment #2 from bonzini at gnu dot org 2007-11-07 11:03 --- fwprop should check costs just like combine does. Unfortunately the cost do need a little bit of tweaking even if one implements the idea. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34012

[Bug tree-optimization/33604] [4.3 Regression] Revision 119502 causes significantly slower results with 4.3 compared to 4.2

2007-11-07 Thread bonzini at gnu dot org
--- Comment #19 from bonzini at gnu dot org 2007-11-07 16:35 --- Might be tree-level forwprop, CCing richi... -- bonzini at gnu dot org changed: What|Removed |Added

[Bug c++/34014] conversion operators misprinted in gimple dump

2007-11-07 Thread bonzini at gnu dot org
-- bonzini at gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed

[Bug c++/34014] New: conversion operators misprinted in gimple dump

2007-11-07 Thread bonzini at gnu dot org
isprinted in gimple dump Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: minor Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: bonzini at gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34014

[Bug tree-optimization/33604] [4.3 Regression] Revision 119502 causes significantly slower results with 4.3 compared to 4.2

2007-11-07 Thread bonzini at gnu dot org
--- Comment #18 from bonzini at gnu dot org 2007-11-07 16:26 --- Created an attachment (id=14498) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14498&action=view) never say minimal! So this is a testcase constructed from scratch. 4.3 is 4.5x slower (0.8s vs. 0.18s). Furt

[Bug tree-optimization/33604] [4.3 Regression] Revision 119502 causes significantly slower results with 4.3 compared to 4.2

2007-11-07 Thread bonzini at gnu dot org
--- Comment #16 from bonzini at gnu dot org 2007-11-07 14:22 --- 4.3 does much less SRA. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33604

[Bug tree-optimization/33604] [4.3 Regression] Revision 119502 causes significantly slower results with 4.3 compared to 4.2

2007-11-07 Thread bonzini at gnu dot org
-- bonzini at gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed

[Bug tree-optimization/33604] [4.3 Regression] Revision 119502 causes significantly slower results with 4.3 compared to 4.2

2007-11-07 Thread bonzini at gnu dot org
--- Comment #15 from bonzini at gnu dot org 2007-11-07 13:09 --- Created an attachment (id=14496) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14496&action=view) self contained testcase 4.2 4.3 -O214.5s11

[Bug rtl-optimization/34012] [4.3 Regression] Pessimization caused by fwprop

2007-11-07 Thread bonzini at gnu dot org
--- Comment #6 from bonzini at gnu dot org 2007-11-07 17:02 --- Created an attachment (id=14499) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14499&action=view) patch using rtx_cost This patch uses rtx_cost instead of insn_rtx_cost, which is faster and does not require t

[Bug tree-optimization/33604] [4.3 Regression] Revision 119502 causes significantly slower results with 4.3 compared to 4.2

2007-11-07 Thread bonzini at gnu dot org
--- Comment #17 from bonzini at gnu dot org 2007-11-07 16:03 --- Created an attachment (id=14497) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14497&action=view) "minimal" testcase This is as small as I could get it (130 lines). Can be made smaller, bu

[Bug middle-end/33713] [4.3 Regression] can't find a register in class 'GENERAL_REGS' while reloading 'asm'

2007-11-08 Thread bonzini at gnu dot org
--- Comment #11 from bonzini at gnu dot org 2007-11-08 19:56 --- -fforce-addr for SPECfp is neutral, with big improvements in equake (and a little on swim+lucas, but the latter has huge fluctuations). SPECint drops from 1156 to 1130, with clear changes for the worse as highlighted by

[Bug middle-end/33713] [4.3 Regression] can't find a register in class 'GENERAL_REGS' while reloading 'asm'

2007-11-08 Thread bonzini at gnu dot org
--- Comment #12 from bonzini at gnu dot org 2007-11-08 19:58 --- Who prepares the patch? :-) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33713

[Bug middle-end/33713] [4.3 Regression] can't find a register in class 'GENERAL_REGS' while reloading 'asm'

2007-11-10 Thread bonzini at gnu dot org
--- Comment #14 from bonzini at gnu dot org 2007-11-10 13:04 --- I reviewed the patch and it seems ok except that the option should be kept undocumented for 4.3. fforce-addr - Common Report Var(flag_force_addr) Optimization - Copy memory address constants into registers before use

[Bug tree-optimization/34048] [4.3 Regression]: Revision 130040 miscompiles 450.soplex

2007-11-10 Thread bonzini at gnu dot org
--- Comment #9 from bonzini at gnu dot org 2007-11-10 18:10 --- You should report the problem to SPEC so they update http://www.spec.org/cpu2006/Docs/450.soplex.html and create a src.alt (I think, at least this is how it was for CPU2000). -- http://gcc.gnu.org/bugzilla/show_bug.cgi

[Bug tree-optimization/34048] [4.3 Regression]: Revision 130040 miscompiles 450.soplex

2007-11-10 Thread bonzini at gnu dot org
--- Comment #14 from bonzini at gnu dot org 2007-11-11 07:16 --- It could also be possible to do something like this to avoid default construction. @@ -46,8 +46,8 @@ namespace soplex class UnitVector : public SVector { private: - Element themem; ///< memory for 1st sparse vec

[Bug target/34067] [4.3 regression] gfortran.dg/char_cshift_2.f90 fails with -O3 -funroll-loops fails on Intel Darwin

2007-11-13 Thread bonzini at gnu dot org
--- Comment #10 from bonzini at gnu dot org 2007-11-13 08:16 --- Anyway, it looks like a latent bug somewhere else. -- bonzini at gnu dot org changed: What|Removed |Added

[Bug target/34067] [4.3 regression] gfortran.dg/char_cshift_2.f90 fails with -O3 -funroll-loops fails on Intel Darwin

2007-11-13 Thread bonzini at gnu dot org
--- Comment #11 from bonzini at gnu dot org 2007-11-13 08:21 --- Since you are at it, could you test on *exactly* the involved revisions, i.e. 130042 and 130043? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34067

[Bug target/34067] [4.3 regression] gfortran.dg/char_cshift_2.f90 fails with -O3 -funroll-loops fails on Intel Darwin

2007-11-14 Thread bonzini at gnu dot org
--- Comment #21 from bonzini at gnu dot org 2007-11-14 11:04 --- I am not following you. Why do both executions abort? We don't want to find two different wrong-code bugs, but to compare one correct and one wrong execution. Also, it would be okay to have no output as long as w

[Bug target/34067] [4.3 regression] gfortran.dg/char_cshift_2.f90 fails with -O3 -funroll-loops fails on Intel Darwin

2007-11-14 Thread bonzini at gnu dot org
--- Comment #23 from bonzini at gnu dot org 2007-11-14 12:12 --- Created an attachment (id=14553) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14553&action=view) patch to test I had this alternative patch to fix the addr-sel-1.c failure on i686-pc-linux-gnu. Could you c

[Bug middle-end/33713] [4.3 Regression] can't find a register in class 'GENERAL_REGS' while reloading 'asm'

2007-11-19 Thread bonzini at gnu dot org
--- Comment #16 from bonzini at gnu dot org 2007-11-19 09:45 --- Steven, post it to gcc-patches and I'll be happy to commit it as soon as it is approved. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33713

[Bug rtl-optimization/34171] [4.3 Regression] Segfault in df_chain_remove_problem with -O3 on alpha

2007-11-21 Thread bonzini at gnu dot org
--- Comment #4 from bonzini at gnu dot org 2007-11-21 09:47 --- Created an attachment (id=14589) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14589&action=view) attempt Can you try this patch? I don't have the resources now to build a cross and test it.

[Bug rtl-optimization/3507] appalling optimisation with sub/cmp on multiple targets

2007-11-29 Thread bonzini at gnu dot org
--- Comment #12 from bonzini at gnu dot org 2007-11-29 11:43 --- I think this should use find_comparison_args. -- bonzini at gnu dot org changed: What|Removed |Added

[Bug target/32086] [4.3 Regression] 10% to 20% Performance Regression Between 4.1.3 and 4.3

2007-11-29 Thread bonzini at gnu dot org
--- Comment #2 from bonzini at gnu dot org 2007-11-30 05:41 --- What were the benchmarks where the cost model was slower? -- bonzini at gnu dot org changed: What|Removed |Added

[Bug regression/33928] [4.3 Regression] 22% performance slowdown from 4.2.2 to 4.3.0 in floating-point code

2007-11-29 Thread bonzini at gnu dot org
--- Comment #16 from bonzini at gnu dot org 2007-11-30 05:39 --- One suspect is fwprop. Anyone can confirm? -- bonzini at gnu dot org changed: What|Removed |Added

[Bug target/32086] [4.3 Regression] 10% to 20% Performance Regression Between 4.1.3 and 4.3

2007-11-29 Thread bonzini at gnu dot org
--- Comment #4 from bonzini at gnu dot org 2007-11-30 07:17 --- So -fvect-cost-model is doing its job. The vectorizations must not be profitable, or are they? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32086

[Bug regression/33928] [4.3 Regression] 22% performance slowdown from 4.2.2 to 4.3.0 in floating-point code

2007-11-30 Thread bonzini at gnu dot org
--- Comment #18 from bonzini at gnu dot org 2007-11-30 14:58 --- It would be -fno-forward-propagate, but what I meant is that the changes *connected to* fwprop could be the culprit. One has to look at dumps to understand if this is the case. It would be possible, maybe, to put an asm

[Bug target/32086] [4.3 Regression] 10% to 20% Performance Regression Between 4.1.3 and 4.3

2007-11-30 Thread bonzini at gnu dot org
--- Comment #8 from bonzini at gnu dot org 2007-11-30 13:30 --- Testing a one-liner. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32086

[Bug target/32086] [4.3 Regression] 10% to 20% Performance Regression Between 4.1.3 and 4.3

2007-11-30 Thread bonzini at gnu dot org
--- Comment #6 from bonzini at gnu dot org 2007-11-30 10:59 --- Looking at http://physik.fu-berlin.de/~tburnus/gcc-trunk/benchmark/gfortran-run.dat and http://physik.fu-berlin.de/~tburnus/gcc-trunk/benchmark/gfortranVecCost-run.dat I think we should turn on cost model by default, at

[Bug libstdc++/5291] Bad reference to build directory in libstdc++.la

2007-12-03 Thread bonzini at gnu dot org
--- Comment #27 from bonzini at gnu dot org 2007-12-03 10:17 --- It seems to me that the "old" RAW_CXX_FOR_TARGET is unused after the patch. Can you confirm? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5291

[Bug libstdc++/5291] Bad reference to build directory in libstdc++.la

2007-12-03 Thread bonzini at gnu dot org
--- Comment #29 from bonzini at gnu dot org 2007-12-03 13:17 --- It might be me, but I cannot see when they are used. Or better, yes, they are used in LTCXXCOMPILE but there a few -L... switches shouldn't make any difference, so you could use CXX_FOR_LIB also in LTCXXCOMPILE (an

[Bug rtl-optimization/34312] [4.3 regression] spill failure with -O2 -fPIC -march=pentium-m on i386

2007-12-03 Thread bonzini at gnu dot org
--- Comment #5 from bonzini at gnu dot org 2007-12-03 15:15 --- As a start, let's limit register passing convention to regparm=2. The risk of running out QImode registers is quite real, as is the risk of getting extremely bad code... -- bonzini at gnu dot org ch

[Bug tree-optimization/33604] [4.3 Regression] Revision 119502 causes significantly slower results with 4.3 compared to 4.2

2007-12-04 Thread bonzini at gnu dot org
--- Comment #29 from bonzini at gnu dot org 2007-12-04 11:17 --- Could you try 4.2 vs. 4.3 on: - http://gcc.gnu.org/bugzilla/attachment.cgi?id=14496 - http://gcc.gnu.org/bugzilla/attachment.cgi?id=14497 - http://gcc.gnu.org/bugzilla/attachment.cgi?id=14497 with the first #if 0 enabled

[Bug target/32086] [4.3 Regression] 10% to 20% Performance Regression Between 4.1.3 and 4.3

2007-12-10 Thread bonzini at gnu dot org
--- Comment #11 from bonzini at gnu dot org 2007-12-10 08:36 --- committed, cost model now enabled for i386. -- bonzini at gnu dot org changed: What|Removed |Added

[Bug rtl-optimization/32084] gfortran 4.3 13%-18% slower for induct.f90 than gcc 4.0-based competitor

2007-12-10 Thread bonzini at gnu dot org
--- Comment #15 from bonzini at gnu dot org 2007-12-10 08:37 --- As I committed PR32086 to use the cost model, this should be fixed. However, I prefer to leave it open as a missed optimization since Richard G.'s comments suggest that: a) there should be a DCE pass after vectoriz

[Bug target/32086] [4.3 Regression] 10% to 20% Performance Regression Between 4.1.3 and 4.3

2007-12-10 Thread bonzini at gnu dot org
--- Comment #13 from bonzini at gnu dot org 2007-12-10 16:37 --- I think so. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32086

[Bug c++/33887] [4.1/4.2/4.3 Regression] Reference to bitfield gets wrong value when optimizing

2007-12-14 Thread bonzini at gnu dot org
--- Comment #15 from bonzini at gnu dot org 2007-12-14 14:31 --- I have a patch that makes the reduce_bitfield_operations langhook a per-type field, but it doesn't affect code generation. Isn't there a testcase in the C++ library that fails if the langhook is false?...

[Bug c/10178] [3.4 regression] ICE in tree_low_cst

2007-12-14 Thread bonzini at gnu dot org
--- Comment #7 from bonzini at gnu dot org 2007-12-14 13:10 --- (right commit was 10718) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10178

[Bug driver/34479] New: "gcc -x c - -save-temps" does not work

2007-12-15 Thread bonzini at gnu dot org
0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: driver AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: bonzini at gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34479

[Bug bootstrap/32009] [4.3 Regression] building gcc4-4.3.0-20070518 failed on OSX 10.3.9

2007-12-16 Thread bonzini at gnu dot org
--- Comment #23 from bonzini at gnu dot org 2007-12-17 06:14 --- You're perfectly right; OTOH if I hadn't meant to fix it, I would have unassigned it. Sometimes people are busy, and for a build patch I usually do more than bootstrap/regtest on one architecture.

<    6   7   8   9   10   11   12   13   >