http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47117

           Summary: unfulfillable case in config.gcc <sh>
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: amyl...@gcc.gnu.org
            Blocks: 47093


The config.gcc target case label list:

sh-*-elf* | sh[12346l]*-*-elf* | \
sh-*-symbianelf* | sh[12346l]*-*-symbianelf* | \
  sh-*-linux* | sh[2346lbe]*-*-linux* | \
  sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \
   sh64-*-netbsd* | sh64l*-*-netbsd*)

has a subcase:

        case ${target} in
        sh5*-*-netbsd*)
                # SHmedia, 32-bit ABI
                tmake_file="${tmake_file} sh/t-sh64 sh/t-netbsd"
                ;;
        sh64*-netbsd*)
                # SHmedia, 64-bit ABI
                tmake_file="${tmake_file} sh/t-sh64 sh/t-netbsd
sh/t-netbsd-sh5-64"
                ;;
        *-*-netbsd)
                tmake_file="${tmake_file} sh/t-netbsd"
                ;;
...
The latter case label is never reached, because all netbsd configurations
either
start with sh5 or sh64, or end with netbsdelf.

Reply via email to