[Bug middle-end/45712] [4.6 Regression] Segmentation violation when compiling spec source on either x86 or ppc with debugging

2010-09-21 Thread hubicka at gcc dot gnu dot org
--- Comment #6 from hubicka at gcc dot gnu dot org 2010-09-21 10:29 --- this should be fixed by patch introducing static_object_in_other_unit_p. However it seems bit strange that we can get into VAR_DECL not in a varpool by folding. I know this is possible for vtables and type infos

[Bug tree-optimization/45580] [4.6 Regression] Building WebKit fails with compiler catching SIGSEGV in gimple_fold_obj_type_ref_known_binfo()

2010-09-20 Thread hubicka at gcc dot gnu dot org
--- Comment #14 from hubicka at gcc dot gnu dot org 2010-09-20 14:26 --- The fact that C++ vtables are weak or external should no longer bother us with const_decl_known flag. The problem is that array constructor provided by C++ frontend don't have explicit indexes and thus current

[Bug c++/45605] Missed devirtualization

2010-09-20 Thread hubicka at gcc dot gnu dot org
--- Comment #20 from hubicka at gcc dot gnu dot org 2010-09-20 15:48 --- Subject: Bug 45605 Author: hubicka Date: Mon Sep 20 15:48:42 2010 New Revision: 164438 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=164438 Log: PR tree-optimize/45605 * cgraph.h

[Bug c++/45605] Missed devirtualization

2010-09-20 Thread hubicka at gcc dot gnu dot org
--- Comment #21 from hubicka at gcc dot gnu dot org 2010-09-20 15:53 --- OK, we now fold the testcase using obj_type_ref folding. We still should do it via vtable lookup and we don't but that is for other PR I guess. -- hubicka at gcc dot gnu dot org changed: What

[Bug lto/44246] ICE with -fwhopr/-flto when using strlen and strcat without previous declaration

2010-09-19 Thread hubicka at gcc dot gnu dot org
--- Comment #8 from hubicka at gcc dot gnu dot org 2010-09-19 21:49 --- Subject: Bug 44246 Author: hubicka Date: Sun Sep 19 21:49:28 2010 New Revision: 164425 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=164425 Log: PR lto/44246 * lto-cgraph.c (input_cgraph_1

[Bug lto/44246] ICE with -fwhopr/-flto when using strlen and strcat without previous declaration

2010-09-19 Thread hubicka at gcc dot gnu dot org
--- Comment #9 from hubicka at gcc dot gnu dot org 2010-09-19 21:57 --- Fixed. -- hubicka at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug c++/45605] Missed devirtualization

2010-09-18 Thread hubicka at gcc dot gnu dot org
--- Comment #19 from hubicka at gcc dot gnu dot org 2010-09-18 21:25 --- Subject: Bug 45605 Author: hubicka Date: Sat Sep 18 21:25:29 2010 New Revision: 164402 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=164402 Log: PR tree-optimization/45605 * cgraphunit.c

[Bug tree-optimization/45453] [4.6 Regression] ICE: verify_cgraph_node failed: inlined_to pointer set for noninline callers with -O2 -fno-early-inlining

2010-09-18 Thread hubicka at gcc dot gnu dot org
--- Comment #5 from hubicka at gcc dot gnu dot org 2010-09-18 23:13 --- Subject: Bug 45453 Author: hubicka Date: Sat Sep 18 23:13:17 2010 New Revision: 164405 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=164405 Log: PR tree-optimization/45453 * cgraphunit.c

[Bug tree-optimization/45453] [4.6 Regression] ICE: verify_cgraph_node failed: inlined_to pointer set for noninline callers with -O2 -fno-early-inlining

2010-09-18 Thread hubicka at gcc dot gnu dot org
--- Comment #6 from hubicka at gcc dot gnu dot org 2010-09-18 23:13 --- Fixed. -- hubicka at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug tree-optimization/26850] unused function not eliminated with -fwhole-program --combine

2010-09-17 Thread hubicka at gcc dot gnu dot org
--- Comment #5 from hubicka at gcc dot gnu dot org 2010-09-17 11:09 --- Well, this is still something we should solve at LTO. Indirect inlining should take away references that are fully resolved so function becomes unreachable. Honza -- http://gcc.gnu.org/bugzilla/show_bug.cgi

[Bug rtl-optimization/45621] [4.6 Regression] ICE: verify_cgraph_node failed: inlined_to pointer is set but no predecessors found with -fipa-cp-clone -flto

2010-09-17 Thread hubicka at gcc dot gnu dot org
--- Comment #4 from hubicka at gcc dot gnu dot org 2010-09-17 12:17 --- Created an attachment (id=21818) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21818action=view) proposed patch -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45621

[Bug lto/44246] ICE with -fwhopr/-flto when using strlen and strcat without previous declaration

2010-09-17 Thread hubicka at gcc dot gnu dot org
--- Comment #2 from hubicka at gcc dot gnu dot org 2010-09-17 12:19 --- seems like streamer bug. We should not ever see any comdat groups here. -- hubicka at gcc dot gnu dot org changed: What|Removed |Added

[Bug lto/44246] ICE with -fwhopr/-flto when using strlen and strcat without previous declaration

2010-09-17 Thread hubicka at gcc dot gnu dot org
--- Comment #4 from hubicka at gcc dot gnu dot org 2010-09-17 13:13 --- OK, the problem is that we stream two cgraph nodes. One for strlen function and other for __bulitin_strlen. Decl of __bulitin_strlen have same asm name as strlen: (gdb) p debug_tree (node-decl) function_decl

[Bug lto/45375] [meta-bug] Mozilla does not build with LTO

2010-09-16 Thread hubicka at gcc dot gnu dot org
--- Comment #6 from hubicka at gcc dot gnu dot org 2010-09-16 12:09 --- PR 45679 also reproduce during -O3 build. I am testing patch for it now. -- hubicka at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/45605] Missed devirtualization

2010-09-16 Thread hubicka at gcc dot gnu dot org
--- Comment #11 from hubicka at gcc dot gnu dot org 2010-09-16 12:25 --- Hmm, so do you have any idea where folding should be added for this particular case? It always seemed to me that it would make sense to add verifier that all statements are folded (locally, not by looking at SSA

[Bug tree-optimization/45453] [4.6 Regression] ICE: verify_cgraph_node failed: inlined_to pointer set for noninline callers with -O2 -fno-early-inlining

2010-09-16 Thread hubicka at gcc dot gnu dot org
--- Comment #3 from hubicka at gcc dot gnu dot org 2010-09-16 17:36 --- Hmm, the problem is that foo is virtual self recursive function. We inline it and then indirect inlining decide that it can devirtualize the self recursive call since it knows the operand has proper type

[Bug lto/45194] lto1: internal compiler error: in lto_varpool_replace_node, at lto-symtab.c:292

2010-09-16 Thread hubicka at gcc dot gnu dot org
--- Comment #4 from hubicka at gcc dot gnu dot org 2010-09-17 00:27 --- Hmm, so actually it is really difference in gold. System gold on evans is GNU gold (GNU Binutils; SUSE Linux Enterprise 11 2.20.0.20100122-0.7.9) 1. while one I use is GNU gold (GNU Binutils 2.20.51.20100706) 1.9

[Bug lto/45375] [meta-bug] Mozilla does not build with LTO

2010-09-16 Thread hubicka at gcc dot gnu dot org
--- Comment #7 from hubicka at gcc dot gnu dot org 2010-09-17 00:28 --- Gold shipped with SLES: GNU gold (GNU Binutils; SUSE Linux Enterprise 11 2.20.0.20100122-0.7.9) 1. is known to have problems leading to PR45194 The following version: GNU gold (GNU Binutils 2.20.51.20100706) 1.9

[Bug lto/45679] ICE at lto1: error: edge points to wrong declaration while compiling povray

2010-09-16 Thread hubicka at gcc dot gnu dot org
--- Comment #3 from hubicka at gcc dot gnu dot org 2010-09-17 00:32 --- Fixed. -- hubicka at gcc dot gnu dot org changed: What|Removed |Added Status

[Bug rtl-optimization/45621] [4.6 Regression] ICE: verify_cgraph_node failed: inlined_to pointer is set but no predecessors found with -fipa-cp-clone -flto

2010-09-16 Thread hubicka at gcc dot gnu dot org
--- Comment #2 from hubicka at gcc dot gnu dot org 2010-09-17 01:05 --- OK, problem is that we both devirtualize and clone the destination function. Then when producing clone, we run into: cgraph_update_edges_for_call_stmt_node (struct cgraph_node *node

[Bug rtl-optimization/45621] [4.6 Regression] ICE: verify_cgraph_node failed: inlined_to pointer is set but no predecessors found with -fipa-cp-clone -flto

2010-09-16 Thread hubicka at gcc dot gnu dot org
--- Comment #3 from hubicka at gcc dot gnu dot org 2010-09-17 01:07 --- testing patch. -- hubicka at gcc dot gnu dot org changed: What|Removed |Added AssignedTo

[Bug tree-optimization/45453] [4.6 Regression] ICE: verify_cgraph_node failed: inlined_to pointer set for noninline callers with -O2 -fno-early-inlining

2010-09-16 Thread hubicka at gcc dot gnu dot org
--- Comment #4 from hubicka at gcc dot gnu dot org 2010-09-17 01:09 --- patch posted. -- hubicka at gcc dot gnu dot org changed: What|Removed |Added AssignedTo

[Bug lto/45679] New: ICE at lto1: error: edge points to wrong declaration while compiling povray

2010-09-15 Thread hubicka at gcc dot gnu dot org
Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hubicka at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45679

[Bug lto/45679] ICE at lto1: error: edge points to wrong declaration while compiling povray

2010-09-15 Thread hubicka at gcc dot gnu dot org
--- Comment #1 from hubicka at gcc dot gnu dot org 2010-09-15 15:16 --- Created an attachment (id=21802) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21802action=view) first part of testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45679

[Bug lto/45679] ICE at lto1: error: edge points to wrong declaration while compiling povray

2010-09-15 Thread hubicka at gcc dot gnu dot org
--- Comment #2 from hubicka at gcc dot gnu dot org 2010-09-15 15:17 --- Created an attachment (id=21803) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21803action=view) second part of testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45679

[Bug c++/45635] [4.6 regression] Failed to bootstrap on Linux/ia64

2010-09-14 Thread hubicka at gcc dot gnu dot org
--- Comment #6 from hubicka at gcc dot gnu dot org 2010-09-14 16:13 --- Created an attachment (id=21793) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21793action=view) Proposed patch Hi, this patch should solve the problem (dive into ADDR_EXPR to get actual fndecl).I no longer

[Bug c++/45605] Missed devirtualization

2010-09-10 Thread hubicka at gcc dot gnu dot org
--- Comment #6 from hubicka at gcc dot gnu dot org 2010-09-10 09:42 --- Subject: Bug 45605 Author: hubicka Date: Fri Sep 10 09:42:20 2010 New Revision: 164148 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=164148 Log: PR tree-optimization/45605 * cp/class.c

[Bug c++/45635] [4.6 regression] Failed to bootstrap on Linux/ia64

2010-09-10 Thread hubicka at gcc dot gnu dot org
--- Comment #2 from hubicka at gcc dot gnu dot org 2010-09-10 17:14 --- Hi, would be possible to have preprocessed source for a cross compiler? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45635

[Bug c++/45605] Missed devirtualization

2010-09-09 Thread hubicka at gcc dot gnu dot org
--- Comment #3 from hubicka at gcc dot gnu dot org 2010-09-09 11:02 --- Hmm, is it? C equivalent IMO is: int a(void); typedef void (*ptr) (void); static const ptr array[1]={(ptr)a}; ptr t; main() { t=array[0]; } Here we have ctor represented as follows: nop_expr 0x76b53f30

[Bug c++/19816] C++ front-end produces a cast instead of just a.b (empty base class)

2010-09-09 Thread hubicka at gcc dot gnu dot org
--- Comment #2 from hubicka at gcc dot gnu dot org 2010-09-09 11:05 --- Hmm, my system compiles (4.3.2) gets: _Z1fv: .LFB2: subq$24, %rsp .LCFI0: leaq23(%rsp), %rdi call_ZN4baseC2Ev addq$24, %rsp ret .LFE2: this seems OK to me

[Bug c++/45605] Missed devirtualization

2010-09-09 Thread hubicka at gcc dot gnu dot org
--- Comment #4 from hubicka at gcc dot gnu dot org 2010-09-09 11:33 --- testing the following fix: Index: class.c === --- class.c (revision 163947) +++ class.c (working copy) @@ -7797,7 +7797,7

[Bug c++/45605] Missed devirtualization

2010-09-09 Thread hubicka at gcc dot gnu dot org
--- Comment #5 from hubicka at gcc dot gnu dot org 2010-09-09 11:36 --- Created an attachment (id=21750) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21750action=view) WIP patch. Still misses some of Richi's earlier comments. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id

[Bug fortran/44334] rnflow.f90 ~27% slower with -fwhole-program -flto after revision 159852

2010-09-08 Thread hubicka at gcc dot gnu dot org
--- Comment #10 from hubicka at gcc dot gnu dot org 2010-09-08 21:04 --- So hot-bb-frequency-fraction solves the whole regression? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44334

[Bug c++/45605] New: Missed devirtualization

2010-09-08 Thread hubicka at gcc dot gnu dot org
Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hubicka at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45605

[Bug tree-optimization/45522] VRP misses oppurtunity for statement folding.

2010-09-04 Thread hubicka at gcc dot gnu dot org
--- Comment #9 from hubicka at gcc dot gnu dot org 2010-09-04 13:51 --- Hi, thanks. In meantime I made tree-ssa-pre to fold statements it produces and it gets me to bootstrapland with sanity check in expr.c except for Ada (with the patches I sent so far) So it seems that I need

[Bug tree-optimization/45522] VRP misses oppurtunity for statement folding.

2010-09-04 Thread hubicka at gcc dot gnu dot org
--- Comment #11 from hubicka at gcc dot gnu dot org 2010-09-04 18:00 --- Created an attachment (id=21700) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21700action=view) proposed fix for sccvn Well, this is patch I am currently testing. At least small part is shared in between

[Bug lto/45375] [meta-bug] Mozilla does not build with LTO

2010-09-04 Thread hubicka at gcc dot gnu dot org
--- Comment #5 from hubicka at gcc dot gnu dot org 2010-09-04 20:39 --- Oprofile of WHOPR build. It is quite suprrising how low the usual cpu hogs shows.. 1139097.6329 lto1 lto1 htab_find_slot_with_hash 42787 2.8671 libc-2.11.1.so

[Bug lto/44812] m32 lto produces non-relocatable subtraction expression errors

2010-09-03 Thread hubicka at gcc dot gnu dot org
--- Comment #32 from hubicka at gcc dot gnu dot org 2010-09-03 12:26 --- Subject: Bug 44812 Author: hubicka Date: Fri Sep 3 12:26:24 2010 New Revision: 163811 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=163811 Log: PR lto/44812 * lto-cgraph.c (intput_node

[Bug tree-optimization/45522] New: VRP misses oppurtunity for statement folding.

2010-09-03 Thread hubicka at gcc dot gnu dot org
AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hubicka at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45522

[Bug tree-optimization/45522] VRP misses oppurtunity for statement folding.

2010-09-03 Thread hubicka at gcc dot gnu dot org
--- Comment #1 from hubicka at gcc dot gnu dot org 2010-09-03 15:59 --- Created an attachment (id=21684) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21684action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45522

[Bug tree-optimization/45522] VRP misses oppurtunity for statement folding.

2010-09-03 Thread hubicka at gcc dot gnu dot org
--- Comment #2 from hubicka at gcc dot gnu dot org 2010-09-03 16:33 --- OK, the problem seems to be that fold_stmt seems to make no serious attempt to fold constant references. There is some code in maybe_fold_reference that seems to partly duplicate fold_const_aggregate_ref however

[Bug tree-optimization/45522] VRP misses oppurtunity for statement folding.

2010-09-03 Thread hubicka at gcc dot gnu dot org
--- Comment #3 from hubicka at gcc dot gnu dot org 2010-09-03 16:34 --- Created an attachment (id=21685) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21685action=view) patch for better folding -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45522

[Bug tree-optimization/45522] VRP misses oppurtunity for statement folding.

2010-09-03 Thread hubicka at gcc dot gnu dot org
--- Comment #4 from hubicka at gcc dot gnu dot org 2010-09-03 20:04 --- A related testcase where we fail to fold fundamentals[0] typedef union tree_node *tree; enum tree_code { OFFSET_TYPE, ENUMERAL_TYPE, BOOLEAN_TYPE, POINTER_TYPE, FIXED_POINT_TYPE, }; struct tree_base { unsigned

[Bug tree-optimization/45522] VRP misses oppurtunity for statement folding.

2010-09-03 Thread hubicka at gcc dot gnu dot org
--- Comment #5 from hubicka at gcc dot gnu dot org 2010-09-03 20:09 --- And here we fail to fold messages[1] created by PRE enum { ERROR_OK, ERROR_UNKNOWN, ERROR_NUM }; enum { __LC_CTYPE = 0, __LC_NUMERIC = 1, __LC_TIME = 2, __LC_COLLATE = 3, __LC_MONETARY = 4, __LC_MESSAGES

[Bug tree-optimization/45522] VRP misses oppurtunity for statement folding.

2010-09-03 Thread hubicka at gcc dot gnu dot org
--- Comment #6 from hubicka at gcc dot gnu dot org 2010-09-03 20:12 --- In testcase from comment #4 the problem is that value in DECL_INITIAL is not in the form acceptable for gimple_min_invariant. Have patch. In testcase from comment #5 we never try to fold it. -- http

[Bug tree-optimization/45522] VRP misses oppurtunity for statement folding.

2010-09-03 Thread hubicka at gcc dot gnu dot org
--- Comment #7 from hubicka at gcc dot gnu dot org 2010-09-03 20:28 --- In #5 the expression is created by PRE via create_expression_by_pieces that uses normal fold that is not able of constant variable folding. The statement does not get folded later and survives. I guess one can fold

[Bug middle-end/45388] [4.6 Regression] Global constructor not found

2010-08-24 Thread hubicka at gcc dot gnu dot org
--- Comment #2 from hubicka at gcc dot gnu dot org 2010-08-24 12:12 --- Is there another consturctor calling this one? (or can you attach complette .s file?) Perhaps it is result of my constructor merging patch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45388

