This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: MS/CW-style inline assembly for GCC



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).



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]