Issue 133509
Summary musttail attribute on a function with not_tail_called attribute has no warning/error that musttail is ignored
Labels new issue
Assignees
Reporter pinskia
    Take:
```
int __attribute__((not_tail_called)) foo1(int);

int foo2(int a) {
 [[clang::musttail]]
  return foo1(a);
}
```

There is NO diagnostic saying musttail is being ignored due to the conflict of not_tail_called attribute.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to