Skip to content

[SPEC2006]error: null must be a pointer type @u_1_1 = internal global double null, align 8 ^ (xcalcc:630) #37

Description

@zqb-all

spec2k6 456.hmmer build fail.
one of the errors can be reproduce by the following code:

double bar(void);

double foo()
{
  static double u;
  u = bar();
  return u;
}

cmd:

xcalcc -c a.c

error:

2023-10-28 11:52:11,553 - xcalcc - ERROR - /open64/bin/../lib/gcc-lib/x86_64-open64-linux/5.0/llc: error: /open64/bin/../lib/gcc-lib/x86_64-open64-linux/5.0/llc: a.O.ll:4:33: error: null must be a pointer type
@u_1_1 = internal global double null, align 8
                                ^ (xcalcc:630)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions