--- Comment #5 from worm at arrakis dot es 2005-11-04 13:35 ---
Sorry for my stupidity -- the jet-lag after a long trip
seems to affect me --.
Remove the "volatile" statement from the arguments list
of L1foo.
Then the assignments to the variable V1 are moved after
the call t
--- Comment #3 from worm at arrakis dot es 2005-11-04 12:13 ---
Created an attachment (id=10143)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10143&action=view)
This one triggers the bug
The new file definitely triggers the problem with statement reordering if
compiled wi
oduct: gcc
Version: 4.0.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: worm at arrakis dot es
GCC host triplet: i486-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24635
--- Comment #1 from worm at arrakis dot es 2005-10-14 11:49 ---
Created an attachment (id=9986)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9986&action=view)
Preprocessed source file that reveals the problem
This file was created from the original C++ sources using the
ct: gcc
Version: 4.0.3
Status: UNCONFIRMED
Severity: blocker
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: worm at arrakis dot es
GCC target triplet: i486-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug