Dear GCC team,

I would like to contribute to the project.

I have a background in embedded systems programming, but few
experience in compiler development.

I'd like to try with fixing PR64744.
Would some one help me to understand what should be correct compilers
behaviour with an example below:

__attribute__((naked))
void foo()
{
  char [2] = {0};
};

Now gcc (trunk for aarch64 target) goes to ICE while compiling this code:
cc1 -O0 test.c

But I think that it should report something like: "local frame
unavailable (naked function?)"


Thanks in advance

-- 
Alexander

Reply via email to