Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash building mozilla: mishandling bogus trees for static ptrs to methods #1456

Closed
asl opened this issue Jan 6, 2007 · 4 comments
Closed
Assignees
Labels
bugzilla Issues migrated from bugzilla compile-fail Use [accepts-invalid] and [rejects-valid] instead llvm-tools All llvm tools that do not have corresponding tag

Comments

@asl
Copy link
Collaborator

asl commented Jan 6, 2007

Bugzilla Link 1084
Resolution FIXED
Resolved on Nov 07, 2018 00:17
Version trunk
OS All
Attachments Reduced source

Extended Description

Attached source (from mozilla, delta-reduced) causes the folowing assertion:

$ /home/asl/proj/llvm/install/bin/llvm-g++ test.ii
cc1plus: /home/asl/proj/llvm/src/lib/VMCore/Instructions.cpp:1685: static
llvm::Instruction::CastOps llvm::CastInst::getCastOpcode(const llvm::Value*,
bool, const llvm::Type*, bool): Assertion `!"Casting to type that is not
first-class"' failed.
test.ii:73: internal compiler error: Aborted
Please submit a full bug report,
with preprocessed source if appropriate.
See URL:http://llvm.org/bugs for instructions.

@asl
Copy link
Collaborator Author

asl commented Jan 6, 2007

assigned to @lattner

@lattner
Copy link
Collaborator

lattner commented Jan 7, 2007

Testcase here: test/Regression/C++Frontend/2007-01-06-PtrMethodInit.cpp

Patch sent to llvm-commits.

-Chris

@lattner
Copy link
Collaborator

lattner commented Jan 7, 2007

@llvmbot
Copy link
Collaborator

llvmbot commented Nov 26, 2021

mentioned in issue llvm/llvm-bugzilla-archive#2452

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 3, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla compile-fail Use [accepts-invalid] and [rejects-valid] instead llvm-tools All llvm tools that do not have corresponding tag
Projects
None yet
Development

No branches or pull requests

3 participants