[Bug tree-optimization/77921] [7 Regression] tree-ssanames.c miscompiled during PGO bootstrap

2016-10-10 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77921 --- Comment #4 from kugan at gcc dot gnu.org --- Sorry about the breakage. I will try to reproduce it. (In reply to Markus Trippelsdorf from comment #1) > gcc version 7.0.0 20161007 was fine Are you saying that this is issue is gone lat

[Bug tree-optimization/77862] [7 Regression] ice in add_equivalence

2016-10-06 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77862 --- Comment #5 from kugan at gcc dot gnu.org --- Author: kugan Date: Thu Oct 6 19:58:46 2016 New Revision: 240842 URL: https://gcc.gnu.org/viewcvs?rev=240842=gcc=rev Log: Fix PR77862 gcc/testsuite/ChangeLog: 2016-10-06 Kugan Vivekanandarajah

[Bug tree-optimization/77862] [7 Regression] ice in add_equivalence

2016-10-05 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77862 --- Comment #4 from kugan at gcc dot gnu.org --- patch posted for review at: https://gcc.gnu.org/ml/gcc-patches/2016-10/msg00349.html

[Bug tree-optimization/77677] [7 Regression] ICE at -O1 and above in both 32-bit and 64-bit modes on x86_64-linux-gnu (internal compiler error: in set_value_range, at tree-vrp.c:361)

2016-09-26 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77677 --- Comment #11 from kugan at gcc dot gnu.org --- Author: kugan Date: Tue Sep 27 03:41:14 2016 New Revision: 240517 URL: https://gcc.gnu.org/viewcvs?rev=240517=gcc=rev Log: Fix ipa-vrp convert value_range gcc/ChangeLog: 2016-09-27 Kugan

[Bug tree-optimization/77719] [7 Regression] ICE in pp_string, at pretty-print.c:955

2016-09-26 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77719 --- Comment #7 from kugan at gcc dot gnu.org --- Author: kugan Date: Mon Sep 26 18:16:23 2016 New Revision: 240505 URL: https://gcc.gnu.org/viewcvs?rev=240505=gcc=rev Log: Fix PR77719 gcc/testsuite/ChangeLog: 2016-09-26 Kugan Vivekanandarajah

[Bug tree-optimization/77719] [7 Regression] ICE in pp_string, at pretty-print.c:955

2016-09-24 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77719 kugan at gcc dot gnu.org changed: What|Removed |Added CC||kugan at gcc dot gnu.org

[Bug tree-optimization/77677] [7 Regression] ICE at -O1 and above in both 32-bit and 64-bit modes on x86_64-linux-gnu (internal compiler error: in set_value_range, at tree-vrp.c:361)

2016-09-23 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77677 --- Comment #10 from kugan at gcc dot gnu.org --- (In reply to Pat Haugen from comment #9) > (In reply to kugan from comment #8) > > Author: kugan > > Date: Fri Sep 23 10:25:09 2016 > > New Revision: 240420 > > &

[Bug tree-optimization/77677] [7 Regression] ICE at -O1 and above in both 32-bit and 64-bit modes on x86_64-linux-gnu (internal compiler error: in set_value_range, at tree-vrp.c:361)

2016-09-23 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77677 --- Comment #8 from kugan at gcc dot gnu.org --- Author: kugan Date: Fri Sep 23 10:25:09 2016 New Revision: 240420 URL: https://gcc.gnu.org/viewcvs?rev=240420=gcc=rev Log: Drop TREE_OVERFLOW gcc/ChangeLog: 2016-09-23 Kugan Vivekanandarajah

[Bug tree-optimization/77677] [7 Regression] ICE at -O1 and above in both 32-bit and 64-bit modes on x86_64-linux-gnu (internal compiler error: in set_value_range, at tree-vrp.c:361)

2016-09-22 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77677 --- Comment #7 from kugan at gcc dot gnu.org --- (In reply to Bill Seurer from comment #6) > The test case 176.gcc in the spec2000 benchmarks still fails apparently with > the same error even after 240352 > > (this is with 240383)

[Bug tree-optimization/72835] [7 Regression] Incorrect arithmetic optimization involving bitfield arguments

