[Bug c/37613] probelm with optmization and local variable stored in an asm register

2008-09-22 Thread daniel dot diaz at univ-paris1 dot fr
--- Comment #2 from daniel dot diaz at univ-paris1 dot fr 2008-09-22 14:08 --- Richard Guenther says it is impossible in C... In C maybe but not in GNU C :-) This worked perfectly under older versions (may gcc 3.x.x) and it is a pitty if this feature is lost now. -- http://gcc.gnu

[Bug c/37613] probelm with optmization and local variable stored in an asm register

2008-09-22 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2008-09-22 11:27 --- reg_ebx is obviously unused in your function so the assignment is DCEd. I guess what you try to do is not really possible with C. -- rguenth at gcc dot gnu dot org changed: What|Removed