[Bug lto/44812] m32 lto produces non-relocatable subtraction expression errors

2010-08-24 Thread hubicka at gcc dot gnu dot org
--- Comment #5 from hubicka at gcc dot gnu dot org 2010-08-24 13:01 --- Hmm, the problem seems to be that partitioning puts mumble into one partition, while in first partition it uses local (IP) relative way to access it: movl_mumble-L001$pb(%ebx), %eax and assembler refuse

[Bug lto/44812] m32 lto produces non-relocatable subtraction expression errors

2010-08-24 Thread hubicka at gcc dot gnu dot org
--- Comment #8 from hubicka at gcc dot gnu dot org 2010-08-24 13:44 --- the following testcase: __attribute__((visibility (hidden))) extern int mumble; extern void abort (void); extern void exit (int); int main () { if (++mumble != 42) abort (); exit (0); } should compile

[Bug c/45152] LTO breaks C99 inline

2010-08-22 Thread hubicka at gcc dot gnu dot org
--- Comment #2 from hubicka at gcc dot gnu dot org 2010-08-22 07:38 --- This is because C frontend implements this by calling cgraph_mark_node_if_needed and the function ends up not being needed for LTO or whole program. This is a hack, since even if I make things needed, whole program

[Bug lto/45194] lto1: internal compiler error: in lto_varpool_replace_node, at lto-symtab.c:292

2010-08-22 Thread hubicka at gcc dot gnu dot org
--- Comment #2 from hubicka at gcc dot gnu dot org 2010-08-22 09:15 --- It works for me on clean tree at today mainline. + ../xgcc -B .. -fPIC -fno-exceptions -fwhopr=24 -fuse-linker-plugin -fno-strict-aliasing -pthread -pipe -Os -freorder-blocks -fno-reorder-functions -fomit-frame

[Bug lto/45375] New: Mozilla does not build with LTO

2010-08-22 Thread hubicka at gcc dot gnu dot org
dot org ReportedBy: hubicka at gcc dot gnu dot org GCC target triplet: x86_64-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45375

[Bug lto/45375] Mozilla does not build with LTO

2010-08-22 Thread hubicka at gcc dot gnu dot org
--- Comment #1 from hubicka at gcc dot gnu dot org 2010-08-22 12:39 --- Quick summary :) 1) -g build is currently broken because of dwarf2out recursion. 2) sqlite still gets miscompiled at 32bit (PR44897), but works now at 64bit for some reason 3) Workaround attached to PR44846

[Bug lto/45375] Mozilla does not build with LTO

2010-08-22 Thread hubicka at gcc dot gnu dot org
--- Comment #2 from hubicka at gcc dot gnu dot org 2010-08-22 12:43 --- Created an attachment (id=21543) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21543action=view) Mozilla changes needed. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45375

[Bug lto/45375] Mozilla does not build with LTO

2010-08-22 Thread hubicka at gcc dot gnu dot org
--- Comment #3 from hubicka at gcc dot gnu dot org 2010-08-22 12:48 --- mozconfig I use: export CC=gcc -flto -fuse-linker-plugin export CXX=g++ -fwhopr=24 -fuse-linker-plugin -fpermissive #export CXX=/builds/slave/tryserver

[Bug lto/45375] Mozilla does not build with LTO

2010-08-22 Thread hubicka at gcc dot gnu dot org
--- Comment #4 from hubicka at gcc dot gnu dot org 2010-08-22 13:10 --- WPA stage profile after (with sane partitioning). Decl reading and merging is major issue. I am surprised we are faster on streaming out than reading. Execution times (seconds) garbage collection: 5.71 ( 3

[Bug c++/36310] [avr] Lots of (possibly) unnecesary static initialization code generated.

2010-08-21 Thread hubicka at gcc dot gnu dot org
--- Comment #5 from hubicka at gcc dot gnu dot org 2010-08-21 08:41 --- Hmm, I am confused. With my patch for pure constructor removal I get .text .p2align 4,,15 .globl main .type main, @function main: .LFB9: .cfi_startproc movss

[Bug middle-end/17736] Optimization for global initialization with empty constructors

2010-08-21 Thread hubicka at gcc dot gnu dot org
--- Comment #6 from hubicka at gcc dot gnu dot org 2010-08-21 09:46 --- Subject: Bug 17736 Author: hubicka Date: Sat Aug 21 09:46:15 2010 New Revision: 163439 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=163439 Log: PR c++/45307 PR c++/17736 * cgraph.h

[Bug middle-end/45307] Stores expanding to no RTL not removed by tree optimizers, Empty ctors/dtors not eliminated

2010-08-21 Thread hubicka at gcc dot gnu dot org
--- Comment #15 from hubicka at gcc dot gnu dot org 2010-08-21 09:46 --- Subject: Bug 45307 Author: hubicka Date: Sat Aug 21 09:46:15 2010 New Revision: 163439 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=163439 Log: PR c++/45307 PR c++/17736

[Bug middle-end/17736] Optimization for global initialization with empty constructors

2010-08-21 Thread hubicka at gcc dot gnu dot org
--- Comment #7 from hubicka at gcc dot gnu dot org 2010-08-21 09:46 --- We now remove pure constructors -- hubicka at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/45307] Stores expanding to no RTL not removed by tree optimizers, Empty ctors/dtors not eliminated

2010-08-21 Thread hubicka at gcc dot gnu dot org
--- Comment #16 from hubicka at gcc dot gnu dot org 2010-08-21 09:48 --- Empty constructors are now optimized away. We still should get removal of write only global vars. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45307

[Bug middle-end/45307] Stores expanding to no RTL not removed by tree optimizers, Empty ctors/dtors not eliminated

2010-08-20 Thread hubicka at gcc dot gnu dot org
--- Comment #14 from hubicka at gcc dot gnu dot org 2010-08-20 10:23 --- http://gcc.gnu.org/ml/gcc-patches/2010-08/msg01544.html has patch for empty constructor removal in middle end. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45307

[Bug libstdc++/44952] #include iostream implies global constructor.

2010-08-19 Thread hubicka at gcc dot gnu dot org
--- Comment #14 from hubicka at gcc dot gnu dot org 2010-08-19 09:39 --- Well, it might be easy to modify libstdc++ implementation so the static constructor compiles into single function call. Then we can teach GCC to optimize constructor containing only a call into entry in ctors

[Bug middle-end/45307] New: Stores expanding to no RTL not removed by tree optimizers, Empty ctors/dtors not eliminated

2010-08-17 Thread hubicka at gcc dot gnu dot org
Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hubicka at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45307

[Bug middle-end/45307] Stores expanding to no RTL not removed by tree optimizers, Empty ctors/dtors not eliminated

2010-08-17 Thread hubicka at gcc dot gnu dot org
--- Comment #1 from hubicka at gcc dot gnu dot org 2010-08-17 12:38 --- Created an attachment (id=21503) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21503action=view) testcase. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45307

[Bug middle-end/45307] Stores expanding to no RTL not removed by tree optimizers, Empty ctors/dtors not eliminated

2010-08-17 Thread hubicka at gcc dot gnu dot org
--- Comment #3 from hubicka at gcc dot gnu dot org 2010-08-17 13:34 --- Adding Mark and Jason to CC then, but Jakub seems right about -Wuninitialized warnings. -- hubicka at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/45307] Stores expanding to no RTL not removed by tree optimizers, Empty ctors/dtors not eliminated

2010-08-17 Thread hubicka at gcc dot gnu dot org
--- Comment #6 from hubicka at gcc dot gnu dot org 2010-08-17 16:42 --- We are not removing write only vars because richi told me that there is no convenient way to tell aliasing that variable is write only. It is easy to detect for me, but bit harder to get rid of them, since at IPA

[Bug middle-end/45307] Stores expanding to no RTL not removed by tree optimizers, Empty ctors/dtors not eliminated

2010-08-17 Thread hubicka at gcc dot gnu dot org
--- Comment #7 from hubicka at gcc dot gnu dot org 2010-08-17 16:45 --- oops, I've left IRC sentence unfinished. At IRC Richi told that FEs should not ever produce stores to empty structs at first place, so we don't need middle end logic of taking them away. Jakub thought that those

[Bug tree-optimization/45085] [4.6 Regression] incorrect -Wuninitialized warning

2010-08-03 Thread hubicka at gcc dot gnu dot org
--- Comment #5 from hubicka at gcc dot gnu dot org 2010-08-03 12:08 --- Created an attachment (id=21374) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21374action=view) patch I am testing. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45085

[Bug tree-optimization/42971] GCC cannot perform partial inlining

2010-07-31 Thread hubicka at gcc dot gnu dot org
--- Comment #2 from hubicka at gcc dot gnu dot org 2010-07-31 22:14 --- We have partial inlining now. -- hubicka at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/45085] [4.6 Regression] incorrect -Wuninitialized warning

2010-07-27 Thread hubicka at gcc dot gnu dot org
--- Comment #4 from hubicka at gcc dot gnu dot org 2010-07-27 14:13 --- Hmm, mine :) Honza -- hubicka at gcc dot gnu dot org changed: What|Removed |Added

[Bug lto/45089] New: -Os -g -fwhopr dwarf2out ICE

2010-07-26 Thread hubicka at gcc dot gnu dot org
Priority: P3 Component: lto AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hubicka at gcc dot gnu dot org GCC build triplet: x86_64-linux GCC host triplet: x86_64-linux GCC target triplet: x86_64-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id

[Bug lto/45089] -Os -g -fwhopr dwarf2out ICE

2010-07-26 Thread hubicka at gcc dot gnu dot org
--- Comment #1 from hubicka at gcc dot gnu dot org 2010-07-26 21:04 --- Created an attachment (id=21321) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21321action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45089

[Bug lto/44966] weak aliases LTO with gold causes ICE in lto_symtab_merge_decls_1

2010-07-26 Thread hubicka at gcc dot gnu dot org
--- Comment #14 from hubicka at gcc dot gnu dot org 2010-07-26 21:09 --- Hmm, hard to tell. The assembler .o files are not LTO and they will be incrementally linked into non-LTO part of GCC produced fat .o files during incremental linking and I guess it is hard to undo? -- http

[Bug lto/44802] -flto -fuse-linker-plugin causes undefined references from libc in the link phase

2010-07-26 Thread hubicka at gcc dot gnu dot org
--- Comment #5 from hubicka at gcc dot gnu dot org 2010-07-26 21:14 --- I fixed similar problem on mainline (it was bogus visibility handling for external symbols). Can you re-try? -- hubicka at gcc dot gnu dot org changed: What|Removed |Added

[Bug lto/44390] LTO strips out symbols that are actually needed

2010-07-26 Thread hubicka at gcc dot gnu dot org
--- Comment #8 from hubicka at gcc dot gnu dot org 2010-07-26 21:16 --- I fixed number of similar problems on Mozilla build recently. Can you, please, re-try with current mainline? Otherwise we will need to get some testcase for this. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id

[Bug lto/44966] weak aliases LTO with gold causes ICE in lto_symtab_merge_decls_1

2010-07-19 Thread hubicka at gcc dot gnu dot org
--- Comment #2 from hubicka at gcc dot gnu dot org 2010-07-19 17:50 --- mine -- hubicka at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned

[Bug lto/44966] weak aliases LTO with gold causes ICE in lto_symtab_merge_decls_1

2010-07-19 Thread hubicka at gcc dot gnu dot org
--- Comment #3 from hubicka at gcc dot gnu dot org 2010-07-19 17:52 --- Created an attachment (id=21251) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21251action=view) fix Hi, the problem is that alias is defined in one module, but aliases don't get cgraph nodes unless

[Bug lto/44950] New: dwarf2out ICE with WHOPR build of mozilla

2010-07-15 Thread hubicka at gcc dot gnu dot org
-- Summary: dwarf2out ICE with WHOPR build of mozilla Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hubicka at gcc dot

[Bug lto/44951] New: debug info ICE in whopr build due to missing -g at compile time.

2010-07-15 Thread hubicka at gcc dot gnu dot org
Severity: normal Priority: P3 Component: lto AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hubicka at gcc dot gnu dot org GCC build triplet: x86_64-linux GCC host triplet: x86_64-linux GCC target triplet: x86_64-linux http://gcc.gnu.org/bugzilla

[Bug lto/44951] debug info ICE in whopr build due to missing -g at compile time.

2010-07-15 Thread hubicka at gcc dot gnu dot org
--- Comment #1 from hubicka at gcc dot gnu dot org 2010-07-15 15:17 --- Created an attachment (id=21211) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21211action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44951

[Bug lto/44950] dwarf2out ICE with WHOPR build of mozilla

2010-07-15 Thread hubicka at gcc dot gnu dot org
--- Comment #1 from hubicka at gcc dot gnu dot org 2010-07-15 15:22 --- Created an attachment (id=21212) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21212action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44950

[Bug libstdc++/44952] New: #include iostream.h imply global constructor.

2010-07-15 Thread hubicka at gcc dot gnu dot org
: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hubicka at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44952

[Bug libstdc++/44952] #include iostream.h imply global constructor.

2010-07-15 Thread hubicka at gcc dot gnu dot org
--- Comment #3 from hubicka at gcc dot gnu dot org 2010-07-15 16:12 --- ... and are we required to emit the constructor even if we know var is not used? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44952

[Bug libstdc++/44952] #include iostream.h imply global constructor.

2010-07-15 Thread hubicka at gcc dot gnu dot org
--- Comment #7 from hubicka at gcc dot gnu dot org 2010-07-15 16:53 --- Hehe, I am really not C++ guy even in 2010, but I have impression that people are including iostream without really thinking about consequences here. Well, so what we can do about the startup times then? I

[Bug lto/44935] New: internal compiler error: in assign_stack_temp_for_type, at function.c:785

