[Bug target/19566] x86_64 - inconsistent choice of parameter passing method for 16 byte struct

2008-09-26 Thread hubicka at gcc dot gnu dot org
--- Comment #7 from hubicka at gcc dot gnu dot org 2008-09-26 22:56 --- Hi, so to be sure I didn't mess up anything. The following is testcase I use: typedef struct shared_ptr_struct { unsigned long phase:48; unsigned int thread:16; void *addr; } shared_ptr_t;

[Bug middle-end/37448] [4.3 Regression] gcc 4.3.1 cannot compile big function

2008-09-26 Thread hubicka at gcc dot gnu dot org
--- Comment #21 from hubicka at gcc dot gnu dot org 2008-09-26 22:15 --- I've just tested Kenny's df scan ref union patch. We still have over 2.2GB footprint that is not that much different from unpatched compiler. allocpool statistics now give some more useful data: df_sca

[Bug middle-end/37448] [4.3 Regression] gcc 4.3.1 cannot compile big function

2008-09-26 Thread hubicka at gcc dot gnu dot org
--- Comment #20 from hubicka at gcc dot gnu dot org 2008-09-26 21:12 --- The testcase now compiles at -O2 in resonable time. Checking enabled compiler: CFG verifier : 15.02 ( 5%) usr 0.01 ( 0%) sys 15.13 ( 5%) wall 0 kB ( 0%) ggc df reaching defs : 7.57 ( 2

[Bug tree-optimization/14703] [4.4 regression] Inadequate optimization of inline templated functions, infinite loop in ipa-reference and memory hog

2008-09-18 Thread hubicka at gcc dot gnu dot org
--- Comment #15 from hubicka at gcc dot gnu dot org 2008-09-19 06:22 --- The infinite loop in ipa-reference is solved now. Is the sixtrack problem remaining and if so, would be possible to test the proposed patch? We probably could track it as independent PR and close this one. Honza

[Bug middle-end/37448] [4.3 Regression] gcc 4.3.1 cannot compile big function

2008-09-18 Thread hubicka at gcc dot gnu dot org
--- Comment #18 from hubicka at gcc dot gnu dot org 2008-09-18 21:11 --- Hi, some stats on instruction counts and references Kenny asked about: At -O2: [EMAIL PROTECTED]:~/gcc-baseline/build-ada/prev-gcc$ grep "(insn" e.i.157r.outof_cfglayout | wc -l 307811 [EMAIL PROTEC

[Bug middle-end/37448] [4.3 Regression] gcc 4.3.1 cannot compile big function

2008-09-18 Thread hubicka at gcc dot gnu dot org
--- Comment #17 from hubicka at gcc dot gnu dot org 2008-09-18 18:18 --- Subject: Bug 37448 Author: hubicka Date: Thu Sep 18 18:16:45 2008 New Revision: 140465 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140465 Log: PR middle-end/37448 * ipa-ref

[Bug middle-end/37448] [4.3 Regression] gcc 4.3.1 cannot compile big function

2008-09-18 Thread hubicka at gcc dot gnu dot org
--- Comment #16 from hubicka at gcc dot gnu dot org 2008-09-18 17:30 --- Subject: Bug 37448 Author: hubicka Date: Thu Sep 18 17:28:40 2008 New Revision: 140463 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140463 Log: PR middle-end/37448 * ipa-ref

[Bug middle-end/37448] [4.3 Regression] gcc 4.3.1 cannot compile big function

2008-09-18 Thread hubicka at gcc dot gnu dot org
--- Comment #15 from hubicka at gcc dot gnu dot org 2008-09-18 16:49 --- We seem to make nice progress on the testcase ;) Conversion to FUD would probably help here, but looking at the DF dumps, the testcase don't look like your average testcase showing DU/UD chain explosion.

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

2008-09-17 Thread hubicka at gcc dot gnu dot org
--- Comment #37 from hubicka at gcc dot gnu dot org 2008-09-17 15:02 --- Subject: Bug 18071 Author: hubicka Date: Wed Sep 17 15:00:59 2008 New Revision: 140418 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140418 Log: PR c++/18071 * tree.h (DEC

[Bug c++/37057] 7 Internal Compiler Errors when compiling OpenFOAM-1.5

2008-09-14 Thread hubicka at gcc dot gnu dot org
--- Comment #14 from hubicka at gcc dot gnu dot org 2008-09-14 14:31 --- On cross from today tree it seems fine: Starting program: /home/jh/gcc-baseline/build-aix/gcc/cc1plus -O2 *.ii -fpreprocessed -quiet -dumpbase makeChemkinReactions.C -maix32 -auxbase makeChemkinReactions -Wall

[Bug tree-optimization/37392] [4.4 Regression] Segfault in verify_ssa: !gimple_nop_p (stmt)

2008-09-13 Thread hubicka at gcc dot gnu dot org
--- Comment #9 from hubicka at gcc dot gnu dot org 2008-09-13 22:38 --- Fixed by my patch. -- hubicka at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/37511] ice for simple legal C++ code

2008-09-13 Thread hubicka at gcc dot gnu dot org
--- Comment #4 from hubicka at gcc dot gnu dot org 2008-09-13 22:29 --- Yes, it is almost definitly same problem. Honza -- hubicka at gcc dot gnu dot org changed: What|Removed |Added

[Bug bootstrap/36783] Build fails in stagefeedback-bubble make target on IRIX 6.5.30 when compiling insn-attrtab.c

2008-09-13 Thread hubicka at gcc dot gnu dot org
--- Comment #3 from hubicka at gcc dot gnu dot org 2008-09-13 21:42 --- It also might be miscompilation of the first stage. profiledbootstrap is using the stage1 compiler to build all stages and really expect things like 64bit HOST_WIDE_INT. Would be possible to re-try this on current

[Bug middle-end/32581] make profiledbootstrap - stageprofile - gcc/ada/a-except.adb:1301: error: control flow in the middle of basic block 20

2008-09-13 Thread hubicka at gcc dot gnu dot org
--- Comment #11 from hubicka at gcc dot gnu dot org 2008-09-13 21:41 --- Subject: Bug 32581 Author: hubicka Date: Sat Sep 13 21:39:44 2008 New Revision: 140349 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140349 Log: PR middle-end/32581 * tree-p

[Bug middle-end/32581] make profiledbootstrap - stageprofile - gcc/ada/a-except.adb:1301: error: control flow in the middle of basic block 20

2008-09-13 Thread hubicka at gcc dot gnu dot org
--- Comment #10 from hubicka at gcc dot gnu dot org 2008-09-13 21:40 --- Fixed by my patch. -- hubicka at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/37392] [4.4 Regression] Segfault in verify_ssa: !gimple_nop_p (stmt)

2008-09-13 Thread hubicka at gcc dot gnu dot org
--- Comment #8 from hubicka at gcc dot gnu dot org 2008-09-13 14:39 --- Subject: Bug 37392 Author: hubicka Date: Sat Sep 13 14:38:10 2008 New Revision: 140342 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140342 Log: PR tree-optimization/37392 * tree-

[Bug middle-end/37500] [4.4 Regression] libstdc++ failed to compile at -O0

2008-09-13 Thread hubicka at gcc dot gnu dot org
--- Comment #7 from hubicka at gcc dot gnu dot org 2008-09-13 08:01 --- Fixed by my patch. -- hubicka at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/37500] [4.4 Regression] libstdc++ failed to compile at -O0

2008-09-13 Thread hubicka at gcc dot gnu dot org
--- Comment #6 from hubicka at gcc dot gnu dot org 2008-09-13 07:31 --- Subject: Bug 37500 Author: hubicka Date: Sat Sep 13 07:30:15 2008 New Revision: 140334 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140334 Log: PR middle-end/37500 * pt.c (tsubst_d

[Bug tree-optimization/37392] [4.4 Regression] Segfault in verify_ssa: !gimple_nop_p (stmt)

2008-09-12 Thread hubicka at gcc dot gnu dot org
--- Comment #7 from hubicka at gcc dot gnu dot org 2008-09-12 09:52 --- Testing patch.. -- hubicka at gcc dot gnu dot org changed: What|Removed |Added AssignedTo

[Bug tree-optimization/14703] [4.4 regression] Inadequate optimization of inline templated functions, infinite loop in ipa-reference and memory hog

2008-09-12 Thread hubicka at gcc dot gnu dot org
--- Comment #14 from hubicka at gcc dot gnu dot org 2008-09-12 08:39 --- Created an attachment (id=16301) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16301&action=view) patch that should fix the sixtrack problem. This patch should solve the sixtrack problem. Can you

[Bug tree-optimization/14703] [4.4 regression] Inadequate optimization of inline templated functions, infinite loop in ipa-reference and memory hog

2008-09-12 Thread hubicka at gcc dot gnu dot org
--- Comment #13 from hubicka at gcc dot gnu dot org 2008-09-12 08:33 --- Having testcase would be great. In theory removing unused things from debug info should not make any difference. Perhaps it is related to stack frame packing, that is only other place walking blocks. could you

[Bug middle-end/37448] [4.3 Regression] gcc 4.3.1 cannot compile big function

2008-09-11 Thread hubicka at gcc dot gnu dot org
--- Comment #11 from hubicka at gcc dot gnu dot org 2008-09-11 12:40 --- Subject: Bug 37448 Author: hubicka Date: Thu Sep 11 12:38:57 2008 New Revision: 140284 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140284 Log: PR middle-end/37448 *

[Bug middle-end/37448] [4.3 Regression] gcc 4.3.1 cannot compile big function

2008-09-11 Thread hubicka at gcc dot gnu dot org
--- Comment #10 from hubicka at gcc dot gnu dot org 2008-09-11 12:36 --- Subject: Bug 37448 Author: hubicka Date: Thu Sep 11 12:34:53 2008 New Revision: 140281 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140281 Log: PR middle-end/37448 * tree-

[Bug c++/31811] Segmentation fault with profile-arcs

2008-09-10 Thread hubicka at gcc dot gnu dot org
--- Comment #2 from hubicka at gcc dot gnu dot org 2008-09-10 12:14 --- The testcase no longer compiles on mainline for me because of syntax errors. WOuld be possible to test newer compiler or have updated testcase? Honza -- hubicka at gcc dot gnu dot org changed: What

[Bug middle-end/37448] [4.3 Regression] gcc 4.3.1 cannot compile big function

2008-09-10 Thread hubicka at gcc dot gnu dot org
--- Comment #8 from hubicka at gcc dot gnu dot org 2008-09-10 11:39 --- And at -O0 we still need about 2GB (because of dataflow leaks?), otherwise we seem fine compilation time wise garbage collection: 0.92 ( 3%) usr 0.00 ( 0%) sys 0.93 ( 3%) wall 0 kB ( 0%) ggc

[Bug middle-end/37448] [4.3 Regression] gcc 4.3.1 cannot compile big function

2008-09-10 Thread hubicka at gcc dot gnu dot org
--- Comment #7 from hubicka at gcc dot gnu dot org 2008-09-10 11:32 --- #0 0x0099c80d in ira_allocno_live_ranges_intersect_p (a1=0x33da8ae0, a2=0x34395120) at ../../gcc/ira-conflicts.c:535 #1 0x0099ff0e in coalesced_allocno_conflict_p (a1=0x34e221b0, a2=0x33da8ae0

[Bug middle-end/37448] [4.3 Regression] gcc 4.3.1 cannot compile big function

2008-09-10 Thread hubicka at gcc dot gnu dot org
--- Comment #6 from hubicka at gcc dot gnu dot org 2008-09-10 10:02 --- Now we spend eons in walking lexical blocks, since add_lexical_block called by inliner walks till end of the chain. Is the order of blocks important at all? (i.e. we don't insert them to proper place anyway,

[Bug middle-end/37448] [4.3 Regression] gcc 4.3.1 cannot compile big function

2008-09-10 Thread hubicka at gcc dot gnu dot org
--- Comment #5 from hubicka at gcc dot gnu dot org 2008-09-10 09:57 --- With ENABLE_CHECKING we spend ages checking that there are no duplicated edges in callgraph. Will fix it shortly. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37448

[Bug java/37068] [4.4 Regression] libgcj linkage failure: Incorrect library ABI version detected

2008-09-09 Thread hubicka at gcc dot gnu dot org
--- Comment #2 from hubicka at gcc dot gnu dot org 2008-09-09 12:54 --- Quite obviously :( I will need some asistance here as I don't have HP-PA system and don't know much about ISA either. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37068

[Bug middle-end/37356] [4.4 Regression] ICE in gsi_insert_seq_nodes_after, at gimple-iterator.c:222

2008-09-09 Thread hubicka at gcc dot gnu dot org
--- Comment #8 from hubicka at gcc dot gnu dot org 2008-09-09 12:47 --- Created an attachment (id=16263) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16263&action=view) patch in testing OK, I think the problem is that regimplify expect the statement to be already i

[Bug middle-end/37356] [4.4 Regression] ICE in gsi_insert_seq_nodes_after, at gimple-iterator.c:222

2008-09-09 Thread hubicka at gcc dot gnu dot org
--- Comment #7 from hubicka at gcc dot gnu dot org 2008-09-09 12:37 --- Jakub, disabling the regimplification introduced here http://gcc.gnu.org/ml/gcc-patches/2007-11/msg00500.html fixes the testcase. Since you invented the regimplify function, could you take a look, please

[Bug middle-end/37356] [4.4 Regression] ICE in gsi_insert_seq_nodes_after, at gimple-iterator.c:222

2008-09-09 Thread hubicka at gcc dot gnu dot org
--- Comment #6 from hubicka at gcc dot gnu dot org 2008-09-09 12:23 --- This also breaks because of gimple_regimplify_operands Breakpoint 3, gimple_regimplify_operands (stmt=0x2af5b100, gsi_p=0x7fffe3b0) at ../../gcc/gimplify.c:7374 7374 push_gimplify_context (&gctx);

[Bug tree-optimization/14703] [4.4 regression] Inadequate optimization of inline templated functions, infinite loop in ipa-reference and memory hog

2008-09-06 Thread hubicka at gcc dot gnu dot org
--- Comment #11 from hubicka at gcc dot gnu dot org 2008-09-06 20:23 --- The code quality problems are solved. Not closing the bug until IPA-reference is fixed. Honza -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14703

[Bug tree-optimization/14703] [4.4 regression] Inadequate optimization of inline templated functions, infinite loop in ipa-reference and memory hog

2008-09-06 Thread hubicka at gcc dot gnu dot org
--- Comment #10 from hubicka at gcc dot gnu dot org 2008-09-06 17:11 --- Subject: Bug 14703 Author: hubicka Date: Sat Sep 6 17:10:00 2008 New Revision: 140068 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140068 Log: PR tree-optimization/14703 *

[Bug c++/12850] memory consumption for heavy template instantiations tripled since 3.3

2008-09-06 Thread hubicka at gcc dot gnu dot org
--- Comment #45 from hubicka at gcc dot gnu dot org 2008-09-06 14:12 --- Memory footprint in TOP is about 430MB (64bit machine). On current mainline we need 191MB before IPA. Top consumers cfg.c:226 (connect_dest) 598696: 0.2% 180224: 0.5%3484960

[Bug middle-end/17876] Attribute "noinline" should be fully moved into cgraph

2008-09-06 Thread hubicka at gcc dot gnu dot org
--- Comment #4 from hubicka at gcc dot gnu dot org 2008-09-06 13:50 --- The frontend handling was removed in GCC-4.4 by my patches. -- hubicka at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/14703] [4.4 regression] Inadequate optimization of inline templated functions, infinite loop in ipa-reference and memory hog

2008-09-06 Thread hubicka at gcc dot gnu dot org
--- Comment #9 from hubicka at gcc dot gnu dot org 2008-09-06 12:56 --- cp/lex.c:590 (copy_decl) 10176: 0.0% 0: 0.0% 578168: 0.0% 66200: 0.0% 2257 cp/lex.c:510 (build_lang_decl) 161064: 0.1% 73304: 0.0

[Bug tree-optimization/14703] [4.4 regression] Inadequate optimization of inline templated functions, infinite loop in ipa-reference and memory hog

2008-09-06 Thread hubicka at gcc dot gnu dot org
--- Comment #8 from hubicka at gcc dot gnu dot org 2008-09-06 12:37 --- Hi, the following patch fixes inlining problem: Index: passes.c === --- passes.c(revision 139985) +++ passes.c(working copy) @@ -565,6 +565,7

[Bug c/35728] Inlined function via function pointer emitted unnecessarily

2008-09-06 Thread hubicka at gcc dot gnu dot org
--- Comment #2 from hubicka at gcc dot gnu dot org 2008-09-06 12:09 --- We eliminate functions, but we never re-scan program to see if the function has no longer address taken. To implement this we will need to add to cgraph list of functions/variables taking address of each function

[Bug tree-optimization/33761] non-optimal inlining heuristics pessimizes gzip SPEC score at -O3

2008-09-06 Thread hubicka at gcc dot gnu dot org
--- Comment #27 from hubicka at gcc dot gnu dot org 2008-09-06 12:02 --- Also just noticed that offline copy of longest-match get extra move: .L15: movzbl 2(%eax), %edi #, tmp87 leal2(%eax), %ecx #, scan.158 movl%edi, %edx # tmp87

[Bug rtl-optimization/20972] Register allocator/reload uses auto-inc register in non-addressing operand

2008-09-06 Thread hubicka at gcc dot gnu dot org
--- Comment #11 from hubicka at gcc dot gnu dot org 2008-09-06 12:02 --- Also just noticed that offline copy of longest-match get extra move: .L15: movzbl 2(%eax), %edi #, tmp87 leal2(%eax), %ecx #, scan.158 movl%edi, %edx # tmp87

[Bug tree-optimization/33761] non-optimal inlining heuristics pessimizes gzip SPEC score at -O3

2008-09-06 Thread hubicka at gcc dot gnu dot org
--- Comment #26 from hubicka at gcc dot gnu dot org 2008-09-06 12:00 --- IRA seems to fix the remaining problem with spill in internal loop on 32bit nicely, so we produce good scores for gzip compared to older GCC versions. http://gcc.opensuse.org/SPEC-britten/CINT/sandbox-britten

[Bug middle-end/32913] -fprofile-generate/use: Program 24% slower than without

2008-09-06 Thread hubicka at gcc dot gnu dot org
-- hubicka at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |WAITING http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32913

[Bug tree-optimization/36881] [4.4 Regression] Creating runtime relocations for code which does not need it

2008-09-04 Thread hubicka at gcc dot gnu dot org
--- Comment #4 from hubicka at gcc dot gnu dot org 2008-09-04 10:52 --- Ugly -fPIC friendly workaround would be to add runtime initialization. I.E. if (!initialized) {populate my array; initialized = true;} that would still allow conversion to happen and generate better code than

[Bug middle-end/37343] [4.4 Regression] ICE in expand_expr_real_1, at expr.c:7290

2008-09-04 Thread hubicka at gcc dot gnu dot org
--- Comment #6 from hubicka at gcc dot gnu dot org 2008-09-04 10:47 --- Subject: Bug 37343 Author: hubicka Date: Thu Sep 4 10:45:57 2008 New Revision: 139983 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=139983 Log: PR middle-end/37343 * tre

[Bug middle-end/37357] [4.4 Regression] Revision 139772 breaks C++

2008-09-04 Thread hubicka at gcc dot gnu dot org
--- Comment #5 from hubicka at gcc dot gnu dot org 2008-09-04 10:38 --- FIxed. -- hubicka at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug middle-end/37358] [4.4 Regression] IPA-CP generates duplicated symbols at -O3

2008-09-04 Thread hubicka at gcc dot gnu dot org
--- Comment #7 from hubicka at gcc dot gnu dot org 2008-09-04 10:37 --- Fixed by my patch. -- hubicka at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/37345] [4.4 Regression] Segfault in decl_function_context (TYPE_MAIN_VARIANT)

2008-09-04 Thread hubicka at gcc dot gnu dot org
--- Comment #8 from hubicka at gcc dot gnu dot org 2008-09-04 10:37 --- Fixed by my patch -- hubicka at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/37358] [4.4 Regression] IPA-CP generates duplicated symbols at -O3

