The following testcase shows two issues with VTA. I have a patch for one of the issues, the second one needs some thought.
-- Summary: VTA issues with sign/zero extension and debug temporaries Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jakub at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45003