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

2011-01-24 Thread vincent.gramoli at epfl dot ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45940 --- Comment #16 from Vincent Gramoli 2011-01-24 12:04:37 UTC --- Hi Aldy, The bug does you refer to does not seem to be assigned to anyone. Vincent On Jan 20, 2011, at 3:31 PM, aldyh at gcc dot gnu.org wrote: > http://gcc.gnu.org/bugzilla/sho

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

2011-01-20 Thread vincent.gramoli at epfl dot ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45940 --- Comment #15 from Vincent Gramoli 2011-01-20 15:14:21 UTC --- Thanks! Vincent On Jan 20, 2011, at 3:31 PM, aldyh at gcc dot gnu.org wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45940 > > --- Comment #14 from Aldy Hernandez 2011-0

[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++/45940] [trans-mem] Error of unsafe function even if annotated

2011-01-20 Thread vincent.gramoli at epfl dot ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45940 --- Comment #13 from Vincent Gramoli 2011-01-20 10:28:03 UTC --- I updated and got the following problem while recompiling. Could it be related to your recent changes somehow? gcc -o gnupg/sha1.o -c -DHAVE_CONFIG_H -D_GNU_SOURCE=1 -D_REENTRANT -

[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-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

2010-12-14 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45940 Aldy Hernandez changed: What|Removed |Added Severity|normal |enhancement

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

2010-12-13 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45940 Aldy Hernandez changed: What|Removed |Added Priority|P1 |P4

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

2010-12-13 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45940 --- Comment #11 from Aldy Hernandez 2010-12-13 14:48:50 UTC --- Fixed on mainline, but I will leave the PR open until a more thorough fix is committed.

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

2010-12-13 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45940 --- Comment #10 from Aldy Hernandez 2010-12-13 14:15:49 UTC --- [offline rth notes] In function_attribute_inlinable_p, if fndecl is tm_pure and current_function_decl is tm_safe, deny the inlining. This is because tm_pure is the only escape

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

2010-12-13 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45940 Aldy Hernandez changed: What|Removed |Added Priority|P3 |P1

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

2010-11-29 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45940 --- Comment #9 from Aldy Hernandez 2010-11-29 16:04:18 UTC --- The -O1 ICE is due to the fact that we have an inline function that has been marked as transaction_pure, but contains an inline asm. The following code sets the 'saw_unsafe' bit, reg

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

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

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

2010-11-25 Thread vincent.gramoli at epfl dot ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45940 Vincent Gramoli changed: What|Removed |Added Status|RESOLVED|REOPENED Version|unknown

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

2010-11-25 Thread patrick.marlier at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45940 --- Comment #6 from Patrick Marlier 2010-11-25 09:57:32 UTC --- Created attachment 22526 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22526 another testcase It seems not completely solved. Here a another testcase. With -O0, it complains

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

2010-11-24 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

2010-11-23 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45940 Aldy Hernandez changed: What|Removed |Added Status|NEW |WAITING --- Comment #5 from Aldy Hernand

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

2010-11-23 Thread patrick.marlier at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45940 Patrick Marlier changed: What|Removed |Added CC||patrick.marlier at gmail

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

2010-11-23 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45940 --- Comment #3 from Aldy Hernandez 2010-11-23 13:44:45 UTC --- I have a patch to fix this problem, but I also see that the provided testcase has another error message which I think is correct: In file included from src/Building.cpp:77:0: src/Bui

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

2010-11-19 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45940 Aldy Hernandez changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

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

2010-11-04 Thread patrick.marlier at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45940 --- Comment #1 from Patrick Marlier 2010-11-04 14:36:42 UTC --- Created attachment 22282 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22282 .ii file same file as sent by email few time ago.