2016-09-20 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72835 --- Comment #5 from kugan at gcc dot gnu.org --- Author: kugan Date: Wed Sep 21 03:28:24 2016 New Revision: 240299 URL: https://gcc.gnu.org/viewcvs?rev=240299=gcc=rev Log: Incorrect arithmetic optimization involving bitfield arguments gcc

[Bug rtl-optimization/77499] [7 Regression] Regression after code-hoisting, due to combine pass failing to evaluate known value range

2016-09-13 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77499 --- Comment #13 from kugan at gcc dot gnu.org --- (In reply to avieira from comment #12) > I heard Kugan was working on getting rid of superfluous zero_extends. Adding > him to the watch list. > > @Kugan: Could your work help this ca

[Bug tree-optimization/77387] Value range not computed in some cases for ABS_EXPR

2016-08-25 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77387 --- Comment #1 from kugan at gcc dot gnu.org --- With : diff --git a/gcc/tree-vrp.c b/gcc/tree-vrp.c index e4d789b..2d1f4c8 100644 --- a/gcc/tree-vrp.c +++ b/gcc/tree-vrp.c @@ -3416,6 +3416,17 @@ extract_range_from_unary_expr_1 (value_range *vr

[Bug tree-optimization/77387] New: Value range not computed in some cases for ABS_EXPR

2016-08-25 Thread kugan at gcc dot gnu.org
Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: kugan at gcc dot gnu.org Target Milestone: --- For testcase: int foo (int i) { int x = i; x = __builtin_abs (i); x >>= 24; if (x > 256) return 0; return x; } vrp1 dump is: Val

[Bug tree-optimization/61839] More optimize opportunity for VRP

2016-08-19 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61839 --- Comment #3 from kugan at gcc dot gnu.org --- Author: kugan Date: Sat Aug 20 01:18:09 2016 New Revision: 239637 URL: https://gcc.gnu.org/viewcvs?rev=239637=gcc=rev Log: gcc/testsuite/ChangeLog: 2016-08-20 Kugan Vivekanandarajah <

[Bug tree-optimization/72835] [7 Regression] Incorrect arithmetic optimization involving bitfield arguments

2016-08-09 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72835 --- Comment #4 from kugan at gcc dot gnu.org --- Looks like it was a latent issue. In rewrite_expr_tree, when re-associate operands, we should reset range_info for the LHS. We don’t do that now. Following patch fixes the test case. diff --git

[Bug tree-optimization/72835] [7 Regression] Incorrect arithmetic optimization involving bitfield arguments

2016-08-09 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72835 kugan at gcc dot gnu.org changed: What|Removed |Added CC||kugan at gcc dot gnu.org

[Bug rtl-optimization/68217] Wrong constant folding

2016-07-28 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68217 --- Comment #4 from kugan at gcc dot gnu.org --- Author: kugan Date: Fri Jul 29 00:35:23 2016 New Revision: 238846 URL: https://gcc.gnu.org/viewcvs?rev=238846=gcc=rev Log: gcc/ChangeLog: 2016-07-29 Kugan Vivekanandarajah <kug...@linaro.

[Bug tree-optimization/71994] [7 Regression] ICE: verify_gimple failed

2016-07-27 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71994 --- Comment #5 from kugan at gcc dot gnu.org --- Author: kugan Date: Wed Jul 27 23:02:44 2016 New Revision: 238803 URL: https://gcc.gnu.org/viewcvs?rev=238803=gcc=rev Log: gcc/testsuite/ChangeLog: 2016-07-28 Kugan Vivekanandarajah <

[Bug tree-optimization/71994] [7 Regression] ICE: verify_gimple failed

2016-07-27 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71994 --- Comment #4 from kugan at gcc dot gnu.org --- Author: kugan Date: Wed Jul 27 22:45:46 2016 New Revision: 238802 URL: https://gcc.gnu.org/viewcvs?rev=238802=gcc=rev Log: gcc/testsuite/ChangeLog: 2016-07-28 Kugan Vivekanandarajah <

[Bug tree-optimization/71994] [7 Regression] ICE: verify_gimple failed

2016-07-25 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71994 --- Comment #2 from kugan at gcc dot gnu.org --- Patch to fix this is posted for review at https://gcc.gnu.org/ml/gcc-patches/2016-07/msg01680.html

[Bug tree-optimization/66726] missed optimization, factor conversion out of COND_EXPR

