Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-11-28 | Add the referenced function to the CallExpr when resolved | Philip Herron | 2 | -0/+5 | |
2020-11-28 | Add type resolution to CallExpr | Philip Herron | 5 | -6/+120 | |
More work will be added here but there is enough to start working on the initial AST -> Gimple transformations now. | |||||
2020-11-28 | Add rust-name-resolution | Nala Ginrut | 2 | -0/+816 | |
2020-11-28 | Add rust-type-resolution | Nala Ginrut | 2 | -0/+1089 | |
2020-11-28 | Refactor Resolution class | Nala Ginrut | 1 | -194/+196 | |
2020-11-28 | Change rust-session-manager for resolution refactoring | Nala Ginrut | 2 | -13/+16 | |
2020-11-28 | For tuple structs the constructor is just a regular function call | Philip Herron | 2 | -7/+9 | |
This is a hack to get the AST to become a CallExpr more changes might occur later to cleanup this side of the AST. | |||||
2020-11-28 | Add in a toplevel pass to grab global declarations for analysis pass | Philip Herron | 7 | -8/+817 | |
2020-11-28 | Reuse typeComparison checks in assignments and expressions | Philip Herron | 2 | -61/+26 | |
2020-11-28 | Initial type comparison code for error: E0308 | Philip Herron | 2 | -5/+73 | |
2020-11-28 | Need public access to Expr locus and rhs | Philip Herron | 1 | -2/+1 | |
2020-11-28 | Template the scope class | Philip Herron | 3 | -8/+8 | |
2020-11-28 | Need access to function and params for CallExpr | Philip Herron | 1 | -1/+1 | |
2020-11-28 | Infer types for AssignmentExpr | Philip Herron | 2 | -1/+28 | |
2020-11-28 | Infer types to scope for FunctionParams | Philip Herron | 1 | -18/+21 | |
2020-11-28 | Need to be able to visit LHS and RHS of AssignmentExpr | Philip Herron | 1 | -0/+4 | |
2020-11-28 | Need public to access locus and param name in FunctionParam | Philip Herron | 1 | -2/+1 | |
2020-11-28 | Do inferencing on Expressions needs type match checking | Philip Herron | 1 | -8/+35 | |
2020-11-28 | need public access to locus on OperatorExpr | Philip Herron | 1 | -1/+1 | |
2020-11-28 | Need public access to IdentifierExpr ident and locus | Philip Herron | 1 | -1/+1 | |
2020-11-28 | make ArithmeticOrLogicalExpr visitable | Philip Herron | 2 | -0/+6 | |
2020-11-28 | Add missing bool builtin | Philip Herron | 1 | -1/+1 | |
2020-11-28 | Add a basic lookup for builtin types | Philip Herron | 1 | -6/+31 | |
2020-11-28 | Add error E0282 when the LetStmt cannot be infered | Philip Herron | 1 | -0/+7 | |
2020-11-28 | WIP more type inferencing code for LetStmt | Philip Herron | 2 | -28/+126 | |
Addresses: #12 | |||||
2020-11-28 | need public access on the Literal from LiteralExpr | Philip Herron | 1 | -1/+2 | |
2020-11-28 | Setup error handling for infering types in declarations | Philip Herron | 2 | -14/+56 | |
2020-11-28 | need access to the expression for analysis | Philip Herron | 1 | -2/+2 | |
2020-11-28 | This will now compile a void function declaration to gimple | Philip Herron | 1 | -29/+25 | |
-fdump-tree-gimple should provide output of the skeleton function Addresses #19 | |||||
2020-11-28 | Fix params printing in DelimTokenTree | Nala Ginrut | 1 | -23/+17 | |
2020-11-28 | Fix string literal printing in AST dump | Nala Ginrut | 2 | -1/+14 | |
2020-11-28 | Enhance let statement in AST dump | Nala Ginrut | 1 | -5/+7 | |
2020-11-28 | This sets up the conversion from AST to GCC | Philip Herron | 8 | -475/+1129 | |
It will crash when compiling but its the code setup i want to get in sooner than later. Addresses #15 | |||||
2020-11-28 | This setups an initial frame work for our resolution step for the pipeline | Philip Herron | 13 | -968/+1923 | |
More work is required but it takes advantage of the vistior pattern from the AST so we can do this without RTTI and dynamic_casts. More passes on the AST AKA our HIR should follow this pattern. Addresses: #12 | |||||
2020-11-28 | Adding Rust target hook documentation | SimplyTheOther | 36 | -3514/+3906 | |
Added powerpc target hook and improved aarch64 feature handling Added DEC Alpha target hook Added ARC target hook Created ARM target hook (at least preliminary support) | |||||
2020-11-27 | Fix indentation | Nala Ginrut | 35 | -12580/+14451 | |
2020-11-27 | Initial target hook construction | SimplyTheOther | 143 | -33/+1555 | |
Creation of basic target_os, target_env, target_vendor, and target_family for all GCC targets. Also target_cpu and target_features for i386 - will do target_features for other targets when I can find exactly what is considered a target_feature by rustc | |||||
2020-11-27 | Enhance AST dump | Nala Ginrut | 4 | -20910/+25723 | |
2020-11-27 | Add rust_OBJS to fix compiling error | Nala Ginrut | 1 | -0/+2 | |
2020-11-27 | Fixed the compiler name in another place in Make-lang.in | SimplyTheOther | 1 | -1/+1 | |
2020-11-27 | Changed compiler name in Make-lang.in to be consistent with other files | SimplyTheOther | 1 | -2/+2 | |
2020-11-27 | Cleanup and fixes to retain desired behaviour | SimplyTheOther | 24 | -231/+321 | |
2020-11-27 | Fix broken build | Philip Herron | 2 | -4/+3 | |
2020-11-27 | Remove unused compilation code to GCC GENERIC. | Philip Herron | 23 | -3192/+1217 | |
Wire up Linemap abstraction object and location_t to Location | |||||
2020-11-27 | Rebase GCCRS against SimplyTheOthers c++11 AST. | Philip Herron | 1605 | -161717/+2484 | |
We can use this as a common base to build upon. It contains a fully object orientated c++11 AST. | |||||
2020-11-27 | Fixed data structure for storing target data | SimplyTheOther | 62 | -6738/+24766 | |
2020-11-27 | Added more type no bounds parsing | SimplyTheOther | 2 | -8/+265 | |
2020-11-27 | Original rust code from 2014/2015 | Philip Herron | 1588 | -0/+183743 | |
2020-11-27 | tree-optimization/98024 - fix rnflow regression | Richard Biener | 1 | -2/+4 | |
The change to make PRE insertion iterate less had a typo in checking successors RPO state. Fixing this exposes that regular PRE insertion when facing a value that is the same on all edges inserts an assignment in place of a PHI node but fails to set up things so that this insertion is not repeated (it correctly does not return 'new_stuff'). But with the new iteration scheme this causes us to repeatedly insert such assignment and change AVAIL_OUT over to the newly inserted expression. The fix is to treat this as PHI and insert into PHI_GEN, avoiding repetitive insertion. 2020-11-27 Richard Biener <rguenther@suse.de> PR tree-optimization/98024 * tree-ssa-pre.c (insert): Fix successor RPO order check. (do_pre_regular_insertion): When inserting an assignment in place of an all-same-value PHI still record that into PHI_GEN. | |||||
2020-11-27 | gfortran.dg/gomp/requires-4.f90: Fix !$omp clause | Tobias Burnus | 1 | -1/+1 | |
gcc/testsuite/ * gfortran.dg/gomp/requires-4.f90: Fix typo in '!$omp' clause. |