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

2016-03-10 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70127 --- Comment #15 from Martin Jambor --- (In reply to Jakub Jelinek from comment #14) > but if you keep the e = a[0]; assignment, I really don't understand the last > two statements. The kept statement already copied them, the extra stores > don't

[Bug ipa/69708] ipa inline not working for function reference in static const struct

2016-03-10 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69708 --- Comment #4 from Martin Jambor --- I've posted one possible implementation of this feature to the mailing list along with an explanation why it makes sense to actually do it better and how :-) https://gcc.gnu.org/ml/gcc-patches/2016-03/msg006

[Bug ipa/70348] [6 Regression][openacc] ICE in visit_ref_for_mod_analysis, at ipa-prop.c

2016-03-22 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70348 --- Comment #2 from Martin Jambor --- The problem is that there is a PARM_DECL in the IL of the function which is not listed among DECL_ARGUMENTS of the function: The function we are in is: (gdb) call debug_generic_expr(cfun->decl) foo._omp_fn.

[Bug ipa/70646] [4.9/5/6/7 Regression] Corrupt truncated function

2016-04-15 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70646 --- Comment #22 from Martin Jambor --- (In reply to Jan Hubicka from comment #18) > Jakub: There is indeed aliasing issue, but with -fno-strict-aliasing the bug > is the same. > > Apparently this is ipa-prop bug, because ipa-prop does not track

[Bug ipa/70646] [4.9/5/6/7 Regression] Corrupt truncated function

2016-04-15 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70646 --- Comment #23 from Martin Jambor --- (In reply to Josh Poimboeuf from comment #20) > Thanks very much to everyone who has looked into this so far. It would be > very helpful to get answers to the following questions, so we can understand > the

[Bug ipa/70646] [4.9/5/6/7 Regression] Corrupt truncated function

2016-04-15 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70646 --- Comment #25 from Martin Jambor --- (In reply to Martin Jambor from comment #22) > I suppose the easiest fix is to overload the value field to store the > size of the access for these two codes and then add the missing check. OK, so the IS_NO

[Bug ipa/70646] [4.9/5/6/7 Regression] Corrupt truncated function

2016-04-15 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70646 --- Comment #26 from Martin Jambor --- (In reply to Josh Poimboeuf from comment #24) > > Yes, I'm looking for a general way to either prevent or try to detect > potential other cases of the bug throughout the entire kernel. > > Can it only occu

[Bug ipa/70646] [4.9/5/6/7 Regression] Corrupt truncated function

2016-04-16 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70646 --- Comment #28 from Martin Jambor --- (In reply to rguent...@suse.de from comment #27) > I was arguing that if IPA proves a condition to true/false then it > should adjust it that way in modification phase. The thing is that it does not prove i

[Bug ipa/70646] [4.9/5/6/7 Regression] Corrupt truncated function

2016-04-20 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70646 --- Comment #29 from Martin Jambor --- Created attachment 38316 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38316&action=edit Fix storing access size to conditions Honza asked me to also come up with a version of the patch where we stor

[Bug ipa/70646] [4.9/5/6/7 Regression] Corrupt truncated function

2016-04-21 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70646 --- Comment #31 from Martin Jambor --- (In reply to rguent...@suse.de from comment #30) > > Any reason it's not unsigned HOST_WIDE_INT size? The only reason is to use the same type in which get_ref_base_and_extent returns size.

[Bug hsa/70857] [6/7 Regression] ICE with -fopenmp -fopenacc in insert_vi_for_tree, at tree-ssa-structalias.c:2813

2016-05-01 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70857 --- Comment #2 from Martin Jambor --- Not surprisingly, it is adding -fopenacc to the compile options that causes this. Because the testcase does not use any OpenACC functionality, it should not matter. So something seems to go wrong at omp low

[Bug hsa/70857] [6/7 Regression] ICE with -fopenmp -fopenacc in insert_vi_for_tree, at tree-ssa-structalias.c:2813

2016-05-01 Thread jamborm at gcc dot gnu.org
||2016-05-01 Assignee|unassigned at gcc dot gnu.org |jamborm at gcc dot gnu.org Ever confirmed|0 |1

[Bug hsa/70857] [6/7 Regression] ICE with -fopenmp -fopenacc in insert_vi_for_tree, at tree-ssa-structalias.c:2813

2016-05-12 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70857 --- Comment #4 from Martin Jambor --- This bug is a consequence of false sharing of a RESULT_DECL between the CPU-intended OpenMP outlined function and the HSA-intended outlined (kernel) one. How come -fopenacc is necessary to trigger it, I don'

[Bug tree-optimization/70919] [6/7 Regression] wrong code at -O1 on x86_64-linux-gnu in 32-bit mode

2016-05-12 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70919 --- Comment #2 from Martin Jambor --- The problem is that late SRA replaces scalar loads from constant pool by replacements but fails to add their initializations to the beginning of the function. The reason for the omission is that initialize_c

[Bug tree-optimization/70884] [6/7 regression] 2nd SRA pass confused by load from constant pool

2016-05-13 Thread jamborm at gcc dot gnu.org
||jamborm at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |jamborm at gcc dot gnu.org --- Comment #4 from Martin Jambor --- I'm working on this (using the PR 70719 testcase, though).

[Bug tree-optimization/70884] [6/7 regression] 2nd SRA pass confused by load from constant pool

2016-05-13 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70884 --- Comment #5 from Martin Jambor --- Oh, I have not noticed that Eric was already working on this. In any event, I've posted my proposed patch to fix this, it is at: https://gcc.gnu.org/ml/gcc-patches/2016-05/msg01016.html

[Bug hsa/70857] [6/7 Regression] ICE with -fopenmp -fopenacc in insert_vi_for_tree, at tree-ssa-structalias.c:2813

2016-05-16 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70857 --- Comment #5 from Martin Jambor --- Author: jamborm Date: Mon May 16 15:40:30 2016 New Revision: 236291 URL: https://gcc.gnu.org/viewcvs?rev=236291&root=gcc&view=rev Log: [PR 70857] Copy RESULT_DECL of HSA outlined kernel function 2016-05-16

[Bug hsa/70857] [6/7 Regression] ICE with -fopenmp -fopenacc in insert_vi_for_tree, at tree-ssa-structalias.c:2813

2016-05-16 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70857 --- Comment #6 from Martin Jambor --- Author: jamborm Date: Mon May 16 15:57:06 2016 New Revision: 236292 URL: https://gcc.gnu.org/viewcvs?rev=236292&root=gcc&view=rev Log: [PR 70857] Copy RESULT_DECL of HSA outlined kernel function 2016-05-16

[Bug hsa/70857] [6/7 Regression] ICE with -fopenmp -fopenacc in insert_vi_for_tree, at tree-ssa-structalias.c:2813

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

[Bug tree-optimization/71120] [6/7 Regression] Aliasing "struct sockaddr_storage" produces invalid code due to SRA

2016-05-17 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71120 Martin Jambor changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jamborm at gcc dot gnu.org

[Bug ipa/70646] [4.9/5/6/7 Regression] Corrupt truncated function

2016-05-18 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70646 --- Comment #32 from Martin Jambor --- Author: jamborm Date: Wed May 18 13:04:23 2016 New Revision: 236389 URL: https://gcc.gnu.org/viewcvs?rev=236389&root=gcc&view=rev Log: [PR 70646] Store size to inlining predicate conditions 2016-05-18 Mar

[Bug ipa/70646] [4.9/5/6/7 Regression] Corrupt truncated function

2016-05-18 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70646 --- Comment #33 from Martin Jambor --- Author: jamborm Date: Wed May 18 13:06:24 2016 New Revision: 236390 URL: https://gcc.gnu.org/viewcvs?rev=236390&root=gcc&view=rev Log: Respect --param ipa-max-agg-items=0 2016-05-18 Martin Jambor

[Bug ipa/69708] ipa inline not working for function reference in static const struct

2016-05-18 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69708 --- Comment #5 from Martin Jambor --- Author: jamborm Date: Wed May 18 16:38:56 2016 New Revision: 236416 URL: https://gcc.gnu.org/viewcvs?rev=236416&root=gcc&view=rev Log: Indirect inlining of targets from references of global constants 2016-0

[Bug ipa/69708] ipa inline not working for function reference in static const struct

2016-05-18 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69708 --- Comment #6 from Martin Jambor --- Author: jamborm Date: Wed May 18 16:41:19 2016 New Revision: 236417 URL: https://gcc.gnu.org/viewcvs?rev=236417&root=gcc&view=rev Log: Const parameters are always unmodified 2016-05-18 Martin Jambor

[Bug ipa/69708] ipa inline not working for function reference in static const struct

2016-05-18 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69708 --- Comment #7 from Martin Jambor --- Author: jamborm Date: Wed May 18 16:44:08 2016 New Revision: 236418 URL: https://gcc.gnu.org/viewcvs?rev=236418&root=gcc&view=rev Log: Allow constant global VAR_DECLs in constant jump functions 2016-05-18

[Bug ipa/69708] ipa inline not working for function reference in static const struct

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

[Bug ipa/70646] [4.9/5/6 Regression] Corrupt truncated function

2016-05-19 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70646 --- Comment #35 from Martin Jambor --- Author: jamborm Date: Thu May 19 15:00:12 2016 New Revision: 236463 URL: https://gcc.gnu.org/viewcvs?rev=236463&root=gcc&view=rev Log: Respect --param ipa-max-agg-items=0 2016-05-19 Martin Jambor

[Bug ipa/70646] [4.9/5/6 Regression] Corrupt truncated function

2016-05-19 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70646 --- Comment #34 from Martin Jambor --- Author: jamborm Date: Thu May 19 14:56:35 2016 New Revision: 236462 URL: https://gcc.gnu.org/viewcvs?rev=236462&root=gcc&view=rev Log: [PR 70646] Store size to inlining predicate conditions 2016-05-19 Mar

[Bug ipa/70646] [4.9/5/6 Regression] Corrupt truncated function

2016-05-19 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70646 --- Comment #36 from Martin Jambor --- Author: jamborm Date: Thu May 19 15:09:21 2016 New Revision: 236473 URL: https://gcc.gnu.org/viewcvs?rev=236473&root=gcc&view=rev Log: [PR 70646] Store size to inlining predicate conditions 2016-05-19 Mar

[Bug ipa/70646] [4.9/5/6 Regression] Corrupt truncated function

2016-05-19 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70646 --- Comment #37 from Martin Jambor --- Author: jamborm Date: Thu May 19 15:10:50 2016 New Revision: 236474 URL: https://gcc.gnu.org/viewcvs?rev=236474&root=gcc&view=rev Log: Respect --param ipa-max-agg-items=0 2016-05-19 Martin Jambor

[Bug ipa/70646] [4.9/5/6 Regression] Corrupt truncated function

2016-05-19 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70646 --- Comment #38 from Martin Jambor --- Author: jamborm Date: Thu May 19 15:17:10 2016 New Revision: 236475 URL: https://gcc.gnu.org/viewcvs?rev=236475&root=gcc&view=rev Log: [PR 70646] Store size to inlining predicate conditions 2016-05-19 Mar

[Bug ipa/70646] [4.9/5/6 Regression] Corrupt truncated function

2016-05-19 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70646 --- Comment #39 from Martin Jambor --- Author: jamborm Date: Thu May 19 15:19:59 2016 New Revision: 236476 URL: https://gcc.gnu.org/viewcvs?rev=236476&root=gcc&view=rev Log: Respect --param ipa-max-agg-items=0 2016-05-19 Martin Jambor

[Bug ipa/70646] [4.9/5/6 Regression] Corrupt truncated function

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

[Bug tree-optimization/70884] [6/7 regression] 2nd SRA pass confused by load from constant pool

2016-05-20 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70884 --- Comment #7 from Martin Jambor --- Author: jamborm Date: Fri May 20 21:04:31 2016 New Revision: 236544 URL: https://gcc.gnu.org/viewcvs?rev=236544&root=gcc&view=rev Log: [PR 70884] Constant pool SRA fix 2016-05-20 Martin Jambor P