2016-07-24 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66726 --- Comment #19 from kugan at gcc dot gnu.org --- Author: kugan Date: Sun Jul 24 12:47:29 2016 New Revision: 238695 URL: https://gcc.gnu.org/viewcvs?rev=238695=gcc=rev Log: gcc/ChangeLog: 2016-07-24 Kugan Vivekanandarajah <kug...@linaro.

[Bug tree-optimization/71170] [7 Regression] ICE in rewrite_expr_tree, at tree-ssa-reassoc.c:3898

2016-06-11 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71170 --- Comment #17 from kugan at gcc dot gnu.org --- (In reply to kugan from comment #15) > (In reply to David Binderman from comment #14) > > (In reply to Jakub Jelinek from comment #12) > > > Is it still broken? > > &g

[Bug tree-optimization/71170] [7 Regression] ICE in rewrite_expr_tree, at tree-ssa-reassoc.c:3898

2016-06-11 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71170 --- Comment #16 from kugan at gcc dot gnu.org --- (In reply to kugan from comment #10) > Author: kugan > Date: Tue May 24 00:14:13 2016 > New Revision: 236619 > > URL: https://gcc.gnu.org/viewcvs?rev=236619=gcc=rev > Lo

[Bug tree-optimization/71478] [7 Regression] ICE in tree-ssa-reassoc.c after r236564

2016-06-10 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71478 --- Comment #4 from kugan at gcc dot gnu.org --- Fixed.

[Bug tree-optimization/71478] [7 Regression] ICE in tree-ssa-reassoc.c after r236564

2016-06-10 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71478 --- Comment #3 from kugan at gcc dot gnu.org --- Author: kugan Date: Fri Jun 10 21:57:01 2016 New Revision: 237318 URL: https://gcc.gnu.org/viewcvs?rev=237318=gcc=rev Log: gcc/testsuite/ChangeLog: 2016-06-11 Kugan Vivekanandarajah <

[Bug tree-optimization/71170] [7 Regression] ICE in rewrite_expr_tree, at tree-ssa-reassoc.c:3898

2016-06-10 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71170 --- Comment #15 from kugan at gcc dot gnu.org --- (In reply to David Binderman from comment #14) > (In reply to Jakub Jelinek from comment #12) > > Is it still broken? > > I think so. Attachment seems to break svn 237286, dated to

[Bug target/71281] [7 Regression] ICE on gcc trunk on knl, wsm, ivb and bdw targets (tree-ssa-reassoc)

2016-06-10 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71281 --- Comment #9 from kugan at gcc dot gnu.org --- (In reply to Anton Mitrokhin from comment #8) > Is this fixed? Yes. Is this still not working for you?

[Bug tree-optimization/71478] [7 Regression] ICE in tree-ssa-reassoc.c after r236564

2016-06-09 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71478 kugan at gcc dot gnu.org changed: What|Removed |Added CC||kugan at gcc dot gnu.org

[Bug tree-optimization/71408] [7 Regression] wrong code at -Os and above on x86_64-linux-gnu

2016-06-06 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71408 --- Comment #5 from kugan at gcc dot gnu.org --- Author: kugan Date: Mon Jun 6 23:46:11 2016 New Revision: 237158 URL: https://gcc.gnu.org/viewcvs?rev=237158=gcc=rev Log: gcc/ChangeLog: 2016-06-07 Kugan Vivekanandarajah <kug...@linaro.

[Bug target/71281] [7 Regression] ICE on gcc trunk on knl, wsm, ivb and bdw targets (tree-ssa-reassoc)

2016-06-06 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71281 --- Comment #7 from kugan at gcc dot gnu.org --- Author: kugan Date: Mon Jun 6 23:41:26 2016 New Revision: 237157 URL: https://gcc.gnu.org/viewcvs?rev=237157=gcc=rev Log: gcc/ChangeLog: 2016-06-07 Kugan Vivekanandarajah <kug...@linaro.

[Bug tree-optimization/71408] [7 Regression] wrong code at -Os and above on x86_64-linux-gnu

2016-06-05 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71408 --- Comment #4 from kugan at gcc dot gnu.org --- Patch posted for review at https://gcc.gnu.org/ml/gcc-patches/2016-06/msg00330.html

[Bug tree-optimization/71408] [7 Regression] wrong code at -Os and above on x86_64-linux-gnu

2016-06-04 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71408 --- Comment #3 from kugan at gcc dot gnu.org --- Looking into it. Looks like zero_one_operation is still broken.

[Bug target/71281] [7 Regression] ICE on gcc trunk on knl, wsm, ivb and bdw targets (tree-ssa-reassoc)

2016-06-03 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71281 --- Comment #6 from kugan at gcc dot gnu.org --- Patch posted for review at https://gcc.gnu.org/ml/gcc-patches/2016-06/msg00316.html

[Bug target/71281] [7 Regression] ICE on gcc trunk on knl, wsm, ivb and bdw targets (tree-ssa-reassoc)

2016-06-03 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71281 --- Comment #5 from kugan at gcc dot gnu.org --- Created attachment 38640 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38640=edit proposed patch testing this patch.

[Bug target/71281] [7 Regression] ICE on gcc trunk on knl, wsm, ivb and bdw targets (tree-ssa-reassoc)

2016-06-03 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71281 --- Comment #4 from kugan at gcc dot gnu.org --- Sorry about the breakage. Looking into it.

[Bug bootstrap/71292] Bootstrap failure with segfault in tree-reassoc.c

2016-05-30 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71292 --- Comment #5 from kugan at gcc dot gnu.org --- Author: kugan Date: Mon May 30 10:47:57 2016 New Revision: 236876 URL: https://gcc.gnu.org/viewcvs?rev=236876=gcc=rev Log: gcc/testsuite/ChangeLog: 2016-05-30 Kugan Vivekanandarajah <

[Bug tree-optimization/71252] [7 Regression] ICE: verify_ssa failed : definition in block 7 does not dominate use in block 6

2016-05-30 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71252 --- Comment #22 from kugan at gcc dot gnu.org --- Author: kugan Date: Mon May 30 10:47:57 2016 New Revision: 236876 URL: https://gcc.gnu.org/viewcvs?rev=236876=gcc=rev Log: gcc/testsuite/ChangeLog: 2016-05-30 Kugan Vivekanandarajah <

[Bug middle-end/71269] [7 Regression] segfault while compiling sqlite

2016-05-30 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71269 --- Comment #16 from kugan at gcc dot gnu.org --- Author: kugan Date: Mon May 30 10:47:57 2016 New Revision: 236876 URL: https://gcc.gnu.org/viewcvs?rev=236876=gcc=rev Log: gcc/testsuite/ChangeLog: 2016-05-30 Kugan Vivekanandarajah <

[Bug tree-optimization/71252] [7 Regression] ICE: verify_ssa failed : definition in block 7 does not dominate use in block 6

2016-05-30 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71252 --- Comment #21 from kugan at gcc dot gnu.org --- Author: kugan Date: Mon May 30 10:45:19 2016 New Revision: 236875 URL: https://gcc.gnu.org/viewcvs?rev=236875=gcc=rev Log: gcc/ChangeLog: 2016-05-30 Kugan Vivekanandarajah <kug...@linaro.

[Bug tree-optimization/71323] [7 Regression] ice in verify_ssa failed

2016-05-30 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71323 kugan at gcc dot gnu.org changed: What|Removed |Added CC||kugan at gcc dot gnu.org

[Bug tree-optimization/71252] [7 Regression] ICE: verify_ssa failed : definition in block 7 does not dominate use in block 6

2016-05-26 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71252 kugan at gcc dot gnu.org changed: What|Removed |Added CC||hjl.tools at gmail dot com

[Bug middle-end/71284] [7 Regression] internal compiler error: Segmentation fault

2016-05-26 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71284 kugan at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC

[Bug tree-optimization/71252] [7 Regression] ICE: verify_ssa failed : definition in block 7 does not dominate use in block 6

2016-05-26 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71252 kugan at gcc dot gnu.org changed: What|Removed |Added CC||trippels at gcc dot gnu.org

[Bug middle-end/71269] [7 Regression] segfault while compiling sqlite

2016-05-26 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71269 kugan at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution

[Bug tree-optimization/71252] [7 Regression] ICE: verify_ssa failed : definition in block 7 does not dominate use in block 6

2016-05-26 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71252 kugan at gcc dot gnu.org changed: What|Removed |Added CC||ktkachov at gcc dot gnu.org

[Bug bootstrap/71292] Bootstrap failure with segfault in tree-reassoc.c

2016-05-26 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71292 kugan at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution

[Bug bootstrap/71292] Bootstrap failure with segfault in tree-reassoc.c

2016-05-26 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71292 --- Comment #2 from kugan at gcc dot gnu.org --- (In reply to kugan from comment #1) > (In reply to ktkachov from comment #0) > > An aarch64-none-linux-gnu bootstrap with an in-tree mpfr fails with an ICE: > > exp_2.i: I

[Bug bootstrap/71292] Bootstrap failure with segfault in tree-reassoc.c

2016-05-26 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71292 --- Comment #1 from kugan at gcc dot gnu.org --- (In reply to ktkachov from comment #0) > An aarch64-none-linux-gnu bootstrap with an in-tree mpfr fails with an ICE: > exp_2.i: In function ‘fn1’: > exp_2.i:4:6: internal compi

[Bug middle-end/71269] [7 Regression] segfault while compiling sqlite

2016-05-26 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71269 --- Comment #12 from kugan at gcc dot gnu.org --- (In reply to Markus Trippelsdorf from comment #11) > > Sorry, I missed that. > > > > on x86-64-linux-gnu, with the current trunk: > > ./build/gcc/cc1 -O2 m_mallocfree.i

[Bug middle-end/71269] [7 Regression] segfault while compiling sqlite

2016-05-26 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71269 --- Comment #10 from kugan at gcc dot gnu.org --- (In reply to Markus Trippelsdorf from comment #9) > (In reply to kugan from comment #8) > > (In reply to Roger Orr from comment #7) > > > I've got a very similar problem,

[Bug tree-optimization/71252] [7 Regression] ICE: verify_ssa failed : definition in block 7 does not dominate use in block 6

2016-05-26 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71252 --- Comment #14 from kugan at gcc dot gnu.org --- (In reply to Roger Orr from comment #13) > The patch sadly does not appear to fix the (very similar looking) valgrind > compilation failure I posted in pr71269. > > https://gcc.gnu.

[Bug middle-end/71269] [7 Regression] segfault while compiling sqlite

2016-05-26 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71269 --- Comment #8 from kugan at gcc dot gnu.org --- (In reply to Roger Orr from comment #7) > I've got a very similar problem, building valgrind with trunk revision > 236644: > > m_mallocfree.c: In function 'sanity_check_

[Bug tree-optimization/71252] [7 Regression] ICE: verify_ssa failed : definition in block 7 does not dominate use in block 6

2016-05-26 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71252 --- Comment #12 from kugan at gcc dot gnu.org --- Posted patch at: https://gcc.gnu.org/ml/gcc-patches/2016-05/msg02061.html

[Bug middle-end/71269] [7 Regression] segfault while compiling sqlite

2016-05-25 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71269 --- Comment #3 from kugan at gcc dot gnu.org --- (In reply to Markus Trippelsdorf from comment #2) > Started with r236634. Hi Markus, This looks like dup of PR71252. I have a patch for which I am testing now. Do you have a preprocessed fil

[Bug tree-optimization/71252] [7 Regression] ICE: verify_ssa failed : definition in block 7 does not dominate use in block 6

2016-05-25 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71252 --- Comment #9 from kugan at gcc dot gnu.org --- What application is this testcase from? I have a patch which I want to try.

[Bug tree-optimization/71252] [7 Regression] ICE: verify_ssa failed : definition in block 7 does not dominate use in block 6

2016-05-25 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71252 --- Comment #8 from kugan at gcc dot gnu.org --- Sorry for the breakage. I can reproduce this. I am looking into it.

[Bug tree-optimization/71230] [7 Regression] ICE : in zero_one_operation, at tree-ssa-reassoc.c:1230

2016-05-24 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71230 --- Comment #15 from kugan at gcc dot gnu.org --- > internal compiler error: Segmentation fault > 0x1090f973 crash_signal > /home/seurer/gcc/gcc-test/gcc/toplev.c:333 > 0x10b12ca0 sort_by_operand_rank > /home/seurer/g

[Bug tree-optimization/71252] [7 Regression] ICE: verify_ssa failed : definition in block 7 does not dominate use in block 6

2016-05-24 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71252 --- Comment #4 from kugan at gcc dot gnu.org --- Author: kugan Date: Tue May 24 10:50:01 2016 New Revision: 236634 URL: https://gcc.gnu.org/viewcvs?rev=236634=gcc=rev Log: gcc/testsuite/ChangeLog: 2016-05-24 Kugan Vivekanandarajah <

[Bug middle-end/71252] [7 Regression] ICE: verify_ssa failed : definition in block 7 does not dominate use in block 6

2016-05-24 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71252 --- Comment #2 from kugan at gcc dot gnu.org --- Created attachment 38549 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38549=edit untested patch testing this patch which fixes this.

[Bug middle-end/71252] [7 Regression] ICE: verify_ssa failed : definition in block 7 does not dominate use in block 6

2016-05-24 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71252 kugan at gcc dot gnu.org changed: What|Removed |Added CC||kugan at gcc dot gnu.org

[Bug tree-optimization/71170] [7 Regression] ICE in rewrite_expr_tree, at tree-ssa-reassoc.c:3898

2016-05-23 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71170 --- Comment #10 from kugan at gcc dot gnu.org --- Author: kugan Date: Tue May 24 00:14:13 2016 New Revision: 236619 URL: https://gcc.gnu.org/viewcvs?rev=236619=gcc=rev Log: gcc/ChangeLog: 2016-05-24 Kugan Vivekanandarajah <kug...@linaro.

[Bug tree-optimization/40921] missed optimization: x + (-y * z * z) => x - y * z * z

2016-05-22 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40921 --- Comment #5 from kugan at gcc dot gnu.org --- Author: kugan Date: Sun May 22 08:13:13 2016 New Revision: 236564 URL: https://gcc.gnu.org/viewcvs?rev=236564=gcc=rev Log: gcc/testsuite/ChangeLog: 2016-05-22 Kugan Vivekanandarajah <

[Bug tree-optimization/71179] [7 Regression] ice fold_convert_loc, at fold-const.c:2360

2016-05-21 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71179 --- Comment #4 from kugan at gcc dot gnu.org --- Author: kugan Date: Sat May 21 07:09:16 2016 New Revision: 236554 URL: https://gcc.gnu.org/viewcvs?rev=236554=gcc=rev Log: gcc/testsuite/ChangeLog: 2016-05-21 Kugan Vivekanandarajah <

[Bug tree-optimization/71179] [7 Regression] ice fold_convert_loc, at fold-const.c:2360

2016-05-19 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71179 --- Comment #3 from kugan at gcc dot gnu.org --- Created attachment 38521 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38521=edit untested patch

[Bug tree-optimization/71170] [7 Regression] ICE in rewrite_expr_tree, at tree-ssa-reassoc.c:3898

2016-05-19 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71170 --- Comment #9 from kugan at gcc dot gnu.org --- We could also move _17 = c_7(D) * 3; at tree-ssa-reassoc.c:3897 satisfy the gcc_assert. We could do this based on the use count of _17? any suggestions?

[Bug tree-optimization/71170] [7 Regression] ICE in rewrite_expr_tree, at tree-ssa-reassoc.c:3898

2016-05-19 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71170 --- Comment #8 from kugan at gcc dot gnu.org --- My patch is not going to work. At tree-ssa-reassoc.c:3897, we have: stmt: _15 = _4 + c_7(D); oe->op def_stmt: _17 = c_7(D) * 3; : a1_6 = s_5(D) * 2; _1 = (long int) a1_6; x1_8 = _1 + c_

[Bug tree-optimization/71170] [7 Regression] ICE in rewrite_expr_tree, at tree-ssa-reassoc.c:3898

2016-05-18 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71170 --- Comment #7 from kugan at gcc dot gnu.org --- Created attachment 38519 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38519=edit Another way to fix Thanks Martin Liška for looking into this. I am attaching another way to

[Bug tree-optimization/63586] x+x+x+x -> 4*x in gimple

2016-05-18 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63586 --- Comment #9 from kugan at gcc dot gnu.org --- Author: kugan Date: Wed May 18 07:50:05 2016 New Revision: 236359 URL: https://gcc.gnu.org/viewcvs?rev=236359=gcc=rev Log: Adding the testcase which was not addaed as part of r236356. gcc

[Bug tree-optimization/63586] x+x+x+x -> 4*x in gimple

2016-05-17 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63586 --- Comment #8 from kugan at gcc dot gnu.org --- Author: kugan Date: Wed May 18 00:58:45 2016 New Revision: 236356 URL: https://gcc.gnu.org/viewcvs?rev=236356=gcc=rev Log: gcc/testsuite/ChangeLog: 2016-05-17 Kugan Vivekanandarajah <

[Bug tree-optimization/68105] optimizing repeated floating point addition to multiplication

2016-05-05 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68105 kugan at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED CC

[Bug tree-optimization/63586] x+x+x+x -> 4*x in gimple

2016-05-05 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63586 kugan at gcc dot gnu.org changed: What|Removed |Added CC||zboson at zboson dot net

[Bug tree-optimization/70841] reassoc fails to handle FP division

2016-05-03 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70841 kugan at gcc dot gnu.org changed: What|Removed |Added CC||kugan at gcc dot gnu.org

[Bug tree-optimization/61839] More optimize opportunity for VRP

2016-04-12 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61839 kugan at gcc dot gnu.org changed: What|Removed |Added CC||kugan at gcc dot gnu.org

[Bug target/70359] [6 Regression] Code size increase for ARM compared to gcc-5.3.0

2016-03-29 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70359 --- Comment #14 from kugan at gcc dot gnu.org --- (In reply to Jeffrey A. Law from comment #13) > The change to the assignment of p_22 is made by forwprop1. > > It does create a situation where p_2 is live outside the loop and hides

[Bug target/70359] [6 Regression] Code size increase for ARM compared to gcc-5.3.0

2016-03-27 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70359 --- Comment #12 from kugan at gcc dot gnu.org --- However, diff of cfgexand is significantly different: ;; Full RTL generated for this function: ;; 32: NOTE_INSN_DELETED - 38: NOTE_INSN_BASIC_BLOCK 2 + 39: NOTE_INSN_BASIC_BLOCK 2 33

[Bug target/70359] [6 Regression] Code size increase for ARM compared to gcc-5.3.0

2016-03-27 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70359 --- Comment #11 from kugan at gcc dot gnu.org --- Optimized gimple diff between 5.3 and trunk is : -;; Function inttostr (inttostr, funcdef_no=0, decl_uid=5268, cgraph_uid=0, symbol_order=0) +;; Function inttostr (inttostr, funcdef_no=0

[Bug target/70359] [6 Regression] Code size increase for ARM compared to gcc-5.3.0

2016-03-26 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70359 --- Comment #10 from kugan at gcc dot gnu.org --- I am looking into it. -mcpu=arm966e-s does not uses the TARGET_NEW_GENERIC_COSTS. i.e, the rtx costs setup by the back-end might not be optimal.

[Bug tree-optimization/66726] missed optimization, factor conversion out of COND_EXPR

2016-02-14 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66726 --- Comment #18 from kugan at gcc dot gnu.org --- Reverted r233362 as it caused PR69786 and PR69781. I will test for these and post a revised patch for next stage1.

[Bug c/69819] ICE on invalid code on x86_64-linux-gnu in tree check: expected function_type or method_type, have array_type in function_args_iter_init, at tree.h:4536

2016-02-14 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69819 kugan at gcc dot gnu.org changed: What|Removed |Added CC||kugan at gcc dot gnu.org

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

2016-02-14 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69589 --- Comment #12 from kugan at gcc dot gnu.org --- Created attachment 37688 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37688=edit possible fix This fixes the testcase.

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

2016-02-14 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69589 --- Comment #11 from kugan at gcc dot gnu.org --- 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 is run, which updates

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

2016-02-13 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69708 --- Comment #3 from kugan at gcc dot gnu.org --- Created attachment 37685 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37685=edit possible fix Attached patch fixes the testcase.

[Bug tree-optimization/66726] missed optimization, factor conversion out of COND_EXPR

2016-02-11 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66726 --- Comment #17 from kugan at gcc dot gnu.org --- Author: kugan Date: Fri Feb 12 06:40:55 2016 New Revision: 233368 URL: https://gcc.gnu.org/viewcvs?rev=233368=gcc=rev Log: 2016-02-12 Kugan Vivekanandarajah <kug...@linaro.org>

[Bug tree-optimization/66726] missed optimization, factor conversion out of COND_EXPR

2016-02-11 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66726 --- Comment #16 from kugan at gcc dot gnu.org --- Author: kugan Date: Fri Feb 12 00:24:22 2016 New Revision: 233362 URL: https://gcc.gnu.org/viewcvs?rev=233362=gcc=rev Log: gcc/ChangeLog: 2016-02-12 Kugan Vivekanandarajah <kug...@linaro.

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

