[Bug c++/40036] Initializer incorrectly reordering arguments

2012-01-19 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40036 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c++/40036] Initializer incorrectly reordering arguments

2009-05-25 Thread jwbates at mac dot com
--- Comment #6 from jwbates at mac dot com 2009-05-26 05:26 --- Update: after some restructuring, the problem still occurs when using the -g flag, but does not occur when the -O flag is used. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40036

[Bug c++/40036] Initializer incorrectly reordering arguments

2009-05-05 Thread jwbates at mac dot com
--- Comment #5 from jwbates at mac dot com 2009-05-06 06:39 --- All of the uninitialized memory errors in valgrind appear to occur after I do the computation, when I'm just trying to print the results. I can convince myself that there's a good chance that the address swap is leaving bi

[Bug c++/40036] Initializer incorrectly reordering arguments

2009-05-05 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2009-05-06 06:08 --- hmm, valgrind says there are some uninitiated memory. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40036

[Bug c++/40036] Initializer incorrectly reordering arguments

2009-05-05 Thread jwbates at mac dot com
--- Comment #3 from jwbates at mac dot com 2009-05-06 05:25 --- Not sure at all, as I have very little experience dealing with this kind of issue. To clarify one point of ambiguity: when I mentioned swapping the order of the arguments to match the correct evaluation behaviour. So, my con

[Bug c++/40036] Initializer incorrectly reordering arguments

2009-05-05 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2009-05-06 05:02 --- Are you sure you are not running into unspecified behavior dealing with subexpression is computed without a sequence point? Because from your description you are running into that issue. As you mentioned you swappe

[Bug c++/40036] Initializer incorrectly reordering arguments

2009-05-05 Thread jwbates at mac dot com
--- Comment #1 from jwbates at mac dot com 2009-05-06 04:09 --- Created an attachment (id=17806) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17806&action=view) output of g++ -save-temps -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40036