[Bug tree-optimization/70884] [6 regression] 2nd SRA pass confused by load from constant pool

2016-05-20 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70884 Martin Jambor changed: What|Removed |Added Summary|[6/7 regression] 2nd SRA|[6 regression] 2nd SRA pass

[Bug ipa/71234] Conditional jump or move depends on uninitialised value in ipa_get_indirect_edge_target_1 (ipa-cp.c:2029)

2016-05-23 Thread jamborm at gcc dot gnu.org
||2016-05-23 CC||jamborm at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |jamborm at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Martin Jambor

[Bug tree-optimization/70884] [6 regression] 2nd SRA pass confused by load from constant pool

2016-05-23 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70884 --- Comment #9 from Martin Jambor --- Author: jamborm Date: Mon May 23 11:27:14 2016 New Revision: 236584 URL: https://gcc.gnu.org/viewcvs?rev=236584&root=gcc&view=rev Log: [PR 70884] Constant pool SRA fix 2016-05-23 Martin Jambor P

[Bug tree-optimization/70884] [6 regression] 2nd SRA pass confused by load from constant pool

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

[Bug tree-optimization/70919] [6/7 Regression] wrong code at -O1 on x86_64-linux-gnu in 32-bit mode

2016-05-23 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70919 Bug 70919 depends on bug 70884, which changed state. Bug 70884 Summary: [6 regression] 2nd SRA pass confused by load from constant pool https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70884 What|Removed |Added ---

[Bug ipa/71190] [7 Regression] ICE in assemble_variable_contents, at varasm.c:2054

2016-05-23 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71190 Martin Jambor changed: What|Removed |Added CC||hubicka at gcc dot gnu.org --- Comment #

[Bug ipa/71234] Conditional jump or move depends on uninitialised value in ipa_get_indirect_edge_target_1 (ipa-cp.c:2029)

2016-05-23 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71234 --- Comment #2 from Martin Jambor --- Author: jamborm Date: Mon May 23 16:31:14 2016 New Revision: 236598 URL: https://gcc.gnu.org/viewcvs?rev=236598&root=gcc&view=rev Log: [PR 71234] Avoid valgrind warning in ipa-cp 2016-05-23 Martin Jambor

[Bug ipa/71234] Conditional jump or move depends on uninitialised value in ipa_get_indirect_edge_target_1 (ipa-cp.c:2029)

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

[Bug tree-optimization/71414] 2x slower than clang summing small float array, GCC should consider larger vectorization factor for "unrolling" reductions

2016-06-10 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71414 --- Comment #9 from Martin Jambor --- (In reply to Richard Biener from comment #5) > An interesting observation is that we clone sum32 for IPA-CP of n == 1024 but > for some unknown reason figure Alignment of 'a' as unusable: The function sum32

[Bug hsa/81477] HSA offloading regressions: "function cannot be cloned"

2017-07-27 Thread jamborm at gcc dot gnu.org
gcc dot gnu.org |jamborm at gcc dot gnu.org --- Comment #2 from Martin Jambor --- (In reply to Thomas Schwinge from comment #0) > I noticed that with HSA offloading enabled, as of r250048 ("Avoid global > optimize flag checks in LTO") This is a bug in that commit, version

[Bug hsa/81477] HSA offloading regressions: "function cannot be cloned"

2017-07-28 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81477 --- Comment #3 from Martin Jambor --- I have posted the fix to the mailing list: https://gcc.gnu.org/ml/gcc-patches/2017-07/msg01909.html

[Bug hsa/81477] HSA offloading regressions: "function cannot be cloned"

2017-07-31 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81477 --- Comment #4 from Martin Jambor --- Author: jamborm Date: Mon Jul 31 11:18:31 2017 New Revision: 250738 URL: https://gcc.gnu.org/viewcvs?rev=250738&root=gcc&view=rev Log: [PR 81477] Set versionable regardless of optimization level 2017-07-31

[Bug hsa/81477] HSA offloading regressions: "function cannot be cloned"

2017-07-31 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81477 Martin Jambor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/81673] New: Harmful SLP vectorization

2017-08-02 Thread jamborm at gcc dot gnu.org
Assignee: unassigned at gcc dot gnu.org Reporter: jamborm at gcc dot gnu.org Target Milestone: --- Revision r238364 has changes the cost of vec_construct in ix86_builtin_vectorization_cost. On one hand, the new code correctly models the number of vecotr inserts, but on the other it

[Bug tree-optimization/81673] Harmful SLP vectorization

2017-08-02 Thread jamborm at gcc dot gnu.org
||2017-08-02 Assignee|unassigned at gcc dot gnu.org |jamborm at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #2 from Martin Jambor --- For the record, our plan is to address this with the following patch from Richi (after we

[Bug tree-optimization/81673] Harmful SLP vectorization

2017-08-02 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81673 --- Comment #3 from Martin Jambor --- (In reply to Andrew Pinski from comment #1) > What happens if you use -march=intel. With -mtune=intel, the lower half of the vector is moved directly whereas the upper one is still done through the stack:

[Bug hsa/81713] New: BIT_FIELD_REF produced by Brig FE do not pass new verification

2017-08-04 Thread jamborm at gcc dot gnu.org
Priority: P3 Component: hsa Assignee: unassigned at gcc dot gnu.org Reporter: jamborm at gcc dot gnu.org CC: jamborm at gcc dot gnu.org, marxin at gcc dot gnu.org Target Milestone: --- Running brig FE testsuite reveals new failures: FAIL: brig.dg/test

[Bug hsa/81713] BIT_FIELD_REF produced by Brig FE do not pass new verification

2017-08-04 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81713 Martin Jambor changed: What|Removed |Added CC||pekka.jaaskelainen@parmance

[Bug c++/81702] [7/8 Regression] ICE in gimple_get_virt_method_for_vtable

2017-08-04 Thread jamborm at gcc dot gnu.org
at gcc dot gnu.org |jamborm at gcc dot gnu.org --- Comment #2 from Martin Jambor --- I'll have a look. The assert on in_lto_p is scary though :-)

[Bug c++/81702] [7/8 Regression] ICE in gimple_get_virt_method_for_vtable

2017-08-04 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81702 Martin Jambor changed: What|Removed |Added CC||hubicka at gcc dot gnu.org --- Comment #

[Bug hsa/81713] BIT_FIELD_REF produced by Brig FE do not pass new verification

2017-08-07 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81713 Martin Jambor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libgomp/68033] OpenMP: ICE with teams distribute

2017-08-09 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68033 Martin Jambor changed: What|Removed |Added CC||jamborm at gcc dot gnu.org --- Comment

[Bug ipa/77732] FAIL: gcc.dg/ipa/ipcp-cstagg-7.c scan-ipa-dump-times cp "Discovered an indirect call to a known target" 3

2017-08-11 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77732 --- Comment #2 from Martin Jambor --- (In reply to Martin Liška from comment #1) > So hppa uses invisible reference to pass the struct argument. > Thus I guess we should not run the test-case on hppa target? Martin can you > please take a look?

[Bug tree-optimization/81848] New: Segmentation fault at gimple-ssa-strength-reduction.c:2356

2017-08-14 Thread jamborm at gcc dot gnu.org
Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: jamborm at gcc dot gnu.org Target Milestone: --- Created attachment 41988 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41988&action=edit Testcase Starting with

[Bug tree-optimization/81848] Segmentation fault at gimple-ssa-strength-reduction.c:2356

2017-08-14 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81848 Martin Jambor changed: What|Removed |Added Target||x86_64-linux CC|

[Bug tree-optimization/81354] [5/6 Regression] Segmentation fault in SSA Strength Reduction using -O3

2017-08-14 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81354 Martin Jambor changed: What|Removed |Added CC||jamborm at gcc dot gnu.org --- Comment

[Bug tree-optimization/81848] Segmentation fault at gimple-ssa-strength-reduction.c:2356

2017-08-14 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81848 Martin Jambor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/80689] 128 bit loads generated for structure copying with gcc 7.1.0 and leads to STLF stalls in avx2 targets.

