aboutsummaryrefslogtreecommitdiff
path: root/gcc/go
diff options
context:
space:
mode:
authorSriraman Tallam <tmsriram@google.com>2013-06-18 22:45:03 +0000
committerSriraman Tallam <tmsriram@gcc.gnu.org>2013-06-18 22:45:03 +0000
commitbef8491a658de9e8920acaeff6cb76ef4e946e2c (patch)
tree36b462d3fe220a71b684a5b371e52f55cfc14584 /gcc/go
parent3dd55b2f9fdbf102dad43fca46578f4054174d45 (diff)
downloadgcc-bef8491a658de9e8920acaeff6cb76ef4e946e2c.zip
gcc-bef8491a658de9e8920acaeff6cb76ef4e946e2c.tar.gz
gcc-bef8491a658de9e8920acaeff6cb76ef4e946e2c.tar.bz2
Emit errors when always_inline functions cannot be inlined in -O0 mode.
* tree-inline.c (expand_call_inline): Allow the error to be flagged in early inline pass. * ipa-inline.c (inline_always_inline_functions): Pretend always_inline functions are inlined during failures to flag an error. * gcc.target/i386/inline_error.c: New test. * gcc.c-torture/compile/pr44043.c: Fix test to expect an error. * gcc.c-torture/compile/pr43791.c: Fix test to expect an error. From-SVN: r200179
Diffstat (limited to 'gcc/go')
0 files changed, 0 insertions, 0 deletions