[Bug tree-optimization/54386] [4.8 Regression] Unaligned mem load wrongly generated for inlined inline/static function

2012-11-27 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54386 --- Comment #9 from Martin Jambor 2012-11-27 20:46:58 UTC --- I have proposed a patch on the mailing list: http://gcc.gnu.org/ml/gcc-patches/2012-11/msg02265.html Any testing, especially on strict-alignment platforms I do not have acce

[Bug middle-end/52890] Revision 185336 causes 10% degradation on cpu2000 benchmark 252.eon

2012-11-27 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52890 --- Comment #12 from Martin Jambor 2012-11-27 20:47:21 UTC --- I have proposed a patch on the mailing list: http://gcc.gnu.org/ml/gcc-patches/2012-11/msg02265.html

[Bug middle-end/55477] [devirt] trunk fails inline-devirt tests #2 and and #3 whereas they pass in google/4_7

2012-11-28 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55477 Martin Jambor changed: What|Removed |Added CC||jamborm at gcc dot gnu.org

[Bug middle-end/52890] Revision 185336 causes 10% degradation on cpu2000 benchmark 252.eon

2012-11-30 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52890 --- Comment #13 from Martin Jambor 2012-11-30 16:11:41 UTC --- Author: jamborm Date: Fri Nov 30 16:11:33 2012 New Revision: 193998 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193998 Log: 2012-11-30 Martin Jambor PR

[Bug tree-optimization/54386] [4.8 Regression] Unaligned mem load wrongly generated for inlined inline/static function

2012-11-30 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54386 --- Comment #10 from Martin Jambor 2012-11-30 16:11:43 UTC --- Author: jamborm Date: Fri Nov 30 16:11:33 2012 New Revision: 193998 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193998 Log: 2012-11-30 Martin Jambor PR

[Bug target/55448] using const-reference SSE or AVX types leads to unnecessary unaligned loads

2012-11-30 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55448 --- Comment #5 from Martin Jambor 2012-11-30 16:11:44 UTC --- Author: jamborm Date: Fri Nov 30 16:11:33 2012 New Revision: 193998 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193998 Log: 2012-11-30 Martin Jambor PR

[Bug tree-optimization/55415] Early SRA produces unaligned complex types

2012-11-30 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55415 --- Comment #5 from Martin Jambor 2012-11-30 16:11:43 UTC --- Author: jamborm Date: Fri Nov 30 16:11:33 2012 New Revision: 193998 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193998 Log: 2012-11-30 Martin Jambor PR

[Bug middle-end/54470] FAIL: gcc.dg/ipa/iinline-4.c scan-ipa-dump inline "hooray4[^\\n]*inline copy in test4"

2012-11-30 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54470 --- Comment #2 from Martin Jambor 2012-11-30 17:49:07 UTC --- The problem is that whereas on other platforms, hiphip4 looks like: hiphip4 (struct S s) { void (*) (struct S *) _2; : _2 = s.f; _2 (&s); return; } on hpp

[Bug middle-end/52890] Revision 185336 causes 10% degradation on cpu2000 benchmark 252.eon

2012-12-03 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52890 Martin Jambor changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug tree-optimization/55415] Early SRA produces unaligned complex types

2012-12-03 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55415 Martin Jambor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug tree-optimization/54386] [4.8 Regression] Unaligned mem load wrongly generated for inlined inline/static function

2012-12-03 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54386 Martin Jambor changed: What|Removed |Added CC||rth at gcc dot gnu.org --- Comm

[Bug target/55448] using const-reference SSE or AVX types leads to unnecessary unaligned loads

2012-12-03 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55448 Martin Jambor changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug tree-optimization/54386] [4.8 Regression] Unaligned mem load wrongly generated for inlined inline/static function

2012-12-03 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54386 Martin Jambor changed: What|Removed |Added CC||kretz at kde dot org --- Commen

[Bug tree-optimization/54386] [4.8 Regression] Unaligned mem load wrongly generated for inlined inline/static function

2012-12-03 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54386 Martin Jambor changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug tree-optimization/55590] New: SRA still produces unnecessarily unaligned memory accesses

2012-12-04 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55590 Bug #: 55590 Summary: SRA still produces unnecessarily unaligned memory accesses Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRME

[Bug tree-optimization/55590] SRA still produces unnecessarily unaligned memory accesses

2012-12-05 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55590 Martin Jambor changed: What|Removed |Added URL||http://gcc.gnu.org/ml/gcc-p

[Bug debug/55579] SRA doesn't create debug stmts when they would be useful

2012-12-06 Thread jamborm at gcc dot gnu.org
|unassigned at gcc dot |jamborm at gcc dot gnu.org |gnu.org | --- Comment #2 from Martin Jambor 2012-12-06 16:58:58 UTC --- Mine.

[Bug tree-optimization/55590] SRA still produces unnecessarily unaligned memory accesses

2012-12-07 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55590 --- Comment #2 from Martin Jambor 2012-12-07 12:50:46 UTC --- Author: jamborm Date: Fri Dec 7 12:50:43 2012 New Revision: 194300 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194300 Log: 2012-12-07 Martin Jambor PR

[Bug middle-end/55078] [4.8 Regression] FAIL: g++.dg/torture/pr46154.C

2012-12-07 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55078 --- Comment #8 from Martin Jambor 2012-12-07 13:05:57 UTC --- Author: jamborm Date: Fri Dec 7 13:05:52 2012 New Revision: 194301 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194301 Log: 2012-12-07 Martin Jambor PR

[Bug tree-optimization/55590] SRA still produces unnecessarily unaligned memory accesses

2012-12-07 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55590 Martin Jambor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug middle-end/55078] [4.8 Regression] FAIL: g++.dg/torture/pr46154.C

2012-12-07 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55078 Martin Jambor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug tree-optimization/55614] [4.6/4.7 Regression] vector extensions cause movdqa to be generated for memcpy on unaligned buffer

2012-12-07 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55614 --- Comment #4 from Martin Jambor 2012-12-07 14:56:15 UTC --- As far as I can remember, my changes in revision 186501 depended on previous work in expander and cannot be simply backported without those prerequisites (or breaking strict-ali

[Bug debug/55579] SRA doesn't create debug stmts when they would be useful

2012-12-07 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55579 --- Comment #3 from Martin Jambor 2012-12-07 14:59:43 UTC --- Created attachment 28896 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28896 Untested patch I'm bootstrapping and testing this patch.

[Bug c++/55355] internal compiler error: in tree_low_cst, at tree.c:6415

2012-12-12 Thread jamborm at gcc dot gnu.org
||2012-12-12 AssignedTo|unassigned at gcc dot |jamborm at gcc dot gnu.org |gnu.org | Ever Confirmed|0 |1 --- Comment #16 from Martin Jambor 2012-12-12 16:24:37 UTC --- OK, I'l

[Bug debug/55579] SRA doesn't create debug stmts when they would be useful

2012-12-14 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55579 Martin Jambor changed: What|Removed |Added Attachment #28896|0 |1 is obsolete|

[Bug tree-optimization/55355] internal compiler error: in tree_low_cst, at tree.c:6415

2012-12-14 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55355 Martin Jambor changed: What|Removed |Added URL||http://gcc.gnu.org/ml/gcc-p

[Bug tree-optimization/55683] [4.8 Regression] ICE in inline_call, at ipa-inline-transform.c:270

2012-12-14 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55683 --- Comment #6 from Martin Jambor 2012-12-14 12:14:23 UTC --- On IRC Richi said that -fno-indirect-inlining helps which would suggest it is mine (though that still might be coincidence). For various reasons, I cannot work on this until We

[Bug tree-optimization/55755] New: Invalid VIEW_CONVERT_EXPR produced by SRA

2012-12-20 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55755 Bug #: 55755 Summary: Invalid VIEW_CONVERT_EXPR produced by SRA Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/55755] Invalid VIEW_CONVERT_EXPR produced by SRA

2012-12-20 Thread jamborm at gcc dot gnu.org
||2012-12-20 AssignedTo|unassigned at gcc dot |jamborm at gcc dot gnu.org |gnu.org | Ever Confirmed|0 |1 --- Comment #1 from Martin Jambor 2012-12-20 14:28:07 UTC --- Obviously mine

[Bug tree-optimization/55355] internal compiler error: in tree_low_cst, at tree.c:6415

