I think hard code -r gcc-3_4-branch is a bad idea. You have to do it for each branch. Why not check CVS/Tag and get it from there?
-- Summary: contrib/gcc_update hard code -r gcc-3_4-branch Product: gcc Version: 3.4.4 Status: UNCONFIRMED Severity: normal Priority: P2 Component: other AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hjl at lucon dot org CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20731