2016-02-11 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69708 kugan at gcc dot gnu.org changed: What|Removed |Added CC||kugan at gcc dot gnu.org

[Bug target/69442] [6 Regression] wrong code with -Og and 64bit modulo @ armv7a

2016-01-25 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69442 kugan at gcc dot gnu.org changed: What|Removed |Added CC||kugan at gcc dot gnu.org

[Bug rtl-optimization/69377] [6 Regression] wrong code at -O2 on x86_64-linux-gnu (in 32-bit mode)

2016-01-20 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69377 kugan at gcc dot gnu.org changed: What|Removed |Added CC||kugan at gcc dot gnu.org

[Bug target/69194] [5/6 Regression] internal compiler error: in extract_insn, at recog.c:2286

2016-01-16 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69194 --- Comment #6 from kugan at gcc dot gnu.org --- Author: kugan Date: Sun Jan 17 02:44:26 2016 New Revision: 232481 URL: https://gcc.gnu.org/viewcvs?rev=232481=gcc=rev Log: 2016-01-17 Kugan Vivekanandarajah <kug...@linaro.org> Ba

[Bug target/69194] [5/6 Regression] internal compiler error: in extract_insn, at recog.c:2286

2016-01-14 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69194 --- Comment #5 from kugan at gcc dot gnu.org --- Thanks for the reminder. I will commit the back-port today. I wanted leave few days in the trunk before doing.

[Bug target/69194] [5/6 Regression] internal compiler error: in extract_insn, at recog.c:2286

2016-01-11 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69194 --- Comment #2 from kugan at gcc dot gnu.org --- Author: kugan Date: Tue Jan 12 00:40:54 2016 New Revision: 232251 URL: https://gcc.gnu.org/viewcvs?rev=232251=gcc=rev Log: gcc/ChangeLog: 2016-01-12 Kugan Vivekanandarajah <kug...@linaro.

[Bug target/69194] New: internal compiler error: in extract_insn, at recog.c:2286

2016-01-08 Thread kugan at gcc dot gnu.org
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: kugan at gcc dot gnu.org Target Milestone: --- Created attachment 37271 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37271=edit testcase Attached testcase ICE with: t.C: In funct

[Bug debug/69077] [6 Regression] omnetpp ICEs with -flto -g

2016-01-03 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69077 kugan at gcc dot gnu.org changed: What|Removed |Added CC||kugan at gcc dot gnu.org

[Bug tree-optimization/63586] x+x+x+x -> 4*x in gimple

2015-12-09 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63586 kugan at gcc dot gnu.org changed: What|Removed |Added CC||vincenzo.innocente at cern dot

[Bug tree-optimization/61139] missed fma/reassoc optimization

2015-12-09 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61139 kugan at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution

[Bug tree-optimization/63586] x+x+x+x -> 4*x in gimple

2015-12-09 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63586 kugan at gcc dot gnu.org changed: What|Removed |Added Attachment #36908|0 |1 is obsolete

[Bug target/68390] Incorrect code due to indirect tail call of varargs function with hard float ABI

2015-12-09 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68390 --- Comment #3 from kugan at gcc dot gnu.org --- Fixed in trunk. We also need to back-port this to branches.

[Bug tree-optimization/61139] missed fma/reassoc optimization

2015-12-09 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61139 kugan at gcc dot gnu.org changed: What|Removed |Added Status|RESOLVED|NEW Resolution

[Bug tree-optimization/66726] missed optimization, factor conversion out of COND_EXPR

2015-12-03 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66726 --- Comment #14 from kugan at gcc dot gnu.org --- Sorry I missed this. I posted patch which was OKed but in further testing I found an issue. I am testing a modified patch and will post for review soon.

[Bug tree-optimization/63586] x+x+x+x -> 4*x in gimple

2015-12-03 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63586 --- Comment #3 from kugan at gcc dot gnu.org --- I think the intention is to have multiplication by power-of-2?

[Bug tree-optimization/63586] x+x+x+x -> 4*x in gimple

2015-12-03 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63586 kugan at gcc dot gnu.org changed: What|Removed |Added CC||kugan at gcc dot gnu.org

<    1   2   3   >