Skip to content

clang assert: sizeof(void) #2452

@llvmbot

Description

@llvmbot
Bugzilla Link 2080
Resolution FIXED
Resolved on Mar 12, 2010 00:55
Version unspecified
OS Linux
Reporter LLVM Bugzilla Contributor

Extended Description

This bug makes Benchmarks/MiBench/network-patricia test fail.

Obviously, there is a bug in network-patricia, but gcc accepts it without warning.
Gcc returns 1 to sizeof(void). Clang should give a warning or an error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillaclang:frontendLanguage frontend issues, e.g. anything involving "Sema"

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions