diff options
| author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-03-30 01:35:15 +0000 |
|---|---|---|
| committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-03-30 01:35:15 +0000 |
| commit | c271bdb277d61ab830951a1f495b421f9ad5cca7 (patch) | |
| tree | c268ffdf655de9176ff5a95683d1e4bfc230ad87 /libjava/scripts/TexinfoDoclet.java | |
| parent | cff9bd7dba49ac01c42906be70e395481b764d7e (diff) | |
| download | ppe42-gcc-c271bdb277d61ab830951a1f495b421f9ad5cca7.tar.gz ppe42-gcc-c271bdb277d61ab830951a1f495b421f9ad5cca7.zip | |
PR c/20519
* c-decl.c (c_finish_incomplete_decl): Update complete_array_type call.
(build_compound_literal): Likewise. Propagate decl type into the
initializer.
(finish_decl): Likewise. Use new return value from complete_array_type
for zero sized arrays.
(complete_array_type): Move ...
* c-common.c (complete_array_type): ... here. Change first argument
to pointer-to-type-node. Consistently use sizetype for the index
except for zero sized arrays. Detect zero sized arrays for pedantic
mode diagnostics. Create a new type node instead of modifying the
old node in place.
* c-tree.h (complete_array_type): Move decl ...
* c-common.h (complete_array_type): ... here.
cp/
* decl.c (cp_complete_array_type): Rename from complete_array_type.
Use the new complete_array_type in c-common.c. Update all callers.
* cp-tree.h (cp_complete_array_type): Update to match.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97223 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/scripts/TexinfoDoclet.java')
0 files changed, 0 insertions, 0 deletions