2008-09-04 Thread hubicka at gcc dot gnu dot org
--- Comment #6 from hubicka at gcc dot gnu dot org 2008-09-04 10:31 --- Subject: Bug 37358 Author: hubicka Date: Thu Sep 4 10:30:26 2008 New Revision: 139980 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=139980 Log: PR tree-optimization/37345

[Bug middle-end/37357] [4.4 Regression] Revision 139772 breaks C++

2008-09-04 Thread hubicka at gcc dot gnu dot org
--- Comment #4 from hubicka at gcc dot gnu dot org 2008-09-04 10:31 --- Subject: Bug 37357 Author: hubicka Date: Thu Sep 4 10:30:26 2008 New Revision: 139980 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=139980 Log: PR tree-optimization/37345

[Bug tree-optimization/37345] [4.4 Regression] Segfault in decl_function_context (TYPE_MAIN_VARIANT)

2008-09-04 Thread hubicka at gcc dot gnu dot org
--- Comment #7 from hubicka at gcc dot gnu dot org 2008-09-04 10:31 --- Subject: Bug 37345 Author: hubicka Date: Thu Sep 4 10:30:26 2008 New Revision: 139980 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=139980 Log: PR tree-optimization/37345

[Bug middle-end/37358] [4.4 Regression] IPA-CP generates duplicated symbols at -O3

2008-09-03 Thread hubicka at gcc dot gnu dot org
--- Comment #3 from hubicka at gcc dot gnu dot org 2008-09-03 19:39 --- I need approval for that :) I've just finished testing and send it to gcc-patches. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37358

[Bug middle-end/37358] [4.4 Regression] IPA-CP generates duplicated symbols at -O3

2008-09-03 Thread hubicka at gcc dot gnu dot org
--- Comment #1 from hubicka at gcc dot gnu dot org 2008-09-03 19:31 --- Probably also fixed by fix for PR37345 (or it does not reproduce for me) -- hubicka at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/37357] [4.4 Regression] Revision 139772 breaks C++

2008-09-03 Thread hubicka at gcc dot gnu dot org
--- Comment #3 from hubicka at gcc dot gnu dot org 2008-09-03 19:29 --- This is fixed by patch for PR tree-optimimization/37345 -- hubicka at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/37315] [4.4 Regression]: gcc.c-torture/execute/931018-1.c int-compare.c ieee/inf-2.c mzero6.c

2008-09-03 Thread hubicka at gcc dot gnu dot org
--- Comment #8 from hubicka at gcc dot gnu dot org 2008-09-03 18:17 --- Subject: Bug 37315 Author: hubicka Date: Wed Sep 3 18:16:26 2008 New Revision: 139945 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=139945 Log: PR tree-optimization/37315 *

[Bug middle-end/32913] -fprofile-generate/use: Program 24% slower than without

2008-09-02 Thread hubicka at gcc dot gnu dot org
--- Comment #1 from hubicka at gcc dot gnu dot org 2008-09-02 18:36 --- I get 0m9.829s for non-profiled run and 0m9.801s for profiled run, so things seems to be in order on mainline. I would be curious if there are still some profile generate/use related regressions on polyhedron

[Bug middle-end/37278] [4.4 Regression] Revision 139760 causes many failures

2008-08-29 Thread hubicka at gcc dot gnu dot org
--- Comment #2 from hubicka at gcc dot gnu dot org 2008-08-29 14:58 --- Subject: Bug 37278 Author: hubicka Date: Fri Aug 29 14:57:20 2008 New Revision: 139768 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=139768 Log: PR middle-end/37278 * p

[Bug target/37094] [4.4 Regression] Ada build broken for i586

2008-08-23 Thread hubicka at gcc dot gnu dot org
--- Comment #6 from hubicka at gcc dot gnu dot org 2008-08-23 20:03 --- Subject: Bug 37094 Author: hubicka Date: Sat Aug 23 20:02:08 2008 New Revision: 139522 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=139522 Log: PR target/37094

[Bug target/37094] [4.4 Regression] Ada build broken for i586

2008-08-21 Thread hubicka at gcc dot gnu dot org
--- Comment #4 from hubicka at gcc dot gnu dot org 2008-08-21 15:13 --- Created an attachment (id=16121) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16121&action=view) Following patch should fix it, I will test it ASAP -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37094

[Bug target/37048] [4.4 Regression] Revision 138835 breaks bootstrap

2008-08-07 Thread hubicka at gcc dot gnu dot org
--- Comment #6 from hubicka at gcc dot gnu dot org 2008-08-07 14:56 --- Subject: Bug 37048 Author: hubicka Date: Thu Aug 7 14:55:32 2008 New Revision: 138841 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=138841 Log: PR target/37048 * i386.md (single

[Bug tree-optimization/36631] [4.3/4.4 Regression] attribute always_inline -> sorry, unimplemented: recursive inlining

2008-07-31 Thread hubicka at gcc dot gnu dot org
--- Comment #2 from hubicka at gcc dot gnu dot org 2008-07-31 14:44 --- Richard, there is one problem that is "yours". We conclude that call is uninlinable due to type missmatch. This should not happen on C++. This gets misdiagnozed as originally recursive inlning was only

[Bug middle-end/36574] [4.4 Regression] build broken with cgraph changes

2008-07-18 Thread hubicka at gcc dot gnu dot org
--- Comment #3 from hubicka at gcc dot gnu dot org 2008-07-18 17:00 --- I believe this is the same issue as for Darwin that was fixed shortly after GCCsummit. I am going to build cross to double check. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36574

[Bug debug/36589] [4.4 Regression]: No debug info for local static variable at -O0

2008-07-16 Thread hubicka at gcc dot gnu dot org
--- Comment #3 from hubicka at gcc dot gnu dot org 2008-07-16 23:14 --- Fix comitted. -- hubicka at gcc dot gnu dot org changed: What|Removed |Added Status

[Bug middle-end/35853] [4.4 Regression] -d is still referenced in some cases (documentation)

2008-06-15 Thread hubicka at gcc dot gnu dot org
--- Comment #3 from hubicka at gcc dot gnu dot org 2008-06-15 22:49 --- Patch posted. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35853

[Bug tree-optimization/36118] [4.4 Regressions] inline-related regressions

2008-05-06 Thread hubicka at gcc dot gnu dot org
--- Comment #2 from hubicka at gcc dot gnu dot org 2008-05-06 08:00 --- Subject: Bug 36118 Author: hubicka Date: Tue May 6 07:59:54 2008 New Revision: 134975 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=134975 Log: PR tree-optimization/36118 *

[Bug bootstrap/36102] [4.4 Regression] internal compiler error: verify_cgraph_node failed

2008-05-02 Thread hubicka at gcc dot gnu dot org
--- Comment #6 from hubicka at gcc dot gnu dot org 2008-05-02 13:06 --- I believe those issues are fixed now. Can someone please confirm it? (I've managed to swap two versions of patches and commit development version of it) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36102

[Bug tree-optimization/36100] [4.4 Regression] always_inline attribute is broken at -O0

2008-05-02 Thread hubicka at gcc dot gnu dot org
--- Comment #3 from hubicka at gcc dot gnu dot org 2008-05-02 11:09 --- Subject: Bug 36100 Author: hubicka Date: Fri May 2 11:08:22 2008 New Revision: 134885 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=134885 Log: PR bootstrap/36100 * ipa-

[Bug target/27234] no way to stop gcc from mucking with the incoming argument stack on ia32

2008-04-29 Thread hubicka at gcc dot gnu dot org
--- Comment #20 from hubicka at gcc dot gnu dot org 2008-04-29 15:40 --- Created an attachment (id=15546) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15546&action=view) New patch Hi, this patch implements idea of having temporary read-only register with REG_EQUIV no

[Bug testsuite/35843] [4.4 Regression]: -fdump-rtl-expand does not exist anymore

2008-04-25 Thread hubicka at gcc dot gnu dot org
--- Comment #9 from hubicka at gcc dot gnu dot org 2008-04-25 23:15 --- Subject: Bug 35843 Author: hubicka Date: Fri Apr 25 23:14:40 2008 New Revision: 134682 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=134682 Log: PR testsuite/35843 * cfg

[Bug target/27234] no way to stop gcc from mucking with the incoming argument stack on ia32

2008-04-24 Thread hubicka at gcc dot gnu dot org
--- Comment #19 from hubicka at gcc dot gnu dot org 2008-04-24 16:05 --- I am going to make patch that will with preserve-stack attribute in addition to inhibitting libcall also put REG_EQUIV notes on a copy instead of argument register itself that should be sufficient to prevent

[Bug middle-end/35781] [4.4 Regression]: Revision 133759 breaks ia64

2008-04-01 Thread hubicka at gcc dot gnu dot org
--- Comment #5 from hubicka at gcc dot gnu dot org 2008-04-01 08:41 --- Subject: Bug 35781 Author: hubicka Date: Tue Apr 1 08:41:14 2008 New Revision: 133786 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133786 Log: PR middle-end/35781 * m3

[Bug other/35094] RTL dump file letters hosed and partly undocumented

2008-03-19 Thread hubicka at gcc dot gnu dot org
--- Comment #5 from hubicka at gcc dot gnu dot org 2008-03-19 14:25 --- Dump letters removed. -- hubicka at gcc dot gnu dot org changed: What|Removed |Added

[Bug other/35094] RTL dump file letters hosed and partly undocumented

2008-03-19 Thread hubicka at gcc dot gnu dot org
--- Comment #4 from hubicka at gcc dot gnu dot org 2008-03-19 11:23 --- Subject: Bug 35094 Author: hubicka Date: Wed Mar 19 11:22:40 2008 New Revision: 133342 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133342 Log: * gcc.dg/20050811-2.c: Update dumpi

[Bug c++/35262] [4.4 Regression]: FAIL: abi_check

2008-03-03 Thread hubicka at gcc dot gnu dot org
--- Comment #11 from hubicka at gcc dot gnu dot org 2008-03-03 16:21 --- Subject: Bug 35262 Author: hubicka Date: Mon Mar 3 16:20:31 2008 New Revision: 132838 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132838 Log: PR c++/35262 * ipa-

[Bug c++/35262] [4.4 Regression]: FAIL: abi_check

2008-03-03 Thread hubicka at gcc dot gnu dot org
--- Comment #12 from hubicka at gcc dot gnu dot org 2008-03-03 16:23 --- Fixed. -- hubicka at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug target/35271] Stack not aligned at mod 16 byte boundary in x86_64 code

