The problem only occurs if you have a repeating alarm that doesn't repeat every day. If it's non-repeating, or repeats every day, things work fine. For the record, my iPhone 3GS on iOS4.1 exhibited the behaviour this morning (hey, who cares, it's a public holiday in France... of course, it'll still cause problems tomorrow morning)