2012-12-21 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55355 --- Comment #18 from Martin Jambor 2012-12-21 22:06:42 UTC --- Author: jamborm Date: Fri Dec 21 22:06:38 2012 New Revision: 194682 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194682 Log: 2012-12-21 Martin Jambor PR

[Bug tree-optimization/55355] internal compiler error: in tree_low_cst, at tree.c:6415

2012-12-21 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55355 --- Comment #19 from Martin Jambor 2012-12-21 22:21:20 UTC --- Author: jamborm Date: Fri Dec 21 22:21:14 2012 New Revision: 194684 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194684 Log: 2012-12-21 Martin Jambor PR

[Bug tree-optimization/55355] internal compiler error: in tree_low_cst, at tree.c:6415

2012-12-21 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55355 --- Comment #20 from Martin Jambor 2012-12-21 22:28:45 UTC --- Author: jamborm Date: Fri Dec 21 22:28:40 2012 New Revision: 194686 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194686 Log: 2012-12-21 Martin Jambor PR

[Bug tree-optimization/55355] internal compiler error: in tree_low_cst, at tree.c:6415

2012-12-21 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55355 Martin Jambor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug debug/55579] SRA doesn't create debug stmts when they would be useful

2013-01-04 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55579 Martin Jambor changed: What|Removed |Added URL||http://gcc.gnu.org/ml/gcc-p

[Bug tree-optimization/55755] Invalid VIEW_CONVERT_EXPR produced by SRA

2013-01-04 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55755 Martin Jambor changed: What|Removed |Added URL||http://gcc.gnu.org/ml/gcc-p

[Bug tree-optimization/55755] Invalid VIEW_CONVERT_EXPR produced by SRA

2013-01-04 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55755 --- Comment #3 from Martin Jambor 2013-01-04 13:20:50 UTC --- Author: jamborm Date: Fri Jan 4 13:20:38 2013 New Revision: 194905 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194905 Log: 2013-01-04 Martin Jambor PR

[Bug debug/54971] SRA pessimizes debug info by not creating debug stmts for fields without replacements

2013-01-04 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54971 --- Comment #17 from Martin Jambor 2013-01-04 14:41:08 UTC --- (In reply to comment #13) > So, beyond the creation of new debug only accesses for whole struct writes > into > hole if there aren't too many holes, I wonder if SRA doesn't ha

[Bug debug/55579] SRA doesn't create debug stmts when they would be useful

2013-01-08 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55579 --- Comment #7 from Martin Jambor 2013-01-08 14:10:52 UTC --- Author: jamborm Date: Tue Jan 8 14:10:44 2013 New Revision: 195015 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195015 Log: 2013-01-08 Martin Jambor PR

[Bug debug/55579] SRA doesn't create debug stmts when they would be useful

2013-01-08 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55579 Martin Jambor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug tree-optimization/55264] [4.6/4.7/4.8 Regression] ICE: in ipa_make_edge_direct_to_target, at ipa-prop.c:2141 with -O2 -fno-early-inlining -fno-weak

2013-01-08 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55264 --- Comment #6 from Martin Jambor 2013-01-08 18:16:24 UTC --- Created attachment 29111 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29111 Untested fix I'm currently bootstrapping and testing this patch to fix the issue on trunk.

[Bug tree-optimization/55264] [4.6/4.7/4.8 Regression] ICE: in ipa_make_edge_direct_to_target, at ipa-prop.c:2141 with -O2 -fno-early-inlining -fno-weak

2013-01-09 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55264 --- Comment #7 from Martin Jambor 2013-01-09 10:36:02 UTC --- Unfortunately, that causes the following failures: g++.dg/lto/20081217-2 cp_lto_20081217-2_0.o-cp_lto_20081217-2_0.o link, -O2 -flto -flto-partition=none -fuse-linker-plugin -

[Bug tree-optimization/55913] ipa-cp should consider also constants implied by the context it is clonning for

2013-01-09 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55913 Martin Jambor changed: What|Removed |Added CC|mjambor at suse dot cz |jamborm at gcc dot gnu.org

[Bug middle-end/55882] [4.7/4.8 Regression] unaligned load/store : incorrect struct offset

2013-01-10 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55882 --- Comment #13 from Martin Jambor 2013-01-10 09:48:41 UTC --- I have bootstrapped and tested the patch from comment #11 on sparc64-linux (gcc63 on compile farm) and there were no issues (actually g++.old-deja/g++.law/operators23.C failed

[Bug tree-optimization/55683] [4.8 Regression] ICE in inline_call, at ipa-inline-transform.c:270

2013-01-10 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55683 --- Comment #15 from Martin Jambor 2013-01-10 16:58:35 UTC --- (In reply to comment #13) > The acutal ICE should be fixed. Martinj, I will leave the PR open > just to make you to double check that ipa-cp is doing properly the > translati

[Bug tree-optimization/55927] FAIL: g++.dg/ipa/devirt-10.C -std=gnu++11 scan-ipa-dump-times inline "Discovered a virtual call to a known target" 1

2013-01-10 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55927 Martin Jambor changed: What|Removed |Added CC||jamborm at gcc dot gnu.org

[Bug tree-optimization/55264] [4.6/4.7/4.8 Regression] ICE: in ipa_make_edge_direct_to_target, at ipa-prop.c:2141 with -O2 -fno-early-inlining -fno-weak

2013-01-10 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55264 --- Comment #9 from Martin Jambor 2013-01-10 18:02:35 UTC --- (In reply to comment #8) > > Let me look into those... > > Try the patch I attached to PR45375 > I have updated to revision 195082 which I understand already has it and

[Bug tree-optimization/55264] [4.6/4.7/4.8 Regression] ICE: in ipa_make_edge_direct_to_target, at ipa-prop.c:2141 with -O2 -fno-early-inlining -fno-weak

2013-01-10 Thread jamborm at gcc dot gnu.org
|unassigned at gcc dot |jamborm at gcc dot gnu.org |gnu.org | --- Comment #10 from Martin Jambor 2013-01-10 18:14:44 UTC --- And no wonder it did not because those failures are ICEs in ipcp_verify_propagated_values. So that's mine.

[Bug tree-optimization/55920] [4.8 Regression] ICE in expand_debug_locations, at cfgexpand.c:3753

2013-01-11 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55920 Martin Jambor changed: What|Removed |Added CC||jamborm at gcc dot gnu.org

[Bug tree-optimization/55920] [4.8 Regression] ICE in expand_debug_locations, at cfgexpand.c:3753

2013-01-11 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55920 --- Comment #4 from Martin Jambor 2013-01-11 16:55:54 UTC --- The debug statements for non-DCEable variables can be easily disabled by the following (also, yet untested) patch: 2013-01-11 Martin Jambor * tree-sra.c (analyze_a

[Bug tree-optimization/55920] [4.8 Regression] ICE in expand_debug_locations, at cfgexpand.c:3753

2013-01-15 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55920 --- Comment #7 from Martin Jambor 2013-01-15 12:18:40 UTC --- (In reply to comment #6) > Created attachment 29168 [details] > gcc48-pr55920.patch > > Looking at the #c3 patch, I wonder if this wouldn't be more appropriate > (untested s

[Bug tree-optimization/55920] [4.8 Regression] ICE in expand_debug_locations, at cfgexpand.c:3753

2013-01-15 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55920 --- Comment #9 from Martin Jambor 2013-01-15 16:43:14 UTC --- Author: jamborm Date: Tue Jan 15 16:43:05 2013 New Revision: 195210 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195210 Log: 2013-01-15 Martin Jambor PR

[Bug tree-optimization/55264] [4.6/4.7/4.8 Regression] ICE: in ipa_make_edge_direct_to_target, at ipa-prop.c:2141 with -O2 -fno-early-inlining -fno-weak

2013-01-17 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55264 --- Comment #11 from Martin Jambor 2013-01-17 11:43:18 UTC --- Author: jamborm Date: Thu Jan 17 11:43:14 2013 New Revision: 195262 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195262 Log: 2013-01-17 Martin Jambor PR

[Bug middle-end/56022] [4.8 regression] ICE (segfault) at convert_memory_address_addr_space (explow.c:334)

2013-01-18 Thread jamborm at gcc dot gnu.org
|unassigned at gcc dot |jamborm at gcc dot gnu.org |gnu.org | --- Comment #3 from Martin Jambor 2013-01-18 14:26:32 UTC --- OK, let me have a look.

[Bug middle-end/56022] [4.8 regression] ICE (segfault) at convert_memory_address_addr_space (explow.c:334)

2013-01-21 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56022 --- Comment #4 from Martin Jambor 2013-01-21 10:01:40 UTC --- The problem is that aggregate_value_p can rely on that invoke_set_current_function_hook has already been called which my patch foolishly moved below it. I'm preparing a patch.

[Bug middle-end/56022] [4.8 regression] ICE (segfault) at convert_memory_address_addr_space (explow.c:334)

2013-01-21 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56022 Martin Jambor changed: What|Removed |Added URL||http://gcc.gnu.org/ml/gcc-p

[Bug tree-optimization/55264] [4.6/4.7/4.8 Regression] ICE: in ipa_make_edge_direct_to_target, at ipa-prop.c:2141 with -O2 -fno-early-inlining -fno-weak

2013-01-21 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55264 --- Comment #12 from Martin Jambor 2013-01-21 17:02:18 UTC --- Author: jamborm Date: Mon Jan 21 17:02:08 2013 New Revision: 195339 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195339 Log: 2013-01-21 Martin Jambor

[Bug tree-optimization/55264] [4.6/4.7/4.8 Regression] ICE: in ipa_make_edge_direct_to_target, at ipa-prop.c:2141 with -O2 -fno-early-inlining -fno-weak

2013-01-21 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55264 --- Comment #13 from Martin Jambor 2013-01-21 17:09:27 UTC --- Author: jamborm Date: Mon Jan 21 17:09:22 2013 New Revision: 195340 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195340 Log: 2013-01-21 Martin Jambor

[Bug tree-optimization/55264] [4.6/4.7/4.8 Regression] ICE: in ipa_make_edge_direct_to_target, at ipa-prop.c:2141 with -O2 -fno-early-inlining -fno-weak

2013-01-21 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55264 Martin Jambor changed: What|Removed |Added Status|ASSIGNED|RESOLVED URL|

[Bug middle-end/56022] [4.8 regression] ICE (segfault) at convert_memory_address_addr_space (explow.c:334)

2013-01-21 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56022 --- Comment #6 from Martin Jambor 2013-01-21 17:17:19 UTC --- Author: jamborm Date: Mon Jan 21 17:16:57 2013 New Revision: 195341 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195341 Log: 2013-01-21 Martin Jambor PR

[Bug middle-end/56022] [4.8 regression] ICE (segfault) at convert_memory_address_addr_space (explow.c:334)

2013-01-21 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56022 Martin Jambor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug tree-optimization/55927] FAIL: g++.dg/ipa/devirt-10.C -std=gnu++11 scan-ipa-dump-times inline "Discovered a virtual call to a known target" 1

2013-01-23 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55927 Martin Jambor changed: What|Removed |Added AssignedTo|unassigned at gcc dot |jamborm at gcc dot gnu.org

[Bug tree-optimization/55755] Invalid VIEW_CONVERT_EXPR produced by SRA

2013-01-24 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55755 --- Comment #4 from Martin Jambor 2013-01-24 14:54:02 UTC --- Author: jamborm Date: Thu Jan 24 14:53:56 2013 New Revision: 195425 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195425 Log: 2013-01-24 Martin Jambor Bac

[Bug tree-optimization/55755] Invalid VIEW_CONVERT_EXPR produced by SRA

2013-01-24 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55755 --- Comment #5 from Martin Jambor 2013-01-24 15:41:19 UTC --- Author: jamborm Date: Thu Jan 24 15:41:04 2013 New Revision: 195429 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195429 Log: 2013-01-24 Martin Jambor Bac

[Bug tree-optimization/55755] Invalid VIEW_CONVERT_EXPR produced by SRA

2013-01-24 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55755 Martin Jambor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug tree-optimization/55927] FAIL: g++.dg/ipa/devirt-10.C -std=gnu++11 scan-ipa-dump-times inline "Discovered a virtual call to a known target" 1

2013-01-24 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55927 Martin Jambor changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED URL|

[Bug tree-optimization/55927] FAIL: g++.dg/ipa/devirt-10.C -std=gnu++11 scan-ipa-dump-times inline "Discovered a virtual call to a known target" 1

