Skip to content

Add -fno-builtin command line flag#5081

Open
gnavdev28 wants to merge 2 commits intoldc-developers:masterfrom
gnavdev28:fn_builtin
Open

Add -fno-builtin command line flag#5081
gnavdev28 wants to merge 2 commits intoldc-developers:masterfrom
gnavdev28:fn_builtin

Conversation

@gnavdev28
Copy link

Add -fno-builtin flag

This PR implements the -fno-builtin flag to disable implicit knowledge of built-in functions, as requested in #3263.

Changes:

  • Added -fno-builtin to command-line options.
  • Attached "no-built-in" attribute to LLVM functions in codegen.
  • Added verification test tests/codegen/attr_fno_builtin.d.

Fixes part of #3263.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant