[LLVMbugs] [Bug 160] NEW: [llvmg++] Virtual function thunk produces illegal .s file

bugzilla-daemon at zion.cs.uiuc.edu bugzilla-daemon at zion.cs.uiuc.edu
Thu Nov 27 17:05:21 PST 2003


           Summary: [llvmg++] Virtual function thunk produces illegal .s
           Product: tools
           Version: 1.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: llvm-g++
        AssignedTo: sabre at nondot.org
        ReportedBy: sabre at nondot.org

This testcase:


struct CallSite {
  int X;

  CallSite(const CallSite &CS);

struct AliasAnalysis {
  int TD;

  virtual int getModRefInfo(CallSite CS);

struct Pass {
  int X;
  virtual int foo();

struct AliasAnalysisCounter : public Pass, public AliasAnalysis {
  int getModRefInfo(CallSite CS) {
    return 0;

AliasAnalysisCounter AAC;


Produces this when compiled:
$ llvmg++ AAC.ii -c
gccas: /home/sabre/tmp/ccvYCMXn.s:345: Parameter  is not of type '{ int } *'!

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

More information about the llvm-bugs mailing list