-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
markused: builtin__memdup not included when using tcc #25801
Copy link
Copy link
Closed
Labels
BugThis tag is applied to issues which reports bugs.This tag is applied to issues which reports bugs.Option TypeBugs/feature requests, that are related to `?Type`.Bugs/feature requests, that are related to `?Type`.Status: ConfirmedThis bug has been confirmed to be valid by a contributor.This bug has been confirmed to be valid by a contributor.Unit: CompilerBugs/feature requests, that are related to the V compiler in general.Bugs/feature requests, that are related to the V compiler in general.Unit: cgenBugs/feature requests, that are related to the default C generating backend.Bugs/feature requests, that are related to the default C generating backend.Unit: markusedBugs/feature requests, that are related to the -skip-unused.Bugs/feature requests, that are related to the -skip-unused.
Description
Metadata
Metadata
Assignees
Labels
BugThis tag is applied to issues which reports bugs.This tag is applied to issues which reports bugs.Option TypeBugs/feature requests, that are related to `?Type`.Bugs/feature requests, that are related to `?Type`.Status: ConfirmedThis bug has been confirmed to be valid by a contributor.This bug has been confirmed to be valid by a contributor.Unit: CompilerBugs/feature requests, that are related to the V compiler in general.Bugs/feature requests, that are related to the V compiler in general.Unit: cgenBugs/feature requests, that are related to the default C generating backend.Bugs/feature requests, that are related to the default C generating backend.Unit: markusedBugs/feature requests, that are related to the -skip-unused.Bugs/feature requests, that are related to the -skip-unused.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Describe the bug
See included code.
Compiles with
-no-skip-unused.Works when using
-cc gccor-cc clang.Works when using
-gand on V playground.Does not work with
-no-parallel.Reproduction Steps
Expected Behavior
Should compile normally (with warning of unused variable).
Current Behavior
Possible Solution
No response
Additional Information/Context
No response
V version
V 0.4.12 a8e0120
Environment details (OS name and version, etc.)
Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.