Skip to content

bad definition/use of variable error #453

@monniaux

Description

@monniaux

In revision 108d60c on x86-64

#include <stdint.h>
void a() { uint64_t b = 0 & 0 ? 0 * 0 && 0 : b; }

produces

error: In function a: bad definition/use of variable 60

I'm actually unsure if this program has a meaning according to the C standard, gcc does compile it without warning though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions