Re: builtins-error.c test fails for avr
Georg-Johann Lay <[email protected]>
| Newsgroups | gmane.comp.hardware.avr.gcc |
|---|---|
| Message-ID | <[email protected]> |
Am 04/21/2015 um 03:24 PM schrieb Georg-Johann Lay: > Without fat LTO objects, the compiler just puts gimple IR into the objects, > there is no asm code. Built-in functions are represented by their decls as > provided by targetm.builtin_decl(). This means there is no expansion of tree > to rtl. > That expansion is as late as possible (in principle it could even be in some Should read instead: That check for compile-time constant is as late as possible, namely at tree-rtl lowering in targetm.expand_builtin (in principle it could even be in some > rtl pass; the assumption is that if the respective value has not been resolved > to integer_cst then the same applies to later passes.