Skip to content

[PowerPC][RISCV] Attribute 'signext' applied to incompatible type! #76773

Closed
@ahatanak

Description

@ahatanak

$ cat test.c

typedef union foo {
  int i;
} foo_t __attribute__((transparent_union));

void test(foo_t a) {
}

$ clang -target powerpc64le-linux -S -o - -emit-llvm test.c
Attribute 'signext' applied to incompatible type!
ptr @test
fatal error: error in backend: Broken module found, compilation aborted!

Metadata

Metadata

Assignees

Labels

clang:codegenIR generation bugs: mangling, exceptions, etc.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions