[Bug c++/18384] [3.3/3.4/4.0 Regression] ICE on zero-length array with empty initializer...

2005-02-24 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-02-25 06:39 --- Jakub, any plans to commit your patch to mainline and 3.3? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18384

[Bug tree-optimization/20231] missed optimization of loop IV modulus

2005-02-28 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-02-28 13:09 --- How useful is this transformation for real world code? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20231

[Bug tree-optimization/17863] [4.0/4.1 Regression] threefold performance loss, not inlining as much

2005-03-02 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-03-02 11:35 --- Performance bugs are never critical. -- What|Removed |Added Severity|critical

[Bug tree-optimization/17863] [4.0/4.1 Regression] threefold performance loss, not inlining as much

2005-03-02 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-03-02 11:36 --- Updated patch here: http://gcc.gnu.org/ml/gcc-patches/2005-02/msg01796.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17863

[Bug middle-end/19721] [meta-bug] optimizations that CSE still catches

2005-03-02 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-03-02 11:50 --- Here is a nice one: Working on insn: (insn 215 214 216 15 (parallel [ (set (reg:DI 176) (ashift:DI (reg:DI 175) (const_int 3 [0x3

[Bug tree-optimization/17863] [4.0/4.1 Regression] threefold performance loss, not inlining as much

2005-03-05 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-03-05 18:49 --- Even with Richard Guenther's patches, the only thing that really helps is setting --param large-function-growth=200, or more. The default is 100. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17863

[Bug rtl-optimization/19097] [3.4/4.0/4.1 regression] Quadratic behavior with many sets for the same register in gcse CPROP

2005-03-05 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-03-05 23:37 --- I don't think this will be fixed for 4.1, unless we kick out implicit sets from gcse, or all of gcse. The former may be possible if our const/copy prop at the tree level is good enough, but I wou

[Bug middle-end/19721] [meta-bug] optimizations that CSE still catches

2005-03-05 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-03-06 00:32 --- The first case of comment #14 turns out to be PR20130. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19721

[Bug middle-end/19721] [meta-bug] optimizations that CSE still catches

2005-03-06 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-03-06 22:14 --- Just to give people an idea of how close we are to optimizing well enough that the calls to fold_rtx in CSE are almost all no-ops, here are some numbers taken over all cc1-i files on amd64: Number of

[Bug tree-optimization/15784] fold misses binary optimization

2005-03-07 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-03-08 00:21 --- More on the latent bug that the patch for this PR uncovers: http://gcc.gnu.org/ml/gcc-patches/2005-03/msg00448.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15784

[Bug rtl-optimization/15242] [3.3/3.4 regression] pessimization of "goto *"

2005-03-10 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-03-10 12:48 --- > Maybe there should be another combining pass after the duplication > of the indirect jumps. Should I create another PR for this? There should not be another "combining" pass (you real

[Bug other/19180] How to Add New GCC option

2005-03-13 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-03-13 17:45 --- http://gcc.gnu.org/ml/gcc-patches/2005-03/msg01297.html would help. -- What|Removed |Added

[Bug middle-end/20177] ICE in schedule-insns for -O2 -fmodulo-sched

2005-03-15 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-03-16 00:57 --- I really doubt my patch is to blame for this. This patch has been on the hammer branch for ages, so it was in the system compiler of every SUSE distribution released in the last 2 years. Probably SMS

[Bug middle-end/20177] ICE in schedule-insns for -O2 -fmodulo-sched

2005-03-15 Thread steven at gcc dot gnu dot org
-- What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed||1 Last reconfirmed|-00-00 00:00:00 |2005-03-

[Bug middle-end/20177] ICE in schedule-insns for -O2 -fmodulo-sched

2005-03-15 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-03-16 01:01 --- This is enough for me to trigger the bug. The malloc is needed, probably it makes sure V and vector don't alias, or something like that. extern void * malloc (long); int n; float (*v

[Bug middle-end/20177] ICE in schedule-insns for -O2 -fmodulo-sched

2005-03-15 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-03-16 01:10 --- For me the fatal error now happens in a block starting with this: Breakpoint 6, verify_wide_reg (regno=136, bb=0x400a5a50) at ../../mainline/gcc/flow.c:494 494 fatal_error ("internal consis

[Bug middle-end/20177] ICE in schedule-insns for -O2 -fmodulo-sched

2005-03-15 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-03-16 01:24 --- This is at the point where die. Block 2 and block 7 both set reg 136. Block 2 uses it, and the predecessors of block 2 are block 2 and block 7. Reg 136 is in liveout(2). But it is not in liveout(7) for

[Bug tree-optimization/19788] Inconsistent handling of -1.

2005-03-16 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-03-16 12:30 --- Someone should check if this is fixed now, by this patch: http://gcc.gnu.org/ml/gcc-patches/2005-03/msg01122.html -- What|Removed |Added

[Bug tree-optimization/19659] GCC does not remove an "if" statement that never triggers.

2005-03-16 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-03-16 12:32 --- Diego, this happens *a lot* in GCC itself. All suggestions on how we can fix this problem are welcome... ;-) -- What|Removed |Added

[Bug tree-optimization/19789] tree optimizers do not know that constant global variables do not change

2005-03-16 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-03-16 12:34 --- Since Diego is apparently not looking at this, I'll give it another look. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19789

[Bug tree-optimization/19789] tree optimizers do not know that constant global variables do not change

2005-03-16 Thread steven at gcc dot gnu dot org
-- What|Removed |Added AssignedTo|unassigned at gcc dot gnu |steven at gcc dot gnu dot |dot org |org Status|NEW

[Bug target/20497] Building Code on AMD 64bits c

2005-03-16 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-03-17 00:04 --- I can successfully compile your test case with the gcc that is shipped with SUSE 9.2 ("gcc (GCC) 3.3.4 (pre 3.3.5 20040809)"). You say you are using GCC 3.3.2, but if you have any influen

[Bug target/20497] Building Code on AMD 64bits c

2005-03-16 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-03-17 00:06 --- I should notice I tried -O2 and -O3. If you used other flags, you should report those too. Your bug report is not very detailed. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20497

[Bug tree-optimization/14627] [tree-ssa] extra assignment inserted on the tree level

2005-03-19 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-03-19 18:58 --- Actually you can get this from any trivial "implicit set"-like code, for example: int b; void foo (int a) { if (a) a = 3; b = a; } The out-of-ssa pass

[Bug tree-optimization/14627] [tree-ssa] extra assignment inserted on the tree level

2005-03-19 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-03-19 19:33 --- FWIW this bug is a major source of ifcvt1 opportunities, so fixing it has positive downstream effects too. -- What|Removed |Added

[Bug tree-optimization/14627] [4.0/4.1 regression] extra assignment inserted on the tree level

2005-03-19 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-03-20 00:58 --- int b; void foo (int a) { if (a) a = 3; b = a; } GCC 3.3.5 (hammer-branch) on AMD64 -O2: foo: .LFB3: testl %edi, %edi movl$3, %eax

[Bug target/19069] [x86][amd64] Could have better initial RTL generation for MIN/MAX

2005-03-20 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-03-20 15:12 --- Yes it is. -- What|Removed |Added Status|NEW

[Bug target/19069] Have better initial RTL generation for MIN/MAX

2005-03-20 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-03-20 16:07 --- Actually the original plan was to write define_expands for x86*, but easier solution was to write a new generic expander in expr.c. As a positive side effect, other targets also profit from that patch

[Bug tree-optimization/20580] New: Using ASSERT_EXPR to improve constant propagation of conditional constants

2005-03-21 Thread steven at gcc dot gnu dot org
t: tree-optimization AssignedTo: dnovillo at gcc dot gnu dot org ReportedBy: steven at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20580

[Bug tree-optimization/20580] Using ASSERT_EXPR to improve constant propagation of conditional constants

2005-03-21 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-03-21 18:41 --- This should be fairly trivial to do on the tree-cleanup-branch, so this is "fixable" for GCC 4.1. Let's hope it gives a real improvement... ;-) Confirmed because I already discussed this

[Bug middle-end/20557] [4.0/4.1 regression] FAIL: gcc.dg/pr18628.c

2005-03-21 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-03-21 22:09 --- My bad. Roger already has a proposed fix. -- What|Removed |Added Status

[Bug rtl-optimization/20376] The missed-optimization of general induction variables in the new rtl-level loop optimizer cause performance degradation.

2005-03-27 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-03-27 10:19 --- Two things: 1) Test case? No test case, no way to reproduce it without re-doing the investigating you have already done. Stop work duplication, provide test cases to your fellow GCC hackers. I

[Bug tree-optimization/19108] [4.0/4.1 regression] ICE initializing arrays

2005-03-28 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-03-28 21:04 --- Indeed I do not have time to work on this. I should have unassigned this bug long ago, sorry about that. -- What|Removed |Added

[Bug middle-end/20648] [4.1 regression] ICE in cfg_layout_redirect_edge_and_branch_force

2005-03-28 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-03-28 21:57 --- Test case, thanks to Tom Tromey: T.java: public class T { int field; public void test(int f) { synchronized (this) { if (field != 0) throw new IllegalStateException

[Bug middle-end/20648] [4.0/4.1 regression] ICE in cfg_layout_redirect_edge_and_branch_force

2005-03-28 Thread steven at gcc dot gnu dot org
-- What|Removed |Added AssignedTo|unassigned at gcc dot gnu |steven at gcc dot gnu dot |dot org |org Status|NEW

[Bug middle-end/20648] [4.0/4.1 regression] ICE in cfg_layout_redirect_edge_and_branch_force

2005-03-29 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-03-29 13:22 --- http://gcc.gnu.org/ml/gcc-patches/2005-03/msg02578.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20648

[Bug target/16871] missing vector support

2005-03-30 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-03-30 11:21 --- Is anyone going to work on these intrinsics? Is there a list somewhere of what intrinsics we are talking about here? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16871

[Bug rtl-optimization/20376] The missed-optimization of general induction variables in the new rtl-level loop optimizer cause performance degradation.

2005-03-30 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-03-30 11:38 --- Waiting for a test case... -- What|Removed |Added Status|UNCONFIRMED

[Bug rtl-optimization/20376] The missed-optimization of general induction variables in the new rtl-level loop optimizer cause performance degradation.

2005-03-30 Thread steven at gcc dot gnu dot org
-- What|Removed |Added Status|WAITING |NEW Ever Confirmed||1 Last reconfirmed|-00-00 00:00:00 |2005-03-

[Bug c++/20629] internal compiler error: in cp_tree_equal, at cp/tree.c:1552

2005-04-01 Thread steven at gcc dot gnu dot org
-- What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed||1 Last reconfirmed|-00-00 00:00:00 |2005-04-

[Bug c++/20629] internal compiler error: in cp_tree_equal, at cp/tree.c:1552

2005-04-01 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-04-01 10:43 --- Seen in wxGTK on i386: ../../../../contrib/src/ogl/drawn.cpp:1019: internal compiler error: in cp_tree_equal, at cp/tree.c:1552 ../../../../contrib/src/ogl/mfutils.cpp:157: internal compiler error: in

[Bug middle-end/20648] [4.0/4.1 regression] ICE in cfg_layout_redirect_edge_and_branch_force

2005-04-03 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-04-03 12:49 --- Should be fixed on mainline now, can someone confirm this for ia64? -- What|Removed |Added

[Bug c++/20629] internal compiler error: in cp_tree_equal, at cp/tree.c:1552

2005-04-03 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-04-03 12:51 --- This bug disappeared today for me. Coalan, do you still see it? -- What|Removed |Added

[Bug middle-end/20739] New: [4.0/4.1 regression] ICE in gimplify_addr_expr

2005-04-03 Thread steven at gcc dot gnu dot org
-on-valid-code Severity: normal Priority: P2 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: steven at gcc dot gnu dot org CC: aj at suse dot de,gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/s

[Bug middle-end/20739] [4.0/4.1 regression] ICE in gimplify_addr_expr

2005-04-03 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-04-03 14:33 --- C ICE-on-valid bugs are release critical. -- What|Removed |Added Severity

[Bug middle-end/20739] [4.0/4.1 regression] ICE in gimplify_addr_expr

2005-04-03 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-04-03 14:49 --- We ICE on an assert: #ifdef ENABLE_CHECKING tree t_op0 = TREE_TYPE (op0); gcc_assert ((TREE_CODE (t_op0) == ARRAY_TYPE && POINTER_TYPE_P

[Bug middle-end/20739] [4.0/4.1 regression] ICE in gimplify_addr_expr

2005-04-03 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-04-03 15:32 --- Introduced by rth's patch http://gcc.gnu.org/ml/gcc-cvs/2004-09/msg00682.html. If this patch was ever posted to gcc-patches, I can't find the mail for it. -- What

[Bug middle-end/20739] [4.0/4.1 regression] ICE in gimplify_addr_expr

2005-04-04 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-04-04 09:18 --- Removing the patch mentioned in comment #5 indeed makes this bug go away. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20739

[Bug middle-end/20739] [4.0/4.1 regression] ICE in gimplify_addr_expr

2005-04-04 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-04-04 13:09 --- http://gcc.gnu.org/ml/gcc-patches/2005-04/msg00321.html -- What|Removed |Added

[Bug web/20743] -fweb produces very slow code on gcc 4.0.0

2005-04-04 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-04-04 13:10 --- There is a reason why it is disabled in gcc 4.0. -- What|Removed |Added Status

[Bug web/20743] -fweb produces very slow code on gcc 4.0.0

2005-04-04 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-04-04 13:11 --- I should point out, though, that we all (me too) do appreciate this kind of testing. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20743

[Bug middle-end/20648] [4.0 regression] ICE in cfg_layout_redirect_edge_and_branch_force

2005-04-07 Thread steven at gcc dot gnu dot org
-- What|Removed |Added Known to fail|4.0.0 4.1.0 |4.0.0 Summary|[4.0/4.1 regression] ICE in |[4.0 regression] ICE in |cfg_layout_re

[Bug middle-end/20648] [4.0 regression] ICE in cfg_layout_redirect_edge_and_branch_force

2005-04-07 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-04-07 09:10 --- The same patch as the one on mainline should work for 4.0. -- What|Removed |Added

[Bug target/20928] ICE: unrecognizable insns

2005-04-10 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-04-10 16:01 --- Also happens with mainline. extern struct symbol_tab_ { void *S_nil; } symbol_tab_data; typedef struct { unsigned int length; void *data[0]; } s; void * allocate_vector (unsigned int

[Bug target/20928] [4.0/4.1 regression] ICE: unrecognizable insns

2005-04-10 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-04-10 16:03 --- Needs "-O -mtune=k8 -fPIC" of course. -fPIC seems to cause the problem. -- What|Removed

[Bug target/20928] [4.0/4.1 regression] ICE: unrecognizable insns

2005-04-10 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-04-10 16:08 --- Double *sigh*. The old loop optimizer introduces the offending insn. From the .loop dump: Insn 26: regno 70 (life 1), move-insn forces 25 savings 1 moved to 56 Hoisted regno 74 r/o from (mem/u/c:DI

[Bug target/20928] [4.0/4.1 regression] ICE: unrecognizable insns

2005-04-10 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-04-10 17:24 --- After CSE1 (t.c.04.cse) we have: (insn 20 18 22 1 (set (reg:DI 66) (mem/u/c:DI (const:DI (unspec:DI [ (symbol_ref:DI ("bar") [flags 0x40] )

[Bug target/20928] [4.0/4.1 regression] ICE: unrecognizable insns

2005-04-10 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-04-10 17:39 --- The offending insn is created by emit_move_insn in loop.c, here: 2354start_sequence (); 2355emit_move_insn (m->insert_temp ? newreg : m->set_dest,

[Bug target/20928] [4.0/4.1 regression] ICE: unrecognizable insns

2005-04-10 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-04-10 17:52 --- My RTL-fu is way below par, so perhaps this doesn't make sense at all, but... It seems that emit_move_insn must always produce valid move insns. So it should check that an immediate is a vali

[Bug target/20928] [4.0/4.1 regression] ICE: unrecognizable insns

2005-04-10 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-04-10 19:03 --- FWIW, smallest test case I could find: extern struct bar_t bar; void foo (void) { void **p; do { *p++ = ((unsigned char *) &bar + ((unsigned long int) 1L << 31));

[Bug target/20928] [4.0/4.1 regression] ICE: unrecognizable insns

2005-04-10 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-04-10 21:05 --- Alexandre Oliva pointed out to me that it was probably the expander who should produce a proper legitimate insn. I looked at this some more and found that in legitimize_pic_address we do not check if a

[Bug target/20927] ICE in smallest_mode_for_size, at stor-layout.c:221 (s390x)

2005-04-10 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-04-10 23:32 --- Yup: Breakpoint 1, fancy_abort (file=0x82a7f8 "../../gcc-4.0/gcc/stor-layout.c", line=221, function=0x82a87c "smallest_mode_for_size") at diagnostic.c:556 556 internal_err

[Bug tree-optimization/20963] [4.0/4.1 Regression] ICE tree check: expected value_handle, have addr_expr in value_exists_in_set_bitmap, at tree-ssa-pre.c:437

2005-04-12 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-04-12 09:52 --- There is always a bigger fish - an a smaller test case: struct sMCB { unsigned char type; }; extern void foo (void); unsigned char mem_readb(char *pt) __attribute__((nothrow)); void

[Bug tree-optimization/20963] [4.0/4.1 Regression] ICE tree check: expected value_handle, have addr_expr in value_exists_in_set_bitmap, at tree-ssa-pre.c:437

2005-04-12 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-04-12 09:56 --- In addition to ICEing, PRE is also being stupid about moving out a loop invariant expression: Found partial redundancy for expression (char *) &0B->type Skipping insertion of phi for partial red

[Bug tree-optimization/20963] [4.0/4.1 Regression] ICE tree check: expected value_handle, have addr_expr in value_exists_in_set_bitmap, at tree-ssa-pre.c:437

2005-04-12 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-04-12 13:38 --- FWIW, I think the problem might be that there are cases where force_gimple_operand generates more sub-expressions, but we do not add value handles for them: (gdb) 1369 folded = fold (build

[Bug tree-optimization/20963] [4.1 Regression] ICE tree check: expected value_handle, have addr_expr in value_exists_in_set_bitmap, at tree-ssa-pre.c:437

2005-04-12 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-04-13 06:28 --- Maybe 4.0 with the patch for PR20929 triggers the ICE. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20963

[Bug rtl-optimization/13724] Bad code generated for unsigned int -> long long multiplication

2005-04-13 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-04-13 09:23 --- Paolo Bozini mentioned this bug as an example of the 64bits arith on 32bits host "issue". -- What|Removed

[Bug tree-optimization/18880] DSE is not doing its job for global variables

2005-04-13 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-04-13 23:50 --- I am no longer interested in working on this DSE pass. -- What|Removed |Added

[Bug middle-end/19721] [meta-bug] optimizations that CSE still catches

2005-04-16 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-04-16 15:15 --- It is apparently not possible to convince people that any optimizations in CSE can be removed, so working on this is pointless for me. See http://gcc.gnu.org/ml/gcc-patches/2005-04/msg01498.html

[Bug middle-end/18071] [4.2/4.3/4.4 Regression] -Winline does not respect -fno-default-inline

2008-09-21 Thread steven at gcc dot gnu dot org
--- Comment #38 from steven at gcc dot gnu dot org 2008-09-21 13:07 --- Fixed by Honza's patch. -- steven at gcc dot gnu dot org changed: What|Removed |

[Bug rtl-optimization/33828] Issues with code hoisting implementation in gcse.c

2008-09-21 Thread steven at gcc dot gnu dot org
--- Comment #12 from steven at gcc dot gnu dot org 2008-09-21 13:13 --- . -- steven at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|steven at gcc

[Bug rtl-optimization/33356] Incomplete documentation of REG_RETVAL and REG_LIBCALL notes

2008-09-21 Thread steven at gcc dot gnu dot org
--- Comment #2 from steven at gcc dot gnu dot org 2008-09-21 13:13 --- libcall notes are no more... -- steven at gcc dot gnu dot org changed: What|Removed |Added

[Bug rtl-optimization/16967] Iterating gcse.c CPROP and PRE does not reach a fixed point

2008-09-21 Thread steven at gcc dot gnu dot org
--- Comment #14 from steven at gcc dot gnu dot org 2008-09-21 13:14 --- I can reproduce this on-and-off, but never with a reasonable test case. It's unlikely that anyone is interested in fixing this, esp. given that RTL PRE/CPROP are doing less and less these days as the

[Bug middle-end/35413] [meta-bug] Remaining issues blocking the removal of libcall notes from the compiler

2008-09-21 Thread steven at gcc dot gnu dot org
--- Comment #2 from steven at gcc dot gnu dot org 2008-09-21 13:19 --- Libcall blocks are no more. -- steven at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/19201] [m68k] Inefficient code for array accesses (from old PROBLEMS)

2008-09-21 Thread steven at gcc dot gnu dot org
--- Comment #9 from steven at gcc dot gnu dot org 2008-09-21 13:21 --- Andreas, could you adopt the patch of comment #4 and see if it still fixes this bug? -- steven at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/23169] INTENT information not used in the middle-end for optimizations

2008-09-21 Thread steven at gcc dot gnu dot org
--- Comment #5 from steven at gcc dot gnu dot org 2008-09-21 13:36 --- A C equivalent test case "works". Once the infamous multiple-decls-per-function issue in gfortran is fixed, this bug probably will disappear. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23169

[Bug target/12395] Suboptimal code with global variables

2008-09-21 Thread steven at gcc dot gnu dot org
--- Comment #13 from steven at gcc dot gnu dot org 2008-09-21 13:49 --- Re. comment #12 I don't see how PRE for globals would make a difference here. In any case, AFAIU tree PRE for globals should now work, and we still don't produce any better code. The output of today (4.4.

[Bug target/12395] Suboptimal code with global variables

2008-09-21 Thread steven at gcc dot gnu dot org
--- Comment #14 from steven at gcc dot gnu dot org 2008-09-21 13:52 --- Here is the .final_cleanup dump, fwiw: ;; Function foo (foo) foo () { int a.1; : a.1 = a + 1; a = a.1; if (a.1 != 0) goto ; else goto ; : a = [plus_expr] a.1 + 1; : return; } which

[Bug tree-optimization/18046] Missed jump threading optimization

2008-09-21 Thread steven at gcc dot gnu dot org
--- Comment #12 from steven at gcc dot gnu dot org 2008-09-21 13:58 --- tree PRE now *does* handle the partially redundant global variable load. This is the .final_cleanup dump: ;; Function bar (bar) bar () { int prephitmp.13; : prephitmp.13 = i; switch (prephitmp.13) , case 0

[Bug fortran/37635] Fortran 2008: Support LEADZ / TRAILZ

2008-09-24 Thread steven at gcc dot gnu dot org
--- Comment #2 from steven at gcc dot gnu dot org 2008-09-24 22:28 --- I'll see this weekend if I can take care of this. -- steven at gcc dot gnu dot org changed: What|Removed |

[Bug fortran/37635] Fortran 2008: Support LEADZ / TRAILZ

2008-09-27 Thread steven at gcc dot gnu dot org
--- Comment #3 from steven at gcc dot gnu dot org 2008-09-27 14:09 --- Created an attachment (id=16414) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16414&action=view) draft patch -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37635

[Bug libfortran/36755] Avoid fork/exec in chmod intrinsic

2008-09-27 Thread steven at gcc dot gnu dot org
-- steven at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last

[Bug target/37668] Obvious bug in arm.c: arm_size_rtx_costs() case NEG:

2008-09-28 Thread steven at gcc dot gnu dot org
--- Comment #2 from steven at gcc dot gnu dot org 2008-09-28 11:57 --- Don't know if the patch is OK, but the code is obviously doing something silly. CC-ing ARM maintainer. -- steven at gcc dot gnu dot org changed: What|Removed |

[Bug fortran/37635] Fortran 2008: Support LEADZ / TRAILZ

2008-10-02 Thread steven at gcc dot gnu dot org
--- Comment #5 from steven at gcc dot gnu dot org 2008-10-02 18:52 --- . -- steven at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug fortran/37635] Fortran 2008: Support LEADZ / TRAILZ

2008-10-02 Thread steven at gcc dot gnu dot org
--- Comment #6 from steven at gcc dot gnu dot org 2008-10-02 18:52 --- Subject: Bug 37635 Author: steven Date: Thu Oct 2 18:51:12 2008 New Revision: 140837 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140837 Log: testsuite * gfortran.fortran-torture

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

2008-01-18 Thread steven at gcc dot gnu dot org
--- Comment #10 from steven at gcc dot gnu dot org 2008-01-18 12:04 --- Re. comment 7: What does the initial RTL look like with GCC 3.3 and with a post tree-ssa compiler? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22141

[Bug ada/22141] [4.0/4.1/4.2/4.3 Regression] Missing optimization when storing structures

2008-01-18 Thread steven at gcc dot gnu dot org
--- Comment #12 from steven at gcc dot gnu dot org 2008-01-18 12:35 --- So 3.3 expanded the initializer into sets of the individual components, but with ANDs and ORs and a single MEM store, instead of MEM stores to the individual components. It seems to me that this is not something

[Bug rtl-optimization/34808] [4.3 Regression] ICE in prescan_insns_for_dce

2008-01-18 Thread steven at gcc dot gnu dot org
--- Comment #6 from steven at gcc dot gnu dot org 2008-01-18 16:05 --- I tried to avoid setting XEXP(note,0) twice (once directly and once through gen_rtx_INSN_LIST. But I don't feel strong either way. Your patch looks correct to me. -- http://gcc.gnu.org/bugzilla/show_bug.c

[Bug rtl-optimization/34849] Missed autoincrement oppurtunities thanks to a different basic block structure.

2008-01-18 Thread steven at gcc dot gnu dot org
--- Comment #1 from steven at gcc dot gnu dot org 2008-01-18 14:26 --- Which optimization level? Why does cross-jumping not optimize this? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34849

[Bug rtl-optimization/34808] [4.3 Regression] ICE in prescan_insns_for_dce

2008-01-18 Thread steven at gcc dot gnu dot org
--- Comment #4 from steven at gcc dot gnu dot org 2008-01-18 14:03 --- Created an attachment (id=14966) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14966&action=view) Handle REG_RETVAL notes in try_split Untested, etc. But the ICE for the test case goes away. This patc

[Bug target/34831] [4.3 Regression] ICE on gcc.dg/pr34233.c for MIPS

2008-01-18 Thread steven at gcc dot gnu dot org
--- Comment #6 from steven at gcc dot gnu dot org 2008-01-18 16:53 --- The offending insn is already produced in "expand". GCC ICEs the first time it calls recog() on it. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34831

[Bug target/34831] [4.3 Regression] ICE on gcc.dg/pr34233.c for MIPS

2008-01-18 Thread steven at gcc dot gnu dot org
--- Comment #5 from steven at gcc dot gnu dot org 2008-01-18 16:50 --- Confirmed. ignoring nonexistent directory "/usr/local/lib/gcc/mipsel-unknown-linux-gnu/4.3.0/include" ignoring nonexistent directory "/usr/local/lib/gcc/mipsel-unknown-linux-gnu/4.3.0/include-

[Bug rtl-optimization/34808] [4.3 Regression] ICE in prescan_insns_for_dce

2008-01-18 Thread steven at gcc dot gnu dot org
--- Comment #7 from steven at gcc dot gnu dot org 2008-01-18 16:07 --- Ah, and of course gen_rtx_INSN_LIST does not set XEXP(0) of the REG_LIBCALL note. Silly me ;-) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34808

[Bug target/34831] ICE on gcc.dg/pr34233.c for MIPS

2008-01-18 Thread steven at gcc dot gnu dot org
--- Comment #9 from steven at gcc dot gnu dot org 2008-01-18 17:02 --- Does not fail unless -march=sb1 is given. Thus not a regression until proven that older GCCs did not fail with this option. -- steven at gcc dot gnu dot org changed: What|Removed

[Bug preprocessor/34855] Bug 19541 is still not resolved in 4.3.0

2008-01-18 Thread steven at gcc dot gnu dot org
--- Comment #4 from steven at gcc dot gnu dot org 2008-01-18 20:05 --- Patches welcome. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34855

[Bug target/34831] ICE on gcc.dg/pr34233.c for MIPS

2008-01-18 Thread steven at gcc dot gnu dot org
--- Comment #10 from steven at gcc dot gnu dot org 2008-01-18 17:14 --- The problem is IMHO in the div3 define_expand in mips.md: (define_expand "div3" [(set (match_operand:ANYF 0 "register_operand") (div:ANYF (match_operand:ANYF

[Bug middle-end/34400] [4.3 regression] bad interaction between DF and SJLJ exceptions

2008-01-19 Thread steven at gcc dot gnu dot org
--- Comment #55 from steven at gcc dot gnu dot org 2008-01-19 09:41 --- IMHO we can close this one now as fixed. Objections to that, anyone? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34400

[Bug target/34865] valgrind error indication in testsuite from i386.c:merge_classes

2008-01-19 Thread steven at gcc dot gnu dot org
--- Comment #2 from steven at gcc dot gnu dot org 2008-01-19 10:48 --- merge_classes() itself is clear, so the problem must be in the caller. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34865

[Bug middle-end/34884] [4.3 Regression] gfortran.dg/array_constructor_9.f90

2008-01-20 Thread steven at gcc dot gnu dot org
--- Comment #16 from steven at gcc dot gnu dot org 2008-01-20 23:22 --- I favor blowing away the RD patch. Having the LR problem (and probably the LIVE problem too?) always propagate the REG_EQ* notes as if they were real uses sounds like a terrible idea to me. They are not real uses

[Bug tree-optimization/34885] [4.3 Regression] ICE in copy_reference_ops_from_ref, at tree-ssa-sccvn.c:574

2008-01-21 Thread steven at gcc dot gnu dot org
--- Comment #2 from steven at gcc dot gnu dot org 2008-01-21 09:22 --- This is an unhandled expression. A gcc_unreachable() is hit in a switch block. -- steven at gcc dot gnu dot org changed: What|Removed |Added

<    5   6   7   8   9   10   11   12   13   14   >