[Bug target/26511] Using -O3, doesn't assign in a pointer to a global structure

2006-03-03 Thread wielemak at science dot uva dot nl
--- Comment #10 from wielemak at science dot uva dot nl 2006-03-03 14:37 --- Frank, Thanks a lot! It just comes from man gettid: NAME gettid - get thread identification SYNOPSIS #include #include #include _syscall0(pid_t,gettid) pid_t

[Bug target/26511] Using -O3, doesn't assign in a pointer to a global structure

2006-03-03 Thread wielemak at science dot uva dot nl
--- Comment #8 from wielemak at science dot uva dot nl 2006-03-03 12:43 --- Created an attachment (id=10962) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10962&action=view) Sources and assembly output Contains sources and assembly for broken version as well as working

[Bug target/26511] Using -O3, doesn't assign in a pointer to a global structure

2006-03-03 Thread wielemak at science dot uva dot nl
--- Comment #6 from wielemak at science dot uva dot nl 2006-03-03 10:55 --- So true, but you have a test-case. Ok, its a big program, but it will do the job for you in 5 minutes typing 3 commands. Turning it into a small program is not a trivial exercise, while it definitely doesn&#

[Bug target/26511] Using -O3, doesn't assign in a pointer to a global structure

2006-03-02 Thread wielemak at science dot uva dot nl
--- Comment #4 from wielemak at science dot uva dot nl 2006-03-02 10:08 --- Oops, must be ./configure --enable-mt -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26511

[Bug target/26511] Using -O3, doesn't assign in a pointer to a global structure

2006-03-02 Thread wielemak at science dot uva dot nl
--- Comment #3 from wielemak at science dot uva dot nl 2006-03-02 09:24 --- Andrew, If you think this is a real and still present bug I could try to add a little main() to the file and turn the file into a stand-alone program. I guess it is pretty likely it depends on nasty details in

[Bug c/26511] Using -O3, doesn't assign in a pointer to a global structure

2006-03-01 Thread wielemak at science dot uva dot nl
--- Comment #1 from wielemak at science dot uva dot nl 2006-03-01 13:31 --- Created an attachment (id=10945) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10945&action=view) Preprocessor output -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26511

[Bug c/26511] New: Using -O3, doesn't assign in a pointer to a global structure

2006-03-01 Thread wielemak at science dot uva dot nl
duct: gcc Version: 4.0.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: wielemak at science dot uva dot nl GCC build triplet: alphaev67-unknown-linux-gnu GCC host t