2008-02-26 Thread hubicka at gcc dot gnu dot org
--- Comment #23 from hubicka at gcc dot gnu dot org 2008-02-26 09:31 --- I guess we need 1) Get the patch to check overwritability of body to mainline and branch, since it is quite wrong to optimize based on knowledge of body that might be replaced 2) Figure out how to get Apple&#

[Bug target/35271] Stack not aligned at mod 16 byte boundary in x86_64 code

2008-02-23 Thread hubicka at gcc dot gnu dot org
--- Comment #15 from hubicka at gcc dot gnu dot org 2008-02-23 18:10 --- Still, can I ask how does the PLT entry of Darwin look like? It seems a bit weird that recursive call that should not trigger lazy binding will get into code relying on the alignment. Or are some kind of aliases

[Bug target/35271] Stack not aligned at mod 16 byte boundary in x86_64 code

2008-02-23 Thread hubicka at gcc dot gnu dot org
--- Comment #14 from hubicka at gcc dot gnu dot org 2008-02-23 18:05 --- I see. It is quite pity that Darwin's dynamic linker insist on the alignment. I guess it would be worthwhile to try to tell GCC to optimize those calls as local: calling overhead of recursive functions is

[Bug target/35271] Stack not aligned at mod 16 byte boundary in x86_64 code

2008-02-23 Thread hubicka at gcc dot gnu dot org
--- Comment #10 from hubicka at gcc dot gnu dot org 2008-02-23 12:57 --- Hi, as I added to the gcc-patches thread, I think GCC is valid to optimize stack alignment on the reduced testcase and it is precisely what is supposed to be done by the code Michael disabled. ABI is not strict

[Bug rtl-optimization/34408] Invalid RTL sharing with -fsee and inline functions

2008-02-19 Thread hubicka at gcc dot gnu dot org
--- Comment #7 from hubicka at gcc dot gnu dot org 2008-02-19 17:11 --- Subject: Bug 34408 Author: hubicka Date: Tue Feb 19 17:11:12 2008 New Revision: 132440 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132440 Log: PR rtl-optimization/34408

[Bug middle-end/28779] internal compiler error: in cgraph_estimate_size_after_inlining, at ipa-inline.c:106

2008-02-19 Thread hubicka at gcc dot gnu dot org
--- Comment #14 from hubicka at gcc dot gnu dot org 2008-02-19 17:10 --- Subject: Bug 28779 Author: hubicka Date: Tue Feb 19 17:09:42 2008 New Revision: 132439 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132439 Log: PR middle-end/28779 * tree-

[Bug middle-end/28779] internal compiler error: in cgraph_estimate_size_after_inlining, at ipa-inline.c:106

2008-02-17 Thread hubicka at gcc dot gnu dot org
--- Comment #13 from hubicka at gcc dot gnu dot org 2008-02-17 20:32 --- Patch posted. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28779

[Bug c++/32089] Winline reports bogus warning

2008-02-17 Thread hubicka at gcc dot gnu dot org
--- Comment #6 from hubicka at gcc dot gnu dot org 2008-02-17 19:45 --- OK, I am switching it to new again ;) However the warning really means that GCC decided to not inline the function because it thinks it is not profitable because it concluded that the call is infrequent. Perhaps

[Bug c/32511] GCC inlines weak function

2008-02-17 Thread hubicka at gcc dot gnu dot org
--- Comment #2 from hubicka at gcc dot gnu dot org 2008-02-17 19:37 --- I think this is feature. If users explicitely declares as inline, then we do that, otherwise we doesn't: /* Don't auto-inline anything that might not be bound within this unit of translation. */

[Bug rtl-optimization/34408] Invalid RTL sharing with -fsee and inline functions

2008-02-17 Thread hubicka at gcc dot gnu dot org
--- Comment #6 from hubicka at gcc dot gnu dot org 2008-02-17 19:30 --- Path posted. -- hubicka at gcc dot gnu dot org changed: What|Removed |Added AssignedTo

[Bug middle-end/17876] Attribute "noinline" should be fully moved into cgraph

2008-02-17 Thread hubicka at gcc dot gnu dot org
--- Comment #3 from hubicka at gcc dot gnu dot org 2008-02-17 18:37 --- Since 4.3, noinline is now handled completely by cgraph as inlining decisions goes. C and C++ still have duplicated logic on merging declarations, but I am not duplicate_decl expert, so I am leaving this last bit to

[Bug c++/35182] [4.2/4.3 Regression] ICE in coalesce_abnormal_edges

2008-02-15 Thread hubicka at gcc dot gnu dot org
--- Comment #10 from hubicka at gcc dot gnu dot org 2008-02-15 11:55 --- Seems like it. After fwprop1 iter_1 and iter_7 conflict: D.2095_6 = &iter_1(ab)->D.2086; iter_7(ab) = iter_1(ab) + 8; __comp_ctor (&D.2138, D.2094_5); # SUCC: 4 [100.0%] (fallthru,exec) 5

[Bug middle-end/35149] [4.3 Regression] ICE: in expand_call_inline, at tree-inline.c:2653

