Added logic to check if the GCC argument testing code actually works. If it does not work, we emit a warning, and revert to using only -O2.
Some additional cannonization of sh test clauses.  Renoved quotes from RHS, if they are only a small constant.