]> gcc.gnu.org Git - gcc.git/blame - gcc/ChangeLog
c-lex.c: s/change_file/file_change.
[gcc.git] / gcc / ChangeLog
CommitLineData
eb1f4d9d
NB
12000-12-18 Neil Booth <neil@daikokuya.demon.co.uk>
2
3 * c-lex.c: s/change_file/file_change.
4 * cpplib.h: Similarly.
5 * cppmain.c: Similarly.
6 * fix-header.c: Similarly.
7 * cppfiles.c (stack_include_file): Pass the buffer location and
8 size to cpp_push_buffer. Generate the file_change callback,
9 so that sysp is already set.
10 * cpphash.h: Add _cpp_do_file_change.
11 * cpplib.c (do_line): Set buffer->sysp directly. Generate the
12 file_change callback after setting sysp.
13 (_cpp_do_file_change): Handle FC_ENTER and the FC_RENAME exception
14 here.
15 (cpp_push_buffer): Don't generate a callback. Clear sysp.
16 (cpp_pop_buffer): Clean up logic.
17
e2187d3b
BK
182000-12-18 Benjamin Kosnik <bkoz@redhat.com>
19
20 * configure.in (gcc_gxx_include_dir): Simplify.
21 (libstdcxx_incdir): Export.
22 * configure: Regenerate.
23 * Makefile.in (PREPROCESSOR_DEFINES): Add in
24 GPLUSPLUS_TOOL_INCLUDE_DIR bits here..
25 (libstdcxx_incdir): Add.
26 * cppdefault.c (GPLUSPLUS_TOOL_INCLUDE_DIR): Add search path.
27
851ef036
NB
282000-12-18 Neil Booth <neil@daikokuya.demon.co.uk>
29
30 * c-lex.c (lex_lineno): Remove.
31 (init_c_lex, c_lex): Remove lex_lineno.
32 (cb_change_file): Update lineno correctly, both before calling
33 push_srcloc and before leaving the function.
34 (cb_def_pragma): Set lineno before outputting diagnostics.
35
f2aca197
RK
36Sun Dec 17 18:45:41 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
37
38 * print-tree.c (print_node): Print DECL_USER_ALIGN and TYPE_USER_ALIGN.
39 Print TYPE_MIN_VALUE and TYPE_MAX_VALUE for REAL_TYPE.
40 Use print_node_brief to print bounds.
41
49fe13f6
NB
422000-12-17 Neil Booth <neil@daikokuya.demon.co.uk>
43
44 * cpplib.h (struct cpp_reader): Remove references to string_pool
45 and temp_string_pool.
46 * cppinit.c (cpp_create_reader, cpp_cleanup): Similarly; using
47 ident_pool in place.
48 * cpplex.c (parse_number, unescaped_terminator_p, parse_string,
49 save_comment, cpp_token_as_text): Similarly.
50 * cpplib.c (do_define, glue_header_name, parse_assertion): Similarly.
51 * cppmacro.c (make_number_token, builtin_macro, lock_pools,
52 unlock_pools, stringify_arg, paste_tokens): Similarly.
53
ed972b14
RK
54Sun Dec 17 12:41:48 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
55
56 * dwarf2out.c (loc_descriptor_from_tree, case NOP_EXPR): New case.
57 (loc_descriptor_from_tree, case CONVERT_EXPR): Likewise.
58 (loc_descriptor_from_tree, case NON_LVALUE_EXPR): Likewise.
59
e108653c
RE
602000-12-17 Richard Earnshaw <rearnsha@arm.com>
61
62 * Makefile.in (check-po): Use $(MAKE).
63 (risky-stage1, risky-stage2, risky-stage3, risky-stage4): Likewise.
64
dfbf62ec
NB
652000-12-17 Neil Booth <neil@daikokuya.demon.co.uk>
66
67 * cppmain.c (check_multiline_token): New function.
68 (scan_buffer): Use it.
69 (cb_change_file): Restructure to avoid warning.
70 * cpperror.c (print_location): Initialize col.
71
04650349 722000-12-14 Philipp Thomas <pthomas@suse.de>
ed972b14 73
04650349
PT
74 * protoize.c (main): Correctly set locale categories.
75 * gcc.c (main): Likewise.
76 * cppmain.c (general_init): Likewise.
77 * toplev.c (main): Likewise.
78 * gcov.c (main): Likewise.
79 * collect2.c (main): Likewise.
80
60291474
KG
812000-12-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
82
83 * c-common.c (c_common_nodes_and_builtins): Create a
84 cstring_endlink, use it. Rename int_ftype_string_string to
85 int_ftype_cstring_cstring, string_ftype_string_int to
86 string_ftype_cstring_int, and string_ftype_string_string to
87 string_ftype_cstring_cstring. Prefer sizetype_endlink and
88 int_endlink to manually recreating them. Fix the prototype
89 set for __builtin_strspn/__builtin_strcspn.
90
cf14485b
MM
912000-12-12 Marek Michalkiewicz <marekm@linux.org.pl>
92
93 * config/avr/avr.c (out_set_stack_ptr): Update comment.
94 (print_operand): Add support for %~ and %o.
95
8e0ed3b5
HB
962000-12-17 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
97
98 * c4x.h: Add ASM_OUTPUT_DEF definition for bounded pointer code.
99
ad2a084d
NB
1002000-12-17 Neil Booth <neil@daikokuya.demon.co.uk>
101
102 * c-lex.c: Move main_input_filename handling to FC_ENTER. Clean up.
103 * cpperror.c (print_containing_files): Get right line number.
104 (print_location): Output column of 1 if 0.
105 * cppfiles.c (stack_include_file): cpp_push_buffer handles
106 the callback.
107 * cpphash.h (_cpp_do_file_change): No longer external.
108 * cpplib.c (do_file_change): Now local to cpplib.c.
109 (do_line): Fake a buffer stack for preprocessed files.
110 (cpp_push_buffer): Create a file_change callback. Handle faked
111 buffers.
112 (cpp_pop_buffer): Similarly.
113 * cpplib.h: BUF_FAKE: New buffer type.
114 * cppmain.c: Update to handle correct file renaming where a
115 #line is the first line of the main file, and produce only
116 the renamed file, not the original file, as output.
117
3b67042a
MH
1182000-12-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
119
120 * config/c4x/c4x.md: Remove redundant @s from output patterns.
121
9f416fac
MH
1222000-12-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
123 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
124
125 * config/c4x/c4x.h (REGISTER_TARGET_PRAGMAS): Call c4x_init_pragma.
126
127 * config/c4x/c4x-protos.h (c4x_init_pragma): New prototype.
128
129 * config/c4x/c4x.c (c4x_init_pragma): New function.
130 (c_lex_func): New variable.
131 (c4x_parse_pragma): Use c_lex_func.
132
94eebed9
MH
1332000-12-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
134 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
135
136 * config/c4x/c4x.h (MD_INIT_BUILTINS): Add void_list_node argument
137 to c4x_init_builtins.
138
139 * config/c4x/c4x-protos.h (c4x_init_builtins): Add tree argument.
140
141 * config/c4x/c4x.c (c4x_init_builtins): Add tree argument.
142 (c4x_output_ascii): Fix.
143
66f77154 1442000-12-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8a119a7d 145 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
66f77154 146
8a119a7d
MH
147 * config/c4x/c4x.h (MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): Define.
148
149 * config/c4x/c4x-protos.h (c4x_init_builtins): New prototype.
150 (c4x_expand_builtin): Likewise.
151
152 * config/c4x/c4x.c (c4x_init_builtins): New function.
153 (c4x_expand_builtin): Likewise.
154
155 * config/c4x/c4x.md (floatunsqihf2): New pattern.
156 (*floatqihf2_set, *fixhfqi_set, fix_trunchfqi2): Likewise.
157 (fixuns_trunchfqi2, toieee, frieee, *ldhf_conditional): Likewise.
158 (*ldhf_conditional_noov, movhfcc, trap, cond_trap_cc): Likewise.
159 (*toieee_movqf_clobber, *frieee_movqf_clobber): Likewise.
160
1612000-12-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
162
66f77154
MH
163 * libgcc2.h: Use Wtype for SItype and DWtype for DItype in prototypes.
164 * libgcc2.c (__absvsi2): Use Wtype and DWtype.
165 (__absvdi2, __addvsi3, __addvdi3, __subvsi3): Likewise.
166 (__subvdi3, __mulvsi3, __mulvdi3, __negvsi2, __negvdi2): Likewise.
167
f11009b7
AO
1682000-12-16 Alexandre Oliva <aoliva@redhat.com>
169
170 * config/sh/sh.h (INITIALIZE_TRAMPOLINE): Enclose the block
171 statement in do/while(0).
172
2bed3391
JH
173Sat Dec 16 19:56:24 MET 2000 Jan Hubicka <jh@suse.cz>
174
175 * i386.md (ashrsi3_cmpno, ashrhi3_cmpno, ashrqi3_cmpno, lshrsi3_cmpno,
176 lshrhi3_cmpno): Remove redundant '@' from the template.
177
178 * i386.md (cmpstrsi_1): Fix type of the compare.
179
180 * genattrtab.c (attr_rtx_cost): New function.
181 (simplify_test_exp): Avoid overactive inlining; use temporary
182 obstacks for tests.
183
23cb454a
RK
184Sat Dec 16 10:41:11 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
185
b372743a
RK
186 * diagnostic.c (finish_abort): Deleted.
187 (fatal): Add code from finish_abort.
188 (error_recursion, fancy_abort): Call fatal, not finish_abort.
189 (trim_filename): Remove leading "../".
190 * diagnostic.h (finish_abort): Deleted.
191 * toplev.c (crash_signal): Call fatal, not finish_abort.
192
67011d81
RK
193 * stor-layout.c (place_field): Treat overflowing DECL_SIZE_UNIT
194 as if size were variable.
195
23cb454a
RK
196 * expmed.c (expand_mult): Write REG_EQUAL note with proper mode.
197
3244472d
NB
1982000-12-16 Neil Booth <neil@daikokuya.demon.co.uk>
199
200 * tradcpp.c: T_WARNING: New.
201 (do_warning): New function.
202 (finclude): Skip past the newline and increase the line number
203 before calling output_line_command.
204 (do_line): Skip the new line after output_line_command. Don't
205 pre-decrement the line number.
206
112550d3
DN
2072000-12-15 Diego Novillo <dnovillo@redhat.com>
208
209 * i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix references to
210 _GLOBAL_OFFSET_TABLE_ when using Intel syntax.
211
be768055
JJ
2122000-12-15 Jakub Jelinek <jakub@redhat.com>
213
214 * gcc.c (cpp_options): Pass -fno-operator-names.
215 * cpplib.h (struct cpp_options): Add operator_names.
216 * cppinit.c (cpp_create_reader): Initialize it.
217 (initialize_builtins): If -fno-operator-names, don't add
218 C++ alternate operator names.
219 (COMMAND_LINE_OPTIONS): Add -fno-operator-names.
220 (cpp_handle_option): Clear operator_names.
221
745b9093
JM
2222000-12-15 Jason Merrill <jason@redhat.com>
223
224 * jump.c (jump_optimize_1): Don't delete the line note after the
225 prologue even if it seems redundant.
226
227 * config/arm/arm.c (arm_expand_prologue): Set RTX_FRAME_RELATED_P
228 on all insns used to adjust the stack.
229
ad334b51
JH
230Fri Dec 15 15:32:16 MET 2000 Jan Hubicka <jh@suse.cz>
231
232 * combine.c (cant_combine_insn_p): Get around SUBREGs when determining
233 hardreg<->reg moves.
234
29360e56
JH
235Fri Dec 15 14:48:37 MET 2000 Jan Hubicka <jh@suse.cz>
236
237 * genrecog.c (add_to_sequence): Remove special case for
238 const_int_operand.
239 (maybe_both_true): Return 1 when falling out of sequence when
240 trying to find common possition in the pattern.
241
dde068d9
JH
242Fri Dec 15 14:44:51 MET 2000 Jan Hubicka <jh@suse.cz>
243
244 * integrate.c (copy_rtx_and_substitute): Copy mode too.
245
0bf7d71a
JH
246Fri Dec 15 14:11:57 MET 2000 Jan Hubicka <jh@suse.cz>
247
248 * flow.c (notice_stack_pointer_modification_1): Cleanup.
249
b33493e3
AO
2502000-12-15 Alexandre Oliva <aoliva@redhat.com>
251
252 * function.c (adjust_trampoline_addr): New function.
253 (trampoline_address): Call it instead of round_trampoline_addr().
254 * tm.texi (TRAMPOLINE_ADJUST_ADDRESS): Document it.
255
0eda43ce
ZW
2562000-12-14 Zack Weinberg <zack@wolery.stanford.edu>
257
258 * cppfiles.c (hack_vms_include_specification): Delete function
259 (not used since 1998).
260
4cf37b4a
R
261Fri Dec 15 03:37:51 2000 J"orn Rennecke <amylaar@redhat.com>
262
263 * haifa-sched.c (sched_init): Don't put a note in front of any BARRIER.
264
1d79fd2c
JW
2652000-12-14 Jim Wilson <wilson@redhat.com>
266
267 * alias.c (get_alias_set): Call record_component_aliases for
268 COMPLEX_TYPE.
269 (record_component_aliases): Handle COMPLEX_TYPE.
270
e7103ad2
KG
2712000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
272
273 * fixinc/gnu-regex.c: Disable NLS.
274
34c659e2
RH
2752000-12-14 Richard Henderson <rth@redhat.com>
276
c53f9f5b
RH
277 * config/alpha/alpha.c (alpha_emit_conditional_move): Do not swap
278 comparison operands when that would create non-canonical rtl.
279
34c659e2
RH
280 * config/i386/i386.md (umulsi3_highpart): Remove * from name.
281 (smulsi3_highpart): Likewise.
282
7667db9b
NB
2832000-12-14 Neil Booth <neil@daikokuya.demon.co.uk>
284
285 * gcc.c (cpp_options): Add -remap.
286
196a37f4
NB
2872000-12-14 Neil Booth <neil@daikokuya.demon.co.uk>
288
289 * gcc.c (cpp_options): Update to use '&'.
290 (struct switchstr): Change type of validated to save space.
291 New member 'ordering'.
292 (handle_braces, validate_switches): Update to handle '&'.
293
413c5c85
LB
2942000-12-13 Laurynas Biveinis <lauras@softhome.net>
295
296 * fixinc/inclhack.def: skip stdio_va_list fix if __DJ_va_list
297 found in a header.
298 * fixinc/fixincl.x: regenerated.
299
60a8ab96
DD
3002000-12-13 DJ Delorie <dj@redhat.com>
301
302 * config.gcc (cygwin, win32, mingw32): Use float-i386.h.
303
14dd2402
TT
3042000-12-13 Tom Tromey <tromey@redhat.com>
305
306 * gcc.c (handle_braces): Handle %{<S*} spec correctly.
307
e68a6ce1
AO
3082000-12-13 Alexandre Oliva <aoliva@redhat.com>
309
310 * function.c (assign_parms): Optimize incoming PARALLELs into
311 REGs if possible.
312
2629a114
BK
3132000-12-13 Bruce Korb <bkorb@gnu.org>
314
315 * fixinc/Makefile.in(*): substantial rewrite to accommodate systems
316 that cannot handle bi-directional pipes, viz. BeOS and DOS.
317 * fixinc/fixlib.h(IGNORE_ARG): new macro
318 (STATIC): define for all of fixinc to use
319 * fixinc/fixfixes.c(*): eliminate unused arg warnings
320 * fixinc/fixtests.c(*): ditto
321 * fixinc/fixincl.c(start_fixer): chain_open now uses const arg list
322 * fixinc/gnu-regex.c: reorder some includes to avoid _GNU_SOURCE
323 warning. Also, eliminate the ``#ifdef emacs'' stuff.
324 (re_syntax_options): make global as it is declared so.
325 * fixinc/mkfixinc.sh: process the argument list more consistently
326 (beos/msdosdjgpp): set TARGETS to twoprocess vs. oneprocess
327 * fixinc/procopen.c(globals): include "fixlib.h" for std defs
328 * fixinc/server.c(globals): ditto
329 * fixinc/server.h(defines): ditto
330
c36ee164
NB
3312000-12-13 Neil Booth <neil@daikokuya.demon.co.uk>
332
333 * tradcpp.c (special_symbol): Improve test for definedness,
334 though it is still not perfect.
335 (do_define): Don't define illegal macro names.
336
a65fd88a
AH
3372000-12-07 Aldy Hernandez <aldyh@redhat.com>
338
339 * config/mips/elf.h (ASM_OUTPUT_SECTION_NAME): emit @nobits
340 if changing into .bss section.
341 * config/mips/elf64.h: same.
342 * config/mips/iris6.h: same.
343 * config/mips/netbsd.h: same.
344 * config/mips/openbsd.h: same.
345
8767c894
NB
3462000-12-13 Neil Booth <neil@daikokuya.demon.co.uk>
347
348 * cppfiles.c (read_name_map): Return null if open () fails.
349 (remap_filename): Simplify logic. Add ICE if it doesn't work
350 as expected. Perform secondary lookup attempt on base filename
351 only.
352
a4377974
JH
353Wed Dec 13 19:48:04 MET 2000 Jan hubicka <jh@suse.cz>
354
355 * flow.c (notice_stack_pointer_modification_1): Notice midifications
356 using PRE_MODIFY and POST_MODIFY.
357
c6d79bee
JH
358Wed Dec 13 17:25:32 MET 2000 Jan Hubicka <jh@suse.cz>
359
360 * genoutput.c (process_template): Add sanity checking for '@' templates.
361
b639e6e4
BS
3622000-12-13 Bernd Schmidt <bernds@redhat.co.uk>
363
364 * simplify-rtx.c (cselib_finish): Free reg_values and used_regs
365 varrays.
366
ffc0eab4
MS
3672000-12-12 Mike Stump <mrs@wrs.com>
368
369 * Makefile.in (distclean): Remove safe-ctype.c as well.
370
1df97aa4
BL
3712000-12-12 Brad Lucier <lucier@math.purdue.edu>
372
373 * tradcpp.c (do_error): Cast difference of pointers to int
374 for error message.
375
edf11378
FS
3762000-12-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
377
378 * config/rs6000/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Move from here...
379 * config/rs6000/sysv4.h (HANDLE_PRAGMA_PACK_PUSH_POP): ...to here.
380
4d4182e9
JW
3812000-12-12 Jim Wilson <wilson@redhat.com>
382
383 * rtlanal.c (may_trap_p): Check operand modes of LE, LT, GE, and GT.
384
2b60b2cb
AO
3852000-12-12 Alexandre Oliva <aoliva@redhat.com>
386
387 * configure.in: Simplify language enabling/disabling code.
388 * configure: Rebuilt.
389 * ch/config-lang.in (target_libs): Set.
390 (build_by_default): Set to no.
391 * cp/config-lang.in (target_libs): Set.
392 * f/config-lang.in (target_libs): Set.
393 * java/config-lang.in (target_libs): Set.
394 * objc/config-lang.in (target_libs): Set.
395
e793c609
NB
3962000-12-12 Neil Booth <neil@daikokuya.demon.co.uk>
397
398 * tradcpp.c (enum node_type): Add T_ERROR.
399 (do_error): New function.
400 (directive_table): Add #error handler.
401
d033a989
FS
4022000-12-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
403
404 * configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Enable .file/.loc check
405 for powerpc*-*-*.
406 * configure: Regenerated.
edf11378 407 * config/rs6000/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
d033a989
FS
408 * config/rs6000/rs6000.c (rs6000_unique_section): Use
409 STRIP_NAME_ENCODING.
410
27b18383
JL
411Mon Dec 11 13:51:09 2000 Jeffrey A Law (law@cygnus.com)
412
413 * pa.c (cmpib_comparison_operator): Remove GEU and LTU.
414 * pa.h (PREDICATE_CODES, cmpib_comparison_operator): Corresponding
415 changes.
416
37082e6d
BK
4172000-12-11 Bruce Korb <bkorb@gnu.org>
418
419 * fixinc/fixincl.tpl: initialize all fields for warnings
420 * fixinc/fixincl.x: regenerate
421
4028c3a1
NB
4222000-12-11 Neil Booth <neilb@earthling.net>
423
424 * tradcpp.h: For tradcpp, NUL is not whitespace.
425
af57885e
NB
4262000-12-11 Neil Booth <neilb@earthling.net>
427
428 * fix-header.c (read_scan_file): Macro expansion is not a file buffer.
429
89741abb
MM
4302000-12-05 Marek Michalkiewicz <marekm@linux.org.pl>
431
432 * config/avr/avr.c (compare_condition, compare_sign_p): New functions.
433 (compare_diff_p, compare_eq_p): Call compare_condition.
434 (out_tsthi, out_tstsi): Call compare_sign_p.
435 (avr_progmem_p): Check for error_mark_node.
436
0bda4760
NB
4372000-12-11 Neil Booth <neilb@earthling.net>
438
745b9093
JM
439 * cpperror.c (print_location): New function.
440 (print_containing_files): Simplify.
441 (_cpp_begin_message): Simplify and use print_location.
442 * cppfiles.c (stack_include_file): Update.
443 (_cpp_pop_file_buffer): Update.
444 * cpphash.h (struct cpp_buffer): New members
445 include_stack_listed and type.
446 * cpplib.c (_cpp_handle_directive): Buffer->inc is not null.
447 (run_directive): Take buffer type. cpp_push_buffer cannot fail.
448 (_cpp_do__Pragma, cpp_define, _cpp_define_builtin, cpp_undef,
449 handle_assertion): Update.
450 (cpp_push_buffer): Take a buffer type and file name.
451 (cpp_pop_buffer): Update. Clear include_stack_listed.
452 * cpplib.h (input_stack_listing_current): Remove.
453 (enum cpp_buffer_type): New.
454 (cpp_push_buffer): New prototype.
455 * cppmacro.c (builtin_macro): Simplify; buffer cannot be null.
456 * fix-header.c (read_scan_file): Update.
0bda4760 457
800635c1
RL
4582000-12-10 Robert Lipe <robertlipe@usa.net>
459
460 * install.texi (i*86-*-sco3.2v5*): Remove information duplicated
461 in html version.
462
c0ea284b
RH
4632000-12-10 Richard Henderson <rth@redhat.com>
464
465 * genrecog.c (find_operand): Handle 'V' format code.
466 (find_matching_operand): New.
467 (validate_pattern): Accept '=' for an in-out operand if there
468 is another operand with a matching constraint.
469
470 * config/i386/i386.md (andqi_ext_0_cc): Use matching constraint
471 for op1 to op0.
472
e06d5f0b
RH
4732000-12-10 Richard Henderson <rth@redhat.com>
474
475 * genrecog.c (validate_pattern) [STRICT_LOW_PART]: Fix thinko.
476
7297e9fc
RH
4772000-12-09 Richard Henderson <rth@redhat.com>
478
479 * genrecog.c (validate_pattern): Verify that ZERO_EXTRACT and
480 STRICT_LOW_PART as SET_DEST have in-out constraints.
481
e45046ae
JM
4822000-12-09 Joseph S. Myers <jsm28@cam.ac.uk>
483
484 * c-common.c (check_function_format): Don't suggest adding format
485 attributes to functions with no parameter to which to add them.
486
8e56560e
NC
4872000-12-09 Nick Clifton <nickc@redhat.com>
488
489 * config/arm/arm.c (arm_expand_prologue): Mark the generated
490 insn not the set as being DWARF2_FRAME_RELATED_P.
491
193ad8c6
LB
4922000-12-09 Laurynas Biveinis <lauras@softhome.net>
493
494 * Makefile.in: use $(build_exeext) for all build
495 system executable targets.
496
6a52a2ef
LB
4972000-12-09 Laurynas Biveinis <lauras@softhome.net>
498
499 * install.texi: remove i[345]86-*-winnt3.5 section.
500 * configur.bat: removed.
501 * config/msdos: directory removed.
502
28e0f040
NB
5032000-12-09 Neil Booth <neilb@earthling.net>
504
c0ea284b
RH
505 * cppfiles.c (NEVER_REREAD, DO_NOT_REREAD): Move from cpphash.h.
506 * cpphash.h (NEVER_REREAD, DO_NOT_REREAD, ABSOLUTE_PATH): Delete.
507 * cpplex.c (parse_identifier): Improve diagnostic.
508 (_cpp_lex_token): Return unconditionally at the end of a directive.
509 * cpplib.c (read_flag): Verify legality of each flag.
510 (end_directive): Resotre pfile->skipping before skip_rest_of_line.
511 (do_line): Use the new read_flag.
512 * cppmacro.c (struct cpp_macro, parse_arg, replace_args,
513 check_macro_redefinition, parse_params): Rename var_args to
514 variadic.
28e0f040 515
1b32f732
JM
5162000-12-09 Joseph S. Myers <jsm28@cam.ac.uk>
517
518 * .cvsignore: Add info files.
519
17f4d7aa
LB
5202000-12-08 Laurynas Biveinis <lauras@softhome.net>
521
522 * config/winnt: Remove obsolete directory.
523 * install.texi (Configurations): Remove obsolete documentation for
524 Windows NT.
525
17db6582
JM
5262000-12-08 Joseph S. Myers <jsm28@cam.ac.uk>
527
528 * configure.in: Don't define INSTALL_INFO.
529 * configure: Regenerate.
530 * Makefile.in (INSTALL_INFO): Remove.
531 (info): Depend on info files in source directory.
532 (cpp.info, gcc.info, c-tree.info): Build info files in source
533 directory.
534 (distclean): Don't remove info files.
535 (maintainer-clean): Remove info files from source directory.
536 (install-normal): Depend on install-info.
537 (install-info): Install info files from source directory, if they
538 exist.
539 * texinfo.tex: Update to version 2000-11-09.08 from ftp.gnu.org.
540
25fa8bdc
AO
5412000-12-08 Alexandre Oliva <aoliva@redhat.com>
542
543 * lcm.c (optimize_mode_switching): Check whether an insn is a NOTE
544 before taking its NOTE_LINE_NUMBER.
545
6d3d9133
NC
5462000-12-08 Nick Clifton <nickc@redhat.com>
547
859230d4
NC
548 * config/arm/arm.md (load_indirect_jump): Add pool ranges.
549
6d3d9133
NC
550 * extend.texi: Document ARM "interrupt" function attribute.
551 Mention that the ARM also support the "naked" function
552 attribute.
553
554 * config/arm/arm-protos.h (arm_current_func_type): Add
555 prototype.
556
557 * config/arm/arm.h (EXCEPTION_LR_REGNUM): Define.
558 (struct machine_function): Add 'func_type' field.
559 Define bit values for 'func_type' field.
560 (ARM_FUNC_TYPE): New macro.
561 (IS_INTERRUPT): New macro.
562 (IS_VOLATILE): New macro.
563 (IS_NAKED): New macro.
564 (IS_NESTED): New macro.
565 (ARM_INITIAL_ELIMINATION_OFFSET): Use IS_VOLATILE.
566
567 * config/arm/arm.c (isr_attribute_args): New Structure. A
568 list of "interrupt" function attribute modifiers.
569 (arm_isr_value): New Function: Returns the type of the current
570 interrupt function.
571 (arm_compute_func_type): New Function: Computes the type of
572 the current function.
573 (arm_current_func_type): New Function: Returns the type of the
574 current function.
575 (use_return_insn): Use arm_current_func_type.
576 (arm_valid_type_attribute_p): Accept "interrupt" function
577 attribute.
578 (arm_comp_type_attributes): Check "interrupt" attributes.
579 (arm_valid_machine_decl): Accept "interrupt" function
580 attribute.
581 (arm_function_ok_for_sibcall): Do not allow interrupt
582 functions to use sibcalls.
583 (arm_naked_function_p): Delete.
584 (print_multi_reg): Remove redundant parameter 'hat'.
585 (arm_compute_save_reg_mask): New Function: Compute a bit mask
586 of registers saved during the current function's prologue.
587 (output_arm_return_instruction): Use arm_current_func_type.
588 Generate return instruction when LR is not poppsed off the
589 stack.
590 (arm_volatile_func): Delete.
591 (output_arm_prologue): Use arm_current_func_type and
592 arm_compute_save_reg_mask.
593 Note presernce of interrupt functions.
594 (arm_output_epilogue): Use arm_current_func_type and
595 arm_compute_save_reg_mask.
596 (arm_expand_prologue): Use arm_current_func_type and
597 arm_compute_save_reg_mask.
598 (arm_init_machine_status): Initialise func_type field, if
599 necessary.
600 (thumb_expand_prologue): Use arm_current_func_type.
601 (output_thumb_prologue): Use arm_current_func_type.
602
2bff3fd5
BL
6032000-12-08 Brad Lucier <lucier@math.purdue.edu>
604
c0ea284b 605 * tradcpp.c (do_include): Make pointer differences 64-bit clean.
2bff3fd5 606
cf9f5da0
R
607Fri Dec 8 08:23:29 2000 J"orn Rennecke <amylaar@redhat.com>
608
609 * fp-bit.c (_fpmul_parts): Use USItype variables as inputs
610 for multiplies.
611
2e35898e
MS
6122000-12-07 Mike Stump <mrs@wrs.com>
613
614 * Makefile.in (distclean): Remove alloca.c hashtab.c.
615
f6bbde28
ZW
6162000-12-07 Zack Weinberg <zack@wolery.stanford.edu>
617
618 * Makefile.in (HOST_RTL): Add safe-ctype.o.
619 (safe-ctype.o): New rule.
620 * system.h: Include safe-ctype.h, not ctype.h. No need to
621 wrap ctype macros.
622
623 * cpphash.h: Zap IStable and related macros. Define is_* in
624 terms of safe-ctype.h macros.
625 * cppinit.c: Delete the IStable and all related code.
626
627 * tradcpp.c: Delete is_idchar, is_idstart, is_hor_space, and
628 is_space arrays. Delete initialize_char_syntax. Change all
629 references to the above arrays to use macros instead.
630 * tradcpp.h: Define is_idchar, is_idstart, is_space, and
631 is_nvspace in terms of safe_ctype.h's macros.
632 * tradcif.y: is_idchar, is_idstart are macros not arrays.
633
634 * config/i370/i370.c, config/winnt/dirent.c,
635 config/winnt/fixinc-nt.c, config/winnt/ld.c:
636 Use uppercase ctype macros. If we included ctype.h,
637 include safe-ctype.h instead.
638
639 * fixinc/fixfixes.c: Use uppercase ctype macros. Don't test
640 ISLOWER(c) before calling TOUPPER(c).
641 * fixinc/fixincl.c (extract_quoted_files): Simplify out some gunk.
642 * fixinc/gnu-regex.c: Include safe-ctype.h, not ctype.h. No need to
643 wrap ctype macros. Don't test ISUPPER(x) before calling TOLOWER(x).
644
54d7f9aa
DD
6452000-12-07 DJ Delorie <dj@redhat.com>
646
647 * c-decl.c (grokdeclarator): preserve previous alignments when
648 rebuilding array types.
649
642ce434
NB
6502000-12-07 Neil Booth <neilb@earthling.net>
651
f6bbde28
ZW
652 * cppfiles.c (struct include_file): Move from cpphash.h.
653 (_cpp_never_reread): New function.
654 (open_file, read_include_file): Use it.
655 (stack_include_file): Set the buffer's sysp according to the
656 path in which the file was found.
657 (find_include_file): Don't set sysp.
658 (cpp_make_system_header, actual_directory): Update.
659 (_cpp_execute_include): Do #include_next lookup handling here,
660 not in cpplib.c. Use _cpp_never_reread.
661 * cpphash.h (struct_include_file): Remove.
662 (struct cpp_buffer): New member sysp.
663 (CPP_IN_SYSTEM_HEADER, _cpp_execute_include): Update.
664 (_cpp_never_reread): New.
665 * cpplib.c (read_line_number): Rename read_flag. Rework slightly.
666 (end_directive): Clear line_extension flag.
667 (_cpp_handle_directive): Set line_extension flag for #number.
668 (do_include_next): Handle path lookup in _cpp_execute_include.
669 (do_line): Cleanup to use read_flag. Don't allow flags in #line.
670 (_cpp_do_file_change): Update.
671 (do_pragma_once): Use cpp_never_reread. Clean up.
672 * cpplib.h (struct lexer_state): New member line_extension.
642ce434 673
f846e0de
RH
6742000-12-07 Richard Henderson <rth@redhat.com>
675
676 * flow.c (calculate_global_regs_live): Force the stack pointer live
677 after reload as well.
678
83c4781c
BK
6792000-12-07 Bruce Korb <bkorb@gnu.org>
680
681 * fixinc/Makefile.*(exeext): the variables are exeext, the
682 substitution expression is build_exeext.
683
47e4bafa
NB
6842000-12-07 Neil Booth <neilb@earthling.net>
685
f6bbde28
ZW
686 * c-common.c (parse_in): Make a cpp_reader *.
687 * cppfiles.c (_cpp_fake_include): Remove.
688 * cpphash.h: Similarly.
689 * cpplib.c (do_line): Don't call _cpp_fake_include. A valid
690 #line always creates a callback; FC_RENAME if there are no
691 #line flags.
692 * fix-header.c (read_scan_file): cpp_push_buffer cannot fail.
693 The first EOF must be our get_char buffer.
47e4bafa 694
c907e684
JM
6952000-12-07 Joseph S. Myers <jsm28@cam.ac.uk>
696
697 * c-common.c (warn_format_security): New variable.
698 (check_format_info): Warn about non-literal formats with no format
699 arguments if either -Wformat-nonliteral or -Wformat-security is
700 specified.
701 (set_Wformat): Set warn_format_security for settings other than 1.
702 * c-common.h (warn_format_security): Declare.
703 * c-decl.c (c_decode_option): Decode -Wformat-security and
704 -Wno-format-security.
705 * invoke.texi: Document -Wformat-security.
706 * toplev.c (documented_lang_options): Include -Wformat-security
707 and -Wno-format-security.
708
1c248308
JM
7092000-12-07 Joseph S. Myers <jsm28@cam.ac.uk>
710
711 * c-common.c (check_format_info): Warn for non-constant format
712 strings with strftime formats if -Wformat-nonliteral. Where the
713 format can convert arguments, if the format is not a string
714 literal and there are no arguments to the format, give a different
715 warning message from the general non-string-literal case.
716
014e7f1d
JM
7172000-12-07 Joseph S. Myers <jsm28@cam.ac.uk>
718
719 * c-common.c (format_wanted_type): Add reading_from_flag.
720 (print_char_table): Mark %s and %S formats with flag "R".
721 (check_format_info_main): Set up reading_from_flag appropriately.
722 If aflag, always set writing_in_flag rather than relying on the
723 format used being a scanf format and so having it set.
724 (check_format_types): Check for formats reading through null
725 pointers.
726
8308e0b7
JM
7272000-12-07 Joseph S. Myers <jsm28@cam.ac.uk>
728
729 * invoke.texi (-Wformat): Document what format features are
730 checked.
731
1120a1d3
KH
7322000-12-06 Kazu Hirata <kazu@hxi.com>
733
734 * config/h8300/h8300.h: Fix formatting.
735
bc98ef7f
JS
7362000-12-06 Joel Sherrill <joel@OARcorp.com>
737
f6bbde28
ZW
738 * config.gcc (a29k*-*-rtems*, arm*-*-rtems*, c4x-*-rtems*,
739 h8300-*-rtems*, hppa1.1-*-rtems, *mips*-*-rtems*): New targets.
740 * config.gcc (*-rtems*): Add support for gthr-rtems.h.
741 * gthr-rtems.h, config/a29k/rtems.h, config/arm/rtems-elf.h,
742 config/h8300/rtems.h, config/mips/rtems.h: New files.
bc98ef7f 743
5eeab2e3
MK
7442000-12-06 Mark Kettenis <kettenis@gnu.org>
745
746 * config.gcc: Reorganize handling of *-*-gnu*, to share target
747 specific make details with Linux. Update comments to clarify
f6bbde28 748 the distinction between GNU/Linux and GNU/Hurd.
5eeab2e3 749
6b4b8cb9
JL
750Wed Dec 6 19:22:02 2000 Jeffrey A Law (law@cygnus.com)
751
752 * contrib.texi: Fix my email address. Update Per's
753 list of contributions.
754
2398fb2a
RB
7552000-12-06 Rodney Brown <RodneyBrown@mynd.com>
756
f5720527
RB
757 * c-lex.c (cb_indent): Decorate `str' argument, unused on HP-UX.
758 * collect2.c (scan_libraries): Remove unused `ch'.
759 (COFF specific stuff): Prototype ldgetname. Declare and prototype
760 ldbtread and ldclose.
761
2398fb2a
RB
762 * config/alpha/osf.h: Standarize copyright statement.
763 * config/arc/arc.h: Likewise.
764 * config/arm/elf.h config/arm/coff.h config/arm/aout.h: Likewise.
765 * config/arm/arm.c config/arm/arm.h: Likewise.
766 * config/elxsi/elxsi.h: Likewise.
767 * config/i386/sco.h: Likewise.
768 * config/m68k/crds.h config/m68k/hp320.h config/m68k/lynx.h: Likewise.
769 * config/m68k/m68kv4.h config/m68k/next21.h: Likewise.
770 * config/m68k/sun3.h: Likewise.
771 * config/m88k/dgux.h config/m88k/dguxbcs.h: Likewise.
772 * config/pdp11/2bsd.h config/pdp11/pdp11.h: Likewise.
773 * config/romp/romp.h: Likewise.
774 * config/rs6000/aix41.h: Likewise.
775 * config/sparc/sysv4.h: Likewise.
776 * config/we32k/we32k.c config/we32k/we32k.h: Likewise.
777 * fixinc/gnu-regex.c fixinc/gnu-regex.h: Likewise.
778 * cpplib.h cppexp.c cselib.h profile.c: Likewise.
779 * longlong.h: Likewise.
780 * libgcc2.c: Likewise.
781
ff08da30
JL
7822000-12-06 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
783
784 * machmode.def: Use correct definition for BITSIZE on targets where
785 BITS_PER_UNIT != 8.
786
6047d503
BK
7872000-12-06 Bruce Korb <bkorb@gnu.org>
788
789 * fixinc/Makefile.*: Reduce differences to (ultimately) reduce
790 the number of them.
791
ff08da30 7922000-12-06 J. David Anglin <dave@hiauly1.hia.nrc.ca>
becf1647
DA
793
794 * pa.c: Include expr.h before c-tree.h.
795 (remove_useless_addtr_insns): Use reverse_condition_maybe_unordered
796 instead of reverse_condition.
797 (print_operand): Correct predicates for GT, GE, LT and LE. Add
798 predicates for LTGT, UNLE, UNLT, UNGE, UNGT, UNEQ, UNORDERED and
799 ORDERED.
800 (cmpib_comparison_operator): Add GEU and LTU codes.
801 * pa.h (PREDICATE_CODES): Add codes for cmpib_comparison_operator.
802 * pa.md (bltgt, bunle, bunlt, bunge, bungt, buneq, bunordered,
803 bordered): New float conditional branch patterns.
804
2a841588
R
805Wed Dec 6 21:03:41 2000 J"orn Rennecke <amylaar@redhat.com>
806
807 * final.c (final_addr_vec_align): Fix clipping to BIGGEST_ALIGNMENT.
808
c673abe4 8092000-12-06 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
f6bbde28
ZW
810
811 * cpplex.c (skip_escaped_newlines): Don't warn for spaces between
812 backslash and newline, when inside a comment.
c673abe4 813
ee457005
JM
8142000-12-06 Joseph S. Myers <jsm28@cam.ac.uk>
815
816 * invoke.texi: Use @table @samp instead of @itemize @minus for
817 table of language standards. Fix use of @pxref. From Zack
818 Weinberg. Also exclude specs documentation from generated
819 manpage, and create separate ENVIRONMENT section.
820
b614171e
MM
8212000-12-06 Michael Matz <matzmich@cs.tu-berlin.de>
822
823 * gcse.c (compute_pre_data): Kill trapping expressions in
824 destination blocks of abnormal edges.
825
f6cd7c62
RS
8262000-12-05 Richard Sandiford <r.sandiford@redhat.com>
827
828 * config/mn10300/mn10300.c (mn10300_print_reg_list): Added.
829 (mn10300_get_live_callee_saved_regs): Likewise.
830 (mn10300_gen_multiple_store): Likewise.
831 (store_multiple_operation): Likewise.
832 (expand_prologue): Use mn10300_gen_multiple_store().
833 * config/mn10300/mn10300-protos.h (mn10300_print_reg_list): Added.
834 (mn10300_get_live_callee_saved_regs): Likewise.
835 (mn10300_gen_multiple_store): Likewise.
836 (store_multiple_operation): Likewise.
837 * config/mn10300/mn10300.md (store_movm): Use a MATCH_PARALLEL
838 tied to store_multiple_operation().
839
dfb2c798
JL
840Tue Dec 5 20:09:14 2000 Jeffrey A Law (law@cygnus.com)
841
842 * builtins.c (expand_builtin_setjmp_setup): Set
843 current_function_has_nonlocal_label.
844
3cf3593f
NB
8452000-12-05 Neil Booth <neilb@earthling.net>
846
f6bbde28
ZW
847 * cppfiles.c (stack_include_file): Push zero-length buffers
848 in case of failure. Return void, as we don't fail any more.
849 (read_include_file): Check for files we shouldn't re-read.
850 Don't return an error code; errors are implied by marking the
851 file NEVER_REREAD.
852 (_cpp_execute_include): Move the recursion and in-macro checks
853 here. Update for stack_include_file not failing.
854 * cpplib.c (cpp_push_buffer): Always succeed, since
855 _cpp_execute_include performs the recursion check. Tidy up.
856 * cpplib.h (cpp_push_buffer): Update prototype.
3cf3593f 857
4c42e347
AO
8582000-12-05 Alexandre Oliva <aoliva@redhat.com>
859
860 * sched-vis.c (visual_tbl_line_length): New variable.
861 (get_visual_tbl_length): Set it.
862 (visualize_stall_cycles): Don't let stalls overrun
863 visual_tbl_line_length.
864
06a3a6db
GK
8652000-12-05 Geoffrey Keating <geoffk@redhat.com>
866
867 * global.c (global_conflicts): Allow for a REG_UNUSED note
868 with a different mode to the REG set in the insn.
869
e7103ad2 8702000-12-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9c101f4a
KG
871
872 * Makefile.in (fixinc.sh): Pass $WARN_CFLAGS into fixinc dir.
873
874 * fixinc/Makefile.in (FIXINC_DEFS): Add $(WARN_CFLAGS).
875
1435059e
RE
8762000-12-05 Bruce Korb <bkorb@gnu.org>
877
878 * fixinc/mkfixinc.sh(*-gnu*): activate fixinc for GNU/Hurd and
879 GNU/Linux.
880
8812000-12-05 Richard Earnshaw <rearnsha@arm.com>
882
883 * fixinc/mkfixinc.sh: Run fixinc on netbsd.
884 * fixinc/inclhack.def (machine/ansi.h): Run this rule on all files,
885 to cope with aliased copies.
886 * fixinc/fixincl.x: Regenerate.
887
f56887a7
BS
8882000-12-05 Bernd Schmidt <bernds@redhat.co.uk>
889
890 * sched-vis.c: Guard with #ifdef INSN_SCHEDULING.
891 * sched-rgn.c: Likewise.
892 (rgn_print_insn): Fix output.
893
4839149c
BK
8942000-12-05 Bruce Korb <bkorb@gnu.org>
895
896 * fixinc/Makefile.*: make these more consistent
897 * fixinc/mkfixincl.sh: enable BeOS fixincludes
898
eca93b05
RH
8992000-12-05 Richard Henderson <rth@redhat.com>
900
901 * stmt.c (warn_if_unused_value): Move side effects test earlier.
902
de9e5c23
AM
9032000-12-05 Alan Modra <alan@linuxcare.com.au>
904
905 * bb-reorder.c (reorder_basic_blocks): Do check for EH edges even
906 when using sjlj.
907
39c39be9
RH
9082000-12-05 Richard Henderson <rth@redhat.com>
909
910 * flow.c (calculate_global_regs_live): Only force stack pointer
911 live before reload. Force pic register live before reload.
912 (insn_dead_p): Don't protect pic references from deletion.
913
9d86bffc
JM
9142000-12-05 Joseph S. Myers <jsm28@cam.ac.uk>
915
916 * invoke.texi: Add support for using texi2pod.pl. Don't use
917 @multitable.
918
c84df4c5
NC
9192000-12-04 Nick Clifton <nickc@redhat.com>
920
a67ded0f
NC
921 * config/arm/arm.c (arm_override_options): Test 'insn_flags' not
922 'tune_flags' for XScale nature.
f6bbde28 923 Remove spurious test of HARD_FLOAT and XScale flags.
a67ded0f
NC
924
925 * config/arm/arm.md (umulsidi3adddi): Restore "=&r" register
926 contraint, accidentally changed during XScale contribution.
927
c84df4c5
NC
928 * config/arm/lib1funcs.asm (interwork_call_via_, call_via_): Do
929 not create these functions if the target architecture does not
930 support Thumb instructions.
931
c4f0b011
JM
9322000-12-04 Joseph S. Myers <jsm28@cam.ac.uk>
933
934 * ONEWS: New file with the current contents of NEWS up to EGCS
935 1.1.
936 * NEWS: Generate automatically from online release notes from EGCS
937 1.0 to GCC 2.95.2, using ../contrib/gennews.
938
7682e7bc
NB
9392000-12-04 Neil Booth <neilb@earthling.net>
940
f6bbde28
ZW
941 * tradcif.y: Move lexptr to top of file. Add rule to handle
942 assertions in conditional expressions.
943 * tradcpp.c (parse_answer): Assertions do not need to go to
944 end of line in conditional directives.
945 (parse_assertion): Get first character of identifiers correct.
946 (test_assertion): New function.
947 * tradcpp.h (test_assertion): New prototype.
7682e7bc 948
23a535c4
RB
9492000-12-01 Rodney Brown <RodneyBrown@mynd.com>
950
951 * config.gcc: Fix typo for UnixWare 7.
952
32fb1fb2
PE
9532000-12-03 Phil Edwards <pme@sources.redhat.com>
954
955 * invoke.texi: Replace `pedwarns' with clearer text.
956
e1e0c658
BK
9572000-12-04 Bruce Korb <bkorb@gnu.org>
958
959 * fixinc/Makefile.*(clean): don't clean autogenerated files.
960 (mainainer-clean): clean autogenerated files
961
55e4756f
DD
9622000-12-04 DJ Delorie <dj@redhat.com>
963
964 * md.texi: Add overview, clarify match_dup and define_expand.
965
7d492372
DD
9662000-12-04 DJ Delorie <dj@redhat.com>
967
b3869591 968 * print-tree.c (print_node): Target-specific builtins print
7d492372
DD
969 numbers, not names.
970
62c07905
JM
9712000-12-04 Jason Merrill <jason@redhat.com>
972
973 * stor-layout.c (int_mode_for_mode): Handle MODE_VECTOR_INT,
974 MODE_VECTOR_FLOAT.
975
976 * diagnostic.c (report_problematic_module): s/function/module/.
977
978 * c-lex.h: Remove decl for check_newline.
979
ae50db03
GP
9802000-12-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
981
982 * README.APOLLO: Remove obsolete file.
983
6951bc4a
NB
9842000-12-04 Neil Booth <neilb@earthling.net>
985
f6bbde28 986 * cppinternals.texi: New file.
6951bc4a 987
614c7d37
NB
9882000-12-04 Neil Booth <neilb@earthling.net>
989
f6bbde28
ZW
990 * cppfiles.c (cpp_make_system_header): Take 2 booleans,
991 and operate on current buffer.
992 (cpp_read_file): Rename _cpp_read_file.
993 * cpplib.c (do_line, do_pragma_system_header): Update calls to
994 cpp_make_system_header.
995 * fix-header.c: Similarly.
996 * cpphash.h (_cpp_read_file): Move from...
997 * cpplib.h: ... here.
998 * cppinit.c (do_includes, cpp_start_read): Update appropriately.
614c7d37 999
e7103ad2 10002000-12-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
611b1df4
KG
1001
1002 * builtins.c (expand_builtin_strspn, expand_builtin_strcspn):
1003 Handle another transformation.
1004
d19fb8e3
NC
10052000-12-03 Nick Clifton <nickc@redhat.com>
1006
1007 * config.gcc: Add support for StrongARM targets.
1008 * config/arm/t-strongarm-elf: New file.
1009 * config/arm/t-strongarm-coff: New file.
1010 * config/arm/t-strongarm-pe: New file.
1011 * config/arm/strongarm-pe.h: New file.
1012
10132000-12-03 Nick Clifton <nickc@redhat.com>
1014
1015 * NEWS: Mention XScale has been added.
1016 * config.gcc: Add support for XScale targets.
1017 * config/arm/arm.h: Add support for XScale processor.
1018 * config/arm/arm.c: Add support for XScale processor.
1019 * config/arm/arm.md: Add support for XScale processor.
1020 * config/arm/t-xscale-elf: New file.
1021 * config/arm/t-xscale-coff: New file.
1022 * config/arm/xscale-elf.h: New file.
1023 * config/arm/xscale-coff.h: New file.
1024
250d07b6
RH
10252000-12-03 Richard Henderson <rth@redhat.com>
1026
1027 * bb-reorder.c (reorder_basic_blocks): Don't check for EH edges
1028 unless exception handling is enabled, and if not using sjlj.
1029
1030 * builtins.c (expand_builtin_setjmp_setup): New.
1031 (expand_builtin_setjmp_receiver): New.
1032 (expand_builtin_setjmp): Split out _setup and _receiver functions.
1033 Move argument parsing in from ...
1034 (expand_builtin): ... here.
1035 * except.c (receive_exception_label): Branch around receiver
1036 unless new-style exceptions. Call expand_builtin_setjmp_receiver.
1037 (start_dynamic_handler): Call expand_builtin_setjmp_setup.
1038 * expr.h: Update builtin setjmp decls.
1039
5c032c4d
BK
10402000-12-03 Bruce Korb <bkorb@gcc.org>
1041
1042 * fixinc/mkfixinc.sh(build machine): Sometimes, there is no canonical
1043 build machine name. Default to the target.
1044
3769600a
LB
10452000-12-03 Laurynas Biveinis <lauras@softhome.net>
1046
1047 * Makefile.in: use $(build_canonical), not $(canonical_build).
1048
b4ead7d4
BS
10492000-12-03 Bernd Schmidt <bernds@redhat.co.uk>
1050
1051 * Makefile.in (OBJS): Add sched-rgn.o.
1052 (sched-rgn.o): New rule. * haifa-sched.c (sched_verbose): No
1053 longer static.
1054 (INSN_PRIORITY, INSN_COST, INSN_UNIT, INSN_REG_WEIGHT,
1055 INSN_BLOCKAGE, UNIT_BITS, BLOCKAGE_MASK, ENCODE_BLOCKAGE,
1056 UNIT_BLOCKED, BLOCKAGE_RANGE, MIN_BLOCKAGE_COST,
1057 MAX_BLOCKAGE_COST): Move to sched-int.h.
1058 (MAX_RGN_BLOCKS, MAX_RGN_INSNS, INSN_REF_COUNT, FED_BY_SPEC_LOAD,
1059 IS_LOAD_INSN, struct haifa_edge, edge_table, NEXT_IN, NEXT_OUT,
1060 FROM_BLOCK, TO_BLOCK, nr_edges, in_edges, out_edges, IN_EDGES,
1061 OUT_EDGES, edgelst, struct region, nr_regions, rgn_table,
1062 rgn_bb_table, block_to_bb, containing_rgn, RGN_NR_BLOCKS,
1063 RGN_BLOCKS, BLOCK_TO_BB, BB_TO_BLOCK, CONTAINING_RGN,
1064 debug_regions, find_single_block_region, find_rgns, too_large,
1065 init_regions, current_nr_blocks, current_blocks, bitset, bitlst,
1066 bitlst_table_last, bitlst_table_size, bitlst_table, bitset_member,
1067 extract_bitlst, bblst, struct candidate, candidate_table,
1068 bblst_table, bblst_size, bblst_last, IS_VALID, IS_SPECULATIVE,
1069 SRC_PROB, target_bb, split_edges, compute_trg_info,
1070 debug_candidate, debug_candidates, bbset, bbset_size, dom,
1071 IS_RGN_ENTRY, IS_DOMINATED, prob, GET_SRC_PROB, edgeset,
1072 rgn_nr_edges, rgn_edges, edgeset_size, edgeset_bitsize,
1073 EDGE_TO_BIT, edge_to_bit, pot_split, ancestor_edges,
1074 compute_dom_prob_ps, ABS_VALUE, INSN_PROBABILITY,
1075 IS_SPECULATIVE_INSN, INSN_BB, MIN_DIFF_PRIORITY, MIN_PROBABILITY,
1076 MIN_PROB_DIFF, check_live_1, update_live_1, check_live,
1077 update_live, set_spec_fed, is_pfree, find_conditional_protection,
1078 is_conditionally_protected, may_trap_exp, haifa_classify_insn,
1079 is_prisky, is_exception_free, add_branch_dependences,
1080 propagate_deps, compute_block_backward_dependences,
1081 debug_dependencies, is_cfg_nonregular, build_control_flow,
1082 new_edge, bb_deps, BITSET_UNION, BITSET_INTER, BITSET_DIFFER,
1083 BITSET_INVERT, BITSET_ADD, BITSET_REMOVE, debug_regions,
1084 UPDATE_LOOP_RELATIONS, INSN_TRAP_CLASS, WORST_CLASS, IS_REACHABLE,
1085 CONST_BASED_ADDRESS_P, free_pending_lists, sched_target_n_insns,
1086 target_n_insns, sched_n_insns, init_ready_list, deaths_in_region,
1087 can_schedule_ready_p, new_ready, schedule_more_p, rgn_print_insn,
1088 rgn_rank, region_sched_info): Move to sched-rgn.c.
1089 (debug_reg_vector): Delete useless function.
1090 (get_bb_head_tail): Likewise.
1091 (insn_issue_delay, insn_cost, ready_add, get_block_head_tail,
1092 no_real_insns_p, rm_line_notes, save_line_notes,
1093 restore_line_notes, rm_redundant_line_notes, sched_init): No
1094 longer static.
1095 (rm_line_notes, save_line_notes, restore_line_notes,
1096 schedule_block, set_priorities): Change argument to be a real
1097 basic block, not one of haifa's "bb"s. All callers changed
1098 (rm_other_notes): Initialize note_list here, not in
1099 schedule_region.
1100 (sched_finish): New function, called from schedule_insn. * *
1101 sched-int.h (INSN_PRIORITY, INSN_COST, INSN_UNIT, INSN_REG_WEIGHT,
1102 INSN_BLOCKAGE, UNIT_BITS, BLOCKAGE_MASK, ENCODE_BLOCKAGE,
1103 UNIT_BLOCKED, BLOCKAGE_RANGE, MIN_BLOCKAGE_COST,
1104 MAX_BLOCKAGE_COST): Moved here from haifa-sched.c.
1105 (get_block_head_tail, no_real_insns_p, rm_line_notes,
1106 save_line_notes, restore_line_notes, rm_redundant_line_notes,
1107 rm_other_notes, insn_issue_delay, set_priorities, schedule_block,
1108 sched_init, sched_finish, ready_add, insn_cost): Declare.
1109
f415f5a4
LB
11102000-12-03 Laurynas Biveinis <lauras@softhome.net>
1111 Bruce Korb <bkorb@gnu.org>
1112
f6bbde28
ZW
1113 * Makefile.in: pass $(build_canonical) to mkfixinc.sh.
1114 * fixinc/mkfixinc.sh: accept build system name as an argument.
1115 Use it for choosing the fix build method. Use the target for
f415f5a4
LB
1116 selecting special fix rules.
1117
1708fd40
BS
11182000-12-03 Bernd Schmidt <bernds@redhat.co.uk>
1119
16f6ece6
BS
1120 * Makefile.in (OBJS): Add sched-deps.o.
1121 (sched-deps.o): New rule.
1122 * haifa-sched.c (struct deps, struct haifa_insn_data): Moved to
1123 sched-int.h.
1124 (INSN_DEPEND, INSN_LUID, CANT_MOVE, INSN_DEP_COUNT): Macros moved to
1125 sched-int.h.
1126 (SIZE_FOR_MODE): Delete unused macro.
1127 (reg_known_equiv_p, reg_known_value, reg_pending_clobbers,
1128 reg_pending_sets, reg_pending_sets_all, true_dependency_cache,
1129 anti_dependency_cache, output_dependency_cache,
1130 forward_dependency_cache): Variables moved to sched-deps.c.
1131 (add_dependence, remove_dependence, find_insn_list,
1132 find_insn_mem_list, add_insn_mem_dependence, flush_pending_lists,
1133 sched_analyze_insn, sched_analyze_1, sched_analyze_2,
1134 sched_analyze, group_leader, compute_forward_dependences,
1135 init_deps, free_deps, init_dependency_caches, free_dependency_caches):
1136 Functions moved to sched-deps.c.
1137 (schedule_region): Call init_deps_global and finish_deps_global
1138 instead of directly manipulating dependency data structures.
1139 * sched-deps.c: New file.
1140 (init_deps_global, finish_deps_global): New functions.
1141 * sched-int.h (struct haifa_insn_data, struct deps): Moved here from
1142 haifa-sched.c.
1143 (h_i_d): Declare.
1144 (INSN_DEPEND, INSN_LUID, CANT_MOVE, INSN_DEP_COUNT): Macros moved here
1145 from haifa-sched.c.
1146
c62c2659
BS
1147 * Makefile.in (OBJS): Add sched-vis.o.
1148 (sched-vis.o): New rule.
1149 * haifa-sched.c (get_unit_last_insn): New function.
1150 (sched_dump, insn_unit, actual_hazard_this_instance): No longer
1151 static.
1152 (schedule_block): Call visualize_alloc and visualize_free. Delete
1153 spurious return statement.
1154 (init_target_units, insn_print_units, get_visual_tbl_length,
1155 init_block_visualization, print_block_visualization, safe_concat,
1156 visualize_scheduled_inns, visualize_no_unit, visualize_stall_cycles,
1157 print_exp, print_value, print_pattern, print_insn, target_units,
1158 MAX_VISUAL_LINES, INSN_LEN, n_visual_lines, visual_tbl,
1159 n_vis_no_unit, vis_no_unit): Move scheduling visualization
1160 functions/variables...
1161 * sched-vis.c: ...here. New file.
1162 (visualize_alloc, visualize_free): New functions.
1163 (visualize_scheduled_insns, visualize_stall_cycles,
1164 print_block_visualization): Lose basic block argument. All callers
1165 changed.
1166 (visualize_scheduled_insns): Use new function get_unit_last_insn.
16f6ece6
BS
1167 * sched-int.h (current_sched_info, sched_dump): Declare.
1168 (init_target_units, insn_print_units, init_block_visualization,
1169 print_block_visualization, visualize_scheduled_inns,
1170 visualize_no_unit, visualize_stall_cycles, visualize_alloc,
1171 visualize_free): Declare functions.
c62c2659 1172
1708fd40
BS
1173 * sched-int.h: New file.
1174 * Makefile.in (haifa-sched.o): Depend on it.
1175 * haifa-sched.c: Include it.
1176 (no_real_insns_p): New function.
1177 (current_sched_info): New static variable.
1178 (__inline, HAIFA_INLINE): Moved to sched-int.h.
1179 (get_block_head_tail): Minor cleanup.
1180 (init_ready_list, can_schedule_ready_p, new_ready, schedule_more_p,
1181 rgn_print_insn, rgn_rank): New functions, broken out of
1182 rank_for_schedule, schedule_insn and schedule_block, where they
1183 are now called through function pointers in current_sched_info.
1184 (queue_insn, schedule_insn, queue_to_ready, debug_ready_list,
1185 print_insn): To display uid and block number, call the print_insn
1186 function pointer in current_schedule_info.
1187 (region_sched_info): New static variable.
1188 (sched_target_n_insns, sched_n_insns, target_n_insns): New global
1189 variables, moved out of schedule_block.
1190 (schedule_block): Return void. All callers changed.
1191 Move some of the setup code into schedule_region. Get head/tail
1192 from current_sched_info, and update it when done.
1193 (schedule_region): Slightly rearranged, some code moved here from
1194 schedule_block. Call no_real_insns_p to avoid doing work for a
1195 block that consists only of notes and labels.
1196 (schedule_insns): Initialize current_sched_info.
1197
8aaef6e0
NB
11982000-12-03 Neil Booth <neilb@earthling.net>
1199
f6bbde28
ZW
1200 * cppmacro.c (funlike_invocation_p): Re-disable macros enabled
1201 by contexts drops AFTER argument pre-expansion, so that they
1202 remain enabled during argument pre-expansion.
1203 (_cpp_pop_context): Unconditionally re-enable a macro when
1204 dropping a context level.
8aaef6e0 1205
94a3d3b9
MH
12062000-12-03 Manfred Hollstein <manfredh@redhat.com>
1207
1208 * arm/t-linux (MULTILIB_OPTIONS): Comment.
1209 (MULTILIB_DIRNAMES): Likewise.
1210 (EXTRA_MULTILIB_PARTS): Likewise.
1211 (LIBGCC): Likewise.
1212 (INSTALL_LIBGCC): Likewise.
1213
d118937d
KG
12142000-12-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1215
1216 * builtins.c (expand_builtin_strcat, expand_builtin_strncat,
1217 expand_builtin_strspn, expand_builtin_strcspn): New functions.
1218 (expand_builtin): Handle BUILT_IN_STRCAT, BUILT_IN_STRNCAT,
1219 BUILT_IN_STRSPN and BUILT_IN_STRCSPN.
1220
1221 * builtins.def (BUILT_IN_STRCAT, BUILT_IN_STRNCAT,
1222 BUILT_IN_STRSPN, BUILT_IN_STRCSPN): New entries.
1223
1224 * c-common.c (c_common_nodes_and_builtins): Declare builtin
1225 strcat, strncat, strspn and strcspn.
f6bbde28 1226 (string_ftype_string_cstring): Renamed from `string_ftype_ptr_ptr'.
d118937d
KG
1227
1228 * extend.texi (strcat, strcspn, strncat, strspn): Document new
1229 builtins.
1230
ca8034a0
KG
12312000-12-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1232
1233 * builtins.c (expand_builtin_strcmp): Use const*_rtx when
1234 expanding strcmp at compile-time. Add another transformation.
1235 (expand_builtin_strncmp): Add more transformations. Call
1236 expand_builtin_memcmp, not expand_builtin_strcmp, under
1237 appropriate conditions if HAVE_cmpstrsi.
1238
6c873122
DE
12392000-12-02 David Edelsohn <edelsohn@gnu.org>
1240
1241 * rs6000.md (anddi3_internal[23]): Prefer rldic? over andis
1242 instruction.
1243 (cr logic): Really make operands sequential.
1244
690c96c8
GK
12452000-12-02 Geoffrey Keating <geoffk@redhat.com>
1246
1247 * c-common.c (combine_strings): When the ISO C standard specifies
1248 the maximum length of a string, it doesn't include the trailing
1249 zero byte.
b43db0b3
GK
1250
1251 * cpplib.c (do_ifdef): Add check_eol() call.
1252 (do_ifndef): Likewise.
1253
283da1d3 12542000-12-02 Daniel Berlin <dberlin@redhat.com>
f6bbde28 1255 Bruce Korb <bkorb@gnu.org>
283da1d3 1256
f6bbde28
ZW
1257 * fixinc/*: global substitute /__MSDOS__/SEPARATE_FIX_PROC/
1258 * fixinc/mkfixinc.sh: prepare to use Makefile.BEOS for *-*-beos*
1259 * fixinc/Makefile.DOS: define SEPARATE_FIX_PROC for build
1260 * fixinc/fixfix.c(wrap_fix): avoid wrapping files that
1261 use the "__need_" hackery. It breaks them.
1262 * fixinc/fixincl.c(process - SEPARATE_FIX_PROC):
1263 Sometimes on DOS and BeOS the temp output file cannot be opened.
1264 Skip the file noisily. Ought to be fixed instead.
283da1d3 1265
6864a6c6
BK
12662000-12-02 Bruce Korb <bkorb@gnu.org>
1267
1268 From: 2000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1269
1270 * fixfixes.c (emit_gnu_type, format_write): Prototype.
1271 (format_write, char_macro_use_fix, char_macro_def_fix): Use gcc's
1272 custom uppercase ctype macros.
1273 * fixincl.c (do_version): Make static and add ATTRIBUTE_NORETURN.
1274 Use gcc's custom uppercase ctype macros.
1275 (main): Prototype.
1276 (machine_matches): Add static prototype and constify variable.
1277 (create_file, test_test, egrep_test): Add static prototype.
1278 (quoted_file_exists): Likewise, and constify parameters.
1279 (extract_quoted_files, internal_fix, start_fixer, fix_applies,
1280 write_replacement, test_for_changes): Add static prototype.
1281 (write_replacement, test_for_changes): Delete excess argument to
1282 `create_file'.
1283 * fixtests.c (test): Make static.
1284 * server.c (load_data, sig_handler, server_setup, find_shell): Add
1285 static prototype.
1286 (sig_handler): Mark parameter with ATTRIBUTE_UNUSED.
1287
d7156fee
BK
12882000-12-02 Bruce Korb <bkorb@gnu.org>
1289
1290 * fixnc/mkfixinc.sh(msdosdjgpp): remove from fixincludes exception list
1291 (per Laurynas Biveinis <lauras@softhome.net>)
1292
f1008e52
RE
12932000-12-02 Richard Earnshaw <rearnsha@arm.com>
1294
1295 * arm.h (ARM_REGNO_OK_FOR_BASE_P, THUMB_REGNO_MODE_OK_FOR_BASE_P): New
1296 macros.
1297 (REGNO_MODE_OK_FOR_BASE_P): Define in terms of above.
1298 (REGNO_OK_FOR_FOR_BASE_P): Delete.
1299 (ARM_REG_OK_FOR_BASE_P, THUMB_REG_MODE_OK_FOR_BASE_P): New macros for
1300 both strict and non-strict uses.
1301 (REG_MODE_OK_FOR_BASE_P): Define in terms of above.
1302 (ARM_REG_OK_FOR_INDEX_P, THUMB_REG_OK_FOR_INDEX_P): New macros.
1303 (REG_OK_FOR_INDEX_P): Define in terms of above.
1304 (REG_OK_FOR_BASE_P): Delete.
1305 (REG_OK_FOR_PRE_POST_P): Delete.
1306 (ARM_BASE_REGISTER_RTX_P): Renamed from BASE_REGISTER_RTX_P.
1307 (ARM_INDEX_REGISTER_RTX_P): Renamed from INDEX_REGISTER_RTX_P.
1308 (ARM_GO_IF_LEGITIMATE_INDEX): Renamed from GO_IF_LEGITIMATE_INDEX.
1309 (THUMB_LEGITIMATE_OFFSET): Renamed from LEGITIMATE_OFFSET.
1310 (ARM_GO_IF_LEGITIMATE_ADDRESS): Adjust for name changes. Use ARM
1311 specific variants rather than general ones. Use ARM_REG_OK_FOR_BASE_P
1312 in pre/post increment cases.
1313 (THUMB_GO_IF_LEGITIMATE_ADDRESS): Similarly for Thumb.
1314 (ARM_LEGITIMIZE_ADDRESS): Similarly.
1315 (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Similarly.
1316 * arm.c (legitimate_pic_address): Similarly.
1317
4eb191f3
NB
13182000-12-02 Neil Booth <neilb@earthling.net>
1319
f6bbde28
ZW
1320 * tradcpp.c (struct answer, parse_assertion, parse_answer,
1321 canonicalize_text, find_answer): New.
1322 (do_assert, do_unassert): Provide appropriate function bodies.
1323 (union hashval): New member answers.
4eb191f3 1324
84e6f1ba
MM
13252000-11-23 Marek Michalkiewicz <marekm@linux.org.pl>
1326
1327 * config/avr/avr.md: Document UNSPEC usage.
1328 (*tablejump_rjmp, *tablejump_lib, *tablejump_enh, *tablejump):
1329 Make operand 0 input only, clobber it. Use UNSPEC, not a bogus
1330 MEM for program memory word reference. Do not add the label to
1331 the table index in each of the asm output templates, instead ...
1332 (casesi): ... do it in RTL. Adjust to match the above change.
1333
a88f02e7
BS
13342000-12-02 Bernd Schmidt <bernds@redhat.co.uk>
1335
0884b60c
BS
1336 * c-common.c (PTRDIFF_TYPE): Provide default here, ...
1337 * c-decl.c: ... not here.
1338
a88f02e7
BS
1339 * haifa-sched.c (sched_dump): Renamed from dump. All users changed.
1340 (old_max_uid): New variable.
1341 (compute_forward_dependences): Renamed from
1342 compute_block_forward_dependences; changed to accept block head and
1343 tail instead of block number. Caller changed.
1344 (free_deps, init_dependency_caches, free_dependency_caches,
1345 init_regions, sched_init): New functions, split out from
1346 schedule_insns and compute_block_backward_dependences.
1347
fef1de5d
NB
13482000-12-02 Neil Booth <neilb@earthling.net>
1349
f6bbde28 1350 * cppexp.c (parse_number): Update diagnostic test.
fef1de5d 1351
88edcc06
BS
13522000-12-02 Bernd Schmidt <bernds@redhat.co.uk>
1353
1354 * reload1.c (free_for_value_p): New function, frontend to
1355 reload_reg_free_for_value_p. All callers of the latter now call
1356 this function with an additional mode argument.
1357
a325caa0
GP
13582000-12-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1359
1360 * install.texi (Configurations): Remove obsolete documentation for
1361 hppa*-*-*.
1362
3808a17d
GP
13632000-12-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1364
1365 * install.texi (Installation): Remove obsolete description for
1366 libstdc++ which is now an integral part of GCC.
f6bbde28 1367
27646dba
JB
13682000-12-01 Jim Blandy <jimb@redhat.com>
1369
1370 * dbxout.c (dbxout_parms): Correctly describe parameters passed by
1371 invisible reference in registers, but then spilled to the stack.
1372 Remove code to emit a second stab for such parameters; it attempts
1373 to describe the value's location by introducing a synthetic C++
1374 `reference' type, and then saying the stack slot has that
1375 reference type. This loses type information (breaking GDB's
1376 `ptype' command, among other things) just to describe a location
1377 which stabs can represent correctly in other ways.
1378
cb51ecd2
AO
13792000-12-01 Alexandre Oliva <aoliva@redhat.com>
1380
08106825
AO
1381 * final.c (output_addr_const) <PLUS>: Don't assume at least one
1382 operand is a CONST_INT.
1383
cb51ecd2
AO
1384 * config/sh/sh.c (reg_class_from_letter): Assign `k' to SIBCALL_REGS.
1385 (machine_dependent_reorg): Split all insns.
1386 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Compute
1387 reg_class_contents[SIBCALL_REGS].
1388 (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add SIBCALL_REGS.
1389 * config/sh/sh.md (calli_pcrel, call_pcrel, call_valuei_pcrel,
1390 call_value_pcrel, call, call_value, sibcall): Match even when
1391 not optimizing.
1392 (sibcalli_pcrel, sibcall_pcrel): Likewise. Use constraint `k'
1393 for call address.
1394 (sibcalli): Likewise.
1395
4d808927
JM
13962000-12-01 Joseph S. Myers <jsm28@cam.ac.uk>
1397
1398 * c-common.c (warn_format, warn_format_y2k,
1399 warn_format_extra_args, warn_format_nonliteral): Define.
1400 (check_format_info): Check warn_format_nonliteral and
1401 warn_format_extra_args.
1402 (check_format_info_main): Check warn_format_y2k.
1403 (set_Wformat): New function.
1404 * c-common.h (warn_format_y2k, warn_format_extra_args,
1405 warn_format_nonliteral, set_Wformat): Declare.
1406 * c-decl.c (warn_format): Remove definition.
1407 (c_decode_option): Handle -Wformat-nonliteral,
1408 -Wno-format-extra-args and -Wno-format-y2k, and negated versions.
1409 Use set_Wformat.
1410 * invoke.texi: Document these new options and -Wformat=2.
1411 * toplev.c (documented_lang_options): Add these new options.
1412
e78f4a97
JM
14132000-12-01 Joseph S. Myers <jsm28@cam.ac.uk>
1414
1415 * builtins.def (BUILT_IN_IMAXABS): Add.
1416 * builtins.c (expand_builtin): Also abort on BUILT_IN_IMAXABS.
1417 * c-common.c (c_common_nodes_and_builtins): Create builtin
1418 functions __builtin_imaxabs, and plain imaxabs unless
1419 flag_no_nonansi_builtin outside C99 mode.
1420 (expand_tree_builtin): Handle BUILT_IN_IMAXABS.
1421 * extend.texi: Document builtin imaxabs.
1422
5fd8e536
JM
14232000-12-01 Joseph S. Myers <jsm28@cam.ac.uk>
1424
1425 * c-common.c: Include "defaults.h".
1426 (WINT_TYPE, INTMAX_TYPE, UINTMAX_TYPE): Define.
1427 (c_common_nodes_and_builtins): Create string_type_node,
1428 const_string_type_node, wint_type_node, intmax_type_node,
1429 uintmax_type_node, default_function_type, ptrdiff_type_node and
1430 unsigned_ptrdiff_type_node.
1431 * c-common.h (identifier_global_value): Declare.
1432 * c-decl.c (WINT_TYPE, INTMAX_TYPE, UINTMAX_TYPE): Don't define.
1433 (init_decl_processing): Don't create string_type_node,
1434 const_string_type_node, wint_type_node, intmax_type_node,
1435 uintmax_type_node, default_function_type, ptrdiff_type_node and
1436 unsigned_ptrdiff_type_node.
1437 (identifier_global_value): New function.
1438
8d9e9a08
NB
14392000-12-01 Neil Booth <neilb@earthling.net>
1440
f6bbde28
ZW
1441 * cppinit.c (initialize): Forgotten prototype.
1442 * cpplex.c (_cpp_lex_token): Loop until not skipping.
1443 Always clear PREV_WHITE upon meeting a new line.
1444 * cpplib.c (end_directive): Set pfile->skipping after
1445 skip_rest_of_line.
1446 * cpplib.h (cpp_reader): Remove macro_pos.
1447 * cppmacro.c (cpp_get_line): Don't do anything special inside
1448 macros.
1449 (parse_arg): Add PREV_WHITE if a token appears after new lines.
1450 (funlike_invocation_p): Save and restore the output position
1451 over a successful check for a '('.
1452 (enter_macro_context): Delete uses of macro_pos.
1453 (cpp_get_token): Don't use pfile->skipping.
8d9e9a08 1454
c4765d18
PE
14552000-12-01 Phil Edwards <pme@sources.redhat.com>
1456
1457 * diagnostic.c: Fix typos in comments.
1458 * diagnostic.h: Likewise.
1459
815d683e
PE
14602000-11-30 Phil Edwards <pme@sources.redhat.com>
1461
1462 * rtl.texi (Machine Modes): Document BImode and OImode.
1463
ae24178a
JM
14642000-12-01 Joseph S. Myers <jsm28@cam.ac.uk>
1465
1466 * gcc.c (default_compilers): Add suffixes .mi, .cp, .ii, .FOR and
1467 .FPP.
1468
c7b82833
JM
14692000-12-01 Joseph S. Myers <jsm28@cam.ac.uk>
1470
1471 * c-decl.c (grokdeclarator): If pedantic, warn about arrays with
1472 incomplete element type.
1473 (grokparms): Before checking for incomplete parameter type, check
1474 the type isn't error_mark_node.
1475
ab937357
JJ
14762000-12-01 Jakub Jelinek <jakub@redhat.com>
1477
1478 * builtins.c (target_char_cast): New function.
1479 (expand_builtin_strchr): Use it.
1480 (expand_builtin_strrchr): Use it.
1481 (builtin_memset_read_str): New function.
1482 (expand_builtin_memset): Use target_char_cast.
1483 Try to optimize memset with second argument non-zero using
1484 store_by_pieces.
1485
3a69a7d5
MM
14862000-11-30 Marek Michalkiewicz <marekm@linux.org.pl>
1487
1488 * install.texi (avr): Replace incomplete list of supported MCU
1489 types with a link to the current one ...
1490 * invoke.texi (AVR Options): ... here. Update -mmcu= to list
1491 all supported MCU types. Document -minit-stack= default.
1492 Document new options -mno-tablejump, -mtiny-stack.
1493 * md.texi (AVR family): Fix typo in 'w' constraint letter
1494 description. Document 'q'. Update 'O'.
1495
53895717
BS
14962000-12-01 Bernd Schmidt <bernds@redhat.co.uk>
1497
1498 * combine.c (cant_combine_insn_p): Only disallow insns involving
1499 hard regs if they are reg-reg moves.
1500 (try_combine, can_combine_p, combinable_i3pat): Delete old
1501 SMALL_REGISTER_CLASSES tests.
1502
f00018dd
AO
15032000-12-01 Alexandre Oliva <aoliva@redhat.com>
1504
3d422cb1
AO
1505 * config/sh/sh.c (shiftcosts): Don't get INTVAL before testing
1506 whether X is a CONST_INT.
1507 (addsubcosts): Likewise.
1508
f00018dd
AO
1509 * config/sh/sh.h (OUTPUT_ADDR_CONST_EXTRA): Use INTVAL instead of
1510 mis-used XINT.
1511 (ARG_POINTER_REGNUM): Set to AP_REG.
1512
95ac07b0
AO
15132000-11-30 Alexandre Oliva <aoliva@redhat.com>
1514
ecfdeaeb
AO
1515 * config/sh/sh.md (fpu_switch0, fpu_switch1, movpsi, fpu_switch,
1516 splits): Only match on TARGET_SH4.
1517
95ac07b0
AO
1518 * combine.c (try_combine): Disregard USEs when updating LOG_LINKS
1519 of subsequent insns.
1520
f2720858
RH
15212000-11-30 Richard Henderson <rth@redhat.com>
1522
1523 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Disable.
1524 * config/alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
1525
ef7d91cd
RH
15262000-11-30 Richard Henderson <rth@redhat.com>
1527
1528 * config/alpha/elf.h (ASM_OUTPUT_SECTION_NAME): Copy elfos.h defn.
1529 (DO_SELECT_SECTION): New.
1530 (SELECT_SECTION): Use it.
1531 (UNIQUE_SECTION_P): New.
1532 (UNIQUE_SECTION): New.
1533
29ced803
AO
15342000-11-30 Alexandre Oliva <aoliva@redhat.com>
1535
1536 * c-common.c (status_warning) [! ANSI_PROTOTYPES]: Load status
1537 from va_list before using it.
1538
25e4379f
MM
15392000-11-30 Michael Matz <matzmich@cs.tu-berlin.de>
1540
1541 * flow.c (make_edge): Early out, if no flags to set.
1542 (calculate_global_regs_live): Clear out garbage only when necessary.
1543
1544 * simplify-rtx.c (varray_type used_regs): New.
1545 (clear_table): Use it to only clear necessary items.
1546 (cselib_lookup, cselib_record_set): Remember newly set items.
1547 (cselib_update_varray_sizes, cselib_init): Initialize and grow
1548 used_regs.
1549
1550 * local-alloc.c (update_equiv_regs): New local `cleared_regs'.
1551 Move clearing of dead regs out of insn-loop.
1552
41c39533
RH
15532000-11-30 Richard Henderson <rth@redhat.com>
1554
1555 * calls.c (expand_call): Emit queued insns before creating
1556 the tail recursion sequence.
1557
039df8c7 15582000-11-30 J. David Anglin <dave.anglin@nrc.ca>
f6bbde28 1559 Bruce Korb <bkorb@gnu.org>
039df8c7
DA
1560
1561 * fixinc/inclhack.def(): prevent dual double definition protection
1562 * fixinc/fixincl.x: regenerate
1563
42cfed37
LR
15642000-11-29 Loren J. Rittle <ljrittle@acm.org>
1565
f6bbde28
ZW
1566 * fixinc/Makefile.in (fixincl.x): Explicitly state the
1567 location of the generated file.
42cfed37 1568
a6bb9efa
GP
15692000-11-30 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1570
1571 * README.FRESCO: Remove obsolete file.
1572
255b8a49
JL
15732000-11-30 Mark Kettenis <kettenis@gnu.org>
1574
255b8a49
JL
1575 * config/t-gnu (LIBGCC1, CROSS_LIBGCC1, CRTSTUFF_T_CFLAGS,
1576 TARGET_LIBGCC2_CFLAGS): Remove. We now use the settings from
1577 config/t-linux for the Hurd.
1578
15792000-11-30 Stephane Carrez <Stephane.Carrez@worldnet.fr>
75273d08
SC
1580
1581 * config/mn10200/udivmod.c, config/mn10200/divmod.c,
1582 config/mn10200/udivmodsi4.c: Moved from here.
1583 * config/udivmod.c, config/divmod.c, config/udivmodsi4.c: To here.
1584 * config/mn10200/t-mn10200 (LIB2FUNCS_EXTRA): Use the generic
1585 C division functions.
1586 * config/m68hc11/t-m68hc11-gas (LIB2FUNCS_EXTRA): Likewise.
1587
15c2086a
JL
1588Thu Nov 30 01:12:52 2000 Jeffrey A Law (law@cygnus.com)
1589
1590 * pa.md (conditional moves): Avoid holes in operand list.
1591 (mod, umod patterns): Similarly.
1592 (variable extract/shift patterns): Similarly.
1593
9105f671
NB
15942000-11-30 Neil Booth <neilb@earthling.net>
1595
f6bbde28
ZW
1596 * objc/objc-act.c (lang_init, finish_file, maybe_objc_comptypes,
1597 maybe_objc_check_decl, build_objc_string_object,
1598 objc_declare_alias, objc_declare_class, build_message_expr,
1599 build_protocol_expr, build_selector_expr, build_encode_expr,
1600 get_class_ivars, start_class, start_protocol): Remove
1601 redundant code, assuming doing_objc_thang is true.
9105f671 1602
31a7659b
JDA
16032000-11-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
1604
1f80ea95
JDA
1605 * pa.c (restore_unscaled_index_insn_codes): Delete procedure.
1606 (record_unscaled_index_insn_codes): Likewise.
1607 (unscaled_index_insn_codes): Delete.
1608 (max_unscaled_index_insn_codes_uid): Delete.
1609 (output_function_prologue, output_function_epilogue, pa_reorg):
1610 Don't use the unscaled index insn hack.
1611
d16ca6a6
JDA
1612 * pa.md: Remove hack from all index insns to reverse the operand
1613 order of frame and stack pointer references incorrectly created
1614 in the reload pass.
1615
3502dc9c
JDA
1616 * function.h (emit_status): Delete member regno_pointer_flag and
1617 rename regno_pointer_flag_length to regno_pointer_align_length.
1618 Delete define for REGNO_POINTER_FLAG.
1619 * integrate.h (inline_remap): Delete member regno_pointer_flag.
1620 Add member x_regno_reg_rtx.
1621 * rtl.h (rtx_def): Use frame_related bit to indicate register is
1622 a pointer in REG expressions. Define REG_POINTER macro.
1623 * alias.c (find_base_value, find_base_term): Use REG_POINTER
1624 instead of REGNO_POINTER_FLAG.
1625 * combine.c (nonzero_bits, num_sign_bit_copies): Likewise.
1626 * emit-rtl.c (gen_reg_rtx): Use regno_pointer_align_length instead
1627 of regno_pointer_flag_length. Remove code which refers to
1628 regno_pointer_flag.
1629 (mark_reg_pointer): Use REG_POINTER.
1630 (free_emit_status): Remove code which refers to regno_pointer_flag.
1631 (init_emit, mark_emit_status): Likewise.
1632 * flow.c (dump_flow_info): Likewise.
1633 * function.c (preserve_temp_slots): Likewise.
1634 * integrate.c (expand_inline_function, copy_rtx_and_substitute):
1635 Use x_regno_reg_rtx instead of regno_pointer_flag for function
1636 pointer determination in map.
1637 * loop.c (strength_reduce, maybe_eliminate_biv_1): Use REG_POINTER.
1638 * predict.c (estimate_probability): Likewise.
1639 * regclass.c (record_address_regs, reg_scan_mark_refs): Likewise.
1640 * unroll.c (unroll_loop): Use x_regno_reg_rtx instead of
1641 regno_pointer_flag for function pointer determination in map.
1642 * convex.h (RTX_COSTS): Don't test regno_pointer_flag and use
1643 REG_POINTER.
1644 * pa.c (hppa_legitimize_address, emit_move_sequence, basereg_operand):
1645 Use REG_POINTER.
1646 (restore_unscaled_index_insn_codes): Revise comment.
1647
31a7659b
JDA
1648 * expr.c (do_compare_and_jump): Add missing TYPE_MODE in statement.
1649
9f1bbeaa
JM
16502000-11-30 Joseph S. Myers <jsm28@cam.ac.uk>
1651
1652 * extend.texi: Update documentation for attributes.
1653
74e5aa4b
DB
16542000-11-29 David O'Brien <obrien@FreeBSD.org>
1655
1656 * config/alpha/elf.h (IDENT_ASM_OP): Protect the #define.
1657 (ASM_DECLARE_OBJECT_NAME): Same.
1658 (ASM_FILE_END): Same.
1659 (ASM_FINISH_DECLARE_OBJECT): Same.
1660 (ASM_IDENTIFY_GCC): Same.
1661 (ASM_IDENTIFY_LANGUAGE): Same.
1662 (ASM_OUTPUT_CONSTRUCTOR): Same.
1663 (ASM_OUTPUT_DEF): Same.
1664 (ASM_OUTPUT_DESTRUCTOR): Same.
1665 (ASM_OUTPUT_EXTERNAL_LIBCALL): Same.
1666 (ASM_OUTPUT_SECTION_NAME): Same.
1667 (ASM_WEAKEN_LABEL): Same.
1668 (BSS_SECTION_ASM_OP): Same.
1669 (COMMON_ASM_OP): Same.
1670 (CONST_SECTION_ASM_OP): Same.
1671 (CONST_SECTION_FUNCTION): Same.
1672 (CTORS_SECTION_ASM_OP): Same.
1673 (DTORS_SECTION_ASM_OP): Same.
1674 (ESCAPES): Same.
1675 (FINI_SECTION_ASM_OP): Same.
1676 (IDENT_ASM_OP): Same.
1677 (IDENT_ASM_OP): Same.
1678 (INIT_SECTION_ASM_OP): Same.
1679 (INT_ASM_OP): Same.
1680 (MAX_OFILE_ALIGNMENT): Same.
1681 (SBSS_SECTION_ASM_OP): Same.
1682 (SDATA_SECTION_ASM_OP): Same.
1683 (SECTION_FUNCTION_TEMPLATE): Same.
1684 (SELECT_SECTION): Same.
1685 (SE_CONST_SECTION): Same.
1686 (SIZE_ASM_OP): Same.
1687 (SKIP_ASM_OP): Same.
1688 (STRING_ASM_OP): Same.
1689 (STRING_LIMIT): Same.
1690 (TYPE_ASM_OP): Same.
1691 (TYPE_OPERAND_FMT): Same.
1692
0eaed3c6
NB
16932000-11-29 Neil Booth <neilb@earthling.net>
1694
f6bbde28
ZW
1695 * c-decl.c (c_decode_option): Don't handle -lang-objc.
1696 * objc/lang-options.h: Remove -lang-objc.
1697 * objc/lang-specs.h: Don't pass -lang-objc to cc1obj.
1698 * objc/objc-act.c (lang_init_options): Set c_language.
0eaed3c6 1699
98166639
JJ
17002000-11-29 Jakub Jelinek <jakub@redhat.com>
1701
1702 * expr.c (can_store_by_pieces): Reinitialize max_size for reverse
1703 tests.
1704
f3b55474
NB
17052000-11-29 Neil Booth <neilb@earthling.net>
1706
f6bbde28 1707 * c-pragma.c (init_pragma): Update for parse_in type change.
f3b55474 1708
b86ecfa9
LB
17092000-11-29 Laurynas Biveinis <lauras@softhome.net>
1710
1711 * configure.in: recognize DOS-style absolute paths.
1712
57814e5e
JJ
17132000-11-29 Jakub Jelinek <jakub@redhat.com>
1714
1715 * expr.h (store_by_pieces): Add prototype.
1716 (can_store_by_pieces): Likewise.
1717 * expr.c (struct store_by_pieces): Renamed from clear_by_pieces.
1718 (can_store_by_pieces): New.
1719 (store_by_pieces): New.
1720 (clear_by_pieces): New.
1721 (clear_by_pieces_1): New.
1722 (store_by_pieces_1): Renamed from clear_by_pieces, handle storing
1723 arbitrary compiler generated constants into memory block.
1724 (store_by_pieces_2): Renamed from clear_by_pieces_1, likewise.
1725 * builtins.c (c_readstr): New.
1726 (builtin_memcpy_read_str): New.
1727 (expand_builtin_memcpy): If src is string constant and
1728 emit_block_move would move it by pieces, compute integer constants
1729 from the string and store it into memory block instead.
1730 (builtin_strncpy_read_str): New.
1731 (expand_builtin_strncpy): If N is not constant zero and c_strlen does
1732 not return INTEGER_CST, don't optimize.
1733 If N is larger than strlen(src) + 1, try to copy the string
1734 including padding with store_by_pieces.
1735 (expand_builtin_strcmp): If both arguments have side effects, don't
1736 optimize.
1737 (expand_builtin_fputs): If STR has side effects, don't optimize.
1738
76b7dad3
RE
17392000-11-29 Richard Earnshaw <rearnsha@arm.com>
1740
1741 * arm.md (sibcall, sibcall_value, sibcall_insn, sibcall_value_insn):
1742 Add use of link register.
1743
b722c82c
JM
17442000-11-29 Joseph S. Myers <jsm28@cam.ac.uk>
1745
1746 * extend.texi: Update documentation for default format attributes.
1747
01fa3508
JL
1748Tue Nov 28 21:56:45 2000 Jeffrey A Law (law@cygnus.com)
1749
1750 * pa/pa-64.h (ASM_OUTPUT_SECTION_NAME): Use a hash table, not
1751 a list, to keep track of the sections.
1752
4bec9f7d
NC
17532000-11-28 Nick Clifton <nickc@redhat.com>
1754
1755 * config/arm/arm.md (pic_load_addr): Split into
1756 pic_load_addr_arm and pic_load_addr_thumb.
1757
1758 * config/arm/arm.c (legitimize_pic_address): Generate either
1759 ARM or Thumb versions of pic_load_addr.
1760 (arm_finalize_pic): Generate either ARM or Thumb versions of
1761 pic_load_addr.
1762
54fef245
RH
17632000-11-28 Richard Henderson <rth@redhat.com>
1764
1765 * calls.c (expand_call): Defer const/pure NO_DEFER_POP until
1766 after sibcall do_pending_stack_adjust.
1767
f423a6a7
R
1768Wed Nov 29 00:08:23 2000 J"orn Rennecke <amylaar@redhat.com>
1769
1770 * jump.c (delete_insn): Check that REG_LABEL note actually contains
1771 a CODE_LABEL.
1772
eaf299c6
NB
17732000-11-28 Neil Booth <neilb@earthling.net>
1774
01933a51 1775 * c-common.h: Remove flag_digraphs.
f6bbde28
ZW
1776 * c-decl.c: Remove flag_digraphs.
1777 (c_decode_option): Don't set it.
01933a51 1778 * c-lex.c (init_c_lex): Don't do anything for digraphs.
eaf299c6 1779
7dfe7bd6
RH
17802000-11-28 Richard Henderson <rth@redhat.com>
1781
1782 * c-parse.in (finish_parse): Update for parse_in type change.
1783 (_yylex): Likewise.
1784
8dc4676d
NB
17852000-11-28 Neil Booth <neilb@earthling.net>
1786
01933a51
JM
1787 * cppmacro.c (cpp_scan_buffer_nooutput): Take a boolean
1788 indicating whether to scan all buffers on the stack or
1789 just one.
1790 * cppinit.c (do_includes): Update.
1791 * cppmain.c (main): Update.
1792 * cpplib.h: Update prototype.
8dc4676d 1793
c77e04ae
RH
17942000-11-28 Richard Henderson <rth@redhat.com>
1795
1796 * genoutput.c (validate_insn_operands): New.
1797 (gen_insn): Call it.
1798
1799 * config/alpha/alpha.md (divmodsi_internal): Renumber operands.
1800 (divmoddi_internal): Likewise.
1801 * config/arm/arm.md (andsi3_compare0_scratch): Likewise.
1802 * config/i960/i960.md (branch patterns): Likewise.
1803 * config/ia64/ia64.md (tbit_and_0): Likewise.
1804 (tbit_and_1, tbit_or_0, tbit_or_1): Likewise.
1805 * config/m68k/m68k.md (zero_extract memory patterns): Likewise.
1806 * config/mips/mips.md (divmodsi4_internal): Likewise.
1807 (divmoddi4_internal): Likewise.
1808 * config/rs6000/rs6000.md (call patterns): Likewise.
1809 * config/sh/sh.md (movsi_y): Likewise.
1810 * config/sparc/sparc.md: Comment out if 0 v8p shift pattern.
1811
79bc4669
RH
18122000-11-28 Richard Henderson <rth@redhat.com>
1813
1814 * config.gcc: Kill residual pyramid support.
1815
cf44ea52
NB
18162000-11-28 Neil Booth <neilb@earthling.net>
1817
1818 * c-lex.h (parse_in): Change parse_in to a cpp_reader *.
1819 * c-decl.c (c_decode_option): Update to match.
1820 * c-lex.c (init_c_lex, yyparse): Update to match.
1821 * c-lang.c (lang_init_options): Use cpp_create_reader.
1822 * cppinit.c (cpp_init): Rename initialize.
1823 (cpp_reader_init): Rename cpp_create_reader. Create the
1824 reader. Initialize cpplib if appropriate.
1825 * cpplib.h (cpp_create_reader) New prototype.
1826 (cpp_init, cpp_reader_init): Delete prototypes.
1827 * cppmain.c (general_init, setup_callbacks): New functions.
1828 (main): Use them.
1829 * fix-header.c (scan_in): Change type to cpp_reader *.
1830 (read_scan_file): Update for new cpplib interface and scan_in type.
1831
1832 * cp/decl.c (parse_in): Change to cpp_reader *.
1833 (lang_decode_option): Update.
1834 * cp/lex.c (lang_init_options): Use new cpplib interface.
1835 (init_cp_pragma, finish_parse, handle_pragma_implementation): Update.
1836 * cp/spew.c (read_token): Update.
1837 * objc/objc-act.c (lang_init_options): Update new cpplib interface.
1838
48c4d691
JJ
18392000-11-28 Jakub Jelinek <jakub@redhat.com>
1840
1841 * loop.c (load_mems): Avoid using next_label to find end_label. If
1842 jumping outside of the loop (other than loop end), don't hoist MEMs
1843 out of loop.
1844
fb158467
JH
18452000-11-28 Jan Hubicka <jh@suse.cz>
1846
1847 * calls.c (expand_call): Don't disable tail recursion based
1848 on the loop nest.
1849
40bd4395
NB
18502000-11-28 Neil Booth <neilb@earthling.net>
1851
01933a51
JM
1852 * tradcpp.c (enum node_type): New hash types T_ASSERT, T_UNASSERT.
1853 (struct directive): Drop 4th argument from handlers.
1854 (do_define, do_line, do_include, do_undef, do_else, do_elif,
1855 do_endif): Similarly.
1856 (do_assert, do_unassert, do_ifdef, do_ifndef): New handlers.
1857 (do_ifxdef): Update as common handler of do_ifdef and do_ifndef.
1858 (make_definition, make_undef): Take a const char*.
1859 (make_assertion): New function.
1860 (struct directive_table): Update.
1861 (main): Handle -A command line argument.
1862 (handle_directive): Drop fourth handler argument.
40bd4395 1863
77ea49a4
BS
18642000-11-28 Bernd Schmidt <bernds@redhat.co.uk>
1865
1866 * simplify-rtx.c (cselib_record_sets): Ignore sets whose destination
1867 is anything but REG or MEM, but look inside STRICT_LOW_PART.
1868
c5c0b3d9
RK
1869Tue Nov 28 09:53:50 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1870
1871 * system.h (IS_DIR_SEPARATOR): Use uppercase macro name.
1872 (IS_ABSOLUTE_PATHNAME): New macro.
1873 * gcc.c (find_a_file, process_command, do_spec_1, main): Use it.
1874
dd80b906
JJ
18752000-11-28 Jakub Jelinek <jakub@redhat.com>
1876
1877 * config/i386/i386.md (truncxfsf2_2): Fix predicate.
1878
102870fb
JW
18792000-11-27 Jim Wilson <wilson@redhat.com>
1880
1881 * reload1.c (reload): Use HOST_WIDE_INT for old_frame_size.
1882
9734e80c
MK
18832000-11-27 Matthias Klose <doko@cs.tu-berlin.de>
1884
1885 * extend.texi (Nested Functions): Update URL of Usenix paper.
1886
cf77f15f
MM
18872000-11-27 Mark Mitchell <mark@codesourcery.com>
1888
1889 * function.c (free_after_compilation): Clear x_clobber_return_insn.
1890
6a6b1628
NB
18912000-11-27 Neil Booth <neilb@earthling.net>
1892
f6bbde28 1893 * cppinit.c (cpp_reader_init): Remove handling of warn_paste
01933a51
JM
1894 command line options.
1895 (cpp_handle_option): Similarly.
1896 * cpplib.h (struct cpp_options): Remove warn_paste.
1897 * cppmacro.c (paste_tokens): Apart from assembler, make
1898 unpasteable token warning mandatory.
6a6b1628 1899
fb6a7b08
NB
19002000-11-27 Neil Booth <neilb@earthling.net>
1901
01933a51
JM
1902 * tradcpp.c (enum pending_dir_t, struct pending_dir): New.
1903 (main): Allocate a pending directive set of these. Use it.
1904 Merge handling of -D and -U. Update handling of pending
1905 directives. Free the memory after use.
fb6a7b08 1906
7dfc0fbe
BS
19072000-11-27 Bernd Schmidt <bernds@redhat.co.uk>
1908
1909 * flow.c (entry_exit_blocks): Add entry for cond_local_set.
1910 (struct propagate_block_info): Add new member cond_local_set.
1911 (propagate_block): Accept new arg cond_local_set. All callers
1912 changed.
1913 (init_propagate_block_info): Likewise.
1914 (calculate_global_regs_live): Allocate & free cond_local_set. Always
1915 rescan if there's overlap between cond_local_set and new_live_at_end.
1916 (mark_set_1): Set bits either in cond_local_set or local_set, as
1917 appropriate.
1918 * basic-block.h (struct basic_block_def): New field cond_local_set.
1919 (propagate_block, init_propagate_block_info): Update prototypes.
1920
5f6fa212
KK
1921Mon Nov 27 17:29:44 2000 kaz Kojima <kkojima@rr.iij4u.or.jp>
1922
1923 * gcc/config/sh/sh.md (udivsi3_i4, udivsi3_i4_single): Clobber
1924 T register.
1925
8bb9536a
RE
19262000-11-27 Richard Earnshaw <rearnsha@arm.com>
1927
1928 * arm.c (select_dominance_cc_mode): Handle new way that combine
1929 canonicalizes conditional compares.
1930 (arm_select_cc_mode): Likewise.
1931 * arm.md: Garbage collect some dead code.
1932 (cmp_and, cmp_ior): New patterns.
1933 (splitter for conditional move with inverted false): Use cond_exec
1934 and handle unordered comparisons.
1935
4211a8fb
JH
1936Mon Nov 27 17:22:56 MET 2000 Jan Hubicka <jh@suse.cz>
1937
1938 * i386.c (ix86_force_to_memory, ix86_free_from_memory): New.
1939 * i386-protos.h (ix86_force_to_memory, ix86_free_from_memory): Declare
1940 * i386.md (float?i?f, int/fp operations): Rewrite spliters to use
1941 ix86_force_to_memory and ix86_free_from_memory.
1942
bb6ae783
RE
19432000-11-27 Richard Earnshaw <rearnsha@arm.com>
1944
1945 * arm.md (arm_adddi3, adddi_sesidi_di, adddi_zesidi_di, arm_addsi3,
1946 arm_subsi3_insn, anddi_zesidi_di, arm_andsi3_insn, anddi_notdi_di,
f6bbde28 1947 anddi_notzesidi_di, anddi_notsesidi_di, arm_iorsi3,
bb6ae783
RE
1948 one_cmpldi2): Merge with splitters to create define_insn_and_split
1949 patterns. Remove redundant splits.
1950 (peephole2 for add:SI of invalid immediate): New.
1951 (peephole2 for minus:SI of invalid immediate): New.
1952 (peephole2 for ior:SI of invalid immediate): New.
1953 (peephole for merge of move and compare): Convert ot peephole2.
1954 (addsf3, adddf3): Mark as commutative.
1955
1956 * arm.md (thumb peephole for merging stack adjustments): Convert to
1957 peephole2.
1958
70bbeb8b
BS
19592000-11-27 Bernd Schmidt <bernds@redhat.co.uk>
1960
375de5b6
BS
1961 * haifa-sched.c (print_pattern): Prettier output for COND_EXEC.
1962
70bbeb8b
BS
1963 * reload1.c (reload_cse_simplify_set): Pass down mode to cselib_lookup.
1964 (reload_cse_simplify_operands): Do nothing about operands where both
1965 the operand and the match_operand fail to give us a mode.
1966 * simplify-rtx.c (wrap_constant): New function.
1967 (entry_and_rtx_equal_p): Except integer constants to come wrapped in a
1968 CONST describing the proper mode.
1969 (rtx_equal_for_cselib_p): Pass down modes to recursive calls of
1970 cselib_lookup.
1971 (cselib_lookup_mem): Call wrap_constant on the rtx that is passed to
1972 htab_find_slot_with_hash.
1973 (cselib_lookup): Likewise.
1974
7dbe6ae9
BS
1975 Based on a patch from Geoff Keating <geoffk@redhat.com>:
1976 * loop.c (basic_induction_var): If a REG is set from something
1977 that is not a biv, then the REG is not a biv. Even if it is
1978 earlier set from something that is a biv.
1979
6b2adea9
AO
19802000-11-27 Alexandre Oliva <aoliva@redhat.com>
1981
1982 * configure.in (extra_objs): Enclose extra_headers in quotes.
1983 * configure: Rebuilt.
1984
27e2564a
NB
19852000-11-27 Neil Booth <neilb@earthling.net>
1986
01933a51
JM
1987 * c-lex.c (cb_enter_file, cb_leave_file, cb_rename_file):
1988 Combine into the new function cb_change_file.
1989 (init_c_lex): Update.
1990 * cppfiles.c (stack_include_file): Use _cpp_do_file_change.
1991 (cpp_syshdr_flags): Delete.
1992 * cpphash.h (_cpp_do_file_change): New prototype.
1993 Move struct cpp_buffer here from...
1994 * cpplib.h (struct cpp_buffer): ... here.
1995 (enum cpp_fc_reason, struct cpp_file_loc,
1996 struct_cpp_file_change, change_file): New.
1997 (enter_file, leave_file, rename_file, cpp_syshdr_flags): Delete.
1998 * cpplib.c (do_line): Update for new cb_change_file callback.
1999 (_cpp_do_file_change): New function.
2000 (_cpp_pop_buffer): Update to use it.
2001 * cppmain.c (move_printer): Delete.
2002 (main): Set up single callback cb_change_file.
2003 (cb_enter_file, cb_leave_file, cb_rename_file): Delete.
2004 (cb_change_file): New.
2005 * fix-header.c (cur_file, cb_change_file): New.
2006 (recognized_function, read_scan_file): Update.
2007 * scan-decls.c (scan_decls): Update.
2008 * scan.h (recognized_function): Update prototype.
27e2564a 2009
9ccb25d5
MM
20102000-11-26 Mark Mitchell <mark@codesourcery.com>
2011
2012 * tree.h (mark_tree_hashtable): New function.
2013 * tree.c (mark_tree_hashtable_entry): New function.
2014 (mark_tree_hashtable): Likewise.
2015
5fcd86dd
MM
20162000-11-27 Michael Meissner <meissner@redhat.com>
2017
2018 * d30v-protos.h (srelational_si_operator): Correctly spell
2019 function.
2020 (urelational_si_operator): Ditto.
2021 (relational_si_operator): Ditto.
2022 (d30v_expand_prologue): Add prototype.
2023 (d30v_expand_epilogue): Ditto.
2024
2025 * d30v.h (OPTIMIZATION_OPTIONS): Undo November 22nd change.
2026
2027 * d30v.md (movcccc_*): Delete now unused patterns.
2028 (64 bit comparison splitters): Rewrite to use COND_EXEC instead of
2029 IF_THEN_ELSE.
2030 (define_cond_exec): Use 'b' to select branch flags.
2031
da9e9f08
KG
20322000-11-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2033
2034 * builtins.c (expand_builtin_strncmp, expand_builtin_strncpy): New
2035 functions.
2036 (expand_builtin): Handle BUILT_IN_STRNCPY and BUILT_IN_STRNCMP.
2037
2038 * builtins.def (BUILT_IN_STRNCPY, BUILT_IN_STRNCMP): New entries.
2039
2040 * c-common.c (c_common_nodes_and_builtins): Declare builtin
2041 strncpy and strncmp.
2042
2043 * extend.texi (strncmp, strncpy): Document new builtins.
2044
231db5f4
MM
20452000-11-26 Mark Mitchell <mark@codesourcery.com>
2046
2047 * config/elfos.h (ASM_OUTPUT_SECTION_NAME): Use a hash table, not
2048 a list, to keep track of the sections.
2049 * tm.texi (ASM_OUTPUT_SECTION_NAME): Document the fact that the
2050 parameter provided will always be a canonical string.
2051
7463ef45
NB
20522000-11-26 Neil Booth <neilb@earthling.net>
2053
5fcd86dd
MM
2054 * cppmacro.c (cpp_scan_buffer_nooutput): Only scan the
2055 current buffer.
7463ef45 2056
1ccfb3dd
JM
20572000-11-26 Joseph S. Myers <jsm28@cam.ac.uk>
2058
2059 * makefile.vms: Remove EGCS references.
2060
0b34cf1e
UD
20612000-11-26 Ulrich Drepper <drepper@redhat.com>
2062
2063 * dwarf2out.c (output_file_names): New function. Compute minimal
2064 combination of directory and file name table and emit them.
2065 (output_line_info): Remove code to emit directory and file name
2066 table and call output_file_names instead.
2067 (file_info_cmp): Helper function to sort directory names.
2068
5fcd86dd 20692000-11-26 Neil Booth <neilb@earthling.net>
bdb05a7b 2070
5fcd86dd
MM
2071 * cpplib.h (struct cpp_reader): Remove lang_asm.
2072 (struct cpp_options): Remove c89. New members lang,
2073 extended_numbers.
f6bbde28 2074 * cppexp.c (parse_number): Use them.
5fcd86dd
MM
2075 * cpphash.h (VALID_SIGN): Use them.
2076 * cppinit.c (set_lang, cpp_start_read): Update.
2077 * cpplex.c (parse_string, _cpp_lex_token): Update.
2078 * cpplib.c (_cpp_handle_directive): Update.
2079 * cppmacro.c (parse_args): Update.
2080 * cppmain.c (scan_buffer): Update.
bdb05a7b 2081
72bd1f9e
RK
2082Sun Nov 26 10:02:37 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2083
2084 * fold-const.c (fold, case CONVERT_EXPR): Always return tree of
2085 proper type.
2086
5fcd86dd
MM
20872000-11-26 Neil Booth <neilb@earthling.net>
2088
2089 * Makefile.in: Remove MAYBE_CPPLIB and maybe_cpplib.
2090 * c-decl.c: Remove parse_in declaration.
2091 * c-lang.c: Similarly.
2092 * c-lex.c: Similarly.
2093 * c-parse.in: Similarly.
2094 * c-pragma.c: Similarly.
2095 * configure.in: Similarly.
2096 * cp/Make-lang.in: Similarly.
2097 * cp/spew.c: Similarly.
2098 * cp/decl2.c: Remove check for lang-c++ option.
2099 * cp/lang-specs.h: Remove -lang-c++ from cc1plus command line.
2100 * cp/lex.c (lang_init_options): With cpp_reader_init, default to C++.
2101 * c-lex.h: Add declaration of parse_in.
2102 * cppinit.c: Call set_lang after allocating pfile->pending.
2103 * configure: Regenerate.
056487e7 2104
1786009e
ZW
21052000-11-25 Zack Weinberg <zack@wolery.stanford.edu>
2106
2107 * combine.c (try_combine): Remove redundant test.
2108
3645c4dc
RH
21092000-11-25 Richard Henderson <rth@redhat.com>
2110
2111 * c-common.h (DECL_C_HARD_REGISTER): New.
2112 * c-decl.c (finish_decl): Set it for asm register variables.
2113 * c-semantics.c (emit_local_var): Test it when instantiating one.
2114
a17a5850
RH
21152000-11-25 Richard Henderson <rth@redhat.com>
2116
2117 * c-decl.c (c_expand_body): Use DECL_SOURCE_LINE rather than
2118 lineno for the start of the function.
2119
2e18bbae
RH
21202000-11-25 Richard Henderson <rth@redhat.com>
2121
2122 * dwarf2out.c (file_table, file_table_allocated): Remove.
2123 (file_table_allocated): Remove.
2124 (struct file_table): New.
2125 (decl_file_table, line_file_table): New.
2126 (print_dwarf_line_table): Use them.
2127 (size_of_line_prolog): Likewise.
2128 (output_line_info): Likewise.
2129 (add_src_coords_attributes): Likewise.
2130 (gen_subprogram_die): Likewise.
2131 (gen_variable_die): Likewise.
2132 (dwarf2out_add_library_unit_info): Likewise.
2133 (dwarf2out_line): Likewise.
2134 (lookup_filename): Take a struct file_table argument.
2135 (init_file_table): New.
2136 (dwarf2out_init): Use it.
2137
163686bd
JM
21382000-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
2139
2140 * invoke.texi: Update sequence points references.
2141
a32f2771
NB
21422000-11-25 Neil Booth <neilb@earthling.net>
2143
01933a51
JM
2144 * c-common.c: Remove USE_CPPLIB conditional inclusions.
2145 * c-common.h: Similarly.
2146 * c-decl.c: Similarly.
a32f2771
NB
2147 * c-lang.c: Similarly.
2148 * c-lex.c: Similarly.
01933a51
JM
2149 * c-parse.in: Similarly.
2150 * c-pragma.c: Similarly.
2151 * c-pragma.h: Similarly.
2152 * gcc.c: Similarly.
2153 * toplev.c: Similarly.
2154 * cp/cp-tree.h: Similarly.
2155 * cp/decl2.c: Similarly.
2156 * cp/lang-specs.h: Similarly.
2157 * cp/lex.c: Similarly.
2158 * cp/lex.h: Similarly.
2159 * cp/spew.c: Similarly.
2160 * java/lang-options.h: Similarly.
2161 * objc/lang-specs.h: Similarly.
2162 * objc/objc-act.c: Similarly.
2163
2164 * configure.in: Remove configure option.
2165 * config.in: Regenerate.
2166 * configure: Regenerate.
a32f2771 2167
3e8aa6e3
RH
21682000-11-25 Richard Henderson <rth@redhat.com>
2169
2170 * haifa-sched.c (sched_analyze_1, sched_analyze_2, sched_analyze):
2171 Revert 2000-11-22 change.
2172
59a9e22e
BS
21732000-11-25 Bernd Schmidt <bernds@redhat.co.uk>
2174
2175 * config/i386/i386.h (FIXED_REGS): Make the three flags registers
2176 fixed.
2177
2be36552
PT
21782000-11-25 Philipp Thomas <pthomas@suse.de>
2179 * configure.in (ALL_LINGUAS): Remove en_GB and add sv.
2180 * configure: Rebuilt.
2181
4df1190a
JJ
21822000-11-25 Jakub Jelinek <jakub@redhat.com>
2183
2184 * config/sparc/sparc.md (muldi3_v8plus): Remove H constraint.
2185 Handle CONST_INT as second argument.
2186 * config/sparc/sparc.c (set_extends): Remove first argument.
2187 Properly handle AND, CONST_INT and CONST_DOUBLE, handle IOR, XOR and
2188 MOV.
2189 (sparc_check_64): Abort if first argument is not REG.
2190 If it is DImode REG, look at the lower register of the register
2191 pair.
2192
2193 * config/sparc/sparc.c (load_pic_register, restore_regs,
2194 output_return, sparc_v8plus_shift, sparc_function_profiler,
2195 sparc_function_block_profiler, sparc_block_profiler): Fix output
2196 formatting.
2197
6915629f
AO
21982000-11-25 Alexandre Oliva <aoliva@redhat.com>
2199
ae010e43
AO
2200 * config/sh/sh.h (TARGET_NONE): New.
2201 (TARGET_SWITCHES): For all variant-selecting switch, use
2202 TARGET_NONE to reset all other variant-selecting switch. Added
2203 empty strings to avoid warnings.
2204 (TARGET_DEFAULT): Set to SH1_BIT.
2205
8618466f
AO
2206 * Makefile.in ($(INTL_TARGETS)): Added $(CONFIG_H) for
2207 insn-codes.h.
2208
5db5a888
AO
2209 * gcc/config/sh/sh.md (sibcalli, sibcalli_pcrel): New insns.
2210 (sibcall_pcrel): New insn_and_split.
2211 (sibcall, sibcall_value, sibcall_epilogue): New expands.
2212
6915629f
AO
2213 * config/sh/sh.md (GOTaddr2picreg, symGOT2reg, symGOTOFF2reg,
2214 symPLT_label2reg, call, call_value): Don't set
2215 current_function_uses_pic_offset_table.
2216 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Don't mark
2217 PIC_OFFSET_TABLE_REGNUM as call_used, so that calc_live_regs
2218 takes it into account.
2219 (FINALIZE_PIC): Delete, useless.
2220 (LEGITIMATE_CONSTANT_P): Delete, unused.
2221 * config/sh/sh.c (sh_expand_prologue): Don't use
2222 current_function_uses_pic_offset_table. Don't special-case
2223 PIC_OFFSET_TABLE_REGNUM. Initialize it if it's ever live and
2224 PIC is enabled.
2225 (sh_expand_epilogue, initial_elimination_offset): Don't
2226 special case PIC_OFFSET_TABLE_REGNUM.
2227
2d01e445
AO
22282000-11-25 Alexandre Oliva <aoliva@redhat.com>, NIIBE Yutaka <gniibe@m17n.org>
2229
2230 * config/sh/sh-protos.h (symbol_ref_operand): Declare.
2231 * config/sh/sh.md (UNSPEC_CALLER): New constant.
2232 (calli_pcrel, call_valuei_pcrel): Use PIC_REG.
2233 (call_pcrel, call_value_pcrel): New insn_and_splits.
2234 (call, call_value): Use them.
2235 (call_site): New expand.
2236 (sym_label2reg, symPLT_label2reg): Adjust to hold call_sites.
2237 * config/sh/sh.h (OUTPUT_ADDR_CONST_EXTRA) [UNSPEC_CALLER]:
2238 Output call_site label.
2239 (PREDICATE_CODES): Added symbol_ref_operand.
2240 * config/sh/sh.c (symbol_ref_operand): Define.
2241 * emit-rtl.c (try_split): Propagate CALL_INSN_FUNCTION_USAGE
2242 to CALL_INSNs in the split sequence.
2243
c3edd394
NC
22442000-11-24 Nick Clifton <nickc@redhat.com>
2245
2246 * config.gcc (v850-*-*): Define c_target_objs and
f6bbde28 2247 cxx_target_objs.
c3edd394
NC
2248
2249 * config/v850/t-v850: Define how to build v850-c.o
2250
2251 * config/v850/v850.h (struct data_area_stack_element): Move
2252 definition here from v850.c.
2253
2254 * config/v850v850.c: Include gcc.h to avoid compile time
2255 warning.
2256 (push_data_area): Move to v850-c.c.
2257 (pop_data_area): Move to v850-c.c.
2258 (mark_current_function_as_interrupt): Move to v850-c.c.
2259 (GHS_default_section_names): Allow to be exported.
2260 (GHS_current_section_names): Allow to be exported.
2261 (data_area_stack_elements): Allow to be exported.
2262 (ghs_pragma_section): Move to v850-c.c.
2263 (ghs_pragma_interrupt): Move to v850-c.c.
2264 (ghs_pragma_starttda): Move to v850-c.c.
2265 (ghs_pragma_startsda): Move to v850-c.c.
2266 (ghs_pragma_startzda): Move to v850-c.c.
2267 (ghs_pragma_endtda): Move to v850-c.c.
2268 (ghs_pragma_endsda): Move to v850-c.c.
2269 (ghs_pragma_endzda): Move to v850-c.c.
2270
2271 * config/v850/v850-c.c: New file: Contains v850 specific
2272 pragma parsing functions.
2273
aac69a49
NC
22742000-11-24 Nick Clifton <nickc@redhat.com>
2275
2276 * config.gcc (extra_objs): Remove duplicate description.
2277 (c_target_objs): New variable. Contains target specific
2278 object files for the gcc C compiler only.
f6bbde28 2279 (cxx_target_objs): New variable. Contains target specific
aac69a49
NC
2280 object files for the gxx C++ compiler only.
2281
2282 * configure.in (c_target_objs): Substitute in the makefile.
2283 (cxx_target_objs): Substitute in the makefile.
2284 * configure: Regenerate.
2285
2286 * Makefile.in (C_TARGET_OBJS): Define and initialise from
2287 c_target_objs.
2288 (CXX_TARGET_OBJS): Define and initialise from
2289 cxx_target_objs.
2290 (C_AND_OBJC_OBJS): Include C_TARGET_OBJS.
2291
2292 * cp/Make-lang.in (CXX_C_OBJS): Include CXX_TARGET_OBJS).
2293
2294 * tm.texi (REGISTER_TARGET_PRAGMAS): Add paragraph explaining
2295 about how the use of the 'c_lex' function requires the use of
2296 the target specific, language specific object files feature of
2297 the configuration mechanism.
2298
7257bbc6
RK
2299Fri Nov 24 18:50:58 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2300
2301 * gcc.c (process_command): Use F_OK, not R_OK.
2302
c3ff75c4
AK
23032000-11-24 Arno J. Klaassen <arno@heho.snv.jussieu.fr>
2304
2305 * flow.c (print_rtl_and_abort): Remove ANSIism.
2306
104ee20b
AO
2307Fri Nov 24 19:54:36 2000 Alexandre Oliva <aoliva@redhat.com>
2308
2309 * config/sh/sh.h (GENERAL_REGISTER_P,
2310 GENERAL_OR_AP_REGISTER_P, FP_REGISTER_P, XD_REGISTER_P,
2311 FP_OR_XD_REGISTER_P, FP_ANY_REGISTER_P): New macros. Use them
2312 all over.
2313 (SPECIAL_REG): Renamed to SPECIAL_REGISTER_P.
2314 * config/sh/sh.c: Use new macros.
2315 * config/sh/sh.md: Likewise.
2316
5d00b10a
AO
2317Fri Nov 24 19:46:16 2000 Alexandre Oliva <aoliva@redhat.com>
2318
2319 * config/sh/sh.md: Clobber MACH_REG and MACL_REG in SImode,
2320 instead of just MACH_REG in DImode. Always refer to FPSCR_REG
2321 in PSImode.
2322
33f77355
DC
2323Fri Nov 24 22:37:41 2000 Denis Chertykov <denisc@overta.ru>
2324
2325 * config/avr/avr.c (out_tsthi,out_tstsi): Test simplification bug
2326 fixed.
2327 (machine_dependent_reorg): Wrong optimization based on
f6bbde28 2328 NOTICE_UPDATE_CC removed.
33f77355 2329
692dc9c6
R
2330Fri Nov 24 19:48:09 2000 J"orn Rennecke <amylaar@redhat.com>
2331
2332 * jump.c (delete_computation): Re-instate deletion of feeding insn.
2333 (delete_insn): Look for REG_LABEL notes.
2334 (redirect_tablejump): Delete feeding insns.
2335
c3410241
BS
23362000-11-24 Bernd Schmidt <bernds@redhat.co.uk>
2337
90d10fb9
BS
2338 * config/i386/i386.md (call_pop_0, call_pop_1, call_value_pop_0,
2339 call_value_pop_1): Make sure operand numbers are contiguous.
2340
7cf5c9e1
BS
2341 * fold-const.c (fold_range_test): Avoid crash if LHS or RHS is null.
2342
ff6534ad
BS
2343 * reload1.c (conflicts_with_override): New function.
2344 (emit_input_reload_insns): Use it to tighten test for validity
2345 of substituting into output of previous insn.
2346
176f9a7b
BS
2347 * haifa-sched.c (struct ready_list): New.
2348 (ready_lastpos, ready_add, ready_remove_first, ready_sort): New static
2349 functions.
2350 (schedule_insn): Replace args READY and N_READY with a pointer to a
2351 ready_list; return void. Use the new functions to access the ready
2352 list. All callers changed.
2353 (queue_to_ready, debug_ready_list): Likewise.
2354 (schedule_block): Initialize a ready_list structure. Use new
2355 functions to access it.
2356 (max_priority): Remove unused variable.
2357 (schedule_insn): Don't set it.
2358
52a84e42
BS
2359 * c-common.c (verify_tree): Don't recurse into CONSTRUCTORs.
2360
c3410241
BS
2361 * combine.c (cant_combine_insn_p): New function.
2362 (try_combine): Use it.
2363
235cfbc4
BS
2364 * Makefile.in (c-common.o): Depend on $(OBSTACK_H).
2365 * c-common.c (c-obstack.c): Include "obstack.h".
2366 (struct reverse_tree): Delete.
2367 (reverse_list, reverse_max_depth): Delete.
2368 (build_reverse_tree, common_ancestor, modify_ok): Delete functions.
2369 (struct tlist, struct tlist_cache): New.
2370 (tlist_obstack, tlist_firstobj, warned_ids, save_expr_cache): New.
2371 (add_tlist, merge_tlist, verify_tree, warning_candidate_p,
2372 warn_for_collisions, warn_for_collisions_1, new_tlist): New
2373 static functions.
2374 (verify_sequence_points): Rewritten.
2375 * fold-const.c (fold): Don't lose possibly important sequence
2376 points when removing one arm of TRUTH_ORIF_EXPRs or TRUTH_ANDIF_EXPRs.
2377
58ecb5e2
RS
23782000-11-24 Richard Sandiford <rsandifo@redhat.com>
2379
2380 * gcc/cse.c (cse_insn): Removed conversion of REG_EQUIV to REG_EQUAL
2381 when reversing a register-to-register copy. Reversal now disabled
2382 when the previous instruction has a REG_EQUIV.
2383
2f401cc8
NS
23842000-11-24 Nathan Sidwell <nathan@codesourcery.com>
2385
2386 * c-parse.in (unary_expr): Move VA_ARG from here ...
2387 (primary): ... to here.
2388
963a2a84
GS
23892000-11-23 Graham Stott <grahams@redhat.com>
2390
2391 * expr.c (store_constructor): If a field is non addressable and
2392 the target is a MEM use MEM_ALIAS_SET otherwise use get_alias_set.
2393
f9b697bf
BS
23942000-11-23 Bernd Schmidt <bernds@redhat.co.uk>
2395
2396 * flow.c (print_rtl_and_abort): New function.
2397 (verify_wide_reg, verify_local_live_at_start): Try to dump more
2398 information before aborting.
2399
69295d6d
AO
24002000-11-23 Alexandre Oliva <aoliva@redhat.com>
2401
2402 * emit-rtl.c (gen_lowpart_common): Use word 0 if register mode
2403 is narrower than requested mode.
2404 (gen_highpart): Abort if register mode is narrower than
2405 requested mode.
2406
99a9c946
GS
24072000-11-23 Graham Stott <grahams@redhat.com>
2408
2409 * cse.c (cse_insn): Initialise all regcost variables.
2410 Fix a typo add missing '='.
2411 Only compare costs if there is a replacement insn.
2412
422be3c3
AO
2413Thu Nov 23 04:33:33 2000 Alexandre Oliva <aoliva@redhat.com>
2414
2415 * final.c (output_addr_const) [LABEL_REF]: Simplify.
2416 [MINUS]: Enclose non-CONST_INTs in parentheses.
2417 [default]: Try OUTPUT_ADDR_CONST_EXTRA.
2418 * tm.texi (OUTPUT_ADDR_CONST_EXTRA): Document it.
2419 * varasm.c (decode_rtx_const) [CONST]: If it's not something
2420 PLUS or MINUS a CONST_INT, use the whole CONST with offset 0
2421 instead of abort()ing.
2422 * sh.c (output_pic_addr_const): Removed. Fixed all callers.
2423 * sh.h (OUTPUT_ADDR_CONST_EXTRA): New. Handle the UNSPECs
2424 formerly handled in output_pic_addr_const.
2425 * sh.md (sym_label2reg, symPLT_label2reg): Enclose UNSPEC
2426 operands of MINUS in CONSTs so that decode_rtx_const() will
2427 accept them.
2428
43c05634
AO
2429Thu Nov 23 04:10:30 2000 Alexandre Oliva <aoliva@redhat.com>
2430
2431 * config/sh/sh.md (mova_const): New pattern.
2432 (GOTaddr2picreg): Use it.
2433 * config/sh/sh.c (broken_move): Match it.
2434 (mova_p): Don't match it.
2435 (machine_dependent_reorg): Adjust it.
2436
4773afa4
AO
2437Thu Nov 23 02:09:09 2000 Alexandre Oliva <aoliva@redhat.com>
2438
2439 * config/sh/sh.h (FIRST_GENERAL_REG, LAST_GENERAL_REG): New.
2440 Moved most register-number #defines...
2441 * config/sh/sh.md (define_constants): ... here. Use macros to
2442 refer to registers and unspecs.
2443 * config/sh/sh.c: Likewise.
2444
9196ece5
R
2445Thu Nov 23 01:01:32 2000 J"orn Rennecke <amylaar@redhat.com>
2446
2447 * Makefile.in (HOST_CFLAGS): Add -DGENERATOR_FILE.
2448 (rtl.o, print-rtl.o, bitmap.o, obstack.o): Build with -DGENERATOR_FILE.
2449 (alloca.o, vfprintf.o, ggc-none.o, errors.o): Likewise.
2450 (splay-tree.o, hash.o): Likewise.
2451 GCONFIG_H: New.
2452 (rtl.o, print-rtl.o): Depend on $(GCONFIG_H) instead of $(CONFIG_H).
2453 (bitmap.o, obstack.o, vfprintf.o, ggc-none.o, errors.o): Likewise.
2454 (hashtab.o): Likewise.
2455 (gcov.o): Depend on $(CONFIG_H).
2456 * configure.in: #include insn-codes.h in tm.h.
2457
48a08b9c
NC
24582000-11-22 Nick Clifton <nickc@redhat.com>
2459
57f56af4
NC
2460 * config/arm/arm.c (arm_encode_call_attribute): Make 'newstr' a
2461 const char * to avoid a compile time warning.
2462
48a08b9c
NC
2463 * config/arm/arm.md (define_constants): Define symbolic names for
2464 the link register, last integer register and the fake CC register.
2465 Update patterns to use these symbolic names.
2466
4a5b68a2
NB
24672000-11-22 Neil Booth <neilb@earthling.net>
2468
2469 * cpplex.c (trigraph_ok): Ensure we don't warn twice.
2470 * cpplib.h (struct cpp_buffer): New member last_Wtrigraphs.
f6bbde28 2471
a165f034
RH
24722000-11-22 Richard Henderson <rth@redhat.com>
2473
2474 * haifa-sched.c (sched_analyze_1): Don't special-case calls
2475 for clobbering registers.
2476 (sched_analyze_2): Likewise.
2477 (sched_analyze): Zap reg_last_uses and reg_last_sets after calls.
2478
f6bbde28 24792000-11-22 Chris Demetriou <cgd@sibyte.com>
a165f034 2480 Neil Booth <neilb@earthling.net>
10ebf5fe 2481
a165f034 2482 * gcc.c (validate_switches): Validate multiple switches named
f6bbde28 2483 in '|' (or) expressions in specs.
a165f034
RH
2484 (handle_braces): If more than 1 alternative in a '|' spec
2485 matches, call do_spec1 just once.
10ebf5fe 2486
fb0b2546
MM
24872000-11-22 Michael Meissner <meissner@redhat.com>
2488
2489 * d30v.h (TARGET_SWITCHES): Add documentation strings.
2490 (TARGET_OPTIONS): Ditto.
2491 (OPTIMIZATION_OPTIONS): Temporarily turn off -frename-registers if
2492 -O3.
f6bbde28 2493
67d6f2fc
JL
2494Wed Nov 22 06:40:56 2000 Jeffrey A Law (law@cygnus.com)
2495
2496 * pa.c (hppa_encode_label): Account for addition of encoding
2497 character when allocating persistent space for the new label
2498 name.
2499
d1209685
ZW
25002000-11-22 Zack Weinberg <zack@wolery.stanford.edu>
2501
2502 * Makefile.in, config.gcc, configure.in: Expunge remaining
2503 traces of facility for running MD files through C preprocessor.
2504
c01a508e
JM
25052000-11-22 Joseph S. Myers <jsm28@cam.ac.uk>
2506
2507 * gcov.texi: Add magic comments for texi2pod.pl.
2508 * Makefile.in: Add rules to generate and install gcov.1.
2509 * gcov.1: New (generated) file.
2510
a125d855
RH
25112000-11-21 Richard Henderson <rth@redhat.com>
2512
2513 * regrename.c (scan_rtx_reg): Terminate the chain rather than
2514 abort on mark_read with NO_REGS.
2515
ed311407
MS
25162000-11-21 Mike Stump <mrs@wrs.com>
2517
2518 * fixinc/fixtests.c (TEST_FOR_FIX_PROC_HEAD): Fix to allow
2519 compilation with older compilers, such as /bin/cc on SunOS.
2520 * fixinc/fixfixes.c (FIX_PROC_HEAD): Ditto.
2521
cac16ef9
RH
25222000-11-21 Richard Henderson <rth@redhat.com>
2523
2524 * varasm.c (record_constant): Pad the constructed
2525 constant_descriptor appropriately.
2526
c25c12b8
R
2527Wed Nov 22 00:52:55 2000 J"orn Rennecke <amylaar@redhat.com>
2528
2529 * rtl.h (traverse_md_constants): Declare.
2530 (struct md_constant): Define.
2531 * Makefile.in (HOST_RTL): Add hashtab.o .
2532 (OBJS): Add hashtab.o .
2533 (hashtab.o): New rule.
2534 (rtl.o): Depends on HASHTAB_H.
2535 * rtl.c (hashtab.h): #include.
2536 (md_constants): New static variable.
2537 (def_hash, def_name_eq_p, read_constants): New static functions.
2538 (traverse_md_constants): New function.
2539 (read_name): Do constant expansion.
2540 (read_rtx): Recognize define_constants.
2541 * gencodes.c (print_md_constant): New function.
2542 (main): Emit #defines for all constant definitions encountered.
2543 * md.texi (Constant Definitions): New node.
2544 * gensupport.c (xcalloc): New function.
2545
f940c352
RH
25462000-11-21 Richard Henderson <rth@redhat.com>
2547
2548 * config/alpha/alpha.c (alpha_split_tfmode_frobsign): New.
2549 * config/alpha/alpha-protos.h: Declare it.
2550 * config/alpha/alpha.md (abstf_internal): Use it.
2551 (negtf_internal): Likewise.
2552 (andnotdi3): Unstar the name.
2553 (movtf_internal): Add o/G alternative.
2554
dfc55970
ZW
25552000-11-21 Zack Weinberg <zack@wolery.stanford.edu>
2556
2557 * stringpool.c (stringpool_statistics): Also report number and
2558 percentage of entries which are identifiers.
2559
d1cc928a
DN
25602000-11-21 Diego Novillo <dnovillo@redhat.com>
2561
2562 * gcse.c (hoist_expr_reaches_here_p): Do not mark expr_bb as
2563 visited before visiting it.
2564
70f24e49
NC
25652000-11-21 Nick Clifton <nickc@redhat.com>
2566
2567 * config/arm/arm.h: Accept TARGET_CPU_arm9tdmi,
2568 TARGET_CPU_strongarm110 and TARGET_SPU_strongarm1100.
2569
2570 * config.gcc: Accept --with-cpu=arm9 and --with-cpu=arm9tdmi.
f6bbde28 2571
3fe30ff6
RH
25722000-11-21 Richard Henderson <rth@redhat.com>
2573
2574 * c-common.c (c_unsafe_for_reeval): New function.
2575 (add_c_tree_codes): Register it.
2576 * c-common.h: Declare it.
2577 * tree.c (lang_unsafe_for_reeval): New hook.
2578 (unsafe_for_reeval): Call it.
2579 * tree.h: Declare it.
2580
3adbce3d
RH
25812000-11-21 Richard Henderson <rth@redhat.com>
2582
2583 * config/i386/i386.c (i386_simplify_dwarf_addr): Simplify @GOT
2584 references as well.
2585
0736a307
NB
25862000-11-21 Neil Booth <neilb@earthling.net>
2587
a165f034 2588 * do_includes: Revert to using cpp_read_file.
0736a307 2589
52e12ad0
BS
25902000-11-21 Bernd Schmidt <bernds@redhat.co.uk>
2591
847dde95
BS
2592 * loop.c (consec_sets_giv): If the reg we're examining is anything
2593 but UNKNOWN_INDUCT, do nothing.
2594 Reset the reg's type to UNKNOWN_INDUCT before returning.
2595
52e12ad0
BS
2596 Mostly from Vladimir Makarov (vmakarov@redhat.com)
2597 * ia64.md (attr itanium_class): Define insn types as described in
2598 Itanium docs.
2599 (all insn patterns): Use itanium_class, not type attributes.
2600 Occasionally split alternatives as necessary.
2601 (attr type): Compute from new attr itanium_class.
f6bbde28 2602
b3e2d1eb
KG
26032000-11-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2604
2605 * tradcpp.c (output_line_command): Mark system headers as such in
2606 `line' commands.
2607
0faf814f
JJ
26082000-11-21 Jakub Jelinek <jakub@redhat.com>
2609
2610 * configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Sparc has .file/.loc
2611 support in as as well.
2612 * configure: Regenerate.
2613
3aac38d7
RH
26142000-11-20 Richard Henderson <rth@redhat.com>
2615
2616 * c-lex.c (orig_filename): New variable.
2617 (init_c_lex): Set it. Move call to cpp_start_read ...
2618 (yyparse): ... here. New function.
2619 * c-parse.in (yyparse_1): Rename the parser entry point.
2620 * c-tree.h: Declare it.
2621
6b16805e
JJ
26222000-11-21 Jakub Jelinek <jakub@redhat.com>
2623
2624 * expr.c (do_compare_and_jump): If op0 was replaced by promoted
2625 integer constant, use type of op1 for comparison.
2626
18922061
SS
26272000-11-20 Stan Shebs <shebs@apple.com>
2628
2629 * config/rs6000/xm-darwin.h: New file, Darwin host definitions.
2630 * config/rs6000/x-darwin: New file, Darwin host fragment.
2631 * config.gcc (powerpc-*-darwin*): New host.
2632 * system.h (HAVE_DESIGNATED_INITIALIZERS): Allow this to be
2633 overridden by a config file.
2634
d63eefbf
NB
26352000-11-20 Neil Booth <neilb@earthling.net>
2636
2637 * cppmacro.c (paste_tokens): Rename from paste_payloads.
2638 Change token type after pasting spellings.
2639 (paste_all_tokens): Use it.
2640 * gcc.dg/cpp/paste2.c: Update test.
2641 * objc/execute/paste.m: New test.
2642
21bc13c9
RH
26432000-11-20 Richard Henderson <rth@redhat.com>
2644
2645 * dwarf.h (FMT_CODE): Adjust argument order; fix mapping to
2646 dwarf_subscr_data_formats bits.
2647 * dwarfout.c (simple_type_size_in_bits): Handle a type with
2648 no computed size as size zero.
2649 (field_byte_offset): Likewise.
2650 (subscript_data_attribute): Handle a range with no upper bound.
2651
250333d0
KG
26522000-11-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2653
2654 * gansidecl.h (const): Check __STDC__ before undef'ing `const'.
2655
1d7ff272
JM
26562000-11-20 Joseph S. Myers <jsm28@cam.ac.uk>
2657
2658 * c-typeck.c (build_conditional_expr): When merging type
2659 qualifiers for conditional expressions between a pointer and a
2660 pointer to a void type, merge the qualifiers on the target types
2661 rather than the pointer type. Remove obsolete conditioned out
2662 code.
2663
dd07b884
NB
26642000-11-20 Neil Booth <neilb@earthling.net>
2665
2666 * c-lang.c (lang_init_options): Update call to
2667 cpp_reader_init.
2668 * cppmain.c (main): Similarly.
2669 * fix-header.c (read_scan_file): Similarly.
2670 * cp/lex.c (lang_init_options): Similarly.
2671 * objc/objc-act.c (lang_init_options): Similarly.
2672 * cppexp.c (parse_number): Only warn for unextended C89.
2673 * cppinit.c (set_lang): New function.
2674 (cpp_reader_init): Take a LANG argument and pass it to set_lang.
2675 (COMMAND_LINE_OPTIONS): New option std=c++98.
2676 (cpp_handle_option): Use set_lang.
2677 * cpplex.c (_cpp_lex_token): Warn pedantically if not C99.
2678 * cppib.h (enum_c_lang): New enumeration. Update comments.
2679
8d50dfb8
WC
26802000-11-20 Will Cohen <wcohen@redhat.com>
2681
2682 * calls.c (expand_call): Clear target only when target is in
2683 hard register and current_function_check_memory_usage is set.
2684
bd675859
BS
26852000-11-20 Bernd Schmidt <bernds@redhat.co.uk>
2686
2687 * toplev.c (rest_of_compilation): Run optimize_mode_switching even
2688 if not optimizing.
2689 * sh.c (emit_sf_insn, emit_df_insn): Just call emit_insn.
2690
3df18884
RH
26912000-11-19 Richard Henderson <rth@redhat.com>
2692
52403abb
RH
2693 * crtstuff.c (force_to_data): Use array size 1 not 0.
2694
3df18884
RH
2695 * dwarf2out.c (simple_type_size_in_bits): Handle a type with
2696 no computed size as size zero.
2697 (field_byte_offset): Likewise.
2698
cfd1c7ea
JM
26992000-11-20 Joseph S. Myers <jsm28@cam.ac.uk>
2700
2701 * config.gcc: Fix another typo.
2702
a25f1211
RH
27032000-11-19 Richard Henderson <rth@redhat.com>
2704
2705 * c-decl.c (grokdeclarator): Support flexible array members.
2706 Use open-ended ranges for these and zero-length arrays.
2707 * c-typeck.c (push_init_level): Validate the context of
2708 initialization of a zero-length array.
2709 * tree.c (int_fits_type_p): Be prepared for missing bounds.
2710 * varasm.c (array_size_for_constructor): New.
2711 (output_constructor): Use it for arrays of unspecified length.
2712 * extend.texi (Zero Length): Mention C99 flexible array members.
2713 Document initialization in a top-level struct as valid.
2714
65fa2185
JM
27152000-11-19 Joseph S. Myers <jsm28@cam.ac.uk>
2716
9e8fc4b8
JM
2717 * config.gcc, invoke.texi: Fix errors in spelling of "deprecated".
2718
65fa2185
JM
2719 * alias.c (mems_in_disjoint_alias_sets_p): Do use alias sets in
2720 stdarg and varargs functions.
2721
2e59adac
ZW
27222000-11-19 Zack Weinberg <zack@wolery.stanford.edu>
2723
2724 * gcc.c (process_command): Define 'j' variable when
2725 MODIFY_TARGET_NAME is defined.
2726
856442b6
RH
27272000-11-19 Richard Henderson <rth@redhat.com>
2728
2729 * stor-layout.c (variable_size): Only put SAVE_EXPRs on pending_sizes.
2730
88c1e412
FS
27312000-11-19 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2732
2733 * rs6000/rs6000.c (rs6000_encode_section_info): Fix string length
2734 calculation and allocation.
2735
ce1cc601
KG
27362000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2737
2738 * builtins.c (c_getstr): Constify variable.
2739 * gmon-sol2.c (_mcleanup): Comment out #endif labels.
2740 * conflict.c (const_conflict_graph_arc): New typedef.
2741 (arc_hash, arc_eq): Avoid needlessly casting away const-ness.
2742 * cppmacro.c (builtin_macro): Likewise.
2743 * dwarf2out.c (output_comp_unit): Constify variable.
2744 * fix-header.c (v_fatal): Add ATTRIBUTE_PRINTF.
2745 * protoize.c (IS_SAME_PATH_CHAR): Use TOUPPER, not toupper.
2746 * ssa.c (ssa_rename_from_hash_function): Avoid needlessly casting
2747 away const-ness.
2748 * tradcpp.c (rescan, do_line, macroexpand, macarg): Use
f6bbde28 2749 ISALNUM/ISDIGIT/ISPRINT, not isalnum/isdigit/isprint.
ce1cc601
KG
2750 * varasm.c (const_str_htab_hash, const_str_htab_eq,
2751 compare_constant_1, record_constant_1): Constify.
2752
967e627a
RH
27532000-11-18 Richard Henderson <rth@redhat.com>
2754
2755 * c-decl.c (grokdeclarator): Special case the creation of an
2756 index for a zero-length array.
2757 * tree.c (build_index_type): Revert Oct 20 change.
2758
e9284adf
MM
27592000-11-18 Marek Michalkiewicz <marekm@linux.org.pl>
2760
2761 * config/avr/avr-protos.h (avr_output_addr_vec_elt): Prototype.
2762 * config/avr/avr.c (jump_tables_size): New variable.
2763 (function_prologue): Initialize it as 0.
2764 (function_epilogue): Add it to function_size.
2765 (avr_output_addr_vec_elt): New function. Count words in jump
2766 tables in jump_tables_size. Move code ...
2767 * config/avr/avr.h (ASM_OUTPUT_ADDR_VEC_ELT): ... from here.
2768 Call avr_output_addr_vec_elt instead.
2769 * config/avr/avr.md (tablejump): Remove disabled define_expand.
2770
67c72a63
MM
27712000-11-18 Mark Mitchell <mark@codesourcery.com>
2772
2773 * configure.in: Make --enable-new-gxx-abi the default.
2774 * configure: Likewise.
2775
0a8ad417
KG
27762000-11-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2777
2778 * Makefile.in (tradcpp.o, tradcif.o): Depend on tradcpp.h.
2779
2780 * tradcif.y: Include tradcpp.h. Constify. Make functions static.
2781 Move extern function declarations to tradcpp.h.
2782
2783 * tradcpp.c: Likewise.
2784
2785 * tradcpp.h: New file.
2786
77c4d6c0
JM
27872000-11-18 Joseph S. Myers <jsm28@cam.ac.uk>
2788
2789 * c-decl.c (check_for_loop_decls): New function.
2790 * c-parse.in (for_init_stmt): New.
2791 (select_or_iter_stmt): Use for_init_stmt.
2792 * c-tree.h (check_for_loop_decls): New declaration.
2793
4a58aab6
NB
27942000-11-18 Neil Booth <neilb@earthling.net>
2795
2796 * cppinit.c: Update comments.
2797 (cpp_reader_init): Make -imacro and -include use the standard
2798 #include "" search path.
2799 (do_includes): New function.
2800
c3e2d242
BE
28012000-11-18 Ben Elliston <bje@redhat.com>
2802
2803 * config/sh/crt1.asm (start_l): Move PC-relative move instruction
2804 out of a branch delay slot.
2805
48adb36e
RH
28062000-11-17 Richard Henderson <rth@redhat.com>
2807
2808 * config/alpha/elf.h (PREFERRED_DEBUGGING_TYPE): Set to DWARF2_DEBUG.
2809 (ASM_SPEC): Disable and enable .mdebug based on -gstabs.
2810 (ASM_FILE_START): Only write out ecoff .file directive if
2811 emitting mdebug debugging.
2812
9d147085
RH
28132000-11-17 Richard Henderson <rth@redhat.com>
2814
2815 * configure.in (HAVE_AS_DWARF2_DEBUG_LINE): New. Detect
2816 whether as accepts .file/.loc and produces dwarf2 line info.
2817 * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Default on if
2818 the assembler supports it.
2819 * config.in, configure: Regenerate.
2820
5b87e928
RH
28212000-11-17 Richard Henderson <rth@redhat.com>
2822
2823 * fixinc/mkfixinc.sh: Don't disable fixincludes for any linux*.
2824
95c8e04b
JW
28252000-11-17 Jim Wilson <wilson@redhat.com>
2826
f6bbde28 2827 * config/ia64/ia64.c (emit_insn_group_barriers, case CALL_INSN):
95c8e04b
JW
2828 Don't clear need_barrier is next_insn is a CALL_INSN, or has
2829 instruction type B or UNKNOWN.
2830
14fbab6d
NB
28312000-11-17 Neil Booth <neilb@earthling.net>
2832
a25f1211 2833 * cpperror.c (print_file_and_line): Don't display line number if 0.
14fbab6d 2834
a8a05998
ZW
28352000-11-17 Zack Weinberg <zack@wolery.stanford.edu>
2836
2837 * ggc.h: Delete ggc_add_string_root and ggc_mark_string. Add
2838 digit_vector and digit_string.
2839 * stringpool.c (digit_vector): New.
2840 (ggc_alloc_string): Use digit_string.
2841
2842 * stmt.c (digit_strings): Delete.
2843 (init_stmt): Do not initialize digit_strings.
2844 (expand_asm_operands): Use ggc.h's digit_string macro.
2845 * toplev.c (mark_file_stack): Delete.
2846 (compile_file): Don't call init_tree_codes.
2847 (main): No need to make the file stack a GC root.
2848 * tree.c (init_tree_codes): Delete.
2849 * tree.h (init_tree_codes): Delete.
2850
2851 * c-lex.c: Don't include ggc.h.
2852 (mark_splay_tree_node, mark_splay_tree): Delete.
2853 (init_c_lex): No need to ggc_strdup string constant. Don't add
2854 file_info_tree to GGC roots.
2855 (cb_enter_file, cb_rename_file): No need to ggc_strdup
2856 ip->nominal_fname.
2857
2858 * Makefile.in (c-lex.o): No longer depends on $(GGC_H).
2859
2860 * dbxout.c (dbxout_init),
2861 dwarf2out.c (dwarf2out_line),
2862 ggc-common.c (ggc_mark_rtx_children, ggc_mark_trees),
2863 varasm.c (mark_const_hash_entry, mark_pool_constant, init_varasm_once),
2864 xcoffout.c (xcoffout_source_file),
2865 i386.c (load_pic_register):
2866 Delete call(s) to ggc_add_string_root and/or ggc_mark_string.
2867
2868 * except.c (create_rethrow_ref),
2869 profile.c (init_edge_profiler),
2870 toplev.c (compile_file),
2871 varasm.c (named_section, assemble_static_space,
2872 assemble_trampoline_template, output_constant_def, force_const_mem),
2873 i386.c (load_pic_register),
2874 ia64.c (ia64_encode_section_info),
2875 rs6000.c (rs6000_emit_load_toc_table, create_TOC_reference,
2876 rs6000_emit_prologue, rs6000_emit_epilogue),
2877 rs6000.md (load_toc_aix_si, load_toc_aix_di):
2878 Change ggc_alloc_string (var, -1) to ggc_strdup (var).
2879
2880 * profile.c (output_func_start_profiler),
2881 tree.c (make_node),
2882 i386.c (load_pic_register): No need to ggc_strdup string constant.
2883
61ed06c3
HPN
28842000-11-17 Hans-Peter Nilsson <hp@axis.com>
2885
2886 * Makefile.in (config.status): Depend on config.gcc.
2887 * configure.in <for machine in $build $host $target>: Move
2888 contents of loop into config.gcc, removing autoconf quoting.
2889 Fix changequote bug for alpha*-*-vxworks*.
2890 * configure: Regenerate.
2891 * config.gcc: New.
2892
520a57c8
ZW
28932000-11-16 Zack Weinberg <zack@wolery.stanford.edu>
2894
2895 * c-parse.in (if_prefix): Find the filename and line number at
2896 $-2 and $-1 respectively.
2897 * diagnostic.c (error_recursion): Add missing newline, use
2898 fputs, translate string.
2899
29002000-11-16 Zack Weinberg <zack@wolery.stanford.edu>
2901
2902 * stringpool.c: New file.
2903 * ggc-common.c (ggc_mark_string_ptr, ggc_add_string_root): Delete.
2904 (ggc_alloc_string): Now in stringpool.o.
2905 * ggc-page.c, ggc-simple.c: Do not define or allocate empty_string.
2906 * ggc.h: Delete prototype of ggc_add_string_root. #define
2907 ggc_add_string_root and ggc_mark_string to nothing. Prototype
2908 init_stringpool and stringpool_statistics.
2909 (ggc_alloc_string): Returns a const char *.
2910 * tree.c (hash_table, do_identifier_warnings): Delete.
2911 (init_obstacks): Don't initialize the identifier hash table.
2912 (get_identifier, maybe_get_identifier, start_identifier_warnings,
2913 set_identifier_size): Now in stringpool.c.
2914 * tree.h (struct tree_string): Constify pointer field.
2915 (approx_sqrt): Prototype.
2916
2917 * Makefile.in (stringpool.o): Add rule, mention in OBJS.
2918
2919 * toplev.c (approx_sqrt): New function.
2920 (compile_file): Call stringpool_statistics if mem_report is on.
2921 (main): Call init_stringpool.
2922
2923 * builtins.c (c_strlen), c-decl.c (finish_decl), c-lex.c
2924 (process_directive), c-typeck.c (constructor_asmspec, struct
2925 initializer_stack, start_init), except.c (create_rethrow_ref),
2926 stmt.c (digit_strings), toplev.c (decode_f_option), tree.c
2927 (built_in_filename), varasm,c (in_named_name,
2928 assemble_static_space, struct constant_descriptor, struct
2929 deferred_string, struct pool_constant, force_const_mem),
2930 i386.c (pic_label_name, global_offset_table_name), rs6000.c
2931 (rs6000_emit_prologue, rs6000_emit_epilogue) : Constify a char *.
2932
2933 * c-common.c (combine_strings): Combine strings in scratch
2934 buffer, then pass to build_string.
2935 * optabs.c (init_libfuncs), profile.c (init_edge_profiler,
2936 output_func_start_profiler), stmt.c (init_stmt), alpha.c
2937 (alpha_need_linkage), arm.c (arm_encode_call_attribute),
2938 i386.c (load_pic_register), ia64.c (ia64_encode_section_info),
2939 rs6000.c (rs6000_encode_section_info): Create string in
2940 scratch buffer, then pass to ggc_alloc_string.
2941
2942 * stmt.c (expand_asm_operands): If we must adjust the
2943 constraint strings, do so by creating a new one, not by
2944 modifying the old one in place. Constify some char *s.
2945 * config/pa/pa.c (hppa_encode_label): Drop unnecessary second
2946 argument. Create string in scratch buffer, then pass to
2947 ggc_alloc_string.
2948 * config/pa/pa-protos.h: Update prototype.
2949 * config/pa/elf.h, config/pa/pa.h, config/pa/som.h:
2950 hppa_encode_label takes only one argument.
2951
dd3b81b4
KG
29522000-11-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2953
2954 * mcore.c (mcore_expand_prolog): Call xmalloc/xrealloc, not
2955 malloc/realloc.
2956
2957 * cpplib.c (glue_header_name): Likewise.
2958
2959 * fixincl.c (run_compiles, start_fixer): Likewise.
2960
2961 * fixlib.c (load_file_data): Likewise.
2962
2963 * mkdeps.c (munge): Likewise.
2964
5074c1fe
HPN
29652000-11-17 Hans-Peter Nilsson <hp@axis.com>
2966
2967 * defaults.h [EH_FRAME_SECTION_ASM_OP] (EH_FRAME_SECTION): Remove
2968 trailing ';'. Fix formatting.
2969
74fe26b2
JW
29702000-11-16 Jim Wilson <wilson@redhat.com>
2971
35d9f39d
JW
2972 * config/ia64/ia64.h (MASK_INLINE_DIV_LAT, MASK_INLINE_DIV_THR):
2973 Shift masks left by one to avoid conflict.
2974
74fe26b2
JW
2975 * config/ia64/ia64.c (ia64_encode_section_info): Disallow decls with
2976 DECL_EXTERNAL set.
2977
68dfd979
NC
29782000-11-16 Nick Clifton <nickc@redhat.com>
2979
2980 * config/arm/arm.c (output_arm_prologue): Note nested functions.
2981 (arm_expand_prologue): For nested functions preserve the
2982 static chain register during stack frame creation.
2983
2984 * config/arm/arm.h (STATIC_CHAIN_REGNUM): Change to 12.
2985 (ARM_INITIAL_FRAME_ELIMINATION_OFFSET): For a nested function
2986 with a stack frame there is a 4 byte gap between the arg
2987 pointer and the hard frame pointer (used to preserve the
2988 static chain register during stack frame creation).
2989
3ab9a08f
DD
29902000-11-16 DJ Delorie <dj@redhat.com>
2991
2992 * rtl.c (read_rtx): Provide suitable names for unnamed
2993 define_insn and define_insn_and_split patterns, based on file
2994 and line numbers.
2995
fe6c2db9
NB
29962000-11-15 Neil Booth <neilb@earthling.net>
2997
a8a05998
ZW
2998 * cpplib.c (start_directive, end_directive): New functions.
2999 (_cpp_handle_directive, run_directive): Use them.
3000 (_cpp_handle_directive): Don't -Wtraditional on indented
3001 null directives.
3002 (_cpp_push_buffer): Don't re-clear was_skipping.
3003 * cpplib.h (struct cpp_reader): New member la_saved.
3004 * cppmacro.c (cpp_get_token): Don't interpret _Pragma in
3005 directives.
fe6c2db9 3006
a8a05998
ZW
3007 gcc.dg/cpp/_Pragma1.c: Update.
3008 gcc.dg/cpp/_Pragma2.c: New test.
fe6c2db9 3009
62136084
MM
30102000-11-15 Mark Mitchell <mark@codesourcery.com>
3011
3012 * toplev.c (wrapup_global_declarations): Don't write out
3013 artificial static variables that aren't needed.
3014
099dde21
BS
30152000-11-15 Bernd Schmidt <bernds@redhat.co.uk>
3016
3017 * ia64.c (struct group): New structure.
3018 (last_group): New static array.
3019 (group_idx): New static variable.
3020 (emit_group_barrier_after, errata_find_address_regs, errata_emit_nops):
3021 New static functions.
3022 (emit_insn_group_barriers): Initialize and keep track of group_idx
3023 and last_group.
3024 Call errata_emit_nops if TARGET_B_STEP or TARGET_A_STEP.
3025 Replace all calls to emit_insn_after that emit a group barrier to use
3026 emit_group_barrier_after.
3027 * ia64.h (MASK_B_STEP): New.
3028 (other MASK_XXX macros): Renumbered.
3029 (TARGET_B_STEP): New.
3030 (TARGET_SWITCHES): Add -mb-step.
3031
4e7b85ed
FF
30322000-11-15 Fred Fish <fnf@be.com>
3033
3034 * fixinc/mkfixinc.sh (fixincludes): Add *-*-beos* to list of
3035 machines for which fixincludes is not needed.
3036 * config/i386/x-beos (STMP_FIXPROTO): Don't run fixproto.
3037
ee3400e8
JM
30382000-11-15 Jason Merrill <jason@redhat.com>
3039
3040 * diagnostic.c (finish_abort): New fn.
3041 (fancy_abort, error_recursion): Use it.
3042 * toplev.c (crash_signal): Likewise.
3043 * diagnostic.h: Declare it.
3044
12e1243e
AH
30452000-11-13 Andrew Haley <aph@redhat.com>
3046
3047 * tree.c (build_type_no_quals): New function.
3048 * tree.h (build_type_no_quals): Declare.
3049 * c-common.c (c_get_alias_set): When considering type
3050 compatibility for pointer types, ignore cv-qualifiers anywhere in
3051 a pointer chain.
3052
695e4773
GS
30532000-11-15 Graham Stott <grahams@redhat.com>
3054
3055 * regrename.c (scan_rtx_rtx): Skip to the next chain on
3056 encountering a terminated chain.
3057
5a7c1037
MM
30582000-11-14 Mark Mitchell <mark@codesourcery.com>
3059
3060 * configure.in: Move check for V3 above check for C++ header-file
3061 directory.
3062 * configure: Regenerated.
a8a05998 3063
568c5140
DD
30642000-11-14 DJ Delorie <dj@redhat.com>
3065
3066 * config/v850/v850.c: Remove obstacks.
3067
1268b05f
MM
3068Tue Nov 14 21:54:31 2000 Marek Michalkiewicz <marekm@linux.org.pl> & Denis Chertykov <denisc@overta.ru>
3069
3070 * config/avr/avr.c (avr_case_values_threshold): New.
3071 (avr_override_options): Set it depending on options, make it large
3072 when not optimizing to work around "unable to generate reloads".
3073
3074 * config/avr/avr.h (TARGET_SWITCHES): Add -mno-tablejump option.
3075 (EXTRA_SECTION_FUNCTIONS): Make the .progmem.gcc_sw_table section
3076 executable if not AVR_MEGA. Make sure jump tables are word-aligned.
3077 (JUMP_TABLES_IN_TEXT_SECTION): Define as 0, not 1.
3078 (ASM_OUTPUT_ADDR_VEC_ELT): Optimize, use "rjmp" if not AVR_MEGA.
3079 (avr_case_values_threshold): Declare as extern int.
3080 (CASE_VALUES_THRESHOLD): Define as avr_case_values_threshold.
3081
3082 * config/avr/avr.md (tablejump): Removed.
3083 (*tablejump_rjmp): New for jump tables made from "rjmp" instructions.
3084 (*tablejump_lib, *tablejump_enh, *tablejump): Change to expect the
3085 index in the table, not multiplied by 2.
3086 (casesi): Change to match the above insns. Always enable.
3087
3088 * config/avr/libgcc.S (__tablejump__): Rename to __tablejump2__.
3089 Change to expect the word address of the table, multiply it by 2
3090 here and not in the caller. Change "adiw" to faster "inc".
3091
7f2f1a66
NB
30922000-11-14 Neil Booth <neilb@earthling.net>
3093
3094 * cppexp.c (parse_defined): Call cpp_get_token not
3095 _cpp_get_token.
3096 (lex): Similarly.
3097 * cpplex.c (cpp_output_line): Similarly.
3098 * cpplib.c (glue_header_name, do_line, do_ident,
3099 parse_answer, parse_assertion): Similarly.
3100 (_cpp_handle_diretive): Don't save to lookaheads
3101 when processing directives.
3102 * cppmacro.c (parse_arg, expand_arg): Call cpp_get_token not
3103 _cpp_get_token.
3104 (funlike_invocation_p): Don't save to lookaheads
3105 when pre-expanding arguments.
3106 (_cpp_get_token): Delete.
3107 (cpp_get_token): Merge contents of _cpp_get_token.
3108
f36d6244
JJ
31092000-11-14 Jakub Jelinek <jakub@redhat.com>
3110
3111 * builtins.c (expand_builtin_setjmp): Set
3112 current_function_calls_setjmp.
3113 (expand_builtin_longjmp): Set current_function_calls_longjmp.
3114
3115 * config/sparc/sparc.md (builtin_setjmp_setup): New expand.
3116 (do_builtin_setjmp_setup): New insn.
3117
3401c26b
RK
3118Tue Nov 14 12:34:56 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3119
3120 * tree.c (get_unwidened): Use host_integerp and tree_low_cst.
3121 (int_fits_type_p): For variable bounds, call force_fit_type.
3122
bd7cf17e
JJ
31232000-11-14 Jakub Jelinek <jakub@redhat.com>
3124
3125 * varasm.c (struct deferred_string): New structure.
3126 (const_str_htab): New variable.
3127 (STRHASH): New macro.
3128 (mark_const_str_htab_1, mark_const_str_htab, const_str_htab_hash,
3129 constr_str_htab_eq, const_str_htab_del): New functions.
3130 (output_constant_def): Add DEFER argument, defer string
3131 constants until mark_constant_pool time if requested.
3132 (mark_constant_pool): Walk the insn chain even if const_str_htab is
3133 not empty.
3134 (mark_constants): If a SYMBOL_REF for deferred string is found,
3135 output it and remove from hash table.
3136 (output_addressed_constants): Set DEFER to 0 in call to
3137 output_constant_def.
3138 * rtl.h (STRING_POOL_ADDRESS_P): Define.
3139 (output_constant_def): Adjust prototype.
3140 * expr.c (expand_expr): Set DEFER to 1 in call to output_constant_def.
3141
10e927ef
CC
31422000-11-14 Chandrakala Chavva <cchavva@redhat.com>
3143
3144 * optabs.c (expand_complex_ab):: Use overflow-trapping optabs for
3145 signed types if flag_trapv.
3146
ef90743a
ZW
31472000-11-14 Zack Weinberg <zack@wolery.stanford.edu>
3148
3149 * tradcpp.c, tradcif.y: Update FSF mailing address, delete
3150 reference to GPLv1.
3151
fe8ca71f
JM
31522000-11-14 Joseph S. Myers <jsm28@cam.ac.uk>
3153
3154 * c-common.h (CTI_C_SIZE_TYPE): Update comment.
3155
94b01be3
JJ
31562000-11-14 Jakub Jelinek <jakub@redhat.com>
3157
3158 * varasm.c (struct varasm_status): Change x_const_rtx_sym_hash_table
3159 to array of pool_constnat pointers.
3160 (struct pool_constant): Add next_sym and label members.
3161 (struct pool_sym): Remove.
3162 (init_varasm_status): Change pool_sym into pool_constant.
3163 (mark_pool_constant): Mark pc->label string as well.
3164 (mark_pool_sym_hash_table): Remove.
3165 (mark_varasm_status): Remove it from caller as well.
3166 (free_varasm_status): Don't free pool_sym structures.
3167 (force_const_mem): Don't allocate pool_sym structure, instead
3168 fill pool->label and chain it into rtx_sym hash table.
3169 (find_pool_constant, mark_constant_pool): Use pool_constant instead
3170 of pool_sym.
3171
716120a7
JJ
31722000-11-14 Jakub Jelinek <jakub@redhat.com>
3173
3174 * reload1.c (emit_input_reload_insns): Honour forcing of constants
3175 into memory by PREFERRED_RELOAD_CLASS NO_REGS.
3176
f8032688
MM
31772000-11-14 Michael Matz <matzmich@cs.tu-berlin.de>
3178
3179 * dominance.c: New file.
3180 * Makefile.in (OBJS): Add dominance.o.
3181
3182 * flow.c (compute_flow_dominators): Remove.
3183 (compute_immediate_dominators): Remove.
3184 (compute_immediate_postdominators): Remove.
3185 * basic-block.h: Remove their prototypes.
3186 (calculate_dominance_info): Add prototype.
3187
3188 * dce.c (eliminate_dead_code): Change calls to above functions.
3189 Don't compute dominators but only immediate dominators.
3190 * flow.c (flow_loops_find): Change callers.
3191 * gcse.c (compute_code_hoist_data): Likewise.
3192 * haifa-sched.c (schedule_insns): Likewise.
3193 * ifcvt.c (if_convert): Likewise.
3194 * ssa.c (convert_to_ssa): Likewise, and only compute immediate
3195 dominators.
3196
0caa3c8e
RH
31972000-11-14 Richard Henderson <rth@redhat.com>
3198
6f122550
RH
3199 * stmt.c (warn_if_unused_value): Don't warn if the expression
3200 has side effects.
3201
0caa3c8e
RH
3202 * c-typeck.c (c_sizeof): Fold result to c_size_type_node.
3203 (c_sizeof_nowarn, c_alignof, c_alignof_expr): Likewise.
3204
a78cc542
FS
32052000-11-13 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3206
3207 * loop.c (basic_induction_var): Revert accidental checkin.
3208
d9068c61
HPN
32092000-11-13 Hans-Peter Nilsson <hp@axis.com>
3210
3211 * c-lex.c (cb_leave_file): Harmonize conditions and order of
3212 statements to those of process_directive for (action == act_pop).
3213
3214 * collect2.c (main): Pass on -B options from COLLECT_GCC_OPTIONS.
3215
3216 * local-alloc.c (equiv_init_movable_p): References to CC0 are not
3217 movable.
3218
ebf02523
JM
32192000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
3220
3221 * c-parse.in (stmts_and_decls): Deprecate use of label at end of
3222 compound statement.
3223
29b10746
NB
32242000-11-13 Neil Booth <neilb@earthling.net>
3225
ee3400e8
JM
3226 * cpplex.c (_cpp_lex_token): CPP_COMMENT and true CPP_EOF
3227 cases return without MI check.
3228 * cpplib.c (do_diagnostic): Take boolean of whether to
3229 print the directive name.
3230 (do_error, do_warning): Update.
3231 (do_pragma_dependency): Use it.
3232 * cpplib.h (VARARGS_FIRST): Delete.
3233 (struct cpp_token): Delete integer.
3234 * cppmacro.c (enter_macro_context): Move disabled check
3235 to _cpp_get_token.
3236 (_cpp_get_token): Simplify into a single loop.
29b10746 3237
8105825d
RE
32382000-11-13 Richard Earnshaw <rearnsha@arm.com>
3239
3240 * configure.in: Use 'test -f' not '[ -e'.
3241 * configure: Regenerated.
3242
481a6b4a
DD
32432000-11-13 DJ Delorie <dj@redhat.com>
3244
3245 * config/mn10300/mn10300.md (store_movm): Note which registers are
3246 really used or clobbered.
3247
b7438415
JM
32482000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
3249
3250 * c-parse.in (ends_in_label): Remove from %union and %type.
3251 (decls, stmts, lineno_stmt_or_labels, xstmts,
3252 lineno_stmt_or_label, stmt_or_label): Remove.
3253 (stmts_and_decls, lineno_stmt_decl_or_labels_ending_stmt,
3254 lineno_stmt_decl_or_labels_ending_decl,
3255 lineno_stmt_decl_or_labels_ending_label,
3256 lineno_stmt_decl_or_labels_ending_error,
3257 lineno_stmt_decl_or_labels, compstmt_contents_nonempty,
3258 lineno_stmt, lineno_label): New.
3259 (compstmt_nostart): Use compstmt_contents_nonempty.
3260
19552aa5
JM
32612000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
3262
3263 * c-common.c (boolean_increment): New function.
3264 * c-common.h (enum c_tree_index): Add CTI_C_BOOL_TYPE,
3265 CTI_C_BOOL_TRUE and CTI_C_BOOL_FALSE.
3266 (c_bool_type_node, c_bool_true_node, c_bool_false_node): Define.
3267 (boolean_increment): Declare.
3268 * c-convert.c (convert): Allow for BOOLEAN_TYPE.
3269 * c-decl.c (init_decl_processing): Create boolean nodes.
3270 (finish_struct): Allow for _Bool bitfields.
3271 * c-parse.in (reswords): Add _Bool.
3272 (rid_to_yy): Allow for RID_BOOL.
3273 * c-typeck.c (default_conversion): Make booleans promote to int.
3274 (convert_arguments, build_unary_op, build_modify_expr,
3275 convert_for_assignment): Allow for booleans.
3276 * ginclude/stdbool.h: Make conforming to C99.
3277
444ca59f
JM
32782000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
3279
3280 * c-parse.in (c99_block_start, c99_block_end,
3281 c99_block_lineno_labeled_stmt): New.
3282 (simple_if, do_stmt_start): Use c99_block_lineno_labeled_stmt.
3283 (stmt): Split off selection and iteration statements into...
3284 (select_or_iter_stmt): New. Use c99_block_lineno_labeled_stmt.
3285
f2ecb02d
JM
32862000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
3287
3288 * invoke.texi (-Wtrigraphs, -fdump-translation-unit, -save-temps,
3289 -time): Update.
3290
b082bfdb
RE
32912000-11-13 Richard Earnshaw <rearnsha@arm.com>
3292
3293 * arm.md (mulsidi3adddi, umulsidi3adddi): Revert previous change.
3294 Rewrite to avoid use of match_dup. Don't try to tie registers that
3295 are not in the same mode.
3296
b9265ec1
JM
32972000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
3298
3299 * invoke.texi: Update lists of languages and suffixes supported.
3300
cc1e60ea
JM
33012000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
3302
3303 * configure.in: Take toplevel configure arguments from the
3304 environment to create configargs.h and substitute
3305 gcc_config_arguments, taking account of any existing configargs.h
3306 if reconfiguring.
3307 * configure: Regenerate.
3308 * gccbug.in: Include toplevel configure arguments in gccbug.
3309
37357796
RE
33102000-11-13 Richard Earnshaw <rearnsha@arm.com>
3311
3312 * varasm.c (struct constant_descriptor): Put CONTENTS inside a
3313 union to make it well-aligned. Update all uses.
3314
26d4fec7
JM
33152000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
3316
3317 * c-parse.in (initelt): Give appropriate pedantic warnings,
3318 depending on flag_isoc99, for non-ISO syntax and for C99 syntax
3319 outside C99 mode.
3320 (designator): If pedantic, pedwarn for a designator specifying a
3321 range of elements.
3322 * c-typeck.c (set_init_index, set_init_label): Don't pedwarn for
3323 these cases.
3324 * extend.texi: Document the C99 syntax as the preferred syntax,
3325 and the pre-2.5 syntax as obsolete. Mention use of designator
3326 lists for nested subobjects.
3327
88f3c477
JM
33282000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
3329
3330 * diagnostic.c (vbuild_message_string, output_do_printf, vnotice):
3331 Add ATTRIBUTE_PRINTF.
3332 * tradcpp.c (v_message, warning, error, fatal, error_with_line):
3333 Add ATTRIBUTE_PRINTF*.
3334
db5fbfb4
MM
33352000-11-12 Mark Mitchell <mark@codesourcery.com>
3336
3337 * function.c (assign_parms): When calling put_var_into_stack, make
3338 sure that there are no hidden pending sequences.
3339
c7b6c6cd
KG
33402000-11-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3341
3342 * builtins.c (expand_builtin): Handle BUILT_IN_INDEX and
3343 BUILT_IN_RINDEX. Add missing checks for BUILT_IN_STRCHR and
3344 BUILT_IN_STRRCHR.
3345
3346 * builtins.def (BUILT_IN_INDEX, BUILT_IN_RINDEX): New entries.
3347
3348 * c-common.c (c_common_nodes_and_builtins): Declare index and
3349 rindex when nonansi builtins are allowed.
3350
3351 * extend.texi (index, rindex): Document new builtins.
3352
2f86842d
MM
33532000-11-12 Mark Mitchell <mark@codesourcery.com>
3354
34f6fbdb
MM
3355 * configure.in: Turn on libstdc++ V3 by default.
3356 * configure: Regenerated.
a8a05998 3357
2f86842d
MM
3358 * fixinc/mkfixinc.sh: Use the ordinary fixincludes on Solaris.
3359
0c0ba09c
JJ
33602000-11-12 Jakub Jelinek <jakub@redhat.com>
3361
3362 * reload1.c (set_label_offsets): Go inside of PARALLELs.
3363
84a0e7b8
JM
33642000-11-12 Joseph S. Myers <jsm28@cam.ac.uk>
3365
3366 * invoke.texi: Clean up option summary.
3367
4816b8e4
NC
33682000-11-12 Nick Clifton <nickc@redhat.com>
3369
3370 * config/mcore/mcore.c: Fix comment formating, and adjust sequence
3371 of #include headers.
3372
ee7692d2 33732000-11-12 Marc Espie <espie@openbsd.org>
a8a05998 3374
ee7692d2
ME
3375 * configure.in: Fix filds test.
3376 * configure: Regen.
3377
f8c4f860
MM
33782000-11-12 Mark Mitchell <mark@codesourcery.com>
3379
3380 * jump.c (delete_computation): Don't assume that just becuase an
3381 instruction sets a register, that register is dead.
3382
b528a07e
NB
33832000-11-12 Neil Booth <neilb@earthling.net>
3384
a8a05998
ZW
3385 * cppexp.c: Don't worry about pfile->skipping.
3386 * cpplib.c (struct if_stack): Make was_skipping unsigned char.
3387 (cpp_handle_directive): Save pfile->skipping in struct cpp_buffer
3388 for handled directives.
3389 (skip_rest_of_line): Use _cpp_lex_token after popping contexts
3390 and releasing lookaheads.
3391 (do_ifdef, do_ifndef, do_if): Use buffer->was_skipping.
3392 (do_else, do_elif, push_conditional): Update logic.
3393 (do_endif): Set buffer->was_skipping rather than pfile->skipping.
3394 (unwind_if_stack): Inline into cpp_pop_buffer.
3395 (cpp_push_buffer): Clear ifs->was_skipping for cpp_handle_directive.
3396 * cpplex.c (_cpp_lex_token): Clear skipping on EOF. Handle
3397 multiple-include optimisation.
3398 * cpplib.h (struct cpp_buffer): New member was_skipping.
3399 * cppmacro.c (_cpp_get_token): Loop whilst pfile->skipping. This
3400 works because skipping == 0 in directives.
3401 (_cpp_release_lookahead): Renamed from release_lookahead.
3402 (cpp_get_token): No need to check skipping as _cpp_get_token does
3403 this for us. No need to handle MI optimisation.
b528a07e 3404
995c461c
MM
3405Sat Nov 11 21:14:02 2000 Mark P Mitchell <mark@codesourcery.com>
3406
3407 * fixinc/inclhack.def (sunos_matherr_decl): Bypass matherr
3408 declarations that use `__MATH_EXCEPTION' in their prototypes, too.
3409 * fixinc/fixincl.x: Regenerated.
a8a05998 3410
56a77e1e
BK
34112000-11-11 Bruce Korb <bkorb@gnu.org>
3412
3413 * fixinc/inclhack.def (avoid_bool_type): avoid commenting out #endif
3414 (avoid_wchar_t_type): ditto
3415 * fixinc/fixinc.irix: obsoleted
3416
72aaffbd
ZW
34172000-11-11 Zack Weinberg <zack@wolery.stanford.edu>
3418
3419 * configure.in: Don't add $outputs to all_lang_makefiles. Add
3420 $srcdir/$s/Makefile.in if it exists.
3421 * configure: Regenerate.
3422
bbdd639d
MM
3423Sat Nov 11 18:41:20 2000 Mark P Mitchell <mark@codesourcery.com>
3424
3425 * fixinc/mkfixinc.sh: Use the ordinary fixincludes on IRIX.
3426
d96a6d1a
JM
34272000-11-11 Jason Merrill <jason@redhat.com>
3428
a8a05998 3429 * function.c (assign_parms): If TREE_ADDRESSABLE is set, try to
d96a6d1a
JM
3430 give the parm a register and then call put_var_into_stack.
3431 * stmt.c (expand_decl): Likewise.
3432
8ee322c9
JM
34332000-11-11 Joseph S. Myers <jsm28@cam.ac.uk>
3434
3435 * gcc.texi: Adjust wording.
3436
8b4c8a86
MM
34372000-11-11 Mark Mitchell <mark@codesourcery.com>
3438
3439 * fixinc/inclhack.def (avoid_wchar_t_type): New fix.
3440 * fininc/fixincl.x: Regenerated.
3441
639726ba
JM
34422000-11-11 Joseph S. Myers <jsm28@cam.ac.uk>
3443
3444 * invoke.texi: Correct spelling of -foptimize-register-move.
3445
4c2b647d
NB
34462000-11-11 Neil Booth <neilb@earthling.net>
3447
3448 Remove CPP_PLACEMARKERs.
3449
3450 * cppexp.c (lex): Don't handle CPP_PLACEMARKER.
3451 * cpplex.c (_cpp_lex_token): Rename skip_newlines to next_bol
3452 * cpplib.c (skip_rest_of_line, check_eol, cpp_push_buffer):
a8a05998 3453 Similarly.
4c2b647d
NB
3454 * cpplib.h: Remove CPP_PLACEMARKER.
3455 (struct lexer_state): Rename skip_newlines to next_bol.
3456 * cppmacro.c (stringify_arg): Don't handle CPP_PLACEMARKER.
3457 Simplify prev_white handling as a result.
3458 (paste_all_tokens): Don't worry about CPP_PLACEMARKERs.
3459 (parse_arg): Empty arguments are now empty, not CPP_PLACEMARKERs.
3460 (parse_args): Similarly. Update argument count tests.
3461 (enter_macro_context): Return 2 to indicate an empty macro.
3462 (replace_args): Don't bother pre-expanding an empty argument.
3463 Handle placemarkers and ## extension during pre-expansion.
3464 (cpp_get_token): Handle empty macro expansions. Don't worry
3465 about CPP_PLACEMARKERs.
3466 (_cpp_create_definition): Empty macros are now empty.
3467 (cpp_macro_defintion): Don't special case empty macros.
3468 * scan-decls.c: Don't bother with CPP_PLACEMARKERs.
3469 * c-lex.c: Similarly.
3470
c1030c7c
JM
34712000-11-11 Joseph S. Myers <jsm28@cam.ac.uk>
3472
3473 * gcc.texi, invoke.texi: Add new section discussing language
3474 standards; link to it where appropriate; refer to ISO C instead of
3475 ANSI C.
3476
93a77848
AO
34772000-11-11 Alexandre Oliva <aoliva@redhat.com>
3478
3650b695
AO
3479 * builtins.c (std_expand_builtin_va_start): Take PARM_BOUNDARY
3480 into account.
3481
93a77848
AO
3482 * config/sh/sh.h (MODES_TIEABLE_P): Don't tie SFmode to other FP
3483 modes.
3484
9a5a13c9
JM
34852000-11-10 Joseph S. Myers <jsm28@cam.ac.uk>
3486
3487 * gcc.texi, gcov.texi: Update dates and version numbers.
3488
1e608388
ZW
34892000-11-10 Zack Weinberg <zack@wolery.stanford.edu>
3490
3491 * configure.in: Remove AC_PROG_LEX and AC_PROG_YACC. Look for
3492 flex and bison, specifically, first in a unified build and
3493 then installed on the system.
3494 * Makefile.in: Set BISON to @BISON@, FLEX to @FLEX@. Rename
3495 LEXFLAGS to FLEXFLAGS. Adjust ORDINARY_FLAGS_TO_PASS to
3496 match.
3497
3498 (collect2.o, gcc.o, prefix.o, toplev.o, alloca.o, intl.o,
3499 cppdefault.o): Remove pointless sed munging of source file
3500 name.
3501
9532e31f
BS
35022000-11-10 Bernd Schmidt <bernds@redhat.co.uk>
3503
3504 * reload.c (find_reloads_address_1, case POST_MODIFY): Use RELOAD_OTHER
3505 for address reloads. Push replacements for REG_INC notes.
3506 (regno_clobbered_p): New arg SETS. Examine SETs if it's nonzero. All
3507 callers changed.
3508 * reload1.c (choose_reload_regs): Registers set in the insn can't be
3509 used for RELOAD_OTHER reloads.
3510
721de836
MM
35112000-11-10 Mark Mitchell <mark@codesourcery.com>
3512
3513 * c-dump.h: New file.
3514
4e135bdd
KG
35152000-11-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3516
3517 * alpha.c (check_float_value): Use memcpy, not bcopy.
3518 * arm.c (output_move_double): Likewise.
3519 * arm.md: Likewise.
3520 * m88k.c (legitimize_operand): Likewise.
3521 * m88k.h (ORDER_REGS_FOR_LOCAL_ALLOC): Likewise.
3522 * m88k.md: Likewise.
3523 * mips.c (override_options): Likewise.
3524 * mips.md: Likewise.
3525 * romp.c (output_fpops): Likewise.
3526 * rs6000.c (rs6000_override_options): Likewise.
3527 * sh.md: Likewise.
3528 * vax.c (check_float_value): Likewise.
3529
3530 * emit-rtl.c (copy_rtx_if_shared, init_emit_once): Likewise.
3531 * expmed.c (synth_mult): Likewise.
3532 * final.c (add_bb_string): Likewise.
3533 * genattr.c (main): Likewise.
3534 * genattrtab.c (attr_string, simplify_cond, copy_rtx_unchanging):
3535 Likewise.
3536 * jump.c (thread_jumps): Likewise.
3537 * prefix.c (save_string): Likewise.
3538 * real.h (REAL_VALUE_FROM_CONST_DOUBLE): Likewise.
3539 * regclass.c (init_reg_sets, init_reg_sets_1): Likewise.
3540 * reload1.c (reload, eliminate_regs): Likewise.
3541
c8abeb44
JM
35422000-11-10 Joseph S. Myers <jsm28@cam.ac.uk>
3543
3544 * gcc.texi (Service): Update to reflect current practice and
3545 location of the GNU service directory.
3546
6fb85418
BS
35472000-11-09 Bernd Schmidt <bernds@redhat.co.uk>
3548
3549 * regrename.c (build_def_use): Mark contents of REG_INC notes as
3550 needing replacement.
3551
0c478921
BS
3552 * config/ia64/ia64.md (extendsfdf2, extendsftf2, extenddftf2): Emit
3553 a no-op move if regs are equal.
3554 * toplev.c (rest_of_compilation): Do the noop moves elimination pass
a8a05998 3555 when calling jump after post-reload splitting.
0c478921 3556
3b7a2e58
JM
35572000-11-09 Jan van Male <jan.vanmale@fenk.wau.nl>
3558
a8a05998
ZW
3559 * c-tree.texi: Fix typos.
3560 * extend.texi: Likewise
3561 * gcov.texi: Likewise
3562 * rtl.texi: Likewise
3563 * tm.texi: Likewise
3b7a2e58 3564
59257980
HPN
35652000-11-09 Hans-Peter Nilsson <hp@axis.com>
3566
3567 * c-lex.c [! NO_IMPLICIT_EXTERN_C] (cb_enter_file): Check
3568 in_system_header and flags[1] before dereferencing flags[2].
3569
881a8969
MH
35702000-11-09 Matthew Hiller <hiller@redhat.com>
3571
3572 * reload1.c (reload_combine): Fixed calculation of
3573 first_index_reg, last_index_reg.
3574
0a7394bc
MM
35752000-11-09 Mark Mitchell <mark@codesourcery.com>
3576
13507bd8
MM
3577 * c-dump.c (dequeue_and_dump): Dump function bodies.
3578
0a7394bc
MM
3579 * Makefile.in (C_AND_OBJC_OBJS): Add c-dump.o.
3580 (c-dump.o): New target.
3581 * c-common.h (flag_dump_translation_unit): New variable.
3582 (C_TYPE_QUALS): New macro.
3583 (strip_array_types): New function.
3584 (DECL_C_BIT_FIELD): New macro.
3585 (SET_DECL_C_BIT_FIELD): Likewise.
3586 (CLEAR_DECL_C_BIT_FIELD): Likewise.
3587 (dump_info_p): New typedef.
3588 (dump_tree_fn): Likewise.
3589 (lang_dump_tree): New variable.
3590 (dump_node_to_file): New function.
3591 * c-common.c (flag_dump_translation_unit): Define it.
3592 (strip_array_types): New function.
3593 * c-decl.c (c_decode_option): Handle -fdump-translation-unit.
a8a05998 3594 * c-lang.c (finish_file): Call dump_node_to_file if
0a7394bc
MM
3595 flag_dump_translation_unit.
3596 * c-semantics.c (mark_rtl_for_local_static): Fix typo in comment.
3597 * c-tree.h (DECL_C_BIT_FIELD): Remove declaration.
3598 * c-dump.c: New file.
a8a05998 3599
abffe289
CF
36002000-11-09 Christopher Faylor <cgf@cygnus.com>
3601
3602 * config/i386/cygwin.h: Add mingw startfile prefix.
3603
1288c070
RH
36042000-11-09 Richard Henderson <rth@redhat.com>
3605
3606 * flow.c (invalidate_mems_from_set): Split out from ...
3607 (mark_set_1): ... here.
3608 (try_pre_increment_1): Use it. Use propagate_block_delete_insn
3609 instead of turning insn into a NOTE_INSN_DELETED.
3610
01702459
JM
36112000-11-10 Joseph S. Myers <jsm28@cam.ac.uk>
3612
3613 * extend.texi, invoke.texi: Move documentation of builtin versions
3614 of C library functions to one place and update.
3615
30355eaa
RH
36162000-11-09 Richard Henderson <rth@redhat.com>
3617
3618 * fold-const.c (fold): Compare TYPE_MAIN_VARIANT rather than
3619 the types themselves to discover type equivalence.
3620
5fcee6f3
MS
36212000-11-09 Mike Stump <mrs@wrs.com>
3622
3623 * Makefile.in (distclean): Remove a few extra leftovers.
3624
377b6fce
RH
36252000-11-09 Richard Henderson <rth@redhat.com>
3626
c0e3f87d
RH
3627 * recog.c (validate_replace_rtx_1): Consider subregs when
3628 replacing a register with a constant inside a sign/zero_extend.
3629
377b6fce
RH
3630 * config/alpha/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
3631
b52114d2
GK
36322000-11-09 Geoffrey Keating <geoffk@redhat.com>
3633
3634 * c-decl.c (finish_struct): When a structure is completed,
3635 check all its variant types for completeness.
3636
a949941c
NB
36372000-11-09 Neil Booth <neilb@earthling.net>
3638
3639 * cpphash.c: Move cpp_defined here from cpplib.c.
3640 * cpplib.c: Update comments, move cpp_defined to cpphash.c.
3641 * cpplex.c (_cpp_lex_token): Don't leave the lexer at EOL.
3642 * cppmacro.c (cpp_get_token): Update comments, no need now
3643 to catch the CPP_EOF meaning EOL case.
3644
9a0662b4
GK
36452000-11-08 Geoffrey Keating <geoffk@redhat.com>
3646
3647 * config/sparc/sparc.c (sparc_va_arg): When the required alignment
3648 is more than that provided, copy to a temporary.
3649
6c80a645
AO
36502000-11-09 Alexandre Oliva <aoliva@redhat.com>
3651
3652 * mklibgcc.in (EXTRA_MULTILIB_PARTS): Prevent `make' from
3653 interpreting $out as a macro assignment.
3654 * Makefile.in (T_TARGET): New auxiliary macro and target.
3655 (all): Add a target right in the beginning, so that we don't build
3656 T_TARGET by default.
3657
6a4afa6c
GS
36582000-11-09 Graham Stott <grahams@redhat.com>
3659
a8a05998 3660 * config/i386/i386.md (mmx_pinsrw): Output operands in correct
6a4afa6c
GS
3661 order for -mintel-syntax. Remove comment now that the operand
3662 order has been checked.
3663 (mmx_pextrw): Likewise.
3664 (mmx_pshufw): Likewise.
3665
2dee4af1
JJ
36662000-11-09 Jakub Jelinek <jakub@redhat.com>
3667
3668 * builtins.c (c_strlen): Use TREE_STRING_LENGTH - 1 for max.
3669 (c_getstr): New function.
3670 (expand_builtin_strstr): Do nothing if -fcheck-memory-usage.
3671 If both arguments are constant string, optimize out.
3672 (expand_builtin_strchr, expand_builtin_strrchr): New functions.
3673 (expand_builtin_strpbrk): Use c_getstr, do nothing if
3674 -fcheck-memory-usage.
3675 (expand_builtin_fputs): Likewise.
3676 (expand_builtin_strcmp): Add MODE argument.
3677 Use even if !HAVE_cmpstrsi.
3678 Optimize the case when both arguments are constant strings.
3679 (expand_builtin): Adjust expand_builtin_strcmp caller.
3680 Call expand_builtin_strchr and expand_builtin_strrchr.
3681 * c-common.c (c_common_nodes_and_builtins): Add strchr and strrchr
3682 builtins.
3683 * builtins.def (BUILT_IN_STRRCHR): Add.
3684
97dc9fc0
GP
36852000-11-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3686
3687 * fixinc/gnu-regex.c: Rename EGCS LOCAL markers to GCC LOCAL.
3688
2e09e75a
JM
36892000-11-09 Joseph S. Myers <jsm28@cam.ac.uk>
3690
3691 * calls.c (expand_call, emit_library_call_value_1), collect2.c
3692 (scan_prog_file), config/a29k/a29k.c (print_operand),
3693 config/sparc/sparc.c (order_regs_for_local_alloc): Use memcpy ()
3694 instead of bcopy ().
3695 * real.h: Use memcmp () instead of bcmp ().
3696 * config/m88k/m88k.c (m88k_layout_frame), config/sh/sh.c
3697 (split_branches), config/sparc/sparc.c (ultra_flush_pipeline,
3698 ultrasparc_sched_init, ultrasparc_sched_reorder),
3699 config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Use memset ()
3700 instead of bzero ().
3701 * config/vax/xm-xms.h (FILE_NAME_NONDIRECTORY): Use strrchr ()
3702 instead of rindex ().
3703 * configure.in: Don't check for bzero, bcmp, index or rindex.
3704 * configure, config.in: Regenerate.
3705 * system.h: Don't include declarations for bzero, bcmp, index or
3706 rindex.
3707 * config/i386/xm-beos.h, config/rs6000/xm-beos.h: Don't define
3708 bzero, bcmp, index or rindex.
3709
03fb4780
CF
3710Wed Nov 8 21:58:20 2000 Christopher Faylor <cgf@cygnus.com>
3711
3712 * config/i386/cygwin.h: Add -no-win32 switch. Separate -mno-cygwin
3713 include and library paths from -mcygwin case. Parameterize some
3714 declarations to avoid warnings. Use standard locations for include and
3715 lib dirs.
3716
ca68ea18
NC
37172000-11-08 Nick Clifton <nickc@redhat.com>
3718
3719 * config/arm/arm.md (mulsidi3adddi): Change output operand
eb68ad7c 3720 constraint from "=&" to "+&".
ca68ea18 3721 (umulsidi3adddi): Change output operand constraint from "=&" to
eb68ad7c 3722 "+&".
ca68ea18 3723
c32e1e6f
RH
37242000-11-08 Richard Henderson <rth@redhat.com>
3725
3726 * flow.c (init_propagate_block_info): Protect the rtx stored in
3727 mem_set_list from modification by find_auto_inc.
3728 (mark_set_1): Likewise.
3729
adb84b42
NB
37302000-11-08 Neil Booth <neilb@earthling.net>
3731
a8a05998
ZW
3732 Move directive handling into the lexer itself.
3733
3734 * cpplex.c (_cpp_lex_token): Handle directives directly.
3735 In the case of a directive interrupting a function-like
3736 macro invocation, use extra_char since read_ahead is
3737 used to store the '#'. Return a CPP_EOF in this case.
3738 * cppmacro.c (parse_arg): No need to handle CPP_DHASH any more.
3739 (cpp_get_token): Don't handle directives here.
3740 * cpplib.h: Remove CPP_DHASH token type.
adb84b42 3741
756d6f0c
JH
3742Wed Nov 8 21:53:41 MET 2000 Jan Hubicka <jh@suse.cz>
3743
3744 * regmove.c (combine_stack_adjustments_for_blocks): Recognize pushes
3745 formed using PRE_MODIFY too.
3746
c39c0db3
MM
37472000-11-08 Mark Mitchell <mark@codesourcery.com>
3748
69908851
MM
3749 * c-tree.texi (VAR_DECL): Describe representation of GCC's
3750 extension for placing variables in particular registers.
3751
c39c0db3
MM
3752 * c-tree.texi (FUNCTION_TYPE): Clarify TYPE_ARG_TYPES for
3753 unprototyped C functions with no parameters.
3754
6cada0cd
JJ
37552000-11-08 Jakub Jelinek <jakub@redhat.com>
3756
3757 * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Cast DELTA to int
3758 before passing to fprintf.
3759
768f0669
JJ
37602000-11-08 Jakub Jelinek <jakub@redhat.com>
3761
3762 * function.c (expand_function_start): Cast GET_MODE_SIZE to
3763 HOST_WIDE_INT before negating it.
3764
df6018fd
JJ
37652000-11-08 Jakub Jelinek <jakub@redhat.com>
3766
3767 * expr.c (expand_expr) [ADDR_EXPR]: Handle when op0 is RETURN_DECL
3768 passed in multiple non-contiguous locations.
3769
14ae1d50 37702000-11-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
a8a05998 3771
14ae1d50
GP
3772 * README.gnat: Remove file.
3773
673887d5
AO
37742000-11-08 Alexandre Oliva <aoliva@redhat.com>
3775
3776 * mklibgcc.in (EXTRA_MULTILIB_PARTS): Generate multilib parts
3777 in-place.
3778
66234570
RH
37792000-11-07 Richard Henderson <rth@redhat.com>
3780
3781 * dwarfout.c (INSN_LABEL_FMT): Remove.
3782 (output_label_die): Use ASM_GENERATE_INTERNAL_LABEL.
3783 (dwarfout_label): Remove.
3784 * dwarfout.h: Remove it's prototype.
3785 * dwarf2out.c (INSN_LABEL_FMT): Remove.
3786 (gen_label_die): Use ASM_GENERATE_INTERNAL_LABEL.
3787 (dwarf2out_label): Remove.
3788 * dwarf2out.h: Remove it's prototype.
3789 * final.c (final_scan_insn): Don't call dwarf[2]out_label.
3790
81b75d96
RH
37912000-11-07 Richard Henderson <rth@redhat.com>
3792
cd5c4048
RH
3793 * config/ia64/fde-glibc.c (find_fde_for_dso): Do a binary
3794 search on the unwind region section.
3795
3796 * config/ia64/ia64.md (movbi): Add r/r alternative.
3797 (cmovdi_internal_astep): Describe all combinations of register
3798 classes for sources & destinations; remove matching constraints.
3799 (cmovdi_internal): Likewise.
3800
81b75d96
RH
3801 * gcc.c (default_compilers) [@cpp-output]: Add -fpreprocessed.
3802
6dbaddf9
RH
38032000-11-07 Richard Henderson <rth@redhat.com>
3804
3805 * c-lang.c (start_cdtor, finish_cdtor): New functions.
3806 (finish_file): Use them in building constructor/destructor functions.
3807
a8a05998 3808 * config/alpha/alpha.h (HAS_INIT_SECTION, LD_INIT_SWITCH,
6dbaddf9
RH
3809 LD_FINI_SWITCH): Move ...
3810 * config/alpha/osf.h: ... here.
3811 * config/alpha/alpha-interix.h: Don't undef them.
3812
99b13084
JO
38132000-11-07 Jeffrey Oldham <oldham@oz.codesourcery.com>
3814
3815 * config/mips/t-iris6 (FPBIT): New. Added so that __unorddf2 is
3816 included in libgcc.a.
3817 (DPBIT): Likewise.
3818 (dp-bit.c): Likewise.
3819 (fp-bit.c): Likewise.
3820
d7cac874
NC
38212000-11-07 Nick Clifton <nickc@redhat.com>
3822
3823 * config/m88k/m88k.h (GLOBAL_ASM_OP): Add missing tab.
3824 (INTERNAL_ASM_OP): Add missing tab.
3825
961192e1
JM
38262000-11-07 Joseph S. Myers <jsm28@cam.ac.uk>
3827
3828 * alias.c (init_alias_analysis), calls.c (expand_call,
3829 emit_library_call_value_1), combine.c (init_reg_last_arrays),
3830 cse.c (new_basic_block), dbxout.c (dbxout_type), diagnostic.c
3831 (init_output_buffer, set_diagnostic_context), dwarf2out.c
3832 (equate_decl_number_to_die, build_abbrev_table), emit-rtl.c
3833 (init_emit_once), fold-const.c (mul_double, div_and_round_double),
3834 function.c (assign_parms), gcse.c (compute_can_copy,
3835 alloc_gcse_mem, alloc_reg_set_mem, record_one_set,
3836 compute_hash_table, compute_set_hash_table,
3837 compute_expr_hash_table), genattrtab.c (optimize_attrs), global.c
3838 (global_alloc, global_conflicts), haifa-sched.c (compute_trg_info,
3839 clear_units, schedule_block), integrate.c (initialize_for_inline,
3840 expand_inline_function), jump.c (thread_jumps), local-alloc.c
3841 (local_alloc), loop.c (combine_movables, count_loop_regs_set,
3842 load_mems_and_recount_loop_regs_set), print-tree.c (debug_tree),
3843 regclass.c (init_reg_sets, init_reg_sets_1, regclass,
3844 record_reg_classes, allocate_reg_info), reload.c
3845 (get_secondary_mem, remove_address_replacements, find_reloads),
3846 reload1.c (reload, set_initial_label_offsets, finish_spills,
3847 reload_as_needed, choose_reload_regs_init,
3848 reload_cse_simplify_operands), reorg.c (dbr_schedule), sbitmap.c
3849 (sbitmap_zero), simplify-rtx.c (simplify_plus_minus), ssa.c
3850 (rename_registers), stmt.c (expand_end_case), unroll.c
3851 (unroll_loop), varray.c (varray_grow), objc/objc-act.c: Use memset
3852 () instead of bzero ().
3853
e3cc3581
NB
38542000-11-07 Neil Booth <neilb@earthling.net>
3855
3856 * cp/lang-specs.h: Fix -save-temps specs under USE_CPPLIB.
3857
f8136648
KG
38582000-11-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3859
3860 * c-common.c (combine_strings): Only warn about long strings for C.
3861
71fd5a51
R
3862Tue Nov 7 19:44:30 2000 J"orn Rennecke <amylaar@redhat.com>
3863
3864 * combine.c (distribute_notes): Fix typo in last change.
3865
bdaa0181
GK
38662000-11-07 Geoff Keating <geoffk@redhat.com>
3867
3868 * config/rs6000/rs6000.md (movdi_internal32+1): Use
3869 operand_subreg_force rather than gen_rtx_SUBREG.
3870 (movdi_internal32+2): Likewise.
3871
bc56a125
PB
38722000-11-07 Philip Blundell <philb@gnu.org>
3873
3874 * configure.in (arm*-*-linuxaout*): Obsolete, deleted.
3875 * config/arm/linux-aout.h: Likewise.
3876 * configure: Regenerate.
3877
a71d3613
PT
38782000-11-07 Philipp Thomas <pthomas@suse.de>
3879
3880 * ABOUT-GCC-NLS: Remove the patch for gettext as it has been
3881 accepted my the gettext maintainer.
3882
26a87cab
KG
38832000-11-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3884
3885 * builtins.c (expand_builtin_strpbrk): New function.
3886 (expand_builtin): Handle BUILT_IN_STRPBRK.
3887
3888 * builtins.def (BUILT_IN_STRPBRK): New entry.
3889
3890 * c-common.c (c_common_nodes_and_builtins): Declare builtin
3891 strpbrk.
3892
ace54f91
DB
38932000-11-07 David O'Brien <obrien@dragon.nuxi.com>
3894
3895 * config/alpha/freebsd.h: New file -- FreeBSD/alpha architecture file.
3896 * POTFILES.in: Add config/alpha/freebsd.h
3897 * configure.in: Add alpha*-freebsd support.
3898 * configure: Regenerate.
3899
0dec5df9
JM
39002000-11-07 Joseph S. Myers <jsm28@cam.ac.uk>
3901
3902 * tree.c (build_common_tree_nodes_2): Make va_list_type_node be a
3903 copy of ptr_type_node rather than ptr_type_node itself.
3904
bf103ec2
R
3905Tue Nov 7 06:29:24 2000 J"orn Rennecke <amylaar@redhat.com>
3906
3907 * combine.c (recog_for_combine): Allocate uninitialized vector with
3908 rtvec_alloc.
3909 * recog.c (apply_change_group): Likewise.
3910
c762163e
R
3911Tue Nov 7 06:24:02 2000 J"orn Rennecke <amylaar@redhat.com>
3912
3913 * flow.c (verify_local_live_at_start): Back out last change.
3914 * combine.c (distribute_notes): When parts of a hard reg are
3915 neither set nor referenced in PLACE, search backwards for a
3916 place to put a REG_UNUSED note; if none found, ask for flow
3917 info refresh.
3918
f34c06e5
R
3919Mon Nov 6 20:08:13 2000 J"orn Rennecke <amylaar@redhat.com>
3920
3921 * reload1.c (eliminate_regs_in_insn): Allow a set to be a PARALLEL
3922 with (clobber (match_scratch...)).
3923
2b892489
NB
39242000-11-06 Neil Booth <neilb@earthling.net>
3925
3926 * c-lex.c (init_c_lex): If cpp_start_read fails, exit with
3927 error status.
3928
ea33bfc5
NB
39292000-11-06 Neil Booth <neilb@earthling.net>
3930
a8a05998 3931 * tradcpp.c (special_symbol): Assign an null string rather
ea33bfc5
NB
3932 than writing to an unallocated buffer.
3933
56051c0a
NB
39342000-11-06 Neil Booth <neilb@earthling.net>
3935
3936 * cpplex.c (_cpp_equiv_tokens): Check arg_no in the
3937 CPP_MACRO_ARG case.
3938
6c53ebff
NB
39392000-11-06 Neil Booth <neilb@earthling.net>
3940
3941 * c-lex.c (c_lex): Replace tok.val.aux with tok.val.c or
3942 tok.val.arg_no as appropriate.
3943 * cppexp.c (lex): Similarly.
3944 * cpplex.c (_cpp_lex_token, cpp_spell_token, cpp_output_token,
3945 cpp_equiv_tokens, cpp_can_paste, cpp_avoid_paste): Similarly.
3946 * cppmacro.c (stringify_arg, replace_args, lex_expansion_token,
3947 cpp_macro_definition): Similarly.
3948 * cpplib.h (struct cpp_token): Replace aux with c and arg_no.
3949
8b1c5fd0
JJ
39502000-11-06 Jakub Jelinek <jakub@redhat.com>
3951
3952 * config/sparc/sparc.md (adddi3): If operands[2] is 4096 and
3953 operands[1] is constant, calculate the sum and generate movdi.
3954 (addsi3): Similarly. Use SImode in call to arith_4096_operand.
3955 (subsi3): Use SImode in call to arith_4096_operand.
3956
a0115140
JJ
39572000-11-06 Jakub Jelinek <jakub@redhat.com>
3958
3959 * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): On sparc64 we need to
3960 adjust %o1, not %o0 if the return type is large structure.
3961
9ea2bda9
JJ
39622000-11-06 Jakub Jelinek <jakub@redhat.com>
3963
3964 * config/sparc/sparc.md (smulsi3_highpart_v8plus, ashldi3_v8plus+1,
3965 update_return, flush, flushdi, ffssi2, ffsdi2): Fix output formatting.
3966
1cf7847f
DC
3967Sat Sep 23 19:10:20 2000 Denis Chertykov <denisc@overta.ru> & Marek Michalkiewicz <marekm@linux.org.pl>
3968
3969 * expmed.c (expand_divmod): For signed divide by 2, prefer
3970 a branch and fewer shifts if branches are very cheap.
3971
436a88a6
JM
39722000-11-05 Joseph S. Myers <jsm28@cam.ac.uk>
3973
3974 * Makefile.in: Remove all targets related to building
3975 distributions and diffs, or INSTALL.
3976 * INSTALL, install1.texi: Remove.
3977 * configure.in: Remove mention of distdir.
3978 * configure: Regenerate.
3979 * objc/Make-lang.in: Remove mention of distdir.
3980
9cf11a47
NB
39812000-11-04 Neil Booth <neilb@earthling.net>
3982
3983 * cpp.texi: Update for _Pragma.
3984
f148ca88
JM
39852000-11-04 Joseph S. Myers <jsm28@cam.ac.uk>
3986
3987 * gcc.texi (Contributing): Update URL for projects web page.
3988
16eb2788
NB
39892000-11-04 Neil Booth <neilb@earthling.net>
3990
a8a05998
ZW
3991 * cpplex.c (parse_string): Don't allow multiline strings in
3992 #include family directives.
16eb2788 3993
9232b7d9
NB
39942000-11-04 Neil Booth <neilb@earthling.net>
3995
3996 * cpplib.c (do_line): Only warn pedantically if not reading
a8a05998 3997 preprocessed input.
9232b7d9 3998
f132f529
AO
39992000-11-04 Alexandre Oliva <aoliva@redhat.com>
4000
4001 * calls.c (emit_call_1) [sibcall_pop]: Use n_popped instead of
4002 RETURN_POPS_ARGS().
4003
0e9295cf
ZW
40042000-11-03 Zack Weinberg <zack@wolery.stanford.edu>
4005
4006 * builtins.c (expand_builtin_strlen): Remove unused mode
4007 argument.
4008 * gcc.c (process_command): Remove unused variable.
4009 * fold-const.c: Include expr.h.
4010 * recog.c: Include reload.h.
4011 * Makefile.in (recog.o, fold-const.o): Update deps.
4012
f2682362
GK
40132000-11-02 Geoffrey Keating <geoffk@cygnus.com>
4014
4015 * fixinc/gnu-regex.c: Change 'CYGNUS LOCAL' to 'EGCS LOCAL'.
4016
25f80eae
MM
4017Fri Nov 3 13:41:04 2000 Mark P Mitchell <mark@codesourcery.com>
4018
4019 * config/mips/iris6.h (SUBTARGET_CC1_SPEC): Remove -static
4020 handling.
4021 (STARTFILE_SPEC): Likewise.
4022 (LINK_SPEC): Likewise.
4023
426159a4
KG
40242000-11-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4025
4026 * Makefile.in (fold-const.o): Depend on $(GGC_H), not ggc.h.
4027 (toplev.o): Likewise for $(LOOP_H)/loop.h and $(REGS_H)/regs.h.
4028 (simplify-rtx.o): Likewise for $(GGC_H)/ggc.h.
4029
da61dec9
JM
40302000-11-03 Joseph S. Myers <jsm28@cam.ac.uk>
4031
4032 * c-decl.c (duplicate_decls, copy_lang_decl), dwarfout.c
4033 (dwarfout_line), gcc.c (main, save_string), tree.c (init_obstacks,
4034 perm_calloc, get_identifier, maybe_get_identifier,
4035 real_value_from_int_cst, simple_cst_equal), varasm.c
4036 (assemble_name, assemble_real, immed_real_const_1,
4037 compare_constant_1, decode_rtx_const, output_constant_pool): Use
4038 strrchr () instead of rindex (). Use memcmp () instead of bcmp
4039 (). Use memcpy () instead of bcopy (). Use memset () instead of
4040 bzero ().
4041
def3263a
NS
40422000-11-03 Nathan Sidwell <nathan@codesourcery.com>
4043
4044 * cppfiles.c (open_file): If already read, then don't reopen.
4045 Immediately close an empty file.
4046
94e9dc13
BS
40472000-11-01 Bernd Schmidt <bernds@redhat.co.uk>
4048
4049 * expr.h (fold_builtin): Move declaration...
4050 * tree.h (fold_builtin): ... here.
4051
6c6a14b5
R
4052Fri Nov 3 05:41:07 2000 J"orn Rennecke <amylaar@redhat.com>
4053
4054 * flow.c (verify_local_live_at_start): Allow hard regs to die.
4055
5b569332
NB
40562000-11-02 Neil Booth <neilb@earthling.net>
4057
4058config:
4059 * a29k/a29k.h, a29k/unix.h, a29k/vx29k.h,
4060 alpha/alpha-interix.h, alpha/alpha.h, alpha/linux.h,
4061 alpha/openbsd.h, alpha/osf.h, alpha/vms.h, alpha/vxworks.h,
4062 alpha/win-nt.h, arc/arc.h, arm/arm.h, arm/conix-elf.h,
4063 arm/linux-aout.h, arm/linux-elf.h, arm/netbsd.h, arm/riscix.h,
4064 arm/riscix1-1.h, arm/semiaof.h, arm/unknown-elf-oabi.h, arm/vxarm.h,
4065 c4x/rtems.h, clipper/clix.h, convex/convex.h, d30v/d30v.h,
4066 elxsi/elxsi.h, fr30/fr30.h, h8300/h8300.h, i370/linux.h, i370/mvs.h,
4067 i370/oe.h, i386/386bsd.h, i386/aix386ng.h, i386/beos-elf.h,
4068 i386/bsd386.h, i386/crtdll.h, i386/cygwin.h, i386/dgux.h,
4069 i386/djgpp-rtems.h, i386/djgpp.h, i386/freebsd-aout.h, i386/freebsd.h,
4070 i386/gnu.h, i386/i386-interix.h, i386/i386.h, i386/linux-aout.h,
4071 i386/linux-oldld.h, i386/linux.h, i386/lynx-ng.h, i386/lynx.h,
4072 i386/mach.h, i386/mingw32.h, i386/moss.h, i386/netbsd.h,
4073 i386/netware.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
4074 i386/osfelf.h, i386/osfrose.h, i386/ptx4-i.h, i386/rtems.h,
4075 i386/rtemself.h, i386/sco.h, i386/sco4.h, i386/sco4dbx.h, i386/sco5.h,
4076 i386/scodbx.h, i386/sequent.h, i386/sol2.h, i386/sun.h, i386/sysv3.h,
4077 i386/sysv4.h, i386/uwin.h, i386/vsta.h, i386/vxi386.h, i386/win-nt.h,
4078 i386/win32.h, i860/fx2800.h, i860/i860.h, i860/mach.h, i860/sysv3.h,
4079 i860/sysv4.h, i960/i960.h, i960/rtems.h, i960/vx960-coff.h,
4080 ia64/ia64.h, ia64/linux.h, m32r/m32r.h, m68k/3b1.h, m68k/3b1g.h,
4081 m68k/a-ux.h, m68k/altos3068.h, m68k/amix.h, m68k/apollo68.h,
4082 m68k/crds.h, m68k/ctix.h, m68k/dpx2.h, m68k/hp2bsd.h, m68k/hp320.h,
4083 m68k/hp3bsd.h, m68k/hp3bsd44.h, m68k/isi.h, m68k/linux-aout.h,
4084 m68k/linux.h, m68k/lynx-ng.h, m68k/lynx.h, m68k/m68kemb.h,
4085 m68k/m68kv4.h, m68k/mot3300.h, m68k/netbsd.h, m68k/news.h,
4086 m68k/next.h, m68k/openbsd.h, m68k/pbb.h, m68k/plexus.h, m68k/rtems.h,
4087 m68k/rtemself.h, m68k/sun2.h, m68k/sun3.h, m68k/sun3mach.h,
4088 m68k/tower-as.h, m68k/tower.h, m68k/vxm68k.h, m88k/dgux.h,
4089 m88k/dolph.h, m88k/luna.h, m88k/m88k-aout.h, m88k/m88k-coff.h,
4090 m88k/openbsd.h, m88k/sysv3.h, m88k/sysv4.h, mips/bsd-4.h,
4091 mips/bsd-5.h, mips/dec-bsd.h, mips/dec-osf1.h, mips/gnu.h,
4092 mips/iris3.h, mips/iris5.h, mips/iris6.h, mips/linux.h, mips/mips.h,
4093 mips/netbsd.h, mips/news4.h, mips/news5.h, mips/nws3250v4.h,
4094 mips/openbsd.h, mips/osfrose.h, mips/rtems64.h, mips/sni-svr4.h,
4095 mips/svr3-4.h, mips/svr3-5.h, mips/svr4-4.h, mips/svr4-5.h,
4096 mips/ultrix.h, ns32k/encore.h, ns32k/merlin.h, ns32k/netbsd.h,
4097 ns32k/ns32k.h, ns32k/pc532-mach.h, ns32k/pc532.h, ns32k/sequent.h,
4098 ns32k/tek6000.h, ns32k/tek6100.h, ns32k/tek6200.h, pa/pa-hiux.h,
4099 pa/pa-hpux.h, pa/pa-hpux7.h, pa/pa-linux.h, pa/pa-osf.h,
4100 pa/pa-pro-end.h, pa/pa.h, pa/rtems.h, pj/linux.h, pj/pj.h,
4101 romp/romp.h, rs6000/aix.h, rs6000/aix31.h, rs6000/aix41.h,
4102 rs6000/aix43.h, rs6000/beos.h, rs6000/eabi.h, rs6000/eabisim.h,
4103 rs6000/linux.h, rs6000/lynx.h, rs6000/mach.h, rs6000/rtems.h,
4104 rs6000/sysv4.h, rs6000/vxppc.h, sh/elf.h, sh/linux.h, sh/rtems.h,
4105 sh/rtemself.h, sh/sh.h, sparc/aout.h, sparc/elf.h, sparc/linux-aout.h,
4106 sparc/linux.h, sparc/linux64.h, sparc/lite.h, sparc/litecoff.h,
4107 sparc/liteelf.h, sparc/lynx-ng.h, sparc/lynx.h, sparc/netbsd.h,
4108 sparc/openbsd.h, sparc/pbd.h, sparc/rtems.h, sparc/rtemself.h,
4109 sparc/sol2-sld-64.h, sparc/sol2.h, sparc/sp64-aout.h,
4110 sparc/sp64-elf.h, sparc/sp86x-aout.h, sparc/sp86x-elf.h,
4111 sparc/sparc.h, sparc/sysv4.h, sparc/vxsim.h, sparc/vxsparc.h,
4112 v850/rtems.h, vax/netbsd.h, vax/openbsd.h, vax/ultrix.h, vax/vax.h,
4113 vax/vaxv.h, vax/vms.h, we32k/we32k.h
a8a05998 4114
5b569332
NB
4115 Replace -A() with -A=, the new assertion syntax.
4116
03afaf36
R
4117Thu Nov 2 21:52:35 2000 J"orn Rennecke <amylaar@redhat.com>
4118
4119 * combine.c (distribute_notes): Use rtx_equal_p to check elim_i2 /
4120 elim_i1.
4121 In REG_DEAD handling: When handling parts of multi-hard-reg hard
4122 registers, increment the loop counter by the size of the parts;
4123 use recursion to handle individual parts.
4124
04e3be98
NB
41252000-11-02 Neil Booth <neilb@earthling.net>
4126
4127 * configure.in: Make integrated CPP the default.
4128 * configure: Regenerate.
4129
0192d704
R
4130Thu Nov 2 19:20:12 2000 J"orn Rennecke <amylaar@redhat.com>
4131
4132 * reload.c (find_equiv_reg): Test all hard registers for membership
4133 in the requested class.
4134
9473c522
JM
41352000-11-02 Joseph S. Myers <jsm28@cam.ac.uk>
4136
4137 * collect2.c (main, write_c_file_stat), gcc.c (translate_options,
4138 process_command, main), gcov.c (open_files, output_data), tlink.c
4139 (frob_extension, scan_linker_output), toplev.c
4140 (file_name_nondirectory): Use strchr () and strrchr () instead of
4141 index () and rindex ().
4142
0304bbad
JM
41432000-11-02 Joseph S. Myers <jsm28@cam.ac.uk>
4144
4145 * c-common.c (get_flag_spec, check_format_info_main,
4146 check_format_types): Use strchr () instead of index (). Compare
4147 against error_mark_node instead of comparing the TREE_CODE against
4148 ERROR_MARK.
4149
23356f93
ZW
41502000-11-02 Zack Weinberg <zackw@Stanford.EDU>
4151
a8a05998
ZW
4152 Integrated CPP.
4153
4154 * c-lex.c (init_c_lex): Update cpp_start_read call.
4155 (cb_ident): Update for new callback prototype.
4156 (cb_def_pragma): Update for new cpp_get_token prototype.
4157 (c_lex): Similarly. Use cpp_get_line.
4158
4159 * c-parse.in (finish_parse): Update for new cpp_finish
4160 prototype.
4161
4162 * cp/lex.c (finish_parse): Similarly.
23356f93 4163
7a099817
GK
41642000-11-01 Geoff Keating <geoffk@cygnus.com>
4165
4166 * machmode.def: Add V16QImode.
4167
a97c9600
RH
41682000-11-01 Richard Henderson <rth@redhat.com>
4169
4170 * dwarf2out.c (loc_descriptor_from_tree): Check for null result
4171 from rtl_for_decl_location.
4172 (add_location_or_const_value_attribute): Likewise.
4173
a0a9606d
NB
41742000-11-01 Neil Booth <neilb@earthling.net>
4175
a8a05998
ZW
4176 * cpplib.c (run_directive): Use correct line number for output
4177 of _Pragma. Remember any in-progress directive.
4178
4179 * gcc.dg/cpp/vararg2.c, gcc.dg/cpp/_Pragm1.c: New tests.
a0a9606d 4180
ba89764a
RH
41812000-11-01 Richard Henderson <rth@redhat.com>
4182
4183 * stmt.c (expand_start_null_loop): Set continue_label.
4184
b0b3afb2
BS
41852000-11-01 Bernd Schmidt <bernds@redhat.co.uk>
4186
4187 * builtins.c (fold_builtin_constant_p, fold_builtin): New functions.
4188 (expand_builtin_constant_p): Move parts of the code into
4189 fold_builtin_constant_p.
4190 (expand_builtin_strlen): Move parts of the code into fold_builtin.
4191 * expr.h (fold_builtin): Declare.
4192 * fold-const.c (fold): Handle builtin calls.
4193
4194 * c-typeck.c (build_function_call): Call fold on the CALL_EXPR.
4195
f0de0c5d
RH
41962000-11-01 Richard Henderson <rth@redhat.com>
4197
4198 * stmt.c (expand_start_null_loop): New.
a8a05998 4199 (expand_end_null_loop): New.
f0de0c5d
RH
4200 * c-semantics.c (genrtl_do_stmt): Use them.
4201 * tree.h: Declare them.
4202
3a59c77c
RH
42032000-11-01 Richard Henderson <rth@redhat.com>
4204
4205 * cppmain.c (scan_buffer): Don't avoid paste for assembly.
4206
12c4f523
NB
42072000-11-01 Neil Booth <neilb@earthling.net>
4208
4209 * c-parse.in (_yylex): Remove CPP_BACKSLASH case.
4210 * cp/spew.c: Similarly.
4211 * cpplex.c (_cpp_lex_token): Backslashes are now CPP_OTHER.
4212 * cppmacro.c (stringify_arg): Similarly.
4213 * cpplib.h (CPP_BACKSLASH): Delete.
4214
78e7629e
KG
42152000-10-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4216
4217 * builtins.c (expand_builtin_strstr): New function.
4218 (expand_builtin): Handle BUILT_IN_STRSTR and BUILT_IN_STRCHR.
4219
4220 * builtins.def (BUILT_IN_STRSTR, BUILT_IN_STRCHR): New entries.
4221
4222 * c-common.c (c_common_nodes_and_builtins): Declare builtin strstr
4223 and builtin strchr.
4224
32ee391b
RH
42252000-10-31 Richard Henderson <rth@redhat.com>
4226
4227 * config/i386/i386.c (fcmov_comparison_operator): Check for
4228 CCFPmode or CCFPUmode instead of CCmode.
4229 (ix86_expand_fp_movcc): Call ix86_expand_setcc for most
4230 unordered operations as well.
4231
5f10ef5b
RH
42322000-10-31 Richard Henderson <rth@redhat.com>
4233
4234 * c-semantics.c (genrtl_do_stmt): Use integer_zerop instead
4235 of integer_zero_node.
4236
d599b81f
RH
42372000-10-31 Richard Henderson <rth@redhat.com>
4238
4239 * c-semantics.c (genrtl_do_stmt): Special case do/while(0).
4240
1426f761
NC
42412000-10-31 Nick Clifton <nickc@redhat.com>
4242
4243 * config/arm/unknown-elf.h (UNIQUE_SECTION_P): Do not allow
4244 -fdata-sections to override the section attribute of a DECL.
4245
a8c0159a
CD
42462000-10-31 Chris Demetriou <cgd@sibyte.com>
4247
4248 * libgcc2.c (__shtab): Remove __shtab variable.
4249 * libgcc-std.ver (GCC_3.0): Remove __shtab from symbol list.
4250 * Makefile.in (LIB2FUNCS): Remove _shtab from list of library
4251 members.
4252
8215347e
JW
42532000-10-31 Jim Wilson <wilson@redhat.com>
4254
4255 * defaults.h (ASM_OUTPUT_DEBUG_LABEL): New.
4256 * tm.texi (ASM_OUTPUT_DEBUG_LABEL): Document.
4257 * dwarf2out.c (dwarf2out_begin_block): Use ASM_OUTPUT_DEBUG_LABEL
4258 instead of ASM_OUTPUT_INTERNAL_LABEL.
4259 (dwarf2out_end_block, dwarf2out_label): Likewise.
4260 * final.c (final_scan_insn, case NOTE_INSN_DELETED_LABEL): Likewise
4261 * config/ia64/ia64.h (ASM_OUTPUT_DEBUG_LABEL): Define.
a8a05998 4262
d8041cc8
RH
42632000-10-31 Richard Henderson <rth@redhat.com>
4264
4265 * dwarf2out.c (struct dw_loc_descr_struct): Add dw_loc_addr.
4266 (size_of_locs): Set it.
4267 (output_loc_operands): Use it to compute branch displacement.
4268 (int_loc_descriptor): New.
4269 (mem_loc_descriptor): Dereference memory in the proper size.
4270 Use DW_OP_plus_uconst when possible. Use int_loc_descriptor.
4271 (loc_descriptor_from_tree): New.
4272 (rtl_for_decl_location): Break out from ...
4273 (add_location_or_const_value_attribute): ... here.
4274 (add_bound_info): Use loc_descriptor_from_tree.
4275
86368122
NB
42762000-10-31 Neil Booth <neilb@earthling.net>
4277
4278 * cpp.texi: Update for new command line assertion syntax.
4279 * cpplib.c (cpp_define): Simplify a bit.
4280 (cpp_assert, cpp_unassert): Use handle_assertion.
4281 (handle_assertion): New function; accept new command line
4282 syntax with '='.
4283 * testsuite/gcc.dg/cpp/assert3.c: New tests.
4284
e1998242
NB
42852000-10-31 Neil Booth <neilb@earthling.net>
4286
4287 * cppmacro.c (STDC_0_IN_SYSTEM_HEADERS): Define to 0 if
4288 undefined. Remove #ifdef check.
4289 * config/i386/sol2.h, config/rs6000/sol2.h, config/sparc/sol2.h:
4290 Define STDC_0_IN_SYSTEM_HEADERS to 1.
4291
7e08e190
JH
42922000-10-31 Jan Hubicka <jh@suse.cz>
4293 Jakub Jelinek <jakub@redhat.com>
4294
4295 * config/i386/i386.h: Clarify CCNOmode description in comment.
4296 (EXTRA_CC_MODES): Remove CCRCmode.
4297 * config/i386/i386.c (ix86_comparison_operator): Remove CCRCmode.
4298 (put_condition_code, ix86_match_ccmode): Likewise.
4299 (ix86_cc_mode): Likewise. Fix comment.
4300 (ix86_expand_strlensi_unroll_1): *rc patterns are gone.
4301 * config/i386/i386.md: Add unspec 12 description.
4302 (adddi3 split): Use unspec 12 instead of CCRCmode.
4303 (addsi3_carry_rc): Remove.
4304 (addsi3_cc, addqi3_cc): New patterns.
4305 (addsi_3): Swap operands, match CCZmode.
4306 (addsi_4): Rewritten.
4307 (addsi_5): Renamed from addsi_6.
4308 (addsi_6): Removed.
4309 (addhi_3): Swap operands, match CCZmode.
4310 (addhi_4): Rewritten.
4311 (addhi_5): Renamed from addhi_6.
4312 (addhi_6): Removed.
4313 (addqi_3): Swap operands, match CCZmode.
4314 (addqi_4): Rewritten.
4315 (addqi_5): Renamed from addqi_6. Use =q constraint for clobber.
4316 (subsi3_carry_rc): Removed.
4317 (iorqi_3): Use =q constraint for clobber.
4318 (xorqi_cc_2): Likewise.
4319 (negdi2_1 split): Don't use CCRCmode, use ltu instead of gtu.
4320 (x86_movsicc_0_m1_rc): Removed.
4321 (cmp?i peepholes): Remove neg. Use CCGCmode instead of CCRCmode.
4322
93cc1c69
JM
43232000-10-31 Joseph S. Myers <jsm28@cam.ac.uk>
4324
4325 * c-typeck.c (build_unary_op): If pedantic, pedwarn for increment
4326 and decrement of complex types.
4327
bcb38cc1
KG
43282000-10-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4329
4330 * builtins.c (expand_builtin_fputs): When deleting NOP calls to
4331 builtin fputs, ensure we still evaluate the stream in case it
4332 has side-effects.
4333
681cb233
JJ
43342000-10-31 Jakub Jelinek <jakub@redhat.com>
4335
4336 * expr.c (do_store_flag): Pass operand_mode instead of GET_MODE (op0)
4337 to expand_shift.
4338
4b9580a5
R
4339Tue Oct 31 15:33:27 2000 J"orn Rennecke <amylaar@redhat.com>
4340
4341 * sh-protos.h (reg_no_subreg_operand, emit_fpscr_use): Don't declare.
4342 (fp_extended_operand, emit_fpscr_use): Likewise.
4343 * sh.c (reg_no_subreg_operand, fp_extended_operand): Delete functions.
4344 (fpul_operand): New function.
4345 * sh.h (PREDICATE_CODES): Remove reg_no_subreg_operand and
4346 fp_extended_operand. Add fpul_operand.
4347 * sh.md (mulsf3, mulsf3_i4): Use fp_arith_reg_operand for "f" operands.
4348 (mulsf3_ie, macsf3, cmpgtsf_t, cmpeqsf_t, ieee_ccmpeqsf_t): Likewise.
4349 (cmpgtsf_t_i4, cmpeqsf_t_i4, ieee_ccmpeqsf_t_4, negsf2): Likewise.
4350 (negsf2_i, sqrtsf2, sqrtsf2_i, abssf2, abssf2_i, adddf3): Likewise.
4351 (adddf3_i, subdf3, subdf3_i, muldf3, muldf3_i, divdf3): Likewise.
4352 (divdf3_i): Likewise.
4353 (floatsisf2): Likewise. Use fpul_operand for 'y' operand.
4354 (floatsisf2_i4, floatsisf2_ie, fix_truncsfsi2): Likewise.
4355 (fix_truncsfsi2_i4, fixsfsi, floatsidf2, floatsidf2_i): Likewise.
4356 (fix_truncdfsi2, fix_truncdfsi2_i, extendsfdf2): Likewise.
4357 (extendsfdf2_i4, truncdfsf2, truncdfsf2_i4): Likewise.
4358
332316cd
BS
43592000-10-31 Bernd Schmidt <bernds@redhat.co.uk>
4360
a8a05998 4361 * config/i386/i386.c (ix86_init_builtins): Correct return type
332316cd
BS
4362 building v4hi_ftype_v4hi_int_int tree node.
4363 (ix86_expand_builtin): Use correct operand numbers 0 and 1.
4364 Copy operand 0 into a Pmode register, don't generate a MEM rtx.
4365
4366 * config/i386/i386.md (sse_movntdi): Use mmx register constraint
4367 for operand 1.
4368 (mmx__uavgv8qi3): Correct insn mnemonic.
4369 (mmx_psadbw): Correct insn mnemonic. Use V8QI mode for operands 1 and 2.
4370 (mmx_punpckhwd): Correct insn mnemonic.
4371 (mmx_punpckhdq): Likewise.
4372 (mmx_punpcklwd): Likewise.
4373 (mmx_punpckldq): Likewise.
4374 (prefetch): Use immediare_operand and 'n' constraint for operand 1.
4375 Renumber case labels to match the _mm_prefetch constants defined in
4376 xmmintrin.h.
4377
1d766db0
BS
4378 * recog.c (split_all_insns): Don't try to call cleanup_subreg_operands
4379 if the splitter didn't emit new insns.
4380 Make sure we call cleanup_subreg_operands even when splitting the last
4381 insn in a basic block.
4382
8bb16620
BS
4383 * invoke.texi (Debugging Options): Describe -do.
4384 * toplev.c (enum_dump_file_index): New entry DFI_postreload.
4385 (dump_file): Likewise.
4386 (rest_of_compilation): Split .greg dump into .greg and .postreload.
4387
a5c3cccd
NB
43882000-10-30 Neil Booth <neilb@earthling.net>
4389
4390 * cppfiles.c (stack_include_file): Check for stacked contexts
4391 here.
4392 * cpphash.h (_cpp_do__Pragma): New prototype.
4393 * cppinit.c (cpp_reader_init): Add _Pragma keyword to hash table.
4394
4395 * cpplex.c (skip_escaped_newlines): Only process trigraphs and
4396 escaped newlines if !(buffer->from_stage3).
4397 (_cpp_lex_token): Warn about missing newlines iff
4398 !buffer->from_stage3.
4399
4400 * cpplib.c (get__Pragma_string, destringize,
4401 _cpp_do__Pragma): New functions.
4402 (run_directive): Set output_line for _Pragma to avoid line
4403 markers in output. Set from_stage3 and prevent macro expansion
4404 for _Pragma and command-line options. Check buffer exhaustion.
4405 (cpp_push_buffer): Don't check for stacked macro contexts, as
4406 this is perfectly legitimate for _Pragma. Move the check to
4407 stack_include_file instead. Set from_stage3 iff buffer is
4408 preprocessed input.
4409
4410 * cpplib.h (struct cpp_buffer): Make warned_cplusplus_comments
4411 unsigned. New boolean from_stage3.
4412 (struct spec_nodes): Add n__Pragma.
4413
4414 * cppmacro.c (enter_macro_context): Flip sense of return value.
4415 (_cpp_get_token): Handle _Pragma operator.
4416
dbdaea41
PE
44172000-10-30 Phil Edwards <pme@sources.redhat.com>
4418
4419 * gcc.texi: The C++ standard isn't "draft" anymore.
4420
8a47978d
MM
44212000-10-30 Mark Mitchell <mark@codesourcery.com>
4422
4423 * cppmacro.c (builtin_macro): Use NT_VOID, not T_VOID.
4424
1641a823
NB
44252000-10-29 Neil Booth <neilb@earthling.net>
4426
4427 * cpplib.c (skip_rest_of_line): Use _cpp_get_token.
4428
8c7b74b9
JM
44292000-10-29 Joseph S. Myers <jsm28@cam.ac.uk>
4430
526aba28
JM
4431 * toplev.c, flags.h, fold-const.c, real.c, rtl.c,
4432 fixinc/inclhack.def: Change comments mentioning C9X to refer to
4433 C99 instead.
4434
8c7b74b9
JM
4435 * invoke.texi: Document that -V will only work for very similar
4436 versions of driver and compiler.
4437
44ed91a1
NB
44382000-10-29 Neil Booth <neilb@earthling.net>
4439
4440 * cppmacro.c (_cpp_create_definition): Optimize the case of
a8a05998 4441 a macro defined to itself.
44ed91a1 4442
3542203b
NB
44432000-10-29 Neil Booth <neilb@earthling.net>
4444
4445 * cpplex.c (save_comment): Don't store new lines in C++ comments.
4446
6f268adf
MH
44472000-10-29 Michael Hayes <mhayes@redhat.com>
4448
4449 * integrate.c (copy_insn_list): Copy the unchanging flag for calls.
4450
926c5678
GK
44512000-10-28 Geoffrey Keating <geoffk@cygnus.com>
4452
4453 * cpphash.c (cpp_forall_identifiers): Add context variable
4454 for callback routine.
4455 * cppmain.c (dump_macro): Update to match cpp_forall_identifiers
4456 change.
4457 (main): Call cpp_forall_identifiers with null context.
4458 * cpplib.h (cpp_forall_identifiers): Update prototype.
4459
4460 * cppmain.c: Make `parse_in' and `print' static.
4461
69f4cc4b
AM
44622000-10-28 Alan Modra <alan@linuxcare.com.au>
4463
4464 * c-decl.c (finish_function): Clear c_function_name_declared_p.
4465
ce73761f
RH
44662000-10-28 Richard Henderson <rth@redhat.com>
4467
4468 * regrename.c (scan_rtx_address): Frob action, not class,
4469 when trying to disable optimization.
4470
2c21b247
MM
44712000-10-28 Mark Mitchell <mark@codesourcery.com>
4472
4473 * c-semantics.c (make_rtl_for_local_static): Don't clobber
4474 DECL_ASSEMBLER_NAME.
4475
8763704d
JM
44762000-10-28 Joseph S. Myers <jsm28@cam.ac.uk>
4477
4478 * configure.in: Determine and substitute gcc_version_full.
4479 * configure: Regenerate.
4480 * gccbug.in: Use it to give full version. Don't allow
4481 confidential PRs.
4482
85941a0a
RH
44832000-10-28 Richard Henderson <rth@redhat.com>
4484
4485 * recog.c (split_all_insns): Run cleanup_subreg_operands
4486 after reload.
4487
4488 * regrename.c (regrename_optimize): Verify that all registers of
4489 a multiple register mode are available.
4490 (scan_rtx_address): Accept the mode of the address; all callers
4491 changed.
4492
4493 * cpplib.c (run_directive): Fix prototype.
4494
69add2a8
BS
44952000-10-28 Bernd Schmidt <bernds@redhat.co.uk>
4496
4497 * reload.c (find_reloads): Distinguish "wins" so that we know whether
4498 a given operand won because of a matching constraint or not; then use
4499 that information to compute goal_alternative_matched properly.
4c3a2649
BS
4500 * reload1.c (choose_reload_regs): Never set reload_override_in for an
4501 optional reload.
69add2a8 4502
005f39ce
BS
4503 * config/ia64/ia64.h (RTX_COSTS): A few more entries, and a more
4504 accurate value for MULT.
55d8cb78
BS
4505 * config/ia64/ia64.c (ia64_print_operand): Require probability to be
4506 2% or > 98% before using static branch prediction bits.
005f39ce 4507
93c80368
NB
45082000-10-28 Neil Booth <neilb@earthling.net>
4509
4510 New macro expander.
a8a05998 4511
93c80368
NB
4512 * cpplib.c (struct answer): New.
4513 (struct if_stack): Use cpp_lexer_pos rather than line and col.
4514 Rename cmacro mi_cmacro.
4515 (struct directive, KANDR, STDC89, EXTENSION, COND, IF_COND, INCL,
4516 IN_I): New directive and flags.
4517 (skip_rest_of_line, check_eol, run_directive, glue_header_name,
4518 parse_answer, parse_assertion, find_answer): New functions.
4519 (parse_ifdef, detect_if_not_defined, validate_else): Remove.
4520 (lex_macro_node): New function to replace parse_ifdef and
4521 get_define_node.
4522
4523 (_cpp_handle_directive): New function, combines _cpp_check_directive
4524 and _cpp_check_linemarker.
4525
4526 (do_define, do_undef, parse_include, do_include, do_import,
4527 do_include_next, read_line_number, do_line, do_ident, do_pragma,
4528 do_pragma_once, do_pragma_poison, do_pragma_dependency):
4529 Update for new token getting interface.
4530
4531 (do_ifdef, do_ifndef, do_if, do_else, do_endif, push_conditional)
4532 : Update for new multiple-include optimisation technique.
4533 (do_elif): Don't forget to invalidate controlling macros.
4534
4535 (unwind_if_stack, cpp_defined, cpp_push_buffer, cpp_pop_buffer): Update.
4536 (parse_assertion, parse_answer, find_answer, _cpp_test_assertion):
4537 Functions to handle assertions with the new token interface.
4538 (do_assert, do_unassert): Use them.
4539
4540 (cpp_define, _cpp_define_builtin, cpp_undef, cpp_assert, cpp_unassert):
4541 Use run_directive.
4542
4543 (_cpp_init_stacks): Register directive names. Don't register special
4544 nodes.
4545
4546 * cpperror.c (print_containing_files, _cpp_begin_message): Update to
4547 new position recording regime.
4548 (cpp_ice, cpp_fatal, cpp_error, cpp_error_with_line, cpp_warning,
4549 cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line,
4550 cpp_pedwarn_with_file_and_line): Update for _cpp_begin_message changes.
4551 (cpp_type2name): Move to cpplex.c.
4552
4553 * cppexp.c (parse_charconst): spec_nodes is no longer a pointer.
4554 (parse_defined): Update to handle new multiple include optimisation
4555 method. Remove poisoned identifier warning.
4556 (parse_assertion, TYPE_NAME): Delete.
4557 (lex): Update for multiple include optimisation, removal of
4558 CPP_DEFINED, to use _cpp_test_assertion for assertions and
4559 cpp_token_as_text.
4560 (_cpp_parse_expr): Update for MI optimisation, and to use op_as_text.
4561 (op_as_text): New function, to wrap cpp_token_as_text.
4562
4563 * cppfiles.c (stack_include_file, _cpp_pop_file_buffer):
4564 Update for MI optimisation.
4565 (_cpp_execute_include): Take a token rather than 3 arguments. Fix
4566 segfault on diagnostic.
4567 (_cpp_compare_file_date): Take a token rather than 3 args.
4568 (cpp_read_file): Work correctly for zero-length files.
4569
4570 * cpphash.c (_cpp_init_macros, _cpp_cleanup_macros): Rename
4571 _cpp_init_hashtable and _cpp_cleanup_hashtable.
4572 (cpp_lookup): Place identifiers at front of identifier pool
4573 for _cpp_lookup_with_hash.
4574 (_cpp_lookup_with_hash): Require identifiers to be at the front of
4575 the identifier pool. Commit the memory if not already in the
4576 hash table.
4577
4578 * cppinit.c (cpp_reader_init): Move cpp_init_completed test to top.
4579 Initialise various members of cpp_reader, memory pools, and the
4580 special nodes.
4581 (cpp_printer_init): Delete.
4582 (cpp_cleanup): Update.
4583 (struct builtin, builtin_array, initialize_builtins): Update for new
4584 hashnode definition and builtin handling.
4585 (cpp_start_read, cpp_finish): Don't take or initialise a
4586 printer. Update.
4587
4588 * cpplib.h (cpp_printer, cpp_toklist, CPP_DEFINED, BOL,
4589 PASTED, VAR_ARGS, BEG_OF_FILE, IN_DIRECTIVE, KNOWN_DIRECTIVE,
4590 T_VOID, T_SPECLINE, T_DATE, T_FILE, T_BASE_FILE, T_INCLUDE_LEVEL,
4591 T_TIME, T_STDC, T_OPERATOR, T_POISON, T_MACRO, T_ASSERTION): Delete.
4592 (struct cpp_pool, struct cpp_macro, struct cpp_lexer_pos,
4593 struct cpp_lookahead, CPP_DHASH, enum mi_state, enum mi_ind,
4594 NO_EXPAND, VARARGS_FIRST, struct cpp_token_with_pos,
4595 struct toklist, struct cpp_context, struct specnodes,
4596 TOKEN_LOOKAHEAD, TOKEN_BUFFSIZE, NODE_OPERATOR, NODE_POISONED,
4597 NODE_BUILTIN, NODE_DIAGNOSTIC, NT_VOID, NT_MACRO, NT_ASSERTION,
4598 enum builtin_type, cpp_can_paste): New.
4599 (struct cpp_token): Delete line and col members.
4600 (struct cpp_buffer): New member output_lineno.
4601 (struct lexer_state): Delete indented, in_lex_line, seen_dot.
4602 Add va_args_ok, poisoned_ok, prevent_expansion, parsing_args.
4603 (struct cpp_reader): New members lexer_pos, macro_pos, directive_pos,
4604 ident_pool, temp_string_pool, macro_pool, argument_pool, string_pool,
4605 base_context, context, directive, mi_state, mi_if_not_defined,
4606 mi_lexed, mi_cmacro, mi_ind_cmacro, la_read, la_write, la_unused,
4607 mlstring_pos, macro_buffer, macro_buffer_len.
4608 Delete members mls_line, mls_column, token_list, potential_control_macro,
4609 temp_tokens, temp_cap, temp_alloced, temp_used, first_directive_token,
4610 context_cap, cur_context, no_expand_level, paste_level, contexts, args,
4611 save_parameter_spellings, need_newline, .
4612 Change type of date, time and spec_nodes members.
4613 Change prototypes for include and ident callbacks.
4614 (struct cpp_hashnode): Change type of name. Remove union members
4615 expansion and code. Add members macro, operator and builtin.
4616
4617 (cpp_token_len, cpp_token_as_text, cpp_spell_token, cpp_start_read,
4618 cpp_finish, cpp_avoid_paste, cpp_get_token, cpp_get_line,
4619 cpp_get_output_line, cpp_macro_definition, cpp_start_lookahead,
4620 cpp_stop_lookahead): New prototypes.
4621 (cpp_printer_init, cpp_dump_definition): Delete prototypes.
4622
4623 (U_CHAR, U, ustrcmp, ustrncmp, ustrlen, uxstrdup, ustrchr, ufputs):
4624 Move from cpphash.h.
4625
4626 * cpphash.h (U_CHAR, U, ustrcmp, ustrncmp, ustrlen, uxstrdup, ustrchr,
4627 ufputs): Move to cpplib.h.
4628 (enum spell_type, struct token_spelling, _cpp_token_spellings, TOKEN_SPELL,
4629 TOKEN_NAME, struct answer, FREE_ANSWER, KANDR, STDC89, EXTENSION,
4630 COND, EXPAND, INCL, COMMENTS, IN_I, struct directive, directive_handler,
4631 struct spec_nodes, _cpp_digraph_spellings, _cpp_free_temp_tokens,
4632 _cpp_init_input_buffer, _cpp_grow_token_buffer, _cpp_init_toklist,
4633 _cpp_clear_toklist, _cpp_expand_token_space, _cpp_expand_name_space,
4634 _cpp_equiv_tokens, _cpp_equiv_toklists, _cpp_process_directive,
4635 _cpp_run_directive, _cpp_get_line, _cpp_get_raw_token, _cpp_glue_header_name,
4636 _cpp_can_paste, _cpp_check_directive, _cpp_check_linemarker,
4637 _cpp_parse_assertion, _cpp_find_answer): Delete.
4638 (VALID_SIGN, ALIGN, POOL_FRONT, POOL_LIMIT, POOL_BASE, POOL_SIZE,
4639 POOL_USED, POOL_COMMIT, struct cpp_chunk, _cpp_lex_token, _cpp_init_pool,
4640 _cpp_free_pool, _cpp_pool_reserve, _cpp_pool_alloc, _cpp_next_chunk,
4641 _cpp_lock_pool, _cpp_unlock_pool, _cpp_test_assertion,
4642 _cpp_handle_directive, DSC): New.
4643 (struct include_file): New member defined.
4644
4645 (DO_NOT_REREAD, _cpp_begin_message, _cpp_execute_include,
4646 _cpp_compare_file_date): Update.
4647 (_cpp_pop_context, _cpp_get_token, _cpp_free_lookaheads, _cpp_push_token): New.
4648 (_cpp_init_macros, _cpp_cleanup_macros): Rename to _cpp_init_hashtable,
4649 _cpp_cleanup_hashtable.
4650
4651 * Makefile.in: Remove cppoutput.c.
a8a05998 4652
93c80368
NB
4653 * cppoutput.c: Delete
4654
4655 * fixheader.c (read_scan_file): Update for new cpp_get_token
4656 prototype.
4657 (recognized_function): New argument LINE.
4658
4659 * scan-decls.c (skip_to_closing_brace, scan_decls): Update for
4660 new cpp_get_token prototype.
4661
4662 * scan.h (recognized_function): Update prototype.
4663
4664 * po/POTFILES.in: Remove cppoutput.c.
a8a05998 4665
229a2e65
MM
46662000-10-27 Mark Mitchell <mark@codesourcery.com>
4667
4668 * c-typeck.c (check_init_type_bitfields): Remove.
4669 (constructor_incremental): Likewise.
4670 (struct constructor_stack): Remove incremental bit.
4671 (struct initializer_stack): Likewise.
4672 (start_init): Don't play with constructor_incremental.
4673 (finish_init): Likewise.
4674 (really_start_incremental_init): Likewise.
4675 (push_init_level): Likewise.
4676 (pop_init_level): Likewise.
4677 (output_init_level): Likewise.
4678 (output_pending_init_elements): Likewise.
4679
63eb1269
MC
46802000-10-21 Mike Coleman <mcoleman2@kc.rr.com>
4681
4682 * c-pragma.c (handle_pragma_pack): Initialize align to -1.
a8a05998 4683 Improve error messages. Correct parsing of
63eb1269
MC
4684 #pragma pack(pop [,id]). Do not check the user-supplied
4685 alignment if we're popping.
4686
4687 * gcc.dg/pack-test-1.c: New test case.
4688 * gcc.dg/pack-test-2.c: New test case.
4689 * gcc.dg/pack-test-1.h: New file.
4690
ae2eceaa
NB
46912000-10-27 Neil Booth <neilb@earthling.net>
4692
4693 * cpp.texi: Update.
4694
04e149ab
KC
46952000-10-27 Kelley Cook <kelley.cook@home.com>
4696
4697 * invoke.texi: Document -mintel-syntax
4698
2b2a8f1f
RH
46992000-10-27 Richard Henderson <rth@redhat.com>
4700
4701 * invoke.texi: Document -frename-registers. Add it to -O3.
4702 * toplev.c (rest_of_compilation): Run regrename before ifcvt2.
4703 (enum dump_file_index, dump_file): Update order.
4704 (main): Set flag_rename_registers at -O3.
4705
10c9f189
RH
47062000-10-27 Richard Henderson <rth@redhat.com>
4707
93c89ab3
RH
4708 * config/alpha/alpha.h (enum reg_class): Add PV_REG.
4709 (REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS): Update.
4710 (REG_CLASS_FROM_LETTER): Assign it to 'c'.
4711 * config/alpha/alpha.md (call_osf_1): Use it.
4712 (call_value_osf_1): Likewise.
4713
10c9f189
RH
4714 * config/ia64/ia64.c: Revert 10-23 patch.
4715 (ia64_hard_regno_rename_ok): New.
4716 * config/ia64/ia64-protos.h: Declare it.
4717 * config/ia64/ia64.h (HARD_REGNO_RENAME_OK): Use it.
4718
541f7d56
BS
47192000-10-27 Bernd Schmidt <bernds@redhat.co.uk>
4720 Richard Henderson <rth@redhat.com>
4721
a8a05998
ZW
4722 * regrename.c: Rewrite to handle multi-register modes and
4723 cond_exec instructions.
4724 * Makefile.in (regrename.o): Update dependancies.
4725 * recog.h (struct operand_alternative): Add is_address.
4726 * recog.c (preprocess_constraints) [case 'p']: Set it.
541f7d56 4727
b8dad04b
ZW
47282000-10-27 Zack Weinberg <zack@wolery.stanford.edu>
4729
4730 * configure.in: If not NO_MINUS_C_MINUS_O, substitute
4731 OUTPUT_OPTION with '-o $@'. Make zlibdir, zlibinc relative to
4732 top level. Kill oldstyle_subdirs. Do not include
4733 $srcdir/$s/Makefile.in in all_lang_makefiles, but do include
4734 $outputs. Do not run configure.lang from config.status.
4735 Rearrange warning-flag logic to correspond to what the
4736 makefile wants. Put special vax stage1 options in
4737 @stage1_flags@ not @stage1_warn_cflags@. Don't do anything
4738 with extra_c_objs, extra_cxx_objs, or extra_cpp_objs.
4739 (--enable-c-cpplib): AC_SUBST(maybe_cpplib) with "libcpp.a" if
4740 switch is given, nothing otherwise.
4741 * configure.lang: Delete.
4742
a8a05998
ZW
4743 * Makefile.in: Expunge all traces of extra_c_objs,
4744 extra_cxx_objs, and extra_cpp_objs. Set MAYBE_CPPLIB from
4745 @maybe_cpplib@. Add $(MAYBE_CPPLIB) to C_AND_OBJC_OBJS. Set
4746 warning options via a three level scheme so that -pedantic and
4747 -Wtraditional are not used for non-C front ends: LOOSE_WARN,
4748 STRICT1_WARN, STRICT2_WARN -> $(@D)-warn, GCC_WARN_CFLAGS ->
4749 WARN_CFLAGS. Distinguish STAGE1_CFLAGS from BOOT_CFLAGS.
b8dad04b
ZW
4750 Add -I$(@D) and -I$(srcdir)/$(@D) to INCLUDES.
4751 Set OUTPUT_OPTION, ZLIB, ZLIBINC. Do not set P,
a8a05998
ZW
4752 LANG_FLAGS_TO_PASS. Add OUTPUT_OPTION to all object-file
4753 generation rules. Wrap all rules that change the current
4754 directory in parentheses; pmake doesn't spawn a new shell for
4755 each command. Expunge all references to $(P). When one
4756 command depends on another and they're run all at once, use &&
4757 to separate them, not ;. Add libgcc_s$(SHLIB_EXT) to files
4758 deleted on make clean. Force OUTPUT_OPTION='-o $@' in stage2
4759 and beyond.
b8dad04b
ZW
4760
4761 * objc/Make-lang.in: Wrap all rules that change the current
4762 directory in parentheses. Expunge all references to $(P).
4763 When one command depends on another and they're run all at
4764 once, use && to separate them, not ;. Add OUTPUT_OPTION to
4765 all object-file generation rules. Delete obsolete variables.
4766 * objc/Makefile.in: Delete.
4767
fadb729c
JJ
47682000-10-27 Jakub Jelinek <jakub@redhat.com>
4769
4770 * calls.c (expand_call): If sibcall_failure is set during pass 1,
4771 clear tail_call_insns as well.
4772
254bb256
NC
47732000-10-27 Nick Clifton <nickc@redhat.com>
4774
4775 * config/arm/arm-protos.h (arm_function_ok_for_sibcall): Add
4776 prototype.
4777
8eb99146
RH
47782000-10-26 Richard Henderson <rth@redhat.com>
4779
b8dad04b 4780 * calls.c (expand_call): Supress sibcall if we have a
8eb99146
RH
4781 BLKmode return in registers.
4782
036099eb
BS
47832000-10-26 Bernd Schmidt <bernds@redhat.co.uk>
4784
4785 * ia64.h (PREFERRED_RELOAD_CLASS): Force floating point constants
4786 into memory.
4787
13c6f0d5
NS
47882000-10-26 Nathan Sidwell <nathan@codesourcery.com>
4789
4790 * tree.c (make_node, case 't'): Set alignment to that of
4791 char_type_node.
4792 * expr.c (move_by_pieces_ninsns): Abort if some length remains.
4793
be5aeb60
MM
47942000-10-25 Mark Mitchell <mark@codesourcery.com>
4795
4796 * Makefile.in (site.exp): Define HAVE_LIBSTDCXX_V3.
4797 * configure.in (enable-libstdcxx-v3): Arrange to have
4798 HAVE_LIBSTDCXX_V3 substituted into the output files.
4799
78192b09
RH
48002000-10-25 Richard Henderson <rth@redhat.com>
4801
4667f705
RH
4802 * recog.c (constrain_operands): Initialize which_alternative
4803 before no alternatives early exit.
4804
78192b09
RH
4805 * cse.c (find_comparison_args): Check that we can reverse a
4806 comparison if needed before accepting the substitution.
4807
081b49f1
RH
4808 * reload.c (find_reloads_address_part): Kill rtx obstack hackery.
4809
d4f1c1fa
RH
4810 * simplify-rtx.c (simplify_relational_operation): Sign extend
4811 low words before sign extending to high words.
4812
bc27e96c
NC
48132000-10-25 Nick Clifton <nickc@redhat.com>
4814
4815 * config/mcore/mcore.c: Include config.h before system.h.
4816
48172000-10-25 Ray Essick <essick@ddna.labs.mot.com>
4818
4819 * config/mcore/mcore.md (return): Force function epilogue to
4820 always be generated to work around epilogue suppression bug in
4821 M*Core backend.
4822
e0c9fbb7
JM
48232000-10-25 Joseph S. Myers <jsm28@cam.ac.uk>
4824
4825 * c-decl.c (grokdeclarator): Move warning for qualified void
4826 return types with -pedantic to when the function type is
4827 constructed. At -W, warn in general for qualified function return
4828 types, except for volatile void.
4829 * invoke.texi: Document this new warning at -W.
4830
138e79e7
NB
48312000-10-25 Neil Booth <neilb@earthling.net>
4832
b8dad04b
ZW
4833 * cpp.texi: Update with implementation-defined behavior and
4834 internal limits.
138e79e7 4835
dc5041ab
JJ
48362000-10-25 Jakub Jelinek <jakub@redhat.com>
4837
4838 * stor-layout.c (layout_type): If TYPE_ALIAS_SET was already set on the
4839 incomplete type force it into alias set 0.
4840
e004f2f7
JW
4841Wed Oct 25 01:02:44 EDT 2000 John Wehle (john@feith.com)
4842
4843 * alias.c: Include basic-block.h.
4844 (loop_p): New function.
4845 (mark_constant_function): Use it.
4846 * Makefile.in (alias.o): Update dependencies.
4847
15c09738
AH
48482000-10-24 Aldy Hernandez <aldyh@redhat.com>
4849
4850 * config/mn10300/mn10300.c (secondary_reload_class): Treat pseudos
4851 like memory.
b8dad04b 4852
a8ca7756
JW
48532000-10-24 Jim Wilson <wilson@cygnus.com>
4854
4855 * expmed.c (store_bit_field): Move integer pun code down after
4856 code that calls emit_move_insn for entire register move.
4857 * stor-layout.c (compute_record_mode): Revert Mar 25, Aug 18, and
4858 Oct 20 changes. Only store mode in TYPE_MODE if RECORD_TYPE.
b8dad04b 4859
c0fc376b
RH
48602000-10-24 Richard Henderson <rth@cygnus.com>
4861
4862 * rtlanal.c (rtx_unstable_p, rtx_varies_p): Don't consider pic
4863 register stable if PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
4864
d7836e38
AH
48652000-10-24 Aldy Hernandez <aldyh@redhat.com>
4866
b8dad04b
ZW
4867 * gcse.c (cprop_insn): do not propagate constants into jump_insn
4868 for machines with CC0 more than once.
d7836e38 4869
5e2c51ba
RH
48702000-10-24 Richard Henderson <rth@cygnus.com>, Aldy <aldyh@cygnus.com>
4871
b8dad04b
ZW
4872 * config/mn10300/mn10300.h (PREFERRED_RELOAD_CLASS): Treat
4873 pseudos just like memory.
5e2c51ba 4874
c71e1201
AO
48752000-10-24 Alexandre Oliva <aoliva@redhat.com>
4876
4877 * combine.c (distribute_notes): Discard REG_LIBCALL and REG_RETVAL
4878 when deleting libcall sequence collapsed to a single instruction.
4879
5129d2ce
AH
48802000-10-24 Andrew Haley <aph@cygnus.co.uk>
4881
4882 * expr.c (do_store_flag): Don't crash if either side of a
4883 comparison is error_mark_node.
4884
f85b5d65
JJ
48852000-10-24 Jakub Jelinek <jakub@redhat.com>
4886
4887 * sibcall.c (purge_mem_unchanging_flag): New function.
4888 (optimize_sibling_and_tail_recursive_calls): Call it.
4889
4adee315
PT
48902000-10-24 Philipp Thomas <pthomas@suse.de>
4891
4892 * Makefile.in (check-po): New target for doing checks in the po
4893 subdir if all languages configured.
4894 (CHECK_TARGETS): Add @CHECK_PO@, replaced with check-po via
4895 configure if NLS is enabled.
4896 * configure.in: If NLS is enabled, substitute CHECK_PO by check-po,
4897 otherwise leave empty.
4898 * configure: Regenerate.
4899
fb204271
DN
49002000-10-23 Diego Novillo <dnovillo@cygnus.com>
4901
4902 * i386.c (print_operand): Handle new 'A' formatting code.
4903 387 opcodes need suffixes even with -mintel-syntax.
4904 Check for explicit size override (codes 'b', 'w' and 'k').
4905 (print_operand_address): Check if register prefix is needed when
4906 emitting `ds' segment override.
4907 * i386.h: Add comment about new 'A' formatting code.
4908 * i386.md (jump and call patterns): Emit absolute references using %A.
4909
8a959ea5
RH
49102000-10-23 Richard Henderson <rth@cygnus.com>
4911
b8dad04b 4912 * config/ia64/ia64.c (ia64_expand_prologue): Mark extra
8a959ea5
RH
4913 output registers as fixed.
4914 (ia64_function_epilogue): Undo output fixation.
4915
964686de
RH
49162000-10-23 Richard Henderson <rth@cygnus.com>
4917
4918 * config/alpha/alpha.md: Add names for all unnamed insns; use
4919 define_insn_and_split in some obvious places.
4920 (lda): Remove.
4921 (zero_extendqihi2): Use an expander w/ nonimmediate_operand for BWX.
4922 (zero_extendqisi2, zero_extendqidi2): Likewise.
4923 (zero_extendhisi2, zero_extendhidi2): Likewise.
4924 (abs splitters): Fix match_scratch operand number.
4925 (bcc_reverse): Swap pc & label instead of non-canonical compare.
4926
18a3c539
JW
49272000-10-23 Jim Wilson <wilson@cygnus.com>
4928
4929 * ia64.c (ia64_print_operand, case 'r'): Correct comment. Handle
4930 CONST_INT.
4931 * ia64.md (cmpsi_adjusted): Use %r3.
4932 (cmpdi_adjusted): Likewise.
4933
57dd137f
DN
49342000-10-23 Diego Novillo <dnovillo@cygnus.com>
4935
4936 * config/i386/att.h (ASM_FILE_START): Define.
4937
d984704d
DN
49382000-10-23 Diego Novillo <dnovillo@cygnus.com>
4939
4940 * config/i386/linux.h (ASM_FILE_START): Define.
4941
261f21e7
DL
4942Wed Oct 18 11:16:40 2000 Donald Lindsay <dlindsay@cygnus.com>
4943
4944 * gcc/configure.in: m68k-coff tm_file should not have libgloss.h,
4945 since this (only) drags in a crt0.o reference that the .ld files
4946 also introduce.
4947
96af667a
GK
49482000-10-23 Geoff Keating <geoffk@cygnus.com>
4949
2af88768
GK
4950 * reload1.c (reload_reg_reaches_end_p): A RELOAD_OTHER can
4951 overwrite the value in a RELOAD_FOR_INPUT and other kinds of
4952 reloads just like an RELOAD_FOR_OUTPUT would.
4953
96af667a
GK
4954 * local-alloc.c (update_equiv_regs): Add an abort(). When
4955 deleting or moving insns, update reg_equiv[regno].init_insns.
4956
d252a515
MM
49572000-10-23 Mark Mitchell <mark@codesourcery.com>
4958
4959 * c-tree.texi: Improve documentation for IF_STMTs and related
4960 conditional statements.
4961
f9808f81
MM
49622000-10-22 Mark Mitchell <mark@codesourcery.com>
4963
4964 * expr.c (do_preexpand_calls): Remove.
4965 (same_from_p): Don't use CALL_EXPR_RTL.
4966 (expand_expr): Don't call preexpand_calls, or use CALL_EXPR_RTL.
4967 (preexpand_calls): Remove.
4968 * tree.c (first_rtl_op): Remove CALL_EXPR case.
4969 (unsave_expr_1): Likewise.
4970 * tree.def (CALL_EXPR): Give it only two slots.
4971 * tree.h (CALL_EXPR_RTL): Remove.
4972
ae4bd622
CC
49732000-10-21 Chandrakala Chavva <cchavva@redhat.com>
4974
4975 * libgcc-std.ver (__addvsi3, __addvdi3, __subvsi3, __subvdi3,
b8dad04b
ZW
4976 __mulvsi3, __negvsi2, __negvdi2, __absvsi2, __absvdi2, __mulvdi3):
4977 New functions.
ae4bd622 4978
3e555c7d
AO
49792000-10-22 Alexandre Oliva <aoliva@redhat.com>
4980
4981 * calls.c (combine_pending_stack_adjustment_and_call): Don't
4982 adjust stack when unadjusted_alignment ends up as zero.
4983
99bdaa68
JM
49842000-10-22 Joseph S. Myers <jsm28@cam.ac.uk>
4985
4986 * fixinc/genfixes: Remove EGCS reference.
4987 * install.texi: Remove EGCS reference.
4988 * INSTALL: Regenerate.
4989
e36308b0
MM
49902000-10-22 Mark Mitchell <mark@codesourcery.com>
4991
4992 * tree.h (TYPE_IS_SIZETYPE): Add more documentation.
4993
bf6eb15f
JM
49942000-10-21 Joseph S. Myers <jsm28@cam.ac.uk>
4995
4996 * diagnostic.c: Remove EGCS reference in comment.
4997
e62ff0c3
RK
4998Sat Oct 21 08:24:25 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4999
5000 * loop.c (strength_reduce): Fix error in last change.
5001
0ad7574f
DE
50022000-10-20 David Edelsohn <edelsohn@gnu.org>
5003
5004 * Makefile.in (SHLIB_NM_FLAGS): New.
5005 (libgcc.mk): Pass it.
5006 * mklibgcc.in (libgcc.map): Use it.
5007
5008 * rs6000/t-aix43 (SHLIB_EXT, SHLIB_LINK, SHLIB_LIBS,
5009 SHLIB_MKMAP, SHLIB_MAPFILES, SHLIB_NM_FLAGS): New.
5010
8f54374e
KG
50112000-10-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5012
5013 * mips.h (REG_CLASS_FROM_LETTER): Cast array arg to unsigned char.
5014
5015 * sparc.c (load_pic_register): Delete unused varaible.
5016
5017 * libgcc2.c (__addvsi3): Delete unused variable.
5018
5019 * libgcc2.h (__absvsi2, __absvdi2, __addvsi3, __addvdi3,
5020 __subvsi3, __subvdi3, __mulvsi3, __mulvdi3, __negvsi2,
5021 __negvdi2): Prototype.
5022
5023 * ssa.c (apply_delayed_renames): Avoid undefined operation.
5024
5025 * toplev.c (display_target_options): Make static to match
5026 prototype. Delete empty declaration.
5027
3f568531
TT
50282000-10-20 Tom Tromey <tromey@cygnus.com>
5029
5030 * cppspec.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Added -MF and -MT.
5031 * gcc.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Added -MF and -MT.
5032
235783d1
RK
5033Fri Oct 20 17:05:49 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5034
5035 * expr.c (expand_expr, case SAVE_EXPR): Set RTX_UNCHANGING_P on
5036 returned MEM.
5037 (expand_expr_unaligned, case ARRAY_REF): Check that index is
5038 a constant before comparing it; use tree_low_cst.
5039 * tree.c (save_expr): Set TREE_READONLY.
5040 (substitute_expr): Return inside of NON_LVALUE_EXPR.
5041 (build, build1): Set TREE_READONLY if all operands are.
5042 (build_index_type): If upper bound is a negative number, lower
5043 bound is zero and sizetype is unsigned, use upper bound of one and
5044 lower of zero.
5045
2e44948d
DE
50462000-10-20 David Edelsohn <edelsohn@gnu.org>
5047
5048 * gcc.c (process_command, main): Use "because" instead of
5049 "since" in error messages.
5050
44475138
RK
5051Fri Oct 20 13:33:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5052
382110c0
RK
5053 * stor-layout.c (compute_record_mode): Use tree_low_cst.
5054 Don't use mode of field for record unless sizes are the same.
5055 (layout_type, case ARRAY_TYPE): Remove special bounds handling
5056 previously added for Ada; also change to using host_integerp
5057 and tree_low_cst.
5058
1dcdb0df
RK
5059 * loop.c (strength_reduce): Show when new register made for
5060 giv is known to be a pointer and its aligment if so and known.
5061 (loop_dump_aux): Show VERBOSE parameter unused.
5062
ebb13e7e
RK
5063 * gcse.c (set_hash_table_size): Now unsigned.
5064 * sdbout.c (template_name_p): Add "const" to avoid warnings.
5065 (sdbout_record_type_name, plain_type_1, sdbout_symbol): Likewise.
5066 (sdbout_one_type, sdbout_parms, sdbout_reg_parms): Likewise.
5067 (sdbout_end_epilogue): Remove variable NAME.
5068 * system.h (getopt): Add default definition.
5069 * config/alpha/alpha.c (print_operand): Don't continue processing
5070 after issuing error.
5071 (summarize_insn): Avoid use of UL in constant.
5072
1468899d
RK
5073 * function.c (locate_and_pad_parm): Use host_integerp and tree_low_cst.
5074
44475138
RK
5075 * fold-const.c (force_fit_type): Unsigned values can overflow
5076 if they are sizetype.
5077 (int_const_binop): Don't use cache if overflows.
391db8c9 5078
23ccfa6d
RH
50792000-10-20 Richard Henderson <rth@cygnus.com>
5080
5081 * function.c (locate_and_pad_parm): Zero alignment_pad.
5082
4ca0f257
RH
5083 * regrename.c (rr_replace_reg): Rewrite to use recog_data to
5084 perform substitutions, and apply_change_group to see if it worked.
5085
0345195a
RK
5086Fri Oct 20 13:33:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5087
d57e164f
RK
5088 * dwarf2out.c (add_bound_info): Also ignore COND_EXPR.
5089
0345195a
RK
5090 * combine.c (struct undo): Change int to unsigned int.
5091 (do_SUBST_INT): Args are unsigned int.
5092 (make_extraction, force_to_mode): Use proper type when forming mask.
5093 (make_field_assignment): Likewise.
5094
2f74f7e9
JM
50952000-10-20 Joseph S. Myers <jsm28@cam.ac.uk>
5096
5097 * c-common.c (check_format_info_recurse): Extract string constant
5098 initializers from non-volatile constant arrays and check them as
5099 formats.
5100 * c-typeck.c (decl_constant_value): Don't check pedantic or check
5101 for DECL_MODE (decl) != BLKmode.
5102 (decl_constant_value_for_broken_optimization): New function which
5103 includes these checks.
5104 (default_conversion, convert_for_assignment, digest_init): Use
5105 decl_constant_value_for_broken_optimization instead of
5106 decl_constant_value.
5107
971774bb
MM
51082000-10-20 Mark Mitchell <mark@codesourcery.com>
5109
5110 * tree.h (DECL_ALIGN_UNIT): New macro.
5111
afee2a52
MM
51122000-10-14 Marek Michalkiewicz <marekm@linux.org.pl>
5113
5114 * config/avr/avr-protos.h (avr_output_bld): New.
5115 (out_shift_with_cnt): Add t_len argument.
5116 * config/avr/avr.c (avr_num_arg_regs): Remove -mpack-args.
5117 (output_movqi, output_movhi, output_movsisf): Optimize loading
5118 any constant with exactly one bit set to NO_LD_REGS.
5119 (out_shift_with_cnt): Optimize output code for size or speed,
5120 depending on optimize_size. Handle small shift counts as well
5121 (if not hand-optimized in ?sh??i3_out). Shifts can be done
5122 with or without a scratch register, with help of __tmp_reg__
5123 or __zero_reg__ if necessary. Add T_LEN argument to pass the
5124 length of TEMPLATE in words, return total insn length in *LEN.
5125 (ashlqi3_out, ashrqi3_out, lshrqi3_out): Change all calls to
5126 out_shift_with_cnt to work with the above change.
5127 (ashlhi3_out, ashlsi3_out, ashrhi3_out, ashrsi3_out, lshrhi3_out,
5128 lshrsi3_out): Likewise. Optimize more known shift count cases.
5129 Remove cases already well optimized in out_shift_with_cnt.
5130 (avr_output_bld): New function.
5131 * config/avr/avr.h (MASK_PACK_ARGS, TARGET_PACK_ARGS): Remove.
5132 (TARGET_SWITCHES): Remove -mpack-args backward compatibility.
5133 * config/avr/avr.md (*reload_inqi, *reload_inhi, *reload_insi):
5134 Add reload_completed to insn condition - only for peepholes.
5135 (ashlqi3, ashrqi3, lshrqi3): Correct insn length for shift counts
5136 in a register or memory.
5137 (ashlhi3, ashlsi3, ashrhi3, ashrsi3, lshrhi3, lshrsi3): Likewise.
5138 Do not require a scratch register.
5139 (*ashlhi3_const, *ashlsi3_const, *ashrhi3_const, *ashrsi3_const,
5140 *lshrhi3_const, *lshrsi3_const): New insns and matching peepholes.
5141 Optimize shifts by known count using a scratch register, but only
5142 if one is still available after register allocation.
5143
831f9339 51442000-10-20 J. David Anglin <dave@hiauly1.hia.nrc.ca>
b8dad04b 5145
831f9339
DA
5146 * t-vax: New file. Don't build modules from libgcc1.c.
5147
bf6d9fd7
JW
5148Fri Oct 20 00:57:00 EDT 2000 John Wehle (john@feith.com)
5149
5150 * alias.c: (mark_constant_function): Don't check pure functions.
5151 Initialize and end alias analysis.
5152 (nonlocal_mentioned_p): Rename from nonlocal_reference_p.
5153 Don't make a special exception for recursion. Handle
5154 UNSPEC_VOLATILE. Don't assume ASM_OPERANDS is non-local
5155 unless it's volatile.
5156
5157 * local-alloc.c (equivalence): New structure.
5158 (reg_equiv): Define.
5159 (contains_replace_regs): Remove array and use
5160 field in reg_equiv.
5161 (memref_referenced_p): Likewise.
5162 (no_equiv): Likewise.
5163 (update_equiv_regs): Likewise.
5164
5165 (equiv_init_varies_p,
5166 equiv_init_movable_p): New functions.
5167 (update_equiv_regs): Use them. Use rtx_varies_p
5168 instead of function_invariant_p. Process insns
5169 from end to beginning. Allow a REG_EQUIV insn
5170 within the same loop as a use to be moved, also
5171 allow it to be moved out of a loop. Update
5172 REG_DEAD notes when substituting into an insn.
5173
ef375129
JW
51742000-10-19 Jim Wilson <wilson@cygnus.com>
5175
f4fce7ed
JW
5176 * c-decl.c (start_decl): Check for error_mark_node type before using
5177 COMPLETE_TYPE_P.
5178 (finish_decl): Likewise. Don't give an error if decl type is
5179 already error_mark_node.
5180
ef375129
JW
5181 * haifa-sched.c (compute_trg_info): Add explanatory comments.
5182 New local update_blocks. Use update_blocks to remove duplicates
5183 when computing update blocks. Check for bblst_table overflow.
5184 (schedule_block): Add explanatory comment. Reduce bblst_size by
5185 factor of 2.
5186 * config/ia64/ia64.md (movdi_symbolic): Document loss of REG_LABEL
5187 notes.
b8dad04b 5188
3cf37281
CC
51892000-10-19 Chandrakala Chavva <cchavva@redhat.com>
5190
5191 * libgcc2.c (_mulvsi3): Change variables u and v to a and b.
5192
e6b4d09d
CC
51932000-10-19 Chandrakala Chavva <cchavva@redhat.com>
5194
5195 * expmed.c: Minor corrections in comments.
5196 * invoke.texi: Added desciption for the new option -ftrapv.
5197
3d2adde6
CC
51982000-10-19 Chandrakala Chavva <cchavva@redhat.com>
5199
5200 * libgcc2.c: Added the missing #endif.
5201
1aa9fd24
JH
5202Thu Oct 19 14:25:11 MET DST 2000 Jan Hubicka <jh@suse.cz>
5203
5204 * i386.h (CONST_OK_FOR_LETTER): Re-add 'N'; document.
5205
91ce572a
CC
52062000-10-18 Chandrakala Chavva <cchavva@redhat.com>
5207
b8dad04b
ZW
5208 * expmed.c (expand_mult): Don't do synth_mult optimization for -ftrapv.
5209 Use smulv_optab for -ftrapv.
5210 (expand_mult_highpart): Use unsigned multiply.
5211 (expand_divmod): Special-case division by -1.
5212 For EXACT_DIV_EXPR, do right shift first, then the multiply.
5213 For complex divide, use abs with unsigned result.
5214 * expr.c (force_operand): Use unsigned multiply.
5215 (expand_expr): Use overflow-trapping optabs for signed types if
5216 flag_trapv.
5217 If flag_trapv, don't generate a recursive call with EXPAND_SUM
5218 if the type is signed and the original call wasn't EXPAND_SUM or
5219 EXPAND_INITIALIZER.
5220 * expr.h (addv_optab, subv_optab, smulv_optab, sdivv_optab): Declare.
5221 (negv_optab, absv_optab): Declare.
5222 * flags.h (flag_trapv): Declare.
5223 * genopinit.c (optabs): Add entries for addv_optab, subv_optab,
5224 smulv_optab, sdivv_optab, negv_optab and absv_optab.
91ce572a 5225 (gen_insn): Interpret '$P' as requiring an integer mode,
b8dad04b
ZW
5226 including partial integer modes.
5227 * loop.c (emit_iv_add_mult): Use unsigned expand_mult_add.
5228 (product_cheap_p): Use unsigned expand_mult.
5229 * optabs.c (addv_optab, subv_optab, smulv_optab, sdivv_optab): Define.
5230 (negv_optab, absv_optab): Define.
5231 (expand_binop): Use overflow-trapping optabs for signed types if
5232 flag_trapv.
5233 Handle negv_optab libe neg_optab.
5234 (expand_abs): Take result_unsignedp argument instead of unsignedp one.
5235 Use overflow-trapping optabs for signed result if flag_trapv.
5236 (expand_complex_abs): Use overflow-trapping optabs for signed types if
5237 flag_trapv.
5238 Don't open-code complex absolute-value operation for flag_trapv.
5239 (init_optabs): Initialize addv_optab, subv_optab, smulv_optab,
5240 sdivv_optab, negv_optab and absv_optab.
5241 * toplev.c (flag_trapv): Define.
5242 (lang_independent_options f_options): Include flag_trapv.
5243 * tree.h (TYPE_TRAP_SIGNED): Define.
5244 * libgcc2.c (__addvsi3, __addvdi3, __subvsi3,__subvsi3, __subvdi3,
5245 __mulvsi3, __negvsi2, __negvdi2, __absvsi2, __absvdi2, __mulvdi3):
5246 New functions.
5247 * Makefile.in: add _absvsi2 _absvdi2 _addvsi3 _addvdi3 _subvsi3
5248 _subvdi3 _mulvsi3 _mulvdi3 _negvsi2 _negvdi2.
91ce572a 5249
4c2c5712
GK
52502000-10-18 Geoffrey Keating <geoffk@cygnus.com>
5251 David V. Henkel-Wallace <gumby@cygnus.com>
5252
5253 * config/i386/t-netware: Bring in from the Red Hat tree.
5254 * config/i386/netware.h: Likewise.
5255 * config/netware.h: Likewise.
5256 * config/rs6000/netware.h: Delete.
5257 * configure.in: Add i[34567]86-*-netware.
5258 * configure: Hand-edit to match configure.in change.
5259
6bcedb4e
MM
52602000-10-18 Mark Mitchell <mark@codesourcery.com>
5261
5262 * c-common.h (flag_no_builtin): Declare.
5263 (flag_no_nonansi_builtin): Likewise.
5264 (c_common_nodes_and_builtins): Change prototype.
5265 * c-common.c (flag_no_builtin): New variable.
5266 (flag_no_nonansi_builtin): Likewise.
5267 (c_common_nodes_and_builtins): Remove parameters. Adjust
5268 accordingly.
5269 * c-decl.c (flag_no_builtin): Remove.
5270 (flag_no_nonansi_builtin): Likewise.
5271 (init_decl_processing): Adjust call to
5272 c_common_nodes_and_builtins.
b8dad04b 5273
989b26a7
ME
52742000-10-18 Marc Espie <espie@openbsd.org>
5275
5276 * tm.texi (LIBGCC_SPEC): Synch with reality.
5277
81cf47b2
JM
52782000-10-18 Joseph S. Myers <jsm28@cam.ac.uk>
5279
5280 * c-common.c (check_format_types): Check for writing through a
5281 NULL pointer argument.
5282
27c35f4b
HPN
52832000-10-18 Hans-Peter Nilsson <hp@axis.com>
5284
5285 * tm.texi (Exception Region Output): Document
5286 DWARF_CIE_DATA_ALIGNMENT.
5287 * dwarf2out.c (DWARF_CIE_DATA_ALIGNMENT): Wrap definition in
5288 #ifndef.
5289 [ENABLE_CHECKING] (reg_save): Abort if offset is not a multiple of
5290 DWARF_CIE_DATA_ALIGNMENT.
5291
4a7da9b5
MH
52922000-10-18 Michael Hayes <mhayes@cygnus.com>
5293
5294 * basic-block.h (struct loop): Delete fields pre_header_root
5295 and pre_header_trace and replace with pre_header_edges
5296 and num_pre_header_edges.
5297 * flow.c (flow_loop_dump): Dump pre_header_edges.
5298 (flow_loops_free): Free pre_header_edges.
5299 (flow_loop_pre_header_scan): Calculate pre_header_edges.
5300
42c10750
GP
53012000-10-18 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
5302
5303 * contrib.texi: Update references to steering committee members
5304 and Jeff Law's entry.
5305
ade7d3cc
JM
53062000-10-18 Joseph S. Myers <jsm28@cam.ac.uk>
5307
5308 * c-common.c (CPLUSPLUS_STD_VER, C_STD_VER, C_STD_NAME): Define.
5309 (maybe_read_dollar_number, check_format_info_main): Use them for
5310 pedantic warning messages.
5311
c5251260
JM
53122000-10-18 Joseph S. Myers <jsm28@cam.ac.uk>
5313
5314 * c-common.c (check_format_info_main): Minor cleanup: move
5315 variables into inner scopes; initialize declarations where
5316 appropriate; don't hardcode "scanf" name on warning for zero
5317 width.
5318
67673f5c
MM
53192000-10-17 Mark Mitchell <mark@codesourcery.com>
5320
5321 * c-common.c (back_end_hook): New variable.
5322 * c-common.h (back_end_hook): Declare it.
5323 * c-lang.c (finish_file): Use it.
5324
5325 * emit-rtl.c (init_emit_once): Initialize the const_int_htab
5326 earlier.
b8dad04b 5327
1aa9fd24 53282000-10-18 Jan Hubicka <jh@suse.cz>
265dab10 5329
b8dad04b
ZW
5330 * i386.c (ix86_comparison_operator, put_condition_code,
5331 ix86_match_ccmode, ix86_cc_mode): Handle CCRCmode.
5332 (ix86_expand_strlensi_unroll_1): Use CCRCmode.
5333 * i386.h (EXTRA_CC_MODES): Add CCRCmode.
5334 * i386.md (adddi and negdi splitter): Use CCRCmode.
5335 (add?i_3, add?i_4, add?i_5): Use CCRCmode; swap operands
5336 (subsi3_carry): add '*'
5337 (addsi3_carry_rc, subsi3_carry_rc, x86_movsicc_0_m1_rc): New.
5338 (cmp to add peep2): Use CCRCmode; swap operands.
265dab10 5339
b054460b
KH
53402000-10-18 Kazu Hirata <kazu@hxi.com>
5341
8682223f
KH
5342 * h8300.c: Fix a comment typo.
5343 (round_frame_size): New.
5344 (compute_saved_regs): Likewise.
5345 (push): Likewise.
5346 (pop): Likewise.
5347 (push_order): Remove.
5348 (pop_order): Likewise.
5349 (function_prologue): Rearrange code for readability.
5350 (function_epilogue): Likewise.
5351
b054460b
KH
5352 * config/h8300/h8300.md: Remove an unnecessary sign_extend
5353 expander that is used when not optimizing. Output a tab after
5354 each assembly insns.
5355
f27e6bb2
KH
5356 * reorg.c: Fix formatting.
5357
19ca869b
JR
53582000-10-17 Joern Rennecke <amylaar@redhat.co.uk>
5359
5360 * reload1.c (move2add_note_store): Check for simple
5361 auto-inc in destination.
5362
2ddb1ca1
MC
53632000-10-17 Michael Chastain <chastain@redhat.com>
5364
5365 * config/i386/i386-aout.h: define INT_ASM_OP.
5366
11881f37
AM
5367Tue Oct 17 20:11:08 2000 Alan Modra <alan@linuxcare.com.au>
5368
5369 * pa.c (print_operand): Handle case 'c' for .vtable_inherit
5370
33e39e38
MB
5371Tue Oct 17 20:05:51 2000 Martin Buchholz <martin@xemacs.org>
5372
5373 * i370.md: Fix spelling typo.
5374
832ea3b3
FS
53752000-10-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5376
5377 * function.c (locate_and_pad_parm): Don't align stack unconditionally.
2b7fb034 5378 Fixes execute/20001017-1.c on powerpc-linux-gnu.
832ea3b3
FS
5379
5380 * expr.c (store_constructor): Apply MEM_ALIAS_SET to MEMs only.
2b7fb034 5381 * rs6000/rs6000.c (rs6000_hash_constant): Use X0INT to access a
832ea3b3
FS
5382 LABEL_REF.
5383
5384 * rs6000/rs6000.h (NO_DOLLAR_IN_LABEL, DOLLARS_IN_IDENTIFIERS,
5385 ENCODE_SECTION_INFO, ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Move from
5386 here...
5387 * rs6000/aix.h: ...to here.
5388 * rs6000/linux.h (ASM_APP_ON, ASM_APP_OFF): Define to Linux-style.
5389
4c646291
JJ
53902000-10-17 Jakub Jelinek <jakub@redhat.com>
5391
5392 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Reload gp if needed.
5393
5394 * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Always use call, make
5395 sure linker can relax even the delay slot mov %g1,%o7, fix output
5396 formating.
5397
07e0fe3d
KH
53982000-10-17 Kazu Hirata <kazu@hxi.com>
5399
5400 * config/h8300/h8300.md: Remove an unnecessary zero_extend
5401 expander that is used when not optimizing. Output a tab after
5402 each assembly insns.
5403
10501d8f
CC
54042000-10-17 Chandrakala Chavva <cchavva@redhat.com>
5405
5406 * gcc.c: New options --target-help.
5407 (process_command): Added code to parse this new option.
5408 * toplev.c (display_target_options): New function to support the
5409 above new option.
5410 * cppinit.c (new_pending_directive) : New option OPT_target__help.
5411 (cpp_handle_option): Support this new option.
5412 * invoke.texi: Added notes about --target-help option.
b8dad04b 5413
c330e9c1 54142000-10-17 Graham Stott <grahams@redhat.com>
b8dad04b 5415
c330e9c1
GS
5416 * config/i386/i386.md (testqi_1): Add missing operand prefix
5417 for operand 0.
5418 * config/i386/i386-protos.h: Add missing prototype.
b8dad04b 5419
69ac4831
DN
54202000-10-17 Diego Novillo <dnovillo@cygnus.com>
5421
5422 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Symbol
5423 _GLOBAL_OFFSET_TABLE should not have a $ prefix when
5424 using -mintel-syntax.
5425
b691cb00
JM
54262000-10-17 Joseph S. Myers <jsm28@cam.ac.uk>
5427
5428 * c-common.c (FMT_FLAG_DOLLAR_MULTIPLE): Define.
5429 (format_types): Use it for printf.
5430 (maybe_read_dollar_number): Add parameter for the kind of format
5431 involved. Warn for multiple use for arguments if this is
5432 inappropriate for the kind of format involved.
5433 (check_format_info_main): Update calls to maybe_read_dollar_number.
5434
948eab23
DA
54352000-10-17 J. David Anglin <dave@hiauly1.hia.nrc.ca>
5436
5437 * inclhack.def (hpux_maxint): Also apply fix to values.h.
5438 * fixincl.x: Rebuilt.
5439
1651ab85
AO
54402000-10-17 Alexandre Oliva <aoliva@redhat.com>
5441
5442 * genrecog.c (write_switch): Return the first condition that needs a
5443 label.
5444
2683ed8d
BS
54452000-10-17 Bernd Schmidt <bernds@redhat.co.uk>
5446
5447 * c-tree.h (warn_sequence_point): Move declaration to...
5448 * c-common.h (warn_sequence_point): ... here.
5449 * c-decl.c (warn_sequence_point): Move definition to...
5450 * c-common.c (warn_sequence_point): ... here.
5451 (struct reverse_tree): New.
5452 (reverse_list, reverse_max_depth): New static variables.
5453 (build_reverse_tree, common_ancestor, modify_ok
5454 verify_sequence_points): New functions.
5455 (c_expand_expr_stmt): Call verify_sequence_points if -Wsequence-point.
5456 * c-typeck.c (check_modify_expr): Delete.
5457 (build_modify_expr): Don't call it.
5458
74ff4629
JM
54592000-10-17 Joseph S. Myers <jsm28@cam.ac.uk>
5460
5461 * c-common.h (warn_missing_format_attribute): New variable.
5462 * c-decl.c (warn_missing_format_attribute): New variable.
5463 (c_decode_option): Decode -Wmissing-format-attribute and
5464 -Wno-missing-format-attribute.
5465 * c-common.c (check_function_format): If
5466 -Wmissing-format-attribute, give a warning where a vprintf or
5467 vscanf function is called by a function without its own printf or
5468 scanf attribute.
5469 * toplev.c (documented_lang_options): Add
5470 -Wmissing-format-attribute.
5471 * invoke.texi: Document -Wmissing-format-attribute.
5472
1d3b0e2c
ME
54732000-10-17 Marc Espie <espie@openbsd.org>
5474
5475 * invoke.texi (-shared): Insist on requiring code generation flags
5476 to be used along with -shared, and document the subtle failure that
5477 may occur otherwise.
5478
1c217171
DA
54792000-10-16 J. David Anglin <dave@hiauly1.hia.nrc.ca>
5480
5481 * pa.md (return_internal): Move `use' after `return'.
5482
11f3dc89
TP
54832000-10-16 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
5484
5485 * machmode.def: Correct comment.
5486
0952f89b
RB
54872000-10-16 Rodney Brown <RodneyBrown@mynd.com>
5488
47c10e9b
RB
5489 * print-rtl.c (print_rtx_head): Constify.
5490 * rtl.h (print_rtx_head): Similarly.
5491
0952f89b
RB
5492 * config/pa/pa/pa-protos.h (output_64bit_and, output_64bit_ior):
5493 Constify char * return value.
5494 * config/pa/pa/pa.c
5495 (output_64bit_and, output_64bit_ior): Constify char * return value.
5496 (pa_can_combine_p): Make static.
5497 (function_arg): Decorate unused `named' argument. Fix comment typo.
5498 (function_arg_partial_nregs): Decorate unused `named' argument.
5499
6d2e1454
JM
55002000-10-16 Joseph S. Myers <jsm28@cam.ac.uk>
5501
5502 * c-common.c (format_check_results): New structure.
5503 (finish_dollar_format_checking): Adjust to take a
5504 format_check_results * parameter.
5505 (check_format_info, check_format_info_recurse,
5506 check_format_info_main): Split check_format_info into three
5507 functions, the main checking going in check_format_info_main.
5508 Recurse when any reduction of the format string argument towards a
5509 string literal is done; go down both branches of a conditional
5510 expression. Don't warn for extra format arguments or empty format
5511 strings if they only occur in some branches of a conditional
5512 expression.
5513
4d231df7
KH
55142000-10-16 Kazu Hirata <kazu@hxi.com>
5515
f2a9645f 5516 * config/h8300/h8300.c: Remove obstack. Include ggc.h.
4d231df7 5517
55143861
JJ
55182000-10-16 Jakub Jelinek <jakub@redhat.com>
5519
5520 * rtlanal.c (may_trap_p): Check operand modes of COMPARE.
5521
406df25c
DN
55222000-10-15 Diego Novillo <dnovillo@cygnus.com>
5523
5524 * i386.md (*movsi_or): Switch operand order for intel syntax.
5525
e8beb821
JM
55262000-10-14 Joseph S. Myers <jsm28@cam.ac.uk>
5527
2f6256e7
JM
5528 * PROBLEMS: Remove.
5529
e8beb821
JM
5530 * gcc.texi (Contributing): Update.
5531
c1f9de5a
DN
55322000-10-13 Diego Novillo <dnovillo@cygnus.com>
5533
5534 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Output final jump using
5535 appropriate assembler dialect.
5536
f58e0b0c
AO
55372000-10-13 Alexandre Oliva <aoliva@redhat.com>
5538
5539 * c-common.c (c_expand_builtin): PARAMS-ize prototype.
5540
08f81276
MM
55412000-10-12 Marek Michalkiewicz <marekm@linux.org.pl>
5542
5543 * config/avr/avr.c (output_movhi, output_movsisf): Fix loading
5544 constants 1 and 2 to NO_LD_REGS.
5545
4b945402
KG
55462000-10-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5547
5548 * Makefile.in (c-parse.c, tradcif.c): Create atomically.
b8dad04b 5549
4b945402
KG
5550 * objc/Make-lang.in (objc-parse.c): Likewise.
5551
c7319d87
RE
55522000-10-13 Richard Earnshaw <rearnsha@arm.com>
5553
5554 * arm.c: Include obstack.h
5555 (minipool_obstack, minipool_startobj): Define.
5556 (arm_add_gc_roots): Initialize them.
5557 (create_fix_barrier): Use our new obstack.
5558 (push_minipool_barrier, push_minipool_fix): Likewise.
5559 (arm_reorg): Release obstack memory.
5560
fccf9848
JJ
55612000-10-13 Jakub Jelinek <jakub@redhat.com>
5562
5563 * config/sparc/sparc.md (nonlocal_goto_receiver): Remove.
5564 (prologue, exception_receiver, builtin_setjmp_receiver): New
5565 patterns.
5566 * config/sparc/sparc.h (FINALIZE_PIC): Remove.
5567 * config/sparc/sparc-protos.h (finalize_pic): Remove.
5568 (load_pic_register): New prototype.
5569 * config/sparc/sparc.c (pic_setup_code): Remove.
5570 (finalize_pic): Rename to...
5571 (load_pic_register): ...this function.
5572 Don't look for nonlocal_goto_receivers and emit pic setup code
5573 directly. Don't check current_function_uses_pic_offset_table.
5574
7584b89f
RE
55752000-10-13 Richard Earnshaw <rearnsha@arm.com>
5576
5577 * tree.h (struct obstack): Declare.
5578
1f8f4a0b
MM
55792000-10-12 Mark Mitchell <mark@codesourcery.com>
5580
b8dad04b 5581 Remove obstacks.
1f8f4a0b 5582 * Makefile.in (ggc-callbacks.o): Remove target.
b8dad04b 5583 (flow.o): Depend on GGC_H.
1f8f4a0b
MM
5584 * alias.c (init_alias_analysis):
5585 Remove ggc_p conditionals.
b8dad04b 5586 (end_alias_analysis): Likewise.
1f8f4a0b 5587 * basic-block.h (init_flow): New function.
b8dad04b 5588 (allocate_reg_life_data): Declare.
1f8f4a0b
MM
5589 * bb-reorder.c (function_obstack): Replace with ...
5590 (flow_obstack): ... new variable.
b8dad04b 5591 (fixup_reorder_chain): Use it.
1f8f4a0b 5592 * c-decl.c (ggc_p): Remove.
b8dad04b 5593 (caller-save.c): Don't call oballoc/obfree.
1f8f4a0b
MM
5594 * combine.c (struct
5595 undobuf): Remove storage.
5596 (try_combine): Don't call oballoc.
b8dad04b 5597 (undo_all): Don't call obfree.
1f8f4a0b
MM
5598 * cse.c (insert): Use xmalloc, not
5599 oballoc.
b8dad04b 5600 (cse_main): Adjust accordingly.
1f8f4a0b
MM
5601 * dwarf2out.c (save_rtx): Remove
5602 obstack code.
b8dad04b 5603 (dwarf2out_init): Remove ggc_p conditionals.
1f8f4a0b
MM
5604 * emit-rtl.c (rtl_obstack): Remove.
5605 (gen_rtx_CONST_INT): Remove ggc_p conditionals.
5606 (make_insn_raw): Likewise.
5607 (emit_insn_before): Likewise.
5608 (emit_insn_after): Likewise.
5609 (emit_insn): Likewise.
5610 (gen_sequence): Likewise.
5611 (copy_insn_1): Remove handling of `b' RTL components.
b8dad04b 5612 (init_emit_once): Remove ggc_p conditionals.
1f8f4a0b
MM
5613 * except.c (create_rethrow_ref): Don't fool with obstacks.
5614 (add_partial_entry): Likewise.
5615 (call_get_eh_context): Likewise.
5616 (begin_protect_partials): Likewise.
b8dad04b 5617 (protect_with_terminate): Likewise.
1f8f4a0b 5618 * explow.c
b8dad04b 5619 (plus_constant_wide): Likewise.
1f8f4a0b
MM
5620 * expr.c (init_expr_once):
5621 Likewise.
5622 (emit_block_move): Likewise.
5623 (clear_storage): Likewise.
b8dad04b 5624 (expand_expr): Likewise.
1f8f4a0b
MM
5625 * flow.c (function_obstack): Remove.
5626 (flow_obstack): New variable.
5627 (flow_firstobj): Likewise.
5628 (create_base_block): Use the flow_obstack.
5629 (split_block): Likewise.
5630 (split_edge): Likewise.
5631 (calculate_global_regs_live): Likewise.
5632 (allocate_bb_life_data): Make it static. Likewiwse.
5633 (init_flow): New function.
b8dad04b 5634 (size_int_type_wide): Remove ggc_p conditionals.
1f8f4a0b
MM
5635 * function.c
5636 (push_function_context_to): Don't call save_tree_status.
5637 (pop_function_context_from): Or restore_tree_status.
5638 (assign_stack_local_1): Don't call push_obstacks.
5639 (find_fixup_replacement): Use xmalloc.
5640 (fixup_var_refs_insns): Free the storage.
5641 (insns_for_mem_walk): Don't mess with obstacks.
5642 (instantiate_decls): Likewise.
5643 (trampoline_address): Likewise.
b8dad04b 5644 (expand_function_end): Likewise.
1f8f4a0b
MM
5645 * function.h (sturct function):
5646 Remove obstack-related variables.
5647 (save_tree_status): Don't declare.
b8dad04b 5648 (restore_tree_status): Likewise.
1f8f4a0b 5649 * gcse.c (compute_can_copy):
b8dad04b 5650 Don't call oballoc/obfree.
1f8f4a0b
MM
5651 * genattrtab.c (operate_exp): Remove
5652 ggc_p conditionals.
5653 (simplify_cond): Likewise.
5654 (simplify_test_exp): Don't mess with obstacks.
b8dad04b 5655 (optimize_attrs): Likewise.
1f8f4a0b 5656 * gengenrtl.c (gendef): Don't include
b8dad04b
ZW
5657 ggc_p conditionals.
5658 * ggc-callbacks.c (ggc_p): Remove.
5659 * ggc-none.c (ggc_p): Remove.
5660 * ggc.h (ggc_p): Don't declare.
265dab10 5661 * integrate.c (save_for_inline): Don't mess with obstacks.
1f8f4a0b 5662 (integrate_decl_tree): Likewise.
b8dad04b 5663 (output_inline_function): Likewise.
1f8f4a0b 5664 * lists.c
b8dad04b 5665 (init_EXPR_INSN_LIST_cache): Likewise.
1f8f4a0b
MM
5666 * loop.c (temp_obstack):
5667 Remove.
5668 (rtl_obstack): Likewise.
5669 (init_loop): Don't mess with obstacks.
5670 (reg_address_cost): Free BIVs and GIVs.
5671 (check_insns_for_bivs): Use xmalloc, not oballoc.
5672 (find_mem_givs): Likewise.
5673 (record_biv): Likewise.
5674 (general_induction_var): Likewise.
b8dad04b 5675 (product_cheap_p): Likewse.
1f8f4a0b 5676 * optabs.c (init_one_libfunc): Remove
b8dad04b 5677 ggc_p conditional.
1f8f4a0b
MM
5678 * print-tree.c (debug_tree): Don't use
5679 oballoc/obfree.
b8dad04b 5680 (print_node): Likewise.
1f8f4a0b 5681 * profile.c (output_func_start_profiler):
b8dad04b 5682 Remove call to temporary_allocation.
1f8f4a0b 5683 * reload1.c
b8dad04b 5684 (eliminate_regs_in_insn): Don't mess with obstacks.
1f8f4a0b
MM
5685 * resource.c
5686 (mark_target_live_regs): Use xmalloc.
b8dad04b 5687 (free_resource_info): Free the memory.
1f8f4a0b
MM
5688 * rtl.c (rtl_obstack):
5689 Remove.
5690 (rtvec_alloc): Don't mess with obstacks.
5691 (rtx_alloc): Likewise.
5692 (rtx_free): Remove.
5693 (copy_rtx): Don't handle `b' cases.
b8dad04b 5694 (read_rtx): Use a local rtl_obstack.
1f8f4a0b
MM
5695 * rtl.h (oballoc): Remove.
5696 (obfree): Likewise.
5697 (pop_obstacks): Likewise.
5698 (push_obstacks): Likewise.
5699 (allocate_bb_life_data): Likewise.
5700 (allocate_reg_life_data): Likewise.
b8dad04b 5701 (rtx_free): Likewise.
1f8f4a0b 5702 * sdbout.c (sdbout_queue_anonymous_type):
b8dad04b 5703 Use tree_cons, not saveable_tree_cons.
1f8f4a0b 5704 * simplify-rtx.c
b8dad04b 5705 (cselib_init): Don't mess with obstacks.
1f8f4a0b
MM
5706 * stmt.c
5707 (mark_block_nesting): Mark the label_chain.
5708 (epxand_label): Use ggc_alloc, not oballoc.
5709 (clear_last_expr): Don't mess with obstacks.
5710 (expand_decl_cleanup): Likewise.
5711 (expand_dcc_cleanup): Likewise.
5712 (expand_dhc_cleanup): Likewise.
5713 (expand_anon_union_decl): Likewise.
5714 (add_case_node): Use xmalloc, not oballoc.
5715 (free_case_nodes): New function.
b8dad04b 5716 (expand_end_case): Call it.
1f8f4a0b
MM
5717 * stor-layout.c (layout_type): Don't
5718 mess with obstacks.
b8dad04b 5719 (layout_type): Likewise.
1f8f4a0b
MM
5720 * toplev.c (wrapup_global_declarations):
5721 Likewise.
5722 (compile_file): Remove ggc_p conditionals.
5723 (rest_of_compilation): Call init_flow. Remove ggc_p conditionals.
b8dad04b 5724 (decode_f_option): Remove ggc_p conditionals.
1f8f4a0b
MM
5725 * tree.c
5726 (function_maybepermanent_obstack): Remove.
5727 (maybepermanent_obstack): Likewise.
5728 (function_obstack): Likewise.
5729 (tmeporary_obstack): Likewise.
5730 (momentary_obstack): Likewise.
5731 (temp_decl_obstack): Likewise.
5732 (saveable_obstack): Likewise.
5733 (rtl_obstack): Likewise.
5734 (current_obstack): Likewise.
5735 (expression_obstack): Likewise.
5736 (struct obstack_stack): Likewise.
5737 (obstack_stack): Likewise.
5738 (obstack_stack_obstack): Likewise.
5739 (maybepermanent_firstobj): Likewise.
5740 (temporary_firstobj): Likewise.
5741 (momentary_firstobj): Likewise.
5742 (temp_decl_firstobj): Likewise.
5743 (momentary_function_firstobj): Likewise.
5744 (all_types_permanent): Likewise.
5745 (struct momentary_level): Likewise.
5746 (momentary_stack): Likewise.
5747 (init_obstacks): Remove initialization of removed obstacks.
5748 (save_tree_status): Remove.
5749 (restore_tree_status): Likewise.
5750 (temporary_allocation): Liekwise.
5751 (end_temporary_allocation): Liekwise.
5752 (resume_temporary_allocation): Likewise.
5753 (saveable_allocation): Likewise.
5754 (push_obstacks): Likewise.
5755 (push_obstacks_nochange): Likewise.
5756 (pop_obstacks): Likewise.
5757 (allocation_temporary_p): Likewise.
5758 (permanent_allocation): Likewise.
5759 (preserve_data): Likewise.
5760 (preserve_initializer): Likewise.
5761 (rtl_in_current_obstack): Likewise.
5762 (rtl_in_saveable_obstack): Likewise.
5763 (oballoc): Likewise.
5764 (obfree): Likewise.
5765 (savealloc): Likewise.
5766 (expralloc): Likewise.
5767 (print_obstack_name): Likewise.
5768 (debug_obstack): Likewise.
5769 (object_permanent_p): Likewise.
5770 (push_momentary): Likewise.
5771 (perserve_momentary): Likewise.
5772 (clear_momentary): Likewise.
5773 (pop_momentary): Likewise.
5774 (pop_momentary_nofree): Likewise.
5775 (suspend_momentary): Likewise.
5776 (resume_momentary): Likewise.
5777 (make_node): Don't set TREE_PERMANENT.
5778 (copy_node): Remove ggc_p conditionals. Don't set TYPE_OBSTACK.
5779 Don't set TREE_PERMANENT.
5780 (get_identifier): Remove ggc_p conditionals.
5781 (build_string): Likewise.
5782 (make_tree_vec): Likewise.
5783 (build_decl_list): Remove.
5784 (build_expr_list): Likewise.
5785 (tree_cons): Remove ggc_p conditionals.
5786 (decl_tree_cons): Remove.
5787 (expr_tree_cons): Likewise.
5788 (perm_tree_cons): Likewise.
5789 (temp_tree_cons): Likewise.
5790 (saveable_tree_cons): Likewise.
5791 (build1): Remove ggc_p conditionals.
5792 (build_parse_node): Likewise.
5793 (build_type_attribute_variant): Don't mess with obstacks.
5794 (build_type_copy): Likewise.
5795 (type_hash_canon): Likewise.
5796 (build_pointer_type): Likewise.
5797 (build_reference_type): Likewise.
5798 (build_index_type): Likewise.
5799 (build_range_type): Likewise.
b8dad04b 5800 (dump_tree_statistics): Don't print obstack information.
1f8f4a0b
MM
5801 * tree.h
5802 (struct tree_common): Remove permanent_flag.
5803 (TREE_PERMANENT): Remove.
5804 (TREE_SET_PERMANENT): Likewise.
5805 (TYPE_OBSTACK): Likewise.
5806 (struct tree_type): Remove obstack.
5807 (oballoc): Remove.
5808 (savealloc): Likewise.
5809 (build_decl_list): Likewise.
5810 (build_expr_list): Likewise.
5811 (perm_tree_cons): Likewise.
5812 (temp_tree_cons): Likewise.
5813 (saveable_tree_cons): Likewise.
5814 (decl_tree_cons): Likewise.
5815 (expr_tree_cons): Likewise.
5816 (suspend_momentary): Likewise.
5817 (allocation_temporary_p): Likewise.
5818 (resume_momentary): Likewise.
5819 (push_obstacks_nochange): Likewise.
5820 (permanent_allocation): Likewise.
5821 (push_momentary): Likewise.
5822 (clear_momentary): Likewise.
5823 (pop_momentary): Likewise.
5824 (end_temporary_allocation): Likewise.
5825 (pop_obstacks): Likewise.
5826 (push_obstacks): Likewise.
5827 (pop_momentary_nofree): LIkewise.
5828 (preserve_momentary): Likewise.
5829 (saveable_allocation): Likewise.
5830 (temporary_allocation): Likewise.
5831 (resume_temporary_allocation): Likewise.
5832 (perserve_initializer): Likewise.
5833 (debug_obstack): Likewise.
5834 (rtl_in_current_obstack): Likewise.
5835 (rtl_in_saveable_obstack): Likewise.
b8dad04b 5836 (obfree): Likewise.
1f8f4a0b
MM
5837 * varasm.c (current_obstack): Remove.
5838 (saveable_obstack): Remove.
5839 (rtl_obstack): Remove.
5840 (immed_double_const): Don't mess with obstacks.
5841 (immed_real_cons): Likewise.
5842 (output_constant_def): Likewise.
5843 (init_varasm_status): Use xcalloc.
5844 (mark_pool_constant): Mark the pool constant itself.
5845 (free_varasm_status): Free memory.
5846 (decode_rtx_const): Call bzero directly, rather than expanding it
5847 inline.
5848 (record_rtx_const): Don't mess with obstacks.
5849 (force_const_mem): Likewise.
5850 * config/arm/arm.c (arm_encode_call_attribute): Remove ggc_p
5851 conditionals.
5852 (aof_pic_entry): Likewise.
5853 * config/ia64/ia64.c (ia64_encode_section_info): Likewise.
5854 * config/m32r/m32r.c (m32r_encode_section_info): Likewise.
5855 * config/pa/pa.c (saveable_obstack): Remove.
5856 (rtl_obstack): Likewise.
5857 (current_obstack): Likewise.
5858 (output_call): Don't mess with obstacks.
5859 (hppa_encode_label): Remove ggc_p conditionals.
5860 * config/romp/romp.c (get_symref): Don't mess with obstacks.
5861 * config/rs6000/rs6000.c (output_toc): Remove ggc_p conditional.
5862 (rs6000_encode_section_info): Likewise.
5863 * config/sh/sh.c (get_fpscr_rtx): Likewise.
b8dad04b 5864
9dcbdc7e
JH
5865Thu Oct 12 16:02:31 MET DST 2000 Jan Hubicka <jh@suse.cz>
5866
5867 * i386.md (adddi3, subdi3 splitters): Update for new pattern.
5868 (addsi3_cc, addqi3_cc, subsi3_cc): Remove
5869 (addsi3_carry): Canonicalize.
5870 (addqi_5): Remove '*'.
5871 (sbb pattern): Canonicalize.
5872
5873 * i386.md (cmp to inc/add peep2): New.
5874
74490e05
RE
58752000-10-12 Richard Earnshaw <rearnsha@arm.com>
5876
5877 * bb-reorder.c (reorder_basic_blocks): Allocate an aux block for
5878 the exit block.
5879
bc87c1c8
JM
58802000-10-12 Joseph S. Myers <jsm28@cam.ac.uk>
5881
5882 * gcc.texi: Merge in contents of README.TRAD and TESTS.FLUNK.
5883 * README.TRAD, TESTS.FLUNK: Remove.
5884
9fa8f75d
JM
58852000-10-12 Joseph S. Myers <jsm28@cam.ac.uk>
5886
5887 * c-common.c (decl_attributes): Don't allow strftime formats with
5888 first_arg_num nonzero.
5889 (check_format_info): Set wanted_type and wanted_type_name to zero
5890 before they are possibly assigned and used.
5891
4831bc84
JM
58922000-10-12 Joseph S. Myers <jsm28@cam.ac.uk>
5893
5894 * c-common.c (scanf_flag_specs): Add flags ' and I.
5895 (strftime_flag_pairs): Disallow any pair of the _, - and 0 flags,
5896 or the ^ and # flags together.
5897 (scan_char_table): Handle the ' and I flags.
5898 (format_types): Add ' and I flags for scanf.
5899
2f7026a0
JM
59002000-10-12 Joseph S. Myers <jsm28@cam.ac.uk>
5901
5902 * c-common.c (print_char_table): Use the unpromoted type for
5903 lengths "h" and "hh" with conversions dioxXu.
5904 (check_format_types): Apply the default argument promotions where
5905 the wanted type is not a pointer target.
5906
bb58bec5 59072000-10-11 Michael Meeks <mmeeks@gnu.org>
b8dad04b 5908 Joseph S. Myers <jsm28@cam.ac.uk>
bb58bec5
JM
5909
5910 * c-typeck.c (check_modify_expr): New function.
5911 (build_modify_expr): Call it if warn_sequence_point.
5912 * c-decl.c (warn_sequence_point): New variable.
5913 (c_decode_option): Handle -Wsequence-point and
5914 -Wno-sequence-point. Enable -Wsequence-point as part of -Wall.
5915 * c-tree.h (warn_sequence_point): Declare.
5916 * invoke.texi (-Wsequence-point): Document.
5917 * toplev.c (documented_lang_options): Add -Wsequence-point and
5918 -Wno-sequence-point.
5919 Original work by Michael Meeks, 16 Jun 1998.
5920
0fba7208
RK
5921Wed Oct 11 06:15:41 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5922
5923 * tree.c (get_narrower): Don't look at precision of field if
5924 not laid out yet.
5925
67e570ea
DC
5926Tue Oct 10 23:14:33 2000 Denis Chertykov <denisc@overta.ru>
5927
5928 * config/avr/avr.c (valid_machine_decl_attribute): Allow `extern'
5929 declaration for data with "progmem" attribute.
5930
80b8585d
MM
59312000-10-09 Marek Michalkiewicz <marekm@linux.org.pl>
5932
5933 * config/avr/avr.c (out_shift_with_cnt): Use AS2 macro.
5934 Correct insn length if shift count is a memory operand.
5935 * config/avr/avr.md: New define_peephole2 to use *reload_inqi.
5936 (*iorhi3_clobber): Change lo8 to hi8.
5937 (zero_extendhisi2): Change %B0 to %A1.
5938 (ashlhi3, ashrhi3): Correct insn length.
5939 (andhi3, abssf2, extendqisi2, extendhisi2): Change "cc"
5940 from "clobber" to "set_n" in some alternatives.
5941
462561b7
JJ
59422000-10-10 Jakub Jelinek <jakub@redhat.com>
5943
5944 * reload1.c (calculate_needs_all_insns): If deleting an instruction,
5945 remove its insn_chain structure as well.
5946
0b8833aa
DA
59472000-10-09 J. David Anglin <dave@hiauly1.hia.nrc.ca>
5948
5949 * dbxout.c (dbxout_source_line): Remove extra tab.
5950
c690f089
HPN
59512000-10-09 Hans-Peter Nilsson <hp@bitrange.com>
5952
5953 * config/elfos.h (UNIQUE_SECTION): Apply STRIP_NAME_ENCODING on name.
5954
1854631b
RH
59552000-10-09 Richard Henderson <rth@cygnus.com>
5956
5957 * Makefile.in (LANG_LIB2FUNCS): Remove.
5958 (LIB2FUNCS): Remove _pure.
5959 (LIB2ADD): Remove LANG_LIB2FUNCS.
5960 (stage_a): Don't set LANG_LIB2FUNCS.
5961 * libgcc2.c (__terminate): Mark noreturn.
5962 (__pure_virtual): Remove.
5963 * mklibgcc.in: Remove LIB2ADD .txt processing.
5964
880c4dcb
RE
59652000-10-09 Richard Earnshaw <rearnsha@arm.com>
5966
5967 * arm.md (push_multi): Revert unintended change.
5968
5895f793
RE
59692000-10-09 Richard Earnshaw <rearnsha@arm.com>
5970
b8dad04b 5971 * arm.c: Miscellaneous white space and comment clean-ups. No
5895f793
RE
5972 functional change.
5973 * arm.md: Likewise.
5974
1092710d
KG
59752000-10-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5976
5977 * c-common.c (c_expand_builtin_printf): Set the TREE_TYPE of a new
5978 STRING_CST by calling combine_strings.
5979
ca356f3a
RE
59802000-10-09 Richard Earnshaw <rearnsha@arm.com>
5981
5982 * arm.c (thumb_expand_movstrqi): Rewrite to support SSA form.
5983 (thumb_output_move_mem_multiple): Support new insn format.
5984 * arm.md (movmem12b): Use SSA compatible format.
5985 (movmem8b): Likewise.
5986
cca0a211
RE
59872000-10-09 Richard Earnshaw <rearnsha@arm.com>
5988
5989 * arm.md (predicable): New attribute, default to "no".
5990 (all patterns): Mark as predicable if appropriate.
5991 (conditional execution splits): Split using predication format.
5992 (define_cond_exec): Define.
5993 * arm.c (arm_print_operand): handle insn predicate.
b8dad04b 5994
1146cfde
GP
59952000-10-09 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
5996
5997 * README.NS32K: Remove file.
5998
59992000-10-09 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
6000
6001 * README-bugs: Remove file.
6002
4d0230e1
PT
60032000-10-08 Philipp Thomas <pthomas@suse.de>
6004 * aclocal.m4 (AM_GNU_GETTEXT): Fix non portable use of == operator
6005 for test.
6006 * configure: Rebuilt.
6007
9fdf713f
PT
60082000-10-08 Philipp Thomas <pthomas@suse.de>
6009 * aclocal.m4 (AM_WITH_NLS): When not using included gettext,
6010 disable catalog building if no suitable program was found.
6011 Move warning message from here
6012 (AM_GNU_GETTEXT): To here.
6013 * configure: Rebuilt.
6014
00036f5c
PT
60152000-10-08 Philipp Thomas <pthomas@suse.de>
6016 * aclocal.m4 (GCC_PATH_PROG): New. Like AC_PATH_PROG but uses
6017 different cache variables.
6018 (GCC_PATH_PROG_WITH_TEST): New. Like AM_PATH_PROG_WITH_TEST but
6019 uses different cache variables.
6020 (AM_WITH_NLS): Use GCC_PATH_PROG and GCC_PATH_PROG_WITH_TEST.
6021 * configure: Regenerated.
b8dad04b 6022
aefa45d3
RH
60232000-10-08 Richard Henderson <rth@cygnus.com>
6024
6025 * Makefile.in (libgcc.mk): Pass SHLIB_EXT, not SHLIB_LIBS.
6026 * configure.in (sparc*-*-solaris*): Use t-slibgcc{,-sld}.
6027 * mklibgcc.in: Consider SHLIB_LINK the entire shlib build command.
6028 Use SHLIB_EXT.
6029
6030 * config/t-linux (SHLIB_EXT): New.
6031 (SHLIB_LINK): Use the entire build command, with substitutions.
6032 (SHLIB_LIBS): Remove.
6033 * config/alpha/t-osf4: Likewise.
6034 * config/mips/t-iris6: Likewise.
6035 * config/sparc/t-sol2: Likewise, but move shlib stuff...
6036 * config/sparc/t-slibgcc-sld: ...here.
6037 * config/sparc/t-slibgcc: New file.
6038
b15ad712
JM
60392000-10-08 Joseph S. Myers <jsm28@cam.ac.uk>
6040
6041 * tm.texi (INTMAX_TYPE, UINTMAX_TYPE): Define.
6042 * c-common.h (enum c_tree_index): Add CTI_INTMAX_TYPE and
6043 CTI_UINTMAX_TYPE.
6044 (intmax_type_node, uintmax_type_node): Define.
6045 * c-common.c (decl_attributes): If pedantic, warn if `mode'
6046 attributes create a type wider than intmax_t.
6047 (T_IM, T_UIM): Define properly.
6048 * c-decl.c (INTMAX_TYPE, UINTMAX_TYPE): Define if not already
6049 defined.
6050 (init_decl_processing): Initialize intmax_type_node and
6051 uintmax_type_node.
6052 * c-lex.c (lex_number): When pedantic and warning for integer
6053 constants that are too large, in C99 mode warn for those that have
6054 a type wider than long long.
6055
2588e44e
JM
60562000-10-08 Joseph S. Myers <jsm28@cam.ac.uk>
6057
6058 * c-common.c (FMT_FLAG_ARG_CONVERT, FMT_FLAG_SCANF_A_KLUDGE,
6059 FMT_FLAG_FANCY_PERCENT_OK): Define.
6060 (format_char_info): Add flag "4" to comment.
6061 (format_flag_spec, format_flag_pair): New structures.
6062 (format_kind_info): Add additional fields to control format
6063 checking.
6064 (printf_flag_specs, printf_flag_pairs, scanf_flag_specs,
6065 scanf_flag_pairs, strftime_flag_specs, strftime_flag_pairs): New
6066 arrays.
6067 (time_char_table): Use "4" flag to handle %Ey.
6068 (format_types): Add entries for new fields.
6069 (get_flag_spec): New function.
6070 (check_format_info): Increase size of flag_chars[] to 256.
6071 Control format checking using the new fields of a format_kind_info
6072 and the new tables; remove all conditionals on printf_format_type,
6073 scanf_format_type or strftime_format_type. Handle all details of
6074 bad combinations of flags (including width, precision and strftime
6075 modifiers) through data rather than ad hoc code. Handle all
6076 details of standard versions in which flags appeared through
6077 data. Use the "4" flag.
6078
7b7de7c0
WC
60792000-10-07 Will Cohen <wcohen@redhat.com>, Kazu Hirata <kazu@hxi.com>
6080
6081 * config/h8300/h8300.md: Remove the memory alternative and correct
6082 the insn lengths in the templates for sign extention and zero
6083 extention.
6084
9a1ba437
RH
60852000-10-07 Richard Henderson <rth@cygnus.com>
6086
6087 * calls.c (expand_call): Disallow sibcalls to noreturn functions.
6088 * flow.c (make_edges): Revert last change.
6089
6090 * config/alpha/alpha.h (FUNCTION_OK_FOR_SIBCALL): Don't test
6091 TREE_THIS_VOLATILE.
6092 * config/pa/pa.h (FUNCTION_OK_FOR_SIBCALL): Likewise.
6093
d38d55b4
DB
60942000-10-06 David O'Brien <obrien@dragon.nuxi.com>
6095
6096 * config/alpha/elf.h: Standardize the formatting.
6097
94984e91
DB
60982000-10-06 David O'Brien <obrien@FreeBSD.org>
6099
6100 * config/alpha/elf.h: Protect the ASM_OUTPUT_IDENT definition with an
6101 #undef.
6102
3e4eac3f
RH
61032000-10-06 Richard Henderson <rth@cygnus.com>
6104
6105 * function.c (diddle_return_value): Examine
6106 current_function_return_rtx instead of the DECL_RESULT.
6107 (expand_function_end): Handle reloading DECL_RESULT from memory
6108 into a hard register. Query promote_mode for sign of mismatched
6109 modes.
6110
4071f896
VM
61112000-10-06 Vladimir Makarov <vmakarov@touchme.toronto.redhat.com>
6112
6113 * haifa-sched.c (schedule_insns): Fix typo in freeing
6114 forward_dependency_cache.
6115
eb69f95c
AO
61162000-10-06 Alexandre Oliva <aoliva@redhat.com>
6117
6118 * config/sh/sh.md (calli_pcrel, call_valuei_pcrel): Add
6119 `TARGET_SH2' as a condition.
6120
178b88b9
VM
61212000-10-06 Vladimir Makarov <vmakarov@touchme.toronto.redhat.com>
6122
6123 * haifa-sched.c (anti_dependency_cache, output_dependency_cache,
6124 forward_dependency_cache): New variables.
6125 (add_dependence, remove_dependence): Use anti_dependency_cache and
6126 output_dependency_cache.
6127 (compute_block_forward_dependences): Use forward_dependency_cache.
6128 (schedule_insns): Allocate and free memory for anti/output/forward
6129 dependencies caches.
b8dad04b 6130
827bdee4
AO
61312000-10-06 Alexandre Oliva <aoliva@redhat.com>
6132
6133 * config/sh/sh.md (call, call_value): Use `TARGET_SH2' instead of
6134 `! TARGET_SH1'. Reindent.
6135
c70eaeaf
KG
61362000-10-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6137
6138 * builtins.c (is_valid_printf_arglist, expand_builtin_printf):
6139 Move functions from here ...
6140
6141 * c-common.c (is_valid_printf_arglist, c_expand_builtin_printf):
6142 ... to here.
6143 (c_expand_builtin): New function.
6144 (init_function_format_info): Don't set `check_function_format_ptr'.
6145 (c_common_nodes_and_builtins): Set built_in_class type for
6146 printf/__builtin_printf to BUILT_IN_FRONTEND.
6147 (c_expand_expr): Handle CALL_EXPRs that are front-end builtins.
6148
6149 * c-common.h (build_function_call): Declare.
6150
6151 * expr.c (expand_expr): Pass builtins with class BUILT_IN_FRONTEND
6152 to `lang_expand_expr' rather than `expand_builtin'.
6153
6154 * tree.c (check_function_format_ptr): Delete.
6155
6156 * tree.h (check_function_format_ptr): Likewise.
6157
f299afab
HPN
61582000-10-06 Hans-Peter Nilsson <hp@bitrange.com>
6159
6160 * dwarf2out.c (build_cfa_loc): Correct to use DW_OP_regx or
6161 DW_OP_bregx when cfa->reg > 31.
6162
6163 * frame-dwarf2.c (decode_stack_op) [case DW_OP_regx]: Add missing
6164 break.
6165
b313a0fe
RH
61662000-10-05 Richard Henderson <rth@cygnus.com>
6167
6168 * c-decl.c (warn_missing_noreturn): Remove.
6169 (c_expand_body): Don't set or check can_reach_end.
6170 * c-tree.h (warn_missing_noreturn): Move ...
6171 * flags.h: ... here.
6172 (can_reach_end): Remove.
6173 * flow.c (check_function_return_warnings): New.
6174 (make_edges): No edge to exit for noreturn sibcalls.
6175 * function.c (expand_function_end): Save the return value
6176 clobber instruction.
6177 (mark_function_status): Mark it.
6178 * function.h (struct function): Add x_clobber_return_insn.
6179 * jump.c (can_reach_end): Remove.
6180 (calculate_can_reach_end): Remove.
6181 (jump_optimize_1): Don't call it.
6182 * output.h (check_function_return_warnings): Declare.
6183 * toplev.c (warn_missing_noreturn): Move from c-decl.c
6184 (rest_of_compilation): Call check_function_return_warnings.
6185
83dad10c
RH
61862000-10-05 Richard Henderson <rth@cygnus.com>
6187
6188 * Makefile.in (NM_FOR_TARGET): New.
6189 (libgcc.mk): Pass SHLIB_MKMAP, SHLIB_MAPFILES.
6190 (libgcc.a, stmp-multilib): Pass NM_FOR_TARGET.
6191 * mklibgcc.in: If SHLIB_MKMAP, build libgcc.map. Depend the
6192 shared library build on that and EXTRA_MULTILIB_PARTS.
6193 * mkmap-flat.awk: New file.
6194 * mkmap-symver.awk: New file.
6195 * libgcc-std.ver: New file.
6196 * config/libgcc-glibc.ver: New file.
6197 * config/ia64/libgcc-ia64.ver: New file.
6198 * config/t-linux (SHLIB_MKMAP, SHLIB_MAPFILES): New.
6199 (SHLIB_LINK): Add --version-script.
6200 * config/ia64/t-ia64 (SHLIB_MAPFILES): Add libgcc-ia64.ver.
6201 * config/mips/t-iris6 (SHLIB_MKMAP, SHLIB_MAPFILES): New.
6202 * config/sparc/t-sol2 (SHLIB_MKMAP, SHLIB_MAPFILES): New.
6203 (SHLIB_LINK): Add -M.
6204
d6eacd48
RH
62052000-10-05 Richard Henderson <rth@cygnus.com>
6206
6207 * Makefile.in (LIB2FUNCS): Add _clz.
6208 * libgcc2.c (__ffsdi2): Use count_trailing_zeros.
6209 (__clz_tab): Put in its own unit, non-static.
6210 * libgcc2.h: Always include longlong.h.
6211
29279975
RH
6212 * longlong.h [alpha] (count_leading_zeros): Use cmpbge with
6213 a zero instead of -1.
6214 (count_trailing_zeros): Likewise.
6215
c74fa144
RH
62162000-10-05 Richard Henderson <rth@cygnus.com>
6217
6218 * config/alpha/alpha.c (alpha_emit_setcc): Don't swap GT tests
6219 when second op1 is const0_rtx. Validate op0 as a register.
6220 * config/alpha/alpha.md (setcc_internal): Don't allow constants
6221 in the first argument of the compare.
6222 (setcc_swapped_internal): Likewise.
6223 (setne_internal): Likewise.
6224
c5620996
GK
62252000-10-05 Geoff Keating <geoffk@cygnus.com>
6226
6227 * tree.c (tree_size): New function split out of copy_node.
6228 (make_node): Remove obstack handling. Use tree_size.
6229 (copy_node): Use tree_size.
6230 * tree.h: Prototype tree_size.
6231
331fe257
RH
62322000-10-05 Richard Henderson <rth@cygnus.com>
6233
6234 * diagnostic.c (output_format): Add missing break.
6235
cc0cbae1
JW
62362000-10-05 Jim Wilson <wilson@cygnus.com>
6237
6238 * function.c (fixup_var_refs_1, case SET): When gen_move_insn returns a
6239 SEQUENCE, call emit_insn_before, copy PATTERN and REG_NOTES of last
6240 sequence insn to INSN, and delete last sequence insn.
6241
f5fa9a5b
PE
62422000-10-05 Phil Edwards <pme@gcc.gnu.org>
6243
6244 * gcc.c (main): Include generated configargs.h header
6245 and use arguments in '-v' output.
6246
2296d164
RK
6247Thu Oct 5 16:16:57 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6248
6249 * gcc.c: Move data on prefixes forward in file and reorganize.
6250 (md_exec_prefix, md_startfile_prefix, md_startfile_prefix_1):
6251 Always define, but make null if no value.
6252 (static_specs): Add "md_exec_prefix", "md_startfile_prefix",
6253 and "md_startfile_prefix_1".
6254 (main): Check whether md_exec_prefix and the others are the
6255 null string rather than whether the macro is defined.
6256
43d75418
R
6257Thu Oct 5 19:04:18 2000 J"orn Rennecke <amylaar@redhat.co.uk>
6258
6259 * (convert_move): Use zero_extendpsisi2 to do an unsigned extension
6260 from PSImode to SImode.
6261
e389897b
JJ
62622000-10-05 Jakub Jelinek <jakub@redhat.com>
6263
6264 * emit-rtl.c (gen_lowpart_common) [REAL_ARITHMETICS]: Fix conversion
6265 from float to integral mode with HOST_BITS_PER_WIDE_INT 64.
6266 * dwarf2out.c (add_const_value_attribute): Divide by 4, not
6267 sizeof(long).
6268
b8fbe62c
RK
6269Thu Oct 5 09:31:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6270
6271 * fold-const.c (fold, case MINUS_EXPR, case EQ_EXPR): Perform
6272 negation in proper type.a
6273
50503ac8
RH
62742000-10-04 Richard Henderson <rth@cygnus.com>
6275
6276 * configure.in (enable-shared): New.
6277 * Makefile.in (LIBGCC_DEPS): Depend on EXTRA_PARTS as well.
6278 (libgcc.mk): Pass SHLIB_LINK, SHLIB_LIBS, SHLIB_MULTILIB to mklibgcc.
6279 * mklibgcc.in: Use them to link shared a libgcc.
6280 * config/t-linux (SHLIB_LINK, SHLIB_LIBS): New.
6281 * config/alpha/t-ieee (SHLIB_MULTILIB): New.
6282 * config/mips/t-iris6 (SHLIB_LINK, SHLIB_LIBS): New.
6283 * config/sparc/t-sol2 (SHLIB_LINK, SHLIB_LIBS): New.
6284
6285 * configure.in (alpha-osf*): Use t-osf and x-osf.
6286 * config/alpha/t-osf: New file.
6287 * config/alpha/t-osf4: New file.
6288 * config/alpha/x-osf: New file.
6289 * config/alpha/x-alpha: Remove file.
6290
4b606faf
WC
62912000-10-04 Will Cohen <wcohen@redhat.com>
6292
6293 * c-typeck.c (process_init_element): Added warning for zero-length
6294 array.
6295
6296 * extend.texi (Zero Length): State that static initializers for
6297 zero-length arrays are not allowed.
6298
c9b89a21
JH
6299Mon Oct 2 14:50:14 MET DST 2000 Jan Hubicka <jh@suse.cz>
6300
6301 * rtlanal.c (single_set_1): Do not require USE and CLOBBERs
6302 to come last.
6303
81bce466
MH
63042000-10-03 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6305
6306 * config/float-c4x.h: New.
6307 * configure.in (c4x-*): Set float_format to c4x.
b8dad04b 6308 * configure: Regenerate.
81bce466 6309
72882e08
KG
63102000-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6311
6312 * configure.in (sparc-*-solaris2*): Disable 32-to-64 cross
6313 compilation for solaris versions 2.7 and greater.
6314
ea205a52
ME
63152000-10-02 Marc Espie <espie@openbsd.org>
6316
6317 * config/alpha.h (WORD_SWITCH_TAKES_ARG): add -rpath to default,
6318 instead of redefining from scratch.
6319
618ec0d7
DB
63202000-10-02 David O'Brien <obrien@dragon.nuxi.com>
6321
6322 * config/i386/freebsd.h (NO_PROFILE_COUNTERS): Define.
6323
f15b9af9
MM
63242000-10-01 Mark Mitchell <mark@codesourcery.com>
6325
776749c5
MM
6326 * config/ns32k/genix.h: Remove.
6327 * config/ns32k/x-genix: Likewise.
6328 * config/ns32k/xm-genix.h: Likewise.
6329 * config/fx80: Remove all filee in directory.
6330 * config/pyr: Likewise.
6331 * config/tahoe: Likewise.
6332 * config/gmicro: Likewise.
6333 * config/spur: Likewise.
6334 * configure.in: Remove configury bits for above targets.
6335 * configure: Regenerated.
b8dad04b 6336
a7b4171a
MM
6337 * configure.in: Don't configure chill by default.
6338 * configure: Regenerated.
b8dad04b 6339
f15b9af9
MM
6340 * c-decl.c (c_expand_body): Don't generate RTL if flag_syntax_only.
6341 (lang_mark_false_label_stack): Remove.
6342 * c-lex.c (init_c_lex): Add file_info_tree as GC root. Allocate
6343 <top level> string in GC area.
6344 (mark_splay_tree_node): New function.
6345 (mark_splay_tree): Likewise.
6346 * except.c (mark_eh_status): Only call lang_mark_false_label_stack
6347 if it exists.
6348 * ggc-callbacks.c (lang_mark_false_label_stack): Remove.
6349 * ggc-common.c (lang_mark_false_label_stack): Change type.
6350 * ggc.h (ggc_alloc_string): Add comment.
6351 (ggc_strdup): New function.
b8dad04b 6352
51296ba0
DC
6353Sat Sep 23 19:10:20 2000 Denis Chertykov <denisc@overta.ru>
6354
6355 * config/avr/avr.h (BRANCH_COST): Define as 0.
6356
6357 * config/pdp11/pdp11.c: #include "tree.h" added.
6358
adcd8f77
MM
63592000-09-30 Marek Michalkiewicz <marekm@linux.org.pl>
6360
6361 * config/avr/avr.c (ashlhi3_out, ashlsi3_out, ashrhi3_out,
6362 ashrsi3_out, lshrhi3_out, lshrsi3_out): Optimize more cases
6363 with known shift count.
6364 * config/avr/avr.md (ashlsi3, ashrsi3, lshrsi3):
6365 New alternative for shift count 2 with no scratch register.
6366 (ashlhi3, ashlsi3): Change "cc" attribute from "clobber" to
6367 "set_n" for shift counts 1 and 2.
6368
e35b9579
GK
63692000-09-30 Geoff Keating <geoffk@cygnus.com>
6370
6371 * config/rs6000/rs6000.md (movsi_to_cr): Remove the USE. Calculate
6372 the mask value from the individual SET operations.
6373 (return_internal_si): Move the USE after the RETURN.
6374 (return_internal_di): Likewise.
6375 (return_and_restore_fpregs_si): Likewise.
6376 (return_and_restore_fpregs_di): Likewise.
6377 (return_eh_si): Likewise.
6378 (return_eh_di): Likewise.
6379 * config/rs6000/rs6000.c (mtcrf_operation): Don't look for,
6380 or check, the USE.
6381 (rs6000_emit_prologue): Don't emit the USE for movsi_to_cr.
6382 Don't generate a PARALLEL around a single operation movsi_to_cr.
6383 Generate the RETURN first in any PARALLELs.
6384
6385 * rtlanal.c (single_set_1): Use fatal_insn to display the
6386 invalid insn. Check for more cases when a USE or CLOBBER occurs
6387 before a SET.
6388 * Makefile.in: Update dependencies for rtlanal.o.
6389
1fba7553
JM
63902000-09-30 Joseph S. Myers <jsm28@cam.ac.uk>
6391
6392 * i386.c: Move include of "config.h" to before that of <setjmp.h>.
6393
28e6b1c2
JM
63942000-09-30 Joseph S. Myers <jsm28@cam.ac.uk>
6395
6396 * c-tree.texi, contrib.texi, gcc.texi, install.texi, invoke.texi:
6397 Consistently use @email for formatting email addresses.
6398
f2fa288f
RH
63992000-09-29 Richard Henderson <rth@cygnus.com>
6400
6401 * cse.c (notreg_cost): New argument outer.
6402 (COST): Pass in SET to notreg_cost
6403 (COST_IN): New.
6404 (fold_rtx): Use COST_IN. Prefer constants when costs
6405 are the same.
6406
a1c63101
DE
64072000-09-29 David Edelsohn <edelsohn@gnu.org>
6408
6409 * fixinc/inclhack.def (broken_cabs): Generalize regex.
6410 * fixinc/fixincl.x: Regenerate.
6411
70dd0f7f
FS
64122000-09-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6413
6414 * loop.c (check_final_value): A GIV is not replaceable if used
6415 before set.
6416
0c6129af
JL
6417Fri Sep 29 10:04:12 2000 Jeffrey A Law (law@cygnus.com)
6418
6419 * version.c: Bump to gcc-2.97.
6420
6421Frs Sep 29 13:37:59 MET DST 2000 Jan Hubicka <jh@suse.cz>
6c698a6d
JH
6422
6423 * final.c (final_scan_insn): Remove extra extract_insn call;
6424 Use caching for constrain_operands.
6425 (cleanup_subreg_operands): Use caching for extract_insn.
6426 * recog.c (constrain_operands_cached): New.
6427 * recog.h (constrain_operands_cached): Declare.
6428 * i386.c (ix86_attr_length_immediate_default,
6429 ix86_attr_length_address_default, ix86_agi_dependant): Cache
6430 extract_insn call.
6431
6432 * recog.c (asm_noperands): Tweak.
6433 (extract_insn): Do not call asm_noperads for non-asm instructions.
6434
6435Fri Sep 29 13:20:42 MET DST 2000 Jan Hubicka <jh@suse.cz>
6436
6437 * recog.c (recog_memoized): Rename to recog_memoized_1.
6438 * recog.h (recog_memoized): Rename to recog_memoized_1.
6439 (recog_memoized): New macro.
6440 * rtl.h (single_set): Rename to single_set_1
6441 (single_set): New macro.
6442 * rtlanal.c (single_set): Rename to single_set_1; expect clobbers
6443 to be last.
6444
6445 * i386.md (strmovsi_1, strmovhi_1 strmovqi_1):
6446 Do not use match_dup of input operands at outputs.
6447 Use register_operand for memory expression.
6448 (rep_movsi): Put use last, canonicalize.
6449 Use register_operand for memory expression.
6450 (rep_movqi): Put use last.
6451 Use register_operand for memory expression.
6452 (strsetsi_1, strset_hi_1, strsetqi_1): Do not use match_dup
6453 of input operands at outputs. Use register_operand for memory
6454 expression.
6455 (rep_stossi): Put use last; canonicalize; fix match_dup in
6456 the address expression
6457 (rep_stosqi): Likewise.
6458 (memcmp expander): Update calls.
6459 (cmpstrsi_nz_1, cmpstrsi_1, strlensi_1): Avoid match_dups in
6460 the clobbers.
6461
6462 * i386.md (fp_jcc_3, fp_jcc_4, jp_fcc_5): if_then_else operand is
6463 VOIDmode.
6464 (fp_jcc_4, fp_jcc_3): Refuse unordered comparisons.
6465
41e5a1f5
DB
64662000-09-28 David O'Brien <obrien@FreeBSD.org>
6467
6468 * config/i386/freebsd-aout.h: New, FreeBSD a.out config file.
6469 Contains the old contents of config/i386/freebsd.h
6470 * config/i386/freebsd.h: Now the ELF rather than a.out config file.
6471 Contains the old contents of config/i386/freebsd-elf.h
6472 * config/i386/freebsd-elf.h: Retire this file -- contents moved to
6473 config/i386/freebsd.h.
6474 * configure.in: Adjust for above changes.
6475 * po/POTFILES.in: Likewise.
6476 * po/en_GB.po: Likewise.
6477 * po/gcc.pot: Likewise.
6478 * configure: Rebuilt.
6479
1db88ef9 64802000-09-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
70dd0f7f 6481
1db88ef9
FS
6482 * doloop.c (doloop_modify): Prevent delete_insn() from
6483 deleting too much. Prefer loop->top over loop->start as
6484 target for the new JUMP insn.
6485 (doloop_valid_p): Ignore loop with exit_count != 0.
6486
6a07a77f
PT
64872000-09-28 Philipp Thomas <pthomas@suse.de>
6488
6489 * invoke.texi (i386 Options): Add athlon to table of possible
6490 choices for -mcpu=.
6491
b5dd2c76
GDR
64922000-09-28 Gabriel Dos Reis <gdr@codesourcery.com>
6493
6494 * diagnostic.h (output_clear_message_text): New function.
6495 (output_message_text): New macro.
6496
6497 * diagnostic.c (clear_text_info): Rename to
b8dad04b 6498 output_clear_message_text.
b5dd2c76
GDR
6499 (output_clear): Adjust.
6500 (output_finish): Rename to output_finalize_message. Tweek.
b8dad04b 6501 (output_to_stream): Adjust.
b5dd2c76 6502
d8090680
NB
65032000-09-28 Neil Booth <neilb@earthling.net>
6504
6505 * cpperror.c (_cpp_begin_message): Do the test for suppression
b8dad04b
ZW
6506 of warnings and pedantic warnings before the "is a warning an
6507 error" tests.
d8090680
NB
6508 * cppinit.c (cpp_handle_option): Remove surplus \n.
6509 * cpplex.c (ON_REST_ARG): Delete.
6510 (skip_block_comment): Initialise prevc.
6511 (parse_args): Improve error messages.
6512 (maybe_paste_with_next): Use CONTEXT_VARARGS rather
6513 than ON_REST_ARG.
6514 * cpplib.c (cpp_push_buffer): Fix grammar in message.
6515 * cppmain.c (main): Set callbacks for #ident and #pragma
6516 only if no_output option is false.
6517 (do_pragma_implementation): Only call the #pragma handler
6518 if it is set in the cpp_reader structure.
6519
e93eff94
DL
6520Wed Sep 27 14:00:07 2000 Donald Lindsay <dlindsay@cygnus.com>
6521
6522 * integrate.c (copy_insn_list): if an ignored return value
6523 is being clobbered, skip cloning that into the inline copy.
6524
59c5d27a
JM
65252000-09-27 Joseph S. Myers <jsm28@cam.ac.uk>
6526
6527 * extend.texi, invoke.texi, gcc.texi, install.texi: Consistently
6528 use @uref for formatting URLs.
6529
15ca066d
ME
65302000-09-27 Mark Elbrecht <snowball3@bigfoot.com>
6531
6532 * config/i386/djgpp.h (UNIQUE_SECTION): Constify the variables
6533 name and prefix.
6534
5a8e2650
NB
6535Tue 26-Sep-2000 18:25:38 BST Neil Booth <neilb@earthling.net>
6536
6537 * gcc.c (cpp_options): Add spec for -ftabstop=.
6538 (invoke_as): New spec that handles invoking as.
6539 Update specs to handle -save-temps and -traditional.
6540 * ch/lang-specs.h, f/lang-specs.h, java/lang-specs.h:
6541 Use invoke_as.
6542 * cp/lang-specs.h, objc/lang-specs.h: Update to use
6543 invoke_as, and handle -save-temps and -traditional (if
6544 appropriate).
6545
380f6ad3
JJ
65462000-09-26 Jakub Jelinek <jakub@redhat.com>
6547
6548 * config/sparc/sparc.c (sparc_emit_set_const64): Don't abort when
6549 op0 is a SUBREG.
6550 (function_arg_slotno): Accept TImode/CTImode.
6551 * config/sparc/sparc.h (MIN_UNITS_PER_WORD): If IN_LIBGCC2 define
6552 to UNITS_PER_WORD.
6553
ef120fc0
MH
65542000-09-26 Michael Hayes <mhayes@cygnus.com>
6555
6556 * flow.c (flow_loop_pre_header_scan): Punt if loop enters
6557 from entry block.
6558
cf606f45
JW
65592000-09-25 Jim Wilson <wilson@cygnus.com>
6560
6561 * config/ia64/ia64.h (INDEX_REG_CLASS): Define to GENERAL_REGS.
6562 (REGNO_OK_FOR_INDEX_P): Define to REGNO_OK_FOR_BASE_P.
6563 (LEGITIMATE_ADDRESS_DISP): Use LEGITIMATE_ADDRESS_REG.
6564 (REG_OK_FOR_INDEX): Define to REG_OK_FOR_BASE_P.
6565
a94c1199
NB
6566Tue 26-Sep-2000 00:16:22 BST Neil Booth <neilb@earthling.net>
6567
b8dad04b 6568 * cpplex.c (parse_args): Don't set VOID_REST flag.
a94c1199
NB
6569 (CONTEXT_VARARGS): New flag.
6570 (maybe_paste_with_next): Set context earlier in loop. Use
6571 it. Do varargs test with CONTEXT_VARARGS flag.
6572 (push_arg_context): Set CONTEXT_VARARGS flag if we're
6573 pushing an argument context for a varargs argument.
6574 * cpplib.h (VOID_REST): Delete.
b8dad04b 6575 * gcc.dg/cpp/vararg1.c: Add test case.
a94c1199 6576
317639a8
BC
65772000-09-25 Branko Cibej <branko.cibej@hermes.si>
6578
b8dad04b
ZW
6579 * flags.h: Declare warning flag warn_system_headers.
6580 * toplev.c: Define it.
6581 (W_options): Add option -Wsystem-headers.
6582 * diagnostic.c (count_error): Test warn_system_headers.
6583 * invoke.texi: Add description for -Wsystem-headers.
317639a8
BC
6584 * cpplib.h (cpp_options): New member warn_system_headers.
6585 * cpphash.h (CPP_PEDANTIC, CPP_WTRADITIONAL): Don't test
6586 CPP_IN_SYSTEM_HEADER.
6587 * cpplib.c (do_import, do_pragma_once): Likewise.
6588 * cpperror.c (_cpp_begin_message): Test warn_system_headers
6589 and CPP_IN_SYSTEM_HEADER.
6590 * cppinit.c (handle_option): Recognize -Wsystem_headers.
6591 (print_help): Describe -Wsystem_headers.
6592 * cpplex.c (lex_line): Reorganize condition so that warnings
6593 about C++ comments in system headers can be enabled. Remove
6594 label do_line_comment.
6595
1c6d33ef
NB
6596Mon 25-Sep-2000 23:38:27 BST Neil Booth <neilb@earthling.net>
6597
6598 * cpplex.c (save_comment): Only store the initial '/'
6599 now.
6600 (lex_token): Combine handling of the two comment types.
b8dad04b 6601 Pass everything but the initial '/' to save_comment.
1c6d33ef 6602
7de4d004
NB
6603Mon 25-Sep-2000 23:31:45 BST Neil Booth <neilb@earthling.net>
6604
6605 * cpphash.h (_cpp_digraph_spellings, _cpp_process_directive,
6606 _cpp_can_paste): New library-internal prototypes.
6607 * cpplex.c (dump_param_spelling, output_line_command,
6608 output_token, cpp_scan_buffer, cpp_scan_buffer_nooutput,
6609 cpp_printf, cpp_output_list): Move to cppoutput.c.
6610 (process_directive, can_paste, digraph_spellings): Add _cpp_ prefix.
6611 * cppmacro.c (dump_macro_args, cpp_dump_definition) Move to
6612 cppoutput.c.
6613 * cppoutput.c (dump_macro_args, cpp_dump_definition, output_token,
6614 dump_param_spelling, output_line_command, cpp_scan_buffer,
6615 cpp_scan_buffer_nooutput, cpp_printf, cpp_output_list): Moved
6616 from elsewhere.
6617 * Makefile.in: Add cppoutput.c.
6618 * po/POTFILES.in: Add cppoutput.c.
6619
66db6b45
RH
66202000-09-25 Richard Henderson <rth@cygnus.com>
6621
6622 * config/ia64/ia64.c (ia64_print_operand): Define 'e' as 64-n.
6623 * config/ia64/ia64.md (rotrsi3): Allow variable rotates; don't
6624 split until after reload.
6625 (rotlsi3, rotldi3): New.
6626
4b40f758
GDR
66272000-09-25 Gabriel Dos Reis <gdr@codesourcery.com>
6628
6629 * diagnostic.c (output_last_position): Define.
6630 (set_real_maximum_length): Tweek.
6631 * diagnostic.h (output_last_position): Declare.
6632
0f290768
KH
66332000-09-25 Kazu Hirata <kazu@hxi.com>
6634
6635 * config/i386/i386.c: Fix formatting.
6636
90e9ee6c
AL
66372000-09-24 Alan Lehotsky <alehotsky@cygnus.com>
6638
6639 * emit-rtl-c (gen_lowpart_common): Accept non-paradoxical SUBREG when
6640 UNITS_PER_WORD is small.
6641
0e00b68b
JM
66422000-09-25 Joseph S. Myers <jsm28@cam.ac.uk>
6643
6644 * c-common.c (format_char_info): Add flags2; update comments.
6645 (print_char_table, scan_char_table, time_char_table): Split some
6646 flags out into flags2.
6647 (check_format_info): Use flags2 for those flags, for identifying
6648 the initial character of a scanf scanset, and for identifying
6649 printf formats where the '0' flag is ignored with precision.
6650
0a3e1f45
HPN
66512000-09-25 Hans-Peter Nilsson <hp@axis.com>
6652
6653 Changes below marked "here" add TABs on either or both sides,
6654 covering start of line, up to any operand for all noted .*ASM.*_OP
e8638df0 6655 definitions. All callers changed.
047c1c92
HPN
6656 * tm.texi: Make documented *_ASM.*_OP:s include spacing
6657 (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, SHARED_SECTION_ASM_OP,
6658 BSS_SECTION_ASM_OP, SHARED_BSS_SECTION_ASM_OP, INIT_SECTION_ASM_OP,
6659 ASM_BYTE_OP, FINI_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP,
6660 ASM_STABS_OP, ASM_STABD_OP, ASM_STABN_OP).
6661 Fix typos in description for LONG_LONG_TYPE_SIZE and
6662 FINI_SECTION_ASM_OP.
0a3e1f45
HPN
6663 * crtstuff.c (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Explain
6664 why these defaults don't have leading spacing.
6665 * dbxout.c (ASM_STABS_OP, ASM_STABN_OP): Here.
6666 * dwarf2out.c (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
6667 UNALIGNED_DOUBLE_INT_ASM_OP, SECTION_ASM_OP, ASM_BYTE_OP): Here.
6668 * dwarfout.c (FILE_ASM_OP, VERSION_ASM_OP,
6669 UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP, ASM_BYTE_OP,
6670 PUSHSECTION_ASM_OP, POPSECTION_ASM_OP): Here.
6671 * defaults.h (ASM_STABD_OP, EH_FRAME_SECTION_ASM_OP): Here.
6672 * varasm.c (ASM_STABS_OP): Here.
6673 * xcoffout.h (ASM_STABS_OP): Here.
e662a129
HPN
6674 * config/elfos.h (IDENT_ASM_OP, ASM_BYTE_OP, SET_ASM_OP,
6675 SKIP_ASM_OP, ALIGN_ASM_OP, COMMON_ASM_OP, LOCAL_ASM_OP,
6676 INT_ASM_OP, ASCII_DATA_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP,
6677 STRING_ASM_OP): Here.
6678 * config/freebsd.h (IDENT_ASM_OP): Here.
6679 * config/linux-aout.h (SET_ASM_OP): Here.
6680 * config/linux.h (SET_ASM_OP): Here.
6681 * config/lynx.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
6682 INT_ASM_OP): Here.
6683 * config/netbsd.h (TYPE_ASM_OP, SIZE_ASM_OP, SET_ASM_OP): Here.
6684 * config/nextstep.h (EH_FRAME_SECTION_ASM_OP, ALIGN_ASM_OP): Here.
6685 * config/openbsd.h (TYPE_ASM_OP, SIZE_ASM_OP, SET_ASM_OP): Here.
6686 * config/psos.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
6687 INT_ASM_OP): Here.
6688 * config/ptx4.h (IDENT_ASM_OP, ASM_BYTE_OP, SET_ASM_OP,
6689 SKIP_ASM_OP, ALIGN_ASM_OP, COMMON_ASM_OP, LOCAL_ASM_OP,
6690 INT_ASM_OP, ASCII_DATA_ASM_OP, CONST_SECTION_ASM_OP,
6691 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP,
6692 FINI_SECTION_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP STRING_ASM_OP): Here.
6693 * config/svr3.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
6694 CONST_SECTION_ASM_OP, ASM_BYTE_OP): Here.
8c13c7b3
HPN
6695 * config/a29k/udi.h (INT_ASM_OP): Here.
6696 * config/alpha/alpha-interix.h (CONST_SECTION_ASM_OP,
6697 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INT_ASM_OP,
6698 SET_ASM_OP): Here.
6699 * config/alpha/alpha.h (TEXT_SECTION_ASM_OP,
6700 READONLY_DATA_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
6701 UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
6702 UNALIGNED_DOUBLE_INT_ASM_OP, ASM_STABS_OP, ASM_STABN_OP,
6703 ASM_STABD_OP): Here.
6704 * config/alpha/elf.h (IDENT_ASM_OP, SKIP_ASM_OP, ALIGN_ASM_OP,
6705 COMMON_ASM_OP, INT_ASM_OP, ASCII_DATA_ASM_OP,
6706 CONST_SECTION_ASM_OP, CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
6707 BSS_SECTION_ASM_OP, SBSS_SECTION_ASM_OP, SDATA_SECTION_ASM_OP,
6708 INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP, TYPE_ASM_OP,
6709 SIZE_ASM_OP, STRING_ASM_OP): Here.
6710 * config/alpha/vms.h (LINK_SECTION_ASM_OP,
6711 READONLY_SECTION_ASM_OP, LITERALS_SECTION_ASM_OP,
6712 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, COMMON_ASM_OP): Here.
6713 * config/arc/arc.h (ASM_BYTE_OP, SET_ASM_OP): Here.
8202cda0 6714 (PUSHSECTION_ASM_OP): Define this, not PUSHSECTION_FORMAT.
8c13c7b3
HPN
6715 * config/arm/aof.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP):
6716 Here.
6717 * config/arm/aout.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
6718 BSS_SECTION_ASM_OP, SET_ASM_OP): Here.
6719 * config/arm/coff.h (INT_ASM_OP): Here.
6720 * config/arm/conix-elf.h (UNALIGNED_WORD_ASM_OP): Here.
6721 * config/arm/elf.h (TYPE_ASM_OP, SIZE_ASM_OP, INT_ASM_OP): Here.
6722 * config/arm/linux-elf.h (IDENT_ASM_OP, CONST_SECTION_ASM_OP,
6723 INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP): Here.
6724 * config/arm/unknown-elf.h (UNALIGNED_WORD_ASM_OP): Here.
6725 * config/avr/avr.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
6726 ASM_BYTE_OP, TYPE_ASM_OP, SIZE_ASM_OP, WEAK_ASM_OP,
6727 STRING_ASM_OP): Here. Update documentation copy in comments.
4e8aa65c
HPN
6728 * config/c4x/c4x.h (ASM_STABS_OP, BSS_SECTION_ASM_OP): Here.
6729 * config/clipper/clipper.h (TEXT_SECTION_ASM_OP,
6730 DATA_SECTION_ASM_OP): Here.
6731 * config/clipper/clix.h (BSS_SECTION_ASM_OP, INIT_SECTION_ASM_OP):
6732 Here.
6733 * config/convex/convex.h (TEXT_SECTION_ASM_OP,
6734 DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP): Here.
6735 * config/d30v/d30v.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
6736 BSS_SECTION_ASM_OP): Here.
6737 * config/fr30/fr30.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
6738 BSS_SECTION_ASM_OP): Here.
6739 * config/fx80/fx80.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
6740 Here.
6741 * config/gmicro/gmicro.h (TEXT_SECTION_ASM_OP,
6742 DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP): Here.
6743 * config/h8300/h8300.h (ASM_WORD_OP): Here.
71d48a01
HPN
6744 * config/i370/i370.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
6745 BSS_SECTION_ASM_OP): Here.
6746 * config/i386/aix386.h (INIT_SECTION_ASM_OP): Here.
6747 * config/i386/bsd.h (ASM_BYTE_OP): Here.
6748 * config/i386/cygwin.h (SET_ASM_OP, INT_ASM_OP): Here.
6749 * config/i386/dgux.h (CONST_SECTION_ASM_OP): Here.
6750 * config/i386/djgpp.h (IDENT_ASM_OP, INT_ASM_OP, SET_ASM_OP):
6751 Here.
6752 * config/i386/freebsd-elf.h (SET_ASM_OP): Here.
6753 * config/i386/freebsd.h (TYPE_ASM_OP, SIZE_ASM_OP, INT_ASM_OP):
6754 Here.
6755 * config/i386/i386-coff.h (CTORS_SECTION_ASM_OP,
6756 DTORS_SECTION_ASM_OP, INT_ASM_OP): Here.
6757 * config/i386/i386-interix.h (STRING_ASM_OP, CONST_SECTION_ASM_OP,
6758 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INT_ASM_OP,
6759 SET_ASM_OP): Here.
6760 * config/i386/i386elf.h (BSS_SECTION_ASM_OP): Here.
6761 * config/i386/netbsd.h (INT_ASM_OP): Here.
6762 * config/i386/openbsd.h (INT_ASM_OP): Here.
6763 * config/i386/osfrose.h (TYPE_ASM_OP, SIZE_ASM_OP, SET_ASM_OP,
6764 IDENT_ASM_OP): Here.
6765 * config/i386/sco5.h (ALIGN_ASM_OP, ASCII_DATA_ASM_OP,
6766 ASM_BYTE_OP, IDENT_ASM_OP, COMMON_ASM_OP, SET_ASM_OP,
6767 LOCAL_ASM_OP, INT_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP, STRING_ASM_OP,
6768 SKIP_ASM_OP, GLOBAL_ASM_OP): Here.
6769 * config/i386/seq-sysv3.h (SHARED_SECTION_ASM_OP,
6770 SHARED_BSS_SECTION_ASM_OP): Here.
6771 * config/i386/sequent.h (SHARED_SECTION_ASM_OP): Here.
6772 * config/i386/sun386.h (ASM_BYTE_OP, TEXT_SECTION_ASM_OP,
6773 DATA_SECTION_ASM_OP): Here.
6774 * config/i386/svr3gas.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
6775 CONST_SECTION_ASM_OP): Here.
6776 * config/i386/sysv3.h (INIT_SECTION_ASM_OP): Here.
6777 * config/i386/unix.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
6778 BSS_SECTION_ASM_OP): Here.
de323aa1
HPN
6779 * config/i860/bsd-gas.h (ASCII_DATA_ASM_OP): Here.
6780 * config/i860/bsd.h (ASCII_DATA_ASM_OP): Here.
6781 * config/i860/fx2800.h (ASM_STABS_OP, ASM_STABN_OP, ASM_STABD_OP,
6782 BSS_ASM_OP): Here, but use trailing spaces.
6783 * config/i860/i860.h (ASM_BYTE_OP, TEXT_SECTION_ASM_OP,
6784 DATA_SECTION_ASM_OP): Here.
6785 * config/i860/paragon.h (ASCII_DATA_ASM_OP, BSS_SECTION_ASM_OP):
6786 Here.
6787 * config/i860/sysv3.h (ASCII_DATA_ASM_OP, CTORS_SECTION_ASM_OP,
6788 DTORS_SECTION_ASM_OP, TDESC_SECTION_ASM_OP): Here.
6789 * config/i860/sysv4.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
6790 TDESC_SECTION_ASM_OP): Here.
6791 * config/i960/i960-coff.h (CTORS_SECTION_ASM_OP,
6792 DTORS_SECTION_ASM_OP, INT_ASM_OP): Here.
6793 * config/i960/i960.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
6794 Here.
6795 * config/ia64/ia64.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
6796 BSS_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP,
6797 UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
6798 UNALIGNED_DOUBLE_INT_ASM_OP): Here.
6799 * config/ia64/sysv4.h (ASM_BYTE_OP, STRING_ASM_OP, SKIP_ASM_OP,
6800 COMMON_ASM_OP, ASCII_DATA_ASM_OP, INIT_SECTION_ASM_OP,
6801 FINI_SECTION_ASM_OP, CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
6802 SDATA_SECTION_ASM_OP, SBSS_SECTION_ASM_OP): Here.
6e7b07a7
HPN
6803 * config/m32r/m32r.h (SCOMMON_ASM_OP): Here.
6804 * config/m68hc11/m68hc11.h (GLOBAL_ASM_OP): Here.
6805 * config/m68k/auxas.h (BYTE_ASM_OP, WORD_ASM_OP, LONG_ASM_OP,
6806 SPACE_ASM_OP, ALIGN_ASM_OP, GLOBAL_ASM_OP, SWBEG_ASM_OP,
6807 SET_ASM_OP): Here.
6808 * config/m68k/coff.h (BSS_SECTION_ASM_OP, CTORS_SECTION_ASM_OP,
6809 DTORS_SECTION_ASM_OP, INT_ASM_OP): Here.
6810 * config/m68k/crds.h (BSS_SECTION_ASM_OP): Here.
6811 * config/m68k/dpx2.h (ASM_BYTE_OP, GLOBAL_ASM_OP): Here.
6812 * config/m68k/hp320.h (ASCII_DATA_ASM_OP, GLOBAL_ASM_OP): Here.
6813 * config/m68k/linux.h (BSS_SECTION_ASM_OP): Here.
6814 * config/m68k/lynx.h (BSS_SECTION_ASM_OP): Here.
6815 * config/m68k/m68k.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
6816 GLOBAL_ASM_OP): Here.
6817 * config/m68k/m68kelf.h (SWBEG_ASM_OP, BSS_ASM_OP,
6818 BSS_SECTION_ASM_OP): Here.
6819 * config/m68k/m68kv4.h (BSS_ASM_OP): Here.
6820 * config/m68k/mot3300.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
6821 ASCII_DATA_ASM_OP, SET_ASM_OP, CTORS_SECTION_ASM_OP,
6822 DTORS_SECTION_ASM_OP, GLOBAL_ASM_OP, ASM_BYTE_OP, ALIGN_ASM_OP,
6823 SKIP_ASM_OP): Here.
6824 * config/m68k/newsgas.h (SET_ASM_OP): Here.
6825 * config/m68k/rtemself.h (INIT_SECTION_ASM_OP,
6826 FINI_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP): Here.
6827 * config/m68k/sgs.h (BYTE_ASM_OP, WORD_ASM_OP, LONG_ASM_OP,
6828 SPACE_ASM_OP, ALIGN_ASM_OP, GLOBAL_ASM_OP, SWBEG_ASM_OP,
6829 SET_ASM_OP, UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP): Here,
6830 but use trailing spaces.
6831 * config/m68k/tower-as.h (TEXT_SECTION_ASM_OP,
6832 DATA_SECTION_ASM_OP, GLOBAL_ASM_OP, INIT_SECTION_ASM_OP,
6833 FINI_SECTION_ASM_OP, CONST_SECTION_ASM_OP, BSS_SECTION_ASM_OP):
6834 Here.
6835 * config/m88k/dgux.h (FINI_SECTION_ASM_OP, INIT_SECTION_ASM_OP,
6836 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Here.
6837 * config/m88k/m88k.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
6838 CONST_SECTION_ASM_OP, TDESC_SECTION_ASM_OP, CTORS_SECTION_ASM_OP,
6839 DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
6840 IDENT_ASM_OP, FILE_ASM_OP, SECTION_ASM_OP, SET_ASM_OP,
6841 GLOBAL_ASM_OP, ALIGN_ASM_OP, SKIP_ASM_OP, COMMON_ASM_OP,
6842 BSS_ASM_OP, FLOAT_ASM_OP, DOUBLE_ASM_OP, INT_ASM_OP, SHORT_ASM_OP,
6843 CHAR_ASM_OP, ASCII_DATA_ASM_OP, SBSS_ASM_OP, SCOMM_ASM_OP,
6844 SDATA_SECTION_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP, INTERNAL_ASM_OP,
6845 VERSION_ASM_OP, UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
6846 PUSHSECTION_ASM_OP, POPSECTION_ASM_OP, REQUIRES_88110_ASM_OP,
6847 ASM_BYTE_OP): Here.
6848 * config/m88k/openbsd.h (SET_ASM_OP): Here.
6849 * config/m88k/sysv4.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
6850 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Here.
78d057d8
HPN
6851 * config/mcore/mcore-elf.h (UNALIGNED_INT_ASM_OP,
6852 UNALIGNED_SHORT_ASM_OP, CTORS_SECTION_ASM_OP,
6853 DTORS_SECTION_ASM_OP): Here.
6854 * config/mcore/mcore-pe.h (CTORS_SECTION_ASM_OP,
6855 DTORS_SECTION_ASM_OP, INT_ASM_OP): Here.
6856 * config/mips/elf.h (TYPE_ASM_OP, SIZE_ASM_OP,
6857 BSS_SECTION_ASM_OP): Here.
6858 * config/mips/elf64.h (TYPE_ASM_OP, SIZE_ASM_OP): Here.
6859 * config/mips/iris5.h (ABICALLS_ASM_OP): Here.
6860 * config/mips/iris6.h (TYPE_ASM_OP, SIZE_ASM_OP,
6861 POPSECTION_ASM_OP, BSS_SECTION_ASM_OP, CONST_SECTION_ASM_OP_32,
6862 CONST_SECTION_ASM_OP_64, CTORS_SECTION_ASM_OP,
6863 DTORS_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP): Here.
6864 * config/mips/mips.c (ABICALLS_ASM_OP): Here.
6865 * config/mips/mips.h (ASM_STABS_OP, ASM_STABN_OP, ASM_STABD_OP):
6866 Here.
6867 * config/mips/netbsd.h (TYPE_ASM_OP, SIZE_ASM_OP, WEAK_ASM_OP):
6868 Here.
6869 * config/mips/osfrose.h (SET_ASM_OP): Here.
6870 * config/mips/sni-svr4.h (ABICALLS_ASM_OP): Here.
76bbee81
HPN
6871 * config/ns32k/encore.h (SHARED_SECTION_ASM_OP): Here.
6872 * config/ns32k/merlin.h (SHARED_SECTION_ASM_OP): Here.
6873 * config/ns32k/ns32k.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
6874 Here.
6875 * config/ns32k/sequent.h (SHARED_SECTION_ASM_OP): Here.
6876 * config/ns32k/tek6000.h (SHARED_SECTION_ASM_OP): Here.
6877 * config/pa/pa-64.h (INT_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP): Here.
6878 * config/pa/pa.h (ASM_STABS_OP, ASM_STABN_OP): Here.
6879 * config/pj/pj.h (SET_ASM_OP, BSS_SECTION_ASM_OP): Here.
6880 * config/pyr/pyr.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
6881 Here.
6882 * config/romp/romp.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
6883 Here.
6884 * config/rs6000/rs6000.h (SET_ASM_OP): Here.
6885 * config/rs6000/sol2.h (ASM_STABN_OP): Here.
6886 * config/rs6000/sysv4.h (SKIP_ASM_OP, LOCAL_ASM_OP, LCOMM_ASM_OP):
6887 Here.
471b6f1b
HPN
6888 * config/sh/sh.h (SET_ASM_OP, BSS_SECTION_ASM_OP,
6889 UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP): Here.
6890 * config/sparc/linux.h (COMMON_ASM_OP): Here.
6891 * config/sparc/linux64.h (COMMON_ASM_OP,
6892 UNALIGNED_DOUBLE_INT_ASM_OP): Here.
6893 * config/sparc/litecoff.h (BSS_SECTION_ASM_OP,
6894 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INT_ASM_OP): Here.
6895 * config/sparc/lynx.h (BSS_SECTION_ASM_OP): Here.
6896 * config/sparc/pbd.h (ASM_INT_OP): Here.
6897 * config/sparc/sp64-elf.h (UNALIGNED_LONGLONG_ASM_OP): Here.
6898 * config/sparc/sparc.h (ASM_BYTE_OP, TEXT_SECTION_ASM_OP,
6899 DATA_SECTION_ASM_OP, IDENT_ASM_OP): Here.
6900 * config/sparc/sun4gas.h (UNALIGNED_DOUBLE_INT_ASM_OP,
6901 UNALIGNED_INT_ASM_OP, UNALIGNED_SHORT_ASM_OP): Here.
6902 * config/sparc/sysv4.h (STRING_ASM_OP, COMMON_ASM_OP, SKIP_ASM_OP,
6903 UNALIGNED_DOUBLE_INT_ASM_OP, UNALIGNED_INT_ASM_OP,
6904 UNALIGNED_SHORT_ASM_OP, PUSHSECTION_ASM_OP, POPSECTION_ASM_OP,
6905 TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP,
6906 CONST_SECTION_ASM_OP, INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
6907 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
6908 EH_FRAME_SECTION_ASM_OP): Here.
6909 * config/sparc/vxsim.h (COMMON_ASM_OP): Here.
6910 * config/spur/spur.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
6911 Here.
6912 * config/tahoe/tahoe.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
6913 Here.
6914 * config/v850/v850.h (SCOMMON_ASM_OP, ZCOMMON_ASM_OP,
6915 TCOMMON_ASM_OP): Here.
6916 * config/vax/vax.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
6917 Here.
6918 * config/we32k/we32k.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
6919 ASM_BYTE_OP): Here.
0a3e1f45 6920
ea9ea008
RH
69212000-09-25 Richard Henderson <rth@cygnus.com>
6922
6923 * expmed.c (store_bit_field): Adjust last change to not consider
6924 any word-sized field naturally aligned.
6925
9e495700
RH
69262000-09-24 Richard Henderson <rth@cygnus.com>
6927
6928 * config/alpha/alpha.c (alpha_emit_conditional_branch): Handle
6929 TFmode unordered compares properly. Revalidate integer compare
6930 operands.
6931 (alpha_emit_setcc): New.
6932 (alpha_emit_conditional_move): Revalidate integer compare operands.
6933 * config/alpha/alpha-protos.h: Update.
6934 * config/alpha/alpha.md (cmpdi): Allow general operands.
6935 (sne): Use alpha_emit_setcc.
6936 (seq, slt, sle, sgt, sge, sltu, sleu, sgtu, sgeu): Likewise.
6937 (sunordered, sordered): New.
6938
2ed4af6f
RH
69392000-09-24 Richard Henderson <rth@cygnus.com>
6940
6941 * config/ia64/ia64-protos.h: Update.
6942 * config/ia64/ia64.c (call_multiple_values_operation): Remove.
6943 (ia64_expand_call): New.
6944 (ia64_expand_prologue): Emit an alloc if we need extra input
6945 registers.
6946 (ia64_expand_epilogue): New arg sibcall_p; don't emit the return
6947 instruction if true.
6948 (struct reg_flags): Add is_sibcall.
6949 (rtx_needs_barrier): A sibcall does not use CFM et al. Ignore USEs.
6950 (emit_insn_group_barriers): Set flags.is_sibcall. Remove hacks
6951 for CODE_FOR_gr_spill_internal/CODE_FOR_gr_restore_internal.
6952 * config/ia64/ia64.h (PREDICATE_CODES): Update.
6953 * config/ia64/ia64.md (call): Use ia64_expand_call.
6954 (call_value): Likewise.
6955 (sibcall, sibcall_value): New.
6956 (call patterns): Remove extra expanders; tidy.
6957 (sibcall_epilogue): New.
6958 (set_bsp): Remove the extra USE. Put the operand inside the UNSPEC.
6959
e1389cac
RH
69602000-09-24 Richard Henderson <rth@cygnus.com>
6961
6962 * emit-rtl.c (gen_lowpart_common): Use trunc_int_for_mode.
6963
fd442cef
RH
6964 * sibcall.c (skip_pic_restore): New.
6965 (identify_call_return_value): Use it.
6966
c06aa51e
MM
69672000-09-24 Mark Mitchell <mark@codesourcery.com>
6968
6969 * c-tree.texi: Moved here from cp/ir.texi. Documented nested
6970 functions. Generalize to handle both C and C++.
6971 * Makefile.in (c-tree.info): New target.
6972 (info): Add c-tree.info.
b8dad04b 6973
bd5dab53
RK
6974Sun Sep 24 09:15:48 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6975
6976 * expr.c (store_field): If BITSIZE is negative, use size of type.
6977 (expand_expr, case COMPONENT_EXPR): Likewise.
6978
838f313b
NB
6979Sun 24-Sep-2000 11:40:23 BST Neil Booth <NeilB@earthling.net>
6980
6981 * cpplex.c: Update TODO comment.
6982 * cpplib.c (do_error, do_warning): Merge common code of
6983 do_error and do_warning into do_diagnostic. Use it.
6984 (do_diagnostic): New function.
6985 * cpplib.h: Fix comment typo.
6986
c5412f06
JM
69872000-09-24 Joseph S. Myers <jsm28@cam.ac.uk>
6988
6989 * c-common.c (check_format_info): Warn for a wide character string
6990 used as a non-wide format argument.
6991
1c44c45d
JM
69922000-09-24 Joseph S. Myers <jsm28@cam.ac.uk>
6993
6994 * builtins.def (BUILT_IN_LLABS): Add.
6995 * builtins.c (expand_builtin): Also abort on BUILT_IN_LLABS.
6996 * c-common.c (c_common_nodes_builtins): Create builtin functions
6997 __builtin_llabs, and plain llabs unless no_nonansi_builtins
6998 outside of C99 mode.
6999 (expand_tree_builtin): Handle BUILT_IN_LLABS.
7000
cbcff6df
NB
7001Sat 23-Sep-2000 22:39:18 BST Neil Booth <NeilB@earthling.net>
7002
7003 * cpphash.h (CPP_RESERVE, CPP_PUTS_Q, CPP_PUTS, CPP_PUTC_Q,
7004 CPP_PUTC, DUMMY_TOKEN, NO_DUMMY_TOKEN): Delete.
7005 * cpplex.c (_cpp_expand_token_space, _cpp_init_toklist,
7006 _cpp_free_toklist): No need to worry about extra dummy token
7007 at the start of token lists any more.
7008 (trigraph_ok): Only warn outside comments.
7009 (skip_block_comment): Set and clear lexing_comment.
7010 (skip_line_comment): Take a cpp_reader not cpp_buffer.
7011 Set and clear lexing_comment.
7012 (parse_number): Handle leading '.' indicated by pfile->seen_dot.
7013 (check_long_token): Delete.
7014 (lex_percent, lex_dot): New subroutines of lex_token to
7015 handle lexing of '.' and '%' without lookback.
7016 (lex_token): Use lex_dot and lex_percent.
7017 (lex_line): Don't check for LIST_OFFSET.
7018 (_cpp_init_input_buffer): Update for new _cpp_init_toklist.
7019 * cpplib.c (_cpp_parse_assertion): Similarly.
7020 (cpp_push_buffer): Initialize extra_char.
7021 * cpplib.h (LIST_OFFSET): Delete.
7022 (struct cpp_buffer): New member extra_char.
7023 (struct lexer_state): New members lexing_comment and seen_dot.
7024
2abdcaee
JM
70252000-09-23 Jason Merrill <jason@redhat.com>
7026
7027 * config/rs6000/x-aix41 (CLIB): Define here.
7028 * config/rs6000/t-aix43: Not here.
7029 * config/rs6000/t-aix41: Or here. Remove.
7030 * configure.in: Don't use it.
7031
981d4858
JM
70322000-09-22 Jason Merrill <jason@redhat.com>
7033
2abdcaee
JM
7034 * configure.in: Add test for HAVE_LD_DWARF_LINKONCE.
7035 * toplev.c: Use it to initialize flag_eliminate_dwarf2dups.
7036 * config.in: Regenerate.
7037
981d4858
JM
7038 * configure.in: Fix checks for assembler features when using a
7039 one-tree assembler that has not yet been built.
7040 Fix --disable-threads.
7041
afa223c6
GK
70422000-09-19 Geoff Keating <geoffk@cygnus.com>
7043
7044 * stmt.c (expand_asm_operands): Allow # in constraints.
7045
a3a834aa
JM
70462000-09-22 Jason Merrill <jason@redhat.com>
7047
7048 * c-lex.c (skip_white_space): Just treat CRs as horizontal whitespace.
7049
7050 * dbxout.c (dbxout_symbol_name): Just use DECL_NAME for
7051 function-local names.
7052
18424ae1
BL
70532000-09-22 Brad Lucier <lucier@math.purdue.edu>
7054 Mark Mitchell <mark@codesourcery.com>
7055
b8dad04b
ZW
7056 * toplev.c (warn_disabled_optimization): Declare new warning flag.
7057 * flags.h (warn_disabled_optimization): Add it here.
7058 * gcse.c (gcse_main): Add warning when disabled.
7059 * invoke.texi: Document -Wdisabled-optimization.
18424ae1 7060
1bfb5f8f
JM
70612000-09-21 Jason Merrill <jason@redhat.com>
7062
7063 * dwarf2out.c (add_const_value_attribute): Multiply by length, not 4.
7064
7065 * dwarf2out.c (tree_add_const_value_attribute): New fn.
7066 (gen_variable_die): Call it for non-definitions.
7067
7068 * dwarf2out.c (die_struct): Add die_mark field.
7069 (mark_dies, unmark_dies): New fns.
7070 (clear_die_sizes): Remove.
7071 (print_die): Check die_symbol rather than die_offset.
7072 (build_abbrev_table, output_pubnames, output_aranges): Check
7073 die_mark rather than die_offset.
7074 (output_comp_unit): Move calc_die_sizes after build_abbrev_table.
7075 Call mark_dies.
7076
2047e26f
NB
7077Thu 21-Sep-2000 18:19:05 BST Neil Booth <NeilB@earthling.net>
7078
7079 * cppfiles.c (lookup_include_file): Rename to open_file.
7080 Always create a splay tree value, even on syscall failures.
7081 Negative entries indicated by fd == -2.
7082 Re-open files closed in the meantime.
7083 (_cpp_fake_include): Create a negative splay tree entry.
7084 (find_include_file, cpp_read_file): Update for function name
7085 change.
7086 * gcc.gd/cpp/mi4.c: Testcase.
7087
f27cd94d
NC
70882000-09-21 Nick Clifton <nickc@redhat.com>
7089
2359a5e1
NC
7090 * config/arm/t-arm-elf (MULTILIB_DIRNAMES): Enable multilibs for
7091 ARM and THUMB modes.
7092
f27cd94d 7093 * config/mcore/mcore.c: Fix compile time warnings.
b8dad04b 7094 * config/mcore/mcore-protos.h: Fix compile time warnings.
f27cd94d 7095
7373064a
DA
70962000-09-20 J. David Anglin <dave@hiauly1.hia.nrc.ca>
7097
7098 * configure.in: Correct test of gcc_cv_glibc.
7099 * configure: Rebuilt.
7100 * config.in: Rebuilt.
7101
07328167
KG
71022000-09-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7103
7104 * builtins.c (expand_builtin_fputs): Also expand when length!=1.
7105 (expand_builtin): Handle BUILT_IN_FWRITE.
7106
7107 * builtins.def (BUILT_IN_FWRITE): New entry.
7108
7109 * c-common.c (c_common_nodes_and_builtins): Declare __builtin_fwrite.
7110
5fa7c8ce
RK
7111Wed Sep 20 15:39:14 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7112
dc36ec2c
RK
7113 * gcc.c (modify_target): New variable and struct.
7114 (process_command): Handle MODIFY_TARGET_NAME.
7115 * tm.texi (MODIFY_TARGET_NAME): Add documentation for new macro.
7116 * config/pa/pa.h (MODIFY_TARGET_NAME): New macro.
7117
5fa7c8ce
RK
7118 * c-decl.c (finish_decl): Add else's to avoid referencing
7119 TYPE_DOMAIN of an ERROR_MARK.
7120
155b14a8
DC
7121Wed Sep 20 21:44:31 2000 Denis Chertykov <denisc@overta.ru>
7122
7123 * config/avr/avr.c (adjust_insn_length): Adjust lengths of
7124 `reload_in*' insns.
7125
71262000-09-19 Marek Michalkiewicz <marekm@linux.org.pl>
7127
7128 * config/avr/avr.md (neghi2): Add alternative for input and output
7129 operands in different registers, as in negsi2.
7130 (*negsi2): Remove '*' from the name. Use "movw" if available.
7131
fd09c61f
JW
71322000-09-19 Jim Wilson <wilson@cygnus.com>
7133
7134 * config/ia64/crtbegin.asm (__dso_handle): Delete use of
7135 HAVE_GAS_HIDDEN macro.
7136
7eea5554
NB
7137Tue 19-Sep-2000 22:38:57 BST Neil Booth <NeilB@earthling.net>
7138
7139 * cpplex.c (lex_line): Drop the EOF token for unknown
7140 directives in assembler.
7141
a473fe45
DE
71422000-09-19 David Edelsohn <edelsohn@gnu.org>
7143
7144 * configure.in: Allow enable_threads_flag value of "aix". Define
fd60bf96 7145 thread_file as "aix" for AIX 4.3 and above.
a473fe45 7146 * configure: Regenerated.
fd60bf96
DE
7147
7148 * gthr-aix.h: New file.
7149
a473fe45
DE
7150 * rs6000/t-aix43: Replace soft-float multilib with pthread.
7151 Remove 403 processor multilib match. Fix rios2 processor multilib
7152 match.
7153
fd60bf96
DE
7154 * rs6000/aix.h (ASM_DECLARE_FUNCTION_NAME): Use function_section
7155 to return to appropriate csect.
7156
ad3fd36f
KG
71572000-09-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7158
7159 * builtins.c (is_valid_printf_arglist, expand_builtin_printf): New
7160 functions.
7161 (expand_builtin_fputs): Set `target' parameter for `expand_expr'.
7162 (expand_builtin): Handle BUILT_IN_PUTCHAR, BUILT_IN_PUTS and
7163 BUILT_IN_PRINTF.
7164
7165 * builtins.def (BUILT_IN_PUTCHAR, BUILT_IN_PUTS, BUILT_IN_PRINTF):
7166 New entries.
7167
7168 * c-common.c (init_function_format_info): Handle __builtin_printf.
7169 Set `check_function_format_ptr'.
7170 (c_common_nodes_and_builtins): Set `puts_ftype' and
7171 `printf_ftype'. Declare __builtin_putchar, __builtin_puts,
7172 __builtin_printf and printf.
7173
7174 * tree.c, tree.h (check_function_format_ptr): Declare.
7175
6f3d20a0
NB
7176Tue 19-Sep-2000 18:26:57 BST Neil Booth <NeilB@earthling.net>
7177
b8dad04b 7178 * cppfiles.c (read_include_file): Take no special action for
6f3d20a0
NB
7179 zero-length files.
7180
b4f75276
BS
71812000-09-19 Bernd Schmidt <bernds@redhat.co.uk>
7182
afc6898e
BS
7183 * final.c (insn_current_reference_address): Use INSN_SHUID of seq
7184 rather than that of branch.
7185 (shorten_branches): Don't increment insn_current_address twice.
7186
b4f75276
BS
7187 Undo most of the Wed Jan 27 23:39:53 1999 patch:
7188 * loop.h (struct induction): Delete members derived, ix and last_use.
7189 (struct loop_ivs): Delete members first_increment_giv and
7190 last_increment_giv.
7191 * loop.c (verify_dominator, find_life_end, cmp_recombine_givs_stats,
7192 recombine_givs): Delete functions.
7193 (find_and_verify_loops): Don't initialize cont_dominator.
7194 (strength_reduce): Lose code to try to find bivs that can be
7195 expressed as givs of another biv, and to convert biv increments
7196 into givs.
7197 Lose loop_scan_start variable, always use loop->scan_start.
7198 Don't call recombine_givs. Don't handle derived givs.
7199 (record_giv): Don't initialize derived and last_use fields.
7200 (biv_eliminiation_giv_has_0_offset): Lose code to handle derived
7201 givs.
7202 * unroll.c (derived_regs): Delete static variable.
7203 (unroll_loop): Don't initialize it.
7204 (copy_loop_body): Lose code to handle derived givs.
7205 (find_splittable_givs): Don't check for givs made from biv
7206 increments.
7207 Don't set derived_regs.
7208
0f805606
BS
7209 Fix misapplied earlier patch:
7210 * config/sh/sh.md (floatsisf_ie): Reenable. Remove explicit reference
7211 to fpul.
7212 (floatsisf2): Generate floatsisf_ie by default.
7213 (floatsisf_i4): Conditional on TARGET_SH4.
7214
7215 (floatsisf2, floatsidf2, extendsfdf2): Also use reg_no_subreg_operand
7216 predicate for the expanders.
7217
8aa0e194
RH
72182000-09-19 Richard Henderson <rth@cygnus.com>
7219
0d97fd9e
RH
7220 * config/i386/i386.h (CPP_CPU_SPEC): Define i586 and i686 symbols
7221 in addition to pentium and pentiumpro symbols.
7222 (CPP_CPU_DEFAULT_SPEC): Likewise.
7223
39b726dd
RH
7224 * c-typeck.c (c_expand_asm_operands): Restore the output tree
7225 after expanding.
7226
9790cefd
RH
7227 * stmt.c (expand_expr_stmt): Only call warn_if_unused_value
7228 if the tree has side effects.
7229 (warn_if_unused_value): Do not warn about void constructs.
7230
8e5a0fcb
RH
7231 * c-decl.c (poplevel): Invoke warn_about_unused_variables.
7232
8aa0e194
RH
7233 * unroll.c (copy_loop_body): Update LABEL_NUSES before
7234 calling invert_jump.
7235
62f7f1f5
GK
72362000-09-18 Geoff Keating <geoffk@cygnus.com>
7237
7238 * combine.c (can_combine_p): Don't substitute an ASM_OPERANDS
7239 into anything.
7240
3f80e6ac
KG
72412000-09-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7242
7243 * Makefile.in (c-common.o): Depend on diagnostic.h.
7244
7245 * c-common.c: Include diagnostic.h.
7246 (tfaff): Delete.
7247 (status_warning): New function.
7248 (check_format_info, maybe_read_dollar_number, check_format_types,
7249 finish_dollar_format_checking, check_function_format): Accept a
7250 `status' parameter. All callers changed.
7251
7252 * c-common.h (check_function_format): Accept a `status' parameter.
7253
7254 * c-typeck.c: Update call to `check_function_format'.
7255
cfbd829c
RH
72562000-09-18 Richard Henderson <rth@cygnus.com>
7257
7258 * c-decl.c (c_expand_body): Call mark_varargs before
7259 expand_function_start.
7260
c21d86e1
GK
72612000-09-18 Geoff Keating <geoffk@cygnus.com>
7262
7263 * config/rs6000/eabi-cn.asm: Use /**/ to delimit comments, not #.
7264 * config/rs6000/eabi-ci.asm: Likewise.
7265
f0417c82
RH
72662000-09-18 Richard Henderson <rth@cygnus.com>
7267
7268 * emit-rtl.c (init_emit_once): Initialize const_tiny_rtx
7269 for BImode.
7270
226ed43f
JW
72712000-09-18 Jim Wilson <wilson@cygnus.com>
7272
5c3c320e
JW
7273 * unroll.c (loop_iterations): Pass increment to extend_for_giv_value
7274 before passing it to fold_rtx_mult_add.
7275
ec919c98
JW
7276 * unroll.c (final_giv_value): Pass increment through
7277 extend_value_for_giv before passing it to emit_iv_add_mult.
7278
226ed43f
JW
7279 * function.c (fixup_var_refs_1, case ZERO_EXTRACT): If we have a
7280 paradoxical subreg, then directly substitute the replacement and
7281 return.
7282
b542c0fb
NB
7283Mon 18-Sep-2000 22:12:44 BST Neil Booth <NeilB@earthling.net>
7284
b4f75276 7285 * cpp.texi: Update documentation, including some clarifications,
b542c0fb
NB
7286 the treatment of various newline combinations, and space between
7287 backslash and newline.
7288
800a6a0c
R
7289Mon Sep 18 21:00:47 2000 J"orn Rennecke <amylaar@redhat.co.uk>
7290
7291 * sdbout.c (PUT_SDB_DEF, PUT_SDB_TAG, PUT_SDB_EPILOGUE_END):
7292 Replace ASM_OUTPUT_LABELREF with assemble_name.
7293
50ceefc2
R
7294Mon Sep 18 20:26:50 2000 J"orn Rennecke <amylaar@redhat.co.uk>
7295
7296 * sh.c (addsubcosts): CONST is not cheap.
7297 (find_barrier): For Sh1, take alignment after jumps into account.
7298
659e47fb
AH
72992000-09-15 Andrew Haley <aph@redhat.com>
7300
7301 * toplev.c (rest_of_compilation): Call purge_hard_subreg_sets to
7302 remove all SETs of SUBREGs of hard registers.
7373064a 7303 * function.c (purge_hard_subreg_sets): New function.
659e47fb
AH
7304 (purge_single_hard_subreg_set): New function.
7305 * rtl.h: (purge_hard_subreg_sets): New function.
7306
f2f90c63
RH
73072000-09-18 Richard Henderson <rth@cygnus.com>
7308
7309 * config/ia64/ia64-protos.h: Update.
7310 * config/ia64/ia64.c (signed_inequality_operator): New.
7311 (ia64_expand_compare): New.
7312 (ia64_register_move_cost): Handle PR_REGS moves.
7313 (ia64_secondary_reload_class): Require a GR when moving to a PR.
7314 (struct reg_write_state): Add written_by_and/or.
7315 (struct reg_flags): Add is_and/or.
7316 (rws_update): Set them.
7317 (rws_access_regno): Test them to allow parallel comparisons.
7318 (rtx_needs_barrier): Recognize parallel comparisons.
7319 (emit_insn_group_barriers): Set prev_insn after a call stop bit.
7320 Call recog_memoized; ignore pred_rel_mutex.
7321 (emit_predicate_relation_info): Don't call find_basic_blocks here.
7322 (ia64_reorg): Do it here instead.
7323 * config/ia64/ia64.h: s/CCmode/BImode/g
7324 (MODES_TIEABLE_P): Don't tie BImode.
7325 (PREFERRED_RELOAD_CLASS): Do not reload operations into AR regs.
7326 (CONST_COSTS): Pick sensible values for CONST_INT based on context.
7327 (RTX_COSTS): Make multiply 4 insns.
7328 (MEMORY_MOVE_COST): New.
7329 (PREDICATE_CODES): Update.
7330 * config/ia64/ia64.md: s/CCmode/BImode/g
7331 (movcci, movbi): New.
7332 (andbi3, andcmbi3, iorbi3, iorcmbi3, one_cmplbi2): New.
7333 (cmpsi_and_0, cmpsi_and_1, cmpsi_andnot_0, cmpsi_andnot_1): New.
7334 (cmpdi_and_0, cmpdi_and_1, cmpdi_andnot_0, cmpdi_andnot_1): New.
7335 (tbit_and_0, tbit_and_1, tbit_and_2, tbit_and_3): New.
7336 (cmpsi_or_0, cmpsi_or_1, cmpsi_orcm_0, cmpsi_orcm_1): New.
7337 (cmpdi_or_0, cmpdi_or_1, cmpdi_orcm_0, cmpdi_orcm_1): New.
7338 (tbit_or_0, tbit_or_1, tbit_or_2, tbit_or_3): New.
7339 (mulsi, muldi): Use xmpy not xma.
7340 (cmpbi): New.
7341 (movcc, movcc_internal): Remove.
7342 (branch expanders): Use ia64_expand_compare.
7343 (setcc expanders): Likewise.
7344 (cmov insns): Use move_operand and ia64_move_ok.
7345 (pred_rel_mutex): Use unspec not unspec_volatile. Prevent the
7346 scheduler from moving it past a use.
7347 * config/ia64/build.hacks: Remove.
7348
0d9f234d
NB
7349Mon 18-Sep-2000 19:21:35 BST Neil Booth <NeilB@earthling.net>
7350
7351 * cpphash.h (HASHSTEP): Take character rather than pointer
7352 to character.
7353 (_cpp_check_directive, _cpp_check_linemarker): Update prototypes.
7354
7355 * cpphash.c (cpp_loookup): Update for new HASHSTEP.
7356
7357 * cpplex.c (auto_expand_name_space, trigraph_replace,
7358 backslash_start, handle_newline, parse_name, INIT_TOKEN_STR,
7359 IMMED_TOKEN, PREV_TOKEN_TYPE, PUSH_TOKEN, REVISE_TOKEN,
7360 BACKUP_TOKEN, BACKUP_TRIGRAPH, MIGHT_BE_DIRECTIVE,
7361 KNOWN_DIRECTIVE): Delete.
7362
7363 (handle_newline, check_long_token, skip_escaped_newlines,
7364 unterminated): New functions.
7365 (ACCEPT_CHAR, SAVE_STATE, RESTORE_STATE): New macros.
7366
7367 (parse_identifier): Was parse_name, new implementation.
7368 (skip_line_comment, skip_block_comment, skip_whitespace,
7369 parse_number, parse_string, trigraph_ok, save_comment,
7370 adjust_column, _cpp_get_line): New implementations.
7371
7372 (lex_token): New function. Lexes a token at a time, looking
7373 forwards. Contains most of the guts of the old lex_line.
7374 (lex_line): New implementation, using lex_token to obtain
7375 individual tokens.
7376 (cpp_scan_buffer): Use the token's line, not the list's line.
7377
7378 * cpplib.c (_cpp_check_directive, _cpp_check_linemarker):
7379 New implementations.
7380 (do_assert): Don't bother setting the answer's list's line.
7381 (cpp_push_buffer): Initialise new pfile and read_ahead members
7382 of struct cpp_buffer.
7383
7384 * cpplib.h (cppchar_t): New typedef.
7385 (struct cpp_buffer): read_ahead, pfile and col_adjust are
7386 new members.
7387 (struct lexer_state): New structure that determines the state
7388 and behaviour of the lexer.
7389 (IN_DIRECTIVE, KNOWN_DIRECTIVE): New macros.
7390 (struct cpp_reader): New member "state". Rename
7391 multiline_string_line and multiline_string_column. Delete
7392 col_adjust, in_lex_line members.
7393 (CPP_BUF_COLUMN): Update.
7394
a191f0ee
RH
73952000-09-18 Richard Henderson <rth@cygnus.com>
7396
9f8e169e
RH
7397 * combine.c (simplify_comparison): Shift a NOT out of a single
7398 bit test.
7399
1f3f36d1
RH
7400 * combine.c (if_then_else_cond): Canonicalize BImode true to
7401 STORE_FLAG_VALUE.
7402 * explow.c (trunc_int_for_mode): Likewise.
7403
5bd60ce6
RH
7404 * combine.c (combine_simplify_rtx): Use gen_unary to distribute
7405 the NOT for De Morgan's rule.
7406 * simplify-rtx.c (simplify_unary_operation): Simplify a BImode NOT
7407 of a comparison to the reverse comparison.
7408
d340408c
RH
7409 * combine.c (try_combine): Allow split to create a single insn.
7410
a191f0ee
RH
7411 * machmode.def: Add BImode. Add a column for bitsize.
7412 * machmode.h (DEF_MACHMODE): Adjust for extra column.
7413 (GET_MODE_BITSIZE): Use it.
7414 * rtl.c (DEF_MACHMODE): Adjust for extra column.
7415 (mode_bitsize): New.
7416 (mode_mask_array): Use bitsize.
7417 * combine.c (combine_simplify_rtx): Require inner and outer
7418 modes to match on nonzero_bits optimizations.
7419
5d77a50c
BS
74202000-09-18 Bernd Schmidt <bernds@redhat.co.uk>
7421
7422 * reload1.c (forget_old_reloads_1): If a hard reg is stored, clear
7423 its entry in spill_reg_store.
0fb8cb90 7424 * config/sh/lib1funcs.ams (movstr_i4 functions): Always compile in.
2e361e59
BS
7425 * sh.c (reg_no_subreg_operand): New function.
7426 * sh-protos.h (reg_no_subreg_operand): Declare it.
7427 * sh.h (PREDICATE_CODES): Add it.
7428 * sh.md (floatsisf2_i4, floatsidf2_i, extendsfdf2_i4): Use it for
7429 input operand that needs to be in fpul.
7430 (fix_truncsfsi2, fix_truncsfsi2_i4): Use register_operand for output.
42d5d0f1
BS
7431 * sh.c (find_barrier): Take into account that machine_dependent_reorg
7432 might add new insns.
5d77a50c 7433
55eec660
AO
74342000-09-18 Alexandre Oliva <aoliva@redhat.com>
7435
40fc375d
AO
7436 * config/sh/sh.c (sh_expand_prologue): Mark GOTaddr2picreg as
7437 MAYBE_DEAD.
7438 (sh_expand_epilogue): Take the PIC register into account when
7439 computing the frame size.
7440
55eec660
AO
7441 * config/sh/sh.c (nonpic_symbol_mentioned_p): Check LABEL_REFs.
7442 * config/sh/sh.md (sym_label2reg, symPLT_label2reg): Protect
7443 LABEL_REFs with a PIC-safe unspec.
7444
fc6df7e1
JM
74452000-09-18 Joseph S. Myers <jsm28@cam.ac.uk>
7446
7447 * c-common.c (check_format_info): Properly save the argument
7448 number and parameter for $ operand number formats in case width
7449 and precision arguments are also used. Allow printf width and
7450 precision arguments to have operand numbers even if none was
7451 specified for the main format, since this is OK for %*.*m. Only
7452 object to missing $ operand number if the format used requires an
7453 argument.
7454
effa5541
JM
74552000-09-18 Joseph S. Myers <jsm28@cam.ac.uk>
7456
7457 * c-common.c (format_char_info): Add 'W' flag to comment.
7458 (print_char_table, scan_char_table): Use it.
7459 (check_format_info): Use the 'W' flag to determine whether a
7460 format argument is written into.
7461
99303ae4
JM
74622000-09-18 Joseph S. Myers <jsm28@cam.ac.uk>
7463
7464 * c-common.c (check_format_types): Reorganise and clean up,
7465 checking earlier for ERROR_MARKs and making cur_type into its
7466 TYPE_MAIN_VARIANT where convenient.
7467
9231abf2
JM
74682000-09-18 Joseph S. Myers <jsm28@cam.ac.uk>
7469
7470 * gcc.c (cpp_options): Add specs for __STDC_HOSTED__.
7471
cf67d231
BS
74722000-09-18 Bernd Schmidt <bernds@redhat.co.uk>
7473
7474 * optabs.c (emit_libcall_block): Set CONST_CALL_P for the call.
7475
bd793c65
BS
7476 * i386-protos.h (ix86_init_builtins, ix86_expand_builtin): Declare.
7477 * i386.c (struct builtin_description): New.
7478 (bdesc_comi, bdesc_2arg, bdesc_1arg): New arrays.
7479 (mmx_reg_operand): Declare MODE arg as unused.
7480 (ix86_expand_sse_comi, ix86_expand_sse_compare, safe_vector_operand,
7481 ix86_expand_unop1_builtin, ix86_expand_unop_builtin,
7482 ix86_expand_binop_builtin, ix86_expand_store_builtin,
7483 ix86_init_builtins, ix86_expand_builtin): New functions.
7484 * i386.h (ix86_builtins): New enumeration.
7485 (MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): New macros.
7486 * i386.md (attr length_immediate): 0 for mmx/sse types.
7487 (attr prefix_0f): 1 for mmx/sse types.
7488 (setcc_2): Remove "*" so we get gen_setcc_2.
7489 (emms): Account for changed register numbering. Set "memory" attr
7490 to unknown.
7491 (sfence): Set "memory" attr to unknown.
7492
4070d885
AJ
74932000-09-18 Andreas Jaeger <aj@suse.de>
7494
7495 * configure.in: Define _GNU_SOURCE only when using the GNU C
7496 Library.
a191f0ee
RH
7497 * configure: Regenerated.
7498 * config.in: Regenerated.
4070d885 7499
2ac86f90
MM
75002000-09-17 Mark Mitchell <mark@codesourcery.com>
7501
31a1fdad
MM
7502 * cppinit.c (cpp_init): Don't use ANSI prototypes.
7503 * flow.c (flow_dump_loop): Likewise.
7504 (flow_loops_dump): Likewise.
7505
2ac86f90
MM
7506 * c-typeck.c (c_start_case): Fix typo.
7507
60e9d01c
JM
75082000-09-17 Joseph S. Myers <jsm28@cam.ac.uk>
7509
7510 * c-decl.c (grokdeclarator): Don't give a warning about defaulting
7511 to int for plain complex which defaults to complex double. Do
7512 warn about defaulting to complex double if pedantic. Warn about
7513 complex integer types if pedantic. Warn about complex types if
7514 pedantic and not in C99 mode.
7515 * c-typeck.c (build_unary_op): If pedantic, warn about use of ~
7516 for complex conjugation.
7517
bc5006c7
JM
75182000-09-17 Joseph S. Myers <jsm28@cam.ac.uk>
7519
7520 * contrib.texi: Update my entry.
7521
7e3bd81e
DC
7522Sun Sep 17 18:48:32 2000 Denis Chertykov <denisc@overta.ru>
7523
23cb1766
RK
7524 * config/avr/avr.md (mcu_enhanced): New attribute.
7525 (mcu_mega): Likewise.
7526 (extendhisi2): Use mcu_enhanced.
7527 (zero_extendhisi2): Likewise.
7528 (call_insn): Use mcu_enhanced and mcu_mega.
7529 (call_value_insn): Likewise.
7530 (*sbrx_branch): Use mcu_mega.
7531 (*sbrx_and_branchsi): Likewise.
7532 (*sbrx_and_branchhi): Likewise.
7533 (*tablejump_lib): Likewise.
7e3bd81e 7534
6a51f4a0
RK
7535Sun Sep 17 10:46:17 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7536
ec569656
RK
7537 * alias.c (true_dependence): Allow non-unchanging read to conflict
7538 with unchanging write.
7539
23cb1766
RK
7540 * expr.c (store_constructor_field): Accept ALIAS_SET arg.
7541 (store_constructor): Pass alias_set to it.
7542
a52fb89b
RK
7543 * c-decl.c (grokdeclarator): Reorder tests to avoid looking at
7544 TYPE_MAIN_VARIANT of ERROR_MARK.
7545 * c-lex.c (readescape): Avoid using printf syntax we don't recognize.
7546
6a51f4a0
RK
7547 * simplify-rtx.c (simplify_unary_operation): Add cases
7548 FLOAT_EXTEND and FLOAT_TRUNCATE to ones that return 0.
7549
ebb1b59a
BS
75502000-09-17 Bernd Schmidt <bernds@redhat.co.uk>
7551
a191f0ee 7552 * expr.h (emit_library_call, emit_library_call_value): Delete
ebb1b59a
BS
7553 declarations.
7554 * rtl.h (enum libcall_type): New.
7555 (emit_library_call, emit_library_call_value): Change fn_type arg to
a191f0ee 7556 be of type enum libcall_type.
ebb1b59a
BS
7557 * calls.c: Likewise for the function definitions. Several callers
7558 throughout changed to use the new enumeration appropriately.
7559 (emit_library_call_value_1): Likewise. Put back code to make libcall
a191f0ee 7560 blocks of equal form, but only use it for the two new higher
ebb1b59a
BS
7561 enumeration values.
7562
8f17b5c5
MM
75632000-09-16 Mark Mitchell <mark@codesourcery.com>
7564
7565 Convert the C front-end to use function-at-a-time mode.
7566 * c-common.h: Include splay-tree.h.
7567 (C_DECLARED_LABEL_FLAG): New macro.
7568 (struct language_function): Add x_scope_stmt_stack and
7569 x_function_name_declared_p.
7570 (RECHAIN_STMTS): Move definition.
7571 (lang_statment_code_p): Likewise.
7572 (lang_expand_stmt): Likewise.
7573 (lang_expand_decl_stmt): New variable.
7574 (lang_expand_function_end): Likewise.
7575 (current_scope_stmt_stack): New function.
7576 (add_decl_stmt): Likewise.
7577 (add_scope_stmt): Likewise.
7578 (mark_stmt_tree): Likewise.
7579 (struct c_lang_decl): New structure.
7580 (DECL_SAVED_TREE): Define.
7581 (c_mark_lang_decl): New function.
7582 (c_expand_start_cond): Change prototype.
7583 (c_finish_then): New function.
7584 (c_finish_else): Likewise.
7585 (current_function_name_declared): Remove.
7586 (set_current_function_name_declared): Likewise.
7587 (mark_c_language_function): Declare.
7588 (case_compare): Likewise.
7589 (c_add_case_label): Likewise.
7590 (c_expand_expr): Likewise.
7591 (c_safe_from_p): Likewise.
7592 * c-common.c (lang_expand_function_end): New variable.
7593 (struct if_elt): Add if_stmt.
7594 (c_expand_start_cond): Add the if-statement to the statement-tree,
7595 rather than generating RTL.
7596 (c_finish_then): New function.
7597 (c_expand_start_else): Don't generate RTL.
7598 (c_finish_else): New function.
7599 (c_expand_expr_stmt): Don't generate RTL.
7600 (statement_code_p): Add SCOPE_STMT.
7601 (case_compare): New function.
7602 (c_add_case_label): Likewise.
7603 (mark_stmt_tree): Likewise.
7604 (c_mark_lang_decl): Likewise.
7605 (mark_c_language_function): Likewise.
7606 (c_expand_expr): Likewise.
7607 (c_safe_from_p): Likewise.
7608 * c-decl.c (c_stmt_tree): New variable
7609 (c_scope_stmt_stack): Likewise.
7610 (c_function_name_declared_p): Likewise.
7611 (lang_expand_expr_stmt): Remove.
7612 (poplevel): Don't call output_inline_function for nested
7613 functions.
7614 (pushdecl): Don't set DECL_CONTEXT for a local declaration of an
7615 `extern' function.
7616 (redeclaration_error_message): Change means of computing whether
7617 or not a function is nested.
7618 (lookup_label): Don't call label_rtx.
7619 (init_decl_processing): Add more GC roots.
7620 (start_decl): Add DECL_STMTs to the statement-tree, rather than
7621 calling rest_of_decl_compilation.
7622 (finish_decl): Don't call expand_decl.
7623 (store_parm_decls): Begin the statement-tree, but don't generate
7624 RTL.
7625 (finish_function): Tie off the statement-tree. Call c_expand_body
7626 if appropriate.
7627 (c_expand_body): New function.
7628 (push_c_function_context): Save more information.
7629 (pop_c_function_contxt): Likewise.
7630 (copy_lang_decl): Now that we use DECL_LANG_SPECIFIC, copy it.
7631 (lang_mark_tree): Mark it.
7632 (current_stmt_tree): Adjust.
7633 (current_scope_stmt_stack): New function.
7634 (do_case): Remove.
7635 (set_current_name_declared): Likewise.
7636 (c_begin_compound_stmt): Define.
7637 (c_expand_decl_stmt): Likewise.
7638 * c-lang.c: Include rtl.h and expr.h.
7639 (lang_init): Set more language-specific hooks.
7640 * c-lex.c: Include expr.h.
7641 * c-parse.in: Changes throughout to add statements to the
7642 statement-tree, rather than generating RTL after every statement.
7643 * c-semantics.c (lang_expand_decl_stmt): Define.
7644 (add_decl_stmt): New function.
7645 (add_scope_stmt): Likewise.
7646 (finish_stmt_tree): Tweak.
7647 (genrtl_expr_stmt): Likewise.
7648 (genrtl_decl_stmt): Handle local labels, and call
7649 lang_expand_decl_stmt if required.
7650 (genrtl_for_stmt): Fix line-number handling.
7651 (genrtl_case_label): Handle cleanups.
7652 (genrtl_asm_stmt): Don't call combine_strings.
7653 (genrtl_compound_stmt): Simplify.
7654 (expand_stmt): Handle SCOPE_STMTs.
7655 * c-tree.h (struct lang_decl): New structure.
7656 (C_DECLARED_LABEL_FLAG): Remove.
7657 (c_begin_compound_stmt): Declare.
7658 (c_expand_decl_stmt): Likewise.
7659 (c_expand_start_case): Rename to c_start_case.
7660 (c_finish_case): New function.
7661 * c-typeck.c (start_init): Tweak setting of
7662 constructor_incremental.
7663 (c_expand_asm_operands): Tweak error-handling. Add to the
7664 statement-tree.
7665 (c_expand_return): Add to the statement-tree.
7666 (c_expand_start_case): Rename to ...
7667 (c_start_case): ... this.
7668 (struct c_switch): New type.
7669 (switch_stack): New variable.
7670 (do_case): Simplify.
7671 (c_finish_case): New function.
7672 * dependence.c: Include expr.h.
7673 (enum dependence_type): Change spelling of enumerals.
7674 (check_node_dependence): Adjust.
7675 * expr.h (lang_safe_from_p): Declare.
7676 (safe_from_p): Likewise.
7677 * expr.c (lang_safe_from_p): New variable.
7678 (safe_from_p): Give it external linkage. Use lang_safe_from_p.
7679 * stmt.c (expand_expr_stmt): Avoid clobberring of last_expr_type.
7680 * toplev.c (rest_of_decl_compilation): Robustify.
7681 * tree.c (contains_placeholder_p): Likewise.
7682 * Makefile.in: Update dependencies.
7683 * objc/objc-act.h: Adjust calculation of value for dummy_tree_code.
7684 * objc/objc-act.c: Include rtl.h, expr.h, and c-common.h.
7685 (objc_expand_function_end): New function.
7686 (finish_method_def): Use it.
7687 (init_objc): Initialize more language-specific hooks.
7688 * objc/Make-lang.in: Update dependencies.
7373064a 7689
4797e955
GK
76902000-09-16 Geoffrey Keating <geoffk@cygnus.com>
7691
7692 * configure.in: Define macros that affect features before
7693 testing for features. Don't define _XOPEN_SOURCE.
7694 * configure: Regenerated.
7695 * config.in: Regenerated.
7696
ae0fb1b9
JW
7697Sat Sep 16 19:42:50 EDT 2000 John Wehle (john@feith.com)
7698
7699 * rtlanal.c (rtx_varies_p): Volatile asms vary.
7700 (rtx_unstable_p): Restructure code. Volatile asms
7701 are unstable.
7702
5748b2cb 7703Sat Sep 16 14:35:55 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
ae0f4dee 7704
87c31d6b
RK
7705 * function.h (no_debugging_symbols): New field.
7706 * integrate.c (save_for_inline): Renamed from save_for_inline_nocopy.
7707 Initialize no_debugging_symbols.
7708 (output_inline_function): Save and restore write_symbols and set from
7709 no_debugging_symbols.
7710 * toplev.c (rest_of_compilation): Call save_for_inline.
7711 * tree.h: Update comment.
7373064a 7712
5748b2cb
RK
7713 * stor-layout.c (place_field): Don't do anything if field or
7714 its type are ERROR_MARK.
7715
7716Sat Sep 16 19:14:00 2000 Laurynas Biveinis <lauras@softhome.net>
7717
7718 * cppfiles.c (purge_cache): Use munmap only if MMAP_THRESHOLD defined.
7719 (read_include_file): Ensure inc->mmaped is initialized.
ae0f4dee 7720
6f84c9bd
RH
77212000-09-16 Richard Henderson <rth@cygnus.com>
7722
7723 * cppiles.c (purge_cache): Use PTR not caddr_t.
7724
50c57e7b
HPN
77252000-09-16 Hans-Peter Nilsson <hp@axis.com>
7726
7727 * gcc.c: In description for %{<S}, say the option removed is -S.
7728 * invoke.texi (Spec Files): Ditto.
7729
dd745546
AJ
77302000-09-16 Andreas Jaeger <aj@suse.de>
7731
7732 * configure.in: Always define _GNU_SOURCE to make interfaces
7733 visible that were hidden by only defining _GNU_SOURCE.
7734 * configure: Regenerated.
7735
08ebc1c5
NB
7736Sat 16-Sep-2000 08:13:45 BST Neil Booth <NeilB@earthling.net>
7737
7738 * cpplex.c (push_macro_context): Set an argument's level after
7739 calling parse_args. We could loop infinitely otherwise.
7740
16abe34a
TT
77412000-09-15 Tom Tromey <tromey@cygnus.com>
7742
7743 * configure, config.in: Rebuilt.
7744 * configure.in: Check for iconv.h. Define _XOPEN_SOURCE.
7745
61c16b10
GM
77462000-09-15 Greg McGary <greg@mcgary.org>
7747
7748 * cppmacro.c (check_trad_stringification): Check token
7749 text pointers against limit before dereferencing.
7750
6a357625
JM
77512000-09-15 Joseph S. Myers <jsm28@cam.ac.uk>
7752
7753 * c-common.c (format_wanted_type): New structure.
7754 (check_format_types): New function.
7755 (check_format_info): Pass all checking of types of format
7756 arguments, including width and precision arguments, to this new
7757 function.
7758
6a1d1088
GP
77592000-09-15 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
7760
7761 * BUGS: Remove file.
7762
a3b815cb
JJ
77632000-09-15 Jakub Jelinek <jakub@redhat.com>
7764
54f5c4b0
JJ
7765 * config/alpha/alpha.c (override_options): ev6 cache latencies
7766 from Richard Henderson. Don't allow -mmemory-latency=L0.
7767
a3b815cb
JJ
7768 * config/alpha/alpha.h (TARGET_CPU_EV5, TARGET_CPU_EV6): Define.
7769 (TARGET_OPTIONS): Add tune=.
7770 (alpha_tune_string): Declare.
7771 * config/alpha/alpha.c (override_options): Add cpu_table.
7772 Use alpha_cpu_string first to set both alpha_cpu and target_flags
7773 and then alpha_tune_string to set alpha_cpu only.
7774 Replace tests for PROCESSOR_EV* with TARGET_CPU_EV* tests.
7775 * config/alpha/elf.h (ASM_FILE_START): Likewise.
7776 * config/alpha/osf.h (ASM_FILE_START): Likewise.
7777 * config/alpha/openbsd.h (ASM_FILE_START): Likewise.
7778
9076b9c1
JH
7779Fri Sep 15 19:45:55 MET DST 2000 Jan Hubicka <jh@suse.cz>
7780
7781 * i386-protos.h (no_comparison_operator, uno_comparison_operator):
7782 Remove.
7783 (ix86_comparison_operator, ix86_cc_mode): Declare
7784 * i386.h (CCGC, CCGCO): New modes.
7785 (SELECT_CC_MODE): Move offline to ....
7786 * i386.c (ix86_cc_mode): .... here; use new modes.
7787 (ix86_comparison_operator): New.
7788 (fcmov_comparison_operator): Ensure proper mode.
7789 (put_condition_mode): More sanity checking.
7790 (ix86_match_ccmode): Handle new modes.
7791 (ix86_expand_fp_compare): GEU requires CCmode.
7792 (ix86_expand_strlensi_unroll_1): Use emit_cmp_and_jump_insn instead of
7793 doing it by hand.
7794 * i386.md (cmp?i_ccz_1): Remove
7795 (cmp?i_ccno_1): Use ix86_match_ccmode.
7796 (cmp?i_minus_1): New.
7797 (cmpsi_1): New expander.
7798 (cmpqi_ext_1): Use match_ccmode
7799 (cmpqi_ext_3): New expander.
7800 (cmpqi_ext_3_insn): Rename from cmpqi_ext_3.
7801 (cmpqi_ext_4): Use match_ccmode.
7802 (add?i_?): Use match_ccmode.
7803 (add?i_6): New.
7804 (test?i_ccz_1): Remove
7805 (test?i_1): New.
7806 (testsi_ccno_1, testqi_ccz_1, testqi_ext_ccno_0): New expander.
7807 (testqi_ext_0): Use ix86_match_ccmode.
7808 (*xorqi_cc_ext_1): Use ix86_match_ccmode.
7809 (xorqi_cc_ext_1): New expander.
7810 (shift patterns): Use CCGOCmode for all shifts except for sar.
7811 (setcc_?, jcc_?, miv?icc_nic): Use ix86_comparison_operator.
7812 (setcc_3, jcc_3, miv?icc_c): Remove.
7813
3724ec07
WC
78142000-09-15 Will Cohen <wcohen@redhat.com>
7815
7816 * dwarf2out.c (add_const_value_attribute): Changed array into a
7817 xmalloced object, so it exists after function exit.
7818 (free_AT): Added case for dw_val_class_float to free allocated
7819 memory.
7820
182a4620
KH
78212000-09-15 Kazu Hirata <kazu@hxi.com>
7822
7823 * config/i386/i386.md: Fix a comment typo.
d25a45d4 7824 * gcc.c: Fix formatting.
182a4620 7825
aff2c2d3
BS
78262000-09-15 Bernd Schmidt <bernds@redhat.co.uk>
7827
7828 * optabs.c (emit_libcall_block): If target is a user variable,
7829 copy to a temporary first.
642dfa8b
BS
7830 * expr.c (convert_move): When generating a libcall, make a libcall
7831 block.
188c5e6c
BS
7832 * calls.c (emit_library_call_value_1): Don't create a libcall
7833 sequence here; our caller will in most cases do it.
aff2c2d3 7834
0c4c9b16
BS
7835 * sh.h (SECONDARY_INPUT_RELOAD_CLASS): Handle moving T, MACL or
7836 MACH into FPUL.
7837 (SECONDARY_OUTPUT_RELOAD_CLASS): Similar case.
7838 * sh.md (reload_outsf): Generate recognizable patterns for
7839 TARGET_SH3E.
7840 (floatsisf2, floatsisf2_ie, floatsisf2_i4, fix_truncsfsi2,
7841 fix_truncsfsi2_i4, fixsfsi, floatsidf2, floatsidf2_i, fix_truncdfsi2,
7842 fix_truncdfsi2_i, extendsfdf2, extendsfdf2_i4, truncdfsf2,
7843 truncdfsf2_i4): Change not to use explicit references to fpul.
7844 (floatsisf2_ie): Remove USE of fpscr.
7845 (floatsisf2): Change default expansion to match this.
7846 (fix_truncsfsi2_i4_2, fix_truncdfsi2_i4 & splitters): Comment out
7847 unused patterns.
7848
308ecea0
RH
78492000-09-15 Richard Henderson <rth@cygnus.com>
7850
7851 * expmed.c (store_bit_field): Consider naturally aligned
7852 memory for direct reference.
7853
e01acbb1
RH
78542000-09-15 Richard Henderson <rth@cygnus.com>
7855
7856 * config/alpha/alpha.c (alpha_expand_unaligned_load): Force all
7857 AND addresses into alias set 0.
7858 (alpha_expand_unaligned_store): Likewise.
7859 (alpha_expand_unaligned_load_words): Likewise.
7860 (alpha_expand_unaligned_store_words): Likewise.
7861
c363a0c0
BS
78622000-09-15 Bernd Schmidt <bernds@redhat.co.uk>
7863
7864 * config/sh/sh.h (CPP_SPEC): For -m4-nofpu, define __SH4_NOFPU__.
7865 * config/sh/lib1funcs.asm (movstr_i4): Also compile if __SH4_NOFPU__
7866 is defined.
dd193c79
BS
7867 * config/mips/mips.c (mips_va_arg): Args passed by reference have a
7868 rsize of UNITS_PER_WORD.
c363a0c0 7869
ff94c747
NB
7870Fri 15-Sep-2000 06:49:07 BST Neil Booth <NeilB@earthling.net>
7871
7872 * cpplex.c (ON_REST_ARG): Correct the test.
7873 (maybe_paste_with_next): Duplicate a token that fail pasting,
7874 and clear its PASTE_LEFT flag, so that nested pasting attempts
7875 do not occur.
7876
b437f1a7
RH
78772000-09-14 Richard Henderson <rth@cygnus.com>
7878
7879 * calls.c (precompute_register_parameters): Use COSTS_N_INSNS, not 2.
7880 * cse.c (rtx_cost): Likewise.
7881 * optabls.c (expand_binop): Likewise.
7882 (expand_twoval_binop, prepare_cmp_insn): Likewise.
7883 * regclass.c (copy_cost): Likewise.
7884 * reload1.c (reload_cse_move2add): Likewise.
7885
d9dbd9b1
JM
78862000-09-14 Joseph S. Myers <jsm28@cam.ac.uk>
7887
7888 * c-parse.in (reswords): Add _Complex.
7889
9207d3b1
DA
78902000-09-14 J. David Anglin <dave@hiauly1.hia.nrc.ca>
7891
7892 * gcc.1: Delete documentation for -undef preprocessor option.
7893
395a451c
AO
78942000-09-14 Alexandre Oliva <aoliva@redhat.com>
7895
7896 * config/sh/sh.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
7897 STARTFILE_SPEC, ENDFILE_SPEC): Remove define.
7898 * config/sh/elf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
7899 Remove undefine before config/elfos.h.
7900 * config/sh/t-sh (EXTRA_MULTILIB_PARTS): Comment out.
7901
17f0f8fa
KH
79022000-09-14 Kazu Hirata <kazu@hxi.com>
7903
7904 * invoke.texi (H8/300 Options): Add -ms2600.
7905 * config/h8300.c (h8300_init_once): Output an error when -ms2600
7906 is used without -ms.
7907 * config/h8300.h (TARGET_MAC): New.
7908 (TARGET_SWITCHES): Add -ms2600 and -mno-s2600.
7909 (CONDITIONA_REGISTER_USAGE): Disable the mac register on any
7910 machine other than H8/S2600.
7911 * config/h8300.md: Accept mac instructions on the H8/S2600 instead
7912 of the H8/S2000.
7913
9e8f528c
AO
79142000-09-14 Alexandre Oliva <aoliva@redhat.com>, Bernd Schmidt <bernds@redhat.co.uk>
7915
7916 * reload.c (find_reloads_address_1): Generate reloads for auto_inc
7917 pseudos that refer to the original pseudos, not only to their
7918 equivalent memory locations.
7919
9985f210
RK
7920Thu Sep 14 12:10:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7921
fe7a8445
RK
7922 * expr.c (expand_expr, case COMPONENT_EXPR): Copy memory attributes
7923 when making new MEM.
7924
9985f210
RK
7925 * Makefile.in (LN): Remove duplicate definition.
7926
2f93c5c3
BS
79272000-09-12 Bernd Schmidt <bernds@redhat.co.uk>
7928
7929 From Joern Rennecke:
7930 * local-alloc.c (update_equiv_regs): If there is no REG_EQUAL note
7931 on an insn and function_invariant_p returns nonzero for the source,
7932 add a REG_EQUAL note.
7933
b24ea077
JW
7934Thu Sep 14 00:51:57 EDT 2000 John Wehle (john@feith.com)
7935
7936 * alias.c (memrefs_conflict_p): An ADDRESSOF doesn't
7937 conflict with frame_pointer_rtx.
7938
fd5d5b07
KH
79392000-09-13 Kazu Hirata <kazu@hxi.com>
7940
7941 * loop.c: Fix formatting.
7942 * loop.h: Likewise.
7943
26102535
RH
79442000-09-13 Richard Henderson <rth@cygnus.com>
7945
7946 * config/ia64/ia64.md (divsf3): New.
7947 (divsf3_internal_lat, divsf3_internal_thr): New.
7948 (divdf3, divdf3_internal_lat, divdf3_internal_thr): New.
7949 (divtf3, divtf3_internal_lat, divtf3_internal_thr): New.
7950 (adddf3_trunc, subdf3_trunc, muldf3_trunc): New.
7951 (madddf4_trunc, msubdf4_trunc, nmuldf3_trunc): New.
7952 (nmadddf4_alts, nmadddf4_trunc): New.
7953 (addtf3_truncsf, addtf3_truncdf, subtf3_truncsf): New.
7954 (subtf3_truncdf, multf3_truncsf, multf3_truncdf): New.
7955 (multf3_truncsf_alts, multf3_truncdf_alts): New.
7956 (maddtf4_truncsf, maddtf4_truncdf, maddtf4_alts_truncdf): New.
7957 (msubtf4_truncsf, msubtf4_truncdf, nmultf3_truncsf): New.
7958 (nmultf3_truncdf, nmaddtf4_truncsf, nmaddtf4_truncdf): New.
7959 (nmaddtf4_truncdf_alts): New.
7960 (recip_approx): Don't predicate.
7961
938566fb
RH
79622000-09-13 Richard Henderson <rth@cygnus.com>
7963
7964 * config/ia64/lib1funcs.asm (__divsf3): Protect fnorm.s with p6.
7965
c349e40b
SC
79662000-09-13 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7967
7968 * flags.h (flag_dump_rtl_in_asm): Declare.
7969 * toplev.c (flag_dump_rtl_in_asm): Define.
7970 (decode_d_option): Set flag_dump_rtl_in_asm and flag_print_asm_name
7971 if -dP is specified.
7972 * rtl.h (print_rtx_head): Declare.
7973 * print-rtl.c (print_rtx_head): Define.
7974 (print_rtx): Print the string pointed to by print_rtx_head
7975 at beginning of each dump line.
7976 (print_rtl): Likewise.
7977 (print_rtl_single): Likewise.
7978 * final.c (final_scan_insn): Dump the insn in the assembly
7979 file for debugging.
7980 * gcc.1: Document -dP option.
7981 * invoke.texi (Debugging Options): Likewise.
7982
2856c3e3
SC
79832000-09-13 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7984
7985 * md.texi (Machine Constraints): Document the 68HC11 constraints.
7986 * install.texi (Configurations): Document the 68HC11&68HC12 port.
7987 * invoke.texi (Option Summary, M68hc1x Options): Document the options.
7988
1ca04dc8
DC
7989Tue Sep 12 13:51:13 2000 Denis Chertykov <denisc@overta.ru>
7990
7991 * config/avr/avr.h (ASSEMBLER_DIALECT): New macro declared.
7992 * config/avr/avr.md (*movstrqi_insn): Cleanup output template.
7993 (*clrstrqi): Likewise.
7994 (xorhi3,xorsi3,absqi2): Likewise.
7995 (one_cmplhi2,one_cmplsi2): Likewise.
7996 (addsi3): Two stupid constraint alternatives removed.
7997 (extendhisi2): Use `movw' for enhanced avr cores.
7998 (zero_extendhisi2): Likewise.
7999
bb07060a
JW
8000Wed Sep 13 02:31:23 EDT 2000 John Wehle (john@feith.com)
8001
8002 * alias.c (find_base_term): Use frame_pointer_rtx
8003 when handling an ADDRESSOF.
8004
8005 * cse.c (canon_hash): Handle USE of BLKmode memory.
8006 (cse_insn): Outgoing arguments for a libcall don't
8007 affect any recorded expressions.
8008
d21445e7
TT
80092000-09-12 Tom Tromey <tromey@cygnus.com>
8010
8011 * configure, config.in: Rebuilt.
8012 * configure.in: Check for iconv, nl_langinfo, langinfo.h.
8013
5c80f6e6
JJ
80142000-09-12 Jakub Jelinek <jakub@redhat.com>
8015
8016 * c-lex.c (lex_string): Use charwidth to compute bytemask.
8017 * expr.c (expand_expr): Don't optimize constant array references
8018 initialized with wide string constants.
8019
635a2a90
MH
80202000-09-13 Michael Hayes <mhayes@cygnus.com>
8021
a191f0ee 8022 * loop.c (note_set_pseudo_multiple_uses): Correct.
635a2a90 8023
cc2999aa
JW
80242000-09-12 Jim Wilson <wilson@cygnus.com>
8025
8026 * ifcvt.c (noce_process_if_block): If A and B are the same, and no
8027 else block, and X has side-effects, then fail.
8028
a0b6cdee
GM
80292000-09-12 Greg McGary <greg@mcgary.org>
8030
8031 * config/mips/mips-protos.h
8032 (trap_cmp_op, mips_gen_conditional_trap): New func decls.
8033 * config/mips/mips.h (ISA_HAS_COND_TRAP): New macro.
8034 (PREDICATE_CODES): Add "trap_cmp_op".
8035 * config/mips/mips.c
8036 (trap_cmp_op, mips_gen_conditional_trap): New functions.
8037 * config/mips/mips.md (trap, conditional_trap): New patterns.
8038
24948ccc
BS
80392000-09-12 Bernd Schmidt <bernds@redhat.co.uk>
8040
8041 * flow.c (try_pre_increment_1): Don't do anything to sets of the stack
8042 pointer.
8043
3ff5f682
KG
80442000-09-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8045
8046 * builtins.c (built_in_decls): New array.
8047 (expand_builtin_fputs): New function.
8048 (expand_builtin): Handle BUILT_IN_FPUTC and BUILT_IN_FPUTS.
8049
8050 * builtins.def (BUILT_IN_FPUTC, BUILT_IN_FPUTS): New members.
8051
8052 * c-common.c (c_common_nodes_and_builtins): Handle fputc/fputs.
8053
8054 * tree.h (built_in_decls): New array.
8055
208b0ab1
JL
8056Tue Sep 12 08:53:57 2000 Jeffrey A Law (law@cygnus.com)
8057
8058 * convex.md: Use "+" instead of "=" for outputs wrapped in a
8059 STRICT_LOW_PART.
8060 * i370.md, i386.md, ns32k.md, sh.md, vax.md: Likewise.
8061
a86dc4a3
KH
80622000-09-12 Kazu Hirata <kazu@hxi.com>
8063
7a403706
KH
8064 * haifa-sched.c: Fix formatting.
8065
c9541287
KH
8066 * genattrtab.c: Fix formatting.
8067
a86dc4a3
KH
8068 * unroll.c: Fix formatting.
8069
3af556f7
BK
80702000-09-12 Bruce Korb <bkorb@gnu.org>
8071
8072 * fixinc/fixfixes.c: make a type for the fix procedure & use it,
8073 remove obsolete code
8074 * fixinc/fixincl.c: Use PARAMS, not _P_. Add no-op default to switch.
8075 * fixinc/fixincl.tpl: make non-exported arrays static scope
8076 * fixinc/fixincl.x: regenerate
8077 * fixinc/fixlib.h: Use PARAMS, not _P_
8078 * fixinc/fixtests.c: make a type for the test proc & use it
8079 * fixinc/server.h: Use PARAMS, not _P_
8080
32892c52
KG
80812000-09-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8082
8083 * c-typeck.c (process_init_element): Avoid union init warnings on
8084 floating point zero. Don't crash on unions containing structs.
8085
ae0a1c23
AO
80862000-09-12 Alexandre Oliva <aoliva@redhat.com>
8087
8088 * config/sh/sh.h (PREDICATE_CODES): Add CONST_DOUBLE to
8089 general_movsrc_operand, and remove CONST_INT from
8090 general_movdst_operand.
8091
f1c1dfc3
BS
80922000-09-12 Bernd Schmidt <bernds@redhat.co.uk>
8093
8094 * cse.c (approx_reg_cost): If SMALL_REGISTER_CLASSES, return INT_MAX
8095 if a reference to non-fixed hardreg is seen. Otherwise, count hard
8096 regs with a higher cost.
8097 (preferrable): Deal with cases where either cost or regcost is
8098 MAX_COST.
8099 (cse_insn): Use MAX_COST rather than 10000. Always initialize
8100 regcost values.
8101 (COSTS_N_INSNS): Move definition...
8102 * rtl.h: ...here.
8103 (MAX_COST): New macro.
8104 * loop.c (init_loop): Use COSTS_N_INSNS macro instead of hardcoded
8105 constant.
8106
f444e36b
MM
81072000-09-11 Mark Mitchell <mark@codesourcery.com>
8108
8109 * c-common.h (genrtl_clear_out_block): Remove.
8110 * c-semantics.c (genrtl_clear_out_block): Remove.
8111 (genrtl_while_stmt): Don't call it.
8112 (genrtl_for_stmt): Likewise.
8113
a58d32c2
ZW
81142000-09-11 Zack Weinberg <zack@wolery.cumb.org>
8115
8116 * cppfiles.c: Move all default-#defines to top of file.
8117 (open_include_file): Replace by lookup_include_file.
8118 (read_with_read, read_file): Merged into read_include_file.
8119 (stack_include_file, purge_cache): New functions.
8120 (close_cached_fd): Delete.
dd745546 8121 (lookup_include_file, read_include_file, _cpp_pop_file_buffer):
a58d32c2
ZW
8122 Cache the in-memory buffer, not the file descriptor.
8123
8124 * cpphash.h (struct include_file): Add buffer, st, refcnt,
8125 mapped fields.
8126 (xcnew): New utility macro.
8127 (DO_NOT_REREAD, NEVER_REREAD): Move up by struct include_file.
8128 * cpplib.h (struct cpp_buffer): Remove mapped field.
8129
81302000-09-11 Zack Weinberg <zack@wolery.cumb.org>
8131
8132 * cpplex.c (parse_string): Accept backslash space newline as a
8133 line continuation.
8134 (lex_line): Likewise.
8135 (_cpp_get_token): Remove hard limit on macro nesting.
8136
bfa29b63
PT
81372000-09-12 Philipp Thomas <pthomas@suse.de>
8138
8139 * aclocal.m4 (AM_WITH_NLS): Don't force use of included gettext.
8140 * configure: Rebuilt.
8141
97ca9316
MH
81422000-09-13 Michael Hayes <mhayes@cygnus.com>
8143
8144 * flow.c (split_block): Fix update of registers live at
8145 end of split block.
8146
d90ffc8d
JH
8147Tue Sep 12 01:51:38 MET DST 2000 Jan Hubicka <jh@suse.cz>
8148
8149 * i386.md (add?i_3, add?i_5): New.
8150 (add?i_4): Rename from add?i_3; Fix compare pattern.
8151 (sub?i_3, xor?i_3, ior?i_3): New.
8152
8153 * genrecog.c (write_tree): Output code to clear insn_extract cache.
8154 * genattrtab.c (write_attr_case): Gen call to extract_insn_cache
8155 instead of extract_insn and extract_constrain_insn_cache instead of
8156 extract_insn and constrain_operands.
8157 * recog.c (extract_insn_cached, extract_constrain_insn_cached):
8158 New functions.
8159 (extract_insn): Clear which_alternative.
8160 (constrain_operands): Set which_alternative to -1 when failed.
8161 * recog.h (extract_constrain_insn_cached, extract_insn_cached):
8162 Declare.
8163
4843bda9
MH
81642000-09-11 Matthew Hiller <hiller@redhat.com>
8165
8166 * config/h8300/h8300.md (movstrictqi): Changed constraint modifier
8167 on operand 0 to '+'.
8168 (movstricthi): Likewise.
8169
ed5bb68d
MH
81702000-09-12 Michael Hayes <mhayes@cygnus.com>
8171
8172 * loop.h (LOOP_IVS): New macro.
8173 (REG_IV_TYPE, REG_IV_INFO): Add ivs argument.
8174 (struct loop_ivs): New.
8175 (struct loop_info): Add ivs field.
8176 (reg_iv_type, reg_iv_info): Delete prototype.
8177 (reg_biv_class, loop_iv_list): Likewise.
8178 * loop.c (record_biv, find_life_end): Pass loop argument.
8179 (reg_iv_type): Remove global array and use
8180 field in loop_regs structure within loop_ivs structure.
8181 (reg_iv_info, reg_biv_class, loop_iv_list): Likewise.
8182 (first_increment_giv, last_increment_giv): Use entry in
8183 loop_ivs structure.
8184 (record_initial): Pass ivs pointer.
8185 * unroll.c (copy_loop_body, remap_split_bivs): Add loop argument.
8186
1ecd860b
MH
81872000-09-12 Michael Hayes <mhayes@cygnus.com>
8188
8189 * loop.h (LOOP_REGS): New macro.
8190 (struct loop_regs): New.
8191 (struct loop_info): Add regs field.
dd745546 8192 * loop.c (set_in_loop): Remove global array and store
1ecd860b
MH
8193 in loop_regs structure as part of loop_info structure.
8194 (n_times_set, may_not_optimize): Likewise.
8195 (reg_single_usage, moved_once): Likewise.
8196 (count_one_set): Add regs argument.
8197 (combine_movables, rtx_equal_for_loop_p, combine_givs): Likewise.
8198 (set_pseudo_multiple_uses): Pass regs pointer.
8199
0a5b41f2
MH
82002000-09-12 Michael Hayes <mhayes@cygnus.com>
8201
8202 * unroll.c (iteration_info): Subsume into loop_iterations.
8203 * loop.h (loop_info): New field iv.
8204
5d6a16e2
MH
82052000-09-12 Michael Hayes <mhayes@cygnus.com>
8206
8207 * basic-block.h (LOOP_TREE, LOOP_PRE_HEADER, LOOP_EDGES): New.
8208 (LOOP_EXITS_DOMS, LOOP_ALL): Likewise.
8209 (flow_loops_update): New prototype.
8210 (flow_loops_find): Add flags to prototype.
8211 (struct loop): Add `pre_header_root' and `pre_header_trace' fields.
8212 * flow.c (flow_loop_pre_header_scan): New.
8213 (flow_loop_dump): Dump pre-header root and trace and exit dominators.
8214 (flow_loop_free): Free pre-header root and trace and exit dominators.
8215 (flow_loops_find): New argument flags.
8216 (flow_loops_update): New function.
8217 * toplev.c (rest_of_compilation): Add flag argument to flow_loops_find.
8218
c586192c
MH
82192000-09-12 Michael Hayes <mhayes@cygnus.com>
8220
8221 * basic-block.h (split_block, update_bb_for_insn): New prototypes.
8222 * flow.c (split_block, update_bb_for_insn): New functions.
8223
a5e5cf67
RH
82242000-09-11 Richard Henderson <rth@cygnus.com>
8225
8226 * cse.c (fold_rtx): Honor NO_FUNCTION_CSE.
8227
655f2eb9
RH
82282000-09-11 Richard Henderson <rth@cygnus.com>
8229
8230 * config/ia64/ia64-protos.h (fr_nonimmediate_operand): Declare.
8231 * config/ia64/ia64.c (fr_nonimmediate_operand): New.
8232 (ia64_override_options): Prevent optimizing division for both
8233 latency and throughput.
8234 (rtx_needs_barrier): Handle frcpa.
8235 * config/ia64/ia64.h (MASK_INLINE_DIV_LAT): New.
8236 (MASK_INLINE_DIV_THR, TARGET_INLINE_DIV_LAT): New.
8237 (TARGET_INLINE_DIV_THR, TARGET_INLINE_DIV): New.
8238 (TARGET_SWITCHES): Add -minline-divide-min-latency and
8239 -minline-divide-max-throughput.
8240 (PREDICATE_CODES): Update.
8241 * config/ia64/ia64.md (extendsidi2): Remove * from f case.
8242 (zero_extendsidi2): Likewise. Fix typo in f case insn.
8243 (extendsfdf2): Add cases for gr<->fr and fr<->mem.
8244 (extendsftf2): Likewise.
8245 (extenddftf2): Likewise.
8246 (fix_trunctfdi2_alts): New.
8247 (fixuns_trunctfdi2_alts): New.
8248 (madd*4): Rename from madd*3.
8249 (divsi3, modsi3, udivsi3, umodsi3): New.
8250 (divsi3_internal): New.
8251 (divdi3, moddi3, udivdi3, umoddi3): New.
8252 (divdi3_internal_lat, divdi3_internal_thr): New.
8253 (multf3_alts, maddtf4_alts, nmaddtf4_alts): New.
8254 (recip_approx): New.
8255
b5d7770c
AO
82562000-09-11 Alexandre Oliva <aoliva@redhat.com>
8257
8258 * print-rtl.c (debug_call_placeholder_verbose): New variable.
8259 (print_rtx) [CALL_PLACEHOLDER]: Dump all call sequences if it is
8260 set.
8261 * integrate.c (copy_rtx_and_substitute): Don't share
8262 LEAF_REG_REMAPpable registers with the inlined function. Don't
8263 share the function value with calling sequences.
8264
6ff85fd8
JJ
82652000-09-11 Jakub Jelinek <jakub@redhat.com>
8266
2a1da89b
JJ
8267 * c-decl.c (do_case): Fix a typo.
8268
6ff85fd8
JJ
8269 * combine.c (simplify_if_then_else): Don't convert a == b ? b : a
8270 to a if the comparison is floating mode and not -ffast-math.
8271 * simplify-rtx.c (simplify_ternary_operation): Likewise.
8272
4102c782
R
8273Mon Sep 11 20:07:48 2000 J"orn Rennecke <amylaar@redhat.co.uk>
8274
8275 * sh.h (INITIALIZE_TRAMPOLINE): Remove stray call to
8276 gen_ic_invalidate_line.
8277
52a21fc6
PB
82782000-09-11 Philip Blundell <pb@futuretv.com>
8279
8280 * config/arm/elf.h (SUBTARGET_CPP_SPEC): Don't define `arm_elf'.
8281
669ed2b1
UD
8282Mon Sep 11 10:48:41 2000 Ulrich Drepper <drepper@redhat.com>
8283
8284 * install.texi (LANGUAGES): Update to include new languages.
8285 * INSTALL: Rebuilt.
8286
50936d27
DD
82872000-09-11 DJ Delorie <dj@redhat.com>
8288
8289 * gcc.c (main): Don't warn about unused -B prefixes
8290 (unused_prefix_warnings): remove
8291
00174bdf
KH
82922000-09-11 Kazu Hirata <kazu@hxi.com>
8293
f5d927c0
KH
8294 * final.c: Fix formatting.
8295
00174bdf
KH
8296 * integrate.c: Fix formatting.
8297
b14066a9
GK
82982000-09-11 Geoff Keating <geoffk@cygnus.com>
8299
8300 * alias.c (memrefs_conflict_p): An ADDRESSOF does conflict, sorry.
8301
e695931e
BS
83022000-09-11 Bernd Schmidt <bernds@redhat.co.uk>
8303
8304 * reload.c (regno_clobbered_p): Fix thinko in previous change.
8305
456aadaa
SC
83062000-09-10 Stephane Carrez <Stephane.Carrez@worldnet.fr>
8307
8308 * gcc.1: Document 68hc11 specific options.
8309
9cb8fcaf
GK
83102000-09-10 Geoff Keating <geoffk@cygnus.com>
8311
e0f7170a
GK
8312 * config/rs6000/sysv4.h (MASK_LONG_DOUBLE_128): Define.
8313 (TARGET_LONG_DOUBLE_128): Define.
8314 (SUBTARGET_SWITCHES): Add -mlong-double-64 and -mlong-double-128.
8315 (LONG_DOUBLE_TYPE_SIZE): Redefine.
8316 (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
8317 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on definition
8318 of __LONG_DOUBLE_128__.
8319 (CPP_SYSV_SPEC): Define __LONG_DOUBLE_128__ if -mlong-double-128
8320 passed.
8321 (CPP_LONGDOUBLE_DEFAULT_SPEC): Define.
8322 (CPP_SYSV_DEFAULT_SPEC): Define.
8323 (SUBTARGET_EXTRA_SPECS): Add cpp_longdouble_default.
8324 (INIT_TARGET_OPTABS): Define.
8325
9cb8fcaf
GK
8326 * config/rs6000/aix.h (RS6000_ITRUNC): Moved from rs6000.h.
8327 (RS6000_UITRUNC): Likewise.
8328 (INIT_TARGET_OPTABS): New macro.
8329 * config/rs6000/rs6000.c (rs6000_trunc_used): Delete.
8330 (trunc_defined): Delete.
8331 (output_prolog): Don't output .extern definitions for fp->int
8332 conversion routines, ASM_OUTPUT_EXTERNAL_LIBCALL will do it.
8333 * config/rs6000/rs6000.h (rs6000_trunc_used): Delete.
8334 (trunc_defined): Delete.
8335 (RS6000_ITRUNC): Moved to aix.h.
8336 (RS6000_UITRUNC): Likewise.
8337 * config/rs6000/rs6000.md (fix_truncdfsi2): Fail if it would
8338 only emit a libcall.
8339 (fixuns_truncdfsi2): Delete.
8340 (trunc_call): Delete.
8341 (trunc_call_rtl): Delete.
8342
8f820299
ZW
83432000-09-10 Zack Weinberg <zack@wolery.cumb.org>
8344
8345 * varasm.c (make_decl_rtl): Restore leading star on
dd745546 8346 DECL_ASSEMBLER_NAME set for decls with an asmspec.
8f820299 8347
4337bc93
ZW
83482000-09-10 Zack Weinberg <zack@wolery.cumb.org>
8349
8350 * c-pragma.c (handle_pragma_pack): Correct parsing logic so it
8351 won't give a spurious error for '#pragma pack()'. Simplify
8352 control flow for readability. 'reset' action is not necessary.
8353
d8ea8f28
ZW
83542000-09-10 Zack Weinberg <zack@wolery.cumb.org>
8355
8356 * defaults.h: Provide default definitions for: CHAR_TYPE_SIZE,
8357 SHORT_TYPE_SIZE, INT_TYPE_SIZE, LONG_TYPE_SIZE,
8358 LONG_LONG_TYPE_SIZE, WCHAR_TYPE_SIZE, FLOAT_TYPE_SIZE,
8359 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE, and WCHAR_UNSIGNED.
8360
8361 * cppexp.c, dwarfout.c, dwarf2out.c, emit-rtl.c, final.c, optabs.c,
8362 profile.c, sdbout.c, tradcif.y, tree.c:
8363 Include defaults.h if not already included.
8364 Don't define the above macros.
8365
8366 * Makefile.in: Update dependencies.
8367
56cb9733
MM
83682000-09-10 Mark Mitchell <mark@codesourcery.com>
8369
8370 * c-common.h (add_stmt): Change prototype.
8371 (RECHAIN_STMTS): New macro.
8372 (CASE_LABEL_DECL): Likewise.
8373 (genrtl_case_label): Change prototype.
8374 (c_expand_start_case): Remove prototype.
8375 (build_case_label): Change prototype.
8376 (decl_constant_value): Declare.
8377 * c-common.c (check_case_value): Handle C++'s extensions to C
8378 semantics.
8379 * c-commnon.def (CASE_LABEL): Add room for the CASE_LABEL_DECL
d8ea8f28 8380 field.
56cb9733
MM
8381 * c-parse.in (stmt): Adjust handling of return statements and case
8382 laels.
8383 * c-semantics.c (add_stmt): Return the new statement.
8384 (genrtl_return_stmt): Take the RETURN_STMT as input, not the
8385 returned expression. Directly generate RTL, rather than calling
8386 c_expand_return.
8387 (genrtl_switch_stmt): Don't call c_expand_start_case.
8388 (build_case_label): Take the LABEL_DECL as input, too.
8389 (genrtl_case_label): Just call add_case_node.
8390 (expand_stmt): Adjust calls to genrtl_return_stmt and
8391 genrtl_case_label.
8392 * c-tree.h (c_expand_start_case): Declare.
8393 * c-typeck.c (decl_constant_value): Give it external linkage.
8394 (c_expand_return): Don't call expand_return or expand_null_return;
8395 use genrtl_return_stmt instead.
8396 * stmt.c (struct nesting): Remove num_ranges field.
8397 (add_case_node): Give it external linkage.
8398 (expand_start_case): Don't set num_ranges.
8399 (expand_start_case_dummy): Don't clear it.
8400 (pushcase): Rely on add_case_node to handle `default' labels.
8401 (add_case_node): Handle `default' labels.
8402 * tree.c (tree_int_cst_compare): New function.
8403 * tree.h (tree_int_cst_compare): Declare.
8404 (add_case_node): Likewise.
8405
aac02f4e
RH
84062000-09-10 Richard Henderson <rth@cygnus.com>
8407
8408 * c-parse.in: Revert last change.
8409 (init_reswords): Do not enter disabled keywords into the ridpointers
8410 table, modulo objc weirdness.
8411 (_yylex): Return the canonical spelling for a keyword.
8412
75d8aea7
PB
84132000-09-10 Philip Blundell <philb@gnu.org>
8414
8415 * config/arm/arm.h (CPP_ISA_SPEC): Don't define `arm' or `thumb'.
8416 * config/arm/linux-elf.h (CPP_PREDEFINES): Don't define `__arm__'.
8417
d982e46e
JW
8418Sun Sep 10 14:30:28 EDT 2000 John Wehle (john@feith.com)
8419
8420 * alias.c (find_base_term): Handle ADDRESSOF.
8421 (memrefs_conflict_p): An ADDRESSOF doesn't conflict.
8422
212d447c
DC
84232000-09-10 Denis Chertykov <denisc@overta.ru>
8424
8425 * genoutput.c (output_insn_data): Translate <NEWLINE> to \n\ while
8426 outputting templates with many lines.
8427
a746dbf5
SC
84282000-09-10 Stephane Carrez <Stephane.Carrez@worldnet.fr>
8429
8430 * libgcc2.h: Use LONG_LONG_TYPE_SIZE instead of MIN_UNITS_PER_WORD
8431 to decide whether 64-bit support must be generated.
8432
1d0f6d89
RH
84332000-09-10 Richard Henderson <rth@cygnus.com>
8434
8435 * c-parse.in (asm patterns): Fix volatile check.
8436
e1aa5140
KG
84372000-09-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8438
8439 * cppmacro.c (check_trad_stringification): New function.
8440 (save_expansion): If -Wtraditional, warn about stringification of
8441 macro arguments.
8442
afa1738b
MH
84432000-09-11 Michael Hayes <mhayes@cygnus.com>
8444
8445 * loop.h (struct loop_mem_info): Move from loop.c
8446 (struct loop_info): Add fields store_mems, mems, mems_idx,
8447 mems_allocated, unknown_address_altered,
8448 unknown_constant_address_altered, num_mem_sets, and
8449 first_loop_store_insn.
8450
8451 * loop.c (loop_store_mems): Replace with field in loop_info struct.
8452 (loop_mems, loop_mems_idx, loop_mems_allocated): Likewise.
8453 (unknown_address_altered, unknown_constant_address_altered): Likewise.
8454 (num_mem_sets): Likewise.
dd745546 8455 (replace_loop_mems, replace_loop_regs): New.
afa1738b
MH
8456 (struct loop_replace_args): New.
8457 (load_mems): Use replace_loop_mems.
8458 (try_copy_prop): Use replace_loop_regs.
8459 (replace_loop_reg, replace_loop_mem): Use loop_replace_args structure.
8460
63883fc3
SC
84612000-09-09 Stephane Carrez <Stephane.Carrez@worldnet.fr>
8462
8463 * configure.in: Recognize m6811-elf and m6812-elf.
8464 * configure: Regenerate.
8465
808788fe
GK
84662000-09-09 Geoff Keating <geoffk@cygnus.com>
8467
8468 * recog.c (validate_replace_rtx_1): Correct MODE parameter in call
8469 to operand_subword.
8470
02055ad6
MH
84712000-09-10 Michael Hayes <mhayes@cygnus.com>
8472
8473 * loop.c (struct movables): New.
8474 (num_movables): Move into struct movables.
8475 (the_movables): Change type to struct movables.
8476 (ignore_some_movables): Change struct movable arg to struct movables.
dd745546 8477 (force_movables, combine_movables, regs_match_p): Likewise.
02055ad6
MH
8478 (rtx_equal_for_loop_p, move_movables): Likewise.
8479 (scan_loop): Change movables to be of type struct movables.
8480 Replace last_movable with field in movables structure.
8481
ae54392b
ZW
84822000-09-08 Zack Weinberg <zack@wolery.cumb.org>
8483
8484 * c-pragma.c: Don't elide entire file if !HANDLE_GENERIC_PRAGMAS.
8485 (init_pragma): Avoid warning if pfile happens to be unused.
8486 * c-pragma.h: Never define HANDLE_GENERIC_PRAGMAS. Never
8487 define init_pragma to nothing. Always prototype
8488 init_pragma. Prototype dispatch_pragma if !USE_CPPLIB.
8489
8490 * c-lex.c (process_directive): Always call dispatch_pragma.
8491 Initialize entering_c_header to 0.
8492
385c9217
SC
84932000-09-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
8494
8495 * config/m68hc11/m68hc11.md: New file, machine description for
8496 68HC11 & 68HC12.
8497 * config/m68hc11/m68hc11.h: New file, definitions for 68HC11 & 68HC12.
8498 * config/m68hc11/m68hc11.c: New file, functions for 68HC11 & 68HC12.
8499 * config/m68hc11/m68hc12.h: New file, definitions for 68HC12.
8500 * config/m68hc11/m68hc11-protos.h: New file.
8501 * config/m68hc11/m68hc11-crt0.S: New file, startup code.
8502 * config/m68hc11/t-m68hc11-gas: New file, makefile fragment.
8503 * config/m68hc11/xm-m68hc11.h: New file, target defs.
8504 * config/m68hc11/larith.asm: New file, libgcc routines.
8505
dfaf3cdb
SC
85062000-09-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
8507
8508 * Makefile.in (DPBIT_FUNCS): Add _usi_to_df.
8509 (FPBIT_FUNCS): Add _usi_to_sf.
8510 * config/fp-bit.c (usi_to_float): New function.
8511 * config/fp-bit.h (L_usi_to_sf, L_usi_to_df): Define.
8512 (usi_to_float): Add appropriate #define.
8513
915119a5
BS
85142000-09-08 Bernd Schmidt <bernds@redhat.co.uk>
8515
8516 * i386-protos.h (sse_comparison_operator, mmx_reg_operand): Declare
8517 new functions.
8518 * i386.c (sse_comparison_operator, mmx_reg_operand): New functions.
8519 * i386.md (attr "type"): Add sse and mmx types.
8520 (attr "memory"): Handle them without a crash.
8521 (movsi_1, movdi_2): Allow MMX regs.
8522 (movdi splits): Don't split moves involving MMX regs.
8523 (setcc_4): Remove '*' from pattern name so we get a gen_setcc4.
8524 (movv4sf_internal, movv4si_internal, movv8qi_internal,
8525 movv4hi_internal, movv2si_internal, movv8qi, movv4hi, movv2si,
8526 movv4sf, movv4si, pushv4sf, pushv4si, pushv8qi, pushv4hi, pushv2si,
8527 sse_movaps, sse_movups, sse_movmskps, mmx_pmovmskb, mmx_maskmovq,
8528 sse_movntv4sf, sse_movntdi, sse_movhlps, sse_movlhps, sse_movhps,
8529 sse_movlps, sse_loadss, sse_movss, sse_storess, sse_shufps,
8530 addv4sf3, vmaddv4sf3, subv4sf3, vmsubv4sf3, mulv4sf3, vmmulv4sf3,
8531 divv4sf3, vmdivv4sf3, rcpv4sf2, vmrcpv4sf2, rsqrtv4sf2, vmrsqrtv4sf2,
8532 sqrtv4sf2, vmsqrtv4sf2, sse_andti3, sse_nandti3, sse_iorti3,
dd745546
AJ
8533 sse_xorti3, maskcmpv4sf3, maskncmpv4sf3, vmmaskcmpv4sf3,
8534 vmmaskncmpv4sf3, sse_comi, sse_ucomi, sse_unpckhps, sse_unpcklps,
915119a5
BS
8535 smaxv4sf3, vmsmaxv4sf3, sminv4sf3, vmsminv4sf3, cvtpi2ps, cvtps2pi,
8536 cvttps2pi, cvtsi2ss, cvtss2si, cvttss2si, addv8qi3, addv4hi3,
8537 addv2si3, ssaddv8qi3, ssaddv4hi3, usaddv8qi3, usaddv4hi3, subv8qi3,
8538 subv4hi3, subv2si3, sssubv8qi3, sssubv4hi3, ussubv8qi3, ussubv4hi3,
8539 mulv4hi3, smulv4hi3_highpart, umulv4hi3_highpart, mmx_pmaddwd,
8540 mmx_iordi3, mmx_xordi3, mmx_anddi3, mmx_nanddi3, mmx_uavgv8qi3,
8541 mmx_uavgv4hi3, mmx_psadbw, mmx_pinsrw, mmx_pextrw, mmx_pshufw,
8542 eqv8qi3, eqv4hi3, eqv2si3, gtv8qi3, gtv4hi3, gtv2si3, umaxv8qi3,
8543 smaxv4hi3, uminv8qi3, sminv4hi3, ashrv4hi3, ashrv2si3, lshrv4hi3,
8544 lshrv2si3, mmx_lshrdi3, ashlv4hi3, ashlv2si3, mmx_ashldi3,
8545 mmx_packsswb, mmx_packssdw, mmx_packuswb, mmx_punpckhbw,
8546 mmx_punpckhwd, mmx_punpckhdq, mmx_punpcklbw, mmx_punpcklwd,
8547 mmx_punpckldq, emms, sfence, ldmxcsr, prefetch, stmxcsr, sse_clrti,
8548 mmx_clrdi): New patterns.
8549
8e49e00a
RE
85502000-09-08 Richard Earnshaw <rearnsha@arm.com>
8551
8552 * arm.c: Don't include tm.h directly.
8553
bd5621a3
JH
8554Fri Sep 8 14:34:56 MET DST 2000 Jan Hubicka <jh@suse.cz>
8555
8556 * recog.c (validate_replace_rtx_1): Fix confusion about equality
8557 testing; simplify subregs of constants and nested subregs.
e65d02cf 8558
6b3783de
AO
85592000-09-08 Alexandre Oliva <aoliva@redhat.com>
8560
8561 * config/sh/sh.md (symPLT_label2reg): Use operand3 for PIC reg.
8562
82be40f7
BS
85632000-09-08 Bernd Schmidt <bernds@redhat.co.uk>
8564
8565 * combine.c (combine_simplify_rtx): Try to simplify VEC_SELECT of a
8566 VEC_CONCAT.
9af354b7
BS
8567 * rtl.texi (description of USE): Add note about possible pitfalls
8568 with this rtx.
ce701d1b
BS
8569 From Richard Henderson:
8570 * reload1.c (choose_reload_regs): Compute need_mode properly.
82be40f7 8571
4287b5f1
RH
85722000-09-07 Richard Henderson <rth@cygnus.com>
8573
8574 * config/ia64/lib1funcs.asm (__divsi3): Use .s1 for frcpa.
8575 (__modsi3, __umodsi3): Likewise.
8576 (__udivsi3): Likewise. Normalize the TFmode values.
8577
c5d71f39
GK
85782000-09-07 Geoff Keating <geoffk@cygnus.com>
8579
8580 * config/rs6000/sol-c0.c (_start): Declare `termfunc' parameter
8581 with a prototype.
8582 * config/rs6000/rs6000.h (RS6000_ARG_SIZE): Use cast to suppress
8583 warning.
8584
712646d0
R
8585Fri Sep 8 03:26:38 2000 J"orn Rennecke <amylaar@redhat.co.uk>
8586
8587 * sh.md (cmpeqsi_ior_t, cmpeqsi_and_t): Remove.
8588 (cmpeqdi_t): Add output pattern.
8589 (cmpeqdi_t+1): Don't split when not optimizing.
8590 Restore proper splitting operation.
8591
30acbc3e
RH
85922000-09-07 Richard Henderson <rth@cygnus.com>
8593
8594 * c-lex.c (process_directive): If not HANDLE_GENERIC_PRAGMAS,
8595 do not call dispatch_pragma.
8596
46146529
JW
85972000-09-07 Jim Wilson <wilson@cygnus.com>
8598
8599 * reload.c (push_reload): Use CLASS_CANNOT_CHANGE_MODE_P in addition
8600 to CLASS_CANNOT_CHANGE_MODE.
8601 * config/ia64/ia64.h (CLASS_CANNOT_CHANGE_MODE_P): True only if the
8602 mode classes are different.
8603
6db83155
ZW
86042000-09-07 Zack Weinberg <zack@wolery.cumb.org>
8605
8606 * cpplib.h (struct cpp_options): Add user_label_prefix member,
8607 left out of commit which removed cppulp.c.
8608
0d45144b
RH
86092000-09-07 Richard Henderson <rth@cygnus.com>
8610
8611 * bb-reorder.c (fixup_reorder_chain): Add jump in new block
8612 after switch for CASE_DROPS_THROUGH.
8613
e8cb4873
RH
86142000-09-07 Richard Henderson <rth@cygnus.com>
8615
8616 * loop.c (strength_reduce): Call check_ext_dependant_givs.
8617 Properly extend the biv initial value for the giv.
8618 (record_biv): Zero ext_dependant.
8619 (record_giv): New argument ext_val. Update all callers.
8620 (general_induction_var): Likewise.
8621 (consec_sets_giv): Likewise.
8622 (simplify_giv_expr): Likewise. Fill in ext_val if we find
8623 a sign-extend, zero-extend, or truncate.
8624 (combine_givs_p): Make sure modes are compatible.
8625 (check_ext_dependant_givs): New.
8626 (extend_value_for_giv): New.
8627 * loop.h (struct induction): Add ext_dependant.
8628 * unroll.c (iteration_info): Extend the biv initial value for the giv.
8629 (find_splittable_givs): Likewise.
8630 (final_giv_value): Likewise.
8631
8b97c5f8
ZW
86322000-09-07 Zack Weinberg <zack@wolery.cumb.org>
8633
8634 * c-pragma.h: Define HANDLE_GENERIC_PRAGMAS if
8635 REGISTER_TARGET_PRAGMAS is defined. Duplicate some
8636 definitions from cpplib.h.
8637 * cpplib.h: Don't typedef struct cpp_reader if c-pragma.h has
8638 already done it.
8639 * tm.texi: Document HANDLE_PRAGMA as no longer supported. Add
8640 documentation for REGISTER_TARGET_PRAGMAS.
8641
8642 * c-lex.c: Include cpplib.h before c-pragma.h. Define a
8643 default-pragma callback to implement -Wunknown-pragmas if
8644 USE_CPPLIB.
8645 * c-parse.in: Move all includes to top of file.
8646 * c-pragma.c: Include cpplib.h before c-pragma.h. Include
8647 tm_p.h.
8648 (dispatch_pragma): Put the namespace in the -Wunknown-pragmas
8649 warning.
8650 (init_pragma): If REGISTER_TARGET_PRAGMAS is defined, call it.
8651
8652 * arm.h, arm-protos.h, arm.c,
8653 c4x.h, c4x-protos.h, c4x.c,
8654 h8300.h, h8300-protos.h, h8300.c,
8655 i370.h, i370-protos.h, i370.c,
8656 i960.h, i960-protos.h, i960.c,
d8ea8f28 8657 sh.h, sh-protos.h, sh.c,
8b97c5f8
ZW
8658 v850.h, v850-protos.h, v850.c: Convert HANDLE_PRAGMA-based
8659 pragmata scheme to use REGISTER_TARGET_PRAGMAS instead.
8660
8661 * d30v.h: Don't mention HANDLE_PRAGMA in comment. Add
8662 multiple include guard.
8663 * i370.md (untyped_call): Use GEN_CALL.
8664 (umodsi3): Remove unused variable.
8665 * sh/elf.h: Don't undef HANDLE_SYSV_PRAGMA.
8666 * v850.c (output_move_single, output_move_double): Constify
8667 return value.
8668 (print_operand): Constify a char *.
8669 * v850.h (struct small_memory_info): Constify name member.
8670
1898584f
KH
86712000-09-07 Kazu Hirata <kazu@hxi.com>
8672
8673 * config/h8300.h: Fix comment typos.
8674 * config/h8300/h8300.md: Likewise.
8675 * config/h8300/lib1funcs.asm: Likewise.
8676
771c4df3
NB
8677Thu 07-Sep-2000 21:29:00 BST Neil Booth <NeilB@earthling.net>
8678
8679 * Makefile.in: Remove references to cppulp.{c,o}.
8680 * cppinit.c (initialize_builtins, cpp_start_read,
8681 cpp_handle_option): Update to use cpp_options structure.
8682 * cppulp.c: Remove.
8683
2496f0b5
JM
86842000-09-07 Joseph S. Myers <jsm28@cam.ac.uk>
8685
8686 * c-common.c (time_char_table): Allow %#b and %#h.
8687
bf6302f0
HB
86882000-09-07 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8689
8690 * reorg.c (find_end_label): If the basic block reorder pass moves the
8691 return insn to some other place try to locate it again and put our
8692 end_of_function_label there.
8693 * reorg.c (relax_delay_slots): Check if find_end_label created a
8694 new label that invalidates the current optimazation.
8695
4598ffe9
CM
86962000-09-07 Catherine Moore <clm@redhat.com>
8697
e8cb4873
RH
8698 * unroll.c (unroll_loop): Check for unconditional jumps
8699 to loop continuation. Delete if n_iterations is 1.
8700 (ujump_to_loop_cont): New routine.
4598ffe9 8701
ff427764
BS
87022000-09-07 Bernd Schmidt <bernds@redhat.co.uk>
8703
8704 * rtl.c (class_narrowest_mode): Add entries for MODE_VECTOR_INT and
8705 MODE_VECTOR_FLOAT.
8441bc30
BS
8706 * reload.c (regno_clobbered_p): Accept new arg, MODE, and use it
8707 to handle multiword modes correctly. All callers and the declaration
8708 changed.
d8ea8f28 8709
54f7877c
MM
87102000-09-06 Mark Mitchell <mark@codesourcery.com>
8711
8712 * c-common.h (prep_stmt): Declare.
8713 (lang_expand_stmt): Likewise.
8714 * c-decl.c (lang_expand_stmt): Remove.
8715 * c-semantics.c (lang_expand_stmt): Define.
8716 (prep_stmt): New function.
8717 (expand_stmt): Handle common statement types here.
d8ea8f28 8718
93ca1662
NY
87192000-09-07 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com>
8720
8721 * configure.in (sh-*-linux*): Added.
8722 * configure: Rebuilt.
8723 * config/sh/t-linux: New file.
8724 * config/sh/sh.h (USERMODE_BIT): Define.
8725 (TARGET_USERMODE): Likewise.
8726 (TARGET_SWITCHES): New switches for the bits above.
8727 (INITIALIZE_TRAMPOLINE): Call __ic_invalidate in USERMODE.
8728 * config/sh/linux.h: New file.
8729 * config/sh/lib1funcs.asm (GLOBAL): Don't prefix symbols with
8730 underscore on linux.
8731 (L_sdivsi3, L_udivsi3): Define for linux.
8732 (L_ic_invalidate): Define.
8733 * invoke.texi (SH Options): Document -musermode.
8734
71105114
AO
87352000-09-07 Alexandre Oliva <aoliva@redhat.com>
8736
4979c2a9
AO
8737 * config/sh/sh.h (OVERRIDE_OPTIONS): Don't disable function
8738 CSE unless generating PIC.
8739
71105114
AO
8740 * config/sh/sh.md (symPLT_label2reg): Force the initialization of
8741 the PIC register.
8742
d5cfb451
L
87432000-09-06 H.J. Lu (hjl@gnu.org)
8744
8745 * Makefile.in (clean_s1): Depend on stage_b.
8746 (clean_s2): Depend on stage_d. Don't remove $(VOL_FILES) in
8747 stage2. They are used for "make compare".
8748
ae499cce
MM
87492000-09-06 Mark Mitchell <mark@codesourcery.com>
8750
8751 Move statement-tree facilities from C++ to C front-end.
8752 * c-common.h (c_tree_index): Add CTI_VOID_ZERO.
8753 (void_zero_node): New macro.
8754 (struct stmt_tree_s): New type.
8755 (stmt_tree): New typedef.
8756 (struct language_function): New type.
8757 (last_tree): New macro.
8758 (last_expr_type): Likewise.
8759 (walk_tree_fn): New typedef.
8760 (current_stmt_tree): New function.
8761 (begin_stmt_tree): Likewise.
8762 (add_stmt): Likewise.
8763 (finish_stmt_tree): Likewise.
8764 (statement_code_p): Likewise.
8765 (lang_statement_code_p): New variable.
8766 (walk_stmt_tree): New function.
8767 (STMT_IS_FULL_EXPR_P): New macro.
8768 * c-common.c (lang_statement_code_p): New variable.
8769 (c_common_nodes_and_builtins): Initialize void_zero_node.
8770 (statement_code_p): New function.
8771 (walk_stmt_tree): Likewise.
8772 * c-decl.c (language_function): Rename to ...
8773 (c_language_function): ... this. Include language_function.
8774 (push_c_function_context): Adjust accordingly.
8775 (pop_c_function_context): Likewise.
8776 (mark_c_function_context): Likewise.
8777 (current_stmt_tree): Define.
8778 * c-semantics.c (begin_stmt_tree): New function.
8779 (add_stmt): Likewise.
8780 (prune_unused_decls): Likewise.
8781 (finish_stmt_tree): Likewise.
8782
4f4b88d0
HB
87832000-09-06 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8784
e8cb4873 8785 * flow.c (insn_dead_p): Detect dead memory stores with auto increments.
4f4b88d0 8786
f725a3ec
KH
87872000-09-06 Kazu Hirata <kazu@hxi.com>
8788
8789 * calls.c: Fix formatting.
8790
0806f95f
GS
87912000-09-06 Graham Stott <grahams@cygnus.co.uk>
8792
e8cb4873 8793 * config/i386/i386.h (ADDRESS_COST): Fix typo.
0806f95f 8794
0e5921e8
ZW
87952000-09-06 Zack Weinberg <zack@wolery.cumb.org>
8796
8797 Integrated preprocessor.
8798
8799 * Makefile.in: Remove all references to c-parse.gperf,
8800 c-gperf.h, and c-parse.h. Remove -d from yacc command line
8801 generating c-parse.c. Update dependencies.
8802 * c-parse.gperf, c-gperf.h: Delete.
8803
8804 * c-common.c: Don't define parse_options, cpp_token, yy_cur,
8805 yy_lim, or yy_get_token. Don't define get_directive_line if
8806 USE_CPPLIB.
8807 * c-common.h: Add multiple include guard. Define RID values
8808 for every keyword in C, C++, and Objective C. Put all the
8809 modifiers first.
8810 (struct c_fileinfo, get_fileinfo, dump_time_statistics): New.
8811 * c-decl.c (c_decode_option): Handle -lang-objc here.
8812 (print_lang_identifier): Handle C_IS_RESERVED_WORD case.
8813 (grokdeclarator): Adjust for new RID scheme.
8814 (extract_interface_info): New stub.
8815 * c-lang.c: Don't declare yy_cur or parse_options.
8816 (lang_init_options): Call cpp_init. Don't call
8817 cpp_options_init.
8818 (lang_init): Don't call check_newline if USE_CPPLIB.
8819
8820 * c-lex.c: Don't include c-parse.h. Do include timevar.h.
8821 Elide lots of unnecessary code if USE_CPPLIB. Delete code
8822 rendered unnecessary by new architecture. Move routines not
8823 shared with C++ to c-parse.in. Maintain a local idea of the
8824 line number. Handle C++ as well as C.
8825 [USE_CPPLIB]: Declare and register callbacks for #ident and
8826 for entering/leaving files.
8827 (init_c_lex, c_lex): Are now the entry points to this file.
8828 (check_newline): Break out directive handling to
8829 process_directive.
8830 (read_ucs, is_extended_char, utf8_extend_token): Moved here
8831 from C++ front end.
8832 (readescape, parse_float): Overhaul.
8833 (lex_number, lex_string, lex_charconst): Break out of c_lex
8834 (n'ee yylex).
8835 (get_fileinfo, update_header_times, dump_one_header,
8836 dump_time_statistics): New and/or moved here from C++.
8837 Support per-file data needed by C++ and per-header timing
8838 statistics (C++ only, at the moment).
8839 * c-lex.h: Update prototypes. Add multiple include guard.
8840 * c-tree.h (struct lang_identifier): Add rid_code field.
8841 (C_IS_RESERVED_WORD, C_RID_CODE): New.
8842
8843 * c-parse.in: Include c-pragma.h. Remove unnecesary calls to
8844 reinit_parse_for_function and/or position_after_white_space.
8845 (save_filename, save_lineno): Look ahead before saving.
8846 (label -> identifier ':'): Save file and line before shifting ':'.
8847 (reservedwords): No need to call get_identifier.
8848 (init_parse, finish_parse, yyerror, yylex, yyprint,
8849 make_pointer_declarator): Are now here for C/ObjC.
8850 (rid_to_yy): Conversion table from RID constants to Yacc codes.
8851
8852 * c-pragma.c: Rewrite parsing logic to fit with cpplib's
8853 #pragma registry. Provide dummy implementation of that
8854 interface if !USE_CPPLIB.
8855 * c-pragma.h: Update to match.
8856
8857 * flags.h: Add multiple include guard.
8858 (flag_detailed_statistics): Moved here from C++.
8859 * toplev.c: Define flag_detailed_statistics.
8860
8861 * gcc.c (C specs): Use %(trad_capable_cpp) for -E|-M|-MM case
8862 #if USE_CPPLIB.
8863 * timevar.def (TV_CPP, TV_LEX): New.
8864 * timevar.h: Add multiple include guard.
8865
8866 * objc/lang-specs.h: Use %(trad_capable_cpp) for -E|-M|-MM case
8867 #if USE_CPPLIB.
8868 * objc/objc-act.c: Don't mention yy_cur or parse_options.
8869 Initialize cpplib properly. Force lineno to 0 after first
8870 call to check_newline. Don't handle -lang-objc here.
8871 Move forget_protocol_qualifiers and remember_protocol_qualifiers here.
8872
5638268e
DE
88732000-09-06 David Edelsohn <edelsohn@gnu.org>
8874
8875 * rs6000.md: Correct function unit definitions for cr_logical and
8876 mtjmpr.
8877 (sCOND): Additionally fail for sgt, slt, sge, sle if !TARGET_POWER
8878 and use portable method for >=0 and floating point >=. Remove
8879 associated matchers.
8880
44835fdd
MM
88812000-09-06 Mark Mitchell <mark@codesourcery.com>
8882
8883 * extend.texi: Mark named return value extension as deprecated.
8884
bab6226b
GK
88852000-09-06 Geoff Keating <geoffk@cygnus.com>
8886
8887 * config/rs6000/rs6000.c (rs6000_reverse_condition): Return
8888 the result.
8889
e6513023
GDR
88902000-09-06 Gabriel Dos Reis <gdr@codesourcery.com>
8891
8892 * toplev.c (display_help): Fix thinko in documentation.
8893
8894 * diagnostic.h (output_buffer::indent_skip): New fields.
8895 (output_indentation): New macro.
8896
8897 * diagnostic.c (output_indent): New function.
8898 (output_set_prefix, clear_diagnostic_info): Use.
8899 (output_emit_prefix): Predict future indentation.
8900
112c7aea
DD
89012000-09-06 DJ Delorie <dj@redhat.com>
8902
8903 * Makefile.in (stage_*): add more dependencies to ensure parallel
8904 builds build correctly
8905
1bac0fb4
MH
89062000-09-06 Manfred Hollstein <manfredh@redhat.com>
8907
8908 * Makefile.in (bootstrap-lean): Depend on bootstrap-lean_g,
8909 not bootstrap-lean_f.
8910
f472a17c
AS
89112000-09-06 Andreas Schwab <schwab@suse.de>
8912
8913 * mklibgcc.in: Emit rule for libgcc-stage-start.
8914 * Makefile.in (stage1-start, stage2-start, stage3-start,
8915 stage4-start): Don't handle libgcc here, use libgcc.mk instead.
8916
630c79be 89172000-09-06 Bernd Schmidt <bernds@redhat.co.uk>
611bbf2a
BS
8918
8919 * local-alloc.c (local_alloc): Ignore CLASS_LIKELY_SPILLED.
8920 (update_equiv_regs): Likewise, except for the mn10200 kludge.
8921 (combine_regs): Likewise.
8922
630c79be
BS
8923 * Makefile.in (cse.o): Depend on $(BASIC_BLOCK_H).
8924 * cse.c: Include "basic-block.h".
8925 (struct table_elt): New field REGCOST.
8926 (CHEAP_REG): Delete macro.
8927 (COST): Return 0 for REGs.
8928 (approx_reg_cost_1, approx_reg_cost, preferrable): New functions.
8929 (notreg_cost): Return 0 for appropriate SUBREGs.
8930 (COSTS_N_INSNS): Return N * 2.
8931 (rtx_cost): Return 0 for REGs, and use cost of nested rtx for cheap
8932 SUBREGs.
8933 (CHEAPER): Use new function preferrable.
8934 (insert): Initialize REGCOST member.
8935 (find_best_addr): Use approx_reg_cost for estimation of register
8936 usage.
8937 (cse_insn): Likewise.
8938 * loop.c (iv_add_mult_cost): New function.
8939 (add_cost, shift_cost, mult_cost): Delete variables.
8940 (init_loop): Don't initialize add_cost; reduce copy_cost by half.
8941 (strength_reduce): Use iv_add_mult_cost instead of fixed add_cost.
8942 Make code that detects autoinc opportunities slightly less optimistic.
8943 (simplify_giv_expr): If expression contains other reg that is also a
8944 giv, only increment benefit if this is the only use of that reg.
8945 (consec_sets_giv): Take that change into account.
8946 (combine_givs): Slightly more verbose output.
8947
8948 * i386.h (RTX_COSTS): For MULT, return true cost of multiplication,
8949 not the cost of an equivalent shift.
8950 * sh-protos.h (addsubcosts): Declare.
8951 * sh.c (addsubcosts): New function.
8952 * sh.h (CONST_COSTS): If CONST_OK_FOR_I, then return 0.
8953 (RTX_COSTS): Tweak. Use addsubcosts.
8954 (ADDRESS_COST): Return higher cost for reg+reg addressing.
8955
39a10a29
GK
89562000-09-06 Geoff Keating <geoffk@cygnus.com>
8957
8958 * config/rs6000/rs6000.c (validate_condition_mode): New function.
8959 (branch_comparison_operator): Call validate_condition_mode to
8960 abort rather than returning 0.
8961 (branch_positive_comparison_operator): New function.
8962 (scc_comparison_operator): Call validate_condition_mode to abort
8963 rather than returning 0.
8964 (ccr_bit): Call validate_condition_mode. Update for
8965 new branch scheme.
8966 (print_operand): Delete %C modifier. Update %E case
8967 to use EQ bit not SO bit.
8968 (rs6000_reverse_condition): New function.
8969 (rs6000_generate_compare): New function.
8970 (rs6000_emit_sCOND): New function.
8971 (rs6000_emit_cbranch): New function.
8972 (output_cbranch): The length of a long branch insn is
8973 now only 8 bytes. Add validate_condition_mode. Use
8974 rs6000_reverse_condition. Remove cror generation.
bab6226b 8975
39a10a29
GK
8976 * config/rs6000/rs6000.h: Update comments.
8977 (PREDICATE_CODES): Add new predicate. Update codes used
8978 by branch_comparison_operator and scc_comparison_operator.
8979 * config/rs6000/rs6000-protos.h: Add prototypes for
8980 new external functions.
8981 * config/rs6000/rs6000.md: Add new scheduling parameters
8982 for cr_logical instructions. Change length of branch
8983 instructions.
8984 (bCOND patterns): Call rs6000_emit_cbranch.
8985 (sCOND patterns): Call rs6000_emit_sCOND.
8986 (branch patterns): Change lengths to 4.
8987 (cr logical patterns): New.
8988
2a4bbffa
RH
89892000-09-06 Richard Henderson <rth@cygnus.com>
8990
8991 * config/i386/i386.md (call_pop): Fix test for setting
8992 current_function_uses_pic_offset_table.
8993 (call, call_value_pop, call_value): Likewise.
8994
eab828ba
ZW
89952000-09-06 Zack Weinberg <zack@wolery.cumb.org>
8996
8997 * timevar.c (timevar_add): Delete.
8998 (timevar_get): Also count time since the selected timer was
8999 last updated. Do not examine the timevar stack if the
9000 selected timer is standalone.
9001
f1d6a533
DA
90022000-09-05 J. David Anglin <dave@hiauly1.hia.nrc.ca>
9003
9004 * gthr-dce.h (__gthread_objc_mutex_deallocate): Free mutex->backend.
9005
53c5b5d7
JM
90062000-09-05 Jason Merrill <jason@redhat.com>
9007
9008 * c-decl.c (finish_incomplete_decl): Don't call complete_array_type
9009 for 'extern' arrays.
9010
3392dafc
RH
90112000-09-05 Richard Henderson <rth@cygnus.com>
9012
9013 * config/ia64/lib1func.asm (__divtf3): Rebundle for Itanium.
9014 Eliminate final copy from non-trapping case.
9015 (__divdf3, __divsf3): Likewise.
9016
2a7ffc85
RH
90172000-09-05 Richard Henderson <rth@cygnus.com>
9018
9019 * config/ia64/ia64.md (mulhi3): Fix typo last change.
9020 * config/ia64/lib1func.asm (__divdi3, __udivdi3, __umodsi3): Likewise.
9021
204093e6
DT
90222000-09-03 Donn Terry <donn@interix.com>, Laurynas Biveinis <lauras@softhome.net>
9023
9024 * Makefile.in: Restructure bootstrap stages to allow clean
9025 restart after failure.
9026
514f96e6
RH
90272000-09-05 Richard Henderson <rth@cygnus.com>
9028
9029 * config/ia64.md (movsi and movdi patterns): Allow moves from
9030 8-bit constants to AR registers.
9031
cf1f6ae3
RH
90322000-09-05 Richard Henderson <rth@cygnus.com>
9033
9034 * config/ia64/ia64.md (mulhi3): New.
9035
d8d7a286
RH
90362000-09-05 Richard Henderson <rth@cygnus.com>
9037
9038 * config/ia64/ia64.h (INIT_TARGET_OPTABS): Remove.
9039 * config/ia64/lib1funcs.asm (__divdi3): Update from Intel IA-64
9040 Optimization Guide, minimum latency alternative.
9041 (__moddi3, __udivdi3, __umoddi3): Likewise.
9042 (__divsi3, __modsi3, __udivsi3, __umodsi3): Likewise.
9043
a6efbece
BK
90442000-09-05 Bruce Korb <bkorb@gnu.org>
9045
0e5921e8
ZW
9046 * fixinc/fixincl.c (load_file): always read header files
9047 with sizes that are a multiple of the page size.
dc46505a 9048 & use libiberty's getpagesize for determining that.
a6efbece 9049
c0712acb
AO
90502000-09-05 Alexandre Oliva <aoliva@redhat.com>
9051
9052 * gcse.c (hash_string_1): Add prototype.
9053 * cse.c (canon_hash_string): Likewise.
9054
af7f0fde
CN
90552000-09-04 Craig Newell <CraigN@ieee.org>
9056
9057 * gcc.c: Undefine "__WCHAR_TYPE__" before redefining it.
9058
4993ddc1
AS
90592000-09-04 Andreas Schwab <schwab@suse.de>
9060
9061 * Makefile.in (STAGESTUFF): Remove libgcc.
9062 (stage1-start, stage2-start, stage3-start): Copy the contents of
9063 the libgcc directory explicitly.
9064 (mostlyclean): Clean libgcc.
9065
5e640c56
AH
90662000-09-04 Andrew Haley <aph@redhat.com>
9067
9068 * dwarf2out.c: (stack_adjust_offset): New prototype.
9069
25ffb1f6
JH
9070Wed Jan 1 00:23:59 MET 1997 Jan Hubicka <jh@suse.cz>
9071
9072 * combine.c (make_extraction): Fix rtx_cost comparison to
9073 match the comment.
9074
9075Wed Jan 1 00:17:32 MET 1997 Jan Hubicka <jh@suse.cz>
9076
0e5921e8 9077 * i386.md (pushsi2, pushhi2, pophi2, swapsf, swapdf,
25ffb1f6
JH
9078 umulsi3_highpart, smulsi3_highpart, testqi_ccno_1, xorqi_ext_1):
9079 Add '*' to insn pattern name.
9080
29844fa7
JJ
90812000-09-04 Jakub Jelinek <jakub@redhat.com>
9082
9083 * cpplex.c (ON_REST_ARG): Check VAR_ARGS flag of current context,
9084 use posn - 1 to index into tokens array.
9085 (maybe_paste_with_next): Adjust caller.
9086
0d86f538
GK
90872000-09-03 Geoff Keating <geoffk@cygnus.com>
9088
bff46771
GK
9089 * invoke.texi: Document the -mvxworks option for rs6000 ELF.
9090
0d86f538
GK
9091 * config/rs6000/rs6000.h: Update various comments about XER_REGNO.
9092 (REGNO_REG_CLASS): Use symbolic register
9093 names.
9094
4e67550b
RE
90952000-09-03 Richard Earnshaw <rearnsha@arm.com>
9096
0e5921e8 9097 * arm.c (final_prescan_insn): If the form of a jump insn isn't
4e67550b
RE
9098 recognized, don't try to conditionally execute it.
9099
150f4100
DC
9100Sun Sep 3 13:10:56 2000 Denis Chertykov <denisc@overta.ru>
9101
9102 * config/avr/avr.md ("*tablejump_lib"): New pattern.
9103 (call_value_insn): Right length claculation.
9104 (call_insn): Likewise.
9105
5fecfd8d
MM
91062000-09-02 Marek Michalkiewicz <marekm@linux.org.pl>
9107
9108 * config/avr/avr-protos.h, config/avr/avr.c (unique_section,
9109 gas_output_limited_string, gas_output_ascii, output_movqi,
9110 output_movhi, out_movqi_r_mr, out_movqi_mr_r, out_movhi_r_mr,
9111 out_movhi_mr_r, out_movsi_r_mr, out_movsi_mr_r, output_movsisf,
9112 out_tstsi, out_tsthi, ret_cond_branch, ashlqi3_out, ashlhi3_out,
9113 ashlsi3_out, ashrqi3_out, ashrhi3_out, ashrsi3_out, lshrqi3_out,
9114 lshrhi3_out, lshrsi3_out, output_reload_inhi, output_reload_insisf,
9115 out_shift_with_cnt, ptrreg_to_str, cond_string, encode_section_info):
9116 Add "const" as needed to remove warnings.
9117
9118 * config/avr/avr.c (avr_override_options, avr_init_once,
9119 function_prologue, function_epilogue, frame_pointer_required_p,
9120 class_likely_spilled_p, order_regs_for_local_alloc,
9121 avr_address_cost, avr_ret_register): Use K&R style arguments.
9122 (initial_elimination_offset, gas_output_limited_string):
9123 Remove ATTRIBUTE_UNUSED from the used arguments.
9124 (output_mov*, out_mov*_r_mr, out_mov*_mr_r, output_reload_insisf):
9125 Use local variables src, dest, base to access operands[].
9126 Rename reg_dest to reg_src if that's what it is.
9127 (output_movhi, output_movsisf): Optimize loading 8-bit immediate
9128 constants to LD_REGS if reg_was_0.
9129 (output_reload_insisf): Change arg 3 to insn length and set it.
9130 (out_movhi_r_mr, out_movhi_mr_r): Use in/out for more efficient
9131 access to 16-bit I/O register pairs.
9132 (avr_address_cost): Lower cost for the above case.
9133 (out_tsthi): Use "or" (faster) instead of "sbiw" if the operand
9134 may be clobbered, also for LD_REGS.
9135 (adjust_insn_length): Correct insn length for iorhi3 and iorsi3
9136 with a CONST_INT.
9137
9138 * config/avr/avr.h (PTRDIFF_TYPE): Make signed.
9139
9140 * config/avr/avr.md: Change all uses of the TEST_HARD_REG_CLASS
9141 macro to test_hard_reg_class function.
9142 (*movsi, *movsf): Change "cc" attribute from "clobber" to "none"
9143 for loading immediate constants to LD_REGS.
9144 (andsi3, cmphi, cmpsi): Add return statements to avoid warnings.
9145
9146
bad3869a
MM
9147Sat Sep 2 13:58:23 2000 Marek Michalkiewicz <marekm@linux.org.pl>
9148
9149 * config/avr/avr.md ("*negsi2"): substitute %@ to __zero_reg__
9150 * config/avr/libgcc.S: Lost part of the previous patch.
9151
802a8181
DA
91522000-08-31 J. David Anglin <dave@hiauly1.hia.nrc.ca>
9153
9154 * gthr-dce.h (__gthread_objc_mutex_allocate): Create a pthread_mutex_t
9155 object before calling pthread_mutex_init.
9156
1a66cd67
AO
91572000-09-02 Alexandre Oliva <aoliva@redhat.com>
9158
9159 * config/sh/t-elf, config/sh/crt1.asm, config/sh/crti.asm,
9160 config/sh/crtn.asm: New files.
9161 * config/sh/t-sh (EXTRA_MULTILIB_PARTS): Set.
9162 (crt1.o, crti.o, crtn.o): New targets.
9163 * configure.in [sh-*-elf*, sh-*-rtemself*] (tmake_file): Added
9164 sh/t-elf.
9165 * configure: Rebuilt.
9166 * config/sh/sh.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
9167 STARTFILE_SPEC, ENDFILE_SPEC, CRT_CALL_STATIC_FUNCTION): Define.
9168 * config/sh/elf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
9169 Undefine for config/elfos.h to redefine.
9170 (STARTFILE_SPEC, ENDFILE_SPEC): Redefine after config/elfos.h.
9171
91722000-09-02 Alexandre Oliva <aoliva@redhat.com>, Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>
9173
9174 * config/sh/sh-protos.h (nonpic_symbol_mentioned_p,
9175 legitimize_pic_address, output_pic_addr_const): Declare.
9176 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Fix PIC register.
9177 (PREFERGOT_BIT, TARGET_PREFERGOT): Likewise.
9178 (TARGET_SWITCHES): New switch -mprefergot.
9179 (OVERRIDE_OPTIONS): Set flag_no_function_cse unless -mprefergot.
9180 (PIC_OFFSET_TABLE_REGNUM): Define.
9181 (GOT_SYMBOL_TABLE): Likewise.
9182 (LEGITIMIZE_ADDRESS): Use legitimize_pic_address.
9183 (ENCODE_SECTION_INFO): Define.
9184 (FINALIZE_PIC): New macros.
9185 (LEGITIMATE_PIC_OPERAND_P, SYMBOLIC_CONST_P): New macro.
9186 (ASM_OUTPUT_INT, ASM_OUTPUT_SHORT): Use output_pic_addr_const.
9187 * config/sh/sh.c (print_operand_address): Use output_pic_addr_const.
9188 (prepare_move_operands): Call emit_pic_move or
9189 emit_pic_const_move if appropriate.
9190 (output_far_jump): For PIC, use braf and output long offset.
0e5921e8 9191 (machine_dependent_reorg):
1a66cd67
AO
9192 (sh_expand_prologue): Save and initialize the PIC register.
9193 (sh_expand_epilogue): Restore it.
9194 (initial_elimination_offset): Account for it.
9195 (nonpic_symbol_mentioned_p): New function.
9196 (legitimize_pic_address): Likewise.
9197 (output_pic_addr_const): Likewise.
9198 * config/sh/sh.md (calli_pcrel, call_valuei_pcrel): New insns.
9199 (call, call_value): Use them.
9200 (GOTaddr2picreg, sym_label2reg, symGOT2reg, symGOTOFF2reg,
9201 symPLT_label2reg): New expands.
9202 * invoke.texi (SH Options): Document -mprefergot.
9203
6462bb43
AO
92042000-09-01 Alexandre Oliva <aoliva@redhat.com>
9205
9206 * rtl.h (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): New macro.
9207 * gcse.c (hash_string_1): New function.
9208 (hash_expr_1) <ASM_OPERANDS>: Disregard filename and line number.
9209 (expr_equiv_p) <ASM_OPERANDS>: Likewise.
9210 * cse.c (rtx_cost): Don't increase the cost of ASM_OPERANDS.
9211 (canon_hash_string): New function.
9212 (canon_hash) <ASM_OPERANDS>: Disregard filename and line number.
9213 (exp_equiv_p) <ASM_OPERANDS>: Likewise.
9214 (fold_rtx): Use ASM_OPERANDS accessor macros.
9215 * emit-rtl.c (copy_insn_1): Likewise.
9216 * integrate.c (copy_rtx_and_substitute): Likewise.
9217 * stmt.c (expand_asm_operands): Likewise. Give an
9218 ASM_OPERANDS rtx the mode of the output reg being set from it.
9219
1b4f90cd
FF
92202000-09-01 Fred Fish <fnf@be.com>
9221
9222 * fix-header.c (write_rbrac): Add putc and getc to list of
9223 functions to protect against prior definition as a macro.
0e5921e8 9224
3c786c69
JM
92252000-09-01 Joseph S. Myers <jsm28@cam.ac.uk>
9226
9227 * c-common.h (enum c_tree_index): Add CTI_C_SIZE_TYPE.
9228 (c_size_type_node): Define.
9229 * c-decl.c (init_decl_processing): Initialize c_size_type_node.
9230 * c-common.c (enum format_lengths, enum format_std_version,
9231 format_length_info, format_type_detail, BADLEN, NOLENGTHS,
9232 format_kind_info, printf_length_specs, scanf_length_specs, T89_I,
9233 T99_I, T89_L, T99_LL, TEX_LL, T89_S, T89_UI, T99_UI, T89_UL,
9234 T99_ULL, TEX_ULL, T89_US, T89_F, T99_F, T89_D, T99_D, T89_LD,
9235 T99_LD, T89_C, T99_SC, T99_UC, T89_V, T94_W, TEX_W, T94_WI,
9236 TEX_WI, T99_ST, T99_SST, T99_PD, T99_UPD, T99_IM, T99_UIM,
9237 format_types): Define.
9238 (format_char_info, print_char_table, scan_char_table,
9239 time_char_table): Rearrange for new organization of information
9240 about format length modifiers and standard versions.
9241 (T_ST): Redefine to use c_size_type_node.
9242 (check_format_info): Obtain information about length modifiers and
9243 standard versions from tables. Adjust warning message wordings.
9244 Use the name from the user's program for `ll' and `hh' length
9245 modifiers in warning messages. Use more informative names for
9246 wanted types where available (for wchar_t, wint_t, size_t, signed
9247 size_t, ptrdiff_t, unsigned ptrdiff_t, intmax_t and uintmax_t).
9248
8a09bb27
JW
92492000-09-01 Jim Wilson <wilson@cygnus.com>
9250
ca3920ad
JW
9251 * calls.c (emit_call_1): Add REG_NORETURN note to call if ECF_NORETURN.
9252 * combine.c (distribute_notes): Handle REG_NORETURN.
9253 * rtl.c (reg_note_name): Add REG_NORETURN.
9254 * rtl.h (enum reg_note): Likewise.
9255
9256 * config/ia64/ia64-protos.h (emit_safe_across_calls): Renamed from
9257 ia64_file_start.
9258 * config/ia64/ia64.c (emit_safe_across_calls): Likewise.
9259 (rtx_needs_barrier): Handle unspec_volatile 8 and 9.
9260 (emit_predicate_relation_info): Handle conditional calls with
9261 REG_NORETURN.
9262 * config/ia64/ia64.h (ASM_FILE_START): Call emit_safe_across_calls
9263 instead of ia64_file_start.
9264 * config/ia64/sysv4.h (ASM_FILE_START): Likewise.
9265 * config/ia64/ia64.md (safe_across_calls_all,
9266 save_across_calls_normal): New patterns.
9267
8a09bb27
JW
9268 * loop.c (check_final_value): Check for biv use before checking for
9269 giv use. Check for both biv and giv uses. Always set last_giv_use
9270 if there is a giv use.
9271
11a13704
RH
92722000-09-01 Richard Henderson <rth@cygnus.com>
9273
9274 * config/ia64/ia64.md (mulsi3): Use grfr_register_operand.
9275 (madddi3): Likewise.
9276 (maddsi3): New.
9277
6324d2bb
RK
9278Fri Sep 1 10:59:47 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9279
fcf1b822
RK
9280 * expr.c (clear_storage): Don't use emit_move_insn unless
9281 either BLKmode or proper size.
9282 (store_constructor): Don't call clear_storage if REG of wrong size.
9283
6324d2bb
RK
9284 * flow.c (init_propagate_block_info): Don't mark frame dead at end
9285 of function if returns wiht stack pointer depressed.
9286
1ba5ae8f
AH
92872000-09-01 Andrew Haley <aph@redhat.com>
9288
0e5921e8
ZW
9289 * dwarf2out.c (stack_adjust_offset): New function.
9290 (dwarf2out_stack_adjust): Break out stack adjust logic into
9291 new stack_adjust_offset function. Look inside parallels and
9292 sequences for stack adjustments.
1ba5ae8f 9293
893f3d5b
JL
92942000-08-31 Jeff Law <law@cygnus.com>
9295
94c51f7a
JL
9296 * arm.md: Use no_new_pseudos to determine when it is safe
9297 to create new pseudo registers.
9298
0e5921e8
ZW
9299 * arm.c (legitimize_pic_address): Use no_new_pseudos to determine
9300 when we can safely allocate new registers.
893f3d5b 9301
1b3d8f8a
GK
93022000-08-31 Geoffrey Keating <geoffk@cygnus.com>
9303
9304 * stmt.c (expand_asm_operands): Twiddle generating_concat_p
9305 so that CONCATs are not generated for ASMs.
9306 * emit-rtl.c (gen_reg_rtx): Don't generate CONCATs when
9307 not generating_concat_p.
9308 * function.c (pop_function_context_from): Reset
9309 generating_concat_p.
9310 (prepare_function_start): Likewise.
9311 * rtl.c (generating_concat_p): Define.
9312 * rtl.h (generating_concat_p): Declare.
9313 * toplev.c (rest_of_compilation): No CONCATs after RTL generation.
9314
4e8bd75f 93152000-08-22 Philipp Thomas <pthomas@suse.de>
0e5921e8 9316 Masanobu Yuhara <yuhara@flab.fujitsu.co.jp>
4e8bd75f
PT
9317
9318 * gmicro.h (TARGET_SWITCHES): Add descriptions and mark them
9319 for translation.
9320
b145ee27
GM
93212000-08-30 Greg McGary <greg@mcgary.org>
9322
9323 * Makefile.in (fixinc.sh): Pass CC, CFLAGS and LDFLAGS to mkfixinc.sh
9324 * fixinc/Makefile.in (fixincl): Pass $(LDFLAGS) to $(CC).
9325 * fixinc/mkfixinc.sh: Pass $CC, $CFLAGS and $LDFLAGS to $MAKE.
9326
2afaa41c
GM
93272000-08-30 Greg McGary <greg@mcgary.org>
9328
9329 * tree.h (struct tree_int_cst): Wrap low and high in a sub-struct.
9330 (TREE_INT_CST_LOW, TREE_INT_CST_HIGH): Access through sub-struct.
9331 (TREE_INT_CST): New macro.
9332 * varasm.c (const_hash, compare_constant_1, record_constant_1):
9333 Use new macro TREE_INT_CST.
9334
1d92b3e1
NB
9335Wed 30-Aug-2000 23:18:59 BST Neil Booth <NeilB@earthling.net>
9336
9337 * contrib.texi: Add self.
9338
b23ca156
AO
93392000-08-30 Alexandre Oliva <aoliva@redhat.com>
9340
9341 * config/sh/sh.md (cmpeqsi_ior_t, cmpeqsi_and_t): New insns.
9342 (cmpeqdi_t splitter): Use cmpeqsi_and_t instead of emitting jumps
9343 and labels.
9344
aef9fbbf
DA
93452000-08-30 J. David Anglin <dave@hiauly1.hia.nrc.ca>
9346
9347 * fixinc/gnu-regex.c: Don't define `const'.
9348
85f3d674
RK
9349Tue Aug 29 22:09:59 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9350
9351 * expr.c (store_constructor): Allow variable bounds of array type.
9352 (expand_expr): Don't blow up if type is ERROR_MARK.
9353 * varasm.c (output_constructor): Don't access lower bound of array
9354 type unless need it if index is supplied (so it can be a variable
9355 if no index is supplied).
9356 Use tree_low_cst; use HOST_WIDE_INT for sizes; change BITPOS to POS.
9357 Other minor cleanups.
9358
5b67ad6f
DA
93592000-08-29 J. David Anglin <dave@hiauly1.hia.nrc.ca>
9360
9361 * Makefile.in: Revamp handling of cflags to allow different WARN_CFLAGS
9362 for compilations in stage 1 and subsequent stages, respectively.
9363 * configure.in (vax): Add compiler-dependent CFLAGS for stage 1.
9364 * configure: Rebuilt.
9365 * x-vax, x-vax-gcc: Deleted.
9366
63ad61ed
ZW
93672000-08-29 Zack Weinberg <zack@wolery.cumb.org>
9368
9369 * c-common.c (declare_function_name): Use func_id_node,
9370 function_id_node, and pretty_function_id_node. Do not make
0e5921e8 9371 __func__ visible at file scope.
63ad61ed
ZW
9372 * c-common.h (c_tree_index): Add CTI_FUNCTION_ID,
9373 CTI_PRETTY_FUNCTION_ID, and CTI_FUNC_ID.
9374 (function_id_node, pretty_function_id_node, func_id_node): New
9375 macros.
9376 * c-decl.c (init_decl_processing): Initialize function_id_node,
9377 pretty_function_id_node, and func_id_node.
9378 (c_make_fname_decl): Correct comment.
9379
9380 * tree.h (struct tree_identifier): Constify pointer member.
9381
9382 * c-decl.c (pushdecl, implicit_decl_warning): Constify a char *.
9383 * c-pragma.h (struct weak_syms): Constify name and value members.
0e5921e8 9384 (add_weak): Constify arguments.
63ad61ed
ZW
9385
9386 * calls.c (special_function_p): Constify a char *.
9387 (expand_call): Remove variable which is initialized and then
9388 never used.
9389 * dependence.c (struct def_use, struct induction, struct subscript):
9390 Constify 'variable' member.
9391 (get_low_bound, have_induction_variable): Constify char * argument.
9392 (find_induction_variable): Add braces to avoid dangling else.
9393 (classify_dependence): Constify char * arrays.
9394 * profile.c (output_func_start_profiler): Constify a char *.
9395 * stor-layout.c (finalize_record_size): Constify a char *.
9396 * tree.c (is_attribute_p): Constify a char *.
9397 * varasm.c (add_weak, remove_from_pending_weak_list): Constify argument.
9398
9399 * varasm.c (make_function_rtl, make_decl_rtl): Rearrange code
9400 for comprehensibility. Do not call get_identifier if we did
9401 not change the DECL_ASSEMBLER_NAME of the decl. Use alloca to
9402 create temporary string constants, not ggc_alloc_string. No
9403 need to copy result of ASM_FORMAT_PRIVATE_NAME. Use const
9404 char * to hold IDENTIFIER_POINTERs.
9405
cee58bc0
RH
94062000-08-29 Richard Henderson <rth@cygnus.com>
9407
9408 * config/ia64/ia64.md (muldi3): Use grfr_register_operand
9409 for the inputs.
9410
94aaab7a
RH
94112000-08-29 Richard Henderson <rth@cygnus.com>
9412
9413 * reload.c (push_secondary_reload): Allow class == reload_class
9414 if we're using a reload_in/out pattern.
9415
60a3c181
RH
9416 * config/ia64/ia64.md (reload_inti): Use a TImode scratch. Use
9417 the half that does not conflict with the reload register.
9418 (reload_outti): Likewise.
9419
9218435e
KH
94202000-08-29 Kazu Hirata <kazu@hxi.com>
9421
4381f7c2
KH
9422 * reload.c: Fix formatting.
9423
9424 * stmt.c: Fix formatting.
9425
9218435e
KH
9426 * gcc.c: Fix formatting.
9427
fba0bfd4
ZW
94282000-08-29 Zack Weinberg <zack@wolery.cumb.org>
9429
9430 * flags.h (time_report, mem_report): New global flags.
9431 * toplev.c: Define time_report and mem_report.
9432 (f_options): Add -ftime-report and -fmem-report.
9433 (compile_file): Turn on time_report if quiet_flag is off.
9434 Call ggc_print_statistics at very end if mem_report is on.
9435 * timevar.c (TIMEVAR_ENABLE): Examine time_report, not quiet_flag.
9436
9437 * ggc-common.c (ggc_print_statistics): Rename to
9438 ggc_print_common_statistics; all callers changed. Scale
9439 quantities above 10K to kilobytes and above 10M to megabytes.
9440 * ggc-page.c (ggc_page_print_statistics): Rename to
9441 ggc_print_statistics. Report memory consumed by internal data
9442 structures for each allocation bucket. Scale quantities above
9443 10K to kilobytes and above 10M to megabytes.
9444 * ggc-simple.c: Prototype debug_ggc_tree to avoid warning.
9445 Cast PTR_KEY(p) to unsigned long in fprintf call to avoid warning.
9446 Define tally_leaves always.
9447 (ggc_print_statistics): New function.
9448 * ggc.h: Adjust for renamed functions.
9449
612105a6
DC
9450Wed Aug 30 00:11:42 2000 Denis Chertykov <denisc@overta.ru>
9451
9452 * config/avr/avr.md ("*movsf","*movsi"): Pass NULL to
9453 output_movsisf instead of which_alternative.
9454
9455 * config/avr/avr.c (output_reload_inhi): Check for NULL ponter.
9456
6bec29c9
DC
9457Tue Aug 29 22:29:58 2000 Denis Chertykov <denisc@overta.ru> & Marek Michalkiewicz <marekm@linux.org.pl>
9458
9459 * config/avr/avr-protos.h: (avr_output_ascii) Removed.
9460 (avr_progmem_p): New prototype.
9461 (output_movsisf): Prototype declaration changed.
9462 (output_movqi): New prototype.
9463 (output_movhi): New prototype.
9464 (call_insn_operand): Likewise.
0e5921e8 9465 (final_prescan_insn): Likewise.
6bec29c9
DC
9466 (avr_simplify_comparision_p): Likewise.
9467 (avr_normalize_condition): Likewise.
9468 (compare_eq_p): Likewise.
9469 (out_shift_with_cnt): Likewise.
9470 (const_int_pow2_p): Likewise.
9471 (output_reload_inhi): Prototype declaration changed.
9472
9473 * config/avr/avr.c: (debug_hard_reg_set): Prototype declared.
9474 (ldi_reg_rtx): New. rtx for r31.
9475 (avr_init_stack): Initialize as "__stack".
9476 (function_prologue): Use it.
9477 Replace all TARGET_ENHANCED with AVR_ENHANCED.
9478 (avr_mcu_name): Initialize as "avr2".
9479 (avr_enhanced_p, avr_mega_p): New variables.
9480 (mcu_types, avr_override_options): Handle all known MCU types.
9481 Also handle avr1 (only preprocess, assemble and link).
9482 (print_operand): Using of `%K' in output template removed.
9483 (out_movqi_r_mr): Optimized.
9484 (out_movhi_r_mr): Likewise.
9485 (output_movqi): New function.
9486 (output_movhi): Likewise.
9487 (out_movsi_r_mr): Optimized.
9488 (output_movsisf): Compute insn length for `adjust_insn_length'
9489 (out_movqi_mr_r): Optimized.
9490 (out_movhi_mr_r): Optimized.
9491 (adjust_insn_length): Use output_movsisf, output_movqi,
9492 output_movhi for insn length adjusting.
9493 (reg_unused_after): Use dead_or_set_p.
9494 (preferred_reload_class): Now havn't any restriction.
9495 (reg_was_0): New function.
9496 (io_address_p): Likewise.
9497 (const_int_pow2_p): Likewise.
9498 (output_reload_inhi): Likewise.
9499 (output_reload_insisf): Likewise.
9500
9501 * config/avr/avr.h (MULTILIB_DEFAULTS): Define.
9502 (LIB_SPEC): Use -lc for all supported devices.
9503 (LIBGCC_SPEC): Use -lgcc for all supported devices.
9504 (AVR_MEGA): Define as avr_mega_p.
9505 (AVR_ENHANCED): New, define as avr_enhanced_p.
9506 (TARGET_SWITCHES): Remove -menhanced, now handled by -mmcu=...
9507 (CPP_SPEC, LINK_SPEC): Handle all known MCU types.
9508 (CRT_BINUTILS_SPECS): Handle all known MCU types.
9509 Rename gcrt1-*.o to make file names unique on 8.3 filesystems.
9510 (EXTRA_SPECS): Add CPP_AVR[1-5]_SPEC.
9511 (ASM_SPEC): Pass -mmcu=... to the assembler.
9512 Change all -DAVR_* to -D__AVR_*__.
9513 (INIT_TARGET_OPTABS), config/avr/libgcc.S:
9514 Rename library functions to start with two underscores.
9515 (ASM_OUTPUT_COMMON): Outputs `.comm VAR,VAR-SIZE,1' to avoid
9516 alignment.
9517 (ASM_WEAKEN_LABEL): Declared for __attribute__((weak)).
9518 (SUPPORTS_WEAK): Likewise.
9519 (LDI_REG_REGNO): New. Register r31 will be used as temporary
9520 register for loading constants to r0-r14.
9521
9522 * config/avr/avr.md: Replace all TARGET_ENHANCED with
9523 AVR_ENHANCED.
9524 (*mov_r_sp): Removed. Handled by output_movhi.
9525 (*mov_sp_r): Likewise.
9526 (*mov_sp_r_no_interrupts): Likewise
9527 (*mov_sp_r_tiny): Likewise.
9528 (*movqi): Use output_movqi.
9529 (*reload_inqi): New.
9530 (*movhi): Use output_movhi.
9531 (*reload_inhi): New.
9532 (*negsi2): Optimized.
9533 (*negsf2): Likewise.
9534 Added peepholes (define_peephole2) for loading constants to r0-r14
9535 and for using `cpse' command.
9536
9537 * config/avr/libgcc.S: Rename library functions to start with two
9538 underscores.
9539 Add support for enhanced core.
9540 (_moqhi3): Fix typo, now _modqi3.
9541 (__divsi_raw): Use __zero_reg__ as loop counter, smaller by 1 word.
9542 (__prologue_saves__): Remove test for stack adjust by 0.
9543 (__tablejump__): New.
9544
9545 * config/avr/t-avr: Build libgcc2 with -mcall-prologues.
9546 Add multilib support.
9547
20bd7bfa
JW
9548Tue Aug 29 15:17:54 EDT 2000 John Wehle (john@feith.com)
9549
9550 * loop.c (prescan_loop): Don't check unknown_address_altered
9551 when deciding if insert_loop_mem is safe. Add BLKmode MEMs
9552 to loop_store_mems as necessary.
9553 (loop_invariant_p): Don't check unknown_address_altered
9554 or unknown_constant_address_altered.
9555
76f941a8
DA
95562000-08-29 J. David Anglin <dave@hiauly1.hia.nrc.ca>
9557
9558 * vax.md (sltu, sgeu): Delete sltu and sgeu insn patterns.
9559
2c8f0515
ZW
95602000-08-29 Zack Weinberg <zack@wolery.cumb.org>
9561
9562 * cpperror.c (print_file_and_line): If line is (unsigned int)-1,
9563 print just the filename.
9564 * cpplex.c (_cpp_run_directive): Add additional argument, the
9565 name to give the synthetic buffer. This defaults to
9566 translated "<command line>".
9567 * cpplib.c (cpp_define, cpp_undef, cpp_assert, cpp_unassert):
9568 Adjust to match.
9569 (_cpp_define_builtin): New function.
9570 * cppinit.c (initialize_builtins): Use _cpp_define_builtin.
9571 * cpphash.h: Update prototypes.
9572
9573 * tradcpp.c (main): Process -D and -U simultaneously, in the
9574 order they appeared on the command line.
9575
6ad79f1b
KG
95762000-08-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9577
9578 * c-decl.c (define_label): Call warning_with_file_and_line and
9579 error_with_file_and_line instead of plain warning or error.
9580
9581 * c-parse.in (label): Use save_filename/save_lineno to ensure
9582 correct values for calls to define_label.
9583
4361b41d
MM
95842000-08-29 Mark Mitchell <mark@codesourcery.com>
9585
9586 * calls.c (expand_call): Don't create a VAR_DECL just to throw it
9587 away.
9588 * expr.c (expand_expr, case TARGET_EXPR): Don't call
9589 mark_addressable.
9590 * tree.h (get_file_function_name): Remove two duplicate
9591 declarations.
9592
abf9af02
KH
95932000-08-28 Kazu Hirata <kazu@hxi.com>
9594
dc478a5d
KH
9595 * tree.c: Fix formatting.
9596
abf9af02
KH
9597 * xcoffout.c: Fix formatting.
9598
5f632b5e
JM
95992000-08-28 Jason Merrill <jason@redhat.com>
9600
9601 * dwarf2out.c (attr_checksum): Also ignore DW_AT_producer.
9602
96032000-08-28 Daniel Berlin <dberlin@redhat.com>
9604
9605 * dwarf2out.c (dwarf2out_finish): Don't bother calling
9606 break_out_includes if it won't do anything.
9607
38323cc3
RH
96082000-08-28 Richard Henderson <rth@cygnus.com>
9609
9610 * reload.c (push_secondary_reload): Revert 2000-08-16 change.
9611 (find_reloads): Likewise.
9612 * config/alpha/alpha.md (reload_inqi): Revert 2000-08-11 change.
9613 (reload_inhi): Likewise.
9614
e1ff012c
RH
96152000-08-28 Richard Henderson <rth@cygnus.com>
9616
9617 * config/i386/i386.c: Don't error on EXTRA_CONSTRAINT defined.
9618 (call_insn_operand): Don't expect a surrounding mem.
9619 (constant_call_address_operand): Likewise.
9620 * config/i386/i386.h (PREDICATE_CODES): Update.
9621 * config/i386/i386.md (call patterns): Move the match_operand
9622 for the call destination inside the mem.
9623
c2cba7a9
RH
96242000-08-28 Richard Henderson <rth@cygnus.com>
9625
9626 * local-alloc.c (requires_inout): Don't use reserved range for
9627 EXTRA_CONSTRAINTS; use anything not matched by REG_CLASS_FROM_LETTER.
9628 * recog.c (asm_operand_ok): Likewise.
9629 (preprocess_constraints, constrain_operands): Likewise.
9630 * regclass.c (record_reg_classes): Likewise.
9631 * reload.c (find_reloads): Likewise.
9632 * reload1.c (maybe_fix_stack_asms): Likewise.
9633 (reload_cse_simplify_operands): Likewise.
9634 * stmt.c (expand_asm_operands): Likewise.
9635
9636 * md.texi: Update constraints documentation.
9637 * tm.texi (EXTRA_CONSTRAINT): Update.
9638
5f632b5e
JM
96392000-08-28 Daniel Berlin <dberlin@redhat.com>
9640
9641 * dwarf2out.c (DIE_LABEL_PREFIX): Remove leading "__".
9642 (print_die): If we don't know the offset of the
9643 target die, try the symbol. Add a trailing newline.
9644 (reverse_all_dies): New fn.
9645 (dwarf2out_finish): Call it.
9646 (break_out_includes): Reorganize for clarity.
9647 (add_sibling_attributes): Don't call reverse_die_lists.
9648 (output_comp_unit): Rename from output_comdat_comp_unit. Use for
9649 primary CU, too.
9650 * flags.h: Add flag_eliminate_dwarf2_dups.
9651 * toplev.c (f_options): Support -feliminate-dwarf2-dups.
9652
5de0e8d4
JM
96532000-08-28 Jason Merrill <jason@redhat.com>
9654
5f632b5e
JM
9655 * dwarf2.h (DW_TAG_GNU_BINCL, DW_TAG_GNU_EINCL): New tags.
9656 * dwarf2out.c: #include "md5.h".
9657 (DIE_LABEL_PREFIX): New macro.
9658 (dw_val_struct): Add 'external' flag to val_die_ref.
9659 (add_AT_die_ref, AT_ref): Adjust.
9660 (AT_ref_external, set_AT_ref_external): New fns.
9661 (build_abbrev_table): Call set_AT_ref_external.
9662 (value_format): Call AT_ref_external.
9663 (die_struct): Add die_symbol field.
9664 (new_die): Clear it.
9665 (dwarf_tag_name): Handle BINCL/EINCL.
9666 (dwarf2out_start_source_file): Add BINCL DIE.
9667 (dwarf2out_end_source_file): Add EINCL DIE.
9668 (push_new_compile_unit, pop_compile_unit, clear_die_sizes): New fns.
9669 (loc_checksum, attr_checksum, die_checksum): New fns.
9670 (is_type_die, is_comdat_die, is_symbol_die): New fns.
9671 (compute_section_prefix, assign_symbol_names): New fns.
9672 (gen_internal_sym, output_die_symbol, output_symbolic_ref): New fns.
9673 (output_die): Call output_die_symbol and AT_ref_external.
9674 (output_comdat_comp_unit): New fn, split out from...
0e5921e8 9675 (dwarf2out_finish): ...here. Also call add_sibling_attributes for
5f632b5e
JM
9676 secondary CUs.
9677 (output_pubnames, output_aranges): Abort if we see entries from
9678 secondary CUs.
9679 * toplev.h: Declare file_name_nondirectory.
9680 * toplev.c (file_name_nondirectory): New fn, moved from C++ frontend.
9681 (rest_of_type_compilation): Call dwarf2out_decl if at toplevel.
9682 (debug_start_source_file): Call dwarf2out_start_source_file
9683 regardless of debug verbosity.
9684 (debug_end_source_file): Similarly.
9685 * tree.h: Declare clean_symbol_name.
9686 * tree.c (clean_symbol_name): Split out from...
9687 (get_file_function_name_long): ...here.
9688
5de0e8d4
JM
9689 * dwarf2out.c (new_loc_descr): Use calloc.
9690 (splice_child_die): Remove the die from the right parent.
9691 (gen_struct_or_union_die): Don't add AT_name to a specification DIE.
9692
04324727
RK
9693Mon Aug 28 19:02:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9694
9695 * toplev.c (decode_g_option): Don't give warning for unknown -g
9696 option; return 0 instead.
9697 (main): If -g option is not recognized by front end or
9698 language-independent code, give warning.
9699
9e3e266c
GM
97002000-08-28 Greg McGary <greg@mcgary.org>
9701
9702 * config/i386/i386-protos.h (ix86_expand_compare): Add extern decl.
9703 * config/i386/i386.c (ix86_expand_compare): Remove `static'.
9704 * config/i386/i386.md (trap, conditional_trap): New insn & expand.
9705
a0bff95f
GM
97062000-08-27 Greg McGary <greg@mcgary.org>
9707
9708 * cpplex.c (parse_string): Don't look for backslash
9709 before first char in `namebuf'.
9710 * loop.c (strength_reduce): Skip NOTEs.
9711
edb4c415
JM
97122000-08-27 Jason Merrill <jason@redhat.com>
9713
9714 * c-decl.c (duplicate_decls): Don't set TREE_STATIC or clear
9715 DECL_EXTERNAL on a local extern. Don't set DECL_IGNORED_P or
9716 TREE_ASM_WRITTEN, either.
9717 (finish_decl): Adjust.
9718
6e88e75c
PT
97192000-08-28 Philipp Thomas <pthomas@suse.de>
9720
9721 * ABOUT-GCC-NLS: Remove gettext patches from Paul Eggert as
9722 they have been incorporated into the gettext CVS. Change the text to
9723 reflect the current status of NLS. Add instructions for accessing
9724 the gettext CVS and add the patch from Martin v. Loewis.
9725
e53ca51f
GK
97262000-08-27 Geoff Keating <geoffk@cygnus.com>
9727
9728 * config/rs6000/rs6000.md (movdi_internal64+5): Make SUBREG-safe
9729 by using gen_lowpart_common.
9730 (movdi_internal64+6): Likewise.
9731
a0a6fdc8
AO
97322000-08-26 Alexandre Oliva <aoliva@redhat.com>
9733
1b2dd04a
AO
9734 * tm.texi (FINI_SECTION_ASM_OP, CRT_CALL_STATIC_FUNCTION):
9735 Document.
9736
a0a6fdc8
AO
9737 * config/mn10300/mn10300.h (DBX_REGISTER_NUMBER): Remap register
9738 numbers to the ranges used by GDB.
9739
26a110f5
RH
97402000-08-25 Richard Henderson <rth@cygnus.com>
9741
9742 * config/ia64/ia64.h (struct machine_function): Add n_varargs.
9743 * config/ia64/ia64.c (ia64_compute_frame_size): Use it.
9744 (ia64_expand_prologue): Likewise.
9745 (ia64_setup_incoming_varargs): Set it. Properly skip the current
9746 argument for stdargs.
9747
ecff20d4
JM
97482000-08-25 Jason Merrill <jason@redhat.com>
9749
9750 * integrate.c (expand_inline_function): Pull out the original decl.
9751
caa511fd
JW
97522000-08-25 Jim Wilson <wilson@cygnus.com>
9753
d51ff7cb
JW
9754 * cse.c (cse_insn): Don't pass label subtraction to force_const_mem.
9755
caa511fd
JW
9756 * function.c (gen_mem_addressof): Clear MEM_ALIAS_SET if no decl.
9757
9a56f4f6
GM
97582000-08-25 Greg McGary <greg@mcgary.org>
9759
9760 * flow.c (dump_edge_info): Use ARRAY_SIZE.
9761 * config/alpha/alpha.c (alpha_expand_block_move): Likewise.
9762
31448271
RE
97632000-08-25 Richard Earnshaw <rearnsha@arm.com>
9764
9765 * arm.h (STRUCT_VALUE): Define to 0, not NULL.
9766
b949ea8b
JW
9767Fri Aug 25 12:52:49 EDT 2000 John Wehle (john@feith.com)
9768
9769 * i386.c (ix86_find_base_term): New.
9770 * i386-protos.h (ix86_find_base_term): Prototype.
9771 * i386.h (FIND_BASE_TERM): Define.
9772 * alias.c (find_base_term): Use it.
9773 * tm.texi (FIND_BASE_TERM): Document it.
9774
9775 * alias.c (true_dependence, write_dependence_p): Unchanging
9776 memory can't conflict with non-unchanging memory.
9777
9778 * alias.c (memrefs_conflict_p): A BLKmode reference
9779 to a symbol (or CONST_INT address) always conflicts
9780 with a reference to another symbol.
9781
343b7260
JM
97822000-08-25 Joseph S. Myers <jsm28@cam.ac.uk>
9783
9784 * c-common.c (time_char_table): Don't allow width and flags with
9785 "z" format.
9786
1f9124e4
JJ
97872000-08-25 Jakub Jelinek <jakub@redhat.com>
9788
9789 * config/i386/i386.c (ix86_expand_branch): Treat GE and GEU the same
9790 way as LT and LTU when the second operand has 0 in low word.
9791
6057c0e6
MH
97922000-08-26 Michael Hayes <mhayes@cygnus.com>
9793
135ebc36
MH
9794 * basic-block.h (struct loop): Rename `exits' field to
9795 `exit_edges'. Add `entry_edges' and `num_entries' fields.
9796
9797 * flow.c (flow_loop_exit_edges_find): Rename from flow_loop_exits_find.
9798 (flow_loop_entry_edges_find): Add.
9799 (flow_edge_list_print): Rename from flow_exits_print.
9800 (flow_loops_find): Call flow_loop_entry_edges_find.
9801 (flow_loop_dump): Dump entry_edges list.
9802 (flow_loops_free): Free entry_edges.
0e5921e8 9803
135ebc36 98042000-08-26 Michael Hayes <mhayes@cygnus.com>
0e5921e8 9805
6057c0e6
MH
9806 * loop.c (loop_dump_aux, debug_loop): New functions.
9807 (LOOP_BLOCK_NUM_1, LOOP_BLOCK_NUM, LOOP_INSN_UID): New macros.
9808
9809 * flow.c (flow_loops_dump): Add callback parameter.
9810 (flow_loop_dump): Add callback parameter and call it. Move
9811 loop note debugging code to loop_dump_aux.
9812
9813 * basic-block.h (flow_loop_dump): Add callback parameter
9814 (flow_loops_dump): Likewise.
9815
9816 * toplev.c (rest_of_compilation): Add NULL callback function pointer
9817 to call to flow_loops_dump.
0e5921e8 9818
028fc6e7
MH
98192000-08-26 Michael Hayes <mhayes@cygnus.com>
9820
9821 * loop.c (count_loop_regs_set): Replace start and end arguments
9822 with loop argument. All callers udated.
0e5921e8 9823
371502a8 98242000-08-26 Michael Hayes <mhayes@cygnus.com>
0e5921e8 9825
371502a8
MH
9826 * loop.c (constant_high_bytes): Delete.
9827
e375c819
MH
98282000-08-26 Michael Hayes <mhayes@cygnus.com>
9829
9830 * loop.c (prescan_loop): Move checks for NOTE_INSN_LOOP_CONT
9831 and NOTE_INSN_LOOP_VTOP to...
9832 (find_and_verify_loops) ...here.
9833
036cfb36
AO
9834Fri Aug 25 04:21:13 2000 Alexandre Oliva <aoliva@redhat.com>
9835
9836 * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Define default.
9837 (fini_dummy, init_dummy): Use it.
9838
c2e20542
NB
9839Fri 25-Aug-2000 08:03:27 BST Neil Booth <NeilB@earthling.net>
9840
9841 * cpplex.c (is_macro_disabled): Caller has already checked
9842 that we're not a preprocessed file.
9843
83bab8db
MM
98442000-08-24 Mark Mitchell <mark@codesourcery.com>
9845
9846 * Makefile.in (C_AND_OBJC_OBJS): Remove c-iterate.o.
9847 (c-iterate.o): Remove target.
9848 * gcc/c-common.h (enum rid): Remove RID_ITERATOR.
9849 * gcc/c-decl.c (init_decl_processing): Remove call to init_iterators.
9850 (finish_decl): Don't handle iterators.
9851 (grokdeclarator): Likewise.
9852 * gcc/c-parse.gperf: Remove __iterator and __iterator__ keywords.
9853 * gcc/c-gperf.h: Regenerated.
9854 * gcc/c-iterate.c: Removed.
9855 * gcc/c-lex.c (init_lex): Don't handle iterators.
9856 * gcc/c-parse.in (primary): Remove pop_iterator_stack call.
9857 (compstmt_primary_start): Remove push_iterator_stack call.
9858 (stmt): Don't allow iterator statements. Replace iterator_expand
9859 with expand_expr_stmt.
9860 (all_iter_stmt): Remove.
9861 (all_iter_stmt_simple): Likewise.
9862 (all_iter_stmt_with_decl): Likewise.
9863 * gcc/c-tree.h (ITERATOR_P): Remove.
9864 (ITERATOR_BOUND_P): Likewise.
9865 (init_iterators): Remove declaration.
9866 (iterator_expand): Likewise.
9867 (iterator_for_loop_start): Likewise.
9868 (iterator_for_loop_end): Likewise.
9869 (iterator_for_loop_record): Likewise.
9870 (push_iterator_stack): Likewise.
9871 (pop_iterator_stack): Likewise.
9872 * gcc/c-typeck.c (decl_constant_value): Don't check ITERATOR_P.
9873 (readonly_warning): Likewise.
9874 * gcc/tree.h (ITERATOR_BOUND_P): Don't mention it.
0e5921e8 9875
aee3c6b0
JW
98762000-08-24 Jim Wilson <wilson@cygnus.com>
9877
9878 * c-common.c (decl_attributes, case A_ALIGN): Revert last change.
9879 Copy type in a TYPE_DECL, just like pushdecl does.
9880
58d8c980
RH
98812000-08-24 Richard Henderson <rth@cygnus.com>
9882
9883 * toplev.c (main): Enable flag_reorder_blocks at -O2.
9884
054f5e69
ZW
98852000-08-24 Zack Weinberg <zack@wolery.cumb.org>
9886
0e5921e8 9887 * ggc-page.c (alloc_page): If HAVE_MMAP_ANYWHERE and we're
054f5e69
ZW
9888 asked for one page, allocate GGC_QUIRE_SIZE of them and put
9889 the extras on the free list.
9890 (release_pages): Clean up.
9891 (ggc_set_mark): Don't adjust G.allocated here...
9892 (sweep_pages): ... do it here.
9893
98942000-08-24 Zack Weinberg <zack@wolery.cumb.org>
9895
9896 * cppfiles.c (read_include_file): Rearrange initializations.
9897
0551c32d
RH
98982000-08-24 Richard Henderson <rth@cygnus.com>
9899
9900 * stmt.c (expand_asm_operands): Treat EXTRA_CONSTRAINT like g or X.
9901
9902 * config/ia64/ia64-protos.h: Update.
9903 * config/ia64/ia64.c (gr_register_operand): New.
9904 (fr_register_operand, grfr_register_operand): New.
9905 (gr_nonimmediate_operand, grfr_nonimmediate_operand): New.
9906 (grfr_reg_or_8bit_operand): New.
0e5921e8 9907 (gr_reg_or_0_operand): Rename from reg_or_0_operand and
0551c32d
RH
9908 use gr_register_operand.
9909 (gr_reg_or_5bit_operand, gr_reg_or_6bit_operand): Likewise.
9910 (gr_reg_or_8bit_operand, gr_reg_or_8bit_adjusted_operand): Likewise.
9911 (gr_reg_or_8bit_and_adjusted_operand): Likewise.
9912 (gr_reg_or_14bit_operand, gr_reg_or_22bit_operand): Likewise.
9913 (fr_reg_or_fp01_operand): Likewise.
9914 (not_postinc_memory_operand): New.
9915 (ia64_split_timode): Remove unused variables.
9916 (rtx_needs_barrier): Check arguments to cmpxchg.
9917 (builtin_description): Remove.
9918 (bdesc_2argsi, bdesc_2argdi): Remove.
9919 (ia64_init_builtins): Declare all builtins directly.
9920 (ia64_expand_fetch_and_op): Rewrite to be called from
9921 ia64_expand_builtin directly. Use expand_binop and co.
9922 (ia64_expand_op_and_fetch): Likewise.
9923 (ia64_expand_compare_and_swap): Likewise.
9924 (ia64_expand_binop_builtin): Remove.
9925 (ia64_expand_lock_test_and_set): New.
9926 (ia64_expand_lock_release): New.
9927 (ia64_expand_builtin): Use them.
9928 * config/ia64/ia64.h (CONSTRAINT_OK_FOR_S): New.
9929 (EXTRA_CONSTRAINT): Use it.
9930 (PREDICATE_CODES): Update.
9931 * config/ia64/ia64.md (*): Use gr_register_operand and co.
9932 (mf): Indicate that we set memory as well as use it.
9933 (fetchadd_acq_si): Show memory being modified as well.
0e5921e8 9934 (fetchadd_acq_di, cmpxchg_acq_si, cmpxchg_acq_di): Likewise.
0551c32d
RH
9935 (val_compare_and_swap_si, val_compare_and_swap_di): Remove.
9936 (lock_test_and_set_si, lock_test_and_set_di): Remove.
9937 (fetch_and_add_si, fetch_and_sub_si, fetch_and_or_si): Remove.
9938 (fetch_and_and_si, fetch_and_xor_si, fetch_and_nand_si): Remove.
9939 (fetch_and_add_di, fetch_and_sub_di, fetch_and_or_di): Remove.
9940 (fetch_and_and_di, fetch_and_xor_di, fetch_and_nand_di): Remove.
9941 (add_and_fetch_di, sub_and_fetch_di, or_and_fetch_di): Remove.
9942 (and_and_fetch_di, xor_and_fetch_di, nand_and_fetch_di): Remove.
9943 (add_and_fetch_si, sub_and_fetch_si, or_and_fetch_si): Remove.
9944 (and_and_fetch_si, xor_and_fetch_si, nand_and_fetch_si): Remove.
9945 * config/ia64/ia64intrin.h (*): Cast result to the appropriate
9946 return type. Pretty print definitions.
9947
7c866fb5
JW
99482000-08-24 Jim Wilson <wilson@cygnus.com>
9949
9950 * config/ia64/ia64.md (movdi): Don't call gen_movdi_symbolic if
9951 we have a SYMBOL_REF with SYMBOL_REF_FLAG set.
9952
40e8cc95
JM
99532000-08-24 Jason Merrill <jason@redhat.com>
9954
9955 * dwarf2out.c (AT_flag, AT_int, AT_unsigned, AT_string, AT_ref,
9956 AT_loc, AT_addr, AT_lbl): Abort on unsuitable input.
0e5921e8 9957 (get_AT_low_pc, get_AT_hi_pc, get_AT_string, get_AT_flag,
40e8cc95
JM
9958 get_AT_unsigned, get_AT_ref): Don't call them if get_AT fails.
9959
b6a1cbae
GM
99602000-08-24 Greg McGary <greg@mcgary.org>
9961
9962 * optabs.c (init_optabs): Initialize fixtab, fixtrunctab, floattab,
9963 and extendtab within their proper array boundaries.
9964 * emit-rtl.c (init_emit_once): Pass `const_tiny_rtx' with bounds
9965 for the entire array.
9966
9967 * config/arm/arm.c (arm_override_options): Use ARRAY_SIZE.
9968 * config/alpha/alpha.c (alpha_lookup_xfloating_lib_func): Likewise.
9969 * config/avr/avr.c (order_regs_for_local_alloc): Likewise.
9970 * config/fr30/fr30.c (fr30_print_operand): Likewise.
9971 * config/i386/dgux.c (output_options): Likewise.
9972 * config/i386/dgux.h (ASM_FILE_START): Likewise.
9973 * config/m88k/m88k.c (output_options): Likewise.
9974 * config/m88k/m88k.h (ASM_FILE_START): Likewise.
9975 * config/mcore/mcore.c (mcore_output_inline_const_forced,
9976 layout_mcore_frame, handle_structs_in_regs): Likewise.
9977 * config/mips/mips.c (output_block_move): Likewise.
9978 * config/rs6000/rs6000.c (rs6000_override_options,
9979 rs6000_file_start): Likewise.
9980 * config/sparc/sparc.c (sparc_add_gc_roots): Likewise.
9981 * fixinc/fixfixes.c (FIX_TABLE_CT): Likewise.
9982 * fixinc/fixtests.c (TEST_TABLE_CT): Likewise.
9983 * builtins.c (expand_builtin_setjmp): Likewise.
9984 * expr.c (safe_from_p): Likewise.
9985 * flow.c (life_analysis): Likewise.
9986 * fold-const.c (size_int_type_wide): Likewise.
9987 * gcc.c (translate_options, init_spec, set_spec, main): Likewise.
9988 * genattrtab.c (make_length_attrs): Likewise.
9989 * genopinit.c (gen_insn): Likewise.
9990 * genrecog.c (NUM_KNOWN_PREDS, NUM_SPECIAL_MODE_PREDS): Likewise.
9991 * global.c (global_alloc): Likewise.
9992 * local-alloc.c (find_free_reg): Likewise.
9993 * mips-tdump.c (print_symbol): Likewise.
9994 * mips-tfile.c (parse_def, parse_input): Likewise.
9995 * reload1.c (NUM_ELIMINABLE_REGS): Likewise.
9996 * stmt.c (expand_nl_goto_receiver): Likewise.
9997 * stor-layout.c (set_sizetype): Likewise.
9998 * varasm.c (decode_reg_name): Likewise.
9999 * toplev.c (decode_f_option, decode_W_option,
10000 set_target_switch, print_switch_values): Likewise.
10001 (NUM_ELEM): Remove macro.
10002 (display_help, main): s/NUM_ELEM/ARRAY_SIZE/
10003
5b47282c
GM
100042000-08-24 Greg McGary <greg@mcgary.org>
10005
10006 * tree.h (enum tree_index): New member `TI_MAIN_IDENTIFIER'.
10007 (MAIN_NAME_P, main_identifier_node): New macros.
10008 * c-common.c (c_common_nodes_and_builtins): Init main_identifier_node.
10009 * c-decl.c (start_decl, grokdeclarator, start_function,
10010 store_parm_decls, finish_function): Use MAIN_NAME_P.
10011 * config/avr/avr.c (function_prologue, function_epilogue): Likewise.
10012 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
10013 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
10014 * config/pdp11/pdp11.c (output_function_prologue): Likewise.
10015
87ae0c74
GM
100162000-08-24 Greg McGary <greg@mcgary.org>
10017
10018 * cppfiles.c (actual_directory): Don't write beyond `dir'
10019 when it contains "".
10020 * real.c (asctoeg): Stay within bounds of etens[][].
10021
b148aeaa
KG
100222000-08-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10023
10024 * dependence.c (dependence_string, direction_string,
10025 dump_one_node, dump_node_dependence): Hide unused identifiers.
10026 (get_low_bound, normalize_coefficients): Match definition to
10027 static prototype.
10028 (get_one_coefficient): Initialize variables `value0_is_idx' and
10029 `value1_is_idx'.
10030 (ziv_test, gcd_test): Mark parameters with ATTRIBUTE_UNUSED.
10031 (ziv_test): Delete variable `idx', use parameter `sub' instead.
10032 (direction_merge): Avoid automatic aggregate initialization.
10033 (have_dependence_p): Use `src' not `dest' to set `src_idx'.
10034 Initialize variables `dest_idx' and `src_idx'.
10035 (end_dependence_analysis): Avoid C89 style function definition.
10036
4894ecce
JM
100372000-08-24 Joseph S. Myers <jsm28@cam.ac.uk>
10038
10039 * c-common.c (time_char_table): Don't allow width with %F.
10040 (check_format_info): Don't allow "Z" length with scanf.
10041
2ab99c46
GDR
100422000-08-24 Gabriel Dos Reis <gdr@codesourcery.com>
10043
10044 * diagnostic.c (finish_diagnostic): Define.
10045 (output_do_printf): Use wrap_text instead of output_add_string.
10046 (default_print_error_function): Avoid embedded '\n'.
10047
10048 * diagnostic.h (flush_diagnostic_buffer): Declare.
10049
335e59bd
AO
100502000-08-23 Alexandre Oliva <aoliva@redhat.com>
10051
10052 * dependence.c: Replace `[][]' with `[][MAX_SUBSCRIPTS]'.
10053
d9fe00bb
HPN
100542000-08-23 Hans-Peter Nilsson <hp@axis.com>
10055
10056 * Makefile.in (GCC_PASSES): Add specs.
10057
b97644fc
JW
100582000-08-23 Jim Wilson <wilson@cygnus.com>
10059
10060 * frame.h (IA64_UNW_EHANDLER, IA64_UNW_UHANDLER): New.
10061 * config/ia64/frame-ia64.c (__get_personality): Return zero if neither
10062 EHANDLER nor UHANDLER bit is set.
10063 (__get_except_table): Likewise.
10064
64a7723d
NC
100652000-08-23 Nick Clifton <nickc@redhat.com>
10066
02689e18
NC
10067 * config/arm/lib1funcs.asm: Replace upper case condition codes
10068 with lower case versions.
10069
64a7723d
NC
10070 * config/arm/arm.h (STRUCT_VALUE): Define.
10071 (STRUCT_VALUE_REGNUM): Delete.
10072
bbdac7d0
ZW
100732000-08-23 Zack Weinberg <zack@wolery.cumb.org>
10074
10075 * cpphash.h (IN_I): New flag for directive table.
10076 * cpplib.c (DIRECTIVE_TABLE): Mark #define, #undef, #ident, and
10077 #pragma with IN_I.
10078 (_cpp_check_directive): If -fpreprocessed, execute directives
10079 marked with IN_I. Issue no warnings in this case.
10080 * cpplex.c (_cpp_get_token): Expand no macros if -fpreprocessed.
10081
d8eceea4
JM
100822000-08-23 Joseph S. Myers <jsm28@cam.ac.uk>
10083
10084 * c-common.c (print_char_table): Allow 'I' flag with %d, %i and
10085 %u.
10086 (check_format_info): Support printf 'I' flag; warn about it with
10087 -pedantic.
10088
e04c2d6c
RE
100892000-08-23 Richard Earnshaw (rearnsha@arm.com)
10090
10091 * arm.c (arm_expand_prologue): Ensure that the stack-adjustment
10092 barrier can't be ignored by the alias analysis code.
10093
f4306baa
EZ
100942000-08-12 Eli Zaretskii <eliz@is.elta.co.il>
10095
10096 * fixinc/inclhack.def (sysv68_string): Fix the Sed script so it
10097 works inside fixincl.
10098
95d0e5f1
AO
10099Wed Aug 23 04:55:48 2000 Alexandre Oliva <aoliva@redhat.com>
10100
10101 * simplify-rtx.c (simplify_rtx): Don't pass VOIDmode to
10102 simplify_relational_operation() unless both operands are of
10103 VOIDmode.
10104 * cse.c (fold_rtx): Likewise.
10105
55efb413
JW
10106Tue Aug 22 23:53:27 EDT 2000 John Wehle (john@feith.com)
10107
10108 * rtlanal.c (rtx_unstable_p): The pic register is stable
10109 (within one function) and the actual rtx should be used
10110 when checking the registers.
10111 (rtx_addr_can_trap_p): Pic memory addresses can't trap.
10112
10113 * alias.c (true_dependence, write_dependence_p): Fix
10114 bug in previous patch.
10115
10116 * i386.c (ix86_GOT_alias_set): New.
10117 (legitimize_pic_address): Use it.
10118
10119 * rtlanal.c (rtx_unstable_p): An unchanging MEM is
10120 only stable if its address is stable.
10121 (rtx_varies_p): An unchanging MEM can't vary if
10122 its address doesn't vary.
10123
aac625ac
KG
101242000-08-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10125
10126 * c-parse.in (unop +): Restrict -Wtraditional warnings to user code.
10127
62432849
DA
101282000-08-22 J. David Anglin <dave@hiauly1.hia.nrc.ca>
10129
10130 * vax.h (ASM_SPEC): Pass `-J' to assembler.
10131 * x-vax-gcc: New file for bootstrapping with gcc.
dd745546 10132 * x-vax: Use X_CFLAGS rather than X_CPPFLAGS to pass `-J'.
62432849
DA
10133 * configure.in: Use x-vax-gcc with gcc.
10134 * configure: Rebuilt.
10135
1eb994b7
R
10136Tue Aug 22 21:21:05 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
10137
10138 * toplev.c (rest_of_compilation): Rebuild label notes after
10139 post-reload splitting pass if new labels have been created.
10140
f6a542de
GDR
101412000-08-22 Gabriel Dos Reis <gdr@codesourcery.com>
10142
10143 * diagnostic.h (output_buffer_state): New macro.
10144 * diagnostic.c (diagnostic_for_decl, sorry,
10145 default_print_error_function, output_do_verbatim,
10146 report_diagnostic, report_problematic_module): Use it.
10147 (wrap_text): Tweak.
10148 (output_format): Use wrap_text instead of maybe_wrap_text.
10149
888e552f
NC
101502000-08-22 Nick Clifton <nickc@redhat.com>
10151
10152 * config/arm/lib1funcs.asm (ARM_DIV_MOD_BODY): New macro.
10153 Common code for ARM divide and modulus functions.
10154 (THUMB_DIV_MOD_BODY): New macro. Thumb equivalent of
10155 ARM_DIV_MOD_BODY.
10156 (FUNC_END): New macro: Common code at the end of the division and
10157 modulo functions.
10158 (THUMB_FUNCTION_START): New macro: Common code at the start of
10159 Thumb functions.
10160 (__divsi3, __udivsi3, __modsi3, __umodsi3): Use new macros.
0e5921e8 10161
89e43e33
KK
10162Tue Aug 22 20:34:52 2000 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10163
10164 * config/sh/sh.md (cmpeqdi_t splitter): Fix a reverse testing.
10165
10166 * config/sh/sh.c (prepare_scc_operands): Apply force_reg to
10167 sh_compare_op1 when the mode is DImode and sh_compare_op1 isn't
10168 const0_rtx.
10169
7405dc37
NC
101702000-08-22 Nick Clifton <nickc@redhat.com>
10171
10172 * config/arm/lib1funcs.asm (__umodsi3): Before performing any
10173 restorative additions, test for bottom bits of IP being set,
10174 rather than relying upon the RORs not matching.
10175 (__modsi3): Ditto.
10176
9861b0c9
DE
101772000-08-22 David Edelsohn <edelsohn@gnu.org>
10178
10179 * aix.h (ASM_DECLARE_FUNCTION_NAME): Call named_section() or
60a3c181 10180 text_section() as appropriate instead of emitting text csect
9861b0c9
DE
10181 pseudo-op directly.
10182 (TEXT_SECTION_ASM_OP): Only require default 32-bit alignment.
10183 (UNIQUE_SECTION): Define macro.
10184 (ASM_OUTPUT_SECTION_NAME): Define macro.
10185 * rs6000.c (rs6000_override_options): Disable -ffunction-sections
60a3c181 10186 on AIX if debugging and -fdata-sections always.
9861b0c9
DE
10187
101882000-08-22 Steven King <sxking@uswest.net>
df3a88f0
SK
10189
10190 * config/float-i386.h (LDBL_EPSILON): Remove __convert_long_double
10191 machinery.
10192 (LDBL_MAX): Same here.
10193
b578dbd7
RH
101942000-08-22 Richard Henderson <rth@cygnus.com>
10195
10196 * flow.c (tidy_fallthru_edge): Update b->end properly.
10197
d061bc1e
SC
101982000-08-22 Stan Cox <scox@redhat.com>
10199
60a3c181
RH
10200 * Makefile.in (OBJS): Add dependence.o.
10201 * dependence.c: New file.
0e5921e8 10202
23d16877 102032000-08-22 Alexandre Oliva <aoliva@redhat.com>, John David Anglin <dave.anglin@nrc.ca>
3cadd778 10204
d60eab50
AO
10205 * calls.c (check_sibcall_argument_overlap_1): Adjust for
10206 ARGS_GROW_DOWNWARD.
10207 (check_sibcall_argument_overlap): Likewise.
10208
23d16877
AO
102092000-08-22 Alexandre Oliva <aoliva@redhat.com>
10210
3cadd778
AO
10211 * invoke.texi (SH Options): Document -m4-nofpu,
10212 -m4-single-only, -m4-single, -m4, -mbigtable, -mfmovd,
10213 -mhitachi, -mnomacsave, -misize, -mpadstruct, -mspace.
10214
23e4d028
JM
102152000-08-22 Joseph S. Myers <jsm28@cam.ac.uk>
10216
10217 * c-common.c (check_format_info): Give the 'some locales' warning
10218 for strftime %Ey rather than the unconditional 'only last 2 digits
10219 of year' one.
10220
bc82c87c
RH
102212000-08-22 Richard Henderson <rth@cygnus.com>
10222
10223 * alias.c (init_alias_analysis): Do not register
10224 struct_value_incoming_rtx or static_chain_rtx as pointing
10225 to stack memory.
10226
7db9125f
JL
10227Tue Aug 22 01:44:43 2000 Jeffrey A Law (law@cygnus.com)
10228
10229 * protoize.c (munge_compile_params): Fix typo and formatting buglets.
10230
b413d64d
GDR
102312000-08-22 Gabriel Dos Reis <gdr@codesourcery.com>
10232
10233 * diagnostic.h (report_problematic_module): Declare.
10234 * diagnostic.c (report_problematic_module): New function.
10235 (report_error_function): Tweak.
10236
c4a6c0f3
RK
10237Tue Aug 22 02:31:26 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10238
10239 * stmt.c (expand_goto_internal, fixup_gotos): Only check
10240 TYPE_RETURNS_STACK_DEPRESSED for FUNCTION_TYPE.
10241
770a7feb
RH
102422000-08-21 Richard Henderson <rth@cygnus.com>
10243
10244 * flow.c (calculate_global_regs_live): Mark frame pointer live
10245 everywhere before reload.
10246
280db205
JW
102472000-08-21 Jim Wilson <wilson@cygnus.com>
10248
10249 * real.c (ereal_from_int, ereal_from_uint, significand_size): Handle
10250 INTEL_EXTENDED_IEEE_FORMAT.
10251 (toe64): Delete INTEL_EXTENDED_IEEE_FORMAT support. Unconditionally
10252 clear last two bytes of output FP value.
10253
94c21c17
GS
102542000-08-21 Graham Stott <grahams@cygnus.co.uk>
10255
10256 * config/ia64/ia64.h (REDO_SECTION_INFO_P): Change decl to DECL.
10257
6315f068
JJ
102582000-08-21 Jakub Jelinek <jakub@redhat.com>
10259
10260 * unroll.c (loop_find_equiv_value): If ret is modified between
10261 insn and loop_start, ret might not be equivalent to reg.
10262
5804a754
JM
102632000-08-21 Joseph S. Myers <jsm28@cam.ac.uk>
10264
10265 * c-common.c (init_dollar_format_checking,
10266 maybe_read_dollar_number, finish_dollar_format_checking): New
10267 functions.
10268 (dollar_arguments_used, dollar_arguments_count,
10269 dollar_first_arg_num, dollar_max_arg_used, dollar_format_warned):
10270 New variables.
10271 (check_format_info): Support $ formats for scanf and printf width
10272 and precision. Always increment format_chars to advance past the
10273 '*' of precision, not just when the format parameters are
10274 available to check.
10275
95adab8e
KG
102762000-08-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10277
10278 * mips.c (block_move_loop, expand_block_move,
10279 function_arg_partial_nregs, save_restore_insns, function_prologue,
10280 mips_expand_prologue, RA_MASK): Avoid using the `U' integer
10281 constant suffix.
10282 (function_arg_advance, function_arg): Match argument to format
10283 specifier `%p'.
10284
49009afd
JL
102852000-08-21 Nix <nix@esperi.demon.co.uk>
10286
10287 * gcc.c (do_spec_1): Implement %j spec flag.
10288 Remove dead comment.
10289
10290 * gcc.texi (The Configuration File): Document HOST_BIT_BUCKET.
60a3c181
RH
10291 * system.h (HOST_BIT_BUCKET): Default to "/dev/null".
10292 * config/i386/xm-dos.h (HOST_BIT_BUCKET): Define as "NUL".
10293 * config/i386/xm-os2.h, config/winnt/winnt.h: Likewise.
49009afd 10294
60a3c181 10295 * protoize.c (munge_compile_params): Use HOST_BIT_BUCKET (if
49009afd
JL
10296 writable) instead of hardcoded value.
10297
10298 * toplev.c (compile_file): Output to a file even if -fsyntax-only.
10299
60a3c181
RH
10300 * gcc.c, config/i386/xm-dos.h, config/i386/xm-os2.h: Kill
10301 MKTEMP_EACH_FILE.
49009afd 10302
60a3c181 10303 * gcc.c (cc1_options): Do not process -o or run the assembler if
49009afd 10304 -fsyntax-only.
05a3d06e 10305 * objc/lang-spec.h: Likewise.
49009afd
JL
10306
103072000-08-21 Eli Zaretskii <eliz@is.elta.co.il>
dc13bad7
EZ
10308
10309 * fixinc/fixincl.c (fix_with_system): Pipe the output of
10310 "external" fixes through `cat', to avoid truncating the input
10311 file by redirection.
10312
cb694d2c
JJ
103132000-08-21 Jakub Jelinek <jakub@redhat.com>
10314
10315 * config/i386/i386.md (lea_general_1): Copy insn condition to split
10316 condition.
10317 (lea_general_2, lea_general_3): Likewise.
10318
cde6e684
KG
103192000-08-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10320
10321 * c-decl.c (duplicate_decls, define_label): Restrict -Wtraditional
10322 warnings to user code.
10323
10324 * c-lex.c (readescape, yylex): Likewise.
10325
10326 * c-typeck.c (store_init_value, process_init_element): Likewise
10327 (c_expand_start_case): Format.
10328
120dc6cd
MR
103292000-08-18 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
10330
10331 * mips/linux.h (LINK_SPEC): Use %(endian_spec).
10332
10333 * mips/mips.h: Change LINKER_ENDIAN_SPEC to ENDIAN_SPEC
0e5921e8 10334 and linker_endian_spec to endian_spec.
120dc6cd
MR
10335 (ENDIAN_SPEC): Add %{EB} and %{EL}.
10336 (LINK_SPEC): Remove %{EB} and %{EL}.
0e5921e8 10337 (ASM_SPEC): Likewise. Use %(endian_spec).
120dc6cd 10338
93e2382f
JM
103392000-08-21 Joseph S. Myers <jsm28@cam.ac.uk>
10340
10341 * c-tree.h (flag_hosted): Move declaration from here...
10342 * c-common.h (flag_hosted): ... to here.
10343 (flag_noniso_default_format_attributes): New declaration.
10344 * c-decl.c (flag_noniso_default_format_attributes): New variable.
10345 (c_decode_option): Set it appropriately for options choosing
10346 language standard variant.
10347 * c-common.c (init_function_format_info): Only provide default
10348 format attributes if flag_hosted. Only provide the gettext
10349 formats if flag_noniso_default_format_attributes. Update
10350 comments.
10351 (check_format_info): Disable treatment of %a as a scanf flag in
10352 C99 mode.
10353
f3d360aa
JM
103542000-08-21 Joseph S. Myers <jsm28@cam.ac.uk>
10355
10356 * c-common.c (scan_char_table): Add 'w' to flags for all formats
10357 except 'n'.
10358 (check_format_info): Set 'wide' for scanf format widths. Warn for
10359 a zero scanf width. Make the check for writing into a constant
10360 object at the first level of indirection; at later levels, warn if
10361 any type qualifiers are encountered.
10362
e04ca094
JL
10363Mon Aug 21 07:41:12 2000 Jeffrey A Law (law@cygnus.com)
10364
e6ea3b5f
JL
10365 * reload.c (reload_inner_reg_of_subreg): New function broken out of
10366 push_reload.
10367 (push_reload): Use reload_inner_reg_of_subreg.
10368 (combine_reloads): Do not combine reloads if the input reload
10369 is a SUBREG in which the inner part will need reloading.
10370
e04ca094
JL
10371 * global.c (global_alloc): Avoid passing dumpfile argument to
10372 reload routines.
10373 * toplev.c (rest_of_compilation): Likewise.
10374 * reload.h (reload): Remove dumpfile argument. Callers changed.
10375 (debug_reload, debug_reload_to_stream): Move prototypes here.
10376 * rtl.h (reload): Remove dumpfile argument.
10377 * reload.c (debug_reload): Remove prototype.
10378 (debug_reload_to_stream): Likewise.
10379 * reload1.c: Avoid passing dumpfile around, rely on rtl_dump_file
10380 instead.
10381
24805e80
GDR
103822000-08-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
10383
10384 * diagnostic.c (context_as_prefix): Export.
10385 (need_error_newline): Remove.
10386 (lang_diagnostic_starter, lang_diagnostic_finalizer): New objects.
10387 (error_module_changed, record_last_error_module,
10388 error_function_changed, record_last_error_function): New functions.
10389 (initialize_diagnostics): Default intialize
10390 lang_diagnostic_starter, lang_diagnostic_finalizer.
10391 (init_output_buffer): Tweak.
10392 (file_name_as_prefix): New function.
10393 (announce_function, default_print_error_function,
10394 report_error_function, set_diagnostic_context): Tweak.
10395
056b6841
RE
103962000-08-21 Richard Earnshaw <rearnsha@arm.com>
10397
10398 * flow.c (init_propagate_block_info): Handle SUBREG in a jump
10399 condition expression.
10400
7171b491
RH
104012000-08-20 Richard Henderson <rth@cygnus.com>
10402
10403 * flow.c (merge_blocks_nomove): Don't seek back past the bb note.
10404
3cb553b4
ZW
104052000-08-20 Zack Weinberg <zack@wolery.cumb.org>
10406
10407 * cppinit.c (cpp_init): Set global flag when called.
10408 (cpp_reader_init): Bomb out if cpp_init hasn't been called.
10409
9861b0c9 10410Sun Aug 20 01:41:35 2000 Dennis Chernoivanov <cdi@sparc.spb.su>
3cb553b4 10411
60a3c181
RH
10412 * cpplex.c (cpp_scan_buffer): Move `output_line_command' just
10413 before `process_directive' so that newlines won't be missed
10414 for directives.
10415 (cpp_printf): Increment `print->lineno' when newline is emitted.
3cb553b4 10416
60a3c181
RH
10417 * cppmain.c (cb_ident): Likewise.
10418 (cb_define): Likewise.
10419 (cb_undef): Likewise.
10420 (cb_include): Likewise.
10421 (cb_def_pragma): Likewise.
10422 (dump_macros_helper): Likewise.
3cb553b4 10423
9c668921
RH
104242000-08-20 Richard Henderson <rth@cygnus.com>
10425
10426 * config/ia64/ia64.c (emit_insn_group_barriers): Stop if ar.lc
10427 assigned before a loop.
10428
10429 * config/ia64/ia64.md (ashlsi3): Zero extend the shift count.
10430 (ashrsi3, lshrsi3): Likewise.
10431
4e1e6a01
GDR
104322000-08-20 Gabriel Dos Reis <gdr@codesourcery.com>
10433
10434 * c-lang.c: #include diagnostic.h
10435 (c_tree_printer): New function.
10436 (lang_init): Initialize lang_printer.
10437
10438 * Makefile.in (c-lang.o): Depends on diagnostic.h
10439
e2840263
GDR
104402000-08-20 Gabriel Dos Reis <gdr@codesourcery.com>
10441
10442 * c-errors.c (pedwarn_c99): Adjust call to report_diagnostic.
10443
10444 * diagnostic.c (default_diagnostic_starter,
10445 default_diagnostic_finalizer): New functions.
10446 (diagnostic_for_asm, diagnostic_for_decl): Tweak.
10447 (pedwarn, pedwarn_with_file_and_line, error,
10448 error_with_file_and_line, fatal, warning,
10449 warning_with_file_and_line): Adjust call to report_diagnostic.
10450 (report_diagnostic): Rework.
10451 (set_diagnostic_context): New function.
10452
10453 * diagnostic.h (struct diagnostic_context): New data structure.
10454 (diagnostic_message, diagnostic_argument_list,
10455 diagnostic_file_location, diagnostic_line_location,
10456 diagnostic_is_warning, diagnostic_starter, diagnostic_finalizer,
10457 diagnostic_finalizer, diagnostic_auxiliary_data): New macros.
10458 (set_diagnostic_context): Declare.
10459 (report_diagnostic): Change prototype.
10460
574f7425
NB
10461Sun 20-Aug-2000 09:25:45 BST Neil Booth <NeilB@earthling.net>
10462
10463 * fix-header.c (main): Initialize cpplib.
10464
f1e42c81
MM
104652000-08-19 Michael Meissner <meissner@redhat.com>
10466
34c9e848
MM
10467 * ifcvt.c (find_if_block): Do not assume that a THEN block has any
10468 instructions in it before checking for indirect jumps.
10469
f1e42c81
MM
10470 * ifcvt.c (find_if_block): Do not consider a THEN block that ends
10471 in a indirect jump as a potential for conditional execution.
10472
10473 * d30v.h (d30v_init_expanders): Don't declare here.
10474 * d30v-protos.h (d30v_init_expanders): Declare here with a valid
10475 prototype.
10476
9d6c2770
NB
10477Sat 19-Aug-2000 21:11:45 BST Neil Booth <NeilB@earthling.net>
10478
10479 * cpp.texi: Add @section for assertions.
10480
e76d9acb
JW
10481Sat Aug 19 12:37:08 EDT 2000 John Wehle (john@feith.com)
10482
10483 * loop.c (scan_loop): Use CONST_CALL_P instead of
10484 checking for REG_LIBCALL / REG_RETVAL.
10485
f49957d6
JL
10486Sat Aug 19 09:18:47 2000 Jeffrey A Law (law@cygnus.com)
10487
850aac53
JL
10488 * reload1.c (reload_as_needed): Accept dumpfile argument,
10489 pass it to emit_reload_insns.
10490 (emit_reload_insns): Add new dumpfile argument. If non-null
10491 then dump the reloads for each insn into the dumpfile.
10492 (reload): Pass dumpfile to reload_as_needed.
10493
f49957d6
JL
10494 * invoke.texi: Clean up linux-gnu vs linux comments.
10495
041f25e6
RH
104962000-08-19 Richard Henderson <rth@cygnus.com>
10497
10498 * config/ia64/ia64.c (reg_or_5bit_operand): New.
10499 (ia64_depz_field_mask): New.
10500 * config/ia64/ia64.h (CONSTRAINT_OK_FOR_R): New.
10501 (PREDICATE_CODES): Update.
10502 * config/ia64/ia64.md: Update commentary.
10503 (depz_internal): New.
10504 (ashlsi3): Implement directly.
10505 (ashrsi3, lshrsi3): Simplify; rely on extv and extzv for constants.
10506 (ashldi3): Use shladd.
10507 * config/ia64/ia64-protos.h: Update.
10508
319ea138
ZW
105092000-08-18 Zack Weinberg <zack@wolery.cumb.org>
10510
10511 * toplev.c (independent_decode_option): Always process -g.
10512 Remove third argument, now unused. Adjust caller to match.
10513
8231ad94
RH
105142000-08-18 Richard Henderson <rth@cygnus.com>
10515
10516 * combine.c (make_compound_operation): Break after creating
10517 the extraction.
10518
6e19bb38
ZW
105192000-08-18 Zack Weinberg <zack@wolery.cumb.org>
10520
10521 * cpplib.c (cpp_register_pragma_space): Just return if the
10522 namespace is already registered.
10523
477d303f
RE
105242000-08-18 Ray Essick <essick@ddna.labs.mot.com> & Nick Clifton <nickc@redhat.com>
10525
10526 * config/mcore/mcore.md (rotlsi3): Allow allow rotations by a
10527 constant amount. Do not generate ROTL instruction.
10528
ffe51c8a
AO
10529Fri Aug 18 16:22:20 2000 Alexandre Oliva <aoliva@redhat.com>
10530
10531 * config/sh/elf.h: Do not include sh/sh.h.
10532 * config/sh/rtems.h: Likewise.
10533 * config/sh/rtemself.h: Do not include sh/elf.h.
10534 * configure.in: Get them included with `tm_file's.
10535 * configure: Rebuilt.
10536
8845e874
AO
10537 * config/sh/sh.md (fpu_switch0, fpu_switch1): Simplify.
10538 * config/sh/sh.c (fpscr_set_from_mem): Use them.
10539
3f546a53
RK
10540Fri Aug 18 14:23:18 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10541
7d2950e5
RK
10542 * stor-layout.c (compute_record_type): Don't use mode of single
10543 field as mode of record if not integer mode of same type.
10544
a1c1fdd0
RK
10545 * regmove.c (perhaps_ends_bb_p): New function.
10546 (optimize_reg_copy_1, optimize_reg_copy_2): Call it.
10547 (optimize_reg_copy_3, fixup_match_2, regmove_optimize): Likewise.
10548 (fixup_match_1): Likewise.
10549 (fixup_match_1, combine_stack_adjustments_for_block): Add casts to
10550 avoid signed/unsigned warnings.
0e5921e8 10551
3f546a53
RK
10552 * function.c (fixup_var_refs_1, case MEM): Update CODE after
10553 updating X.
10554
61d0346d
NB
10555Fri 18-Aug-2000 18:33:45 BST Neil Booth <NeilB@earthling.net>
10556
10557 * cpphash.h: Use HAVE_DESIGNATED_INITIALIZERS.
10558 (_cpp_trigraph_map): Declaration moved from cpplex.c
10559
10560 * cppinit.c: Define _cpp_trigraph_map. Use UCHAR_MAX + 1
10561 instead of 256. Use consistent test for designated initializers.
10562 (cpp_init): Initialize trigraph_map.
10563 (initialize_standard_includes, parse_option): Use memcmp
10564 instead of strncmp.
10565
10566 * cpplex.c (init_trigraph_map): Remove.
10567 (trigraph_ok, trigraph_replace, lex_line): Refer to
10568 _cpp_trigraph_map.
10569
10570 * cpplib.c (str_match, WARNING, ERROR, ICE): Delete.
10571 (do_unassert): Remove unused "next" local.
10572
10573 * system.h (HAVE_DESIGNATED_INITIALIZERS): New prototype.
10574
ef42b1dd
EM
105752000-08-18 Emmanuel Marty <emarty@suntech.fr>
10576
10577 * arm/lib1funcs.asm (_umodsi3 THUMB VARIANT): Restore deleted return
10578 insn.
10579
bc08aefe
RH
105802000-08-17 Richard Henderson <rth@cygnus.com>
10581
10582 * config/ia64/ia64.c (spill_restore_mem): Handle emitting
10583 the first insn in a sequence.
10584
49982682
JW
10585Thu Aug 17 22:40:05 EDT 2000 John Wehle (john@feith.com)
10586
10587 * alias.c (true_dependence, write_dependence_p): A read
10588 involving a label_ref or the constant pool doesn't create
10589 a dependency.
10590
10591 * rtl.h (unchanging): Improve documentation.
10592
889e5964
RB
105932000-08-17 Rodney Brown <RodneyBrown@mynd.com>
10594
10595 * cse.c (insert_regs): Remove unused `regno'.
10596
dd69c71b
NB
105972000-08-17 Neil Booth <NeilB@earthling.net>
10598
10599 * (cppinit.c) merge_include_chains: Use remove_dup_dir,
10600 remove_dup_dirs. If qtail == brack, remove brack not
10601 qtail.
10602 (remove_dup_dir, remove_dup_dirs): New functions.
10603
709e9e50
NB
106042000-08-17 Neil Booth <NeilB@earthling.net>
10605
10606 * cppinit.c (cpp_cleanup): Free include dir chains.
10607 * cpplib.c (do_undef): Let _cpp_free_definition make the node void.
10608 (do_unassert): Free the assert with _cpp_free_definition.
10609 * cppmacro.c (_cpp_free_definition): Free memory allocated for
10610 assertions. Make the node a T_VOID node.
10611
e33f6253
NB
106122000-08-17 Neil Booth <NeilB@earthling.net>
10613
10614 * cppinit.c (path_include, append_include_chain):
10615 Remove 2nd parameter (struct cpp_pending *).
10616 (path_include, initialize_standard_includes, cpp_handle_option):
10617 Update callers appropriately.
10618 (cpp_handle_option): Use pend.
10619
c154ba66
NB
106202000-08-17 Neil Booth <NeilB@earthling.net>
10621
10622 * cppinit.c (sort_options): Remove, put functionality in
10623 cpp_init.
10624 (cpp_init): New.
10625 (initialize_builtins): Free memory.
10626 (cpp_start_read): Move init_IStable to cpp_init.
10627
10628 * cpplib.h (cpp_init): New prototype.
10629 * cppmain.c (main): Call cpp_init.
10630
9c82ac6b
JW
10631Thu Aug 17 13:20:32 EDT 2000 John Wehle (john@feith.com)
10632
10633 * rtlanal.c (rtx_unstable_p): Use CONSTANT_P.
10634 (rtx_unstable_p, rtx_varies_p): Process vectors.
10635
acd50a92
NY
106362000-08-16 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>
10637
10638 * config/sh/lib1funcs.asm (GLOBAL): Define. Use for all
10639 references to GLOBAL symbols. Use LOCAL where appropriate.
10640
cfedbb1f
KG
106412000-08-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10642
10643 * configure.in (*-ibm-aix4.[12]*): Delete test for gnu ld. Always
10644 use t-aix41 when host == target.
10645
31989264
RH
106462000-08-16 Richard Henderson <rth@cygnus.com>
10647
10648 * reload.c (push_secondary_reload): Revert last change.
10649 If we use a reload_in/out pattern, make the when the same
10650 as the primary reload.
10651 (find_reloads): Likewise.
10652
d84c5634
MH
106532000-08-16 Manfred Hollstein <manfredh@redhat.com>
10654
10655 * configure.in (libstdcxx-v3): Fix test.
10656 * configure: Regenerate.
10657
43db0363
RK
10658Wed Aug 16 08:10:32 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10659
10660 * calls.c (calls_function_1, expand_call): Only test
10661 TYPE_RETURNS_STACK_DEPRESSED for FUNCTION_TYPE.
10662 * function.c (thread_prologue_and_epilogue_insns): Likewise.
10663
853d8828
RH
106642000-08-16 Richard Henderson <rth@cygnus.com>
10665
10666 * combine.c (simplify_shift_const): Revert previous two
10667 changes. If SHIFT_COUNT_TRUNCATED, crop the shift count
10668 before the main loop.
10669
3e626beb
RH
106702000-08-15 Richard Henderson <rth@cygnus.com>
10671
10672 * combine.c (simplify_shift_const): Bound shift count when
10673 combining shifts.
10674
f507188a
RK
10675Tue Aug 15 17:33:05 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10676
7393c642
RK
10677 * calls.c (ECF_SP_DEPRESSED): New macro.
10678 (calls_function_1): Treat calling sp-depressed function as alloca.
10679 (emit_call_1): Don't adjust SP if calling sp-depressed function.
10680 (expand_call): Set ECF_SP_DEPRESSED if TYPE_RETURNS_STACK_DEPRESSED.
10681 If sp-depressed, ensure block saves and restores SP.
10682 * fold-const.c (extract_muldiv): Only check TYPE_IS_SIZETYPE
10683 for INTEGER_TYPE.
10684 * function.c (keep_stack_depressed): New function.
10685 (thread_prologue_and_epilogue_insns): Call it.
10686 * print-tree.c (print_node): Use HOST_WIDE_INT_PRINT_UNSIGNED
10687 to print DECL_OFFSET_ALIGN.
10688 Print no-force-blk and transparent-union flags properly.
10689 * stmt.c (expand_goto_internal): Don't restore stack if last block
10690 and function returns with sp depressed.
10691 (fixup_gotos): Likewise.
10692 (save_stack_pointer): New function, from code in expand_decl.
10693 (expand_decl): Call new function.
10694 * tree.h (TYPE_IS_SIZETYPE): Call INTEGER_TYPE_CHECK.
10695 (TYPE_RETURNS_STACK_DEPRESSED): New macro.
10696 (save_stack_pointer): New declaration.
10697
f507188a
RK
10698 * diagnostic.c (fatal_function): New variable.
10699 (set_fatal_function): New function.
10700 (fatal): Call it.
10701 * diagnostic.h (set_fatal_function): New declaration.
10702
56847207
WC
107032000-08-15 William Cohen <wcohen@redhat.com>
10704
10705 * config/sh/elf.h (DWARF2_DEBUGGING_INFO): Defined.
10706 (PREFERRED_DEBUGGING_TYPE): Set to dwarf2 info.
10707 (DWARF2_ASM_LINE_DEBUG_INFO): Defined.
10708
7791b7f9
RH
107092000-08-15 Richard Henderson <rth@cygnus.com>
10710
10711 * flow.c (mark_used_reg): Set reg_cond_reg appropriately.
10712
f99fce0c
RE
107132000-08-15 Richard Earnshaw <rearnsha@arm.com>
10714
10715 * arm.c (arm_function_ok_for_sibcall): New function.
10716 * arm.h (FUNCTION_OK_FOR_SIBCALL): Define.
10717 * arm.md (call expanders): Don't check here for calls that can't
10718 be sibling calls.
10719
74da3101
RE
107202000-08-15 Richard Earnshaw <rearnsha@arm.com>
10721
10722 * arm.md (splits generating cond_exec): Disable.
10723
2c210617
RE
107242000-08-15 Richard Earnshaw <rearnsha@arm.com>
10725
10726 * arm/linux-elf.h (text_section): Delete declaration.
10727
05ed98a1
RE
107282000-08-15 Richard Earnshaw <rearnsha@arm.com>
10729
10730 ARM support for unordered FP operations.
10731 * arm-protos.h (arm_comparison_operator): Declare.
10732 * arm.c (arm_comparison_operator): New function.
10733 (arm_select_cc_mode): Add unordered comparison codes.
10734 (get_arm_condition_code): Likewise.
10735 (arm_final_prescan_insn): Can't handle unordered jumps that can't
10736 be done in one insn.
10737 * arm.h (PREDICATE_CODES): Add arm_comparison_operator.
10738 * arm.md (all uses of comparison_operator): Replace with
10739 arm_comparison_operator.
10740 (bunordered, bordered, bugt, bunlt, bunge, bunle, buneq, bltgt): New
10741 expands.
10742 (arm_buneq, arm_bltgt, arm_buneq_reversed, arm_bltgt_reveresed): New
10743 patterns.
0e5921e8 10744
ed78c862
OP
10745Tue Aug 15 00:36:36 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
10746
10747 * gthr-posix.h: Conditionally include <sched.h>; include
10748 <config.h> from libobjc/.
10749
4859dd36
RH
107502000-08-14 Richard Henderson <rth@cygnus.com>
10751
10752 * config/i386/i386.c (legitimize_pic_address): Use Pmode
10753 for all CONSTs.
10754
3f622353
RH
107552000-08-14 Richard Henderson <rth@cygnus.com>
10756
10757 * configure.in (ia64-*): Set float_format for i386 long double.
10758
10759 * real.c (GET_REAL): Treat 128-bit INTEL_EXTENDED_IEEE_FORMAT
10760 as we would for i386 XFmode.
10761 (PUT_REAL): Likewise.
10762 (endian, ereal_atof, real_value_truncate): Likewise.
10763 (ereal_isneg, toe64, etens, make_nan): Likewise.
10764 * real.h (REAL_VALUE_TO_TARGET_LONG_DOUBLE): Likewise.
10765
10766 * config/ia64/ia64-protos.h: Update.
10767 * config/ia64/ia64.c (general_tfmode_operand): New.
10768 (destination_tfmode_operand): New.
10769 (tfreg_or_fp01_operand): New.
10770 (ia64_split_timode): New.
10771 (spill_tfmode_operand): New.
10772 (ia64_expand_prologue): Use TFmode not XFmode.
10773 (ia64_expand_epilogue): Likewise.
10774 (ia64_function_arg): Likewise.
10775 (ia64_function_arg_advance): Likewise.
10776 (ia64_return_in_memory): Likewise.
10777 (ia64_function_value): Likewise.
10778 (ia64_print_operand): Likewise.
10779 (ia64_register_move_cost): Set GR<->FR to 5.
10780 (ia64_secondary_reload_class): Get GR for TImode memory op.
10781 * config/ia64/ia64.h (ROUND_TYPE_SIZE): Remove.
10782 (ROUND_TYPE_ALIGN): Remove.
10783 (LONG_DOUBLE_TYPE_SIZE): Set to 128.
10784 (INTEL_EXTENDED_IEEE_FORMAT): Define.
10785 (HARD_REGNO_NREGS): Use TFmode, not XFmode.
10786 (HARD_REGNO_MODE_OK): Likewise. Disallow TImode in FRs.
10787 (MODES_TIEABLE_P): Use TFmode, not XFmode.
10788 (CLASS_MAX_NREGS): Likewise.
10789 (ASM_OUTPUT_LONG_DOUBLE): Output by 4 byte hunks.
10790 (PREDICATE_CODES): Update.
10791 * config/ia64/ia64.md (movti): New.
10792 (movti_internal): Use a clobber for memory alternatives.
10793 (reload_inti, reload_outti): New.
10794 (movsfcc_astep): Predicate properly.
10795 (movdfcc_astep): Likewise.
10796 (movxf): Remove.
10797 (movtf): New.
10798 (extendsftf2, extenddftf2): New.
10799 (trunctfsf2, trunctfdf2): New.
10800 (floatditf2, fix_trunctfdi2): New.
10801 (floatunsditf2, fixuns_trunctfdi2): New.
10802 (addtf3, subtf3, multf3, abstf2): New.
10803 (negtf2, nabstf2, mintf3, maxtf3): New.
10804 (maddtf3, msubtf3, nmultf3, nmaddtf3): New.
10805 (cmptf): New.
10806 (fr_spill): Use TFmode, not XFmode.
10807 (fr_restore): Likewise.
10808 * config/ia64/lib1funcs.asm (__divtf3): New.
10809 * config/ia64/t-ia64 (LIB1ASMFUNCS): Add it.
10810
e49a1d2e
KG
108112000-08-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10812
10813 * cse.c (fold_rtx): Avoid empty body in an if-statement.
0e5921e8 10814
e49a1d2e
KG
10815 * doloop.c (doloop_iterations_max, doloop_modify): Avoid using the
10816 `U' integer constant suffix.
10817
10818 * dwarf2out.c (add_subscript_info): Avoid empty body in an
10819 else-statement.
10820
10821 * sparc/sol2.h (__enable_execute_stack): Prototype.
10822
78fbdbf7
DE
108232000-08-14 David Edelsohn <edelsohn@gnu.org>
10824
10825 * collect2.c: Remove use of AIX import file.
10826
10827 * longlong.h: Test ARCH_PWR not ARCH_POWER.
10828
10829 * rs6000.c (print_operand, case 'E'): Add else.
10830
9a89adb8
RH
108312000-08-14 Richard Henderson <rth@cygnus.com>
10832
10833 * config/ia64/ia64.md (movdi): Delay calling ia64_expand_load_address.
10834 (movdi_symbolic): New.
10835
00e149c7
JW
108362000-08-14 Jim Wilson <wilson@cygnus.com>
10837
10838 * config/ia64/ia64.h (ASM_SPEC): Pass -mconstant-gp and -mauto-pic
10839 to GNU as. For Intel as, pass -M const_gp and -M no_plabel.
10840 * config/ia64/linux.h (ASM_SPEC): Pass -mconstant-gp and -mauto-pic
10841 to GNU as.
10842
2ee5437b
RH
108432000-08-14 Richard Henderson <rth@cygnus.com>
10844
10845 * expr.c (emit_group_load): Don't force constants into registers.
10846 Special case source already in the correct mode.
10847
57119aa9
ZW
108482000-08-14 Zack Weinberg <zack@wolery.cumb.org>
10849
10850 * configure.in: Accept *-*-linux* not just *-*-linux-gnu*.
10851 * fixinc/inclhack.def: Likewise.
0e5921e8 10852 * fixinc/mkfixinc.sh: Likewise.
57119aa9
ZW
10853 * configure: Regenerate.
10854 * fixinc/fixincl.x: Regenerate.
10855 * install.texi: Document equivalence of linux and linux-gnu.
10856
d9f20424
R
10857Mon Aug 14 18:51:44 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
10858
10859 * cse.c (insert_regs): Also in REG case: When finding an invalid
10860 value, and we make a new quantity, make sure that it won't be
10861 mistaken by for a valid one by mention_regs.
10862
c8fa6556
RG
10863