2010-07-14 Thread hubicka at gcc dot gnu dot org
: UNCONFIRMED Severity: normal Priority: P3 Component: lto AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hubicka at gcc dot gnu dot org GCC build triplet: i686-linux GCC host triplet: i686-linux GCC target triplet: i686-linux http

[Bug lto/44935] internal compiler error: in assign_stack_temp_for_type, at function.c:785

2010-07-14 Thread hubicka at gcc dot gnu dot org
--- Comment #1 from hubicka at gcc dot gnu dot org 2010-07-14 15:37 --- Created an attachment (id=21202) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21202action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44935

[Bug lto/44935] internal compiler error: in assign_stack_temp_for_type, at function.c:785

2010-07-14 Thread hubicka at gcc dot gnu dot org
--- Comment #2 from hubicka at gcc dot gnu dot org 2010-07-14 15:38 --- Created an attachment (id=21203) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21203action=view) testcase 2 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44935

[Bug lto/44904] New: Maybe bogus Use of type ?struct nsCSSStyleSheet? with two mismatching declarations at field ?mRuleProcessors? warnings in Mozilla

2010-07-10 Thread hubicka at gcc dot gnu dot org
Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hubicka at gcc dot gnu dot org GCC build triplet: x86_64-linux GCC host

[Bug lto/44904] Maybe bogus Use of type ?struct nsCSSStyleSheet? with two mismatching declarations at field ?mRuleProcessors? warnings in Mozilla

2010-07-10 Thread hubicka at gcc dot gnu dot org
--- Comment #1 from hubicka at gcc dot gnu dot org 2010-07-10 15:24 --- Created an attachment (id=21175) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21175action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44904

[Bug lto/44889] New: Bogus type of �nsLayoutModule_NSModule� does not match original declaration waning compiling Mozilla

2010-07-09 Thread hubicka at gcc dot gnu dot org
Priority: P3 Component: lto AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hubicka at gcc dot gnu dot org GCC build triplet: x86_64-linux GCC host triplet: x86_64-linux GCC target triplet: x86_64-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44889

[Bug lto/44889] Bogus type of �nsLayoutModule_NSModule� does not match original declaration waning compiling Mozilla

2010-07-09 Thread hubicka at gcc dot gnu dot org
--- Comment #1 from hubicka at gcc dot gnu dot org 2010-07-09 14:23 --- Created an attachment (id=21158) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21158action=view) first part of testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44889

[Bug lto/44889] Bogus type of �nsLayoutModule_NSModule� does not match original declaration waning compiling Mozilla

2010-07-09 Thread hubicka at gcc dot gnu dot org
--- Comment #2 from hubicka at gcc dot gnu dot org 2010-07-09 14:23 --- Created an attachment (id=21159) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21159action=view) second part of testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44889

[Bug lto/44891] New: non-trivial conversion ICE when comingling with -fwhopr

2010-07-09 Thread hubicka at gcc dot gnu dot org
AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hubicka at gcc dot gnu dot org GCC build triplet: x86_64-linux GCC target triplet: x86_64-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44891

[Bug lto/44891] non-trivial conversion ICE when comingling with -fwhopr

2010-07-09 Thread hubicka at gcc dot gnu dot org
--- Comment #1 from hubicka at gcc dot gnu dot org 2010-07-09 14:52 --- Created an attachment (id=21160) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21160action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44891

[Bug lto/44893] New: type mismatch in address expression with -fwhopr

2010-07-09 Thread hubicka at gcc dot gnu dot org
Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hubicka at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44893

[Bug lto/44893] type mismatch in address expression with -fwhopr

2010-07-09 Thread hubicka at gcc dot gnu dot org
--- Comment #1 from hubicka at gcc dot gnu dot org 2010-07-09 18:05 --- Created an attachment (id=21163) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21163action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44893

[Bug lto/44894] New: bogus warning: Use of type �struct nsNodeInfoManager� with two mismatching declarations at field �mDocument� [enabled by default]

2010-07-09 Thread hubicka at gcc dot gnu dot org
’ [enabled by default] Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hubicka at gcc dot gnu dot org

[Bug lto/44894] bogus warning: Use of type �struct nsNodeInfoManager� with two mismatching declarations at field �mDocument� [enabled by default]

2010-07-09 Thread hubicka at gcc dot gnu dot org
--- Comment #1 from hubicka at gcc dot gnu dot org 2010-07-09 18:35 --- Created an attachment (id=21164) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21164action=view) testcase. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44894

[Bug tree-optimization/44897] New: -fwhopr + ipa-sra misoptimize sqlite

2010-07-09 Thread hubicka at gcc dot gnu dot org
Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hubicka at gcc dot gnu dot org GCC build triplet: x86_64-linux GCC host triplet: x86_64-linux GCC target triplet: x86_64-linux http://gcc.gnu.org/bugzilla

  1   2   3   4   5   6   7   >