GCC 4.6.2 C++ thread cancellation issue

Mike Dalpee mikedalpee@enginsol.com
Fri May 11 18:41:00 GMT 2012


Ok, I have provided the two examples as attachments.  I had to transcribe these from printouts, so I apologize if there are any typos that prevent them from immediately compiling.

I used the following commands to build these:

gcc -g bug1.cpp -o bug1 -lstdc++ -lpthread
gcc -g bug2.cpp -o bug2 -lstdc++ -lpthread

Let me know if you have any problems getting them built.
________________________________________
From: Ian Lance Taylor [iant@google.com]
Sent: Thursday, May 10, 2012 3:10 PM
To: Mike Dalpee
Cc: gcc-help@gcc.gnu.org
Subject: Re: GCC 4.6.2 C++ thread cancellation issue

Mike Dalpee <mikedalpee@enginsol.com> writes:

> I was able to create some small test cases that demonstrate the
> problem.  Unfortunately, the computers I used to do this have no
> internet access and I am not allowed to take media out of the
> building. I will try to get a printout I can scan or type in, but in
> the meantime, here are the salient features of the test cases.

Wow, that is really something.  Unfortunately my experience with trying
to create a test case from a text description is almost uniformly
negative, in that there always seems to be some key element that is
obvious to the reporter but not to me.  Anybody out there want to try to
recreate this?

Ian
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bug1.cpp
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20120511/50f877d4/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bug2.cpp
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20120511/50f877d4/attachment-0001.ksh>


More information about the Gcc-help mailing list