[Bug c/29429] Incorrect code with -O

2006-10-11 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-10-11 14:44 --- http://www.codecomments.com/archive263-2005-8-441109.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29429

[Bug c/29429] Incorrect code with -O

2006-10-11 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-10-11 14:28 --- (In reply to comment #2) > You need to look at preprocessed source. sig_atomic_t should have volatile > qualifier on it. It is not marked for glibc 2.4: typedef int __sig_atomic_t; typedef __sig_atomic_t sig_atomi

[Bug c/29429] Incorrect code with -O

2006-10-11 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2006-10-11 13:12 --- You need to look at preprocessed source. sig_atomic_t should have volatile qualifier on it. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29429

[Bug c/29429] Incorrect code with -O

2006-10-11 Thread ebotcazou at gcc dot gnu dot org
--- Comment #1 from ebotcazou at gcc dot gnu dot org 2006-10-11 10:43 --- You need to put 'volatile' on hup_rcvd for this to work. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added ---