2017-08-18 Thread jamborm at gcc dot gnu.org
||2017-08-18 Assignee|unassigned at gcc dot gnu.org |jamborm at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #8 from Martin Jambor --- I have a prototype patch and will start testing and benchmarking it soon.

[Bug tree-optimization/81673] Harmful SLP vectorization

2017-08-18 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81673 Martin Jambor changed: What|Removed |Added Depends on||80689 --- Comment #5 from Martin Jambor

[Bug tree-optimization/82078] [8 Regression] wrong code at -O3 in both 32-bit and 64-bit modes on x86_64-linux-gnu

2017-09-05 Thread jamborm at gcc dot gnu.org
at gcc dot gnu.org |jamborm at gcc dot gnu.org --- Comment #7 from Martin Jambor --- Reconfirmed and mine.

[Bug tree-optimization/82078] [8 Regression] wrong code at -O3 in both 32-bit and 64-bit modes on x86_64-linux-gnu

2017-09-06 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82078 --- Comment #8 from Martin Jambor --- Thanks for a nice small testcase. I have proposed a fix on the mailing list: https://gcc.gnu.org/ml/gcc-patches/2017-09/msg00321.html

[Bug tree-optimization/82078] [8 Regression] wrong code at -O3 in both 32-bit and 64-bit modes on x86_64-linux-gnu

2017-09-06 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82078 --- Comment #9 from Martin Jambor --- Author: jamborm Date: Wed Sep 6 09:25:00 2017 New Revision: 251756 URL: https://gcc.gnu.org/viewcvs?rev=251756&root=gcc&view=rev Log: Enqueue all SRA links for write flag propagation 2017-09-06 Martin Jam

[Bug hsa/82119] New: Revision 251264 caused a number of run-time HSA failures

2017-09-06 Thread jamborm at gcc dot gnu.org
Priority: P3 Component: hsa Assignee: unassigned at gcc dot gnu.org Reporter: jamborm at gcc dot gnu.org CC: jamborm at gcc dot gnu.org, marxin at gcc dot gnu.org Target Milestone: --- I have tracked a number of new run-time HSA failures to r251264

[Bug hsa/82119] Revision 251264 caused a number of run-time HSA failures

2017-09-06 Thread jamborm at gcc dot gnu.org
||2017-09-06 Assignee|unassigned at gcc dot gnu.org |jamborm at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Martin Jambor --- I will have a look at what is going on.

[Bug hsa/82119] Revision 251264 caused a number of run-time HSA failures

2017-09-11 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82119 --- Comment #2 from Martin Jambor --- Author: jamborm Date: Mon Sep 11 09:09:26 2017 New Revision: 251964 URL: https://gcc.gnu.org/viewcvs?rev=251964&root=gcc&view=rev Log: Make HSA resilient to side-effects of split_edge 2017-09-11 Martin Jam

[Bug hsa/82119] Revision 251264 caused a number of run-time HSA failures

2017-09-11 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82119 Martin Jambor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/78869] [6/7/8 Regression] Strange __builtin_memcpy optimisations

2017-04-21 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78869 Martin Jambor changed: What|Removed |Added Depends on|78687 |80293 --- Comment #4 from Martin Jambor

[Bug ipa/79375] gcc/ipa-prop.c:203:32: runtime error: reference binding to null pointer of type 'struct vec' after revision r244802

2017-04-24 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79375 Martin Jambor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/80293] [6/7/8 Regression] unnecessary code at -O2 (-O1 is fine)

2017-04-24 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80293 --- Comment #6 from Martin Jambor --- Author: jamborm Date: Mon Apr 24 15:13:39 2017 New Revision: 247104 URL: https://gcc.gnu.org/viewcvs?rev=247104&root=gcc&view=rev Log: [PR 80293] Dont totally-scalarize char arrays 2017-04-24 Martin Jambor

[Bug tree-optimization/80293] [6/7 Regression] unnecessary code at -O2 (-O1 is fine)

2017-04-24 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80293 Martin Jambor changed: What|Removed |Added URL||https://gcc.gnu.org/ml/gcc-

[Bug target/80505] FAIL: gcc.dg/ipa/iinline-attr.c scan-ipa-dump inline "hooray[^\\n]*inline copy in test"

2017-04-27 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80505 Martin Jambor changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/80505] FAIL: gcc.dg/ipa/iinline-attr.c scan-ipa-dump inline "hooray[^\\n]*inline copy in test"

2017-04-27 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80505 Martin Jambor changed: What|Removed |Added CC||jamborm at gcc dot gnu.org

[Bug target/80505] FAIL: gcc.dg/ipa/iinline-attr.c scan-ipa-dump inline "hooray[^\\n]*inline copy in test"

2017-04-28 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80505 --- Comment #4 from Martin Jambor --- (In reply to Martin Liška from comment #3) > > And by the way, I tend to think that the testcase should use > > -fno-indirect-inlining option, the indirect call is direct when the > > IPA layer sees it. > >

[Bug tree-optimization/78687] inefficient code generated for eggs.variant

2017-05-02 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78687 --- Comment #7 from Martin Jambor --- Author: jamborm Date: Tue May 2 12:49:55 2017 New Revision: 247497 URL: https://gcc.gnu.org/viewcvs?rev=247497&root=gcc&view=rev Log: [PR 78687] Set SRA grp_write lazily 2017-05-02 Martin Jambor

[Bug tree-optimization/78687] inefficient code generated for eggs.variant

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

[Bug tree-optimization/80622] [8 Regression] wrong code at -O1 and above in both 32-bit and 64-bit modes on x86_64-linux-gnu

2017-05-04 Thread jamborm at gcc dot gnu.org
at gcc dot gnu.org |jamborm at gcc dot gnu.org --- Comment #5 from Martin Jambor --- Mine.

[Bug tree-optimization/80622] [8 Regression] wrong code at -O1 and above in both 32-bit and 64-bit modes on x86_64-linux-gnu

2017-05-04 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80622 --- Comment #6 from Martin Jambor --- The simplest fix is the following, but I'll move the whole test a bit earlier in a patch to the mailing list: diff --git a/gcc/tree-sra.c b/gcc/tree-sra.c index 1606573aead..79ca1666c15 100644 --- a/gcc/tree

[Bug tree-optimization/80622] [8 Regression] wrong code at -O1 and above in both 32-bit and 64-bit modes on x86_64-linux-gnu

2017-05-04 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80622 --- Comment #7 from Martin Jambor --- (In reply to Martin Jambor from comment #6) > The simplest fix is the following, but I'll move the whole test a bit > earlier in a patch to the mailing list: Which is now posted at https://gcc.gnu.org/ml/gcc

[Bug tree-optimization/80622] [8 Regression] wrong code at -O1 and above in both 32-bit and 64-bit modes on x86_64-linux-gnu

2017-05-04 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80622 --- Comment #8 from Martin Jambor --- Author: jamborm Date: Thu May 4 16:19:20 2017 New Revision: 247604 URL: https://gcc.gnu.org/viewcvs?rev=247604&root=gcc&view=rev Log: [PR 80622] Treat const pools as initialized in SRA 2017-05-04 Martin J

[Bug tree-optimization/80622] [8 Regression] wrong code at -O1 and above in both 32-bit and 64-bit modes on x86_64-linux-gnu

2017-05-09 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80622 Martin Jambor changed: What|Removed |Added URL||https://gcc.gnu.org/ml/gcc-

[Bug tree-optimization/80622] [8 Regression] wrong code at -O1 and above in both 32-bit and 64-bit modes on x86_64-linux-gnu

2017-05-09 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80622 Martin Jambor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug ipa/80735] IPA: SRA inhibits constant propagation of structs across multiple function calls

2017-05-15 Thread jamborm at gcc dot gnu.org
||2017-05-15 CC||jamborm at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Martin Jambor --- Confirmed and probably not easily fixable in the current IPA-SRA framework. IPA SRA changes the IRA in a way

[Bug tree-optimization/80898] [8 Regression] wrong code at -O2 and -O3 in both 32-bit and 64-bit modes on x86_64-linux-gnu

2017-05-29 Thread jamborm at gcc dot gnu.org
at gcc dot gnu.org |jamborm at gcc dot gnu.org --- Comment #4 from Martin Jambor --- I will have a look.

