OSDN Git Service

gcc/
authoraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 1 Jun 2009 16:09:33 +0000 (16:09 +0000)
committeraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 1 Jun 2009 16:09:33 +0000 (16:09 +0000)
commitb559b9e2e4ee465f2bdf3487f1c85ff46aaefd67
tree79bf383cc2d2a276e12de3fa9beabb03ba047e66
parente61157d7110fcb8f0a247ca70b06879ad59b059e
gcc/
* diagnostic.c (diagnostic_build_prefix): Always print columns.
(diagnostic_report_current_module): Print columns.
* common.opt (flag_show_column): Enable by default.
gcc/testsuite/
* lib/gcc-dg.exp (dg-bogus): Override dg-bogus.
(process-message): Expect column numbers.
* gcc.dg/va-arg-2.c: Use line 0 to indicate no column.
* gcc.dg/pch/counter-2.c: Same.
* gcc.dg/pch/valid-2.c: Same.
* gcc.dg/pch/warn-1.c: Same.
* gcc.dg/pch/valid-1.c: Same.
* gcc.dg/cpp/include2a.c: Handle lack of columns.
* gcc.dg/cpp/syshdr.c: Same.
* gcc.dg/cpp/19940712-1.c: Same.
* gcc.dg/cpp/missing-header-1.c: Same.
* gcc.dg/cpp/unc4.c: Remove -fno-show-column.
* gcc.dg/cpp/tr-warn3.c: Same.
* gcc.dg/cpp/pr29612-2.c: Same.
* gcc.dg/cpp/tr-warn4.c: Same.
* gcc.dg/cpp/Wtrigraphs.c: Same.
* gcc.dg/cpp/poison.c: Same.
* gcc.dg/cpp/arith-3.c: Same.
* gcc.dg/cpp/sysmac2.c: Same.
* gcc.dg/cpp/cpp.exp: Same.
* gcc.dg/cpp/tr-warn5.c: Same.
* gcc.dg/cpp/include2.c: Same.
* gcc.dg/cpp/Wmissingdirs.c: Same.
* gcc.dg/cpp/Wmissingdirs.c: Same.
* gcc.dg/cpp/tr-warn6.c: Same.
* gcc.dg/cpp/Wtrigraphs-2.c: Same.
* gcc.dg/cpp/macspace1.c: Same.
* gcc.dg/cpp/escape-2.c: Same.
* gcc.dg/cpp/assert2.c: Same.
* gcc.dg/cpp/undef2.c: Same.
* gcc.dg/cpp/macspace2.c: Same.
* gcc.dg/cpp/tr-warn1.c: Same.
* gcc.dg/cpp/extratokens2.c: Same.
* gcc.dg/cpp/strify2.c: Same.
* gcc.dg/cpp/Wsignprom.c: Same.
* gcc.dg/cpp/redef2.c: Same.
* gcc.dg/cpp/trad/trad.exp: Same.
* gcc.dg/cpp/arith-1.c: Same.
* gcc.dg/cpp/extratokens.c: Same.
* gcc.dg/cpp/if-mpar.c: Same.
gcc/cp/
* error.c (print_instantiation_partial_context): Print column
numbers.
libcpp/
* include/line-map.h (LAST_SOURCE_COLUMN): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148052 138bc75d-0d04-0410-961f-82ee72b054a4
47 files changed:
gcc/ChangeLog
gcc/common.opt
gcc/cp/ChangeLog
gcc/cp/error.c
gcc/diagnostic.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cpp/19940712-1.c
gcc/testsuite/gcc.dg/cpp/Wmissingdirs.c
gcc/testsuite/gcc.dg/cpp/Wsignprom.c
gcc/testsuite/gcc.dg/cpp/Wtrigraphs-2.c
gcc/testsuite/gcc.dg/cpp/Wtrigraphs.c
gcc/testsuite/gcc.dg/cpp/arith-1.c
gcc/testsuite/gcc.dg/cpp/arith-3.c
gcc/testsuite/gcc.dg/cpp/assert2.c
gcc/testsuite/gcc.dg/cpp/cpp.exp
gcc/testsuite/gcc.dg/cpp/escape-2.c
gcc/testsuite/gcc.dg/cpp/escape.c
gcc/testsuite/gcc.dg/cpp/extratokens.c
gcc/testsuite/gcc.dg/cpp/extratokens2.c
gcc/testsuite/gcc.dg/cpp/if-mpar.c
gcc/testsuite/gcc.dg/cpp/include2.c
gcc/testsuite/gcc.dg/cpp/include2a.c
gcc/testsuite/gcc.dg/cpp/macspace1.c
gcc/testsuite/gcc.dg/cpp/macspace2.c
gcc/testsuite/gcc.dg/cpp/missing-header-1.c
gcc/testsuite/gcc.dg/cpp/poison.c
gcc/testsuite/gcc.dg/cpp/pr29612-2.c
gcc/testsuite/gcc.dg/cpp/redef2.c
gcc/testsuite/gcc.dg/cpp/strify2.c
gcc/testsuite/gcc.dg/cpp/syshdr.c
gcc/testsuite/gcc.dg/cpp/sysmac2.c
gcc/testsuite/gcc.dg/cpp/tr-warn1.c
gcc/testsuite/gcc.dg/cpp/tr-warn3.c
gcc/testsuite/gcc.dg/cpp/tr-warn4.c
gcc/testsuite/gcc.dg/cpp/tr-warn5.c
gcc/testsuite/gcc.dg/cpp/tr-warn6.c
gcc/testsuite/gcc.dg/cpp/trad/trad.exp
gcc/testsuite/gcc.dg/cpp/unc4.c
gcc/testsuite/gcc.dg/cpp/undef2.c
gcc/testsuite/gcc.dg/pch/counter-2.c
gcc/testsuite/gcc.dg/pch/valid-1.c
gcc/testsuite/gcc.dg/pch/valid-2.c
gcc/testsuite/gcc.dg/pch/warn-1.c
gcc/testsuite/gcc.dg/va-arg-2.c
gcc/testsuite/lib/gcc-dg.exp
libcpp/ChangeLog
libcpp/include/line-map.h