MS/CW-style inline assembly for GCC

Daniel Berlin dberlin@dberlin.org
Fri May 7 02:45:00 GMT 2004


On May 6, 2004, at 10:30 PM, Ian Lance Taylor wrote:

> Stan Shebs <shebs@apple.com> writes:
>
>> The GCC syntax was a cheap quickie hack thrown in nearly twenty
>> years ago and hardly improved since then, even though empirically
>> it's one of the leading causes of bugs and problems with using GCC.
>> It may suit you just fine, but most users only put up with it
>> because they have no alternative.
>
> I think that saying that it is one of the leading causes of bugs and
> problems is a bit of a stretch.  How many entries in bugzilla are due
> to inline assembler?


mysql> select COUNT(DISTINCT bug_id) from longdescs where thetext like 
"%_asm_%";
+------------------------+
| COUNT(DISTINCT bug_id) |
+------------------------+
|                   1229 |
+------------------------+
1 row in set (6.44 sec)

That's the number of distinct bugs that contain comments containing 
_asm_

If you want total number of comments containing _asm_ , it's 1886

Note that this doesn't include *attachments* (which is generally where 
the preprocessed source goes).




More information about the Gcc mailing list