2013-01-24 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55927 --- Comment #7 from Martin Jambor 2013-01-24 16:18:35 UTC --- Author: jamborm Date: Thu Jan 24 16:18:26 2013 New Revision: 195430 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195430 Log: 2013-01-24 Martin Jambor PR

[Bug tree-optimization/55927] FAIL: g++.dg/ipa/devirt-10.C -std=gnu++11 scan-ipa-dump-times inline "Discovered a virtual call to a known target" 1

2013-01-24 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55927 Martin Jambor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug tree-optimization/53787] Possible IPA-SRA / IPA-CP improvement

2013-01-25 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53787 --- Comment #16 from Martin Jambor 2013-01-25 18:32:39 UTC --- I do have a caller of the clone (in the WPA dump): init_.constprop.2/71 (init_.constprop.2) @0x7f10180f06f0 Type: function ... Clone of init_/41 ... Called by:

[Bug tree-optimization/69355] [5 Regression] Wrong results with -O1 optimization

2016-01-27 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69355 --- Comment #21 from Martin Jambor --- Author: jamborm Date: Wed Jan 27 14:51:17 2016 New Revision: 232877 URL: https://gcc.gnu.org/viewcvs?rev=232877&root=gcc&view=rev Log: [PR 69355] Correct hole detection when total_scalarization fails 2016-

[Bug tree-optimization/69355] [5 Regression] Wrong results with -O1 optimization

2016-01-28 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69355 --- Comment #22 from Martin Jambor --- Author: jamborm Date: Thu Jan 28 18:04:00 2016 New Revision: 232937 URL: https://gcc.gnu.org/viewcvs?rev=232937&root=gcc&view=rev Log: [PR 69355] Correct hole detection when total_scalarization fails 2016-

[Bug tree-optimization/69355] [5 Regression] Wrong results with -O1 optimization

2016-01-28 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69355 --- Comment #23 from Martin Jambor --- The testcase I posted to comment #19 fails also on the 4.9 branch so I will test and commit the patch there too. Jakub, can I close the bug afterwards or do you want to backport the gcc/tree-dfa.c (the patc

[Bug tree-optimization/69355] [5 Regression] Wrong results with -O1 optimization

2016-01-29 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69355 --- Comment #25 from Martin Jambor --- Author: jamborm Date: Fri Jan 29 23:01:54 2016 New Revision: 233001 URL: https://gcc.gnu.org/viewcvs?rev=233001&root=gcc&view=rev Log: [PR 69355] Correct hole detection when total_scalarization fails 2016-

[Bug ipa/69589] [6 Regression] ICE in initialize_node_lattices, at ipa-cp.c:971

2016-02-01 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69589 Martin Jambor changed: What|Removed |Added CC||jamborm at gcc dot gnu.org --- Comment

[Bug tree-optimization/69355] [5 Regression] Wrong results with -O1 optimization

2016-02-01 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69355 Martin Jambor changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug hsa/69568] Invalid HSAIL opcode when using builtin vector

2016-02-02 Thread jamborm at gcc dot gnu.org
||2016-02-02 Component|libgomp |hsa Assignee|unassigned at gcc dot gnu.org |jamborm at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Martin Jambor --- Confirmed and mine.

[Bug hsa/69674] hsa offloading, -m32: "internal compiler error: in hsa_build_append_simple_mov"

2016-02-08 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69674 Martin Jambor changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug ipa/69589] [6 Regression] ICE in initialize_node_lattices, at ipa-cp.c:971

2016-02-15 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69589 --- Comment #13 from Martin Jambor --- (In reply to kugan from comment #11) > In remove_unreachable_nodes, just before ipa-cp, this node becomes local > (address taken is false and local.local = true). After that, when > ipa_propagate_frequency i

[Bug tree-optimization/69666] [5/6 Regression] gcc ICE at -O2 and -O3 on valid code on x86_64-linux-gnu in "verify_gimple failed"

2016-02-19 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69666 --- Comment #6 from Martin Jambor --- I have proposed a fix on the mailing list: https://gcc.gnu.org/ml/gcc-patches/2016-02/msg01349.html

[Bug tree-optimization/69666] [5/6 Regression] gcc ICE at -O2 and -O3 on valid code on x86_64-linux-gnu in "verify_gimple failed"

2016-02-23 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69666 --- Comment #7 from Martin Jambor --- Author: jamborm Date: Tue Feb 23 10:55:47 2016 New Revision: 233626 URL: https://gcc.gnu.org/viewcvs?rev=233626&root=gcc&view=rev Log: [pr 69666] No SRA default_def replacements for unscalarizable regions 2

[Bug tree-optimization/69666] [5 Regression] gcc ICE at -O2 and -O3 on valid code on x86_64-linux-gnu in "verify_gimple failed"

2016-02-23 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69666 --- Comment #8 from Martin Jambor --- Author: jamborm Date: Tue Feb 23 12:54:44 2016 New Revision: 233629 URL: https://gcc.gnu.org/viewcvs?rev=233629&root=gcc&view=rev Log: [pr 69666] No SRA default_def replacements for unscalarizable regions 2

[Bug tree-optimization/69666] [5 Regression] gcc ICE at -O2 and -O3 on valid code on x86_64-linux-gnu in "verify_gimple failed"

2016-02-23 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69666 Martin Jambor changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug middle-end/69920] [6 Regression] FAIL: g++.dg/torture/pr42704.C -O2 -flto -fno-use-linker-plugin -flto-partition=none (internal compiler error)

2016-02-23 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69920 --- Comment #2 from Martin Jambor --- (In reply to H.J. Lu from comment #1) > It may be caused by r233626. What do you mean by "may be?" I have just double checked that if I apply the patch to r233489 and run the test, it passes here on my x86_

[Bug middle-end/69920] [6 Regression] FAIL: g++.dg/torture/pr42704.C -O2 -flto -fno-use-linker-plugin -flto-partition=none (internal compiler error)

2016-02-23 Thread jamborm at gcc dot gnu.org
||2016-02-23 Assignee|unassigned at gcc dot gnu.org |jamborm at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #3 from Martin Jambor --- Ah, I missed the "x86" part (when the target field is not filled in, I always tend to

[Bug tree-optimization/69666] [5 Regression] gcc ICE at -O2 and -O3 on valid code on x86_64-linux-gnu in "verify_gimple failed"

2016-02-24 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69666 --- Comment #10 from Martin Jambor --- Author: jamborm Date: Wed Feb 24 16:20:00 2016 New Revision: 233674 URL: https://gcc.gnu.org/viewcvs?rev=233674&root=gcc&view=rev Log: 2016-02-24 Martin Jambor revert: 2016-02-23 Martin

[Bug middle-end/69920] [6 Regression] FAIL: g++.dg/torture/pr42704.C -O2 -flto -fno-use-linker-plugin -flto-partition=none (internal compiler error)

2016-02-26 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69920 --- Comment #10 from Martin Jambor --- I am currently bootstrapping and testing the fix I posted as: https://gcc.gnu.org/ml/gcc-patches/2016-02/msg01656.html I am confident it will fix all of these problems (provided the issue is a SSA_NAME sti

[Bug middle-end/69920] [6 Regression] FAIL: g++.dg/torture/pr42704.C -O2 -flto -fno-use-linker-plugin -flto-partition=none (internal compiler error)

2016-02-26 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69920 --- Comment #11 from Martin Jambor --- I have proposed a fix on the mailing list: https://gcc.gnu.org/ml/gcc-patches/2016-02/msg01824.html

[Bug hsa/69674] hsa offloading, -m32: "internal compiler error: in hsa_build_append_simple_mov"

2016-02-26 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69674 --- Comment #2 from Martin Jambor --- Author: jamborm Date: Fri Feb 26 17:45:37 2016 New Revision: 233750 URL: https://gcc.gnu.org/viewcvs?rev=233750&root=gcc&view=rev Log: [hsa/69674] Make testsuite libgomp.c/for-3.c compile with -m32 2016-02-

[Bug hsa/69568] Invalid HSAIL opcode when using builtin vector

2016-02-26 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69568 --- Comment #2 from Martin Jambor --- Author: jamborm Date: Fri Feb 26 17:48:19 2016 New Revision: 233751 URL: https://gcc.gnu.org/viewcvs?rev=233751&root=gcc&view=rev Log: [hsa/69568] Fix ld instruction type for packed data 2016-02-26 Martin

[Bug hsa/69568] Invalid HSAIL opcode when using builtin vector

2016-02-26 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69568 --- Comment #3 from Martin Jambor --- Fixed on trunk. The hsa branch will pick this up next week as a part of a merge from trunk.

[Bug middle-end/69920] [6 Regression] FAIL: g++.dg/torture/pr42704.C -O2 -flto -fno-use-linker-plugin -flto-partition=none (internal compiler error)

2016-02-26 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69920 --- Comment #13 from Martin Jambor --- Author: jamborm Date: Fri Feb 26 18:06:42 2016 New Revision: 233753 URL: https://gcc.gnu.org/viewcvs?rev=233753&root=gcc&view=rev Log: [PR 69920] Prevent SRA from leaving a removed SSA_NAME in IL 2016-02-2

[Bug middle-end/69920] [6 Regression] FAIL: g++.dg/torture/pr42704.C -O2 -flto -fno-use-linker-plugin -flto-partition=none (internal compiler error)

2016-02-26 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69920 --- Comment #14 from Martin Jambor --- (In reply to Dominik Vogt from comment #12) > The Ice in 42704.c is gone on s390[x] with trunk (but not the other FAILs). > Is the Ice below related to this bug report or is it something totally > different

[Bug hsa/69674] hsa offloading, -m32: "internal compiler error: in hsa_build_append_simple_mov"

2016-02-26 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69674 Martin Jambor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug hsa/69568] Invalid HSAIL opcode when using builtin vector

2016-03-01 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69568 Martin Jambor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/70013] [6 Regression] packed structure tree-sra loses initialization

2016-03-04 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70013 Martin Jambor changed: What|Removed |Added CC||alan.lawrence at arm dot com --- Comment

[Bug tree-optimization/70013] [6 Regression] packed structure tree-sra loses initialization

2016-03-07 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70013 --- Comment #8 from Martin Jambor --- That is what I suspected. Please have at look why analyze_access_subtree (which has to set the grp_unscalarized_data flag) acts differently then.

[Bug middle-end/69920] [6 Regression] FAIL: g++.dg/torture/pr42704.C -O2 -flto -fno-use-linker-plugin -flto-partition=none (internal compiler error)

2016-03-07 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69920 --- Comment #16 from Martin Jambor --- Author: jamborm Date: Mon Mar 7 15:17:49 2016 New Revision: 234030 URL: https://gcc.gnu.org/viewcvs?rev=234030&root=gcc&view=rev Log: Fix PR 69666 and PR 69920 2016-03-07 Martin Jambor PR tree

[Bug tree-optimization/69666] [5 Regression] gcc ICE at -O2 and -O3 on valid code on x86_64-linux-gnu in "verify_gimple failed"

2016-03-07 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69666 --- Comment #13 from Martin Jambor --- Author: jamborm Date: Mon Mar 7 15:17:49 2016 New Revision: 234030 URL: https://gcc.gnu.org/viewcvs?rev=234030&root=gcc&view=rev Log: Fix PR 69666 and PR 69920 2016-03-07 Martin Jambor PR tree

[Bug tree-optimization/69666] [5 Regression] gcc ICE at -O2 and -O3 on valid code on x86_64-linux-gnu in "verify_gimple failed"

2016-03-07 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69666 --- Comment #14 from Martin Jambor --- With the reverted patch re-applied, this should be again fixed everywhere (and the fix should not be causing any new issues).

[Bug middle-end/70127] [6 Regression] wrong code on x86_64-linux-gnu at -O3 in 32-bit and 64-bit modes

2016-03-09 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70127 --- Comment #11 from Martin Jambor --- (In reply to Jakub Jelinek from comment #3) > Looking at the tree dumps, I see weirdo behavior in early SRA (CCing > Martin), where it changes: > e.f = 1; > e.g = 1; > a[0] = c; > e = a[0]; > d = e

[Bug tree-optimization/70013] [6 Regression] packed structure tree-sra loses initialization

2016-03-10 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70013 --- Comment #11 from Martin Jambor --- (In reply to alalaw01 from comment #10) > which is much saner. But I don't really understand why the PARM_DECL case > that I'm adding to here is that way SRA tries to avoid generating unnecessary aggregate

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