2008-02-15 Thread hubicka at gcc dot gnu dot org
--- Comment #10 from hubicka at gcc dot gnu dot org 2008-02-15 11:16 --- Subject: Bug 35149 Author: hubicka Date: Fri Feb 15 11:15:48 2008 New Revision: 132337 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132337 Log: PR middle-end/35149

[Bug middle-end/35149] [4.3 Regression] ICE: in expand_call_inline, at tree-inline.c:2653

2008-02-15 Thread hubicka at gcc dot gnu dot org
--- Comment #9 from hubicka at gcc dot gnu dot org 2008-02-15 11:15 --- Fixed by my patch. -- hubicka at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/35182] [4.2/4.3 Regression] ICE in coalesce_abnormal_edges

2008-02-14 Thread hubicka at gcc dot gnu dot org
--- Comment #6 from hubicka at gcc dot gnu dot org 2008-02-14 15:54 --- I am going to take a look. Where we split the edge? Honza -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35182

[Bug tree-optimization/33763] [4.1/4.2/4.3 Regression] Bogus inlining failed in call to `xxx': redefined extern inline functions are not considered for inlining

2008-02-13 Thread hubicka at gcc dot gnu dot org
--- Comment #11 from hubicka at gcc dot gnu dot org 2008-02-13 18:15 --- I must say that I don't see it that safe: we can't clone the functions because at the time fronend decide to rewrite the body by new one we are not having functions gimplified yet. (well we can clone, b

[Bug middle-end/35149] [4.3 Regression] ICE: in expand_call_inline, at tree-inline.c:2653

2008-02-13 Thread hubicka at gcc dot gnu dot org
--- Comment #7 from hubicka at gcc dot gnu dot org 2008-02-13 17:29 --- This one liner actually took me a while. It is quite ugly ordering issue. Index: ipa.c === --- ipa.c (revision 132243) +++ ipa.c (working

[Bug middle-end/35149] [4.3 Regression] ICE: in expand_call_inline, at tree-inline.c:2653

2008-02-13 Thread hubicka at gcc dot gnu dot org
--- Comment #6 from hubicka at gcc dot gnu dot org 2008-02-13 13:26 --- I am looking into it. Obviously cgraph is out of sync for whatever reason. Honza -- hubicka at gcc dot gnu dot org changed: What|Removed |Added

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

2008-02-11 Thread hubicka at gcc dot gnu dot org
--- Comment #30 from hubicka at gcc dot gnu dot org 2008-02-11 09:23 --- On britten there is also no noticeable effect on SPECfp score. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23322

[Bug tree-optimization/33761] non-optimal inlining heuristics pessimizes gzip SPEC score at -O3

2008-02-08 Thread hubicka at gcc dot gnu dot org
--- Comment #25 from hubicka at gcc dot gnu dot org 2008-02-08 15:39 --- -fno-tree-dominator-opts -fno-tree-copyrename solves the coalescing problem (name is introduced by second, the actual problematic pattern by first pass), saving roughly 1s at both -O2 and 2s at -O3, -O3 is still

[Bug tree-optimization/33761] non-optimal inlining heuristics pessimizes gzip SPEC score at -O3

2008-02-08 Thread hubicka at gcc dot gnu dot org
--- Comment #24 from hubicka at gcc dot gnu dot org 2008-02-08 15:11 --- Hi, the tonight runs with continue heuristics shows again improvements on 64bit scores , but degradation on 32bit scores. Looking into the loop, the real trouble seems to be that the main loop has 6 loop carried

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

2008-02-08 Thread hubicka at gcc dot gnu dot org
--- Comment #29 from hubicka at gcc dot gnu dot org 2008-02-08 14:54 --- Hi, tonight results from Haydn shows 32bit scores with the loop-invariant hack disabled. http://www.suse.de/~gcctest/SPEC/CFP/sb-haydn-head-64-32o-32bit/index.html There are no off noise speedups though I must

[Bug rtl-optimization/31704] x86_64 poor floating point register allocation across function call

2008-02-07 Thread hubicka at gcc dot gnu dot org
--- Comment #1 from hubicka at gcc dot gnu dot org 2008-02-07 16:36 --- This is fixed by the call frequency patch on mainline. .L2: cvtsi2ss(%ebx,%eax,4), %xmm0 addl$1, %eax cmpl$1000, %eax mulss %xmm2, %xmm0 addss %xmm0, %xmm1

[Bug tree-optimization/33761] non-optimal inlining heuristics pessimizes gzip SPEC score at -O3

2008-02-07 Thread hubicka at gcc dot gnu dot org
--- Comment #23 from hubicka at gcc dot gnu dot org 2008-02-07 12:30 --- Created an attachment (id=15115) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15115&action=view) Annotated profile I am attaching dump with profile read in. It shows the hot spots in longest_m

[Bug tree-optimization/33761] non-optimal inlining heuristics pessimizes gzip SPEC score at -O3

2008-02-06 Thread hubicka at gcc dot gnu dot org
--- Comment #22 from hubicka at gcc dot gnu dot org 2008-02-06 19:22 --- Yes, there are number of unlucky variables. However the real source is here seems to be always wrong profile guiding regalloc to optimize for cold portions of the function rather than real increase of register

<    1   2   3   4   5   6   7   >