Skip to content

crash after "error in backend: Broken function found" #21978

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
llvmbot opened this issue Nov 19, 2014 · 5 comments
Closed

crash after "error in backend: Broken function found" #21978

llvmbot opened this issue Nov 19, 2014 · 5 comments
Labels
bugzilla Issues migrated from bugzilla clang Clang issues not falling into any other category

Comments

@llvmbot
Copy link
Member

llvmbot commented Nov 19, 2014

Bugzilla Link 21604
Resolution FIXED
Resolved on Dec 01, 2014 08:37
Version trunk
OS Linux
Blocks #22065
Attachments C test case produced, test case run script
Reporter LLVM Bugzilla Contributor
CC @majnemer,@pogo59

Extended Description

Attributes 'optsize and optnone' are incompatible!
i8* ()* @​find_fsp
fatal error: error in backend: Broken function found, compilation aborted!

Test case attached.

@majnemer
Copy link
Mannequin

majnemer mannequin commented Nov 19, 2014

It can be reduced down to running clang -Os with
attribute((optnone)) void f() {}

@pogo59
Copy link
Collaborator

pogo59 commented Nov 20, 2014

That's odd... CodeGenModule has code to remove OptimizeForSize if it
sees OptimizeNone. I'll take a look.

@pogo59
Copy link
Collaborator

pogo59 commented Nov 24, 2014

Should be fixed in r222683.

@pogo59
Copy link
Collaborator

pogo59 commented Dec 1, 2014

Edward, I noticed you marked this as blocking #22065 ; I'm curious about
your use-case. Do you habitually use 'optnone' while building/debugging
Coreboot?

@llvmbot
Copy link
Member Author

llvmbot commented Nov 26, 2021

mentioned in issue #22065

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 9, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla clang Clang issues not falling into any other category
Projects
None yet
Development

No branches or pull requests

2 participants