gcc: add --HEAD option to install trunk.
gcc: add --HEAD option to install trunk.

Closes #46648.

Signed-off-by: Mike McQuaid <a17fed27eaa842282862ff7c1b9c8395a26ac320@mikemcquaid.com>

apjanke/homebrew,princeofdarkness76/homebrew,recruit-tech/homebrew,nandub/homebrew,optikfluffel/homebrew,deorth/homebrew,jamer/homebrew,haihappen/homebrew,scpeters/homebrew,brunchboy/homebrew,koraktor/homebrew,ilovezfs/homebrew,dalanmiller/homebrew,osimola/homebrew,teslamint/homebrew,AlexejK/homebrew,iandennismiller/homebrew,iandennismiller/homebrew,dalanmiller/homebrew,ryanfb/homebrew,skinny-framework/homebrew,mobileoverlord/homebrew-1,TaylorMonacelli/homebrew,danieroux/homebrew,polishgeeks/homebrew,miketheman/homebrew,yazuuchi/homebrew,benjaminfrank/homebrew,benjaminfrank/homebrew,youtux/homebrew,keith/homebrew,bukzor/linuxbrew,esamson/homebrew,Gasol/homebrew,dgageot/homebrew,treyharris/homebrew,gawbul/homebrew,benjaminfrank/homebrew,gicmo/homebrew,emcrisostomo/homebrew,osimola/homebrew,SteveClement/homebrew,mactkg/homebrew,Gasol/homebrew,SuperNEMO-DBD/cadfaelbrew,Asuranceturix/homebrew,nelstrom/homebrew,reelsense/linuxbrew,zhipeng-jia/homebrew,ilovezfs/homebrew,Homebrew/linuxbrew,codeout/homebrew,liamstask/homebrew,drbenmorgan/linuxbrew,eighthave/homebrew,AlexejK/homebrew,optikfluffel/homebrew,ebouaziz/linuxbrew,cprecioso/homebrew,cchacin/homebrew,megahall/homebrew,menivaitsi/homebrew,BrewTestBot/homebrew,yazuuchi/homebrew,arnested/homebrew,tschoonj/homebrew,blogabe/homebrew,dkotvan/homebrew,utzig/homebrew,mactkg/homebrew,lrascao/homebrew,haihappen/homebrew,razamatan/homebrew,iostat/homebrew2,influxdb/homebrew,ear/homebrew,dickeyxxx/homebrew,sometimesfood/homebrew,brunchboy/homebrew,tutumcloud/homebrew,jamer/homebrew,vigo/homebrew,codeout/homebrew,sakra/homebrew,joshua-rutherford/homebrew,ear/homebrew,brunchboy/homebrew,davydden/linuxbrew,scpeters/homebrew,ehamberg/homebrew,geoff-codes/homebrew,AlexejK/homebrew,michaKFromParis/homebrew-sparks,dutchcoders/homebrew,mobileoverlord/homebrew-1,patrickmckenna/homebrew,pcottle/homebrew,dkotvan/homebrew,ebouaziz/linuxbrew,ilovezfs/homebrew,ybott/homebrew,koraktor/homebrew,jsjohnst/homebrew,jconley/homebrew,codeout/homebrew,quantumsteve/homebrew,retrography/homebrew,base10/homebrew,MoSal/homebrew,Angeldude/linuxbrew,manphiz/homebrew,blogabe/homebrew,kenips/homebrew,codeout/homebrew,cchacin/homebrew,iostat/homebrew2,dplarson/homebrew,gnubila-france/linuxbrew,cscetbon/homebrew,optikfluffel/homebrew,adamliter/homebrew,booi/homebrew,bigbes/homebrew,benjaminfrank/homebrew,vigo/homebrew,iandennismiller/homebrew,mmizutani/homebrew,muellermartin/homebrew,cprecioso/homebrew,slyphon/homebrew,Asuranceturix/homebrew,manphiz/homebrew,joshua-rutherford/homebrew,georgschoelly/homebrew,kevinastone/homebrew,ryanfb/homebrew,sometimesfood/homebrew,dongcarl/homebrew,dongcarl/homebrew,Linuxbrew/linuxbrew,dutchcoders/homebrew,3van/homebrew,brunchboy/homebrew,redpen-cc/homebrew,teslamint/homebrew,feelpp/homebrew,Asuranceturix/homebrew,adamliter/homebrew,tutumcloud/homebrew,ento/homebrew,mactkg/homebrew,drewwells/homebrew,elgertam/homebrew,quantumsteve/homebrew,pdxdan/homebrew,Homebrew/homebrew,ebouaziz/linuxbrew,hanxue/homebrew,tutumcloud/homebrew,marcwebbie/homebrew,Gasol/homebrew,dplarson/homebrew,theeternalsw0rd/homebrew,theeternalsw0rd/homebrew,dkotvan/homebrew,yumitsu/homebrew,yangj1e/homebrew,sferik/homebrew,zeha/homebrew,jconley/homebrew,Homebrew/linuxbrew,Linuxbrew/linuxbrew,iandennismiller/homebrew,pdxdan/homebrew,manphiz/homebrew,utzig/homebrew,hanxue/homebrew,Gasol/homebrew,SteveClement/homebrew,utzig/homebrew,TaylorMonacelli/homebrew,danieroux/homebrew,marcwebbie/homebrew,davydden/linuxbrew,Red54/homebrew,elyscape/homebrew,jconley/homebrew,tschoonj/homebrew,megahall/homebrew,retrography/homebrew,cosmo0920/homebrew,AGWA-forks/homebrew,kodabb/homebrew,hakamadare/homebrew,keith/homebrew,eighthave/homebrew,skinny-framework/homebrew,base10/homebrew,elyscape/homebrew,hanxue/homebrew,sjackman/linuxbrew,retrography/homebrew,optikfluffel/homebrew,johanhammar/homebrew,ralic/homebrew,theeternalsw0rd/homebrew,SuperNEMO-DBD/cadfaelbrew,hyuni/homebrew,esamson/homebrew,Chilledheart/homebrew,sjackman/linuxbrew,kodabb/homebrew,ehamberg/homebrew,johanhammar/homebrew,reelsense/linuxbrew,afh/homebrew,getgauge/homebrew,jab/homebrew,Angeldude/linuxbrew,marcwebbie/homebrew,LinusU/homebrew,LinusU/homebrew,knpwrs/homebrew,drewwells/homebrew,totalvoidness/homebrew,BrewTestBot/homebrew,geoff-codes/homebrew,johanhammar/homebrew,pcottle/homebrew,drbenmorgan/linuxbrew,chadcatlett/homebrew,vigo/homebrew,ablyler/homebrew,bigbes/homebrew,xcezx/homebrew,sakra/homebrew,elyscape/homebrew,Chilledheart/homebrew,ehamberg/homebrew,BrewTestBot/homebrew,royhodgman/homebrew,afh/homebrew,mmizutani/homebrew,zchee/homebrew,zhipeng-jia/homebrew,bigbes/homebrew,TaylorMonacelli/homebrew,cosmo0920/homebrew,mmizutani/homebrew,petere/homebrew,getgauge/homebrew,cscetbon/homebrew,LinusU/homebrew,saketkc/linuxbrew,heinzf/homebrew,lvicentesanchez/homebrew,hyuni/homebrew,emcrisostomo/homebrew,scorphus/homebrew,nandub/homebrew,gicmo/homebrew,saketkc/linuxbrew,zhipeng-jia/homebrew,razamatan/homebrew,iostat/homebrew2,decors/homebrew,base10/homebrew,ExtremeMan/homebrew,Angeldude/linuxbrew,gnubila-france/linuxbrew,danieroux/homebrew,treyharris/homebrew,MartinDelille/homebrew,Chilledheart/homebrew,kenips/homebrew,nelstrom/homebrew,Red54/homebrew,yangj1e/homebrew,patrickmckenna/homebrew,apjanke/homebrew,Red54/homebrew,koraktor/homebrew,Linuxbrew/linuxbrew,totalvoidness/homebrew,Habbie/homebrew,dickeyxxx/homebrew,esamson/homebrew,dutchcoders/homebrew,OJFord/homebrew,miketheman/homebrew,sakra/homebrew,knpwrs/homebrew,feelpp/homebrew,ryanfb/homebrew,pcottle/homebrew,influxdata/homebrew,megahall/homebrew,miketheman/homebrew,royhodgman/homebrew,alebcay/homebrew,muellermartin/homebrew,ralic/homebrew,ralic/homebrew,galaxy001/homebrew,base10/homebrew,skatsuta/homebrew,scpeters/homebrew,booi/homebrew,jsjohnst/homebrew,skinny-framework/homebrew,haihappen/homebrew,patrickmckenna/homebrew,Linuxbrew/linuxbrew,ExtremeMan/homebrew,AGWA-forks/homebrew,elyscape/homebrew,tutumcloud/homebrew,yazuuchi/homebrew,yangj1e/homebrew,xcezx/homebrew,DoomHammer/linuxbrew,pcottle/homebrew,heinzf/homebrew,gicmo/homebrew,vigo/homebrew,slyphon/homebrew,polishgeeks/homebrew,adamliter/homebrew,Homebrew/homebrew,scorphus/homebrew,marcwebbie/homebrew,tschoonj/homebrew,Habbie/homebrew,cosmo0920/homebrew,getgauge/homebrew,hongkongkiwi/homebrew,reelsense/homebrew,alebcay/homebrew,bukzor/linuxbrew,knpwrs/homebrew,totalvoidness/homebrew,xcezx/homebrew,muellermartin/homebrew,lrascao/homebrew,jiashuw/homebrew,yazuuchi/homebrew,filcab/homebrew,Chilledheart/homebrew,influxdb/homebrew,nandub/homebrew,polishgeeks/homebrew,jab/homebrew,menivaitsi/homebrew,joshfriend/homebrew,decors/homebrew,3van/homebrew,ear/homebrew,jiashuw/homebrew,drbenmorgan/linuxbrew,keith/homebrew,osimola/homebrew,Homebrew/linuxbrew,retrography/homebrew,nandub/homebrew,michaKFromParis/homebrew-sparks,OJFord/homebrew,sferik/homebrew,bukzor/linuxbrew,AGWA-forks/homebrew,petere/homebrew,youtux/homebrew,hongkongkiwi/homebrew,scorphus/homebrew,MartinDelille/homebrew,redpen-cc/homebrew,3van/homebrew,skinny-framework/homebrew,sometimesfood/homebrew,hakamadare/homebrew,elgertam/homebrew,filcab/homebrew,kenips/homebrew,princeofdarkness76/homebrew,thinker0/homebrew,mmizutani/homebrew,alebcay/homebrew,ybott/homebrew,arnested/homebrew,petere/homebrew,MartinDelille/homebrew,geoff-codes/homebrew,youtux/homebrew,dplarson/homebrew,filcab/homebrew,dericed/homebrew,koraktor/homebrew,kenips/homebrew,utzig/homebrew,jarrettmeyer/homebrew,zchee/homebrew,princeofdarkness76/homebrew,menivaitsi/homebrew,liamstask/homebrew,ento/homebrew,yumitsu/homebrew,dericed/homebrew,BrewTestBot/homebrew,slyphon/homebrew,influxdata/homebrew,sometimesfood/homebrew,zeha/homebrew,polishgeeks/homebrew,josa42/homebrew,georgschoelly/homebrew,danieroux/homebrew,arnested/homebrew,quantumsteve/homebrew,hakamadare/homebrew,recruit-tech/homebrew,recruit-tech/homebrew,mactkg/homebrew,razamatan/homebrew,princeofdarkness76/homebrew,cprecioso/homebrew,theeternalsw0rd/homebrew,blogabe/homebrew,MoSal/homebrew,scpeters/homebrew,sjackman/linuxbrew,ralic/homebrew,galaxy001/homebrew,patrickmckenna/homebrew,galaxy001/homebrew,drewwells/homebrew,hyuni/homebrew,lvicentesanchez/homebrew,SteveClement/homebrew,frodeaa/homebrew,thinker0/homebrew,hakamadare/homebrew,ilovezfs/homebrew,eighthave/homebrew,recruit-tech/homebrew,teslamint/homebrew,razamatan/homebrew,reelsense/homebrew,jab/homebrew,haihappen/homebrew,OJFord/homebrew,influxdb/homebrew,johanhammar/homebrew,cchacin/homebrew,sferik/homebrew,mkrapp/homebrew,SteveClement/homebrew,mobileoverlord/homebrew-1,zchee/homebrew,yumitsu/homebrew,ablyler/homebrew,hongkongkiwi/homebrew,gnubila-france/linuxbrew,dickeyxxx/homebrew,drewwells/homebrew,mkrapp/homebrew,dickeyxxx/homebrew,ablyler/homebrew,dongcarl/homebrew,esamson/homebrew,manphiz/homebrew,muellermartin/homebrew,thinker0/homebrew,jamer/homebrew,michaKFromParis/homebrew-sparks,ryanfb/homebrew,dgageot/homebrew,sjackman/linuxbrew,jconley/homebrew,adamliter/homebrew,royhodgman/homebrew,kevinastone/homebrew,Asuranceturix/homebrew,tschoonj/homebrew,bukzor/linuxbrew,DoomHammer/linuxbrew,gawbul/homebrew,emcrisostomo/homebrew,cchacin/homebrew,ento/homebrew,getgauge/homebrew,zeha/homebrew,bigbes/homebrew,ebouaziz/linuxbrew,lvicentesanchez/homebrew,dutchcoders/homebrew,jsjohnst/homebrew,ybott/homebrew,DoomHammer/linuxbrew,alebcay/homebrew,jamer/homebrew,cosmo0920/homebrew,Homebrew/linuxbrew,scorphus/homebrew,frodeaa/homebrew,jarrettmeyer/homebrew,miketheman/homebrew,joshfriend/homebrew,redpen-cc/homebrew,josa42/homebrew,AlexejK/homebrew,treyharris/homebrew,gicmo/homebrew,arnested/homebrew,petere/homebrew,dericed/homebrew,joshua-rutherford/homebrew,3van/homebrew,TaylorMonacelli/homebrew,gawbul/homebrew,nelstrom/homebrew,galaxy001/homebrew,MartinDelille/homebrew,ear/homebrew,ehamberg/homebrew,deorth/homebrew,influxdata/homebrew,yangj1e/homebrew,davydden/linuxbrew,Asuranceturix/homebrew,frodeaa/homebrew,decors/homebrew,OJFord/homebrew,skatsuta/homebrew,deorth/homebrew,geoff-codes/homebrew,dunn/homebrew,dalanmiller/homebrew,joshfriend/homebrew,dkotvan/homebrew,liamstask/homebrew,apjanke/homebrew,booi/homebrew,DoomHammer/linuxbrew,joshua-rutherford/homebrew,heinzf/homebrew,treyharris/homebrew,Red54/homebrew,jarrettmeyer/homebrew,jsjohnst/homebrew,saketkc/linuxbrew,mkrapp/homebrew,sakra/homebrew,saketkc/linuxbrew,megahall/homebrew,dunn/homebrew,lvicentesanchez/homebrew,ExtremeMan/homebrew,teslamint/homebrew,dalanmiller/homebrew,pdxdan/homebrew,Homebrew/homebrew,dunn/homebrew,osimola/homebrew,SteveClement/homebrew,ablyler/homebrew,reelsense/linuxbrew,iostat/homebrew2,reelsense/homebrew,georgschoelly/homebrew,chadcatlett/homebrew,youtux/homebrew,ExtremeMan/homebrew,jab/homebrew,drbenmorgan/linuxbrew,keith/homebrew,georgschoelly/homebrew,nelstrom/homebrew,lrascao/homebrew,decors/homebrew,zeha/homebrew,menivaitsi/homebrew,josa42/homebrew,kevinastone/homebrew,hyuni/homebrew,dplarson/homebrew,frodeaa/homebrew,eighthave/homebrew,gnubila-france/linuxbrew,filcab/homebrew,cscetbon/homebrew,davydden/linuxbrew,Homebrew/homebrew,influxdata/homebrew,dongcarl/homebrew,sferik/homebrew,apjanke/homebrew,Habbie/homebrew,mobileoverlord/homebrew-1,reelsense/linuxbrew,chadcatlett/homebrew,hanxue/homebrew,zchee/homebrew,jiashuw/homebrew,totalvoidness/homebrew,elgertam/homebrew,royhodgman/homebrew,jarrettmeyer/homebrew,dgageot/homebrew,ybott/homebrew,jiashuw/homebrew,skatsuta/homebrew,blogabe/homebrew,pdxdan/homebrew,xcezx/homebrew,thinker0/homebrew,SuperNEMO-DBD/cadfaelbrew,kevinastone/homebrew,reelsense/homebrew,liamstask/homebrew,dunn/homebrew,pcottle/homebrew,SuperNEMO-DBD/cadfaelbrew,heinzf/homebrew,feelpp/homebrew,redpen-cc/homebrew,hongkongkiwi/homebrew,ento/homebrew,dericed/homebrew,dgageot/homebrew,feelpp/homebrew,zhipeng-jia/homebrew,Habbie/homebrew,Angeldude/linuxbrew,LinusU/homebrew,AGWA-forks/homebrew,elgertam/homebrew,MoSal/homebrew,afh/homebrew,slyphon/homebrew,cprecioso/homebrew,quantumsteve/homebrew,knpwrs/homebrew,skatsuta/homebrew,emcrisostomo/homebrew,afh/homebrew,kodabb/homebrew,MoSal/homebrew,kodabb/homebrew,influxdb/homebrew