OSDN Git Service

./:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 8 Jun 2009 04:00:50 +0000 (04:00 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 8 Jun 2009 04:00:50 +0000 (04:00 +0000)
commit561017b56be056393775e0713919a4f8c6210daf
tree4bd535229794d01698a0f16070f3eb455edc1fcf
parentf0d7717d41b309917bd4b33b7ab68db223c737aa
./:
* dwarf2.h (enum dwarf_location_atom): Add
INTERNAL_DW_OP_tls_addr.
* dwarf2out.c (INTERNAL_DW_OP_tls_addr): Don't #define.

* c-common.c (c_do_switch_warnings): Don't exit early for -Wswitch
with no default node.  Change warning with %H to warning_at.
Don't clear warn_switch around case checking.
* doc/invoke.texi (Warning Options): Clarify distinction between
-Wswitch and -Wswitch-enum.
java/:
* jcf-parse.c (handle_constant): Change local variable 'kind' to
unsigned int.
testsuite/:
* g++.dg/warn/Wswitch-3.C: New testcase.
* gcc.dg/Wswitch.c: Adjust for -Wswitch change.
* gcc.dg/Wswitch-enum-error.c: Likewise.
* gcc.dg/Wswitch-error.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148270 138bc75d-0d04-0410-961f-82ee72b054a4
12 files changed:
gcc/ChangeLog
gcc/c-common.c
gcc/doc/invoke.texi
gcc/dwarf2.h
gcc/dwarf2out.c
gcc/java/ChangeLog
gcc/java/jcf-parse.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/warn/Wswitch-3.C [new file with mode: 0644]
gcc/testsuite/gcc.dg/Wswitch-enum-error.c
gcc/testsuite/gcc.dg/Wswitch-error.c
gcc/testsuite/gcc.dg/Wswitch.c