Can an artificial intelligence suffer? As a piece of computer code, it's tempting to think that artificially intelligent systems can't have feelings. So, can an artificial intelligence suffer?
AFAIK, pain is produced by the nervous system (after the realease of chemicals), so no AI suffers. AI does not (yet) possess a life (and I don't think this will ever happen).

A definition of life from the dictionary:


  the condition that distinguishes animals and plants from inorganic matter, including the capacity for growth, reproduction, functional activity, and continual change preceding death.


The current AI definitely does not possess a life according to this definition. AI is inorganic (like a rock): it is based on silicon (not carbon atoms).