http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55383
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #15 from Manuel López-Ibáñez <manu at gcc dot gnu.org> --- Of course, the bug affects all qualifiers, not just volatile, so the updated testcase would be enough to catch this in case we regress. So I went ahead and committed the patch. This will be fixed in GCC 4.9. For earlier versions, you'll have to ask Jakub or Joseph in the mailing list about backporting the patch, since it is not technically a regression but it is a trivial fix. Unless someone steps up to take care of backporting, I'd consider this FIXED. Thanks Magnus for following up on this. I know some other bugs with patches in case you are interested (and plenty of trivial bugs without a patch!).