Skip to content

cmd/compile: not-deterministic output #13268

Closed
@dvyukov

Description

@dvyukov

cmd/compile fails on the following program printing current time, which makes output non-deterministic and not amenable for automatic checking. Also a line number would be nice.

Program in hex:

00000000  70 61 63 6b 61 67 65 20  70 0a 0a 66 75 6e 63 20  |package p..func |
00000010  ef ef 0a                                          |...|

output of go tool compile:

2015/11/16 14:09:06 getc: peeking: EOF

go version devel +25a28da Sun Nov 15 23:41:28 2015 +0000 linux/amd64

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions