[PATCH] Fix PR11784 - atomic __exchange_and_add() broken for ColdFire targets

Bernardo Innocenti bernie@codewiz.org
Tue Aug 5 19:20:00 GMT 2003


Phil Edwards wrote:

>>Sorry, I knew... One question: are there any prefixes other than
>>c++/ and libstdc++/? Where is the complete list of prefixes?
> 
> The prefixes are just the possible GNATS/Bugzilla categories.  The list
> has grown since we switched from GNATS to Bugzilla.  If you go to
> http://gcc.gnu.org/bugzilla and do a query, the Categories box will show
> you the possible entries.

I believe you mean the "Component" box. But C must be an exception
since I've never seen a bug marked PR c/12345.

>>Sorry, it used to be _BITS_ATOMICITY_H back in gcc 3.3.1.
>>
>>Shall I send another patch or will the committer take care of this?
> 
> Sorry, I missed that your patch was against the 3.3.1 sources.  Which raises
> a question:  did you intend for the patch to go in the 3.3 branch, or just
> the trunk? 

The patch applies to both 3.3.1 and 3.4 and is needed on both.
The only difference is that closing comment you've noticed.


> I looks to be a pure improvement, not a bugfix, so I don't know
> that it qualifies for the branch at this point.

It's not an improvement: without that patch, any C++ program
using iostreams would crash on ColdFire systems before reaching
main().

-- 
  // Bernardo Innocenti - Develer S.r.l., R&D dept.
\X/  http://www.develer.com/

Please don't send Word attachments - http://www.gnu.org/philosophy/no-word-attachments.html





More information about the Libstdc++ mailing list