STL slist/map containers concurrent/thread-safe access

2006-09-14 Thread Kalaky
Hi, Given that removing/inserting elements from a map/slist/whatever does not invalidate iterators to list elements, it is safe to use the element that the iterator "points" to ? For example: slist list; thread A: lock(); list.insert_after(list.begin(), elem); unlock(); thread B: lock(); co

Re: debugging tmpdir-gcc.dg-struct-layout-1 failures

2006-09-14 Thread Eric Christopher
I filed a PR29090 for the gcc.dg-struct-layout-1 failure of T(94,struct atal16{}a;,) OK. .comm _a94,1 .stabs "a94:G(0,1)=ar(0,2)[EMAIL PROTECTED];r(0,2);0;017;;0;04;(1,1)",32,0,1,0 .stabs "long unsigned int:t(0,3)[EMAIL PROTECTED];r(0,3);0;01

Re: debugging tmpdir-gcc.dg-struct-layout-1 failures

2006-09-14 Thread Jack Howarth
Eric, I filed a PR29090 for the gcc.dg-struct-layout-1 failure of T(94,struct atal16{}a;,) ...out of the set of failures I see. I noticed that in the assembly from struct-layout-1_y.s, the follow occurs... .comm _a94,1 .stabs "a94:G(0,1)=ar(0,2)[EMAIL PROTECTED];r(0,2);0;01777

gcc-4.0-20060914 is now available

2006-09-14 Thread gccadmin
Snapshot gcc-4.0-20060914 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.0-20060914/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.0 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/branches

Re: Bootstrap of GCC trunk (rev. 116941) failed at i386-redhat-linux

2006-09-14 Thread H. J. Lu
On Thu, Sep 14, 2006 at 07:54:42AM -0700, Andrew Pinski wrote: > On Thu, 2006-09-14 at 12:48 +0400, Grigory Zagorodnev wrote: > > Hi! > > Trunk failed to bootstrap with revision 116941. Does anybody see the same? > > Yes I see the same on i686-linux-gnu which is running FC5. > http://gcc.gnu.org

Re: Bootstrap of GCC trunk (rev. 116941) failed at i386-redhat-linux

2006-09-14 Thread Andrew Pinski
On Thu, 2006-09-14 at 12:48 +0400, Grigory Zagorodnev wrote: > Hi! > Trunk failed to bootstrap with revision 116941. Does anybody see the same? Yes I see the same on i686-linux-gnu which is running FC5. Thanks, Andrew Pinski

Re: debugging tmpdir-gcc.dg-struct-layout-1 failures

2006-09-14 Thread Jakub Jelinek
On Thu, Sep 14, 2006 at 09:19:12AM -0400, Jack Howarth wrote: > T(94,struct atal16{}a;,) > > into struct-layout-1_test.h would I append it to the > original... > > T(0,enum E2 a:31;,B(0,a,e2_m1,e2_0)) > > ...or replace it? Also I assume I should be editing Doesn't matter, in one case you'll run

Re: debugging tmpdir-gcc.dg-struct-layout-1 failures

2006-09-14 Thread Jack Howarth
Jakub, I would like to create a test case for a couple of the failures I see in gcc.dg-struct-layout-1 on Darwin PPC -m64 so I can submit a PR for this one. I have been able to find all of the lines in the generated testcase for the failed tests... http://gcc.gnu.org/ml/gcc/2006-09/msg00211.html

Re: Rebuild C code from GCC intermediate format

2006-09-14 Thread Rafael EspĂ­ndola
I wish to know if there exists any plugin that translate these intermediate format into C sources. I intent to modify these intermediate formats and retranslate then into C source to anylise the trasnsformations. For reading a C like representation you can use -fdump-tree-*. It might have the inf

Bootstrap of GCC trunk (rev. 116941) failed at i386-redhat-linux

2006-09-14 Thread Grigory Zagorodnev
Hi! Trunk failed to bootstrap with revision 116941. Does anybody see the same? /home/bootstrap/src/libjava/posix-threads.cc: In function 'int _Jv_CondWait(_Jv_ConditionVariable_t*, _Jv_Mutex_t*, jlong, jint)': /home/bootstrap/src/libjava/posix-threads.cc:106: error: 'gettimeofday' was not decla