public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/17856] New: assembly error in atomicity.h
@ 2004-10-06 1:05 rth at gcc dot gnu dot org
2004-10-06 1:09 ` [Bug libstdc++/17856] " rth at gcc dot gnu dot org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: rth at gcc dot gnu dot org @ 2004-10-06 1:05 UTC (permalink / raw)
To: gcc-bugs
#include <string>
using namespace std;
void f () {
string s;
s += "";
}
Compiled with -O1, this will generate
/.../bits/atomicity.h:40: error: inconsistent operand constraints in an `asm'
--
Summary: assembly error in atomicity.h
Product: gcc
Version: 3.3.5
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libstdc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: rth at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: x86_64-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17856
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libstdc++/17856] assembly error in atomicity.h
2004-10-06 1:05 [Bug libstdc++/17856] New: assembly error in atomicity.h rth at gcc dot gnu dot org
@ 2004-10-06 1:09 ` rth at gcc dot gnu dot org
2004-10-06 1:14 ` [Bug libstdc++/17856] [3.3 only] " pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: rth at gcc dot gnu dot org @ 2004-10-06 1:09 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rth at gcc dot gnu dot org 2004-10-06 01:09 -------
Created an attachment (id=7290)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7290&action=view)
proposed patch
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rth at gcc dot gnu dot org
|dot org |
Status|UNCONFIRMED |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17856
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libstdc++/17856] [3.3 only] assembly error in atomicity.h
2004-10-06 1:05 [Bug libstdc++/17856] New: assembly error in atomicity.h rth at gcc dot gnu dot org
2004-10-06 1:09 ` [Bug libstdc++/17856] " rth at gcc dot gnu dot org
@ 2004-10-06 1:14 ` pinskia at gcc dot gnu dot org
2004-10-07 3:32 ` bkoz at gcc dot gnu dot org
2004-12-04 0:09 ` rth at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-06 1:14 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-06 01:14 -------
Fixed for 3.4.0 and 4.0.0 by:
2003-12-19 Jason Merrill <jason@redhat.com>
* config/cpu/cris/atomicity.h: Remove memory clobbers.
* config/cpu/mips/atomicity.h: Likewise.
* config/cpu/i486/atomicity.h: Remove memory clobbers.
Split up read-write memory operand.
* config/cpu/m68k/atomicity.h: Likewise.
* config/cpu/powerpc/atomicity.h: Make memory I/O explicit.
* config/cpu/s390/atomicity.h: Likewise.
* config/cpu/sparc/atomicity.h: Likewise.
--
What |Removed |Added
----------------------------------------------------------------------------
Summary|assembly error in |[3.3 only] assembly error in
|atomicity.h |atomicity.h
Target Milestone|--- |3.3.6
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17856
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libstdc++/17856] [3.3 only] assembly error in atomicity.h
2004-10-06 1:05 [Bug libstdc++/17856] New: assembly error in atomicity.h rth at gcc dot gnu dot org
2004-10-06 1:09 ` [Bug libstdc++/17856] " rth at gcc dot gnu dot org
2004-10-06 1:14 ` [Bug libstdc++/17856] [3.3 only] " pinskia at gcc dot gnu dot org
@ 2004-10-07 3:32 ` bkoz at gcc dot gnu dot org
2004-12-04 0:09 ` rth at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: bkoz at gcc dot gnu dot org @ 2004-10-07 3:32 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bkoz at gcc dot gnu dot org 2004-10-07 03:32 -------
I thought this looked familiar.....
I think this patch looks fine (backport of 3.4.x). I can't imagine Gaby not
going for this for the next 3.3.x release.
-benjamin
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17856
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libstdc++/17856] [3.3 only] assembly error in atomicity.h
2004-10-06 1:05 [Bug libstdc++/17856] New: assembly error in atomicity.h rth at gcc dot gnu dot org
` (2 preceding siblings ...)
2004-10-07 3:32 ` bkoz at gcc dot gnu dot org
@ 2004-12-04 0:09 ` rth at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: rth at gcc dot gnu dot org @ 2004-12-04 0:09 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rth at gcc dot gnu dot org 2004-12-04 00:09 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17856
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-12-04 0:09 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-06 1:05 [Bug libstdc++/17856] New: assembly error in atomicity.h rth at gcc dot gnu dot org
2004-10-06 1:09 ` [Bug libstdc++/17856] " rth at gcc dot gnu dot org
2004-10-06 1:14 ` [Bug libstdc++/17856] [3.3 only] " pinskia at gcc dot gnu dot org
2004-10-07 3:32 ` bkoz at gcc dot gnu dot org
2004-12-04 0:09 ` rth at gcc dot gnu dot org
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).