public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/40825] mis-optimization of libstdc++'s atomic.cc:__atomic_flag_wait_explicit() at -O2
       [not found] <bug-40825-4@http.gcc.gnu.org/bugzilla/>
@ 2011-10-12 17:03 ` paolo.carlini at oracle dot com
  2011-10-13  7:58 ` jbeulich at novell dot com
  1 sibling, 0 replies; 6+ messages in thread
From: paolo.carlini at oracle dot com @ 2011-10-12 17:03 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40825

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|gcc-bugs at gcc dot gnu.org |
         Resolution|                            |FIXED

--- Comment #5 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-10-12 17:02:52 UTC ---
Seems fixed in 4.5.x, at least, no warning. Otherwise, re-open.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/40825] mis-optimization of libstdc++'s atomic.cc:__atomic_flag_wait_explicit() at -O2
       [not found] <bug-40825-4@http.gcc.gnu.org/bugzilla/>
  2011-10-12 17:03 ` [Bug c++/40825] mis-optimization of libstdc++'s atomic.cc:__atomic_flag_wait_explicit() at -O2 paolo.carlini at oracle dot com
@ 2011-10-13  7:58 ` jbeulich at novell dot com
  1 sibling, 0 replies; 6+ messages in thread
From: jbeulich at novell dot com @ 2011-10-13  7:58 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40825

jbeulich at novell dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |VERIFIED
      Known to work|                            |4.6.1

--- Comment #6 from jbeulich at novell dot com 2011-10-13 07:58:09 UTC ---
In 4.5.3, the warning is gone but the code is still broken.

In 4.6.1 the code is correct.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/40825] mis-optimization of libstdc++'s atomic.cc:__atomic_flag_wait_explicit() at -O2
  2009-07-22 14:05 [Bug c++/40825] New: " jbeulich at novell dot com
                   ` (2 preceding siblings ...)
  2009-07-22 14:09 ` paolo dot carlini at oracle dot com
@ 2009-07-22 14:18 ` jbeulich at novell dot com
  3 siblings, 0 replies; 6+ messages in thread
From: jbeulich at novell dot com @ 2009-07-22 14:18 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from jbeulich at novell dot com  2009-07-22 14:17 -------
Just as the warning says - construction of 'd' is missing. The warning lead me
to look at the generated code, just to see that they are in sync (and hence
perhaps have the same root cause).


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40825


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/40825] mis-optimization of libstdc++'s atomic.cc:__atomic_flag_wait_explicit() at -O2
  2009-07-22 14:05 [Bug c++/40825] New: " jbeulich at novell dot com
  2009-07-22 14:06 ` [Bug c++/40825] " jbeulich at novell dot com
  2009-07-22 14:08 ` rguenth at gcc dot gnu dot org
@ 2009-07-22 14:09 ` paolo dot carlini at oracle dot com
  2009-07-22 14:18 ` jbeulich at novell dot com
  3 siblings, 0 replies; 6+ messages in thread
From: paolo dot carlini at oracle dot com @ 2009-07-22 14:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from paolo dot carlini at oracle dot com  2009-07-22 14:09 -------
The library issue is PR40654.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40825


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/40825] mis-optimization of libstdc++'s atomic.cc:__atomic_flag_wait_explicit() at -O2
  2009-07-22 14:05 [Bug c++/40825] New: " jbeulich at novell dot com
  2009-07-22 14:06 ` [Bug c++/40825] " jbeulich at novell dot com
@ 2009-07-22 14:08 ` rguenth at gcc dot gnu dot org
  2009-07-22 14:09 ` paolo dot carlini at oracle dot com
  2009-07-22 14:18 ` jbeulich at novell dot com
  3 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-07-22 14:08 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2009-07-22 14:08 -------
Can you give a hint on what exactly is miscompiled?  (the testcase isn't an
executable one that fails if miscompiled...)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40825


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/40825] mis-optimization of libstdc++'s atomic.cc:__atomic_flag_wait_explicit() at -O2
  2009-07-22 14:05 [Bug c++/40825] New: " jbeulich at novell dot com
@ 2009-07-22 14:06 ` jbeulich at novell dot com
  2009-07-22 14:08 ` rguenth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: jbeulich at novell dot com @ 2009-07-22 14:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from jbeulich at novell dot com  2009-07-22 14:06 -------
Created an attachment (id=18238)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18238&action=view)
example source


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40825


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-10-13  7:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-40825-4@http.gcc.gnu.org/bugzilla/>
2011-10-12 17:03 ` [Bug c++/40825] mis-optimization of libstdc++'s atomic.cc:__atomic_flag_wait_explicit() at -O2 paolo.carlini at oracle dot com
2011-10-13  7:58 ` jbeulich at novell dot com
2009-07-22 14:05 [Bug c++/40825] New: " jbeulich at novell dot com
2009-07-22 14:06 ` [Bug c++/40825] " jbeulich at novell dot com
2009-07-22 14:08 ` rguenth at gcc dot gnu dot org
2009-07-22 14:09 ` paolo dot carlini at oracle dot com
2009-07-22 14:18 ` jbeulich at novell dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).