Skip to content

[Sparc] Code generator asserts on alloca of zero size type #671

@llvmbot

Description

@llvmbot
Bugzilla Link 299
Resolution FIXED
Resolved on Feb 22, 2010 12:43
Version 1.0
OS All
Attachments Code to reproduce problem
Reporter LLVM Bugzilla Contributor

Extended Description

The llc program on Solaris generates the following assertion on the attached input:

Assertion failed: tsize > 0 && "Illegal (zero) type size for alloca", file
/home/vadve/criswell/rel12/llvm/lib/Target/SparcV9/SparcV9InstrSelection.cpp,
line 1159
Abort

The Linux/x86 code generator accepts the input.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions