Richard Stallman
34d6bae3ee
(declare_function_name): Set DECL_EXTERNAL in the decls.
...
From-SVN: r5106
1993-08-08 08:33:48 +00:00
Richard Stallman
3550617cd5
(decl_attributes): Support attributes `volatile'
...
with alias `noreturn', and `const'.
From-SVN: r5082
1993-08-06 01:08:12 +00:00
Paul Eggert
90c939d4ee
(unsigned_conversion_warning): Just use `warning',
...
not `pedwarn'; these diagnostics are not required by Standard C.
From-SVN: r4909
1993-07-12 21:10:27 +00:00
Paul Eggert
7193bce22f
(constant_expression_warning, overflow_warning,
...
convert_and_check): Distinguish between TREE_OVERFLOW, which is just
for warnings, and TREE_CONSTANT_OVERFLOW, which is for required
pedantic diagnostics.
From-SVN: r4827
1993-07-02 01:26:01 +00:00
Richard Stallman
68a91d8d3a
(decl_attributes): If first_arg_num is 0, no error for it.
...
From-SVN: r4720
1993-06-24 03:36:08 +00:00
Richard Stallman
14aadfe88a
(constant_expression_warning)
...
(overflow_warning, convert_and_check): Change pedwarn to warning.
From-SVN: r4529
1993-05-21 19:31:40 +00:00
Richard Stallman
d7c837272e
(truthvalue_conversion): Turn off Apr 29 change.
...
From-SVN: r4356
1993-05-06 15:58:59 +00:00
Jim Wilson
f87550e01b
(truthvalue_conversion): Don't optimize subtract of reals when target uses
...
IEEE arithmetic.
From-SVN: r4311
1993-05-03 16:33:42 -07:00
Richard Stallman
257e61ed70
(truthvalue_conversion): Specific error message when the "truthvalue" of a struct...
...
(truthvalue_conversion): Specific error message when the
"truthvalue" of a struct, union, or array type operand is needed.
From-SVN: r4293
1993-05-01 04:09:06 +00:00
Jim Wilson
677ff44144
(decl_attributes...
...
(decl_attributes, format case): Error if num_arg does
not point to a string type argument, or if first_arg_num not the
anonymous argument.
From-SVN: r4032
1993-04-06 12:30:45 -07:00
Richard Stallman
1bb8e5b1b8
#include "obstack.h".
...
From-SVN: r3811
1993-03-21 18:58:22 +00:00
Richard Stallman
f0b996c50c
(truthvalue_conversion): Fix handling of COMPLEX_EXPR.
...
Handle all complex values specially.
From-SVN: r3645
1993-03-04 20:34:56 +00:00
Richard Stallman
766f6c304d
(truthvalue_conversion): Handle COMPLEX_EXPR.
...
From-SVN: r3638
1993-03-04 19:36:42 +00:00
Richard Stallman
d74154d508
(constant_expression_warning): Suppress duplicate warnings.
...
(convert_and_check, overflow_warning, unsigned_conversion_warning):
New functions. Prototypes added to c-tree.h.
From-SVN: r3405
1993-02-02 04:40:43 +00:00
Niklas Hallqvist
0b73773ce6
c-common.c (c_build_type_variant): Moved here from c-decl.c.
...
* c-common.c (c_build_type_variant): Moved here from c-decl.c.
Redirected the TYPE_MAIN_VARIANT to the "real" main variant.
Build the possibly new array type on the permanent obstack if it
the original type was permanent.
(permanent_obstack): Added extern declaration.
From-SVN: r3388
1993-01-30 06:06:09 +00:00
Richard Kenner
97d17ac21c
(declare_function_name): If char_array_type_node isn't large enough
...
for the name, make a larger type.
From-SVN: r3368
1993-01-27 19:21:01 -05:00
Richard Kenner
9379fac9a2
(truthvalue_conversion): Handle TRUTH_XOR_EXPR.
...
From-SVN: r2993
1992-12-30 06:01:57 -05:00
Richard Stallman
b9a24ad42e
(declare_function_name): __FUNC__ variables
...
are compiler-created, so set DECL_SOURCE_LINE to zero.
From-SVN: r2300
1992-10-01 19:01:26 +00:00
Richard Stallman
6152f87688
(declare_function_name): Allow for anonymous function.
...
From-SVN: r2095
1992-09-10 05:33:47 +00:00
Brendan Kehoe
9657188305
Moved constant_expression_warning into c-common.c.
...
From-SVN: r2076
1992-09-07 19:42:39 -04:00
Richard Stallman
bc690db148
(check_case_value): Call constant_expression_warning.
...
From-SVN: r2070
1992-09-07 06:07:30 +00:00
Richard Stallman
e2aab13d8a
(truthvalue_conversion): Optionally warn if an
...
unparenthesized assignment is used as a truth value.
From-SVN: r1853
1992-08-14 23:45:09 +00:00
Richard Stallman
ef57b1e9f0
(decl_attributes): Call layout_decl with two arguments.
...
From-SVN: r1711
1992-07-29 03:46:49 +00:00
Richard Stallman
1394aabdaa
Renamed TREE_INLINE...
...
Renamed TREE_INLINE, TREE_NONLOCAL, TREE_REGDECL, TREE_EXTERNAL
to DECL_INLINE, DECL_NONLOCAL, DECL_REGISTER, DECL_EXTERNAL.
From-SVN: r1569
1992-07-12 02:56:45 +00:00
Richard Stallman
8493738bcc
(check_case_value): Strip the new nops with STRIP_TYPE_NOPS.
...
From-SVN: r1549
1992-07-10 01:50:20 +00:00
Richard Kenner
18a799ccb1
Changes to support 64-bit hosts: Remove definition of NULL.
...
From-SVN: r1494
1992-07-06 22:02:07 -04:00
Richard Stallman
176e81ebf9
> (declare_function_name): For __FUNCTION__ and __PRETTY_FUNCTION__...
...
> (declare_function_name): For __FUNCTION__ and __PRETTY_FUNCTION__,
set DECL_IN_SYSTEM_HEADER instead of TREE_USED to supress `unused' warnings.
From-SVN: r1491
1992-07-07 01:46:27 +00:00
Richard Stallman
9b4e97b0d0
(decl_attributes): Don't set DECL_PACKED on VAR_DECL.
...
From-SVN: r1480
1992-07-06 20:45:11 +00:00
Richard Stallman
3fc7e39030
(type_for_size): If no ANSI type matches, check for matches with built-in mode-related types.
...
(type_for_size): If no ANSI type matches, check for
matches with built-in mode-related types.
(type_for_mode): Likewise.
From-SVN: r1397
1992-07-03 06:41:07 +00:00
Richard Stallman
4db3b35d80
fix typo in last change.
...
From-SVN: r1380
1992-07-01 21:44:28 +00:00
Richard Stallman
f3ee8ad133
(decl_attributes): For `packed' on VAR_DECL, set DECL_PACKED and DECL_ALIGN.
...
From-SVN: r1354
1992-06-30 02:25:17 +00:00
Richard Stallman
53e9d52c51
entered into RCS
...
From-SVN: r1090
1992-05-26 19:22:26 +00:00
Richard Kenner
101777b6cb
*** empty log message ***
...
From-SVN: r1059
1992-05-22 18:08:21 -04:00
Richard Stallman
b032c74c6f
*** empty log message ***
...
From-SVN: r1053
1992-05-22 20:41:45 +00:00
Richard Stallman
7da551a2e8
*** empty log message ***
...
From-SVN: r1052
1992-05-22 20:33:20 +00:00
Richard Stallman
1e307bd81a
*** empty log message ***
...
From-SVN: r1008
1992-05-18 07:50:10 +00:00
Richard Stallman
1e276c4acc
*** empty log message ***
...
From-SVN: r940
1992-05-08 21:25:25 +00:00
Richard Stallman
9a631e8e94
*** empty log message ***
...
From-SVN: r832
1992-04-25 01:51:43 +00:00
Richard Stallman
047de90b9e
*** empty log message ***
...
From-SVN: r682
1992-04-04 19:11:28 +00:00
Richard Stallman
2525c78282
*** empty log message ***
...
From-SVN: r633
1992-03-30 03:20:11 +00:00
Richard Stallman
b30f223b0d
Initial revision
...
From-SVN: r278
1992-02-04 19:51:11 +00:00