update: The patch has been tested using gcc trunk with no regressions and has been posted on the gcc-patches ml.
update: The patch has been tested using gcc trunk with no regressions and has been posted on the gcc-patches ml.