Commit 68d4dffa authored by Wesley Smith's avatar Wesley Smith Committed by Nathan Scott

[XFS] Work around gcc 2.96 bug in _lsn_cmp.

SGI Modid: 2.5.x-xfs:slinx:156280a
parent 5125c15b
......@@ -53,8 +53,8 @@
* endian issues in treating two 32 bit numbers as one 64 bit number
*/
static
#if defined(__GNUC__) && (__GNUC__ == 2) && (__GNUC_MINOR__ == 95)
__attribute__((unused)) /* gcc 2.95 miscompiles this when inlined */
#if defined(__GNUC__) && (__GNUC__ == 2) && ( (__GNUC_MINOR__ == 95) || (__GNUC_MINOR__ == 96))
__attribute__((unused)) /* gcc 2.95, 2.96 miscompile this when inlined */
#else
__inline__
#endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment