Skip to content

assertion failed while compiling libmng #1383

@asl

Description

@asl
Bugzilla Link 1011
Resolution FIXED
Resolved on Feb 22, 2010 12:43
Version trunk
OS Linux
Attachments Reduced sources, Original sources

Extended Description

While compiling libmng (via llvm-gcc4 -O2) I've got an assertion:

cc1: /home/asl/proj/llvm/src/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1116:
llvm::SDOperand llvm::SelectionDAG::getNode(unsigned int, llvm::MVT::ValueType,
llvm::SDOperand): Assertion `Operand.getValueType() > VT && "Invalid truncate
node, src < dst!"' failed.
libmng_pixels.i:137: internal compiler error: Aborted
Please submit a full bug report,
with preprocessed source if appropriate.
See URL:http://llvm.org/bugs for instructions.

Please find:

  1. Original source
  2. Reduced sources (via delta).

Everything was ok without any optimizations (but no ok with just -O), so the
problem itself can be not in backend, but in some optimization passes.

Metadata

Metadata

Assignees

Labels

backend:X86bugzillaIssues migrated from bugzillacompile-failUse [accepts-invalid] and [rejects-valid] instead

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions