[Bug c++/46941] [trans-mem] new/delete operator are unsafe

2011-01-12 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46941 Aldy Hernandez changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug c++/45940] [trans-mem] Error of unsafe function even if annotated

2011-01-14 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45940 --- Comment #12 from Aldy Hernandez 2011-01-14 18:18:07 UTC --- Properly fixed here; awaiting approval. http://gcc.gnu.org/ml/gcc-patches/2011-01/msg01003.html

[Bug c++/45940] [trans-mem] Error of unsafe function even if annotated

2011-01-14 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45940 Aldy Hernandez changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|

[Bug c++/45940] [trans-mem] Error of unsafe function even if annotated

2011-01-20 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45940 --- Comment #14 from Aldy Hernandez 2011-01-20 14:30:50 UTC --- Vincent, this is bug 47340. I will be looking at this today.

[Bug c++/47340] [trans-mem] problem with declaration of new operator

2011-01-25 Thread aldyh at gcc dot gnu.org
||2011.01.25 15:13:02 AssignedTo|unassigned at gcc dot |aldyh at gcc dot gnu.org |gnu.org | Ever Confirmed|0 |1

[Bug c++/47340] [trans-mem] problem with declaration of new operator

2011-01-28 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47340 Aldy Hernandez changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug c/47520] [trans-mem] ICE Segmentation fault at 01

2011-01-31 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47520 Aldy Hernandez changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug other/47554] New: [trans-mem] expand_expr_addr_expr_1 ICE

2011-01-31 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47554 Summary: [trans-mem] expand_expr_addr_expr_1 ICE Product: gcc Version: trans-mem Status: UNCONFIRMED Severity: normal Priority: P3 Component: other AssignedTo: unassi

[Bug other/47554] [trans-mem] expand_expr_addr_expr_1 ICE

2011-01-31 Thread aldyh at gcc dot gnu.org
||2011.01.31 17:42:35 AssignedTo|unassigned at gcc dot |aldyh at gcc dot gnu.org |gnu.org | Ever Confirmed|0 |1 --- Comment #1 from Aldy Hernandez 2011-01-31 17:42:35 UTC --- Created attachment

[Bug other/47554] [trans-mem] expand_expr_addr_expr_1 ICE

2011-01-31 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47554 --- Comment #2 from Aldy Hernandez 2011-01-31 17:43:11 UTC --- ./cc1plus b.C -O0 -fgnu-tm -fdump-tree-all -fdump-ipa-all -quiet b.C: In member function 'list list::_M_get_Tp_allocator() const': b.C:14:38: internal compiler error: in expand_expr_

[Bug c/47492] [trans-mem] Problem with memset() inside transaction_safe function

2011-01-31 Thread aldyh at gcc dot gnu.org
||2011.01.31 18:21:35 CC||aldyh at gcc dot gnu.org Ever Confirmed|0 |1 --- Comment #2 from Aldy Hernandez 2011-01-31 18:21:35 UTC --- Fixed here: http://gcc.gnu.org/ml/gcc-patches/2011-01/msg02325.html

[Bug c++/47573] [trans-mem] ICE in invoke_set_current_function_hook

2011-02-03 Thread aldyh at gcc dot gnu.org
||2011.02.03 16:20:05 AssignedTo|unassigned at gcc dot |aldyh at gcc dot gnu.org |gnu.org | Ever Confirmed|0 |1 --- Comment #1 from Aldy Hernandez 2011-02-03 16:20:05 UTC --- Awaiting approval

[Bug c++/46941] [trans-mem] new/delete operator are unsafe

2011-02-03 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46941 Aldy Hernandez changed: What|Removed |Added Status|REOPENED|WAITING --- Comment #8 from Aldy Hernand

[Bug c++/47573] [trans-mem] ICE in invoke_set_current_function_hook

2011-02-03 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47573 Aldy Hernandez changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|

[Bug c++/46941] [trans-mem] new/delete operator are unsafe

2011-02-03 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46941 Aldy Hernandez changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|

[Bug c/47492] [trans-mem] Problem with memset() inside transaction_safe function

2011-02-03 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47492 Aldy Hernandez changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|

[Bug c++/46941] [trans-mem] new/delete operator are unsafe

2011-02-04 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46941 --- Comment #11 from Aldy Hernandez 2011-02-04 15:31:14 UTC --- Patrick. It's already on my TODO. I'm working on it.

[Bug c++/46941] [trans-mem] new/delete operator are unsafe

2011-02-04 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46941 --- Comment #12 from Aldy Hernandez 2011-02-04 18:40:09 UTC --- Patrick, the reason memory allocated by the C++ new operator does not get optimized by the TM-memopt pass is not because of a missing ECF_MALLOC attribute, but because the alias orac

[Bug other/47554] [trans-mem] expand_expr_addr_expr_1 ICE

2011-02-04 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47554 Aldy Hernandez changed: What|Removed |Added Status|ASSIGNED|WAITING --- Comment #3 from Aldy Hernand

[Bug c++/46941] [trans-mem] new/delete operator are unsafe

2011-02-04 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46941 --- Comment #14 from Aldy Hernandez 2011-02-04 20:16:07 UTC --- Yes, this is an improvement, because once has to figure out why the unadultered new operator is not handled specially by the alias oracle. You are welcome to file a PR as an enhance

[Bug other/47554] [trans-mem] expand_expr_addr_expr_1 ICE

2011-02-04 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47554 Aldy Hernandez changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|

[Bug c++/47611] [trans-mem] memory allocated by default new/new_vec operator can be considered as transaction local

2011-02-04 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47611 Aldy Hernandez changed: What|Removed |Added Priority|P3 |P5 Status|UNCONFIRMED

[Bug other/46567] [trans-mem] ipa_tm_decrement_clone_counts ICE at -O2

2011-02-11 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46567 --- Comment #8 from Aldy Hernandez 2011-02-11 14:42:35 UTC --- Awaiting approval: http://gcc.gnu.org/ml/gcc-patches/2011-02/msg00742.html

[Bug other/46567] [trans-mem] ipa_tm_decrement_clone_counts ICE at -O2

2011-02-11 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46567 --- Comment #9 from Aldy Hernandez 2011-02-11 18:18:11 UTC --- Author: aldyh Date: Fri Feb 11 18:18:09 2011 New Revision: 170057 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170057 Log: PR 46567 * trans-mem.c (ipa_tm_pro

[Bug other/46567] [trans-mem] ipa_tm_decrement_clone_counts ICE at -O2

2011-02-11 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46567 Aldy Hernandez changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug c/47690] [trans-mem] ICE in verify_cgraph_node with O0

2011-02-15 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47690 Aldy Hernandez changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug c++/47606] [trans-mem] internal compiler error in expand_block_tm with O2

2011-02-15 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47606 Aldy Hernandez changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug c++/47606] [trans-mem] internal compiler error in expand_block_tm with O2

2011-02-15 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47606 --- Comment #2 from Aldy Hernandez 2011-02-15 15:37:59 UTC --- Created attachment 23351 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23351 further reduced testcase

[Bug c/47689] [trans-mem] function is cloned even if not used in transaction

2011-02-16 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47689 Aldy Hernandez changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c/47690] [trans-mem] ICE in verify_cgraph_node with O0

2011-02-16 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47690 --- Comment #2 from Aldy Hernandez 2011-02-16 15:21:49 UTC --- *** Bug 47689 has been marked as a duplicate of this bug. ***

[Bug c++/47747] [trans-mem] unsafe virtual function not properly displayed

2011-02-16 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47747 Aldy Hernandez changed: What|Removed |Added Priority|P3 |P5

[Bug c/47690] [trans-mem] ICE in verify_cgraph_node with O0

2011-02-16 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47690 --- Comment #3 from Aldy Hernandez 2011-02-16 16:23:33 UTC --- Author: aldyh Date: Wed Feb 16 16:23:28 2011 New Revision: 170213 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170213 Log: PR 47690 * trans-mem.c (ipa_tm_exe

[Bug c/47690] [trans-mem] ICE in verify_cgraph_node with O0

2011-02-16 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47690 Aldy Hernandez changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|

[Bug c++/47746] [trans-mem] invalid conversion in gimple call, ICE verify_stmts failed

2011-02-21 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47746 Aldy Hernandez changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug c++/47746] [trans-mem] invalid conversion in gimple call, ICE verify_stmts failed

2011-02-21 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47746 Aldy Hernandez changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|

[Bug c++/47746] [trans-mem] invalid conversion in gimple call, ICE verify_stmts failed

2011-02-21 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47746 --- Comment #2 from Aldy Hernandez 2011-02-21 22:49:36 UTC --- Author: aldyh Date: Mon Feb 21 22:49:34 2011 New Revision: 170377 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170377 Log: PR 47746 * trans-mem.c (ipa_tm_ins

[Bug c++/47606] [trans-mem] internal compiler error in expand_block_tm with O2

