aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-decl.c
AgeCommit message (Collapse)AuthorFilesLines
1995-06-15Update FSF address.Richard Kenner1-1/+2
From-SVN: r9959
1995-06-14(start_function): New parameter for attributes.Richard Kenner1-6/+5
From-SVN: r9943
1995-06-10(c_decode_option, case "-Wall"): Don't set extra_warnings.Richard Kenner1-1/+0
From-SVN: r9919
1995-06-06(start_decl): Set DECL_COMMON before calling decl_attributes.Richard Kenner1-4/+4
From-SVN: r9895
1995-06-06(duplicate_decls): Don't clear DECL_CONTEXT of new decl if it is aRichard Kenner1-1/+2
function. From-SVN: r9893
1995-05-22(finish_decl_top_level): Removed; no longer used.Richard Kenner1-14/+0
From-SVN: r9765
1995-05-20(shadow_tag_warned): Don't warn about useless keyword if in systemRichard Kenner1-1/+1
header file. From-SVN: r9755
1995-05-16Fix typos in comments.Richard Kenner1-2/+2
From-SVN: r9711
1995-05-16Update weak symbol supportJason Merrill1-0/+1
From-SVN: r9697
1995-05-12(push_parm_decl): Pass any attributes to decl_attributes.Richard Kenner1-1/+4
From-SVN: r9639
1995-05-11(grokdeclarator): Use PARM_FLAG to see if should make PARM_DECL.Richard Kenner1-1/+1
From-SVN: r9627
1995-05-11(finish_struct): Properly update DECL_PACKED.Richard Kenner1-1/+1
From-SVN: r9625
1995-04-26(finish_decl_top_level): New function.Richard Kenner1-0/+14
From-SVN: r9499
1995-04-26(finish_struct): Add ATTRIBUTES argument, call decl_attributes and set ↵Richard Kenner1-6/+18
DECL_PACKED from TYPE_PACKED. (finish_struct): Add ATTRIBUTES argument, call decl_attributes and set DECL_PACKED from TYPE_PACKED. (finish_enum): Add ATTRIBUTES argument, call decl_attributes, and make enum narrow if TYPE_PACKED. From-SVN: r9486
1995-04-26(init_decl_processing): Don't give builtin__constant_p an argumentRichard Kenner1-1/+1
type. From-SVN: r9474
1995-04-25(pushdecl): Don't test DECL_EXTERNAL when deciding whetherJim Wilson1-2/+1
to register a duplicate decl in the current block. From-SVN: r9465
1995-04-25(start_decl): New args for attributes; call decl_attributes.Richard Kenner1-1/+5
From-SVN: r9444
1995-04-25(duplicate_decls): Don't look at TYPE_ACTUAL_ARG_TYPES if it is notRichard Kenner1-1/+2
set. From-SVN: r9439
1995-04-11(poplevel): Do output inline function ifJim Wilson1-2/+6
DECL_ABSTRACT_ORIGIN points to itself. From-SVN: r9359
1995-03-09(start_function): Handle new parameter ATTRIBUTES.Richard Kenner1-3/+6
From-SVN: r9147
1995-03-05Undo this patch, breaks libobjc builds.Doug Evans1-6/+6
* c-decl.c (pushdecl): When have a duplicate decl, and it is global, delete lookup_name name in test for return. (redeclaration_error_message): When newdecl is a block level declaration, use lookup_name_current_level instead of DECL_CONTEXT. From-SVN: r9123
1995-03-01Remove Feb 13's FUNCTION_NEEDS_STATIC_CHAIN changes.Per Bothner1-3/+0
From-SVN: r9107
1995-02-24(pushdecl): When have a duplicate decl, and it is global,Jim Wilson1-6/+6
delete lookup_name name in test for return. (redeclaration_error_message): When newdecl is a block level declaration, use lookup_name_current_level instead of DECL_CONTEXT. From-SVN: r9072
1995-02-21(grokdeclarator): Added code to support machine attributes.Richard Kenner1-0/+20
(duplicate_decls): Pass DECL_MACHINE_ATTRIBUTES to descendent typedef; make duplicate typedefs that are identical generate a warning if they are both in system header files. (redeclaration_error_message): Make duplicate typedefs that are identical not an error if they are both in system header files. From-SVN: r8994
1995-02-13* c-decl.c (grokdeclarator): Maybe set FUNCTION_NEEDS_STATIC_CHAIN.Per Bothner1-0/+2
From-SVN: r8937
1995-02-11(grokdeclarator): Use NAME, not IDENTIFIER_POINTER of DECLARATOR forRichard Kenner1-13/+9
error messages; DECLARATOR might be null. From-SVN: r8907
1995-01-17Set boolean_*, pedantic_lvaluesJason Merrill1-0/+10
From-SVN: r8766
1995-01-14__attribute__ ((constructor))Jason Merrill1-0/+29
From-SVN: r8747
1995-01-03(duplicate_decls): Push to permanent obstack beforeJim Wilson1-0/+14
creating new function types. From-SVN: r8717
1994-12-30Include output.h.Richard Kenner1-0/+1
From-SVN: r8712
1994-12-06(init_decl_processing): Implement built-in functions fabsf, sqrtf,Richard Kenner1-0/+37
sinf, cosf, fabsl, sqrtl, sinl, cosl. From-SVN: r8619
1994-11-28(finish_decl): Use DECL_CONTEXT instead ofJim Wilson1-9/+8
current_binding_level to identify file-scope variables. From-SVN: r8565
1994-11-11(duplicate_decls): Properly merge decls with differing DECL_CONTEXT.Richard Kenner1-2/+7
From-SVN: r8428
1994-10-18(start_function): Save immediate_size_expand and initialize it to zeroRichard Kenner1-0/+6
in case nested function. From-SVN: r8302
1994-10-01(shadow_label): Emit an error if the label is alreadyRichard Earnshaw1-0/+15
declared at this label scope. From-SVN: r8191
1994-09-02(min_precision): Move to c-common.cJason Merrill1-31/+0
From-SVN: r8021
1994-08-12Fix typo in last change.Richard Kenner1-1/+1
From-SVN: r7901
1994-08-12(duplicate_decls): Suppress -Wredundant-decls warning if we haveRichard Kenner1-2/+3
already given an error. From-SVN: r7900
1994-07-29(finish_decl): Preserve initialializer if iterator.Richard Kenner1-1/+1
From-SVN: r7829
1994-07-28(finish_struct): Don't look at alignment of error_mark_node.Richard Kenner1-1/+1
From-SVN: r7804
1994-07-21(start_function): If old_decl is NULL, then set it to the implicit decl if any.Jim Wilson1-2/+8
(start_function): If old_decl is NULL, then set it to the implicit decl if any. Delete superfluous test from warn missing prototypes code. For warn missing declarations code, only warn if previous decl is implicit. From-SVN: r7787
1994-07-12(pushdecl): Don't call lookup_name_current_level_global when traditional.Jim Wilson1-10/+19
(pushdecl): Don't call lookup_name_current_level_global when traditional. When doing checks against IDENTIFIER_LIMBO_VALUE, also do check against INDENTIFIER_GLOBAL_VALUE when traditional. From-SVN: r7756
1994-07-08(finish_decl): Put RTL and other stuff in permanent_obstack if DECLRichard Kenner1-1/+2
is. From-SVN: r7679
1994-07-02(duplicate_decls): When make void* match char*, setJim Wilson1-0/+4
DECL_IN_SYSTEM_HEADER. From-SVN: r7645
1994-06-24(lang_decode_option): Set warn_bad_function_cast forRichard Kenner1-0/+10
-Wbad-function-cast. From-SVN: r7561
1994-06-23(clear_binding_level): Add missing fields in initializer.Richard Kenner1-2/+3
(c_decode_option): Correct misspelling of -fno-dollars-in-identifiers. From-SVN: r7539
1994-06-14(min_precision): New function.Richard Kenner1-32/+38
(finish_enum): Rewrite code to determine precision required for enumeral type. From-SVN: r7471
1994-05-16(finish_enum): Handle VALUES being an ERROR_MARK.Richard Kenner1-28/+34
From-SVN: r7303
1994-05-14(copy_lang_decl): No-op function that will neverJason Merrill1-0/+9
actually be called. From-SVN: r7294
1994-05-02(pushdecl): Use lookup_name_current_level_global instead of lookup_name for ↵Jim Wilson1-2/+30
extern references. (pushdecl): Use lookup_name_current_level_global instead of lookup_name for extern references. Don't return duplicate decl if it came from the global binding level, and there exists a conflicting decl in an intervening block. (lookup_name_current_level_global); New function. From-SVN: r7189