------- Additional Comments From ebotcazou at gcc dot gnu dot org 2005-03-16 15:55 ------- > This was strange to read, because I've definitely noticed it with 3.4.3. > Interestingly, it seems to be only g++, rather than gcc, that has the problem: > > plg2=; cat g7.c > register void *tp __asm__("%g7"); > > void set_tp() { > tp = 0; > } > plg2=; gcc -S g7.c > plg2=; grep register g7.s > .register %g7, tp > plg2=; g++ -S g7.c > plg2=; grep register g7.s > .register %g7, %g7
Oh! Yes, you right. The patch has already been posted, I'll try to have it installed on the 3.4 branch too: http://gcc.gnu.org/ml/gcc-patches/2005-03/msg01529.html -- What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20263