Skip to content

Segfaults when running bitwidth.b #4

Open
@pythonmcpi

Description

@pythonmcpi

I'm using the default settings and pypy (2.7) with this bitwidth.b program: link
gcc complains when I compile it (gcc bitwidth.c -O2 -o bitwidth.exe) and when I run the executable it segfaults.

gcc complaint:
bitwidth.c: In function ‘main’:
bitwidth.c:9:9: warning: large integer implicitly truncated to unsigned type [-Woverflow]
p[0] = 256;
^~~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions