https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119261

            Bug ID: 119261
           Summary: The mcpu parameter does not accept the star-mc1++cdecp
                    expansion when using arm-none-eabi.
           Product: gcc
           Version: 14.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: halfsweet at halfsweet dot cn
  Target Milestone: ---

I am compiling with arm-none-eabi-gcc, my MCU has a star-mc1 kernel and has a
cdecp1 expansion. I checked the
[Arm-Options](https://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html#index-mcpu-2)
documentation and it mentions that combinations like star-mc1+cdecp1 are
acceptable in the mcpu field. But it fails when I try to use it.

```bash
arm-none-eabi-gcc -mcpu=star-mc1+cdecp1 -o test test.c
```

test.c
```
int main(){return 0;}
```

```log
arm-none-eabi-gcc: error: 'star-mc1' does not support feature 'cdecp1'
arm-none-eabi-gcc: note: valid feature names are: nofp nodsp
arm-none-eabi-gcc: error: 'star-mc1' does not support feature 'cdecp1'
arm-none-eabi-gcc: note: valid feature names are: nofp nodsp
```

Reply via email to