From b4de54fcefecbc3edb1ce747579f53243943f4cf Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Mon, 26 Aug 2013 17:03:58 -0700 Subject: Remove workarounds to old GCC bugs we had encountered on IRIX The check is bogus anyway. It was bogus when it was added. The bug is not because of "GCC on IRIX", it's simply a GCC bug and was probably tied to some GCC versions. It should have been reported and followed up. I don't even remember what GCC versions we had on the IRIX machines (plastkrakk, I can't remember the other two machine names). But I could bet they were GCC 3.4 or 4.0. Change-Id: I84ce4e1ad68bb0520b63c210f841e0c604dbd03a Reviewed-by: Robin Burchell --- src/network/access/qftp.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/network/access/qftp.cpp') diff --git a/src/network/access/qftp.cpp b/src/network/access/qftp.cpp index 173f825b23..a77e1a643c 100644 --- a/src/network/access/qftp.cpp +++ b/src/network/access/qftp.cpp @@ -1042,18 +1042,10 @@ bool QFtpPI::processReply() if (static_cast(replyCode[0]) < 0 || replyCode[0] > 5) state = Failure; else -#if defined(Q_OS_IRIX) && defined(Q_CC_GNU) - { - // work around a crash on 64 bit gcc IRIX - State *t = (State *) table; - state = t[replyCode[0] - 1]; - } -#else if (replyCodeInt == 202) state = Failure; else state = table[replyCode[0] - 1]; -#endif break; default: // ignore unrequested message -- cgit v1.2.3