Comments (2)
Make sure to also try having the static int a
within the function definition, i.e. lexical != semantic decl context.
from vast.
Also be sure to try:
static int a = 2;
int main(int argc, char *argv[]) {
int x;
if (0 < argc) {
static int a = 0;
x = a;
} else if (0 > argc) {
static int a = 1;
x = a;
} else {
x = a;
}
return x;
}
from vast.
Related Issues (20)
- Allow partial abi conversion.
- Support abi conversion of declarations.
- Finish document about `abi` lowering.
- Support interactive generation of operations. HOT 1
- Support interactive generation of types/attributes.
- Support interactive generation of passes.
- Missing Variable Declaration in the Lookup Table
- Missing terminator in empty `llvm` functions. HOT 1
- Mismatched target triple in llvm codegen.
- SV-Comp backlog HOT 1
- NYI at `include/vastCodeGen/CodeGenDeclVisitor.hpp:155`
- `VAST_UNIMPLEMENTED` in `codegen_drive::build_global_decl(const clang::GlobalDecl &decl)`
- `UNREACHABLE` at `include/vast/CodeGen/FunctionInfo.hpp:240`
- `CompoundExpr` regression
- Find and report SVComp benchmarks that fail to compile
- Remove `hl.record` types once lowering to llvm struct is done.
- Investigate `-snapshot-op-locations` mlir infrastructure to create tower layers
- Fix `SpliceTrailingScopes`
- Implement GNU `section` attribute
- Clear up implementations of type converters.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vast.