]> gcc.gnu.org Git - gcc.git/commit - gcc/c-decl.c
(shadow_tag_warned): Use pedwarn for useless keyword.
authorRichard Stallman <rms@gnu.org>
Tue, 6 Oct 1992 00:23:17 +0000 (00:23 +0000)
committerRichard Stallman <rms@gnu.org>
Tue, 6 Oct 1992 00:23:17 +0000 (00:23 +0000)
commit7a0347fff32015826a7da2704442a80979f43e10
treec13cf491e7e5df55cdbd0f9b4be624ee8a4441df
parented7601742bab10559e7a8e0db37b8afb096d8576
(shadow_tag_warned): Use pedwarn for useless keyword.

(pushdecl): Internally generated vars can be
detected with DECL_SOURCE_LINE of zero, not DECL_IGNORED_P.

(start_enum): Push obstacks, switch to permanent if global.
(finish_enum): Pop obstacks.
(store_parm_decls): When clearing ->names, clear out the values
from the identifiers, restore shadowed values, and clear ->shadowed.

(grokdeclarator): Don't warn of const or volatile function
in a system header file.
(start_struct): Push the obstacks.
Switch to permanent if at top level.
(finish_struct): Pop them.

(store_parm_decls): If we have (erroneously) a prototype
and old-style parm decls, throw away the old-style parm decls.
(finish_decl): Do the pop_obstacks sooner, when it's
time to start allocating in the ambient context's obstack.
Don't call permanent_allocation unless got back to permanent obstack.

(explicit_flag_signed_bitfields): New variable.
(c_decode_option): Set that for -f[un]signed-bitfields.
(grokdeclarator): If that's set, and -fsigned-bitfields,
disregard -traditional when handling bitfield signedness.

From-SVN: r2332
gcc/c-decl.c
This page took 0.054789 seconds and 5 git commands to generate.