summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/always_inline.c
Commit message (Collapse)AuthorAgeFilesLines
* PR middle-end/13448mmitchel2004-02-291-12/+0
| | | | | | | | | | | | | | | | | | | | | * c-tree.h (readonly_warning): Rename to ... (readonly_error): ... this. * c-typeck.c (build_unary_op): Adjust accordingly. (readonly_warning): Rename to ... (readonly_error): ... this and issue errors, not warnings. (build_modify_expr): Call readonly_error, not readonly_warning. (c_expand_asm_operands): Likewise. * tree-inline.c (optimize_inline_calls): Do not inline functions after errors have occurred. PR middle-end/13448 * gcc.dg/inline-5.c: New test. * gcc.dg/always-inline.c: Split out tests into ... * gcc.dg/always-inline2.c: ... this and ... * gcc.dg/always-inline3.c: ... this. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78682 138bc75d-0d04-0410-961f-82ee72b054a4
* * cgraphunit.c (cgraph_optimize_function): Always dohubicka2004-01-131-0/+21
optimize_inline_calls when there is always_inline callee. (cgraph_decide_inlining): Fix formating. * tree-inline.c (inlinable_function_p): Do sorry for alwaysinline functions. (expand_call_inline): Likewise. * toplev.h (sorry): Fix prototype. * gcc.dg/always_inline.c: New test. * gcc.dg/debug/20031231-1.c: Fix. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75781 138bc75d-0d04-0410-961f-82ee72b054a4