(CommandList
  children: [
    (If
      arms: [
        (if_arm
          cond: [
            (Sentence
              child: 
                (C {(Lit_Other '[')} {(DQ ($ VSub_Number '$1'))} {(Lit_Other '=')} {(DQ (-p))} 
                  {(Lit_Other ']')}
                )
              terminator: <Op_Semi ';'>
            )
          ]
          action: [
            (Sentence
              child: 
                (Assignment
                  keyword: Assign_None
                  pairs: [
                    (assign_pair
                      lhs: (LhsName name:with_patchlevel)
                      op: Equal
                      rhs: {(1)}
                      spids: [52]
                    )
                  ]
                  spids: [52]
                )
              terminator: <Op_Semi ';'>
            )
            (Sentence child:(C {(shift)}) terminator:<Op_Semi ';'>)
          ]
          spids: [16777215 49]
        )
      ]
      spids: [16777215 60]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:compiler)
          op: Equal
          rhs: {(DQ ($ VSub_Star '$*'))}
          spids: [63]
        )
      ]
      spids: [63]
    )
    (If
      arms: [
        (if_arm
          cond: [
            (Sentence
              child: 
                (C {(Lit_Other '[')} 
                  {(BracedVarSub token:<VSub_Name compiler> prefix_op:VSub_Pound spids:[73 76])} {(-eq)} {(0)} {(Lit_Other ']')}
                )
              terminator: <Op_Semi ';'>
            )
          ]
          action: [
            (C {(echo)} {(DQ ('Error: No compiler specified.'))})
            (C {(printf)} 
              {
                (DQ ('Usage:') (Lit_Other '\\') (n) (Lit_Other '\\') (t) ($ VSub_Number '$0') 
                  (' <gcc-command>') (Lit_Other '\\') (n)
                )
              }
            )
            (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)})
          ]
          spids: [16777215 85]
        )
      ]
      spids: [16777215 114]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:MAJOR)
          op: Equal
          rhs: 
            {
              (CommandSubPart
                command_list: 
                  (CommandList
                    children: [
                      (Pipeline
                        children: [
                          (C {(echo)} {(__GNUC__)})
                          (C {($ VSub_Name '$compiler')} {(-E)} {(-x)} {(c)} {(-)})
                          (C {(tail)} {(-n)} {(1)})
                        ]
                        negated: F
                      )
                    ]
                  )
                left_token: <Left_CommandSub '$('>
                spids: [118 142]
              )
            }
          spids: [117]
        )
      ]
      spids: [117]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:MINOR)
          op: Equal
          rhs: 
            {
              (CommandSubPart
                command_list: 
                  (CommandList
                    children: [
                      (Pipeline
                        children: [
                          (C {(echo)} {(__GNUC_MINOR__)})
                          (C {($ VSub_Name '$compiler')} {(-E)} {(-x)} {(c)} {(-)})
                          (C {(tail)} {(-n)} {(1)})
                        ]
                        negated: F
                      )
                    ]
                  )
                left_token: <Left_CommandSub '$('>
                spids: [145 169]
              )
            }
          spids: [144]
        )
      ]
      spids: [144]
    )
    (If
      arms: [
        (if_arm
          cond: [
            (Sentence
              child: 
                (C {(Lit_Other '[')} {(DQ (x) ($ VSub_Name '$with_patchlevel'))} 
                  {(KW_Bang '!') (Lit_Other '=')} {(DQ (x))} {(Lit_Other ']')}
                )
              terminator: <Op_Semi ';'>
            )
          ]
          action: [
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:PATCHLEVEL)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (C {(echo)} {(__GNUC_PATCHLEVEL__)})
                                  (C {($ VSub_Name '$compiler')} {(-E)} {(-x)} {(c)} {(-)})
                                  (C {(tail)} {(-n)} {(1)})
                                ]
                                negated: F
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [195 219]
                      )
                    }
                  spids: [194]
                )
              ]
              spids: [194]
            )
            (C {(printf)} 
              {(DQ ('%02d%02d%02d') (EscapedLiteralPart token:<Lit_EscapedChar '\\\\'>) (n))} {($ VSub_Name '$MAJOR')} {($ VSub_Name '$MINOR')} {($ VSub_Name '$PATCHLEVEL')}
            )
          ]
          spids: [16777215 191]
        )
      ]
      else_action: [
        (C {(printf)} {(DQ ('%02d%02d') (EscapedLiteralPart token:<Lit_EscapedChar '\\\\'>) (n))} 
          {($ VSub_Name '$MAJOR')} {($ VSub_Name '$MINOR')}
        )
      ]
      spids: [236 251]
    )
  ]
)