StackOverflow Questions for Tag: function-attributes

Lundin
Lundin

Reputation: 213810

Is there such a thing as "function attribute correctness"?

Score: 5

Views: 132

Answers: 1

Read More
Alexander Sannikov
Alexander Sannikov

Reputation: 103

GCC attributes influence on nested functions

Score: 0

Views: 354

Answers: 1

Read More
Albert
Albert

Reputation: 68140

pure/const function attributes in different compilers

Score: 42

Views: 16060

Answers: 3

Read More
griotspeak
griotspeak

Reputation: 13247

const gcc function attribute and a global const variables

Score: 0

Views: 477

Answers: 1

Read More
qwr
qwr

Reputation: 10919

Function memoization, passing around precomputed values

Score: 2

Views: 106

Answers: 0

Read More
ng.newbie
ng.newbie

Reputation: 3218

Does asmlinkage mean stack or registers?

Score: 2

Views: 852

Answers: 2

Read More
Madagascar
Madagascar

Reputation: 7345

What's an implementation required to do upon seeing unknown attributes?

Score: 3

Views: 64

Answers: 1

Read More
user6149363
user6149363

Reputation: 233

GCC/Clang function attributes per template instantiation

Score: 15

Views: 738

Answers: 3

Read More
Hind Forsum
Hind Forsum

Reputation: 10507

gcc linker extension __attribute__((constructor)) causes crash in main()

Score: 2

Views: 786

Answers: 3

Read More
alfC
alfC

Reputation: 16242

A more standard __attribute__((warning("msg"))

Score: 3

Views: 686

Answers: 0

Read More
Petr Skocik
Petr Skocik

Reputation: 60068

Forcing a function to be optimized on clang or prologueless non-naked C functions - paste together blocks of asm based on C constants

Score: 3

Views: 990

Answers: 4

Read More
Jay
Jay

Reputation: 394

Is it possible to declare the function's attribute outside of where it is defined? (GCC)

Score: 2

Views: 993

Answers: 1

Read More
Rich Tier
Rich Tier

Reputation: 9441

Decorator to set attribute of function

Score: 19

Views: 17497

Answers: 3

Read More
alfC
alfC

Reputation: 16242

gcc 12 suggesting to add the "pure" attribute

Score: 1

Views: 360

Answers: 1

Read More
Robbe
Robbe

Reputation: 2793

Best way to initialize variable in a module?

Score: 11

Views: 8153

Answers: 3

Read More
leeB0Wen
leeB0Wen

Reputation: 41

How to get custom attributes in LLVM Pass

Score: 4

Views: 1268

Answers: 0

Read More
Charlie Brown
Charlie Brown

Reputation: 1

In Python, how can I use a function attribute as a function?

Score: 0

Views: 156

Answers: 2

Read More
Drathier
Drathier

Reputation: 14519

Pure version of `std.format.format!`?

Score: 3

Views: 111

Answers: 1

Read More
Abhishek Chakravarti
Abhishek Chakravarti

Reputation: 71

Why is no warning given for the wrong use of __attribute__((pure)) in GCC?

Score: 2

Views: 384

Answers: 2

Read More
Marco Leogrande
Marco Leogrande

Reputation: 8458

How to use GCC's printf format attribute with C++11 variadic templates?

Score: 24

Views: 5763

Answers: 3

Read More
PreviousPage 1Next