* opts-common.c: Include options.h.
commit06907f2532ec470c983b61c93bf8d35c786a73db
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 12 Jun 2010 00:12:12 +0000 (12 00:12 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 12 Jun 2010 00:12:12 +0000 (12 00:12 +0000)
tree50451f0ea94bd6c134f87ada11def37b34fdd724
parentd74210640f9718f0f136cd004eb2d55ab4225d33
* opts-common.c: Include options.h.
(integral_argument): Move from opts.c.
(decode_cmdline_option): New.  Based on read_cmdline_option.
* opts.c (integral_argument): Move to opts-common.c.
(read_cmdline_option): Move most contents to
decode_cmdline_option.  Use %qs in diagnostics.
* opts.h (CL_ERR_DISABLED, CL_ERR_MISSING_ARG, CL_ERR_WRONG_LANG,
CL_ERR_UINT_ARG, struct cl_decoded_option, integral_argument,
decode_cmdline_option): New.

testsuite:
* gcc.dg/funroll-loops-all.c: Update expected error.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160639 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/opts-common.c
gcc/opts.c
gcc/opts.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/funroll-loops-all.c