aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-decl.c
AgeCommit message (Collapse)AuthorFilesLines
1994-04-25(grokdeclarator): Never warn about `long long' in system header.Richard Kenner1-1/+1
From-SVN: r7158
1994-04-25(finish_decl): Redo last change.Richard Kenner1-8/+8
From-SVN: r7156
1994-04-18(duplicate_decls): Always warn when const declaration followsRichard Kenner1-1/+7
non-const one for variables. From-SVN: r7076
1994-04-16(finish_decl): If asmspec_tree, clear DECL_BUILT_IN for function andRichard Kenner1-1/+11
DECL_RTL always. From-SVN: r7048
1994-04-11(finish_decl): Don't preserve initializer if it is error_mark_node.Jim Wilson1-1/+1
From-SVN: r7033
1994-04-11(duplicate_decls, pushdecl, builtin_function): Use DECL_FUNCTION_CODERichard Kenner1-3/+3
instead of DECL_SET_FUNCTION_CODE. From-SVN: r7025
1994-04-09(duplicate_decls): Put new type in same obstack as old ones, orRichard Kenner1-0/+13
permanent is old ones in different obstacks. From-SVN: r7001
1994-04-06(finish_decl): Correct typo in use of tree_int_cst_sgn.Jim Wilson1-1/+4
From-SVN: r6989
1994-04-06(warn_missing_declarations): New variable.Richard Kenner1-1/+23
(c_decode_option): -Wmissing-declarations. (start_function): Actually do the checking. From-SVN: r6981
1994-03-25(push_parm_decl): Move decl of unused variable OLDDECL into #if 0Richard Kenner1-3/+2
block. From-SVN: r6872
1994-03-23(init_decl_processing): Change builtin_next_arg type soJim Wilson1-1/+1
that it accepts any parameter instead of none. From-SVN: r6853
1994-03-21(duplicate_decls): When pedantic, warn when any staticJim Wilson1-3/+4
declaraction follows a non-static. From-SVN: r6840
1994-03-19(grokdeclarator): Use signed version of `sizetype' for type of arrayRichard Kenner1-3/+6
index. From-SVN: r6822
1994-03-17(pushdecl): Call lookup_name for external references.Jim Wilson1-20/+19
Delete code to check external references against global declarations. (redeclaration_error_message): If newdecl has block scope, then return string only if olddecl has the same scope. From-SVN: r6807
1994-03-14(grokdeclarator): Convert to sizetype when manipulating size of arrayRichard Kenner1-10/+16
and use care to avoid mixed-type operations. From-SVN: r6787
1994-03-14(finish_{decl,struct,enum}): Call tree_int_cst_sgn.Richard Kenner1-5/+4
From-SVN: r6775
1994-03-11(finish_decl): When preserving an initializer, ensure its type is on aRichard Kenner1-0/+6
good obstack. From-SVN: r6742
1994-03-08(finish_decl): When saving/discarding initializers,Jim Wilson1-5/+10
don't check TREE_PERMANENT and TREE_STATIC. (finish_decl, finish_function): Pass new argument to permanent_allocation. From-SVN: r6722
1994-02-27(finish_decl, finish_function): Issue warning for large objects, ifRichard Kenner1-0/+42
requested. From-SVN: r6653
1994-02-27(store_parm_decls): Initialize some vars.Richard Kenner1-2/+1
From-SVN: r6637
1994-02-17(duplicate_decls): Merge section name into new decl.Doug Evans1-0/+7
From-SVN: r6583
1994-02-01(grokdeclarator): `volatile' function warning corrected to readRichard Kenner1-3/+3
`noreturn' function warning. From-SVN: r6457
1993-12-25(grokdeclarator): Properly validate __complex__ and create the variousRichard Kenner1-3/+19
kinds of complex integer types. From-SVN: r6311
1993-12-16cp-decl.c (flag_conserve_space): New language specific flag to tell the ↵Mike Stump1-0/+4
compiler to use .common when possible. * cp-decl.c (flag_conserve_space): New language specific flag to tell the compiler to use .common when possible. Reduces the size of .o files. * cp-decl.c (duplicate_decls): Copy DECL_COMMON from the olddecl. * cp-decl.c (start_decl): Set DECL_COMMON appropriately. * cp-decl.c (finish_decl): Use flag_conserve_space, instead of flag_no_common. * cp-decl2.c (flag_conserve_space, lang_f_options): New flag. * toplev.c (lang_options): New -fconserve-space flag. * tree.h (DECL_COMMON): New flag. * tree.h (tree_decl): New common_flag. * varasm.c (assemble_variable): Use DECL_COMMON to help determine if an object can be put in .common. * c-decl.c (start_decl): Set DECL_COMMON to 1.. From-SVN: r6244
1993-11-23(finish_function): Pass new arg to expand_function_end.Richard Stallman1-1/+1
Don't call expand_end_bindings here. From-SVN: r6140
1993-11-04(finish_enum): Undo previous change.Richard Stallman1-6/+2
From-SVN: r5997
1993-11-04(finish_enum): Always make an enum signed if it will fit.Richard Stallman1-2/+6
From-SVN: r5996
1993-10-30(finish_function): If rest_of_compilation set DECL_INITIALRichard Stallman1-1/+3
to null, leave it null. From-SVN: r5943
1993-10-19(finish_decl): After preserve_initializer call, setRichard Stallman1-1/+8
TREE_PERMANENT bit in initializer. From-SVN: r5800
1993-10-08(finish_decl): Error if block-scope static var has incomplete type.Richard Stallman1-21/+17
(complete_array_type): Correctly set MAXINDEX to one less than array size. From-SVN: r5672
1993-10-08(complete_array_type): Correctly set MAXINDEX to one less than array size.Richard Stallman1-2/+3
From-SVN: r5670
1993-10-05(init_decl_processing): Call init_function_format_info.Richard Kenner1-1/+2
From-SVN: r5606
1993-09-28(init_decl_processing): Use signed_type and unsigned_typeRichard Stallman1-2/+2
to set signed_wchar_type_node and unsigned_wchar_type_node. From-SVN: r5504
1993-09-23(flag_allow_single_precision): New variable.Richard Stallman1-0/+6
(c_decode_option): Handle -fallow-single-precision. From-SVN: r5425
1993-09-13(complete_array_type): Handle TREE_PURPOSE of array constructor elements.Richard Stallman1-3/+10
From-SVN: r5316
1993-09-07(build_enumerator): Choose type properly for wide constants.Richard Stallman1-14/+22
(finish_enum): Always set type of the enumerators to the enum type. From-SVN: r5271
1993-09-05(grokdeclarator): For PARM_DECLs, only callRichard Stallman1-3/+7
c_build_type_variant is constp or volatilep is true. From-SVN: r5263
1993-09-03(build_enumerator): Apply default conversion to constant-expression.Richard Kenner1-1/+4
From-SVN: r5258
1993-09-01(finish_decl): For static const variables, preserveJim Wilson1-1/+9
initializers instead of discarding them. From-SVN: r5245
1993-08-31(struct c_function): Remove unneeded enum_next_value.Richard Kenner1-4/+4
(push_c_function_context, pop_c_function_context): Don't save it. From-SVN: r5230
1993-08-30(get_parm_info...Richard Kenner1-2/+4
(get_parm_info, store_parm_decls): If PROMOTE_PROTOTYPE, promote all integral types shorter than int, including short enums. From-SVN: r5228
1993-08-12Do not report -Wnested-extern errors for __FUNCTION__/__PRETTY_FUNCTION__.Michael Meissner1-1/+3
From-SVN: r5146
1993-08-07c-decl.c (init_decl_processing): Make long long available to | use for ↵Doug Evans1-8/+10
SIZE_TYPE and PTRDIFF_TYPE. * c-decl.c (init_decl_processing): Make long long available to | use for SIZE_TYPE and PTRDIFF_TYPE. From-SVN: r5101
1993-08-07(finish_decl): Allow file-scope static incomplete array.Richard Stallman1-2/+2
From-SVN: r5094
1993-08-06(finish_struct): No pedwarn for field with enum type if size matches int.Richard Stallman1-8/+25
(grokdeclarator): No error for void type for extern or global var. (grokdeclarator): Warn here for volatile fn returning non-void type. (start_function): Not here. (grokdeclarator): Don't pass on const and volatile fron function value type to function type. From-SVN: r5084
1993-07-29Fix typo in last change.Richard Stallman1-2/+2
From-SVN: r5036
1993-07-28(start_function): Warn if volatile fn returns non-void.Richard Stallman1-0/+4
From-SVN: r5022
1993-07-26Fix print_lang_decl and print_lang_type function headers.Bill Cox1-2/+8
From-SVN: r4988
1993-07-06(insert_block): Correct typo in comment.Jim Wilson1-1/+1
From-SVN: r4869
1993-07-06(duplicate_decls): Don't warn for non-extern var declRichard Stallman1-1/+3
following an extern one (for -Wredundant-decls). From-SVN: r4856