2011-02-23 Thread aldyh at gcc dot gnu.org
at gcc dot |aldyh at gcc dot gnu.org |gnu.org | --- Comment #4 from Aldy Hernandez 2011-02-23 19:32:53 UTC --- Patrick. Ok, in that case we have two bugs. Your original testcase ICEing on valid code, and my incorrectly reduced testcase which is

[Bug c++/47606] [trans-mem] internal compiler error in expand_block_tm with O2

2011-02-24 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47606 Aldy Hernandez changed: What|Removed |Added Attachment #23243|0 |1 is obsolete|

[Bug c++/47606] [trans-mem] internal compiler error in expand_block_tm with O2

2011-02-24 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47606 --- Comment #6 from Aldy Hernandez 2011-02-24 19:08:36 UTC --- Created attachment 23459 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23459 Additional ICE on incorrect code At -O0 we get a correct diagnosis for this incorrect snippet: b.c

[Bug c/47905] [trans-mem] ipa_tm_decrement_clone_counts ICE

2011-02-28 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47905 Aldy Hernandez changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug c/47905] [trans-mem] ipa_tm_decrement_clone_counts ICE

2011-02-28 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47905 --- Comment #2 from Aldy Hernandez 2011-02-28 23:25:00 UTC --- Author: aldyh Date: Mon Feb 28 23:24:57 2011 New Revision: 170578 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170578 Log: PR 47905 * trans-mem.c (ipa_tm_pro

[Bug c/47905] [trans-mem] ipa_tm_decrement_clone_counts ICE

2011-02-28 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47905 Aldy Hernandez changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|

[Bug c++/47952] [trans-mem] undefined reference to transaction clone

2011-03-02 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47952 Aldy Hernandez changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug testsuite/50076] FAIL: c-c++-common/cxxbitfields-3.c scan-assembler movl.*, var on x86_64-apple-darwin10

2011-09-19 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50076 --- Comment #2 from Aldy Hernandez 2011-09-19 15:37:37 UTC --- I will be contributing a testing harness that is back-end agnostic, so it won't depend on scanning the assembly. Stay tuned.

[Bug lto/50964] [trans-mem] no support for LTO

2011-11-06 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50964 Aldy Hernandez changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug ada/53008] abort in _ITM_getTMCloneSafe

2012-05-22 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53008 Aldy Hernandez changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug middle-end/53008] abort in _ITM_getTMCloneSafe

2012-05-22 Thread aldyh at gcc dot gnu.org
|middle-end AssignedTo|unassigned at gcc dot |aldyh at gcc dot gnu.org |gnu.org | --- Comment #9 from Aldy Hernandez 2012-05-22 16:40:08 UTC --- (In reply to comment #8) > Aldy, > > Actually the problem is different that

[Bug middle-end/53008] abort in _ITM_getTMCloneSafe

2012-05-25 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53008 --- Comment #10 from Aldy Hernandez 2012-05-25 17:14:31 UTC --- Author: aldyh Date: Fri May 25 17:14:25 2012 New Revision: 187887 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187887 Log: PR middle-end/53008 * trans-mem.c

[Bug middle-end/53008] abort in _ITM_getTMCloneSafe

2012-05-30 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53008 --- Comment #11 from Aldy Hernandez 2012-05-30 22:13:48 UTC --- Author: aldyh Date: Wed May 30 22:13:43 2012 New Revision: 188030 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=188030 Log: Backport from mainline 2012-05-25

[Bug middle-end/53008] abort in _ITM_getTMCloneSafe

2012-05-30 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53008 Aldy Hernandez changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug tree-optimization/52558] write introduction incorrect wrt the C++11 memory model

2012-05-31 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52558 --- Comment #18 from Aldy Hernandez 2012-05-31 19:46:49 UTC --- Author: aldyh Date: Thu May 31 19:46:43 2012 New Revision: 188081 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=188081 Log: PR tree-optimization/52558 * cfg.

[Bug tree-optimization/52558] write introduction incorrect wrt the C++11 memory model

2012-05-31 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52558 Aldy Hernandez changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug rtl-optimization/51771] trans-mem: abnormal edges get lost or corrupted

2012-06-01 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51771 Aldy Hernandez changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug rtl-optimization/51771] trans-mem: abnormal edges get lost or corrupted

2012-06-01 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51771 --- Comment #6 from Aldy Hernandez 2012-06-01 16:46:27 UTC --- Created attachment 27543 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27543 Proposed patch by Richard Henderson-- untested This is an old, untested patch from rth that attempt

[Bug rtl-optimization/51771] trans-mem: abnormal edges get lost or corrupted

2012-06-01 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51771 Aldy Hernandez changed: What|Removed |Added Priority|P3 |P4 Severity|normal

[Bug c/47530] [trans-mem] tail call optimization problem with _ITM_commitTransaction

2012-06-04 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47530 Aldy Hernandez changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug c/47530] [trans-mem] tail call optimization problem with _ITM_commitTransaction

2012-06-04 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47530 Aldy Hernandez changed: What|Removed |Added AssignedTo|rth at gcc dot gnu.org |aldyh at gcc dot gnu.org --- Comment #8

[Bug middle-end/47530] [trans-mem] tail call optimization problem with _ITM_commitTransaction

2012-06-04 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47530 --- Comment #10 from Aldy Hernandez 2012-06-04 15:51:22 UTC --- Created attachment 27556 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27556 propsed patch being tested Whoops, sorry Patrick. I already have a patch I am testing :). If you

[Bug rtl-optimization/51771] trans-mem: abnormal edges get lost or corrupted

2012-06-04 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51771 --- Comment #7 from Aldy Hernandez 2012-06-04 16:08:30 UTC --- (In reply to comment #4) > Created attachment 27303 [details] > RBTree microbenchmark test case > > I believe that I'm seeing this in the RSTM suite's RBTree microbenchmark as > well

[Bug middle-end/47530] [trans-mem] tail call optimization problem with _ITM_commitTransaction

2012-06-04 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47530 --- Comment #12 from Aldy Hernandez 2012-06-04 16:51:33 UTC --- Author: aldyh Date: Mon Jun 4 16:51:24 2012 New Revision: 188190 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=188190 Log: PR middle-end/47530 * trans-mem.c

[Bug middle-end/47530] [trans-mem] tail call optimization problem with _ITM_commitTransaction

2012-06-04 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47530 --- Comment #13 from Aldy Hernandez 2012-06-04 16:52:55 UTC --- Author: aldyh Date: Mon Jun 4 16:52:47 2012 New Revision: 188191 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=188191 Log: PR middle-end/47530 * trans-mem.c (expand

[Bug middle-end/47530] [trans-mem] tail call optimization problem with _ITM_commitTransaction

2012-06-04 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47530 Aldy Hernandez changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|

[Bug lto/51997] LTO does not inline available builtin implementations

2012-06-12 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51997 Aldy Hernandez changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/52558] write introduction incorrect wrt the C++11 memory model

2012-06-14 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52558 --- Comment #21 from Aldy Hernandez 2012-06-14 19:22:54 UTC --- Author: aldyh Date: Thu Jun 14 19:22:48 2012 New Revision: 188631 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=188631 Log: PR tree-optimization/52558 Backpo

[Bug tree-optimization/52558] write introduction incorrect wrt the C++11 memory model

2012-06-14 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52558 --- Comment #22 from Aldy Hernandez 2012-06-14 21:15:10 UTC --- FYI, backported to 4.7.

[Bug tree-optimization/52558] write introduction incorrect wrt the C++11 memory model

2012-07-02 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52558 --- Comment #23 from Aldy Hernandez 2012-07-02 18:25:42 UTC --- BTW, for anyone still stuck on this, you need to use the following when compiling the testcase: --param allow-store-data-races=0 Eventually, this will be the default for C++1x, or

[Bug middle-end/52047] [trans-mem] ICE: SIGSEGV in execute_tm_mark (trans-mem.c:2270) with -O -fgnu-tm -fprefetch-loop-arrays

2012-02-06 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52047 --- Comment #3 from Aldy Hernandez 2012-02-06 14:42:11 UTC --- Author: aldyh Date: Mon Feb 6 14:42:07 2012 New Revision: 183936 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183936 Log: PR middle-end/52047 * trans-mem.c

[Bug middle-end/52047] [trans-mem] ICE: SIGSEGV in execute_tm_mark (trans-mem.c:2270) with -O -fgnu-tm -fprefetch-loop-arrays

2012-02-06 Thread aldyh at gcc dot gnu.org
||aldyh at gcc dot gnu.org Resolution||FIXED --- Comment #4 from Aldy Hernandez 2012-02-06 14:44:31 UTC --- fixed on trunk

[Bug middle-end/51752] trans-mem: publication safety violated

2012-02-09 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51752 --- Comment #3 from Aldy Hernandez 2012-02-09 16:23:57 UTC --- Created attachment 26622 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26622 proposed (untested) patch This is a first stab at the problem. It is untested, and there are defin

