llvm-gcc packing empty structs #1789
Labels
bugzilla
Issues migrated from bugzilla
llvm-tools
All llvm tools that do not have corresponding tag
miscompilation
Extended Description
This C code:
struct { } *X;
compiles into:
@X = weak global %struct.anon* null ; <%struct.anon**> [#uses=0]
I would expect:
@X = weak global %struct.anon* null ; <%struct.anon**> [#uses=0]
-Chris
The text was updated successfully, but these errors were encountered: