summaryrefslogtreecommitdiff
path: root/gcc/c-common.c
Commit message (Collapse)AuthorAgeFilesLines
* (c_build_type_variant): Don't futz with main type variant of array since C...Richard Kenner1997-06-091-22/+3
| | | | | | | | (c_build_type_variant): Don't futz with main type variant of array since C Standard requires main type variant of array-of-const also be array-of-const. From-SVN: r14195
* (check_format_info): Correct handling of the 'a' flag which addsRichard Kenner1997-06-091-4/+7
| | | | | | another pointer level. From-SVN: r14176
* xJason Merrill1997-02-161-4/+1
| | | | From-SVN: r13652
* (skip_evaluation): Likewise.Richard Kenner1996-12-071-6/+14
| | | | | | | (overflow_warning, unsigned_conversion_warning): Don't warn about potential runtime errors when skipping evaluation. From-SVN: r13233
* (decl_attributes, case A_ALIAS): Add missing parens.Richard Kenner1996-11-151-1/+1
| | | | From-SVN: r13162
* (split_specs_attrs): New function.Richard Kenner1996-10-091-0/+70
| | | | From-SVN: r12925
* (decl_attribtes, case A_SECTION): Allow for static local variable.Richard Kenner1996-09-221-1/+2
| | | | From-SVN: r12774
* (record_function_format): Define as static.Richard Kenner1996-07-031-1/+1
| | | | From-SVN: r12391
* formatting tweaksMike Stump1996-07-031-4/+4
| | | | From-SVN: r12390
* (check_format_info): Change text of message about use of `0' withRichard Kenner1996-06-111-1/+1
| | | | | | precision. From-SVN: r12277
* (decl_attributes, case A_T_UNION): Don't look at fields of union ifRichard Kenner1996-06-101-1/+2
| | | | | | there aren't any. From-SVN: r12256
* (enum attrs): Add A_FORMAT_ARG.Richard Kenner1996-06-081-6/+167
| | | | | | | | | | | | | | (init_attribute): Initialize it. (decl_attributes, case A_FORMAT): Clean up error messages. (decl_attributes, case A_FORMAT_ARG): New case. (struct international_format_info): New structure and typedef. (international_format_list): New variable. (record_international_format): New function. (init_format_info): Call it for gettext, dcgettext, and dcgettext. (check_format_info): See if format arg is call to internationalization function. From-SVN: r12241
* (decl_attributes): Chain multiple attributes correctly.Stan Cox1996-05-061-0/+2
| | | | From-SVN: r11942
* (truthvalue_conversion, case ADDR_EXPR): Don't treat address ofRichard Kenner1996-05-061-0/+6
| | | | | | external decl as always nonzero. From-SVN: r11941
* -fno-common changeJason Merrill1996-05-061-1/+9
| | | | From-SVN: r11940
* Install latest version of last patch.Richard Kenner1996-02-181-3/+5
| | | | From-SVN: r11293
* (check_format_info): Warn about `L' if -pedantic.Richard Kenner1996-02-181-2/+10
| | | | From-SVN: r11291
* (overflow_warning): Fix typo in warning message.Richard Kenner1996-02-131-1/+1
| | | | From-SVN: r11268
* (check_format_info): Handle missing type in format when terminated byRichard Kenner1996-02-111-1/+1
| | | | | | a new `%'. From-SVN: r11203
* c-lex.c (check_newline): Pass character after `#pragma' to HANDLE_PRAGMA.Doug Evans1996-01-151-2/+6
| | | | | | | | | | | | | | | | | | | * c-lex.c (check_newline): Pass character after `#pragma' to HANDLE_PRAGMA. Don't call get_directive_line if at end of line. * c-common.c (get_directive_line): Watch for EOF. * h8300/h8300.h (HANDLE_PRAGMA): New argument `c'. Must issue `return' now. * i960/i960.h (HANDLE_PRAGMA): Likewise. * sh/sh.h (HANDLE_PRAGMA): Likewise. * nextstep.h (HANDLE_PRAGMA): Likewise. * h8300/h8300.c (handle_pragma): New argument `ch'. Simplify pragma processing. Delete support for `#pragma section'. * i960/i960.c (process_pragma): New argument `c'. Change result to terminating character. * nextstep.c (handle_pragma): Likewise. * sh/sh.c (handle_pragma): Likewise. Also simplified. From-SVN: r10999
* (decl_attributes): Fix default alignment: BIGGEST_ALIGNMENT is aRichard Kenner1996-01-011-2/+3
| | | | | | number of bits, not bytes. From-SVN: r10929
* (WCHAR_TYPE_SIZE): Add a default definition.Jim Wilson1995-12-181-0/+8
| | | | From-SVN: r10806
* (combine_strings): Add support for WCHAR_TYPE as short.Jim Wilson1995-11-291-1/+6
| | | | From-SVN: r10622
* (check_format_info): Make test for null pointer more general.Richard Kenner1995-10-191-1/+1
| | | | From-SVN: r10479
* (check_format_info): Don't warn about format type mismatch if theRichard Kenner1995-09-261-5/+9
| | | | | | argument is an ERROR_MARK. From-SVN: r10401
* (decl_attribute, case A_PACKED): Check is_type first.Richard Kenner1995-08-291-6/+7
| | | | | | | (decl_attribute, case A_T_UNION): Likewise. Don't access TYPE_FIELDS if DECL is zero. From-SVN: r10292
* (decl_attributes, case A_ALIGNED): Handle is_type case properly.Richard Kenner1995-07-181-1/+1
| | | | From-SVN: r10146
* (decl_attributes, case A_CONSTRUCTOR, A_DESTRUCTOR): Set TREE_USED.Richard Kenner1995-06-271-2/+8
| | | | From-SVN: r10064
* Update FSF address.Richard Kenner1995-06-151-1/+2
| | | | From-SVN: r9959
* (format_char_info, case 'm'): Set type to void.Richard Kenner1995-06-141-1/+4
| | | | | | (check_format_info): If type is void, ignore operand. From-SVN: r9954
* (decl_attributes): Fix typo in size passed to alloca.Richard Kenner1995-06-051-1/+1
| | | | From-SVN: r9874
* (truthvalue_conversion, BIT_AND_EXPR): Make sure that the result hasRichard Kenner1995-05-311-2/+5
| | | | | | boolean_type_node. From-SVN: r9844
* *** empty log message ***Jason Merrill1995-05-241-0/+1
| | | | From-SVN: r9801
* (convert_and_check): Don't diagnose overflow in constant expressionRichard Kenner1995-05-111-0/+4
| | | | | | merely because conversion overflowed. From-SVN: r9626
* (declare_hidden_char_array): Mark decl artificial.Jason Merrill1995-05-091-0/+1
| | | | From-SVN: r9594
* (enum attrs): Add A_UNUSED.Richard Kenner1995-04-301-1/+10
| | | | | | | (init_attributes): Initialize it. (decl_attributes, case A_UNUSED): New case. From-SVN: r9545
* (decl_attributes): Always continue if attribute not found.Doug Evans1995-04-281-4/+4
| | | | From-SVN: r9522
* (init_attributes): Don't require decl for A_PACKED.Richard Kenner1995-04-261-2/+4
| | | | | | (decl_attributes, case A_PACKED): Set TYPE_PACKED for type. From-SVN: r9485
* attributes weak and aliasJason Merrill1995-04-161-1/+26
| | | | From-SVN: r9391
* (enum attrs): New attribute, A_NOCOMMON.Richard Kenner1995-04-101-2/+11
| | | | | | | (init_attribute): Initialize it. (decl_attributes): Implement it. From-SVN: r9347
* (init_attributes): A_FORMAT is only for decls.Richard Kenner1995-03-311-1/+1
| | | | From-SVN: r9271
* (enum attrs): New enum class.Richard Kenner1995-03-301-282/+370
| | | | | | | | (attrtab, attrtab_idx): New variables. (add_attribute, init_attributes): New functions. (decl_attributes): Major rewrite. From-SVN: r9261
* (decl_attributes): Clean up test for __mode__.Richard Kenner1995-03-291-5/+5
| | | | From-SVN: r9241
* (decl_attributes): Allow alignment for TYPE_DECLs.Richard Kenner1995-03-161-1/+3
| | | | From-SVN: r9195
* (decl_attributes): Handle prefix and suffix attributes the same way.Richard Kenner1995-03-091-9/+1
| | | | From-SVN: r9152
* (decl_attributes): Add third argument prefix_attributes.Richard Kenner1995-02-211-45/+25
| | | | | | (valid_machine_attribute): Deleted; moved to tree.c. From-SVN: r8993
* (type_for_*): Check integer_type_node first.Jason Merrill1995-01-311-6/+6
| | | | From-SVN: r8840
* Use boolean_* instead of integer_* where appropriate.Jason Merrill1995-01-171-30/+31
| | | | From-SVN: r8768
* Add 1995 to copyright.Doug Evans1995-01-141-1/+1
| | | | From-SVN: r8760
* (decl_attributes): Fix typo in packed ignored warning.Doug Evans1995-01-141-20/+35
| | | | | | | | Fix unrecognized mode warning. Make string comparisons consistent. Support machine attributes with arguments. Make noreturn/volatile warnings consistent with others. From-SVN: r8757