[Bug middle-end/52097] ICE: in get_bit_range, at expr.c:4535 with -O -flto -fexceptions -fnon-call-exceptions --param allow-store-data-races=0

2012-02-13 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52097 Aldy Hernandez changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment #

[Bug middle-end/52142] [trans-mem] inlined transaction_pure functions are instrumented

2012-02-14 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52142 --- Comment #4 from Aldy Hernandez 2012-02-14 15:15:36 UTC --- Created attachment 26659 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26659 proposed patch Actually Richard (rth), the restriction is less strict than that. We are currently

[Bug middle-end/52142] [trans-mem] inlined transaction_pure functions are instrumented

2012-02-14 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52142 --- Comment #6 from Aldy Hernandez 2012-02-15 00:29:10 UTC --- Author: aldyh Date: Wed Feb 15 00:29:06 2012 New Revision: 184251 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184251 Log: + PR middle-end/52142 + * ipa-inline.c

[Bug middle-end/52142] [trans-mem] inlined transaction_pure functions are instrumented

2012-02-14 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52142 Aldy Hernandez changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug middle-end/52141] [trans-mem] ICE due to asm statement in trans-mem.c:expand_block_tm

2012-02-20 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52141 --- Comment #3 from Aldy Hernandez 2012-02-20 23:43:35 UTC --- Author: aldyh Date: Mon Feb 20 23:43:31 2012 New Revision: 184417 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184417 Log: PR middle-end/52141 * trans-mem.c

[Bug middle-end/52141] [trans-mem] ICE due to asm statement in trans-mem.c:expand_block_tm

2012-02-20 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52141 Aldy Hernandez changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug testsuite/52297] [4.7 Regression] FAIL: gcc.dg/lto/trans-mem-1 c_lto_trans-mem-1_0.o-c_lto_trans-mem-1_1.o link, -flto -fgnu-tm

2012-02-22 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52297 --- Comment #5 from Aldy Hernandez 2012-02-22 20:00:31 UTC --- (In reply to comment #4) > That's (essentially) independent of the target, as it's a pure testsuite > issue. > Tests that require linking with -litm should go in libitm/testsuite ins

[Bug middle-end/51752] trans-mem: publication safety violated

2012-02-28 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51752 --- Comment #7 from Aldy Hernandez 2012-02-28 20:08:44 UTC --- Author: aldyh Date: Tue Feb 28 20:08:39 2012 New Revision: 184638 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184638 Log: PR middle-end/51752 * gimple.h (gi

[Bug middle-end/52463] libitm.c/memcpy-1.c FAILs

2012-03-05 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52463 --- Comment #2 from Aldy Hernandez 2012-03-05 18:38:56 UTC --- Author: aldyh Date: Mon Mar 5 18:38:47 2012 New Revision: 184949 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184949 Log: PR middle-end/52463 * trans-mem.c

[Bug middle-end/52463] libitm.c/memcpy-1.c FAILs

2012-03-05 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52463 Aldy Hernandez changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug middle-end/52463] libitm.c/memcpy-1.c FAILs

2012-03-06 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52463 --- Comment #4 from Aldy Hernandez 2012-03-06 14:38:00 UTC --- Author: aldyh Date: Tue Mar 6 14:37:54 2012 New Revision: 184991 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184991 Log: PR middle-end/52463 * trans-mem.c (tm_regi

[Bug middle-end/52463] libitm.c/memcpy-1.c FAILs

2012-03-06 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52463 --- Comment #5 from Aldy Hernandez 2012-03-06 14:44:31 UTC --- Author: aldyh Date: Tue Mar 6 14:44:27 2012 New Revision: 184992 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184992 Log: PR middle-end/52463 * trans-mem.c (tm_regi

[Bug middle-end/52548] New: missed PRE optimization when function call follows to-be hoisted variable

2012-03-09 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52548 Bug #: 52548 Summary: missed PRE optimization when function call follows to-be hoisted variable Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCON

[Bug c++/52558] write introduction incorrect wrt the C++11 memory model

2012-03-12 Thread aldyh at gcc dot gnu.org
||2012-03-12 CC||aldyh at gcc dot gnu.org, ||amacleod at redhat dot com, ||rguenth at gcc dot gnu.org Ever Confirmed|0

[Bug c++/52558] write introduction incorrect wrt the C++11 memory model

2012-03-12 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52558 --- Comment #4 from Aldy Hernandez 2012-03-12 15:29:06 UTC --- > No, we don't want to fix this for 4.7 as this is not a regression. > > Yes, LIM only avoids introducing traps, not data-races. This was discussed > in the past already, btw, and

[Bug middle-end/51752] trans-mem: publication safety violated

2012-03-16 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51752 Aldy Hernandez changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug tree-optimization/52558] write introduction incorrect wrt the C++11 memory model

2012-03-28 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52558 Aldy Hernandez changed: What|Removed |Added AssignedTo|unassigned at gcc dot |aldyh at gcc dot gnu.org

[Bug tree-optimization/52558] write introduction incorrect wrt the C++11 memory model

2012-04-10 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52558 --- Comment #14 from Aldy Hernandez 2012-04-10 17:07:22 UTC --- Richard G., or perhaps another aliasing expert. I am working on a patch for this problem. Could you pontificate as to why no optimization pass has been able to figure out that g_2_

[Bug tree-optimization/52558] write introduction incorrect wrt the C++11 memory model

2012-04-11 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52558 --- Comment #16 from Aldy Hernandez 2012-04-11 13:37:17 UTC --- (In reply to comment #15) > Both value-numbering (FRE/PRE, that do not run after store motion :/) and > DOM should figure this out. DOM only in theory, but at least in this simple

[Bug c++/59131] Compiler segfaults while generating code to save local variables in transactional section

2013-11-27 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59131 Aldy Hernandez changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|2013-11-14 00:00:

[Bug c++/59131] Compiler segfaults while generating code to save local variables in transactional section

2013-11-27 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59131 --- Comment #4 from Aldy Hernandez --- FWIW, also works on 4.8.

[Bug c/56573] GCC generates non-optimal transactional code when inlining nested transaction.

2013-12-09 Thread aldyh at gcc dot gnu.org
||aldyh at gcc dot gnu.org Resolution|--- |DUPLICATE --- Comment #1 from Aldy Hernandez --- Duplicate, according to comment by Patrick Marlier. *** This bug has been marked as a duplicate of bug 56572 ***

[Bug c/56572] GCC generates non-optimal transactional code when inlining nested transaction.

2013-12-09 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56572 --- Comment #2 from Aldy Hernandez --- *** Bug 56573 has been marked as a duplicate of this bug. ***

[Bug tree-optimization/56572] GCC generates non-optimal transactional code when inlining nested transaction.

2013-12-09 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56572 Aldy Hernandez changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/56572] GCC generates non-optimal transactional code when inlining nested transaction.

2013-12-10 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56572 Aldy Hernandez changed: What|Removed |Added CC||rth at gcc dot gnu.org --- Comment #4 fr

[Bug tree-optimization/56572] GCC generates non-optimal transactional code when inlining nested transaction.

2013-12-12 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56572 --- Comment #7 from Aldy Hernandez --- Well, we could tweak the inliner cost model, thus causing the early inliner to inline the nested transactions earlier. With the attached patch, f() gets inlined into g() early enough so that pass_ipa_tm sees

[Bug tree-optimization/59149] diagnose_tm_1 calls flags_from_decl_or_type on an ADDR_EXPR

2013-12-12 Thread aldyh at gcc dot gnu.org
||2013-12-12 CC||aldyh at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |aldyh at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #2 from Aldy Hernandez --- Mine. Proposed patch: http

[Bug tree-optimization/59149] diagnose_tm_1 calls flags_from_decl_or_type on an ADDR_EXPR

2013-12-13 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59149 --- Comment #3 from Aldy Hernandez --- Author: aldyh Date: Fri Dec 13 17:50:18 2013 New Revision: 205967 URL: http://gcc.gnu.org/viewcvs?rev=205967&root=gcc&view=rev Log: PR tree-optimization/59149 * calls.c (flags_from_decl_or_type): Fai

[Bug tree-optimization/59149] diagnose_tm_1 calls flags_from_decl_or_type on an ADDR_EXPR

2013-12-13 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59149 Aldy Hernandez changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug other/51163] New: gcc.dg/tm/alias-1.c failure

2011-11-16 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51163 Bug #: 51163 Summary: gcc.dg/tm/alias-1.c failure Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug other/51163] gcc.dg/tm/alias-1.c failure

2011-11-16 Thread aldyh at gcc dot gnu.org
||2011-11-16 CC||aldyh at gcc dot gnu.org, ||rth at gcc dot gnu.org, ||torvald at gcc dot gnu.org Ever Confirmed|0 |1

<    1   2   3   4   5   6   7   8   9   10   >