[Bug other/80803] libgo appears to be miscompiled on powerpc64le since r247497

2017-05-30 Thread jamborm at gcc dot gnu.org
at gcc dot gnu.org |jamborm at gcc dot gnu.org --- Comment #21 from Martin Jambor --- I will have a look after dealing with PR 80898 which seems to be easier to reproduce. With some luck, it is going to be the same bug.

[Bug tree-optimization/80293] [6/7 Regression] unnecessary code at -O2 (-O1 is fine)

2017-05-31 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80293 Martin Jambor changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/80293] [6/7 Regression] unnecessary code at -O2 (-O1 is fine)

2017-05-31 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80293 --- Comment #8 from Martin Jambor --- Author: jamborm Date: Wed May 31 08:45:23 2017 New Revision: 248724 URL: https://gcc.gnu.org/viewcvs?rev=248724&root=gcc&view=rev Log: [PR 80293] Dont totally-scalarize char arrays 2017-05-31 Martin Jambor

[Bug tree-optimization/78869] [6/7/8 Regression] Strange __builtin_memcpy optimisations

2017-05-31 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78869 Bug 78869 depends on bug 80293, which changed state. Bug 80293 Summary: [6/7 Regression] unnecessary code at -O2 (-O1 is fine) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80293 What|Removed |Added -

[Bug tree-optimization/80898] [8 Regression] wrong code at -O2 and -O3 in both 32-bit and 64-bit modes on x86_64-linux-gnu

2017-05-31 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80898 --- Comment #5 from Martin Jambor --- Created attachment 41443 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41443&action=edit First fix This patch fixes the issue, but I think I can now think of a slightly more complicated scenario in wh

[Bug tree-optimization/80898] [8 Regression] wrong code at -O2 and -O3 in both 32-bit and 64-bit modes on x86_64-linux-gnu

2017-06-01 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80898 --- Comment #6 from Martin Jambor --- Author: jamborm Date: Thu Jun 1 12:14:29 2017 New Revision: 248790 URL: https://gcc.gnu.org/viewcvs?rev=248790&root=gcc&view=rev Log: [PR 80898] Propagate grp_write from disqualified SRA candidates 2017-06

[Bug tree-optimization/80898] [8 Regression] wrong code at -O2 and -O3 in both 32-bit and 64-bit modes on x86_64-linux-gnu

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

[Bug other/80803] libgo appears to be miscompiled on powerpc64le since r247497

2017-06-01 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80803 --- Comment #22 from Martin Jambor --- So, PR 80898 is now fixed. Can you please check if this is perhaps a duplicate? It may as well be.

[Bug other/80803] libgo appears to be miscompiled on powerpc64le since r247497

2017-06-05 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80803 --- Comment #25 from Martin Jambor --- (In reply to boger from comment #17) > I run these tests after a build by first editing the > src/libgo/testsuite/gotest to set keep=true and trace=true. Then I go to my > bld directory: > > cd bld/powerpc

[Bug other/80803] libgo appears to be miscompiled on powerpc64le since r247497

2017-06-09 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80803 --- Comment #27 from Martin Jambor --- Created attachment 41517 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41517&action=edit Hack for revealing compiler command lines Thanks Ian, the above was definitely helpful but did not allow me to

[Bug other/80803] libgo appears to be miscompiled on powerpc64le since r247497

2017-06-09 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80803 --- Comment #28 from Martin Jambor --- Created attachment 41518 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41518&action=edit Possible fix I'm testing the attached two patches which should fix the issue. If everything goes well, I will

[Bug other/80803] libgo appears to be miscompiled on powerpc64le since r247497

2017-06-12 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80803 --- Comment #30 from Martin Jambor --- I have posted the following two patches to fix this issue to the mailing list. The second one also includes two simple C testcases: - https://gcc.gnu.org/ml/gcc-patches/2017-06/msg00833.html - https://

[Bug tree-optimization/81063] [8 Regression] wrong code at -O1 and above on x86_64-linux-gnu

2017-06-12 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81063 Martin Jambor changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

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