]>
Commit | Line | Data |
---|---|---|
f6bbde28 ZW |
1 | 2000-12-07 Zack Weinberg <zack@wolery.stanford.edu> |
2 | ||
3 | * Makefile.in (HOST_RTL): Add safe-ctype.o. | |
4 | (safe-ctype.o): New rule. | |
5 | * system.h: Include safe-ctype.h, not ctype.h. No need to | |
6 | wrap ctype macros. | |
7 | ||
8 | * cpphash.h: Zap IStable and related macros. Define is_* in | |
9 | terms of safe-ctype.h macros. | |
10 | * cppinit.c: Delete the IStable and all related code. | |
11 | ||
12 | * tradcpp.c: Delete is_idchar, is_idstart, is_hor_space, and | |
13 | is_space arrays. Delete initialize_char_syntax. Change all | |
14 | references to the above arrays to use macros instead. | |
15 | * tradcpp.h: Define is_idchar, is_idstart, is_space, and | |
16 | is_nvspace in terms of safe_ctype.h's macros. | |
17 | * tradcif.y: is_idchar, is_idstart are macros not arrays. | |
18 | ||
19 | * config/i370/i370.c, config/winnt/dirent.c, | |
20 | config/winnt/fixinc-nt.c, config/winnt/ld.c: | |
21 | Use uppercase ctype macros. If we included ctype.h, | |
22 | include safe-ctype.h instead. | |
23 | ||
24 | * fixinc/fixfixes.c: Use uppercase ctype macros. Don't test | |
25 | ISLOWER(c) before calling TOUPPER(c). | |
26 | * fixinc/fixincl.c (extract_quoted_files): Simplify out some gunk. | |
27 | * fixinc/gnu-regex.c: Include safe-ctype.h, not ctype.h. No need to | |
28 | wrap ctype macros. Don't test ISUPPER(x) before calling TOLOWER(x). | |
29 | ||
54d7f9aa DD |
30 | 2000-12-07 DJ Delorie <dj@redhat.com> |
31 | ||
32 | * c-decl.c (grokdeclarator): preserve previous alignments when | |
33 | rebuilding array types. | |
34 | ||
642ce434 NB |
35 | 2000-12-07 Neil Booth <neilb@earthling.net> |
36 | ||
f6bbde28 ZW |
37 | * cppfiles.c (struct include_file): Move from cpphash.h. |
38 | (_cpp_never_reread): New function. | |
39 | (open_file, read_include_file): Use it. | |
40 | (stack_include_file): Set the buffer's sysp according to the | |
41 | path in which the file was found. | |
42 | (find_include_file): Don't set sysp. | |
43 | (cpp_make_system_header, actual_directory): Update. | |
44 | (_cpp_execute_include): Do #include_next lookup handling here, | |
45 | not in cpplib.c. Use _cpp_never_reread. | |
46 | * cpphash.h (struct_include_file): Remove. | |
47 | (struct cpp_buffer): New member sysp. | |
48 | (CPP_IN_SYSTEM_HEADER, _cpp_execute_include): Update. | |
49 | (_cpp_never_reread): New. | |
50 | * cpplib.c (read_line_number): Rename read_flag. Rework slightly. | |
51 | (end_directive): Clear line_extension flag. | |
52 | (_cpp_handle_directive): Set line_extension flag for #number. | |
53 | (do_include_next): Handle path lookup in _cpp_execute_include. | |
54 | (do_line): Cleanup to use read_flag. Don't allow flags in #line. | |
55 | (_cpp_do_file_change): Update. | |
56 | (do_pragma_once): Use cpp_never_reread. Clean up. | |
57 | * cpplib.h (struct lexer_state): New member line_extension. | |
642ce434 | 58 | |
f846e0de RH |
59 | 2000-12-07 Richard Henderson <rth@redhat.com> |
60 | ||
61 | * flow.c (calculate_global_regs_live): Force the stack pointer live | |
62 | after reload as well. | |
63 | ||
83c4781c BK |
64 | 2000-12-07 Bruce Korb <bkorb@gnu.org> |
65 | ||
66 | * fixinc/Makefile.*(exeext): the variables are exeext, the | |
67 | substitution expression is build_exeext. | |
68 | ||
47e4bafa NB |
69 | 2000-12-07 Neil Booth <neilb@earthling.net> |
70 | ||
f6bbde28 ZW |
71 | * c-common.c (parse_in): Make a cpp_reader *. |
72 | * cppfiles.c (_cpp_fake_include): Remove. | |
73 | * cpphash.h: Similarly. | |
74 | * cpplib.c (do_line): Don't call _cpp_fake_include. A valid | |
75 | #line always creates a callback; FC_RENAME if there are no | |
76 | #line flags. | |
77 | * fix-header.c (read_scan_file): cpp_push_buffer cannot fail. | |
78 | The first EOF must be our get_char buffer. | |
47e4bafa | 79 | |
c907e684 JM |
80 | 2000-12-07 Joseph S. Myers <jsm28@cam.ac.uk> |
81 | ||
82 | * c-common.c (warn_format_security): New variable. | |
83 | (check_format_info): Warn about non-literal formats with no format | |
84 | arguments if either -Wformat-nonliteral or -Wformat-security is | |
85 | specified. | |
86 | (set_Wformat): Set warn_format_security for settings other than 1. | |
87 | * c-common.h (warn_format_security): Declare. | |
88 | * c-decl.c (c_decode_option): Decode -Wformat-security and | |
89 | -Wno-format-security. | |
90 | * invoke.texi: Document -Wformat-security. | |
91 | * toplev.c (documented_lang_options): Include -Wformat-security | |
92 | and -Wno-format-security. | |
93 | ||
1c248308 JM |
94 | 2000-12-07 Joseph S. Myers <jsm28@cam.ac.uk> |
95 | ||
96 | * c-common.c (check_format_info): Warn for non-constant format | |
97 | strings with strftime formats if -Wformat-nonliteral. Where the | |
98 | format can convert arguments, if the format is not a string | |
99 | literal and there are no arguments to the format, give a different | |
100 | warning message from the general non-string-literal case. | |
101 | ||
014e7f1d JM |
102 | 2000-12-07 Joseph S. Myers <jsm28@cam.ac.uk> |
103 | ||
104 | * c-common.c (format_wanted_type): Add reading_from_flag. | |
105 | (print_char_table): Mark %s and %S formats with flag "R". | |
106 | (check_format_info_main): Set up reading_from_flag appropriately. | |
107 | If aflag, always set writing_in_flag rather than relying on the | |
108 | format used being a scanf format and so having it set. | |
109 | (check_format_types): Check for formats reading through null | |
110 | pointers. | |
111 | ||
8308e0b7 JM |
112 | 2000-12-07 Joseph S. Myers <jsm28@cam.ac.uk> |
113 | ||
114 | * invoke.texi (-Wformat): Document what format features are | |
115 | checked. | |
116 | ||
1120a1d3 KH |
117 | 2000-12-06 Kazu Hirata <kazu@hxi.com> |
118 | ||
119 | * config/h8300/h8300.h: Fix formatting. | |
120 | ||
bc98ef7f JS |
121 | 2000-12-06 Joel Sherrill <joel@OARcorp.com> |
122 | ||
f6bbde28 ZW |
123 | * config.gcc (a29k*-*-rtems*, arm*-*-rtems*, c4x-*-rtems*, |
124 | h8300-*-rtems*, hppa1.1-*-rtems, *mips*-*-rtems*): New targets. | |
125 | * config.gcc (*-rtems*): Add support for gthr-rtems.h. | |
126 | * gthr-rtems.h, config/a29k/rtems.h, config/arm/rtems-elf.h, | |
127 | config/h8300/rtems.h, config/mips/rtems.h: New files. | |
bc98ef7f | 128 | |
5eeab2e3 MK |
129 | 2000-12-06 Mark Kettenis <kettenis@gnu.org> |
130 | ||
131 | * config.gcc: Reorganize handling of *-*-gnu*, to share target | |
132 | specific make details with Linux. Update comments to clarify | |
f6bbde28 | 133 | the distinction between GNU/Linux and GNU/Hurd. |
5eeab2e3 | 134 | |
6b4b8cb9 JL |
135 | Wed Dec 6 19:22:02 2000 Jeffrey A Law (law@cygnus.com) |
136 | ||
137 | * contrib.texi: Fix my email address. Update Per's | |
138 | list of contributions. | |
139 | ||
2398fb2a RB |
140 | 2000-12-06 Rodney Brown <RodneyBrown@mynd.com> |
141 | ||
f5720527 RB |
142 | * c-lex.c (cb_indent): Decorate `str' argument, unused on HP-UX. |
143 | * collect2.c (scan_libraries): Remove unused `ch'. | |
144 | (COFF specific stuff): Prototype ldgetname. Declare and prototype | |
145 | ldbtread and ldclose. | |
146 | ||
2398fb2a RB |
147 | * config/alpha/osf.h: Standarize copyright statement. |
148 | * config/arc/arc.h: Likewise. | |
149 | * config/arm/elf.h config/arm/coff.h config/arm/aout.h: Likewise. | |
150 | * config/arm/arm.c config/arm/arm.h: Likewise. | |
151 | * config/elxsi/elxsi.h: Likewise. | |
152 | * config/i386/sco.h: Likewise. | |
153 | * config/m68k/crds.h config/m68k/hp320.h config/m68k/lynx.h: Likewise. | |
154 | * config/m68k/m68kv4.h config/m68k/next21.h: Likewise. | |
155 | * config/m68k/sun3.h: Likewise. | |
156 | * config/m88k/dgux.h config/m88k/dguxbcs.h: Likewise. | |
157 | * config/pdp11/2bsd.h config/pdp11/pdp11.h: Likewise. | |
158 | * config/romp/romp.h: Likewise. | |
159 | * config/rs6000/aix41.h: Likewise. | |
160 | * config/sparc/sysv4.h: Likewise. | |
161 | * config/we32k/we32k.c config/we32k/we32k.h: Likewise. | |
162 | * fixinc/gnu-regex.c fixinc/gnu-regex.h: Likewise. | |
163 | * cpplib.h cppexp.c cselib.h profile.c: Likewise. | |
164 | * longlong.h: Likewise. | |
165 | * libgcc2.c: Likewise. | |
166 | ||
ff08da30 JL |
167 | 2000-12-06 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
168 | ||
169 | * machmode.def: Use correct definition for BITSIZE on targets where | |
170 | BITS_PER_UNIT != 8. | |
171 | ||
6047d503 BK |
172 | 2000-12-06 Bruce Korb <bkorb@gnu.org> |
173 | ||
174 | * fixinc/Makefile.*: Reduce differences to (ultimately) reduce | |
175 | the number of them. | |
176 | ||
ff08da30 | 177 | 2000-12-06 J. David Anglin <dave@hiauly1.hia.nrc.ca> |
becf1647 DA |
178 | |
179 | * pa.c: Include expr.h before c-tree.h. | |
180 | (remove_useless_addtr_insns): Use reverse_condition_maybe_unordered | |
181 | instead of reverse_condition. | |
182 | (print_operand): Correct predicates for GT, GE, LT and LE. Add | |
183 | predicates for LTGT, UNLE, UNLT, UNGE, UNGT, UNEQ, UNORDERED and | |
184 | ORDERED. | |
185 | (cmpib_comparison_operator): Add GEU and LTU codes. | |
186 | * pa.h (PREDICATE_CODES): Add codes for cmpib_comparison_operator. | |
187 | * pa.md (bltgt, bunle, bunlt, bunge, bungt, buneq, bunordered, | |
188 | bordered): New float conditional branch patterns. | |
189 | ||
2a841588 R |
190 | Wed Dec 6 21:03:41 2000 J"orn Rennecke <amylaar@redhat.com> |
191 | ||
192 | * final.c (final_addr_vec_align): Fix clipping to BIGGEST_ALIGNMENT. | |
193 | ||
c673abe4 | 194 | 2000-12-06 Sylvain Pion <Sylvain.Pion@sophia.inria.fr> |
f6bbde28 ZW |
195 | |
196 | * cpplex.c (skip_escaped_newlines): Don't warn for spaces between | |
197 | backslash and newline, when inside a comment. | |
c673abe4 | 198 | |
ee457005 JM |
199 | 2000-12-06 Joseph S. Myers <jsm28@cam.ac.uk> |
200 | ||
201 | * invoke.texi: Use @table @samp instead of @itemize @minus for | |
202 | table of language standards. Fix use of @pxref. From Zack | |
203 | Weinberg. Also exclude specs documentation from generated | |
204 | manpage, and create separate ENVIRONMENT section. | |
205 | ||
b614171e MM |
206 | 2000-12-06 Michael Matz <matzmich@cs.tu-berlin.de> |
207 | ||
208 | * gcse.c (compute_pre_data): Kill trapping expressions in | |
209 | destination blocks of abnormal edges. | |
210 | ||
f6cd7c62 RS |
211 | 2000-12-05 Richard Sandiford <r.sandiford@redhat.com> |
212 | ||
213 | * config/mn10300/mn10300.c (mn10300_print_reg_list): Added. | |
214 | (mn10300_get_live_callee_saved_regs): Likewise. | |
215 | (mn10300_gen_multiple_store): Likewise. | |
216 | (store_multiple_operation): Likewise. | |
217 | (expand_prologue): Use mn10300_gen_multiple_store(). | |
218 | * config/mn10300/mn10300-protos.h (mn10300_print_reg_list): Added. | |
219 | (mn10300_get_live_callee_saved_regs): Likewise. | |
220 | (mn10300_gen_multiple_store): Likewise. | |
221 | (store_multiple_operation): Likewise. | |
222 | * config/mn10300/mn10300.md (store_movm): Use a MATCH_PARALLEL | |
223 | tied to store_multiple_operation(). | |
224 | ||
dfb2c798 JL |
225 | Tue Dec 5 20:09:14 2000 Jeffrey A Law (law@cygnus.com) |
226 | ||
227 | * builtins.c (expand_builtin_setjmp_setup): Set | |
228 | current_function_has_nonlocal_label. | |
229 | ||
3cf3593f NB |
230 | 2000-12-05 Neil Booth <neilb@earthling.net> |
231 | ||
f6bbde28 ZW |
232 | * cppfiles.c (stack_include_file): Push zero-length buffers |
233 | in case of failure. Return void, as we don't fail any more. | |
234 | (read_include_file): Check for files we shouldn't re-read. | |
235 | Don't return an error code; errors are implied by marking the | |
236 | file NEVER_REREAD. | |
237 | (_cpp_execute_include): Move the recursion and in-macro checks | |
238 | here. Update for stack_include_file not failing. | |
239 | * cpplib.c (cpp_push_buffer): Always succeed, since | |
240 | _cpp_execute_include performs the recursion check. Tidy up. | |
241 | * cpplib.h (cpp_push_buffer): Update prototype. | |
3cf3593f | 242 | |
4c42e347 AO |
243 | 2000-12-05 Alexandre Oliva <aoliva@redhat.com> |
244 | ||
245 | * sched-vis.c (visual_tbl_line_length): New variable. | |
246 | (get_visual_tbl_length): Set it. | |
247 | (visualize_stall_cycles): Don't let stalls overrun | |
248 | visual_tbl_line_length. | |
249 | ||
06a3a6db GK |
250 | 2000-12-05 Geoffrey Keating <geoffk@redhat.com> |
251 | ||
252 | * global.c (global_conflicts): Allow for a REG_UNUSED note | |
253 | with a different mode to the REG set in the insn. | |
254 | ||
9c101f4a KG |
255 | 2000-12-05 Kaveh R. Ghazi <ghazi@teal.rutgers.edu> |
256 | ||
257 | * Makefile.in (fixinc.sh): Pass $WARN_CFLAGS into fixinc dir. | |
258 | ||
259 | * fixinc/Makefile.in (FIXINC_DEFS): Add $(WARN_CFLAGS). | |
260 | ||
1435059e RE |
261 | 2000-12-05 Bruce Korb <bkorb@gnu.org> |
262 | ||
263 | * fixinc/mkfixinc.sh(*-gnu*): activate fixinc for GNU/Hurd and | |
264 | GNU/Linux. | |
265 | ||
266 | 2000-12-05 Richard Earnshaw <rearnsha@arm.com> | |
267 | ||
268 | * fixinc/mkfixinc.sh: Run fixinc on netbsd. | |
269 | * fixinc/inclhack.def (machine/ansi.h): Run this rule on all files, | |
270 | to cope with aliased copies. | |
271 | * fixinc/fixincl.x: Regenerate. | |
272 | ||
f56887a7 BS |
273 | 2000-12-05 Bernd Schmidt <bernds@redhat.co.uk> |
274 | ||
275 | * sched-vis.c: Guard with #ifdef INSN_SCHEDULING. | |
276 | * sched-rgn.c: Likewise. | |
277 | (rgn_print_insn): Fix output. | |
278 | ||
4839149c BK |
279 | 2000-12-05 Bruce Korb <bkorb@gnu.org> |
280 | ||
281 | * fixinc/Makefile.*: make these more consistent | |
282 | * fixinc/mkfixincl.sh: enable BeOS fixincludes | |
283 | ||
eca93b05 RH |
284 | 2000-12-05 Richard Henderson <rth@redhat.com> |
285 | ||
286 | * stmt.c (warn_if_unused_value): Move side effects test earlier. | |
287 | ||
de9e5c23 AM |
288 | 2000-12-05 Alan Modra <alan@linuxcare.com.au> |
289 | ||
290 | * bb-reorder.c (reorder_basic_blocks): Do check for EH edges even | |
291 | when using sjlj. | |
292 | ||
39c39be9 RH |
293 | 2000-12-05 Richard Henderson <rth@redhat.com> |
294 | ||
295 | * flow.c (calculate_global_regs_live): Only force stack pointer | |
296 | live before reload. Force pic register live before reload. | |
297 | (insn_dead_p): Don't protect pic references from deletion. | |
298 | ||
9d86bffc JM |
299 | 2000-12-05 Joseph S. Myers <jsm28@cam.ac.uk> |
300 | ||
301 | * invoke.texi: Add support for using texi2pod.pl. Don't use | |
302 | @multitable. | |
303 | ||
c84df4c5 NC |
304 | 2000-12-04 Nick Clifton <nickc@redhat.com> |
305 | ||
a67ded0f NC |
306 | * config/arm/arm.c (arm_override_options): Test 'insn_flags' not |
307 | 'tune_flags' for XScale nature. | |
f6bbde28 | 308 | Remove spurious test of HARD_FLOAT and XScale flags. |
a67ded0f NC |
309 | |
310 | * config/arm/arm.md (umulsidi3adddi): Restore "=&r" register | |
311 | contraint, accidentally changed during XScale contribution. | |
312 | ||
c84df4c5 NC |
313 | * config/arm/lib1funcs.asm (interwork_call_via_, call_via_): Do |
314 | not create these functions if the target architecture does not | |
315 | support Thumb instructions. | |
316 | ||
c4f0b011 JM |
317 | 2000-12-04 Joseph S. Myers <jsm28@cam.ac.uk> |
318 | ||
319 | * ONEWS: New file with the current contents of NEWS up to EGCS | |
320 | 1.1. | |
321 | * NEWS: Generate automatically from online release notes from EGCS | |
322 | 1.0 to GCC 2.95.2, using ../contrib/gennews. | |
323 | ||
7682e7bc NB |
324 | 2000-12-04 Neil Booth <neilb@earthling.net> |
325 | ||
f6bbde28 ZW |
326 | * tradcif.y: Move lexptr to top of file. Add rule to handle |
327 | assertions in conditional expressions. | |
328 | * tradcpp.c (parse_answer): Assertions do not need to go to | |
329 | end of line in conditional directives. | |
330 | (parse_assertion): Get first character of identifiers correct. | |
331 | (test_assertion): New function. | |
332 | * tradcpp.h (test_assertion): New prototype. | |
7682e7bc | 333 | |
23a535c4 RB |
334 | 2000-12-01 Rodney Brown <RodneyBrown@mynd.com> |
335 | ||
336 | * config.gcc: Fix typo for UnixWare 7. | |
337 | ||
32fb1fb2 PE |
338 | 2000-12-03 Phil Edwards <pme@sources.redhat.com> |
339 | ||
340 | * invoke.texi: Replace `pedwarns' with clearer text. | |
341 | ||
e1e0c658 BK |
342 | 2000-12-04 Bruce Korb <bkorb@gnu.org> |
343 | ||
344 | * fixinc/Makefile.*(clean): don't clean autogenerated files. | |
345 | (mainainer-clean): clean autogenerated files | |
346 | ||
55e4756f DD |
347 | 2000-12-04 DJ Delorie <dj@redhat.com> |
348 | ||
349 | * md.texi: Add overview, clarify match_dup and define_expand. | |
350 | ||
7d492372 DD |
351 | 2000-12-04 DJ Delorie <dj@redhat.com> |
352 | ||
b3869591 | 353 | * print-tree.c (print_node): Target-specific builtins print |
7d492372 DD |
354 | numbers, not names. |
355 | ||
62c07905 JM |
356 | 2000-12-04 Jason Merrill <jason@redhat.com> |
357 | ||
358 | * stor-layout.c (int_mode_for_mode): Handle MODE_VECTOR_INT, | |
359 | MODE_VECTOR_FLOAT. | |
360 | ||
361 | * diagnostic.c (report_problematic_module): s/function/module/. | |
362 | ||
363 | * c-lex.h: Remove decl for check_newline. | |
364 | ||
ae50db03 GP |
365 | 2000-12-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
366 | ||
367 | * README.APOLLO: Remove obsolete file. | |
368 | ||
6951bc4a NB |
369 | 2000-12-04 Neil Booth <neilb@earthling.net> |
370 | ||
f6bbde28 | 371 | * cppinternals.texi: New file. |
6951bc4a | 372 | |
614c7d37 NB |
373 | 2000-12-04 Neil Booth <neilb@earthling.net> |
374 | ||
f6bbde28 ZW |
375 | * cppfiles.c (cpp_make_system_header): Take 2 booleans, |
376 | and operate on current buffer. | |
377 | (cpp_read_file): Rename _cpp_read_file. | |
378 | * cpplib.c (do_line, do_pragma_system_header): Update calls to | |
379 | cpp_make_system_header. | |
380 | * fix-header.c: Similarly. | |
381 | * cpphash.h (_cpp_read_file): Move from... | |
382 | * cpplib.h: ... here. | |
383 | * cppinit.c (do_includes, cpp_start_read): Update appropriately. | |
614c7d37 | 384 | |
611b1df4 KG |
385 | 2000-12-03 Kaveh R. Ghazi <ghazi@teal.rutgers.edu> |
386 | ||
387 | * builtins.c (expand_builtin_strspn, expand_builtin_strcspn): | |
388 | Handle another transformation. | |
389 | ||
d19fb8e3 NC |
390 | 2000-12-03 Nick Clifton <nickc@redhat.com> |
391 | ||
392 | * config.gcc: Add support for StrongARM targets. | |
393 | * config/arm/t-strongarm-elf: New file. | |
394 | * config/arm/t-strongarm-coff: New file. | |
395 | * config/arm/t-strongarm-pe: New file. | |
396 | * config/arm/strongarm-pe.h: New file. | |
397 | ||
398 | 2000-12-03 Nick Clifton <nickc@redhat.com> | |
399 | ||
400 | * NEWS: Mention XScale has been added. | |
401 | * config.gcc: Add support for XScale targets. | |
402 | * config/arm/arm.h: Add support for XScale processor. | |
403 | * config/arm/arm.c: Add support for XScale processor. | |
404 | * config/arm/arm.md: Add support for XScale processor. | |
405 | * config/arm/t-xscale-elf: New file. | |
406 | * config/arm/t-xscale-coff: New file. | |
407 | * config/arm/xscale-elf.h: New file. | |
408 | * config/arm/xscale-coff.h: New file. | |
409 | ||
250d07b6 RH |
410 | 2000-12-03 Richard Henderson <rth@redhat.com> |
411 | ||
412 | * bb-reorder.c (reorder_basic_blocks): Don't check for EH edges | |
413 | unless exception handling is enabled, and if not using sjlj. | |
414 | ||
415 | * builtins.c (expand_builtin_setjmp_setup): New. | |
416 | (expand_builtin_setjmp_receiver): New. | |
417 | (expand_builtin_setjmp): Split out _setup and _receiver functions. | |
418 | Move argument parsing in from ... | |
419 | (expand_builtin): ... here. | |
420 | * except.c (receive_exception_label): Branch around receiver | |
421 | unless new-style exceptions. Call expand_builtin_setjmp_receiver. | |
422 | (start_dynamic_handler): Call expand_builtin_setjmp_setup. | |
423 | * expr.h: Update builtin setjmp decls. | |
424 | ||
5c032c4d BK |
425 | 2000-12-03 Bruce Korb <bkorb@gcc.org> |
426 | ||
427 | * fixinc/mkfixinc.sh(build machine): Sometimes, there is no canonical | |
428 | build machine name. Default to the target. | |
429 | ||
3769600a LB |
430 | 2000-12-03 Laurynas Biveinis <lauras@softhome.net> |
431 | ||
432 | * Makefile.in: use $(build_canonical), not $(canonical_build). | |
433 | ||
b4ead7d4 BS |
434 | 2000-12-03 Bernd Schmidt <bernds@redhat.co.uk> |
435 | ||
436 | * Makefile.in (OBJS): Add sched-rgn.o. | |
437 | (sched-rgn.o): New rule. * haifa-sched.c (sched_verbose): No | |
438 | longer static. | |
439 | (INSN_PRIORITY, INSN_COST, INSN_UNIT, INSN_REG_WEIGHT, | |
440 | INSN_BLOCKAGE, UNIT_BITS, BLOCKAGE_MASK, ENCODE_BLOCKAGE, | |
441 | UNIT_BLOCKED, BLOCKAGE_RANGE, MIN_BLOCKAGE_COST, | |
442 | MAX_BLOCKAGE_COST): Move to sched-int.h. | |
443 | (MAX_RGN_BLOCKS, MAX_RGN_INSNS, INSN_REF_COUNT, FED_BY_SPEC_LOAD, | |
444 | IS_LOAD_INSN, struct haifa_edge, edge_table, NEXT_IN, NEXT_OUT, | |
445 | FROM_BLOCK, TO_BLOCK, nr_edges, in_edges, out_edges, IN_EDGES, | |
446 | OUT_EDGES, edgelst, struct region, nr_regions, rgn_table, | |
447 | rgn_bb_table, block_to_bb, containing_rgn, RGN_NR_BLOCKS, | |
448 | RGN_BLOCKS, BLOCK_TO_BB, BB_TO_BLOCK, CONTAINING_RGN, | |
449 | debug_regions, find_single_block_region, find_rgns, too_large, | |
450 | init_regions, current_nr_blocks, current_blocks, bitset, bitlst, | |
451 | bitlst_table_last, bitlst_table_size, bitlst_table, bitset_member, | |
452 | extract_bitlst, bblst, struct candidate, candidate_table, | |
453 | bblst_table, bblst_size, bblst_last, IS_VALID, IS_SPECULATIVE, | |
454 | SRC_PROB, target_bb, split_edges, compute_trg_info, | |
455 | debug_candidate, debug_candidates, bbset, bbset_size, dom, | |
456 | IS_RGN_ENTRY, IS_DOMINATED, prob, GET_SRC_PROB, edgeset, | |
457 | rgn_nr_edges, rgn_edges, edgeset_size, edgeset_bitsize, | |
458 | EDGE_TO_BIT, edge_to_bit, pot_split, ancestor_edges, | |
459 | compute_dom_prob_ps, ABS_VALUE, INSN_PROBABILITY, | |
460 | IS_SPECULATIVE_INSN, INSN_BB, MIN_DIFF_PRIORITY, MIN_PROBABILITY, | |
461 | MIN_PROB_DIFF, check_live_1, update_live_1, check_live, | |
462 | update_live, set_spec_fed, is_pfree, find_conditional_protection, | |
463 | is_conditionally_protected, may_trap_exp, haifa_classify_insn, | |
464 | is_prisky, is_exception_free, add_branch_dependences, | |
465 | propagate_deps, compute_block_backward_dependences, | |
466 | debug_dependencies, is_cfg_nonregular, build_control_flow, | |
467 | new_edge, bb_deps, BITSET_UNION, BITSET_INTER, BITSET_DIFFER, | |
468 | BITSET_INVERT, BITSET_ADD, BITSET_REMOVE, debug_regions, | |
469 | UPDATE_LOOP_RELATIONS, INSN_TRAP_CLASS, WORST_CLASS, IS_REACHABLE, | |
470 | CONST_BASED_ADDRESS_P, free_pending_lists, sched_target_n_insns, | |
471 | target_n_insns, sched_n_insns, init_ready_list, deaths_in_region, | |
472 | can_schedule_ready_p, new_ready, schedule_more_p, rgn_print_insn, | |
473 | rgn_rank, region_sched_info): Move to sched-rgn.c. | |
474 | (debug_reg_vector): Delete useless function. | |
475 | (get_bb_head_tail): Likewise. | |
476 | (insn_issue_delay, insn_cost, ready_add, get_block_head_tail, | |
477 | no_real_insns_p, rm_line_notes, save_line_notes, | |
478 | restore_line_notes, rm_redundant_line_notes, sched_init): No | |
479 | longer static. | |
480 | (rm_line_notes, save_line_notes, restore_line_notes, | |
481 | schedule_block, set_priorities): Change argument to be a real | |
482 | basic block, not one of haifa's "bb"s. All callers changed | |
483 | (rm_other_notes): Initialize note_list here, not in | |
484 | schedule_region. | |
485 | (sched_finish): New function, called from schedule_insn. * * | |
486 | sched-int.h (INSN_PRIORITY, INSN_COST, INSN_UNIT, INSN_REG_WEIGHT, | |
487 | INSN_BLOCKAGE, UNIT_BITS, BLOCKAGE_MASK, ENCODE_BLOCKAGE, | |
488 | UNIT_BLOCKED, BLOCKAGE_RANGE, MIN_BLOCKAGE_COST, | |
489 | MAX_BLOCKAGE_COST): Moved here from haifa-sched.c. | |
490 | (get_block_head_tail, no_real_insns_p, rm_line_notes, | |
491 | save_line_notes, restore_line_notes, rm_redundant_line_notes, | |
492 | rm_other_notes, insn_issue_delay, set_priorities, schedule_block, | |
493 | sched_init, sched_finish, ready_add, insn_cost): Declare. | |
494 | ||
f415f5a4 LB |
495 | 2000-12-03 Laurynas Biveinis <lauras@softhome.net> |
496 | Bruce Korb <bkorb@gnu.org> | |
497 | ||
f6bbde28 ZW |
498 | * Makefile.in: pass $(build_canonical) to mkfixinc.sh. |
499 | * fixinc/mkfixinc.sh: accept build system name as an argument. | |
500 | Use it for choosing the fix build method. Use the target for | |
f415f5a4 LB |
501 | selecting special fix rules. |
502 | ||
1708fd40 BS |
503 | 2000-12-03 Bernd Schmidt <bernds@redhat.co.uk> |
504 | ||
16f6ece6 BS |
505 | * Makefile.in (OBJS): Add sched-deps.o. |
506 | (sched-deps.o): New rule. | |
507 | * haifa-sched.c (struct deps, struct haifa_insn_data): Moved to | |
508 | sched-int.h. | |
509 | (INSN_DEPEND, INSN_LUID, CANT_MOVE, INSN_DEP_COUNT): Macros moved to | |
510 | sched-int.h. | |
511 | (SIZE_FOR_MODE): Delete unused macro. | |
512 | (reg_known_equiv_p, reg_known_value, reg_pending_clobbers, | |
513 | reg_pending_sets, reg_pending_sets_all, true_dependency_cache, | |
514 | anti_dependency_cache, output_dependency_cache, | |
515 | forward_dependency_cache): Variables moved to sched-deps.c. | |
516 | (add_dependence, remove_dependence, find_insn_list, | |
517 | find_insn_mem_list, add_insn_mem_dependence, flush_pending_lists, | |
518 | sched_analyze_insn, sched_analyze_1, sched_analyze_2, | |
519 | sched_analyze, group_leader, compute_forward_dependences, | |
520 | init_deps, free_deps, init_dependency_caches, free_dependency_caches): | |
521 | Functions moved to sched-deps.c. | |
522 | (schedule_region): Call init_deps_global and finish_deps_global | |
523 | instead of directly manipulating dependency data structures. | |
524 | * sched-deps.c: New file. | |
525 | (init_deps_global, finish_deps_global): New functions. | |
526 | * sched-int.h (struct haifa_insn_data, struct deps): Moved here from | |
527 | haifa-sched.c. | |
528 | (h_i_d): Declare. | |
529 | (INSN_DEPEND, INSN_LUID, CANT_MOVE, INSN_DEP_COUNT): Macros moved here | |
530 | from haifa-sched.c. | |
531 | ||
c62c2659 BS |
532 | * Makefile.in (OBJS): Add sched-vis.o. |
533 | (sched-vis.o): New rule. | |
534 | * haifa-sched.c (get_unit_last_insn): New function. | |
535 | (sched_dump, insn_unit, actual_hazard_this_instance): No longer | |
536 | static. | |
537 | (schedule_block): Call visualize_alloc and visualize_free. Delete | |
538 | spurious return statement. | |
539 | (init_target_units, insn_print_units, get_visual_tbl_length, | |
540 | init_block_visualization, print_block_visualization, safe_concat, | |
541 | visualize_scheduled_inns, visualize_no_unit, visualize_stall_cycles, | |
542 | print_exp, print_value, print_pattern, print_insn, target_units, | |
543 | MAX_VISUAL_LINES, INSN_LEN, n_visual_lines, visual_tbl, | |
544 | n_vis_no_unit, vis_no_unit): Move scheduling visualization | |
545 | functions/variables... | |
546 | * sched-vis.c: ...here. New file. | |
547 | (visualize_alloc, visualize_free): New functions. | |
548 | (visualize_scheduled_insns, visualize_stall_cycles, | |
549 | print_block_visualization): Lose basic block argument. All callers | |
550 | changed. | |
551 | (visualize_scheduled_insns): Use new function get_unit_last_insn. | |
16f6ece6 BS |
552 | * sched-int.h (current_sched_info, sched_dump): Declare. |
553 | (init_target_units, insn_print_units, init_block_visualization, | |
554 | print_block_visualization, visualize_scheduled_inns, | |
555 | visualize_no_unit, visualize_stall_cycles, visualize_alloc, | |
556 | visualize_free): Declare functions. | |
c62c2659 | 557 | |
1708fd40 BS |
558 | * sched-int.h: New file. |
559 | * Makefile.in (haifa-sched.o): Depend on it. | |
560 | * haifa-sched.c: Include it. | |
561 | (no_real_insns_p): New function. | |
562 | (current_sched_info): New static variable. | |
563 | (__inline, HAIFA_INLINE): Moved to sched-int.h. | |
564 | (get_block_head_tail): Minor cleanup. | |
565 | (init_ready_list, can_schedule_ready_p, new_ready, schedule_more_p, | |
566 | rgn_print_insn, rgn_rank): New functions, broken out of | |
567 | rank_for_schedule, schedule_insn and schedule_block, where they | |
568 | are now called through function pointers in current_sched_info. | |
569 | (queue_insn, schedule_insn, queue_to_ready, debug_ready_list, | |
570 | print_insn): To display uid and block number, call the print_insn | |
571 | function pointer in current_schedule_info. | |
572 | (region_sched_info): New static variable. | |
573 | (sched_target_n_insns, sched_n_insns, target_n_insns): New global | |
574 | variables, moved out of schedule_block. | |
575 | (schedule_block): Return void. All callers changed. | |
576 | Move some of the setup code into schedule_region. Get head/tail | |
577 | from current_sched_info, and update it when done. | |
578 | (schedule_region): Slightly rearranged, some code moved here from | |
579 | schedule_block. Call no_real_insns_p to avoid doing work for a | |
580 | block that consists only of notes and labels. | |
581 | (schedule_insns): Initialize current_sched_info. | |
582 | ||
8aaef6e0 NB |
583 | 2000-12-03 Neil Booth <neilb@earthling.net> |
584 | ||
f6bbde28 ZW |
585 | * cppmacro.c (funlike_invocation_p): Re-disable macros enabled |
586 | by contexts drops AFTER argument pre-expansion, so that they | |
587 | remain enabled during argument pre-expansion. | |
588 | (_cpp_pop_context): Unconditionally re-enable a macro when | |
589 | dropping a context level. | |
8aaef6e0 | 590 | |
94a3d3b9 MH |
591 | 2000-12-03 Manfred Hollstein <manfredh@redhat.com> |
592 | ||
593 | * arm/t-linux (MULTILIB_OPTIONS): Comment. | |
594 | (MULTILIB_DIRNAMES): Likewise. | |
595 | (EXTRA_MULTILIB_PARTS): Likewise. | |
596 | (LIBGCC): Likewise. | |
597 | (INSTALL_LIBGCC): Likewise. | |
598 | ||
d118937d KG |
599 | 2000-12-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
600 | ||
601 | * builtins.c (expand_builtin_strcat, expand_builtin_strncat, | |
602 | expand_builtin_strspn, expand_builtin_strcspn): New functions. | |
603 | (expand_builtin): Handle BUILT_IN_STRCAT, BUILT_IN_STRNCAT, | |
604 | BUILT_IN_STRSPN and BUILT_IN_STRCSPN. | |
605 | ||
606 | * builtins.def (BUILT_IN_STRCAT, BUILT_IN_STRNCAT, | |
607 | BUILT_IN_STRSPN, BUILT_IN_STRCSPN): New entries. | |
608 | ||
609 | * c-common.c (c_common_nodes_and_builtins): Declare builtin | |
610 | strcat, strncat, strspn and strcspn. | |
f6bbde28 | 611 | (string_ftype_string_cstring): Renamed from `string_ftype_ptr_ptr'. |
d118937d KG |
612 | |
613 | * extend.texi (strcat, strcspn, strncat, strspn): Document new | |
614 | builtins. | |
615 | ||
ca8034a0 KG |
616 | 2000-12-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
617 | ||
618 | * builtins.c (expand_builtin_strcmp): Use const*_rtx when | |
619 | expanding strcmp at compile-time. Add another transformation. | |
620 | (expand_builtin_strncmp): Add more transformations. Call | |
621 | expand_builtin_memcmp, not expand_builtin_strcmp, under | |
622 | appropriate conditions if HAVE_cmpstrsi. | |
623 | ||
6c873122 DE |
624 | 2000-12-02 David Edelsohn <edelsohn@gnu.org> |
625 | ||
626 | * rs6000.md (anddi3_internal[23]): Prefer rldic? over andis | |
627 | instruction. | |
628 | (cr logic): Really make operands sequential. | |
629 | ||
690c96c8 GK |
630 | 2000-12-02 Geoffrey Keating <geoffk@redhat.com> |
631 | ||
632 | * c-common.c (combine_strings): When the ISO C standard specifies | |
633 | the maximum length of a string, it doesn't include the trailing | |
634 | zero byte. | |
b43db0b3 GK |
635 | |
636 | * cpplib.c (do_ifdef): Add check_eol() call. | |
637 | (do_ifndef): Likewise. | |
638 | ||
283da1d3 | 639 | 2000-12-02 Daniel Berlin <dberlin@redhat.com> |
f6bbde28 | 640 | Bruce Korb <bkorb@gnu.org> |
283da1d3 | 641 | |
f6bbde28 ZW |
642 | * fixinc/*: global substitute /__MSDOS__/SEPARATE_FIX_PROC/ |
643 | * fixinc/mkfixinc.sh: prepare to use Makefile.BEOS for *-*-beos* | |
644 | * fixinc/Makefile.DOS: define SEPARATE_FIX_PROC for build | |
645 | * fixinc/fixfix.c(wrap_fix): avoid wrapping files that | |
646 | use the "__need_" hackery. It breaks them. | |
647 | * fixinc/fixincl.c(process - SEPARATE_FIX_PROC): | |
648 | Sometimes on DOS and BeOS the temp output file cannot be opened. | |
649 | Skip the file noisily. Ought to be fixed instead. | |
283da1d3 | 650 | |
6864a6c6 BK |
651 | 2000-12-02 Bruce Korb <bkorb@gnu.org> |
652 | ||
653 | From: 2000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
654 | ||
655 | * fixfixes.c (emit_gnu_type, format_write): Prototype. | |
656 | (format_write, char_macro_use_fix, char_macro_def_fix): Use gcc's | |
657 | custom uppercase ctype macros. | |
658 | * fixincl.c (do_version): Make static and add ATTRIBUTE_NORETURN. | |
659 | Use gcc's custom uppercase ctype macros. | |
660 | (main): Prototype. | |
661 | (machine_matches): Add static prototype and constify variable. | |
662 | (create_file, test_test, egrep_test): Add static prototype. | |
663 | (quoted_file_exists): Likewise, and constify parameters. | |
664 | (extract_quoted_files, internal_fix, start_fixer, fix_applies, | |
665 | write_replacement, test_for_changes): Add static prototype. | |
666 | (write_replacement, test_for_changes): Delete excess argument to | |
667 | `create_file'. | |
668 | * fixtests.c (test): Make static. | |
669 | * server.c (load_data, sig_handler, server_setup, find_shell): Add | |
670 | static prototype. | |
671 | (sig_handler): Mark parameter with ATTRIBUTE_UNUSED. | |
672 | ||
d7156fee BK |
673 | 2000-12-02 Bruce Korb <bkorb@gnu.org> |
674 | ||
675 | * fixnc/mkfixinc.sh(msdosdjgpp): remove from fixincludes exception list | |
676 | (per Laurynas Biveinis <lauras@softhome.net>) | |
677 | ||
f1008e52 RE |
678 | 2000-12-02 Richard Earnshaw <rearnsha@arm.com> |
679 | ||
680 | * arm.h (ARM_REGNO_OK_FOR_BASE_P, THUMB_REGNO_MODE_OK_FOR_BASE_P): New | |
681 | macros. | |
682 | (REGNO_MODE_OK_FOR_BASE_P): Define in terms of above. | |
683 | (REGNO_OK_FOR_FOR_BASE_P): Delete. | |
684 | (ARM_REG_OK_FOR_BASE_P, THUMB_REG_MODE_OK_FOR_BASE_P): New macros for | |
685 | both strict and non-strict uses. | |
686 | (REG_MODE_OK_FOR_BASE_P): Define in terms of above. | |
687 | (ARM_REG_OK_FOR_INDEX_P, THUMB_REG_OK_FOR_INDEX_P): New macros. | |
688 | (REG_OK_FOR_INDEX_P): Define in terms of above. | |
689 | (REG_OK_FOR_BASE_P): Delete. | |
690 | (REG_OK_FOR_PRE_POST_P): Delete. | |
691 | (ARM_BASE_REGISTER_RTX_P): Renamed from BASE_REGISTER_RTX_P. | |
692 | (ARM_INDEX_REGISTER_RTX_P): Renamed from INDEX_REGISTER_RTX_P. | |
693 | (ARM_GO_IF_LEGITIMATE_INDEX): Renamed from GO_IF_LEGITIMATE_INDEX. | |
694 | (THUMB_LEGITIMATE_OFFSET): Renamed from LEGITIMATE_OFFSET. | |
695 | (ARM_GO_IF_LEGITIMATE_ADDRESS): Adjust for name changes. Use ARM | |
696 | specific variants rather than general ones. Use ARM_REG_OK_FOR_BASE_P | |
697 | in pre/post increment cases. | |
698 | (THUMB_GO_IF_LEGITIMATE_ADDRESS): Similarly for Thumb. | |
699 | (ARM_LEGITIMIZE_ADDRESS): Similarly. | |
700 | (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Similarly. | |
701 | * arm.c (legitimate_pic_address): Similarly. | |
702 | ||
4eb191f3 NB |
703 | 2000-12-02 Neil Booth <neilb@earthling.net> |
704 | ||
f6bbde28 ZW |
705 | * tradcpp.c (struct answer, parse_assertion, parse_answer, |
706 | canonicalize_text, find_answer): New. | |
707 | (do_assert, do_unassert): Provide appropriate function bodies. | |
708 | (union hashval): New member answers. | |
4eb191f3 | 709 | |
84e6f1ba MM |
710 | 2000-11-23 Marek Michalkiewicz <marekm@linux.org.pl> |
711 | ||
712 | * config/avr/avr.md: Document UNSPEC usage. | |
713 | (*tablejump_rjmp, *tablejump_lib, *tablejump_enh, *tablejump): | |
714 | Make operand 0 input only, clobber it. Use UNSPEC, not a bogus | |
715 | MEM for program memory word reference. Do not add the label to | |
716 | the table index in each of the asm output templates, instead ... | |
717 | (casesi): ... do it in RTL. Adjust to match the above change. | |
718 | ||
a88f02e7 BS |
719 | 2000-12-02 Bernd Schmidt <bernds@redhat.co.uk> |
720 | ||
0884b60c BS |
721 | * c-common.c (PTRDIFF_TYPE): Provide default here, ... |
722 | * c-decl.c: ... not here. | |
723 | ||
a88f02e7 BS |
724 | * haifa-sched.c (sched_dump): Renamed from dump. All users changed. |
725 | (old_max_uid): New variable. | |
726 | (compute_forward_dependences): Renamed from | |
727 | compute_block_forward_dependences; changed to accept block head and | |
728 | tail instead of block number. Caller changed. | |
729 | (free_deps, init_dependency_caches, free_dependency_caches, | |
730 | init_regions, sched_init): New functions, split out from | |
731 | schedule_insns and compute_block_backward_dependences. | |
732 | ||
fef1de5d NB |
733 | 2000-12-02 Neil Booth <neilb@earthling.net> |
734 | ||
f6bbde28 | 735 | * cppexp.c (parse_number): Update diagnostic test. |
fef1de5d | 736 | |
88edcc06 BS |
737 | 2000-12-02 Bernd Schmidt <bernds@redhat.co.uk> |
738 | ||
739 | * reload1.c (free_for_value_p): New function, frontend to | |
740 | reload_reg_free_for_value_p. All callers of the latter now call | |
741 | this function with an additional mode argument. | |
742 | ||
a325caa0 GP |
743 | 2000-12-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
744 | ||
745 | * install.texi (Configurations): Remove obsolete documentation for | |
746 | hppa*-*-*. | |
747 | ||
3808a17d GP |
748 | 2000-12-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
749 | ||
750 | * install.texi (Installation): Remove obsolete description for | |
751 | libstdc++ which is now an integral part of GCC. | |
f6bbde28 | 752 | |
27646dba JB |
753 | 2000-12-01 Jim Blandy <jimb@redhat.com> |
754 | ||
755 | * dbxout.c (dbxout_parms): Correctly describe parameters passed by | |
756 | invisible reference in registers, but then spilled to the stack. | |
757 | Remove code to emit a second stab for such parameters; it attempts | |
758 | to describe the value's location by introducing a synthetic C++ | |
759 | `reference' type, and then saying the stack slot has that | |
760 | reference type. This loses type information (breaking GDB's | |
761 | `ptype' command, among other things) just to describe a location | |
762 | which stabs can represent correctly in other ways. | |
763 | ||
cb51ecd2 AO |
764 | 2000-12-01 Alexandre Oliva <aoliva@redhat.com> |
765 | ||
08106825 AO |
766 | * final.c (output_addr_const) <PLUS>: Don't assume at least one |
767 | operand is a CONST_INT. | |
768 | ||
cb51ecd2 AO |
769 | * config/sh/sh.c (reg_class_from_letter): Assign `k' to SIBCALL_REGS. |
770 | (machine_dependent_reorg): Split all insns. | |
771 | * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Compute | |
772 | reg_class_contents[SIBCALL_REGS]. | |
773 | (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add SIBCALL_REGS. | |
774 | * config/sh/sh.md (calli_pcrel, call_pcrel, call_valuei_pcrel, | |
775 | call_value_pcrel, call, call_value, sibcall): Match even when | |
776 | not optimizing. | |
777 | (sibcalli_pcrel, sibcall_pcrel): Likewise. Use constraint `k' | |
778 | for call address. | |
779 | (sibcalli): Likewise. | |
780 | ||
4d808927 JM |
781 | 2000-12-01 Joseph S. Myers <jsm28@cam.ac.uk> |
782 | ||
783 | * c-common.c (warn_format, warn_format_y2k, | |
784 | warn_format_extra_args, warn_format_nonliteral): Define. | |
785 | (check_format_info): Check warn_format_nonliteral and | |
786 | warn_format_extra_args. | |
787 | (check_format_info_main): Check warn_format_y2k. | |
788 | (set_Wformat): New function. | |
789 | * c-common.h (warn_format_y2k, warn_format_extra_args, | |
790 | warn_format_nonliteral, set_Wformat): Declare. | |
791 | * c-decl.c (warn_format): Remove definition. | |
792 | (c_decode_option): Handle -Wformat-nonliteral, | |
793 | -Wno-format-extra-args and -Wno-format-y2k, and negated versions. | |
794 | Use set_Wformat. | |
795 | * invoke.texi: Document these new options and -Wformat=2. | |
796 | * toplev.c (documented_lang_options): Add these new options. | |
797 | ||
e78f4a97 JM |
798 | 2000-12-01 Joseph S. Myers <jsm28@cam.ac.uk> |
799 | ||
800 | * builtins.def (BUILT_IN_IMAXABS): Add. | |
801 | * builtins.c (expand_builtin): Also abort on BUILT_IN_IMAXABS. | |
802 | * c-common.c (c_common_nodes_and_builtins): Create builtin | |
803 | functions __builtin_imaxabs, and plain imaxabs unless | |
804 | flag_no_nonansi_builtin outside C99 mode. | |
805 | (expand_tree_builtin): Handle BUILT_IN_IMAXABS. | |
806 | * extend.texi: Document builtin imaxabs. | |
807 | ||
5fd8e536 JM |
808 | 2000-12-01 Joseph S. Myers <jsm28@cam.ac.uk> |
809 | ||
810 | * c-common.c: Include "defaults.h". | |
811 | (WINT_TYPE, INTMAX_TYPE, UINTMAX_TYPE): Define. | |
812 | (c_common_nodes_and_builtins): Create string_type_node, | |
813 | const_string_type_node, wint_type_node, intmax_type_node, | |
814 | uintmax_type_node, default_function_type, ptrdiff_type_node and | |
815 | unsigned_ptrdiff_type_node. | |
816 | * c-common.h (identifier_global_value): Declare. | |
817 | * c-decl.c (WINT_TYPE, INTMAX_TYPE, UINTMAX_TYPE): Don't define. | |
818 | (init_decl_processing): Don't create string_type_node, | |
819 | const_string_type_node, wint_type_node, intmax_type_node, | |
820 | uintmax_type_node, default_function_type, ptrdiff_type_node and | |
821 | unsigned_ptrdiff_type_node. | |
822 | (identifier_global_value): New function. | |
823 | ||
8d9e9a08 NB |
824 | 2000-12-01 Neil Booth <neilb@earthling.net> |
825 | ||
f6bbde28 ZW |
826 | * cppinit.c (initialize): Forgotten prototype. |
827 | * cpplex.c (_cpp_lex_token): Loop until not skipping. | |
828 | Always clear PREV_WHITE upon meeting a new line. | |
829 | * cpplib.c (end_directive): Set pfile->skipping after | |
830 | skip_rest_of_line. | |
831 | * cpplib.h (cpp_reader): Remove macro_pos. | |
832 | * cppmacro.c (cpp_get_line): Don't do anything special inside | |
833 | macros. | |
834 | (parse_arg): Add PREV_WHITE if a token appears after new lines. | |
835 | (funlike_invocation_p): Save and restore the output position | |
836 | over a successful check for a '('. | |
837 | (enter_macro_context): Delete uses of macro_pos. | |
838 | (cpp_get_token): Don't use pfile->skipping. | |
8d9e9a08 | 839 | |
c4765d18 PE |
840 | 2000-12-01 Phil Edwards <pme@sources.redhat.com> |
841 | ||
842 | * diagnostic.c: Fix typos in comments. | |
843 | * diagnostic.h: Likewise. | |
844 | ||
815d683e PE |
845 | 2000-11-30 Phil Edwards <pme@sources.redhat.com> |
846 | ||
847 | * rtl.texi (Machine Modes): Document BImode and OImode. | |
848 | ||
ae24178a JM |
849 | 2000-12-01 Joseph S. Myers <jsm28@cam.ac.uk> |
850 | ||
851 | * gcc.c (default_compilers): Add suffixes .mi, .cp, .ii, .FOR and | |
852 | .FPP. | |
853 | ||
c7b82833 JM |
854 | 2000-12-01 Joseph S. Myers <jsm28@cam.ac.uk> |
855 | ||
856 | * c-decl.c (grokdeclarator): If pedantic, warn about arrays with | |
857 | incomplete element type. | |
858 | (grokparms): Before checking for incomplete parameter type, check | |
859 | the type isn't error_mark_node. | |
860 | ||
ab937357 JJ |
861 | 2000-12-01 Jakub Jelinek <jakub@redhat.com> |
862 | ||
863 | * builtins.c (target_char_cast): New function. | |
864 | (expand_builtin_strchr): Use it. | |
865 | (expand_builtin_strrchr): Use it. | |
866 | (builtin_memset_read_str): New function. | |
867 | (expand_builtin_memset): Use target_char_cast. | |
868 | Try to optimize memset with second argument non-zero using | |
869 | store_by_pieces. | |
870 | ||
3a69a7d5 MM |
871 | 2000-11-30 Marek Michalkiewicz <marekm@linux.org.pl> |
872 | ||
873 | * install.texi (avr): Replace incomplete list of supported MCU | |
874 | types with a link to the current one ... | |
875 | * invoke.texi (AVR Options): ... here. Update -mmcu= to list | |
876 | all supported MCU types. Document -minit-stack= default. | |
877 | Document new options -mno-tablejump, -mtiny-stack. | |
878 | * md.texi (AVR family): Fix typo in 'w' constraint letter | |
879 | description. Document 'q'. Update 'O'. | |
880 | ||
53895717 BS |
881 | 2000-12-01 Bernd Schmidt <bernds@redhat.co.uk> |
882 | ||
883 | * combine.c (cant_combine_insn_p): Only disallow insns involving | |
884 | hard regs if they are reg-reg moves. | |
885 | (try_combine, can_combine_p, combinable_i3pat): Delete old | |
886 | SMALL_REGISTER_CLASSES tests. | |
887 | ||
f00018dd AO |
888 | 2000-12-01 Alexandre Oliva <aoliva@redhat.com> |
889 | ||
3d422cb1 AO |
890 | * config/sh/sh.c (shiftcosts): Don't get INTVAL before testing |
891 | whether X is a CONST_INT. | |
892 | (addsubcosts): Likewise. | |
893 | ||
f00018dd AO |
894 | * config/sh/sh.h (OUTPUT_ADDR_CONST_EXTRA): Use INTVAL instead of |
895 | mis-used XINT. | |
896 | (ARG_POINTER_REGNUM): Set to AP_REG. | |
897 | ||
95ac07b0 AO |
898 | 2000-11-30 Alexandre Oliva <aoliva@redhat.com> |
899 | ||
ecfdeaeb AO |
900 | * config/sh/sh.md (fpu_switch0, fpu_switch1, movpsi, fpu_switch, |
901 | splits): Only match on TARGET_SH4. | |
902 | ||
95ac07b0 AO |
903 | * combine.c (try_combine): Disregard USEs when updating LOG_LINKS |
904 | of subsequent insns. | |
905 | ||
f2720858 RH |
906 | 2000-11-30 Richard Henderson <rth@redhat.com> |
907 | ||
908 | * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Disable. | |
909 | * config/alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise. | |
910 | ||
ef7d91cd RH |
911 | 2000-11-30 Richard Henderson <rth@redhat.com> |
912 | ||
913 | * config/alpha/elf.h (ASM_OUTPUT_SECTION_NAME): Copy elfos.h defn. | |
914 | (DO_SELECT_SECTION): New. | |
915 | (SELECT_SECTION): Use it. | |
916 | (UNIQUE_SECTION_P): New. | |
917 | (UNIQUE_SECTION): New. | |
918 | ||
29ced803 AO |
919 | 2000-11-30 Alexandre Oliva <aoliva@redhat.com> |
920 | ||
921 | * c-common.c (status_warning) [! ANSI_PROTOTYPES]: Load status | |
922 | from va_list before using it. | |
923 | ||
25e4379f MM |
924 | 2000-11-30 Michael Matz <matzmich@cs.tu-berlin.de> |
925 | ||
926 | * flow.c (make_edge): Early out, if no flags to set. | |
927 | (calculate_global_regs_live): Clear out garbage only when necessary. | |
928 | ||
929 | * simplify-rtx.c (varray_type used_regs): New. | |
930 | (clear_table): Use it to only clear necessary items. | |
931 | (cselib_lookup, cselib_record_set): Remember newly set items. | |
932 | (cselib_update_varray_sizes, cselib_init): Initialize and grow | |
933 | used_regs. | |
934 | ||
935 | * local-alloc.c (update_equiv_regs): New local `cleared_regs'. | |
936 | Move clearing of dead regs out of insn-loop. | |
937 | ||
41c39533 RH |
938 | 2000-11-30 Richard Henderson <rth@redhat.com> |
939 | ||
940 | * calls.c (expand_call): Emit queued insns before creating | |
941 | the tail recursion sequence. | |
942 | ||
039df8c7 | 943 | 2000-11-30 J. David Anglin <dave.anglin@nrc.ca> |
f6bbde28 | 944 | Bruce Korb <bkorb@gnu.org> |
039df8c7 DA |
945 | |
946 | * fixinc/inclhack.def(): prevent dual double definition protection | |
947 | * fixinc/fixincl.x: regenerate | |
948 | ||
42cfed37 LR |
949 | 2000-11-29 Loren J. Rittle <ljrittle@acm.org> |
950 | ||
f6bbde28 ZW |
951 | * fixinc/Makefile.in (fixincl.x): Explicitly state the |
952 | location of the generated file. | |
42cfed37 | 953 | |
a6bb9efa GP |
954 | 2000-11-30 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
955 | ||
956 | * README.FRESCO: Remove obsolete file. | |
957 | ||
255b8a49 JL |
958 | 2000-11-30 Mark Kettenis <kettenis@gnu.org> |
959 | ||
255b8a49 JL |
960 | * config/t-gnu (LIBGCC1, CROSS_LIBGCC1, CRTSTUFF_T_CFLAGS, |
961 | TARGET_LIBGCC2_CFLAGS): Remove. We now use the settings from | |
962 | config/t-linux for the Hurd. | |
963 | ||
964 | 2000-11-30 Stephane Carrez <Stephane.Carrez@worldnet.fr> | |
75273d08 SC |
965 | |
966 | * config/mn10200/udivmod.c, config/mn10200/divmod.c, | |
967 | config/mn10200/udivmodsi4.c: Moved from here. | |
968 | * config/udivmod.c, config/divmod.c, config/udivmodsi4.c: To here. | |
969 | * config/mn10200/t-mn10200 (LIB2FUNCS_EXTRA): Use the generic | |
970 | C division functions. | |
971 | * config/m68hc11/t-m68hc11-gas (LIB2FUNCS_EXTRA): Likewise. | |
972 | ||
15c2086a JL |
973 | Thu Nov 30 01:12:52 2000 Jeffrey A Law (law@cygnus.com) |
974 | ||
975 | * pa.md (conditional moves): Avoid holes in operand list. | |
976 | (mod, umod patterns): Similarly. | |
977 | (variable extract/shift patterns): Similarly. | |
978 | ||
9105f671 NB |
979 | 2000-11-30 Neil Booth <neilb@earthling.net> |
980 | ||
f6bbde28 ZW |
981 | * objc/objc-act.c (lang_init, finish_file, maybe_objc_comptypes, |
982 | maybe_objc_check_decl, build_objc_string_object, | |
983 | objc_declare_alias, objc_declare_class, build_message_expr, | |
984 | build_protocol_expr, build_selector_expr, build_encode_expr, | |
985 | get_class_ivars, start_class, start_protocol): Remove | |
986 | redundant code, assuming doing_objc_thang is true. | |
9105f671 | 987 | |
31a7659b JDA |
988 | 2000-11-29 John David Anglin <dave@hiauly1.hia.nrc.ca> |
989 | ||
1f80ea95 JDA |
990 | * pa.c (restore_unscaled_index_insn_codes): Delete procedure. |
991 | (record_unscaled_index_insn_codes): Likewise. | |
992 | (unscaled_index_insn_codes): Delete. | |
993 | (max_unscaled_index_insn_codes_uid): Delete. | |
994 | (output_function_prologue, output_function_epilogue, pa_reorg): | |
995 | Don't use the unscaled index insn hack. | |
996 | ||
d16ca6a6 JDA |
997 | * pa.md: Remove hack from all index insns to reverse the operand |
998 | order of frame and stack pointer references incorrectly created | |
999 | in the reload pass. | |
1000 | ||
3502dc9c JDA |
1001 | * function.h (emit_status): Delete member regno_pointer_flag and |
1002 | rename regno_pointer_flag_length to regno_pointer_align_length. | |
1003 | Delete define for REGNO_POINTER_FLAG. | |
1004 | * integrate.h (inline_remap): Delete member regno_pointer_flag. | |
1005 | Add member x_regno_reg_rtx. | |
1006 | * rtl.h (rtx_def): Use frame_related bit to indicate register is | |
1007 | a pointer in REG expressions. Define REG_POINTER macro. | |
1008 | * alias.c (find_base_value, find_base_term): Use REG_POINTER | |
1009 | instead of REGNO_POINTER_FLAG. | |
1010 | * combine.c (nonzero_bits, num_sign_bit_copies): Likewise. | |
1011 | * emit-rtl.c (gen_reg_rtx): Use regno_pointer_align_length instead | |
1012 | of regno_pointer_flag_length. Remove code which refers to | |
1013 | regno_pointer_flag. | |
1014 | (mark_reg_pointer): Use REG_POINTER. | |
1015 | (free_emit_status): Remove code which refers to regno_pointer_flag. | |
1016 | (init_emit, mark_emit_status): Likewise. | |
1017 | * flow.c (dump_flow_info): Likewise. | |
1018 | * function.c (preserve_temp_slots): Likewise. | |
1019 | * integrate.c (expand_inline_function, copy_rtx_and_substitute): | |
1020 | Use x_regno_reg_rtx instead of regno_pointer_flag for function | |
1021 | pointer determination in map. | |
1022 | * loop.c (strength_reduce, maybe_eliminate_biv_1): Use REG_POINTER. | |
1023 | * predict.c (estimate_probability): Likewise. | |
1024 | * regclass.c (record_address_regs, reg_scan_mark_refs): Likewise. | |
1025 | * unroll.c (unroll_loop): Use x_regno_reg_rtx instead of | |
1026 | regno_pointer_flag for function pointer determination in map. | |
1027 | * convex.h (RTX_COSTS): Don't test regno_pointer_flag and use | |
1028 | REG_POINTER. | |
1029 | * pa.c (hppa_legitimize_address, emit_move_sequence, basereg_operand): | |
1030 | Use REG_POINTER. | |
1031 | (restore_unscaled_index_insn_codes): Revise comment. | |
1032 | ||
31a7659b JDA |
1033 | * expr.c (do_compare_and_jump): Add missing TYPE_MODE in statement. |
1034 | ||
9f1bbeaa JM |
1035 | 2000-11-30 Joseph S. Myers <jsm28@cam.ac.uk> |
1036 | ||
1037 | * extend.texi: Update documentation for attributes. | |
1038 | ||
74e5aa4b DB |
1039 | 2000-11-29 David O'Brien <obrien@FreeBSD.org> |
1040 | ||
1041 | * config/alpha/elf.h (IDENT_ASM_OP): Protect the #define. | |
1042 | (ASM_DECLARE_OBJECT_NAME): Same. | |
1043 | (ASM_FILE_END): Same. | |
1044 | (ASM_FINISH_DECLARE_OBJECT): Same. | |
1045 | (ASM_IDENTIFY_GCC): Same. | |
1046 | (ASM_IDENTIFY_LANGUAGE): Same. | |
1047 | (ASM_OUTPUT_CONSTRUCTOR): Same. | |
1048 | (ASM_OUTPUT_DEF): Same. | |
1049 | (ASM_OUTPUT_DESTRUCTOR): Same. | |
1050 | (ASM_OUTPUT_EXTERNAL_LIBCALL): Same. | |
1051 | (ASM_OUTPUT_SECTION_NAME): Same. | |
1052 | (ASM_WEAKEN_LABEL): Same. | |
1053 | (BSS_SECTION_ASM_OP): Same. | |
1054 | (COMMON_ASM_OP): Same. | |
1055 | (CONST_SECTION_ASM_OP): Same. | |
1056 | (CONST_SECTION_FUNCTION): Same. | |
1057 | (CTORS_SECTION_ASM_OP): Same. | |
1058 | (DTORS_SECTION_ASM_OP): Same. | |
1059 | (ESCAPES): Same. | |
1060 | (FINI_SECTION_ASM_OP): Same. | |
1061 | (IDENT_ASM_OP): Same. | |
1062 | (IDENT_ASM_OP): Same. | |
1063 | (INIT_SECTION_ASM_OP): Same. | |
1064 | (INT_ASM_OP): Same. | |
1065 | (MAX_OFILE_ALIGNMENT): Same. | |
1066 | (SBSS_SECTION_ASM_OP): Same. | |
1067 | (SDATA_SECTION_ASM_OP): Same. | |
1068 | (SECTION_FUNCTION_TEMPLATE): Same. | |
1069 | (SELECT_SECTION): Same. | |
1070 | (SE_CONST_SECTION): Same. | |
1071 | (SIZE_ASM_OP): Same. | |
1072 | (SKIP_ASM_OP): Same. | |
1073 | (STRING_ASM_OP): Same. | |
1074 | (STRING_LIMIT): Same. | |
1075 | (TYPE_ASM_OP): Same. | |
1076 | (TYPE_OPERAND_FMT): Same. | |
1077 | ||
0eaed3c6 NB |
1078 | 2000-11-29 Neil Booth <neilb@earthling.net> |
1079 | ||
f6bbde28 ZW |
1080 | * c-decl.c (c_decode_option): Don't handle -lang-objc. |
1081 | * objc/lang-options.h: Remove -lang-objc. | |
1082 | * objc/lang-specs.h: Don't pass -lang-objc to cc1obj. | |
1083 | * objc/objc-act.c (lang_init_options): Set c_language. | |
0eaed3c6 | 1084 | |
98166639 JJ |
1085 | 2000-11-29 Jakub Jelinek <jakub@redhat.com> |
1086 | ||
1087 | * expr.c (can_store_by_pieces): Reinitialize max_size for reverse | |
1088 | tests. | |
1089 | ||
f3b55474 NB |
1090 | 2000-11-29 Neil Booth <neilb@earthling.net> |
1091 | ||
f6bbde28 | 1092 | * c-pragma.c (init_pragma): Update for parse_in type change. |
f3b55474 | 1093 | |
b86ecfa9 LB |
1094 | 2000-11-29 Laurynas Biveinis <lauras@softhome.net> |
1095 | ||
1096 | * configure.in: recognize DOS-style absolute paths. | |
1097 | ||
57814e5e JJ |
1098 | 2000-11-29 Jakub Jelinek <jakub@redhat.com> |
1099 | ||
1100 | * expr.h (store_by_pieces): Add prototype. | |
1101 | (can_store_by_pieces): Likewise. | |
1102 | * expr.c (struct store_by_pieces): Renamed from clear_by_pieces. | |
1103 | (can_store_by_pieces): New. | |
1104 | (store_by_pieces): New. | |
1105 | (clear_by_pieces): New. | |
1106 | (clear_by_pieces_1): New. | |
1107 | (store_by_pieces_1): Renamed from clear_by_pieces, handle storing | |
1108 | arbitrary compiler generated constants into memory block. | |
1109 | (store_by_pieces_2): Renamed from clear_by_pieces_1, likewise. | |
1110 | * builtins.c (c_readstr): New. | |
1111 | (builtin_memcpy_read_str): New. | |
1112 | (expand_builtin_memcpy): If src is string constant and | |
1113 | emit_block_move would move it by pieces, compute integer constants | |
1114 | from the string and store it into memory block instead. | |
1115 | (builtin_strncpy_read_str): New. | |
1116 | (expand_builtin_strncpy): If N is not constant zero and c_strlen does | |
1117 | not return INTEGER_CST, don't optimize. | |
1118 | If N is larger than strlen(src) + 1, try to copy the string | |
1119 | including padding with store_by_pieces. | |
1120 | (expand_builtin_strcmp): If both arguments have side effects, don't | |
1121 | optimize. | |
1122 | (expand_builtin_fputs): If STR has side effects, don't optimize. | |
1123 | ||
76b7dad3 RE |
1124 | 2000-11-29 Richard Earnshaw <rearnsha@arm.com> |
1125 | ||
1126 | * arm.md (sibcall, sibcall_value, sibcall_insn, sibcall_value_insn): | |
1127 | Add use of link register. | |
1128 | ||
b722c82c JM |
1129 | 2000-11-29 Joseph S. Myers <jsm28@cam.ac.uk> |
1130 | ||
1131 | * extend.texi: Update documentation for default format attributes. | |
1132 | ||
01fa3508 JL |
1133 | Tue Nov 28 21:56:45 2000 Jeffrey A Law (law@cygnus.com) |
1134 | ||
1135 | * pa/pa-64.h (ASM_OUTPUT_SECTION_NAME): Use a hash table, not | |
1136 | a list, to keep track of the sections. | |
1137 | ||
4bec9f7d NC |
1138 | 2000-11-28 Nick Clifton <nickc@redhat.com> |
1139 | ||
1140 | * config/arm/arm.md (pic_load_addr): Split into | |
1141 | pic_load_addr_arm and pic_load_addr_thumb. | |
1142 | ||
1143 | * config/arm/arm.c (legitimize_pic_address): Generate either | |
1144 | ARM or Thumb versions of pic_load_addr. | |
1145 | (arm_finalize_pic): Generate either ARM or Thumb versions of | |
1146 | pic_load_addr. | |
1147 | ||
54fef245 RH |
1148 | 2000-11-28 Richard Henderson <rth@redhat.com> |
1149 | ||
1150 | * calls.c (expand_call): Defer const/pure NO_DEFER_POP until | |
1151 | after sibcall do_pending_stack_adjust. | |
1152 | ||
f423a6a7 R |
1153 | Wed Nov 29 00:08:23 2000 J"orn Rennecke <amylaar@redhat.com> |
1154 | ||
1155 | * jump.c (delete_insn): Check that REG_LABEL note actually contains | |
1156 | a CODE_LABEL. | |
1157 | ||
eaf299c6 NB |
1158 | 2000-11-28 Neil Booth <neilb@earthling.net> |
1159 | ||
01933a51 | 1160 | * c-common.h: Remove flag_digraphs. |
f6bbde28 ZW |
1161 | * c-decl.c: Remove flag_digraphs. |
1162 | (c_decode_option): Don't set it. | |
01933a51 | 1163 | * c-lex.c (init_c_lex): Don't do anything for digraphs. |
eaf299c6 | 1164 | |
7dfe7bd6 RH |
1165 | 2000-11-28 Richard Henderson <rth@redhat.com> |
1166 | ||
1167 | * c-parse.in (finish_parse): Update for parse_in type change. | |
1168 | (_yylex): Likewise. | |
1169 | ||
8dc4676d NB |
1170 | 2000-11-28 Neil Booth <neilb@earthling.net> |
1171 | ||
01933a51 JM |
1172 | * cppmacro.c (cpp_scan_buffer_nooutput): Take a boolean |
1173 | indicating whether to scan all buffers on the stack or | |
1174 | just one. | |
1175 | * cppinit.c (do_includes): Update. | |
1176 | * cppmain.c (main): Update. | |
1177 | * cpplib.h: Update prototype. | |
8dc4676d | 1178 | |
c77e04ae RH |
1179 | 2000-11-28 Richard Henderson <rth@redhat.com> |
1180 | ||
1181 | * genoutput.c (validate_insn_operands): New. | |
1182 | (gen_insn): Call it. | |
1183 | ||
1184 | * config/alpha/alpha.md (divmodsi_internal): Renumber operands. | |
1185 | (divmoddi_internal): Likewise. | |
1186 | * config/arm/arm.md (andsi3_compare0_scratch): Likewise. | |
1187 | * config/i960/i960.md (branch patterns): Likewise. | |
1188 | * config/ia64/ia64.md (tbit_and_0): Likewise. | |
1189 | (tbit_and_1, tbit_or_0, tbit_or_1): Likewise. | |
1190 | * config/m68k/m68k.md (zero_extract memory patterns): Likewise. | |
1191 | * config/mips/mips.md (divmodsi4_internal): Likewise. | |
1192 | (divmoddi4_internal): Likewise. | |
1193 | * config/rs6000/rs6000.md (call patterns): Likewise. | |
1194 | * config/sh/sh.md (movsi_y): Likewise. | |
1195 | * config/sparc/sparc.md: Comment out if 0 v8p shift pattern. | |
1196 | ||
79bc4669 RH |
1197 | 2000-11-28 Richard Henderson <rth@redhat.com> |
1198 | ||
1199 | * config.gcc: Kill residual pyramid support. | |
1200 | ||
cf44ea52 NB |
1201 | 2000-11-28 Neil Booth <neilb@earthling.net> |
1202 | ||
1203 | * c-lex.h (parse_in): Change parse_in to a cpp_reader *. | |
1204 | * c-decl.c (c_decode_option): Update to match. | |
1205 | * c-lex.c (init_c_lex, yyparse): Update to match. | |
1206 | * c-lang.c (lang_init_options): Use cpp_create_reader. | |
1207 | * cppinit.c (cpp_init): Rename initialize. | |
1208 | (cpp_reader_init): Rename cpp_create_reader. Create the | |
1209 | reader. Initialize cpplib if appropriate. | |
1210 | * cpplib.h (cpp_create_reader) New prototype. | |
1211 | (cpp_init, cpp_reader_init): Delete prototypes. | |
1212 | * cppmain.c (general_init, setup_callbacks): New functions. | |
1213 | (main): Use them. | |
1214 | * fix-header.c (scan_in): Change type to cpp_reader *. | |
1215 | (read_scan_file): Update for new cpplib interface and scan_in type. | |
1216 | ||
1217 | * cp/decl.c (parse_in): Change to cpp_reader *. | |
1218 | (lang_decode_option): Update. | |
1219 | * cp/lex.c (lang_init_options): Use new cpplib interface. | |
1220 | (init_cp_pragma, finish_parse, handle_pragma_implementation): Update. | |
1221 | * cp/spew.c (read_token): Update. | |
1222 | * objc/objc-act.c (lang_init_options): Update new cpplib interface. | |
1223 | ||
48c4d691 JJ |
1224 | 2000-11-28 Jakub Jelinek <jakub@redhat.com> |
1225 | ||
1226 | * loop.c (load_mems): Avoid using next_label to find end_label. If | |
1227 | jumping outside of the loop (other than loop end), don't hoist MEMs | |
1228 | out of loop. | |
1229 | ||
fb158467 JH |
1230 | 2000-11-28 Jan Hubicka <jh@suse.cz> |
1231 | ||
1232 | * calls.c (expand_call): Don't disable tail recursion based | |
1233 | on the loop nest. | |
1234 | ||
40bd4395 NB |
1235 | 2000-11-28 Neil Booth <neilb@earthling.net> |
1236 | ||
01933a51 JM |
1237 | * tradcpp.c (enum node_type): New hash types T_ASSERT, T_UNASSERT. |
1238 | (struct directive): Drop 4th argument from handlers. | |
1239 | (do_define, do_line, do_include, do_undef, do_else, do_elif, | |
1240 | do_endif): Similarly. | |
1241 | (do_assert, do_unassert, do_ifdef, do_ifndef): New handlers. | |
1242 | (do_ifxdef): Update as common handler of do_ifdef and do_ifndef. | |
1243 | (make_definition, make_undef): Take a const char*. | |
1244 | (make_assertion): New function. | |
1245 | (struct directive_table): Update. | |
1246 | (main): Handle -A command line argument. | |
1247 | (handle_directive): Drop fourth handler argument. | |
40bd4395 | 1248 | |
77ea49a4 BS |
1249 | 2000-11-28 Bernd Schmidt <bernds@redhat.co.uk> |
1250 | ||
1251 | * simplify-rtx.c (cselib_record_sets): Ignore sets whose destination | |
1252 | is anything but REG or MEM, but look inside STRICT_LOW_PART. | |
1253 | ||
c5c0b3d9 RK |
1254 | Tue Nov 28 09:53:50 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
1255 | ||
1256 | * system.h (IS_DIR_SEPARATOR): Use uppercase macro name. | |
1257 | (IS_ABSOLUTE_PATHNAME): New macro. | |
1258 | * gcc.c (find_a_file, process_command, do_spec_1, main): Use it. | |
1259 | ||
dd80b906 JJ |
1260 | 2000-11-28 Jakub Jelinek <jakub@redhat.com> |
1261 | ||
1262 | * config/i386/i386.md (truncxfsf2_2): Fix predicate. | |
1263 | ||
102870fb JW |
1264 | 2000-11-27 Jim Wilson <wilson@redhat.com> |
1265 | ||
1266 | * reload1.c (reload): Use HOST_WIDE_INT for old_frame_size. | |
1267 | ||
9734e80c MK |
1268 | 2000-11-27 Matthias Klose <doko@cs.tu-berlin.de> |
1269 | ||
1270 | * extend.texi (Nested Functions): Update URL of Usenix paper. | |
1271 | ||
cf77f15f MM |
1272 | 2000-11-27 Mark Mitchell <mark@codesourcery.com> |
1273 | ||
1274 | * function.c (free_after_compilation): Clear x_clobber_return_insn. | |
1275 | ||
6a6b1628 NB |
1276 | 2000-11-27 Neil Booth <neilb@earthling.net> |
1277 | ||
f6bbde28 | 1278 | * cppinit.c (cpp_reader_init): Remove handling of warn_paste |
01933a51 JM |
1279 | command line options. |
1280 | (cpp_handle_option): Similarly. | |
1281 | * cpplib.h (struct cpp_options): Remove warn_paste. | |
1282 | * cppmacro.c (paste_tokens): Apart from assembler, make | |
1283 | unpasteable token warning mandatory. | |
6a6b1628 | 1284 | |
fb6a7b08 NB |
1285 | 2000-11-27 Neil Booth <neilb@earthling.net> |
1286 | ||
01933a51 JM |
1287 | * tradcpp.c (enum pending_dir_t, struct pending_dir): New. |
1288 | (main): Allocate a pending directive set of these. Use it. | |
1289 | Merge handling of -D and -U. Update handling of pending | |
1290 | directives. Free the memory after use. | |
fb6a7b08 | 1291 | |
7dfc0fbe BS |
1292 | 2000-11-27 Bernd Schmidt <bernds@redhat.co.uk> |
1293 | ||
1294 | * flow.c (entry_exit_blocks): Add entry for cond_local_set. | |
1295 | (struct propagate_block_info): Add new member cond_local_set. | |
1296 | (propagate_block): Accept new arg cond_local_set. All callers | |
1297 | changed. | |
1298 | (init_propagate_block_info): Likewise. | |
1299 | (calculate_global_regs_live): Allocate & free cond_local_set. Always | |
1300 | rescan if there's overlap between cond_local_set and new_live_at_end. | |
1301 | (mark_set_1): Set bits either in cond_local_set or local_set, as | |
1302 | appropriate. | |
1303 | * basic-block.h (struct basic_block_def): New field cond_local_set. | |
1304 | (propagate_block, init_propagate_block_info): Update prototypes. | |
1305 | ||
5f6fa212 KK |
1306 | Mon Nov 27 17:29:44 2000 kaz Kojima <kkojima@rr.iij4u.or.jp> |
1307 | ||
1308 | * gcc/config/sh/sh.md (udivsi3_i4, udivsi3_i4_single): Clobber | |
1309 | T register. | |
1310 | ||
8bb9536a RE |
1311 | 2000-11-27 Richard Earnshaw <rearnsha@arm.com> |
1312 | ||
1313 | * arm.c (select_dominance_cc_mode): Handle new way that combine | |
1314 | canonicalizes conditional compares. | |
1315 | (arm_select_cc_mode): Likewise. | |
1316 | * arm.md: Garbage collect some dead code. | |
1317 | (cmp_and, cmp_ior): New patterns. | |
1318 | (splitter for conditional move with inverted false): Use cond_exec | |
1319 | and handle unordered comparisons. | |
1320 | ||
4211a8fb JH |
1321 | Mon Nov 27 17:22:56 MET 2000 Jan Hubicka <jh@suse.cz> |
1322 | ||
1323 | * i386.c (ix86_force_to_memory, ix86_free_from_memory): New. | |
1324 | * i386-protos.h (ix86_force_to_memory, ix86_free_from_memory): Declare | |
1325 | * i386.md (float?i?f, int/fp operations): Rewrite spliters to use | |
1326 | ix86_force_to_memory and ix86_free_from_memory. | |
1327 | ||
bb6ae783 RE |
1328 | 2000-11-27 Richard Earnshaw <rearnsha@arm.com> |
1329 | ||
1330 | * arm.md (arm_adddi3, adddi_sesidi_di, adddi_zesidi_di, arm_addsi3, | |
1331 | arm_subsi3_insn, anddi_zesidi_di, arm_andsi3_insn, anddi_notdi_di, | |
f6bbde28 | 1332 | anddi_notzesidi_di, anddi_notsesidi_di, arm_iorsi3, |
bb6ae783 RE |
1333 | one_cmpldi2): Merge with splitters to create define_insn_and_split |
1334 | patterns. Remove redundant splits. | |
1335 | (peephole2 for add:SI of invalid immediate): New. | |
1336 | (peephole2 for minus:SI of invalid immediate): New. | |
1337 | (peephole2 for ior:SI of invalid immediate): New. | |
1338 | (peephole for merge of move and compare): Convert ot peephole2. | |
1339 | (addsf3, adddf3): Mark as commutative. | |
1340 | ||
1341 | * arm.md (thumb peephole for merging stack adjustments): Convert to | |
1342 | peephole2. | |
1343 | ||
70bbeb8b BS |
1344 | 2000-11-27 Bernd Schmidt <bernds@redhat.co.uk> |
1345 | ||
375de5b6 BS |
1346 | * haifa-sched.c (print_pattern): Prettier output for COND_EXEC. |
1347 | ||
70bbeb8b BS |
1348 | * reload1.c (reload_cse_simplify_set): Pass down mode to cselib_lookup. |
1349 | (reload_cse_simplify_operands): Do nothing about operands where both | |
1350 | the operand and the match_operand fail to give us a mode. | |
1351 | * simplify-rtx.c (wrap_constant): New function. | |
1352 | (entry_and_rtx_equal_p): Except integer constants to come wrapped in a | |
1353 | CONST describing the proper mode. | |
1354 | (rtx_equal_for_cselib_p): Pass down modes to recursive calls of | |
1355 | cselib_lookup. | |
1356 | (cselib_lookup_mem): Call wrap_constant on the rtx that is passed to | |
1357 | htab_find_slot_with_hash. | |
1358 | (cselib_lookup): Likewise. | |
1359 | ||
7dbe6ae9 BS |
1360 | Based on a patch from Geoff Keating <geoffk@redhat.com>: |
1361 | * loop.c (basic_induction_var): If a REG is set from something | |
1362 | that is not a biv, then the REG is not a biv. Even if it is | |
1363 | earlier set from something that is a biv. | |
1364 | ||
6b2adea9 AO |
1365 | 2000-11-27 Alexandre Oliva <aoliva@redhat.com> |
1366 | ||
1367 | * configure.in (extra_objs): Enclose extra_headers in quotes. | |
1368 | * configure: Rebuilt. | |
1369 | ||
27e2564a NB |
1370 | 2000-11-27 Neil Booth <neilb@earthling.net> |
1371 | ||
01933a51 JM |
1372 | * c-lex.c (cb_enter_file, cb_leave_file, cb_rename_file): |
1373 | Combine into the new function cb_change_file. | |
1374 | (init_c_lex): Update. | |
1375 | * cppfiles.c (stack_include_file): Use _cpp_do_file_change. | |
1376 | (cpp_syshdr_flags): Delete. | |
1377 | * cpphash.h (_cpp_do_file_change): New prototype. | |
1378 | Move struct cpp_buffer here from... | |
1379 | * cpplib.h (struct cpp_buffer): ... here. | |
1380 | (enum cpp_fc_reason, struct cpp_file_loc, | |
1381 | struct_cpp_file_change, change_file): New. | |
1382 | (enter_file, leave_file, rename_file, cpp_syshdr_flags): Delete. | |
1383 | * cpplib.c (do_line): Update for new cb_change_file callback. | |
1384 | (_cpp_do_file_change): New function. | |
1385 | (_cpp_pop_buffer): Update to use it. | |
1386 | * cppmain.c (move_printer): Delete. | |
1387 | (main): Set up single callback cb_change_file. | |
1388 | (cb_enter_file, cb_leave_file, cb_rename_file): Delete. | |
1389 | (cb_change_file): New. | |
1390 | * fix-header.c (cur_file, cb_change_file): New. | |
1391 | (recognized_function, read_scan_file): Update. | |
1392 | * scan-decls.c (scan_decls): Update. | |
1393 | * scan.h (recognized_function): Update prototype. | |
27e2564a | 1394 | |
9ccb25d5 MM |
1395 | 2000-11-26 Mark Mitchell <mark@codesourcery.com> |
1396 | ||
1397 | * tree.h (mark_tree_hashtable): New function. | |
1398 | * tree.c (mark_tree_hashtable_entry): New function. | |
1399 | (mark_tree_hashtable): Likewise. | |
1400 | ||
5fcd86dd MM |
1401 | 2000-11-27 Michael Meissner <meissner@redhat.com> |
1402 | ||
1403 | * d30v-protos.h (srelational_si_operator): Correctly spell | |
1404 | function. | |
1405 | (urelational_si_operator): Ditto. | |
1406 | (relational_si_operator): Ditto. | |
1407 | (d30v_expand_prologue): Add prototype. | |
1408 | (d30v_expand_epilogue): Ditto. | |
1409 | ||
1410 | * d30v.h (OPTIMIZATION_OPTIONS): Undo November 22nd change. | |
1411 | ||
1412 | * d30v.md (movcccc_*): Delete now unused patterns. | |
1413 | (64 bit comparison splitters): Rewrite to use COND_EXEC instead of | |
1414 | IF_THEN_ELSE. | |
1415 | (define_cond_exec): Use 'b' to select branch flags. | |
1416 | ||
da9e9f08 KG |
1417 | 2000-11-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1418 | ||
1419 | * builtins.c (expand_builtin_strncmp, expand_builtin_strncpy): New | |
1420 | functions. | |
1421 | (expand_builtin): Handle BUILT_IN_STRNCPY and BUILT_IN_STRNCMP. | |
1422 | ||
1423 | * builtins.def (BUILT_IN_STRNCPY, BUILT_IN_STRNCMP): New entries. | |
1424 | ||
1425 | * c-common.c (c_common_nodes_and_builtins): Declare builtin | |
1426 | strncpy and strncmp. | |
1427 | ||
1428 | * extend.texi (strncmp, strncpy): Document new builtins. | |
1429 | ||
231db5f4 MM |
1430 | 2000-11-26 Mark Mitchell <mark@codesourcery.com> |
1431 | ||
1432 | * config/elfos.h (ASM_OUTPUT_SECTION_NAME): Use a hash table, not | |
1433 | a list, to keep track of the sections. | |
1434 | * tm.texi (ASM_OUTPUT_SECTION_NAME): Document the fact that the | |
1435 | parameter provided will always be a canonical string. | |
1436 | ||
7463ef45 NB |
1437 | 2000-11-26 Neil Booth <neilb@earthling.net> |
1438 | ||
5fcd86dd MM |
1439 | * cppmacro.c (cpp_scan_buffer_nooutput): Only scan the |
1440 | current buffer. | |
7463ef45 | 1441 | |
1ccfb3dd JM |
1442 | 2000-11-26 Joseph S. Myers <jsm28@cam.ac.uk> |
1443 | ||
1444 | * makefile.vms: Remove EGCS references. | |
1445 | ||
0b34cf1e UD |
1446 | 2000-11-26 Ulrich Drepper <drepper@redhat.com> |
1447 | ||
1448 | * dwarf2out.c (output_file_names): New function. Compute minimal | |
1449 | combination of directory and file name table and emit them. | |
1450 | (output_line_info): Remove code to emit directory and file name | |
1451 | table and call output_file_names instead. | |
1452 | (file_info_cmp): Helper function to sort directory names. | |
1453 | ||
5fcd86dd | 1454 | 2000-11-26 Neil Booth <neilb@earthling.net> |
bdb05a7b | 1455 | |
5fcd86dd MM |
1456 | * cpplib.h (struct cpp_reader): Remove lang_asm. |
1457 | (struct cpp_options): Remove c89. New members lang, | |
1458 | extended_numbers. | |
f6bbde28 | 1459 | * cppexp.c (parse_number): Use them. |
5fcd86dd MM |
1460 | * cpphash.h (VALID_SIGN): Use them. |
1461 | * cppinit.c (set_lang, cpp_start_read): Update. | |
1462 | * cpplex.c (parse_string, _cpp_lex_token): Update. | |
1463 | * cpplib.c (_cpp_handle_directive): Update. | |
1464 | * cppmacro.c (parse_args): Update. | |
1465 | * cppmain.c (scan_buffer): Update. | |
bdb05a7b | 1466 | |
72bd1f9e RK |
1467 | Sun Nov 26 10:02:37 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
1468 | ||
1469 | * fold-const.c (fold, case CONVERT_EXPR): Always return tree of | |
1470 | proper type. | |
1471 | ||
5fcd86dd MM |
1472 | 2000-11-26 Neil Booth <neilb@earthling.net> |
1473 | ||
1474 | * Makefile.in: Remove MAYBE_CPPLIB and maybe_cpplib. | |
1475 | * c-decl.c: Remove parse_in declaration. | |
1476 | * c-lang.c: Similarly. | |
1477 | * c-lex.c: Similarly. | |
1478 | * c-parse.in: Similarly. | |
1479 | * c-pragma.c: Similarly. | |
1480 | * configure.in: Similarly. | |
1481 | * cp/Make-lang.in: Similarly. | |
1482 | * cp/spew.c: Similarly. | |
1483 | * cp/decl2.c: Remove check for lang-c++ option. | |
1484 | * cp/lang-specs.h: Remove -lang-c++ from cc1plus command line. | |
1485 | * cp/lex.c (lang_init_options): With cpp_reader_init, default to C++. | |
1486 | * c-lex.h: Add declaration of parse_in. | |
1487 | * cppinit.c: Call set_lang after allocating pfile->pending. | |
1488 | * configure: Regenerate. | |
056487e7 | 1489 | |
1786009e ZW |
1490 | 2000-11-25 Zack Weinberg <zack@wolery.stanford.edu> |
1491 | ||
1492 | * combine.c (try_combine): Remove redundant test. | |
1493 | ||
3645c4dc RH |
1494 | 2000-11-25 Richard Henderson <rth@redhat.com> |
1495 | ||
1496 | * c-common.h (DECL_C_HARD_REGISTER): New. | |
1497 | * c-decl.c (finish_decl): Set it for asm register variables. | |
1498 | * c-semantics.c (emit_local_var): Test it when instantiating one. | |
1499 | ||
a17a5850 RH |
1500 | 2000-11-25 Richard Henderson <rth@redhat.com> |
1501 | ||
1502 | * c-decl.c (c_expand_body): Use DECL_SOURCE_LINE rather than | |
1503 | lineno for the start of the function. | |
1504 | ||
2e18bbae RH |
1505 | 2000-11-25 Richard Henderson <rth@redhat.com> |
1506 | ||
1507 | * dwarf2out.c (file_table, file_table_allocated): Remove. | |
1508 | (file_table_allocated): Remove. | |
1509 | (struct file_table): New. | |
1510 | (decl_file_table, line_file_table): New. | |
1511 | (print_dwarf_line_table): Use them. | |
1512 | (size_of_line_prolog): Likewise. | |
1513 | (output_line_info): Likewise. | |
1514 | (add_src_coords_attributes): Likewise. | |
1515 | (gen_subprogram_die): Likewise. | |
1516 | (gen_variable_die): Likewise. | |
1517 | (dwarf2out_add_library_unit_info): Likewise. | |
1518 | (dwarf2out_line): Likewise. | |
1519 | (lookup_filename): Take a struct file_table argument. | |
1520 | (init_file_table): New. | |
1521 | (dwarf2out_init): Use it. | |
1522 | ||
163686bd JM |
1523 | 2000-11-25 Joseph S. Myers <jsm28@cam.ac.uk> |
1524 | ||
1525 | * invoke.texi: Update sequence points references. | |
1526 | ||
a32f2771 NB |
1527 | 2000-11-25 Neil Booth <neilb@earthling.net> |
1528 | ||
01933a51 JM |
1529 | * c-common.c: Remove USE_CPPLIB conditional inclusions. |
1530 | * c-common.h: Similarly. | |
1531 | * c-decl.c: Similarly. | |
a32f2771 NB |
1532 | * c-lang.c: Similarly. |
1533 | * c-lex.c: Similarly. | |
01933a51 JM |
1534 | * c-parse.in: Similarly. |
1535 | * c-pragma.c: Similarly. | |
1536 | * c-pragma.h: Similarly. | |
1537 | * gcc.c: Similarly. | |
1538 | * toplev.c: Similarly. | |
1539 | * cp/cp-tree.h: Similarly. | |
1540 | * cp/decl2.c: Similarly. | |
1541 | * cp/lang-specs.h: Similarly. | |
1542 | * cp/lex.c: Similarly. | |
1543 | * cp/lex.h: Similarly. | |
1544 | * cp/spew.c: Similarly. | |
1545 | * java/lang-options.h: Similarly. | |
1546 | * objc/lang-specs.h: Similarly. | |
1547 | * objc/objc-act.c: Similarly. | |
1548 | ||
1549 | * configure.in: Remove configure option. | |
1550 | * config.in: Regenerate. | |
1551 | * configure: Regenerate. | |
a32f2771 | 1552 | |
3e8aa6e3 RH |
1553 | 2000-11-25 Richard Henderson <rth@redhat.com> |
1554 | ||
1555 | * haifa-sched.c (sched_analyze_1, sched_analyze_2, sched_analyze): | |
1556 | Revert 2000-11-22 change. | |
1557 | ||
59a9e22e BS |
1558 | 2000-11-25 Bernd Schmidt <bernds@redhat.co.uk> |
1559 | ||
1560 | * config/i386/i386.h (FIXED_REGS): Make the three flags registers | |
1561 | fixed. | |
1562 | ||
2be36552 PT |
1563 | 2000-11-25 Philipp Thomas <pthomas@suse.de> |
1564 | * configure.in (ALL_LINGUAS): Remove en_GB and add sv. | |
1565 | * configure: Rebuilt. | |
1566 | ||
4df1190a JJ |
1567 | 2000-11-25 Jakub Jelinek <jakub@redhat.com> |
1568 | ||
1569 | * config/sparc/sparc.md (muldi3_v8plus): Remove H constraint. | |
1570 | Handle CONST_INT as second argument. | |
1571 | * config/sparc/sparc.c (set_extends): Remove first argument. | |
1572 | Properly handle AND, CONST_INT and CONST_DOUBLE, handle IOR, XOR and | |
1573 | MOV. | |
1574 | (sparc_check_64): Abort if first argument is not REG. | |
1575 | If it is DImode REG, look at the lower register of the register | |
1576 | pair. | |
1577 | ||
1578 | * config/sparc/sparc.c (load_pic_register, restore_regs, | |
1579 | output_return, sparc_v8plus_shift, sparc_function_profiler, | |
1580 | sparc_function_block_profiler, sparc_block_profiler): Fix output | |
1581 | formatting. | |
1582 | ||
6915629f AO |
1583 | 2000-11-25 Alexandre Oliva <aoliva@redhat.com> |
1584 | ||
ae010e43 AO |
1585 | * config/sh/sh.h (TARGET_NONE): New. |
1586 | (TARGET_SWITCHES): For all variant-selecting switch, use | |
1587 | TARGET_NONE to reset all other variant-selecting switch. Added | |
1588 | empty strings to avoid warnings. | |
1589 | (TARGET_DEFAULT): Set to SH1_BIT. | |
1590 | ||
8618466f AO |
1591 | * Makefile.in ($(INTL_TARGETS)): Added $(CONFIG_H) for |
1592 | insn-codes.h. | |
1593 | ||
5db5a888 AO |
1594 | * gcc/config/sh/sh.md (sibcalli, sibcalli_pcrel): New insns. |
1595 | (sibcall_pcrel): New insn_and_split. | |
1596 | (sibcall, sibcall_value, sibcall_epilogue): New expands. | |
1597 | ||
6915629f AO |
1598 | * config/sh/sh.md (GOTaddr2picreg, symGOT2reg, symGOTOFF2reg, |
1599 | symPLT_label2reg, call, call_value): Don't set | |
1600 | current_function_uses_pic_offset_table. | |
1601 | * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Don't mark | |
1602 | PIC_OFFSET_TABLE_REGNUM as call_used, so that calc_live_regs | |
1603 | takes it into account. | |
1604 | (FINALIZE_PIC): Delete, useless. | |
1605 | (LEGITIMATE_CONSTANT_P): Delete, unused. | |
1606 | * config/sh/sh.c (sh_expand_prologue): Don't use | |
1607 | current_function_uses_pic_offset_table. Don't special-case | |
1608 | PIC_OFFSET_TABLE_REGNUM. Initialize it if it's ever live and | |
1609 | PIC is enabled. | |
1610 | (sh_expand_epilogue, initial_elimination_offset): Don't | |
1611 | special case PIC_OFFSET_TABLE_REGNUM. | |
1612 | ||
2d01e445 AO |
1613 | 2000-11-25 Alexandre Oliva <aoliva@redhat.com>, NIIBE Yutaka <gniibe@m17n.org> |
1614 | ||
1615 | * config/sh/sh-protos.h (symbol_ref_operand): Declare. | |
1616 | * config/sh/sh.md (UNSPEC_CALLER): New constant. | |
1617 | (calli_pcrel, call_valuei_pcrel): Use PIC_REG. | |
1618 | (call_pcrel, call_value_pcrel): New insn_and_splits. | |
1619 | (call, call_value): Use them. | |
1620 | (call_site): New expand. | |
1621 | (sym_label2reg, symPLT_label2reg): Adjust to hold call_sites. | |
1622 | * config/sh/sh.h (OUTPUT_ADDR_CONST_EXTRA) [UNSPEC_CALLER]: | |
1623 | Output call_site label. | |
1624 | (PREDICATE_CODES): Added symbol_ref_operand. | |
1625 | * config/sh/sh.c (symbol_ref_operand): Define. | |
1626 | * emit-rtl.c (try_split): Propagate CALL_INSN_FUNCTION_USAGE | |
1627 | to CALL_INSNs in the split sequence. | |
1628 | ||
c3edd394 NC |
1629 | 2000-11-24 Nick Clifton <nickc@redhat.com> |
1630 | ||
1631 | * config.gcc (v850-*-*): Define c_target_objs and | |
f6bbde28 | 1632 | cxx_target_objs. |
c3edd394 NC |
1633 | |
1634 | * config/v850/t-v850: Define how to build v850-c.o | |
1635 | ||
1636 | * config/v850/v850.h (struct data_area_stack_element): Move | |
1637 | definition here from v850.c. | |
1638 | ||
1639 | * config/v850v850.c: Include gcc.h to avoid compile time | |
1640 | warning. | |
1641 | (push_data_area): Move to v850-c.c. | |
1642 | (pop_data_area): Move to v850-c.c. | |
1643 | (mark_current_function_as_interrupt): Move to v850-c.c. | |
1644 | (GHS_default_section_names): Allow to be exported. | |
1645 | (GHS_current_section_names): Allow to be exported. | |
1646 | (data_area_stack_elements): Allow to be exported. | |
1647 | (ghs_pragma_section): Move to v850-c.c. | |
1648 | (ghs_pragma_interrupt): Move to v850-c.c. | |
1649 | (ghs_pragma_starttda): Move to v850-c.c. | |
1650 | (ghs_pragma_startsda): Move to v850-c.c. | |
1651 | (ghs_pragma_startzda): Move to v850-c.c. | |
1652 | (ghs_pragma_endtda): Move to v850-c.c. | |
1653 | (ghs_pragma_endsda): Move to v850-c.c. | |
1654 | (ghs_pragma_endzda): Move to v850-c.c. | |
1655 | ||
1656 | * config/v850/v850-c.c: New file: Contains v850 specific | |
1657 | pragma parsing functions. | |
1658 | ||
aac69a49 NC |
1659 | 2000-11-24 Nick Clifton <nickc@redhat.com> |
1660 | ||
1661 | * config.gcc (extra_objs): Remove duplicate description. | |
1662 | (c_target_objs): New variable. Contains target specific | |
1663 | object files for the gcc C compiler only. | |
f6bbde28 | 1664 | (cxx_target_objs): New variable. Contains target specific |
aac69a49 NC |
1665 | object files for the gxx C++ compiler only. |
1666 | ||
1667 | * configure.in (c_target_objs): Substitute in the makefile. | |
1668 | (cxx_target_objs): Substitute in the makefile. | |
1669 | * configure: Regenerate. | |
1670 | ||
1671 | * Makefile.in (C_TARGET_OBJS): Define and initialise from | |
1672 | c_target_objs. | |
1673 | (CXX_TARGET_OBJS): Define and initialise from | |
1674 | cxx_target_objs. | |
1675 | (C_AND_OBJC_OBJS): Include C_TARGET_OBJS. | |
1676 | ||
1677 | * cp/Make-lang.in (CXX_C_OBJS): Include CXX_TARGET_OBJS). | |
1678 | ||
1679 | * tm.texi (REGISTER_TARGET_PRAGMAS): Add paragraph explaining | |
1680 | about how the use of the 'c_lex' function requires the use of | |
1681 | the target specific, language specific object files feature of | |
1682 | the configuration mechanism. | |
1683 | ||
7257bbc6 RK |
1684 | Fri Nov 24 18:50:58 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
1685 | ||
1686 | * gcc.c (process_command): Use F_OK, not R_OK. | |
1687 | ||
c3ff75c4 AK |
1688 | 2000-11-24 Arno J. Klaassen <arno@heho.snv.jussieu.fr> |
1689 | ||
1690 | * flow.c (print_rtl_and_abort): Remove ANSIism. | |
1691 | ||
104ee20b AO |
1692 | Fri Nov 24 19:54:36 2000 Alexandre Oliva <aoliva@redhat.com> |
1693 | ||
1694 | * config/sh/sh.h (GENERAL_REGISTER_P, | |
1695 | GENERAL_OR_AP_REGISTER_P, FP_REGISTER_P, XD_REGISTER_P, | |
1696 | FP_OR_XD_REGISTER_P, FP_ANY_REGISTER_P): New macros. Use them | |
1697 | all over. | |
1698 | (SPECIAL_REG): Renamed to SPECIAL_REGISTER_P. | |
1699 | * config/sh/sh.c: Use new macros. | |
1700 | * config/sh/sh.md: Likewise. | |
1701 | ||
5d00b10a AO |
1702 | Fri Nov 24 19:46:16 2000 Alexandre Oliva <aoliva@redhat.com> |
1703 | ||
1704 | * config/sh/sh.md: Clobber MACH_REG and MACL_REG in SImode, | |
1705 | instead of just MACH_REG in DImode. Always refer to FPSCR_REG | |
1706 | in PSImode. | |
1707 | ||
33f77355 DC |
1708 | Fri Nov 24 22:37:41 2000 Denis Chertykov <denisc@overta.ru> |
1709 | ||
1710 | * config/avr/avr.c (out_tsthi,out_tstsi): Test simplification bug | |
1711 | fixed. | |
1712 | (machine_dependent_reorg): Wrong optimization based on | |
f6bbde28 | 1713 | NOTICE_UPDATE_CC removed. |
33f77355 | 1714 | |
692dc9c6 R |
1715 | Fri Nov 24 19:48:09 2000 J"orn Rennecke <amylaar@redhat.com> |
1716 | ||
1717 | * jump.c (delete_computation): Re-instate deletion of feeding insn. | |
1718 | (delete_insn): Look for REG_LABEL notes. | |
1719 | (redirect_tablejump): Delete feeding insns. | |
1720 | ||
c3410241 BS |
1721 | 2000-11-24 Bernd Schmidt <bernds@redhat.co.uk> |
1722 | ||
90d10fb9 BS |
1723 | * config/i386/i386.md (call_pop_0, call_pop_1, call_value_pop_0, |
1724 | call_value_pop_1): Make sure operand numbers are contiguous. | |
1725 | ||
7cf5c9e1 BS |
1726 | * fold-const.c (fold_range_test): Avoid crash if LHS or RHS is null. |
1727 | ||
ff6534ad BS |
1728 | * reload1.c (conflicts_with_override): New function. |
1729 | (emit_input_reload_insns): Use it to tighten test for validity | |
1730 | of substituting into output of previous insn. | |
1731 | ||
176f9a7b BS |
1732 | * haifa-sched.c (struct ready_list): New. |
1733 | (ready_lastpos, ready_add, ready_remove_first, ready_sort): New static | |
1734 | functions. | |
1735 | (schedule_insn): Replace args READY and N_READY with a pointer to a | |
1736 | ready_list; return void. Use the new functions to access the ready | |
1737 | list. All callers changed. | |
1738 | (queue_to_ready, debug_ready_list): Likewise. | |
1739 | (schedule_block): Initialize a ready_list structure. Use new | |
1740 | functions to access it. | |
1741 | (max_priority): Remove unused variable. | |
1742 | (schedule_insn): Don't set it. | |
1743 | ||
52a84e42 BS |
1744 | * c-common.c (verify_tree): Don't recurse into CONSTRUCTORs. |
1745 | ||
c3410241 BS |
1746 | * combine.c (cant_combine_insn_p): New function. |
1747 | (try_combine): Use it. | |
1748 | ||
235cfbc4 BS |
1749 | * Makefile.in (c-common.o): Depend on $(OBSTACK_H). |
1750 | * c-common.c (c-obstack.c): Include "obstack.h". | |
1751 | (struct reverse_tree): Delete. | |
1752 | (reverse_list, reverse_max_depth): Delete. | |
1753 | (build_reverse_tree, common_ancestor, modify_ok): Delete functions. | |
1754 | (struct tlist, struct tlist_cache): New. | |
1755 | (tlist_obstack, tlist_firstobj, warned_ids, save_expr_cache): New. | |
1756 | (add_tlist, merge_tlist, verify_tree, warning_candidate_p, | |
1757 | warn_for_collisions, warn_for_collisions_1, new_tlist): New | |
1758 | static functions. | |
1759 | (verify_sequence_points): Rewritten. | |
1760 | * fold-const.c (fold): Don't lose possibly important sequence | |
1761 | points when removing one arm of TRUTH_ORIF_EXPRs or TRUTH_ANDIF_EXPRs. | |
1762 | ||
58ecb5e2 RS |
1763 | 2000-11-24 Richard Sandiford <rsandifo@redhat.com> |
1764 | ||
1765 | * gcc/cse.c (cse_insn): Removed conversion of REG_EQUIV to REG_EQUAL | |
1766 | when reversing a register-to-register copy. Reversal now disabled | |
1767 | when the previous instruction has a REG_EQUIV. | |
1768 | ||
2f401cc8 NS |
1769 | 2000-11-24 Nathan Sidwell <nathan@codesourcery.com> |
1770 | ||
1771 | * c-parse.in (unary_expr): Move VA_ARG from here ... | |
1772 | (primary): ... to here. | |
1773 | ||
963a2a84 GS |
1774 | 2000-11-23 Graham Stott <grahams@redhat.com> |
1775 | ||
1776 | * expr.c (store_constructor): If a field is non addressable and | |
1777 | the target is a MEM use MEM_ALIAS_SET otherwise use get_alias_set. | |
1778 | ||
f9b697bf BS |
1779 | 2000-11-23 Bernd Schmidt <bernds@redhat.co.uk> |
1780 | ||
1781 | * flow.c (print_rtl_and_abort): New function. | |
1782 | (verify_wide_reg, verify_local_live_at_start): Try to dump more | |
1783 | information before aborting. | |
1784 | ||
69295d6d AO |
1785 | 2000-11-23 Alexandre Oliva <aoliva@redhat.com> |
1786 | ||
1787 | * emit-rtl.c (gen_lowpart_common): Use word 0 if register mode | |
1788 | is narrower than requested mode. | |
1789 | (gen_highpart): Abort if register mode is narrower than | |
1790 | requested mode. | |
1791 | ||
99a9c946 GS |
1792 | 2000-11-23 Graham Stott <grahams@redhat.com> |
1793 | ||
1794 | * cse.c (cse_insn): Initialise all regcost variables. | |
1795 | Fix a typo add missing '='. | |
1796 | Only compare costs if there is a replacement insn. | |
1797 | ||
422be3c3 AO |
1798 | Thu Nov 23 04:33:33 2000 Alexandre Oliva <aoliva@redhat.com> |
1799 | ||
1800 | * final.c (output_addr_const) [LABEL_REF]: Simplify. | |
1801 | [MINUS]: Enclose non-CONST_INTs in parentheses. | |
1802 | [default]: Try OUTPUT_ADDR_CONST_EXTRA. | |
1803 | * tm.texi (OUTPUT_ADDR_CONST_EXTRA): Document it. | |
1804 | * varasm.c (decode_rtx_const) [CONST]: If it's not something | |
1805 | PLUS or MINUS a CONST_INT, use the whole CONST with offset 0 | |
1806 | instead of abort()ing. | |
1807 | * sh.c (output_pic_addr_const): Removed. Fixed all callers. | |
1808 | * sh.h (OUTPUT_ADDR_CONST_EXTRA): New. Handle the UNSPECs | |
1809 | formerly handled in output_pic_addr_const. | |
1810 | * sh.md (sym_label2reg, symPLT_label2reg): Enclose UNSPEC | |
1811 | operands of MINUS in CONSTs so that decode_rtx_const() will | |
1812 | accept them. | |
1813 | ||
43c05634 AO |
1814 | Thu Nov 23 04:10:30 2000 Alexandre Oliva <aoliva@redhat.com> |
1815 | ||
1816 | * config/sh/sh.md (mova_const): New pattern. | |
1817 | (GOTaddr2picreg): Use it. | |
1818 | * config/sh/sh.c (broken_move): Match it. | |
1819 | (mova_p): Don't match it. | |
1820 | (machine_dependent_reorg): Adjust it. | |
1821 | ||
4773afa4 AO |
1822 | Thu Nov 23 02:09:09 2000 Alexandre Oliva <aoliva@redhat.com> |
1823 | ||
1824 | * config/sh/sh.h (FIRST_GENERAL_REG, LAST_GENERAL_REG): New. | |
1825 | Moved most register-number #defines... | |
1826 | * config/sh/sh.md (define_constants): ... here. Use macros to | |
1827 | refer to registers and unspecs. | |
1828 | * config/sh/sh.c: Likewise. | |
1829 | ||
9196ece5 R |
1830 | Thu Nov 23 01:01:32 2000 J"orn Rennecke <amylaar@redhat.com> |
1831 | ||
1832 | * Makefile.in (HOST_CFLAGS): Add -DGENERATOR_FILE. | |
1833 | (rtl.o, print-rtl.o, bitmap.o, obstack.o): Build with -DGENERATOR_FILE. | |
1834 | (alloca.o, vfprintf.o, ggc-none.o, errors.o): Likewise. | |
1835 | (splay-tree.o, hash.o): Likewise. | |
1836 | GCONFIG_H: New. | |
1837 | (rtl.o, print-rtl.o): Depend on $(GCONFIG_H) instead of $(CONFIG_H). | |
1838 | (bitmap.o, obstack.o, vfprintf.o, ggc-none.o, errors.o): Likewise. | |
1839 | (hashtab.o): Likewise. | |
1840 | (gcov.o): Depend on $(CONFIG_H). | |
1841 | * configure.in: #include insn-codes.h in tm.h. | |
1842 | ||
48a08b9c NC |
1843 | 2000-11-22 Nick Clifton <nickc@redhat.com> |
1844 | ||
57f56af4 NC |
1845 | * config/arm/arm.c (arm_encode_call_attribute): Make 'newstr' a |
1846 | const char * to avoid a compile time warning. | |
1847 | ||
48a08b9c NC |
1848 | * config/arm/arm.md (define_constants): Define symbolic names for |
1849 | the link register, last integer register and the fake CC register. | |
1850 | Update patterns to use these symbolic names. | |
1851 | ||
4a5b68a2 NB |
1852 | 2000-11-22 Neil Booth <neilb@earthling.net> |
1853 | ||
1854 | * cpplex.c (trigraph_ok): Ensure we don't warn twice. | |
1855 | * cpplib.h (struct cpp_buffer): New member last_Wtrigraphs. | |
f6bbde28 | 1856 | |
a165f034 RH |
1857 | 2000-11-22 Richard Henderson <rth@redhat.com> |
1858 | ||
1859 | * haifa-sched.c (sched_analyze_1): Don't special-case calls | |
1860 | for clobbering registers. | |
1861 | (sched_analyze_2): Likewise. | |
1862 | (sched_analyze): Zap reg_last_uses and reg_last_sets after calls. | |
1863 | ||
f6bbde28 | 1864 | 2000-11-22 Chris Demetriou <cgd@sibyte.com> |
a165f034 | 1865 | Neil Booth <neilb@earthling.net> |
10ebf5fe | 1866 | |
a165f034 | 1867 | * gcc.c (validate_switches): Validate multiple switches named |
f6bbde28 | 1868 | in '|' (or) expressions in specs. |
a165f034 RH |
1869 | (handle_braces): If more than 1 alternative in a '|' spec |
1870 | matches, call do_spec1 just once. | |
10ebf5fe | 1871 | |
fb0b2546 MM |
1872 | 2000-11-22 Michael Meissner <meissner@redhat.com> |
1873 | ||
1874 | * d30v.h (TARGET_SWITCHES): Add documentation strings. | |
1875 | (TARGET_OPTIONS): Ditto. | |
1876 | (OPTIMIZATION_OPTIONS): Temporarily turn off -frename-registers if | |
1877 | -O3. | |
f6bbde28 | 1878 | |
67d6f2fc JL |
1879 | Wed Nov 22 06:40:56 2000 Jeffrey A Law (law@cygnus.com) |
1880 | ||
1881 | * pa.c (hppa_encode_label): Account for addition of encoding | |
1882 | character when allocating persistent space for the new label | |
1883 | name. | |
1884 | ||
d1209685 ZW |
1885 | 2000-11-22 Zack Weinberg <zack@wolery.stanford.edu> |
1886 | ||
1887 | * Makefile.in, config.gcc, configure.in: Expunge remaining | |
1888 | traces of facility for running MD files through C preprocessor. | |
1889 | ||
c01a508e JM |
1890 | 2000-11-22 Joseph S. Myers <jsm28@cam.ac.uk> |
1891 | ||
1892 | * gcov.texi: Add magic comments for texi2pod.pl. | |
1893 | * Makefile.in: Add rules to generate and install gcov.1. | |
1894 | * gcov.1: New (generated) file. | |
1895 | ||
a125d855 RH |
1896 | 2000-11-21 Richard Henderson <rth@redhat.com> |
1897 | ||
1898 | * regrename.c (scan_rtx_reg): Terminate the chain rather than | |
1899 | abort on mark_read with NO_REGS. | |
1900 | ||
ed311407 MS |
1901 | 2000-11-21 Mike Stump <mrs@wrs.com> |
1902 | ||
1903 | * fixinc/fixtests.c (TEST_FOR_FIX_PROC_HEAD): Fix to allow | |
1904 | compilation with older compilers, such as /bin/cc on SunOS. | |
1905 | * fixinc/fixfixes.c (FIX_PROC_HEAD): Ditto. | |
1906 | ||
cac16ef9 RH |
1907 | 2000-11-21 Richard Henderson <rth@redhat.com> |
1908 | ||
1909 | * varasm.c (record_constant): Pad the constructed | |
1910 | constant_descriptor appropriately. | |
1911 | ||
c25c12b8 R |
1912 | Wed Nov 22 00:52:55 2000 J"orn Rennecke <amylaar@redhat.com> |
1913 | ||
1914 | * rtl.h (traverse_md_constants): Declare. | |
1915 | (struct md_constant): Define. | |
1916 | * Makefile.in (HOST_RTL): Add hashtab.o . | |
1917 | (OBJS): Add hashtab.o . | |
1918 | (hashtab.o): New rule. | |
1919 | (rtl.o): Depends on HASHTAB_H. | |
1920 | * rtl.c (hashtab.h): #include. | |
1921 | (md_constants): New static variable. | |
1922 | (def_hash, def_name_eq_p, read_constants): New static functions. | |
1923 | (traverse_md_constants): New function. | |
1924 | (read_name): Do constant expansion. | |
1925 | (read_rtx): Recognize define_constants. | |
1926 | * gencodes.c (print_md_constant): New function. | |
1927 | (main): Emit #defines for all constant definitions encountered. | |
1928 | * md.texi (Constant Definitions): New node. | |
1929 | * gensupport.c (xcalloc): New function. | |
1930 | ||
f940c352 RH |
1931 | 2000-11-21 Richard Henderson <rth@redhat.com> |
1932 | ||
1933 | * config/alpha/alpha.c (alpha_split_tfmode_frobsign): New. | |
1934 | * config/alpha/alpha-protos.h: Declare it. | |
1935 | * config/alpha/alpha.md (abstf_internal): Use it. | |
1936 | (negtf_internal): Likewise. | |
1937 | (andnotdi3): Unstar the name. | |
1938 | (movtf_internal): Add o/G alternative. | |
1939 | ||
dfc55970 ZW |
1940 | 2000-11-21 Zack Weinberg <zack@wolery.stanford.edu> |
1941 | ||
1942 | * stringpool.c (stringpool_statistics): Also report number and | |
1943 | percentage of entries which are identifiers. | |
1944 | ||
d1cc928a DN |
1945 | 2000-11-21 Diego Novillo <dnovillo@redhat.com> |
1946 | ||
1947 | * gcse.c (hoist_expr_reaches_here_p): Do not mark expr_bb as | |
1948 | visited before visiting it. | |
1949 | ||
70f24e49 NC |
1950 | 2000-11-21 Nick Clifton <nickc@redhat.com> |
1951 | ||
1952 | * config/arm/arm.h: Accept TARGET_CPU_arm9tdmi, | |
1953 | TARGET_CPU_strongarm110 and TARGET_SPU_strongarm1100. | |
1954 | ||
1955 | * config.gcc: Accept --with-cpu=arm9 and --with-cpu=arm9tdmi. | |
f6bbde28 | 1956 | |
3fe30ff6 RH |
1957 | 2000-11-21 Richard Henderson <rth@redhat.com> |
1958 | ||
1959 | * c-common.c (c_unsafe_for_reeval): New function. | |
1960 | (add_c_tree_codes): Register it. | |
1961 | * c-common.h: Declare it. | |
1962 | * tree.c (lang_unsafe_for_reeval): New hook. | |
1963 | (unsafe_for_reeval): Call it. | |
1964 | * tree.h: Declare it. | |
1965 | ||
3adbce3d RH |
1966 | 2000-11-21 Richard Henderson <rth@redhat.com> |
1967 | ||
1968 | * config/i386/i386.c (i386_simplify_dwarf_addr): Simplify @GOT | |
1969 | references as well. | |
1970 | ||
0736a307 NB |
1971 | 2000-11-21 Neil Booth <neilb@earthling.net> |
1972 | ||
a165f034 | 1973 | * do_includes: Revert to using cpp_read_file. |
0736a307 | 1974 | |
52e12ad0 BS |
1975 | 2000-11-21 Bernd Schmidt <bernds@redhat.co.uk> |
1976 | ||
847dde95 BS |
1977 | * loop.c (consec_sets_giv): If the reg we're examining is anything |
1978 | but UNKNOWN_INDUCT, do nothing. | |
1979 | Reset the reg's type to UNKNOWN_INDUCT before returning. | |
1980 | ||
52e12ad0 BS |
1981 | Mostly from Vladimir Makarov (vmakarov@redhat.com) |
1982 | * ia64.md (attr itanium_class): Define insn types as described in | |
1983 | Itanium docs. | |
1984 | (all insn patterns): Use itanium_class, not type attributes. | |
1985 | Occasionally split alternatives as necessary. | |
1986 | (attr type): Compute from new attr itanium_class. | |
f6bbde28 | 1987 | |
b3e2d1eb KG |
1988 | 2000-11-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1989 | ||
1990 | * tradcpp.c (output_line_command): Mark system headers as such in | |
1991 | `line' commands. | |
1992 | ||
0faf814f JJ |
1993 | 2000-11-21 Jakub Jelinek <jakub@redhat.com> |
1994 | ||
1995 | * configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Sparc has .file/.loc | |
1996 | support in as as well. | |
1997 | * configure: Regenerate. | |
1998 | ||
3aac38d7 RH |
1999 | 2000-11-20 Richard Henderson <rth@redhat.com> |
2000 | ||
2001 | * c-lex.c (orig_filename): New variable. | |
2002 | (init_c_lex): Set it. Move call to cpp_start_read ... | |
2003 | (yyparse): ... here. New function. | |
2004 | * c-parse.in (yyparse_1): Rename the parser entry point. | |
2005 | * c-tree.h: Declare it. | |
2006 | ||
6b16805e JJ |
2007 | 2000-11-21 Jakub Jelinek <jakub@redhat.com> |
2008 | ||
2009 | * expr.c (do_compare_and_jump): If op0 was replaced by promoted | |
2010 | integer constant, use type of op1 for comparison. | |
2011 | ||
18922061 SS |
2012 | 2000-11-20 Stan Shebs <shebs@apple.com> |
2013 | ||
2014 | * config/rs6000/xm-darwin.h: New file, Darwin host definitions. | |
2015 | * config/rs6000/x-darwin: New file, Darwin host fragment. | |
2016 | * config.gcc (powerpc-*-darwin*): New host. | |
2017 | * system.h (HAVE_DESIGNATED_INITIALIZERS): Allow this to be | |
2018 | overridden by a config file. | |
2019 | ||
d63eefbf NB |
2020 | 2000-11-20 Neil Booth <neilb@earthling.net> |
2021 | ||
2022 | * cppmacro.c (paste_tokens): Rename from paste_payloads. | |
2023 | Change token type after pasting spellings. | |
2024 | (paste_all_tokens): Use it. | |
2025 | * gcc.dg/cpp/paste2.c: Update test. | |
2026 | * objc/execute/paste.m: New test. | |
2027 | ||
21bc13c9 RH |
2028 | 2000-11-20 Richard Henderson <rth@redhat.com> |
2029 | ||
2030 | * dwarf.h (FMT_CODE): Adjust argument order; fix mapping to | |
2031 | dwarf_subscr_data_formats bits. | |
2032 | * dwarfout.c (simple_type_size_in_bits): Handle a type with | |
2033 | no computed size as size zero. | |
2034 | (field_byte_offset): Likewise. | |
2035 | (subscript_data_attribute): Handle a range with no upper bound. | |
2036 | ||
250333d0 KG |
2037 | 2000-11-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2038 | ||
2039 | * gansidecl.h (const): Check __STDC__ before undef'ing `const'. | |
2040 | ||
1d7ff272 JM |
2041 | 2000-11-20 Joseph S. Myers <jsm28@cam.ac.uk> |
2042 | ||
2043 | * c-typeck.c (build_conditional_expr): When merging type | |
2044 | qualifiers for conditional expressions between a pointer and a | |
2045 | pointer to a void type, merge the qualifiers on the target types | |
2046 | rather than the pointer type. Remove obsolete conditioned out | |
2047 | code. | |
2048 | ||
dd07b884 NB |
2049 | 2000-11-20 Neil Booth <neilb@earthling.net> |
2050 | ||
2051 | * c-lang.c (lang_init_options): Update call to | |
2052 | cpp_reader_init. | |
2053 | * cppmain.c (main): Similarly. | |
2054 | * fix-header.c (read_scan_file): Similarly. | |
2055 | * cp/lex.c (lang_init_options): Similarly. | |
2056 | * objc/objc-act.c (lang_init_options): Similarly. | |
2057 | * cppexp.c (parse_number): Only warn for unextended C89. | |
2058 | * cppinit.c (set_lang): New function. | |
2059 | (cpp_reader_init): Take a LANG argument and pass it to set_lang. | |
2060 | (COMMAND_LINE_OPTIONS): New option std=c++98. | |
2061 | (cpp_handle_option): Use set_lang. | |
2062 | * cpplex.c (_cpp_lex_token): Warn pedantically if not C99. | |
2063 | * cppib.h (enum_c_lang): New enumeration. Update comments. | |
2064 | ||
8d50dfb8 WC |
2065 | 2000-11-20 Will Cohen <wcohen@redhat.com> |
2066 | ||
2067 | * calls.c (expand_call): Clear target only when target is in | |
2068 | hard register and current_function_check_memory_usage is set. | |
2069 | ||
bd675859 BS |
2070 | 2000-11-20 Bernd Schmidt <bernds@redhat.co.uk> |
2071 | ||
2072 | * toplev.c (rest_of_compilation): Run optimize_mode_switching even | |
2073 | if not optimizing. | |
2074 | * sh.c (emit_sf_insn, emit_df_insn): Just call emit_insn. | |
2075 | ||
3df18884 RH |
2076 | 2000-11-19 Richard Henderson <rth@redhat.com> |
2077 | ||
52403abb RH |
2078 | * crtstuff.c (force_to_data): Use array size 1 not 0. |
2079 | ||
3df18884 RH |
2080 | * dwarf2out.c (simple_type_size_in_bits): Handle a type with |
2081 | no computed size as size zero. | |
2082 | (field_byte_offset): Likewise. | |
2083 | ||
cfd1c7ea JM |
2084 | 2000-11-20 Joseph S. Myers <jsm28@cam.ac.uk> |
2085 | ||
2086 | * config.gcc: Fix another typo. | |
2087 | ||
a25f1211 RH |
2088 | 2000-11-19 Richard Henderson <rth@redhat.com> |
2089 | ||
2090 | * c-decl.c (grokdeclarator): Support flexible array members. | |
2091 | Use open-ended ranges for these and zero-length arrays. | |
2092 | * c-typeck.c (push_init_level): Validate the context of | |
2093 | initialization of a zero-length array. | |
2094 | * tree.c (int_fits_type_p): Be prepared for missing bounds. | |
2095 | * varasm.c (array_size_for_constructor): New. | |
2096 | (output_constructor): Use it for arrays of unspecified length. | |
2097 | * extend.texi (Zero Length): Mention C99 flexible array members. | |
2098 | Document initialization in a top-level struct as valid. | |
2099 | ||
65fa2185 JM |
2100 | 2000-11-19 Joseph S. Myers <jsm28@cam.ac.uk> |
2101 | ||
9e8fc4b8 JM |
2102 | * config.gcc, invoke.texi: Fix errors in spelling of "deprecated". |
2103 | ||
65fa2185 JM |
2104 | * alias.c (mems_in_disjoint_alias_sets_p): Do use alias sets in |
2105 | stdarg and varargs functions. | |
2106 | ||
2e59adac ZW |
2107 | 2000-11-19 Zack Weinberg <zack@wolery.stanford.edu> |
2108 | ||
2109 | * gcc.c (process_command): Define 'j' variable when | |
2110 | MODIFY_TARGET_NAME is defined. | |
2111 | ||
856442b6 RH |
2112 | 2000-11-19 Richard Henderson <rth@redhat.com> |
2113 | ||
2114 | * stor-layout.c (variable_size): Only put SAVE_EXPRs on pending_sizes. | |
2115 | ||
88c1e412 FS |
2116 | 2000-11-19 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
2117 | ||
2118 | * rs6000/rs6000.c (rs6000_encode_section_info): Fix string length | |
2119 | calculation and allocation. | |
2120 | ||
ce1cc601 KG |
2121 | 2000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2122 | ||
2123 | * builtins.c (c_getstr): Constify variable. | |
2124 | * gmon-sol2.c (_mcleanup): Comment out #endif labels. | |
2125 | * conflict.c (const_conflict_graph_arc): New typedef. | |
2126 | (arc_hash, arc_eq): Avoid needlessly casting away const-ness. | |
2127 | * cppmacro.c (builtin_macro): Likewise. | |
2128 | * dwarf2out.c (output_comp_unit): Constify variable. | |
2129 | * fix-header.c (v_fatal): Add ATTRIBUTE_PRINTF. | |
2130 | * protoize.c (IS_SAME_PATH_CHAR): Use TOUPPER, not toupper. | |
2131 | * ssa.c (ssa_rename_from_hash_function): Avoid needlessly casting | |
2132 | away const-ness. | |
2133 | * tradcpp.c (rescan, do_line, macroexpand, macarg): Use | |
f6bbde28 | 2134 | ISALNUM/ISDIGIT/ISPRINT, not isalnum/isdigit/isprint. |
ce1cc601 KG |
2135 | * varasm.c (const_str_htab_hash, const_str_htab_eq, |
2136 | compare_constant_1, record_constant_1): Constify. | |
2137 | ||
967e627a RH |
2138 | 2000-11-18 Richard Henderson <rth@redhat.com> |
2139 | ||
2140 | * c-decl.c (grokdeclarator): Special case the creation of an | |
2141 | index for a zero-length array. | |
2142 | * tree.c (build_index_type): Revert Oct 20 change. | |
2143 | ||
e9284adf MM |
2144 | 2000-11-18 Marek Michalkiewicz <marekm@linux.org.pl> |
2145 | ||
2146 | * config/avr/avr-protos.h (avr_output_addr_vec_elt): Prototype. | |
2147 | * config/avr/avr.c (jump_tables_size): New variable. | |
2148 | (function_prologue): Initialize it as 0. | |
2149 | (function_epilogue): Add it to function_size. | |
2150 | (avr_output_addr_vec_elt): New function. Count words in jump | |
2151 | tables in jump_tables_size. Move code ... | |
2152 | * config/avr/avr.h (ASM_OUTPUT_ADDR_VEC_ELT): ... from here. | |
2153 | Call avr_output_addr_vec_elt instead. | |
2154 | * config/avr/avr.md (tablejump): Remove disabled define_expand. | |
2155 | ||
67c72a63 MM |
2156 | 2000-11-18 Mark Mitchell <mark@codesourcery.com> |
2157 | ||
2158 | * configure.in: Make --enable-new-gxx-abi the default. | |
2159 | * configure: Likewise. | |
2160 | ||
0a8ad417 KG |
2161 | 2000-11-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2162 | ||
2163 | * Makefile.in (tradcpp.o, tradcif.o): Depend on tradcpp.h. | |
2164 | ||
2165 | * tradcif.y: Include tradcpp.h. Constify. Make functions static. | |
2166 | Move extern function declarations to tradcpp.h. | |
2167 | ||
2168 | * tradcpp.c: Likewise. | |
2169 | ||
2170 | * tradcpp.h: New file. | |
2171 | ||
77c4d6c0 JM |
2172 | 2000-11-18 Joseph S. Myers <jsm28@cam.ac.uk> |
2173 | ||
2174 | * c-decl.c (check_for_loop_decls): New function. | |
2175 | * c-parse.in (for_init_stmt): New. | |
2176 | (select_or_iter_stmt): Use for_init_stmt. | |
2177 | * c-tree.h (check_for_loop_decls): New declaration. | |
2178 | ||
4a58aab6 NB |
2179 | 2000-11-18 Neil Booth <neilb@earthling.net> |
2180 | ||
2181 | * cppinit.c: Update comments. | |
2182 | (cpp_reader_init): Make -imacro and -include use the standard | |
2183 | #include "" search path. | |
2184 | (do_includes): New function. | |
2185 | ||
c3e2d242 BE |
2186 | 2000-11-18 Ben Elliston <bje@redhat.com> |
2187 | ||
2188 | * config/sh/crt1.asm (start_l): Move PC-relative move instruction | |
2189 | out of a branch delay slot. | |
2190 | ||
48adb36e RH |
2191 | 2000-11-17 Richard Henderson <rth@redhat.com> |
2192 | ||
2193 | * config/alpha/elf.h (PREFERRED_DEBUGGING_TYPE): Set to DWARF2_DEBUG. | |
2194 | (ASM_SPEC): Disable and enable .mdebug based on -gstabs. | |
2195 | (ASM_FILE_START): Only write out ecoff .file directive if | |
2196 | emitting mdebug debugging. | |
2197 | ||
9d147085 RH |
2198 | 2000-11-17 Richard Henderson <rth@redhat.com> |
2199 | ||
2200 | * configure.in (HAVE_AS_DWARF2_DEBUG_LINE): New. Detect | |
2201 | whether as accepts .file/.loc and produces dwarf2 line info. | |
2202 | * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Default on if | |
2203 | the assembler supports it. | |
2204 | * config.in, configure: Regenerate. | |
2205 | ||
5b87e928 RH |
2206 | 2000-11-17 Richard Henderson <rth@redhat.com> |
2207 | ||
2208 | * fixinc/mkfixinc.sh: Don't disable fixincludes for any linux*. | |
2209 | ||
95c8e04b JW |
2210 | 2000-11-17 Jim Wilson <wilson@redhat.com> |
2211 | ||
f6bbde28 | 2212 | * config/ia64/ia64.c (emit_insn_group_barriers, case CALL_INSN): |
95c8e04b JW |
2213 | Don't clear need_barrier is next_insn is a CALL_INSN, or has |
2214 | instruction type B or UNKNOWN. | |
2215 | ||
14fbab6d NB |
2216 | 2000-11-17 Neil Booth <neilb@earthling.net> |
2217 | ||
a25f1211 | 2218 | * cpperror.c (print_file_and_line): Don't display line number if 0. |
14fbab6d | 2219 | |
a8a05998 ZW |
2220 | 2000-11-17 Zack Weinberg <zack@wolery.stanford.edu> |
2221 | ||
2222 | * ggc.h: Delete ggc_add_string_root and ggc_mark_string. Add | |
2223 | digit_vector and digit_string. | |
2224 | * stringpool.c (digit_vector): New. | |
2225 | (ggc_alloc_string): Use digit_string. | |
2226 | ||
2227 | * stmt.c (digit_strings): Delete. | |
2228 | (init_stmt): Do not initialize digit_strings. | |
2229 | (expand_asm_operands): Use ggc.h's digit_string macro. | |
2230 | * toplev.c (mark_file_stack): Delete. | |
2231 | (compile_file): Don't call init_tree_codes. | |
2232 | (main): No need to make the file stack a GC root. | |
2233 | * tree.c (init_tree_codes): Delete. | |
2234 | * tree.h (init_tree_codes): Delete. | |
2235 | ||
2236 | * c-lex.c: Don't include ggc.h. | |
2237 | (mark_splay_tree_node, mark_splay_tree): Delete. | |
2238 | (init_c_lex): No need to ggc_strdup string constant. Don't add | |
2239 | file_info_tree to GGC roots. | |
2240 | (cb_enter_file, cb_rename_file): No need to ggc_strdup | |
2241 | ip->nominal_fname. | |
2242 | ||
2243 | * Makefile.in (c-lex.o): No longer depends on $(GGC_H). | |
2244 | ||
2245 | * dbxout.c (dbxout_init), | |
2246 | dwarf2out.c (dwarf2out_line), | |
2247 | ggc-common.c (ggc_mark_rtx_children, ggc_mark_trees), | |
2248 | varasm.c (mark_const_hash_entry, mark_pool_constant, init_varasm_once), | |
2249 | xcoffout.c (xcoffout_source_file), | |
2250 | i386.c (load_pic_register): | |
2251 | Delete call(s) to ggc_add_string_root and/or ggc_mark_string. | |
2252 | ||
2253 | * except.c (create_rethrow_ref), | |
2254 | profile.c (init_edge_profiler), | |
2255 | toplev.c (compile_file), | |
2256 | varasm.c (named_section, assemble_static_space, | |
2257 | assemble_trampoline_template, output_constant_def, force_const_mem), | |
2258 | i386.c (load_pic_register), | |
2259 | ia64.c (ia64_encode_section_info), | |
2260 | rs6000.c (rs6000_emit_load_toc_table, create_TOC_reference, | |
2261 | rs6000_emit_prologue, rs6000_emit_epilogue), | |
2262 | rs6000.md (load_toc_aix_si, load_toc_aix_di): | |
2263 | Change ggc_alloc_string (var, -1) to ggc_strdup (var). | |
2264 | ||
2265 | * profile.c (output_func_start_profiler), | |
2266 | tree.c (make_node), | |
2267 | i386.c (load_pic_register): No need to ggc_strdup string constant. | |
2268 | ||
61ed06c3 HPN |
2269 | 2000-11-17 Hans-Peter Nilsson <hp@axis.com> |
2270 | ||
2271 | * Makefile.in (config.status): Depend on config.gcc. | |
2272 | * configure.in <for machine in $build $host $target>: Move | |
2273 | contents of loop into config.gcc, removing autoconf quoting. | |
2274 | Fix changequote bug for alpha*-*-vxworks*. | |
2275 | * configure: Regenerate. | |
2276 | * config.gcc: New. | |
2277 | ||
520a57c8 ZW |
2278 | 2000-11-16 Zack Weinberg <zack@wolery.stanford.edu> |
2279 | ||
2280 | * c-parse.in (if_prefix): Find the filename and line number at | |
2281 | $-2 and $-1 respectively. | |
2282 | * diagnostic.c (error_recursion): Add missing newline, use | |
2283 | fputs, translate string. | |
2284 | ||
2285 | 2000-11-16 Zack Weinberg <zack@wolery.stanford.edu> | |
2286 | ||
2287 | * stringpool.c: New file. | |
2288 | * ggc-common.c (ggc_mark_string_ptr, ggc_add_string_root): Delete. | |
2289 | (ggc_alloc_string): Now in stringpool.o. | |
2290 | * ggc-page.c, ggc-simple.c: Do not define or allocate empty_string. | |
2291 | * ggc.h: Delete prototype of ggc_add_string_root. #define | |
2292 | ggc_add_string_root and ggc_mark_string to nothing. Prototype | |
2293 | init_stringpool and stringpool_statistics. | |
2294 | (ggc_alloc_string): Returns a const char *. | |
2295 | * tree.c (hash_table, do_identifier_warnings): Delete. | |
2296 | (init_obstacks): Don't initialize the identifier hash table. | |
2297 | (get_identifier, maybe_get_identifier, start_identifier_warnings, | |
2298 | set_identifier_size): Now in stringpool.c. | |
2299 | * tree.h (struct tree_string): Constify pointer field. | |
2300 | (approx_sqrt): Prototype. | |
2301 | ||
2302 | * Makefile.in (stringpool.o): Add rule, mention in OBJS. | |
2303 | ||
2304 | * toplev.c (approx_sqrt): New function. | |
2305 | (compile_file): Call stringpool_statistics if mem_report is on. | |
2306 | (main): Call init_stringpool. | |
2307 | ||
2308 | * builtins.c (c_strlen), c-decl.c (finish_decl), c-lex.c | |
2309 | (process_directive), c-typeck.c (constructor_asmspec, struct | |
2310 | initializer_stack, start_init), except.c (create_rethrow_ref), | |
2311 | stmt.c (digit_strings), toplev.c (decode_f_option), tree.c | |
2312 | (built_in_filename), varasm,c (in_named_name, | |
2313 | assemble_static_space, struct constant_descriptor, struct | |
2314 | deferred_string, struct pool_constant, force_const_mem), | |
2315 | i386.c (pic_label_name, global_offset_table_name), rs6000.c | |
2316 | (rs6000_emit_prologue, rs6000_emit_epilogue) : Constify a char *. | |
2317 | ||
2318 | * c-common.c (combine_strings): Combine strings in scratch | |
2319 | buffer, then pass to build_string. | |
2320 | * optabs.c (init_libfuncs), profile.c (init_edge_profiler, | |
2321 | output_func_start_profiler), stmt.c (init_stmt), alpha.c | |
2322 | (alpha_need_linkage), arm.c (arm_encode_call_attribute), | |
2323 | i386.c (load_pic_register), ia64.c (ia64_encode_section_info), | |
2324 | rs6000.c (rs6000_encode_section_info): Create string in | |
2325 | scratch buffer, then pass to ggc_alloc_string. | |
2326 | ||
2327 | * stmt.c (expand_asm_operands): If we must adjust the | |
2328 | constraint strings, do so by creating a new one, not by | |
2329 | modifying the old one in place. Constify some char *s. | |
2330 | * config/pa/pa.c (hppa_encode_label): Drop unnecessary second | |
2331 | argument. Create string in scratch buffer, then pass to | |
2332 | ggc_alloc_string. | |
2333 | * config/pa/pa-protos.h: Update prototype. | |
2334 | * config/pa/elf.h, config/pa/pa.h, config/pa/som.h: | |
2335 | hppa_encode_label takes only one argument. | |
2336 | ||
dd3b81b4 KG |
2337 | 2000-11-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2338 | ||
2339 | * mcore.c (mcore_expand_prolog): Call xmalloc/xrealloc, not | |
2340 | malloc/realloc. | |
2341 | ||
2342 | * cpplib.c (glue_header_name): Likewise. | |
2343 | ||
2344 | * fixincl.c (run_compiles, start_fixer): Likewise. | |
2345 | ||
2346 | * fixlib.c (load_file_data): Likewise. | |
2347 | ||
2348 | * mkdeps.c (munge): Likewise. | |
2349 | ||
5074c1fe HPN |
2350 | 2000-11-17 Hans-Peter Nilsson <hp@axis.com> |
2351 | ||
2352 | * defaults.h [EH_FRAME_SECTION_ASM_OP] (EH_FRAME_SECTION): Remove | |
2353 | trailing ';'. Fix formatting. | |
2354 | ||
74fe26b2 JW |
2355 | 2000-11-16 Jim Wilson <wilson@redhat.com> |
2356 | ||
35d9f39d JW |
2357 | * config/ia64/ia64.h (MASK_INLINE_DIV_LAT, MASK_INLINE_DIV_THR): |
2358 | Shift masks left by one to avoid conflict. | |
2359 | ||
74fe26b2 JW |
2360 | * config/ia64/ia64.c (ia64_encode_section_info): Disallow decls with |
2361 | DECL_EXTERNAL set. | |
2362 | ||
68dfd979 NC |
2363 | 2000-11-16 Nick Clifton <nickc@redhat.com> |
2364 | ||
2365 | * config/arm/arm.c (output_arm_prologue): Note nested functions. | |
2366 | (arm_expand_prologue): For nested functions preserve the | |
2367 | static chain register during stack frame creation. | |
2368 | ||
2369 | * config/arm/arm.h (STATIC_CHAIN_REGNUM): Change to 12. | |
2370 | (ARM_INITIAL_FRAME_ELIMINATION_OFFSET): For a nested function | |
2371 | with a stack frame there is a 4 byte gap between the arg | |
2372 | pointer and the hard frame pointer (used to preserve the | |
2373 | static chain register during stack frame creation). | |
2374 | ||
3ab9a08f DD |
2375 | 2000-11-16 DJ Delorie <dj@redhat.com> |
2376 | ||
2377 | * rtl.c (read_rtx): Provide suitable names for unnamed | |
2378 | define_insn and define_insn_and_split patterns, based on file | |
2379 | and line numbers. | |
2380 | ||
fe6c2db9 NB |
2381 | 2000-11-15 Neil Booth <neilb@earthling.net> |
2382 | ||
a8a05998 ZW |
2383 | * cpplib.c (start_directive, end_directive): New functions. |
2384 | (_cpp_handle_directive, run_directive): Use them. | |
2385 | (_cpp_handle_directive): Don't -Wtraditional on indented | |
2386 | null directives. | |
2387 | (_cpp_push_buffer): Don't re-clear was_skipping. | |
2388 | * cpplib.h (struct cpp_reader): New member la_saved. | |
2389 | * cppmacro.c (cpp_get_token): Don't interpret _Pragma in | |
2390 | directives. | |
fe6c2db9 | 2391 | |
a8a05998 ZW |
2392 | gcc.dg/cpp/_Pragma1.c: Update. |
2393 | gcc.dg/cpp/_Pragma2.c: New test. | |
fe6c2db9 | 2394 | |
62136084 MM |
2395 | 2000-11-15 Mark Mitchell <mark@codesourcery.com> |
2396 | ||
2397 | * toplev.c (wrapup_global_declarations): Don't write out | |
2398 | artificial static variables that aren't needed. | |
2399 | ||
099dde21 BS |
2400 | 2000-11-15 Bernd Schmidt <bernds@redhat.co.uk> |
2401 | ||
2402 | * ia64.c (struct group): New structure. | |
2403 | (last_group): New static array. | |
2404 | (group_idx): New static variable. | |
2405 | (emit_group_barrier_after, errata_find_address_regs, errata_emit_nops): | |
2406 | New static functions. | |
2407 | (emit_insn_group_barriers): Initialize and keep track of group_idx | |
2408 | and last_group. | |
2409 | Call errata_emit_nops if TARGET_B_STEP or TARGET_A_STEP. | |
2410 | Replace all calls to emit_insn_after that emit a group barrier to use | |
2411 | emit_group_barrier_after. | |
2412 | * ia64.h (MASK_B_STEP): New. | |
2413 | (other MASK_XXX macros): Renumbered. | |
2414 | (TARGET_B_STEP): New. | |
2415 | (TARGET_SWITCHES): Add -mb-step. | |
2416 | ||
4e7b85ed FF |
2417 | 2000-11-15 Fred Fish <fnf@be.com> |
2418 | ||
2419 | * fixinc/mkfixinc.sh (fixincludes): Add *-*-beos* to list of | |
2420 | machines for which fixincludes is not needed. | |
2421 | * config/i386/x-beos (STMP_FIXPROTO): Don't run fixproto. | |
2422 | ||
ee3400e8 JM |
2423 | 2000-11-15 Jason Merrill <jason@redhat.com> |
2424 | ||
2425 | * diagnostic.c (finish_abort): New fn. | |
2426 | (fancy_abort, error_recursion): Use it. | |
2427 | * toplev.c (crash_signal): Likewise. | |
2428 | * diagnostic.h: Declare it. | |
2429 | ||
12e1243e AH |
2430 | 2000-11-13 Andrew Haley <aph@redhat.com> |
2431 | ||
2432 | * tree.c (build_type_no_quals): New function. | |
2433 | * tree.h (build_type_no_quals): Declare. | |
2434 | * c-common.c (c_get_alias_set): When considering type | |
2435 | compatibility for pointer types, ignore cv-qualifiers anywhere in | |
2436 | a pointer chain. | |
2437 | ||
695e4773 GS |
2438 | 2000-11-15 Graham Stott <grahams@redhat.com> |
2439 | ||
2440 | * regrename.c (scan_rtx_rtx): Skip to the next chain on | |
2441 | encountering a terminated chain. | |
2442 | ||
5a7c1037 MM |
2443 | 2000-11-14 Mark Mitchell <mark@codesourcery.com> |
2444 | ||
2445 | * configure.in: Move check for V3 above check for C++ header-file | |
2446 | directory. | |
2447 | * configure: Regenerated. | |
a8a05998 | 2448 | |
568c5140 DD |
2449 | 2000-11-14 DJ Delorie <dj@redhat.com> |
2450 | ||
2451 | * config/v850/v850.c: Remove obstacks. | |
2452 | ||
1268b05f MM |
2453 | Tue Nov 14 21:54:31 2000 Marek Michalkiewicz <marekm@linux.org.pl> & Denis Chertykov <denisc@overta.ru> |
2454 | ||
2455 | * config/avr/avr.c (avr_case_values_threshold): New. | |
2456 | (avr_override_options): Set it depending on options, make it large | |
2457 | when not optimizing to work around "unable to generate reloads". | |
2458 | ||
2459 | * config/avr/avr.h (TARGET_SWITCHES): Add -mno-tablejump option. | |
2460 | (EXTRA_SECTION_FUNCTIONS): Make the .progmem.gcc_sw_table section | |
2461 | executable if not AVR_MEGA. Make sure jump tables are word-aligned. | |
2462 | (JUMP_TABLES_IN_TEXT_SECTION): Define as 0, not 1. | |
2463 | (ASM_OUTPUT_ADDR_VEC_ELT): Optimize, use "rjmp" if not AVR_MEGA. | |
2464 | (avr_case_values_threshold): Declare as extern int. | |
2465 | (CASE_VALUES_THRESHOLD): Define as avr_case_values_threshold. | |
2466 | ||
2467 | * config/avr/avr.md (tablejump): Removed. | |
2468 | (*tablejump_rjmp): New for jump tables made from "rjmp" instructions. | |
2469 | (*tablejump_lib, *tablejump_enh, *tablejump): Change to expect the | |
2470 | index in the table, not multiplied by 2. | |
2471 | (casesi): Change to match the above insns. Always enable. | |
2472 | ||
2473 | * config/avr/libgcc.S (__tablejump__): Rename to __tablejump2__. | |
2474 | Change to expect the word address of the table, multiply it by 2 | |
2475 | here and not in the caller. Change "adiw" to faster "inc". | |
2476 | ||
7f2f1a66 NB |
2477 | 2000-11-14 Neil Booth <neilb@earthling.net> |
2478 | ||
2479 | * cppexp.c (parse_defined): Call cpp_get_token not | |
2480 | _cpp_get_token. | |
2481 | (lex): Similarly. | |
2482 | * cpplex.c (cpp_output_line): Similarly. | |
2483 | * cpplib.c (glue_header_name, do_line, do_ident, | |
2484 | parse_answer, parse_assertion): Similarly. | |
2485 | (_cpp_handle_diretive): Don't save to lookaheads | |
2486 | when processing directives. | |
2487 | * cppmacro.c (parse_arg, expand_arg): Call cpp_get_token not | |
2488 | _cpp_get_token. | |
2489 | (funlike_invocation_p): Don't save to lookaheads | |
2490 | when pre-expanding arguments. | |
2491 | (_cpp_get_token): Delete. | |
2492 | (cpp_get_token): Merge contents of _cpp_get_token. | |
2493 | ||
f36d6244 JJ |
2494 | 2000-11-14 Jakub Jelinek <jakub@redhat.com> |
2495 | ||
2496 | * builtins.c (expand_builtin_setjmp): Set | |
2497 | current_function_calls_setjmp. | |
2498 | (expand_builtin_longjmp): Set current_function_calls_longjmp. | |
2499 | ||
2500 | * config/sparc/sparc.md (builtin_setjmp_setup): New expand. | |
2501 | (do_builtin_setjmp_setup): New insn. | |
2502 | ||
3401c26b RK |
2503 | Tue Nov 14 12:34:56 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
2504 | ||
2505 | * tree.c (get_unwidened): Use host_integerp and tree_low_cst. | |
2506 | (int_fits_type_p): For variable bounds, call force_fit_type. | |
2507 | ||
bd7cf17e JJ |
2508 | 2000-11-14 Jakub Jelinek <jakub@redhat.com> |
2509 | ||
2510 | * varasm.c (struct deferred_string): New structure. | |
2511 | (const_str_htab): New variable. | |
2512 | (STRHASH): New macro. | |
2513 | (mark_const_str_htab_1, mark_const_str_htab, const_str_htab_hash, | |
2514 | constr_str_htab_eq, const_str_htab_del): New functions. | |
2515 | (output_constant_def): Add DEFER argument, defer string | |
2516 | constants until mark_constant_pool time if requested. | |
2517 | (mark_constant_pool): Walk the insn chain even if const_str_htab is | |
2518 | not empty. | |
2519 | (mark_constants): If a SYMBOL_REF for deferred string is found, | |
2520 | output it and remove from hash table. | |
2521 | (output_addressed_constants): Set DEFER to 0 in call to | |
2522 | output_constant_def. | |
2523 | * rtl.h (STRING_POOL_ADDRESS_P): Define. | |
2524 | (output_constant_def): Adjust prototype. | |
2525 | * expr.c (expand_expr): Set DEFER to 1 in call to output_constant_def. | |
2526 | ||
10e927ef CC |
2527 | 2000-11-14 Chandrakala Chavva <cchavva@redhat.com> |
2528 | ||
2529 | * optabs.c (expand_complex_ab):: Use overflow-trapping optabs for | |
2530 | signed types if flag_trapv. | |
2531 | ||
ef90743a ZW |
2532 | 2000-11-14 Zack Weinberg <zack@wolery.stanford.edu> |
2533 | ||
2534 | * tradcpp.c, tradcif.y: Update FSF mailing address, delete | |
2535 | reference to GPLv1. | |
2536 | ||
fe8ca71f JM |
2537 | 2000-11-14 Joseph S. Myers <jsm28@cam.ac.uk> |
2538 | ||
2539 | * c-common.h (CTI_C_SIZE_TYPE): Update comment. | |
2540 | ||
94b01be3 JJ |
2541 | 2000-11-14 Jakub Jelinek <jakub@redhat.com> |
2542 | ||
2543 | * varasm.c (struct varasm_status): Change x_const_rtx_sym_hash_table | |
2544 | to array of pool_constnat pointers. | |
2545 | (struct pool_constant): Add next_sym and label members. | |
2546 | (struct pool_sym): Remove. | |
2547 | (init_varasm_status): Change pool_sym into pool_constant. | |
2548 | (mark_pool_constant): Mark pc->label string as well. | |
2549 | (mark_pool_sym_hash_table): Remove. | |
2550 | (mark_varasm_status): Remove it from caller as well. | |
2551 | (free_varasm_status): Don't free pool_sym structures. | |
2552 | (force_const_mem): Don't allocate pool_sym structure, instead | |
2553 | fill pool->label and chain it into rtx_sym hash table. | |
2554 | (find_pool_constant, mark_constant_pool): Use pool_constant instead | |
2555 | of pool_sym. | |
2556 | ||
716120a7 JJ |
2557 | 2000-11-14 Jakub Jelinek <jakub@redhat.com> |
2558 | ||
2559 | * reload1.c (emit_input_reload_insns): Honour forcing of constants | |
2560 | into memory by PREFERRED_RELOAD_CLASS NO_REGS. | |
2561 | ||
f8032688 MM |
2562 | 2000-11-14 Michael Matz <matzmich@cs.tu-berlin.de> |
2563 | ||
2564 | * dominance.c: New file. | |
2565 | * Makefile.in (OBJS): Add dominance.o. | |
2566 | ||
2567 | * flow.c (compute_flow_dominators): Remove. | |
2568 | (compute_immediate_dominators): Remove. | |
2569 | (compute_immediate_postdominators): Remove. | |
2570 | * basic-block.h: Remove their prototypes. | |
2571 | (calculate_dominance_info): Add prototype. | |
2572 | ||
2573 | * dce.c (eliminate_dead_code): Change calls to above functions. | |
2574 | Don't compute dominators but only immediate dominators. | |
2575 | * flow.c (flow_loops_find): Change callers. | |
2576 | * gcse.c (compute_code_hoist_data): Likewise. | |
2577 | * haifa-sched.c (schedule_insns): Likewise. | |
2578 | * ifcvt.c (if_convert): Likewise. | |
2579 | * ssa.c (convert_to_ssa): Likewise, and only compute immediate | |
2580 | dominators. | |
2581 | ||
0caa3c8e RH |
2582 | 2000-11-14 Richard Henderson <rth@redhat.com> |
2583 | ||
6f122550 RH |
2584 | * stmt.c (warn_if_unused_value): Don't warn if the expression |
2585 | has side effects. | |
2586 | ||
0caa3c8e RH |
2587 | * c-typeck.c (c_sizeof): Fold result to c_size_type_node. |
2588 | (c_sizeof_nowarn, c_alignof, c_alignof_expr): Likewise. | |
2589 | ||
a78cc542 FS |
2590 | 2000-11-13 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
2591 | ||
2592 | * loop.c (basic_induction_var): Revert accidental checkin. | |
2593 | ||
d9068c61 HPN |
2594 | 2000-11-13 Hans-Peter Nilsson <hp@axis.com> |
2595 | ||
2596 | * c-lex.c (cb_leave_file): Harmonize conditions and order of | |
2597 | statements to those of process_directive for (action == act_pop). | |
2598 | ||
2599 | * collect2.c (main): Pass on -B options from COLLECT_GCC_OPTIONS. | |
2600 | ||
2601 | * local-alloc.c (equiv_init_movable_p): References to CC0 are not | |
2602 | movable. | |
2603 | ||
ebf02523 JM |
2604 | 2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk> |
2605 | ||
2606 | * c-parse.in (stmts_and_decls): Deprecate use of label at end of | |
2607 | compound statement. | |
2608 | ||
29b10746 NB |
2609 | 2000-11-13 Neil Booth <neilb@earthling.net> |
2610 | ||
ee3400e8 JM |
2611 | * cpplex.c (_cpp_lex_token): CPP_COMMENT and true CPP_EOF |
2612 | cases return without MI check. | |
2613 | * cpplib.c (do_diagnostic): Take boolean of whether to | |
2614 | print the directive name. | |
2615 | (do_error, do_warning): Update. | |
2616 | (do_pragma_dependency): Use it. | |
2617 | * cpplib.h (VARARGS_FIRST): Delete. | |
2618 | (struct cpp_token): Delete integer. | |
2619 | * cppmacro.c (enter_macro_context): Move disabled check | |
2620 | to _cpp_get_token. | |
2621 | (_cpp_get_token): Simplify into a single loop. | |
29b10746 | 2622 | |
8105825d RE |
2623 | 2000-11-13 Richard Earnshaw <rearnsha@arm.com> |
2624 | ||
2625 | * configure.in: Use 'test -f' not '[ -e'. | |
2626 | * configure: Regenerated. | |
2627 | ||
481a6b4a DD |
2628 | 2000-11-13 DJ Delorie <dj@redhat.com> |
2629 | ||
2630 | * config/mn10300/mn10300.md (store_movm): Note which registers are | |
2631 | really used or clobbered. | |
2632 | ||
b7438415 JM |
2633 | 2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk> |
2634 | ||
2635 | * c-parse.in (ends_in_label): Remove from %union and %type. | |
2636 | (decls, stmts, lineno_stmt_or_labels, xstmts, | |
2637 | lineno_stmt_or_label, stmt_or_label): Remove. | |
2638 | (stmts_and_decls, lineno_stmt_decl_or_labels_ending_stmt, | |
2639 | lineno_stmt_decl_or_labels_ending_decl, | |
2640 | lineno_stmt_decl_or_labels_ending_label, | |
2641 | lineno_stmt_decl_or_labels_ending_error, | |
2642 | lineno_stmt_decl_or_labels, compstmt_contents_nonempty, | |
2643 | lineno_stmt, lineno_label): New. | |
2644 | (compstmt_nostart): Use compstmt_contents_nonempty. | |
2645 | ||
19552aa5 JM |
2646 | 2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk> |
2647 | ||
2648 | * c-common.c (boolean_increment): New function. | |
2649 | * c-common.h (enum c_tree_index): Add CTI_C_BOOL_TYPE, | |
2650 | CTI_C_BOOL_TRUE and CTI_C_BOOL_FALSE. | |
2651 | (c_bool_type_node, c_bool_true_node, c_bool_false_node): Define. | |
2652 | (boolean_increment): Declare. | |
2653 | * c-convert.c (convert): Allow for BOOLEAN_TYPE. | |
2654 | * c-decl.c (init_decl_processing): Create boolean nodes. | |
2655 | (finish_struct): Allow for _Bool bitfields. | |
2656 | * c-parse.in (reswords): Add _Bool. | |
2657 | (rid_to_yy): Allow for RID_BOOL. | |
2658 | * c-typeck.c (default_conversion): Make booleans promote to int. | |
2659 | (convert_arguments, build_unary_op, build_modify_expr, | |
2660 | convert_for_assignment): Allow for booleans. | |
2661 | * ginclude/stdbool.h: Make conforming to C99. | |
2662 | ||
444ca59f JM |
2663 | 2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk> |
2664 | ||
2665 | * c-parse.in (c99_block_start, c99_block_end, | |
2666 | c99_block_lineno_labeled_stmt): New. | |
2667 | (simple_if, do_stmt_start): Use c99_block_lineno_labeled_stmt. | |
2668 | (stmt): Split off selection and iteration statements into... | |
2669 | (select_or_iter_stmt): New. Use c99_block_lineno_labeled_stmt. | |
2670 | ||
f2ecb02d JM |
2671 | 2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk> |
2672 | ||
2673 | * invoke.texi (-Wtrigraphs, -fdump-translation-unit, -save-temps, | |
2674 | -time): Update. | |
2675 | ||
b082bfdb RE |
2676 | 2000-11-13 Richard Earnshaw <rearnsha@arm.com> |
2677 | ||
2678 | * arm.md (mulsidi3adddi, umulsidi3adddi): Revert previous change. | |
2679 | Rewrite to avoid use of match_dup. Don't try to tie registers that | |
2680 | are not in the same mode. | |
2681 | ||
b9265ec1 JM |
2682 | 2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk> |
2683 | ||
2684 | * invoke.texi: Update lists of languages and suffixes supported. | |
2685 | ||
cc1e60ea JM |
2686 | 2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk> |
2687 | ||
2688 | * configure.in: Take toplevel configure arguments from the | |
2689 | environment to create configargs.h and substitute | |
2690 | gcc_config_arguments, taking account of any existing configargs.h | |
2691 | if reconfiguring. | |
2692 | * configure: Regenerate. | |
2693 | * gccbug.in: Include toplevel configure arguments in gccbug. | |
2694 | ||
37357796 RE |
2695 | 2000-11-13 Richard Earnshaw <rearnsha@arm.com> |
2696 | ||
2697 | * varasm.c (struct constant_descriptor): Put CONTENTS inside a | |
2698 | union to make it well-aligned. Update all uses. | |
2699 | ||
26d4fec7 JM |
2700 | 2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk> |
2701 | ||
2702 | * c-parse.in (initelt): Give appropriate pedantic warnings, | |
2703 | depending on flag_isoc99, for non-ISO syntax and for C99 syntax | |
2704 | outside C99 mode. | |
2705 | (designator): If pedantic, pedwarn for a designator specifying a | |
2706 | range of elements. | |
2707 | * c-typeck.c (set_init_index, set_init_label): Don't pedwarn for | |
2708 | these cases. | |
2709 | * extend.texi: Document the C99 syntax as the preferred syntax, | |
2710 | and the pre-2.5 syntax as obsolete. Mention use of designator | |
2711 | lists for nested subobjects. | |
2712 | ||
88f3c477 JM |
2713 | 2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk> |
2714 | ||
2715 | * diagnostic.c (vbuild_message_string, output_do_printf, vnotice): | |
2716 | Add ATTRIBUTE_PRINTF. | |
2717 | * tradcpp.c (v_message, warning, error, fatal, error_with_line): | |
2718 | Add ATTRIBUTE_PRINTF*. | |
2719 | ||
db5fbfb4 MM |
2720 | 2000-11-12 Mark Mitchell <mark@codesourcery.com> |
2721 | ||
2722 | * function.c (assign_parms): When calling put_var_into_stack, make | |
2723 | sure that there are no hidden pending sequences. | |
2724 | ||
c7b6c6cd KG |
2725 | 2000-11-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2726 | ||
2727 | * builtins.c (expand_builtin): Handle BUILT_IN_INDEX and | |
2728 | BUILT_IN_RINDEX. Add missing checks for BUILT_IN_STRCHR and | |
2729 | BUILT_IN_STRRCHR. | |
2730 | ||
2731 | * builtins.def (BUILT_IN_INDEX, BUILT_IN_RINDEX): New entries. | |
2732 | ||
2733 | * c-common.c (c_common_nodes_and_builtins): Declare index and | |
2734 | rindex when nonansi builtins are allowed. | |
2735 | ||
2736 | * extend.texi (index, rindex): Document new builtins. | |
2737 | ||
2f86842d MM |
2738 | 2000-11-12 Mark Mitchell <mark@codesourcery.com> |
2739 | ||
34f6fbdb MM |
2740 | * configure.in: Turn on libstdc++ V3 by default. |
2741 | * configure: Regenerated. | |
a8a05998 | 2742 | |
2f86842d MM |
2743 | * fixinc/mkfixinc.sh: Use the ordinary fixincludes on Solaris. |
2744 | ||
0c0ba09c JJ |
2745 | 2000-11-12 Jakub Jelinek <jakub@redhat.com> |
2746 | ||
2747 | * reload1.c (set_label_offsets): Go inside of PARALLELs. | |
2748 | ||
84a0e7b8 JM |
2749 | 2000-11-12 Joseph S. Myers <jsm28@cam.ac.uk> |
2750 | ||
2751 | * invoke.texi: Clean up option summary. | |
2752 | ||
4816b8e4 NC |
2753 | 2000-11-12 Nick Clifton <nickc@redhat.com> |
2754 | ||
2755 | * config/mcore/mcore.c: Fix comment formating, and adjust sequence | |
2756 | of #include headers. | |
2757 | ||
ee7692d2 | 2758 | 2000-11-12 Marc Espie <espie@openbsd.org> |
a8a05998 | 2759 | |
ee7692d2 ME |
2760 | * configure.in: Fix filds test. |
2761 | * configure: Regen. | |
2762 | ||
f8c4f860 MM |
2763 | 2000-11-12 Mark Mitchell <mark@codesourcery.com> |
2764 | ||
2765 | * jump.c (delete_computation): Don't assume that just becuase an | |
2766 | instruction sets a register, that register is dead. | |
2767 | ||
b528a07e NB |
2768 | 2000-11-12 Neil Booth <neilb@earthling.net> |
2769 | ||
a8a05998 ZW |
2770 | * cppexp.c: Don't worry about pfile->skipping. |
2771 | * cpplib.c (struct if_stack): Make was_skipping unsigned char. | |
2772 | (cpp_handle_directive): Save pfile->skipping in struct cpp_buffer | |
2773 | for handled directives. | |
2774 | (skip_rest_of_line): Use _cpp_lex_token after popping contexts | |
2775 | and releasing lookaheads. | |
2776 | (do_ifdef, do_ifndef, do_if): Use buffer->was_skipping. | |
2777 | (do_else, do_elif, push_conditional): Update logic. | |
2778 | (do_endif): Set buffer->was_skipping rather than pfile->skipping. | |
2779 | (unwind_if_stack): Inline into cpp_pop_buffer. | |
2780 | (cpp_push_buffer): Clear ifs->was_skipping for cpp_handle_directive. | |
2781 | * cpplex.c (_cpp_lex_token): Clear skipping on EOF. Handle | |
2782 | multiple-include optimisation. | |
2783 | * cpplib.h (struct cpp_buffer): New member was_skipping. | |
2784 | * cppmacro.c (_cpp_get_token): Loop whilst pfile->skipping. This | |
2785 | works because skipping == 0 in directives. | |
2786 | (_cpp_release_lookahead): Renamed from release_lookahead. | |
2787 | (cpp_get_token): No need to check skipping as _cpp_get_token does | |
2788 | this for us. No need to handle MI optimisation. | |
b528a07e | 2789 | |
995c461c MM |
2790 | Sat Nov 11 21:14:02 2000 Mark P Mitchell <mark@codesourcery.com> |
2791 | ||
2792 | * fixinc/inclhack.def (sunos_matherr_decl): Bypass matherr | |
2793 | declarations that use `__MATH_EXCEPTION' in their prototypes, too. | |
2794 | * fixinc/fixincl.x: Regenerated. | |
a8a05998 | 2795 | |
56a77e1e BK |
2796 | 2000-11-11 Bruce Korb <bkorb@gnu.org> |
2797 | ||
2798 | * fixinc/inclhack.def (avoid_bool_type): avoid commenting out #endif | |
2799 | (avoid_wchar_t_type): ditto | |
2800 | * fixinc/fixinc.irix: obsoleted | |
2801 | ||
72aaffbd ZW |
2802 | 2000-11-11 Zack Weinberg <zack@wolery.stanford.edu> |
2803 | ||
2804 | * configure.in: Don't add $outputs to all_lang_makefiles. Add | |
2805 | $srcdir/$s/Makefile.in if it exists. | |
2806 | * configure: Regenerate. | |
2807 | ||
bbdd639d MM |
2808 | Sat Nov 11 18:41:20 2000 Mark P Mitchell <mark@codesourcery.com> |
2809 | ||
2810 | * fixinc/mkfixinc.sh: Use the ordinary fixincludes on IRIX. | |
2811 | ||
d96a6d1a JM |
2812 | 2000-11-11 Jason Merrill <jason@redhat.com> |
2813 | ||
a8a05998 | 2814 | * function.c (assign_parms): If TREE_ADDRESSABLE is set, try to |
d96a6d1a JM |
2815 | give the parm a register and then call put_var_into_stack. |
2816 | * stmt.c (expand_decl): Likewise. | |
2817 | ||
8ee322c9 JM |
2818 | 2000-11-11 Joseph S. Myers <jsm28@cam.ac.uk> |
2819 | ||
2820 | * gcc.texi: Adjust wording. | |
2821 | ||
8b4c8a86 MM |
2822 | 2000-11-11 Mark Mitchell <mark@codesourcery.com> |
2823 | ||
2824 | * fixinc/inclhack.def (avoid_wchar_t_type): New fix. | |
2825 | * fininc/fixincl.x: Regenerated. | |
2826 | ||
639726ba JM |
2827 | 2000-11-11 Joseph S. Myers <jsm28@cam.ac.uk> |
2828 | ||
2829 | * invoke.texi: Correct spelling of -foptimize-register-move. | |
2830 | ||
4c2b647d NB |
2831 | 2000-11-11 Neil Booth <neilb@earthling.net> |
2832 | ||
2833 | Remove CPP_PLACEMARKERs. | |
2834 | ||
2835 | * cppexp.c (lex): Don't handle CPP_PLACEMARKER. | |
2836 | * cpplex.c (_cpp_lex_token): Rename skip_newlines to next_bol | |
2837 | * cpplib.c (skip_rest_of_line, check_eol, cpp_push_buffer): | |
a8a05998 | 2838 | Similarly. |
4c2b647d NB |
2839 | * cpplib.h: Remove CPP_PLACEMARKER. |
2840 | (struct lexer_state): Rename skip_newlines to next_bol. | |
2841 | * cppmacro.c (stringify_arg): Don't handle CPP_PLACEMARKER. | |
2842 | Simplify prev_white handling as a result. | |
2843 | (paste_all_tokens): Don't worry about CPP_PLACEMARKERs. | |
2844 | (parse_arg): Empty arguments are now empty, not CPP_PLACEMARKERs. | |
2845 | (parse_args): Similarly. Update argument count tests. | |
2846 | (enter_macro_context): Return 2 to indicate an empty macro. | |
2847 | (replace_args): Don't bother pre-expanding an empty argument. | |
2848 | Handle placemarkers and ## extension during pre-expansion. | |
2849 | (cpp_get_token): Handle empty macro expansions. Don't worry | |
2850 | about CPP_PLACEMARKERs. | |
2851 | (_cpp_create_definition): Empty macros are now empty. | |
2852 | (cpp_macro_defintion): Don't special case empty macros. | |
2853 | * scan-decls.c: Don't bother with CPP_PLACEMARKERs. | |
2854 | * c-lex.c: Similarly. | |
2855 | ||
c1030c7c JM |
2856 | 2000-11-11 Joseph S. Myers <jsm28@cam.ac.uk> |
2857 | ||
2858 | * gcc.texi, invoke.texi: Add new section discussing language | |
2859 | standards; link to it where appropriate; refer to ISO C instead of | |
2860 | ANSI C. | |
2861 | ||
93a77848 AO |
2862 | 2000-11-11 Alexandre Oliva <aoliva@redhat.com> |
2863 | ||
3650b695 AO |
2864 | * builtins.c (std_expand_builtin_va_start): Take PARM_BOUNDARY |
2865 | into account. | |
2866 | ||
93a77848 AO |
2867 | * config/sh/sh.h (MODES_TIEABLE_P): Don't tie SFmode to other FP |
2868 | modes. | |
2869 | ||
9a5a13c9 JM |
2870 | 2000-11-10 Joseph S. Myers <jsm28@cam.ac.uk> |
2871 | ||
2872 | * gcc.texi, gcov.texi: Update dates and version numbers. | |
2873 | ||
1e608388 ZW |
2874 | 2000-11-10 Zack Weinberg <zack@wolery.stanford.edu> |
2875 | ||
2876 | * configure.in: Remove AC_PROG_LEX and AC_PROG_YACC. Look for | |
2877 | flex and bison, specifically, first in a unified build and | |
2878 | then installed on the system. | |
2879 | * Makefile.in: Set BISON to @BISON@, FLEX to @FLEX@. Rename | |
2880 | LEXFLAGS to FLEXFLAGS. Adjust ORDINARY_FLAGS_TO_PASS to | |
2881 | match. | |
2882 | ||
2883 | (collect2.o, gcc.o, prefix.o, toplev.o, alloca.o, intl.o, | |
2884 | cppdefault.o): Remove pointless sed munging of source file | |
2885 | name. | |
2886 | ||
9532e31f BS |
2887 | 2000-11-10 Bernd Schmidt <bernds@redhat.co.uk> |
2888 | ||
2889 | * reload.c (find_reloads_address_1, case POST_MODIFY): Use RELOAD_OTHER | |
2890 | for address reloads. Push replacements for REG_INC notes. | |
2891 | (regno_clobbered_p): New arg SETS. Examine SETs if it's nonzero. All | |
2892 | callers changed. | |
2893 | * reload1.c (choose_reload_regs): Registers set in the insn can't be | |
2894 | used for RELOAD_OTHER reloads. | |
2895 | ||
721de836 MM |
2896 | 2000-11-10 Mark Mitchell <mark@codesourcery.com> |
2897 | ||
2898 | * c-dump.h: New file. | |
2899 | ||
4e135bdd KG |
2900 | 2000-11-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2901 | ||
2902 | * alpha.c (check_float_value): Use memcpy, not bcopy. | |
2903 | * arm.c (output_move_double): Likewise. | |
2904 | * arm.md: Likewise. | |
2905 | * m88k.c (legitimize_operand): Likewise. | |
2906 | * m88k.h (ORDER_REGS_FOR_LOCAL_ALLOC): Likewise. | |
2907 | * m88k.md: Likewise. | |
2908 | * mips.c (override_options): Likewise. | |
2909 | * mips.md: Likewise. | |
2910 | * romp.c (output_fpops): Likewise. | |
2911 | * rs6000.c (rs6000_override_options): Likewise. | |
2912 | * sh.md: Likewise. | |
2913 | * vax.c (check_float_value): Likewise. | |
2914 | ||
2915 | * emit-rtl.c (copy_rtx_if_shared, init_emit_once): Likewise. | |
2916 | * expmed.c (synth_mult): Likewise. | |
2917 | * final.c (add_bb_string): Likewise. | |
2918 | * genattr.c (main): Likewise. | |
2919 | * genattrtab.c (attr_string, simplify_cond, copy_rtx_unchanging): | |
2920 | Likewise. | |
2921 | * jump.c (thread_jumps): Likewise. | |
2922 | * prefix.c (save_string): Likewise. | |
2923 | * real.h (REAL_VALUE_FROM_CONST_DOUBLE): Likewise. | |
2924 | * regclass.c (init_reg_sets, init_reg_sets_1): Likewise. | |
2925 | * reload1.c (reload, eliminate_regs): Likewise. | |
2926 | ||
c8abeb44 JM |
2927 | 2000-11-10 Joseph S. Myers <jsm28@cam.ac.uk> |
2928 | ||
2929 | * gcc.texi (Service): Update to reflect current practice and | |
2930 | location of the GNU service directory. | |
2931 | ||
6fb85418 BS |
2932 | 2000-11-09 Bernd Schmidt <bernds@redhat.co.uk> |
2933 | ||
2934 | * regrename.c (build_def_use): Mark contents of REG_INC notes as | |
2935 | needing replacement. | |
2936 | ||
0c478921 BS |
2937 | * config/ia64/ia64.md (extendsfdf2, extendsftf2, extenddftf2): Emit |
2938 | a no-op move if regs are equal. | |
2939 | * toplev.c (rest_of_compilation): Do the noop moves elimination pass | |
a8a05998 | 2940 | when calling jump after post-reload splitting. |
0c478921 | 2941 | |
3b7a2e58 JM |
2942 | 2000-11-09 Jan van Male <jan.vanmale@fenk.wau.nl> |
2943 | ||
a8a05998 ZW |
2944 | * c-tree.texi: Fix typos. |
2945 | * extend.texi: Likewise | |
2946 | * gcov.texi: Likewise | |
2947 | * rtl.texi: Likewise | |
2948 | * tm.texi: Likewise | |
3b7a2e58 | 2949 | |
59257980 HPN |
2950 | 2000-11-09 Hans-Peter Nilsson <hp@axis.com> |
2951 | ||
2952 | * c-lex.c [! NO_IMPLICIT_EXTERN_C] (cb_enter_file): Check | |
2953 | in_system_header and flags[1] before dereferencing flags[2]. | |
2954 | ||
881a8969 MH |
2955 | 2000-11-09 Matthew Hiller <hiller@redhat.com> |
2956 | ||
2957 | * reload1.c (reload_combine): Fixed calculation of | |
2958 | first_index_reg, last_index_reg. | |
2959 | ||
0a7394bc MM |
2960 | 2000-11-09 Mark Mitchell <mark@codesourcery.com> |
2961 | ||
13507bd8 MM |
2962 | * c-dump.c (dequeue_and_dump): Dump function bodies. |
2963 | ||
0a7394bc MM |
2964 | * Makefile.in (C_AND_OBJC_OBJS): Add c-dump.o. |
2965 | (c-dump.o): New target. | |
2966 | * c-common.h (flag_dump_translation_unit): New variable. | |
2967 | (C_TYPE_QUALS): New macro. | |
2968 | (strip_array_types): New function. | |
2969 | (DECL_C_BIT_FIELD): New macro. | |
2970 | (SET_DECL_C_BIT_FIELD): Likewise. | |
2971 | (CLEAR_DECL_C_BIT_FIELD): Likewise. | |
2972 | (dump_info_p): New typedef. | |
2973 | (dump_tree_fn): Likewise. | |
2974 | (lang_dump_tree): New variable. | |
2975 | (dump_node_to_file): New function. | |
2976 | * c-common.c (flag_dump_translation_unit): Define it. | |
2977 | (strip_array_types): New function. | |
2978 | * c-decl.c (c_decode_option): Handle -fdump-translation-unit. | |
a8a05998 | 2979 | * c-lang.c (finish_file): Call dump_node_to_file if |
0a7394bc MM |
2980 | flag_dump_translation_unit. |
2981 | * c-semantics.c (mark_rtl_for_local_static): Fix typo in comment. | |
2982 | * c-tree.h (DECL_C_BIT_FIELD): Remove declaration. | |
2983 | * c-dump.c: New file. | |
a8a05998 | 2984 | |
abffe289 CF |
2985 | 2000-11-09 Christopher Faylor <cgf@cygnus.com> |
2986 | ||
2987 | * config/i386/cygwin.h: Add mingw startfile prefix. | |
2988 | ||
1288c070 RH |
2989 | 2000-11-09 Richard Henderson <rth@redhat.com> |
2990 | ||
2991 | * flow.c (invalidate_mems_from_set): Split out from ... | |
2992 | (mark_set_1): ... here. | |
2993 | (try_pre_increment_1): Use it. Use propagate_block_delete_insn | |
2994 | instead of turning insn into a NOTE_INSN_DELETED. | |
2995 | ||
01702459 JM |
2996 | 2000-11-10 Joseph S. Myers <jsm28@cam.ac.uk> |
2997 | ||
2998 | * extend.texi, invoke.texi: Move documentation of builtin versions | |
2999 | of C library functions to one place and update. | |
3000 | ||
30355eaa RH |
3001 | 2000-11-09 Richard Henderson <rth@redhat.com> |
3002 | ||
3003 | * fold-const.c (fold): Compare TYPE_MAIN_VARIANT rather than | |
3004 | the types themselves to discover type equivalence. | |
3005 | ||
5fcee6f3 MS |
3006 | 2000-11-09 Mike Stump <mrs@wrs.com> |
3007 | ||
3008 | * Makefile.in (distclean): Remove a few extra leftovers. | |
3009 | ||
377b6fce RH |
3010 | 2000-11-09 Richard Henderson <rth@redhat.com> |
3011 | ||
c0e3f87d RH |
3012 | * recog.c (validate_replace_rtx_1): Consider subregs when |
3013 | replacing a register with a constant inside a sign/zero_extend. | |
3014 | ||
377b6fce RH |
3015 | * config/alpha/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define. |
3016 | ||
b52114d2 GK |
3017 | 2000-11-09 Geoffrey Keating <geoffk@redhat.com> |
3018 | ||
3019 | * c-decl.c (finish_struct): When a structure is completed, | |
3020 | check all its variant types for completeness. | |
3021 | ||
a949941c NB |
3022 | 2000-11-09 Neil Booth <neilb@earthling.net> |
3023 | ||
3024 | * cpphash.c: Move cpp_defined here from cpplib.c. | |
3025 | * cpplib.c: Update comments, move cpp_defined to cpphash.c. | |
3026 | * cpplex.c (_cpp_lex_token): Don't leave the lexer at EOL. | |
3027 | * cppmacro.c (cpp_get_token): Update comments, no need now | |
3028 | to catch the CPP_EOF meaning EOL case. | |
3029 | ||
9a0662b4 GK |
3030 | 2000-11-08 Geoffrey Keating <geoffk@redhat.com> |
3031 | ||
3032 | * config/sparc/sparc.c (sparc_va_arg): When the required alignment | |
3033 | is more than that provided, copy to a temporary. | |
3034 | ||
6c80a645 AO |
3035 | 2000-11-09 Alexandre Oliva <aoliva@redhat.com> |
3036 | ||
3037 | * mklibgcc.in (EXTRA_MULTILIB_PARTS): Prevent `make' from | |
3038 | interpreting $out as a macro assignment. | |
3039 | * Makefile.in (T_TARGET): New auxiliary macro and target. | |
3040 | (all): Add a target right in the beginning, so that we don't build | |
3041 | T_TARGET by default. | |
3042 | ||
6a4afa6c GS |
3043 | 2000-11-09 Graham Stott <grahams@redhat.com> |
3044 | ||
a8a05998 | 3045 | * config/i386/i386.md (mmx_pinsrw): Output operands in correct |
6a4afa6c GS |
3046 | order for -mintel-syntax. Remove comment now that the operand |
3047 | order has been checked. | |
3048 | (mmx_pextrw): Likewise. | |
3049 | (mmx_pshufw): Likewise. | |
3050 | ||
2dee4af1 JJ |
3051 | 2000-11-09 Jakub Jelinek <jakub@redhat.com> |
3052 | ||
3053 | * builtins.c (c_strlen): Use TREE_STRING_LENGTH - 1 for max. | |
3054 | (c_getstr): New function. | |
3055 | (expand_builtin_strstr): Do nothing if -fcheck-memory-usage. | |
3056 | If both arguments are constant string, optimize out. | |
3057 | (expand_builtin_strchr, expand_builtin_strrchr): New functions. | |
3058 | (expand_builtin_strpbrk): Use c_getstr, do nothing if | |
3059 | -fcheck-memory-usage. | |
3060 | (expand_builtin_fputs): Likewise. | |
3061 | (expand_builtin_strcmp): Add MODE argument. | |
3062 | Use even if !HAVE_cmpstrsi. | |
3063 | Optimize the case when both arguments are constant strings. | |
3064 | (expand_builtin): Adjust expand_builtin_strcmp caller. | |
3065 | Call expand_builtin_strchr and expand_builtin_strrchr. | |
3066 | * c-common.c (c_common_nodes_and_builtins): Add strchr and strrchr | |
3067 | builtins. | |
3068 | * builtins.def (BUILT_IN_STRRCHR): Add. | |
3069 | ||
97dc9fc0 GP |
3070 | 2000-11-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
3071 | ||
3072 | * fixinc/gnu-regex.c: Rename EGCS LOCAL markers to GCC LOCAL. | |
3073 | ||
2e09e75a JM |
3074 | 2000-11-09 Joseph S. Myers <jsm28@cam.ac.uk> |
3075 | ||
3076 | * calls.c (expand_call, emit_library_call_value_1), collect2.c | |
3077 | (scan_prog_file), config/a29k/a29k.c (print_operand), | |
3078 | config/sparc/sparc.c (order_regs_for_local_alloc): Use memcpy () | |
3079 | instead of bcopy (). | |
3080 | * real.h: Use memcmp () instead of bcmp (). | |
3081 | * config/m88k/m88k.c (m88k_layout_frame), config/sh/sh.c | |
3082 | (split_branches), config/sparc/sparc.c (ultra_flush_pipeline, | |
3083 | ultrasparc_sched_init, ultrasparc_sched_reorder), | |
3084 | config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Use memset () | |
3085 | instead of bzero (). | |
3086 | * config/vax/xm-xms.h (FILE_NAME_NONDIRECTORY): Use strrchr () | |
3087 | instead of rindex (). | |
3088 | * configure.in: Don't check for bzero, bcmp, index or rindex. | |
3089 | * configure, config.in: Regenerate. | |
3090 | * system.h: Don't include declarations for bzero, bcmp, index or | |
3091 | rindex. | |
3092 | * config/i386/xm-beos.h, config/rs6000/xm-beos.h: Don't define | |
3093 | bzero, bcmp, index or rindex. | |
3094 | ||
03fb4780 CF |
3095 | Wed Nov 8 21:58:20 2000 Christopher Faylor <cgf@cygnus.com> |
3096 | ||
3097 | * config/i386/cygwin.h: Add -no-win32 switch. Separate -mno-cygwin | |
3098 | include and library paths from -mcygwin case. Parameterize some | |
3099 | declarations to avoid warnings. Use standard locations for include and | |
3100 | lib dirs. | |
3101 | ||
ca68ea18 NC |
3102 | 2000-11-08 Nick Clifton <nickc@redhat.com> |
3103 | ||
3104 | * config/arm/arm.md (mulsidi3adddi): Change output operand | |
eb68ad7c | 3105 | constraint from "=&" to "+&". |
ca68ea18 | 3106 | (umulsidi3adddi): Change output operand constraint from "=&" to |
eb68ad7c | 3107 | "+&". |
ca68ea18 | 3108 | |
c32e1e6f RH |
3109 | 2000-11-08 Richard Henderson <rth@redhat.com> |
3110 | ||
3111 | * flow.c (init_propagate_block_info): Protect the rtx stored in | |
3112 | mem_set_list from modification by find_auto_inc. | |
3113 | (mark_set_1): Likewise. | |
3114 | ||
adb84b42 NB |
3115 | 2000-11-08 Neil Booth <neilb@earthling.net> |
3116 | ||
a8a05998 ZW |
3117 | Move directive handling into the lexer itself. |
3118 | ||
3119 | * cpplex.c (_cpp_lex_token): Handle directives directly. | |
3120 | In the case of a directive interrupting a function-like | |
3121 | macro invocation, use extra_char since read_ahead is | |
3122 | used to store the '#'. Return a CPP_EOF in this case. | |
3123 | * cppmacro.c (parse_arg): No need to handle CPP_DHASH any more. | |
3124 | (cpp_get_token): Don't handle directives here. | |
3125 | * cpplib.h: Remove CPP_DHASH token type. | |
adb84b42 | 3126 | |
756d6f0c JH |
3127 | Wed Nov 8 21:53:41 MET 2000 Jan Hubicka <jh@suse.cz> |
3128 | ||
3129 | * regmove.c (combine_stack_adjustments_for_blocks): Recognize pushes | |
3130 | formed using PRE_MODIFY too. | |
3131 | ||
c39c0db3 MM |
3132 | 2000-11-08 Mark Mitchell <mark@codesourcery.com> |
3133 | ||
69908851 MM |
3134 | * c-tree.texi (VAR_DECL): Describe representation of GCC's |
3135 | extension for placing variables in particular registers. | |
3136 | ||
c39c0db3 MM |
3137 | * c-tree.texi (FUNCTION_TYPE): Clarify TYPE_ARG_TYPES for |
3138 | unprototyped C functions with no parameters. | |
3139 | ||
6cada0cd JJ |
3140 | 2000-11-08 Jakub Jelinek <jakub@redhat.com> |
3141 | ||
3142 | * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Cast DELTA to int | |
3143 | before passing to fprintf. | |
3144 | ||
768f0669 JJ |
3145 | 2000-11-08 Jakub Jelinek <jakub@redhat.com> |
3146 | ||
3147 | * function.c (expand_function_start): Cast GET_MODE_SIZE to | |
3148 | HOST_WIDE_INT before negating it. | |
3149 | ||
df6018fd JJ |
3150 | 2000-11-08 Jakub Jelinek <jakub@redhat.com> |
3151 | ||
3152 | * expr.c (expand_expr) [ADDR_EXPR]: Handle when op0 is RETURN_DECL | |
3153 | passed in multiple non-contiguous locations. | |
3154 | ||
14ae1d50 | 3155 | 2000-11-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
a8a05998 | 3156 | |
14ae1d50 GP |
3157 | * README.gnat: Remove file. |
3158 | ||
673887d5 AO |
3159 | 2000-11-08 Alexandre Oliva <aoliva@redhat.com> |
3160 | ||
3161 | * mklibgcc.in (EXTRA_MULTILIB_PARTS): Generate multilib parts | |
3162 | in-place. | |
3163 | ||
66234570 RH |
3164 | 2000-11-07 Richard Henderson <rth@redhat.com> |
3165 | ||
3166 | * dwarfout.c (INSN_LABEL_FMT): Remove. | |
3167 | (output_label_die): Use ASM_GENERATE_INTERNAL_LABEL. | |
3168 | (dwarfout_label): Remove. | |
3169 | * dwarfout.h: Remove it's prototype. | |
3170 | * dwarf2out.c (INSN_LABEL_FMT): Remove. | |
3171 | (gen_label_die): Use ASM_GENERATE_INTERNAL_LABEL. | |
3172 | (dwarf2out_label): Remove. | |
3173 | * dwarf2out.h: Remove it's prototype. | |
3174 | * final.c (final_scan_insn): Don't call dwarf[2]out_label. | |
3175 | ||
81b75d96 RH |
3176 | 2000-11-07 Richard Henderson <rth@redhat.com> |
3177 | ||
cd5c4048 RH |
3178 | * config/ia64/fde-glibc.c (find_fde_for_dso): Do a binary |
3179 | search on the unwind region section. | |
3180 | ||
3181 | * config/ia64/ia64.md (movbi): Add r/r alternative. | |
3182 | (cmovdi_internal_astep): Describe all combinations of register | |
3183 | classes for sources & destinations; remove matching constraints. | |
3184 | (cmovdi_internal): Likewise. | |
3185 | ||
81b75d96 RH |
3186 | * gcc.c (default_compilers) [@cpp-output]: Add -fpreprocessed. |
3187 | ||
6dbaddf9 RH |
3188 | 2000-11-07 Richard Henderson <rth@redhat.com> |
3189 | ||
3190 | * c-lang.c (start_cdtor, finish_cdtor): New functions. | |
3191 | (finish_file): Use them in building constructor/destructor functions. | |
3192 | ||
a8a05998 | 3193 | * config/alpha/alpha.h (HAS_INIT_SECTION, LD_INIT_SWITCH, |
6dbaddf9 RH |
3194 | LD_FINI_SWITCH): Move ... |
3195 | * config/alpha/osf.h: ... here. | |
3196 | * config/alpha/alpha-interix.h: Don't undef them. | |
3197 | ||
99b13084 JO |
3198 | 2000-11-07 Jeffrey Oldham <oldham@oz.codesourcery.com> |
3199 | ||
3200 | * config/mips/t-iris6 (FPBIT): New. Added so that __unorddf2 is | |
3201 | included in libgcc.a. | |
3202 | (DPBIT): Likewise. | |
3203 | (dp-bit.c): Likewise. | |
3204 | (fp-bit.c): Likewise. | |
3205 | ||
d7cac874 NC |
3206 | 2000-11-07 Nick Clifton <nickc@redhat.com> |
3207 | ||
3208 | * config/m88k/m88k.h (GLOBAL_ASM_OP): Add missing tab. | |
3209 | (INTERNAL_ASM_OP): Add missing tab. | |
3210 | ||
961192e1 JM |
3211 | 2000-11-07 Joseph S. Myers <jsm28@cam.ac.uk> |
3212 | ||
3213 | * alias.c (init_alias_analysis), calls.c (expand_call, | |
3214 | emit_library_call_value_1), combine.c (init_reg_last_arrays), | |
3215 | cse.c (new_basic_block), dbxout.c (dbxout_type), diagnostic.c | |
3216 | (init_output_buffer, set_diagnostic_context), dwarf2out.c | |
3217 | (equate_decl_number_to_die, build_abbrev_table), emit-rtl.c | |
3218 | (init_emit_once), fold-const.c (mul_double, div_and_round_double), | |
3219 | function.c (assign_parms), gcse.c (compute_can_copy, | |
3220 | alloc_gcse_mem, alloc_reg_set_mem, record_one_set, | |
3221 | compute_hash_table, compute_set_hash_table, | |
3222 | compute_expr_hash_table), genattrtab.c (optimize_attrs), global.c | |
3223 | (global_alloc, global_conflicts), haifa-sched.c (compute_trg_info, | |
3224 | clear_units, schedule_block), integrate.c (initialize_for_inline, | |
3225 | expand_inline_function), jump.c (thread_jumps), local-alloc.c | |
3226 | (local_alloc), loop.c (combine_movables, count_loop_regs_set, | |
3227 | load_mems_and_recount_loop_regs_set), print-tree.c (debug_tree), | |
3228 | regclass.c (init_reg_sets, init_reg_sets_1, regclass, | |
3229 | record_reg_classes, allocate_reg_info), reload.c | |
3230 | (get_secondary_mem, remove_address_replacements, find_reloads), | |
3231 | reload1.c (reload, set_initial_label_offsets, finish_spills, | |
3232 | reload_as_needed, choose_reload_regs_init, | |
3233 | reload_cse_simplify_operands), reorg.c (dbr_schedule), sbitmap.c | |
3234 | (sbitmap_zero), simplify-rtx.c (simplify_plus_minus), ssa.c | |
3235 | (rename_registers), stmt.c (expand_end_case), unroll.c | |
3236 | (unroll_loop), varray.c (varray_grow), objc/objc-act.c: Use memset | |
3237 | () instead of bzero (). | |
3238 | ||
e3cc3581 NB |
3239 | 2000-11-07 Neil Booth <neilb@earthling.net> |
3240 | ||
3241 | * cp/lang-specs.h: Fix -save-temps specs under USE_CPPLIB. | |
3242 | ||
f8136648 KG |
3243 | 2000-11-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3244 | ||
3245 | * c-common.c (combine_strings): Only warn about long strings for C. | |
3246 | ||
71fd5a51 R |
3247 | Tue Nov 7 19:44:30 2000 J"orn Rennecke <amylaar@redhat.com> |
3248 | ||
3249 | * combine.c (distribute_notes): Fix typo in last change. | |
3250 | ||
bdaa0181 GK |
3251 | 2000-11-07 Geoff Keating <geoffk@redhat.com> |
3252 | ||
3253 | * config/rs6000/rs6000.md (movdi_internal32+1): Use | |
3254 | operand_subreg_force rather than gen_rtx_SUBREG. | |
3255 | (movdi_internal32+2): Likewise. | |
3256 | ||
bc56a125 PB |
3257 | 2000-11-07 Philip Blundell <philb@gnu.org> |
3258 | ||
3259 | * configure.in (arm*-*-linuxaout*): Obsolete, deleted. | |
3260 | * config/arm/linux-aout.h: Likewise. | |
3261 | * configure: Regenerate. | |
3262 | ||
a71d3613 PT |
3263 | 2000-11-07 Philipp Thomas <pthomas@suse.de> |
3264 | ||
3265 | * ABOUT-GCC-NLS: Remove the patch for gettext as it has been | |
3266 | accepted my the gettext maintainer. | |
3267 | ||
26a87cab KG |
3268 | 2000-11-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3269 | ||
3270 | * builtins.c (expand_builtin_strpbrk): New function. | |
3271 | (expand_builtin): Handle BUILT_IN_STRPBRK. | |
3272 | ||
3273 | * builtins.def (BUILT_IN_STRPBRK): New entry. | |
3274 | ||
3275 | * c-common.c (c_common_nodes_and_builtins): Declare builtin | |
3276 | strpbrk. | |
3277 | ||
ace54f91 DB |
3278 | 2000-11-07 David O'Brien <obrien@dragon.nuxi.com> |
3279 | ||
3280 | * config/alpha/freebsd.h: New file -- FreeBSD/alpha architecture file. | |
3281 | * POTFILES.in: Add config/alpha/freebsd.h | |
3282 | * configure.in: Add alpha*-freebsd support. | |
3283 | * configure: Regenerate. | |
3284 | ||
0dec5df9 JM |
3285 | 2000-11-07 Joseph S. Myers <jsm28@cam.ac.uk> |
3286 | ||
3287 | * tree.c (build_common_tree_nodes_2): Make va_list_type_node be a | |
3288 | copy of ptr_type_node rather than ptr_type_node itself. | |
3289 | ||
bf103ec2 R |
3290 | Tue Nov 7 06:29:24 2000 J"orn Rennecke <amylaar@redhat.com> |
3291 | ||
3292 | * combine.c (recog_for_combine): Allocate uninitialized vector with | |
3293 | rtvec_alloc. | |
3294 | * recog.c (apply_change_group): Likewise. | |
3295 | ||
c762163e R |
3296 | Tue Nov 7 06:24:02 2000 J"orn Rennecke <amylaar@redhat.com> |
3297 | ||
3298 | * flow.c (verify_local_live_at_start): Back out last change. | |
3299 | * combine.c (distribute_notes): When parts of a hard reg are | |
3300 | neither set nor referenced in PLACE, search backwards for a | |
3301 | place to put a REG_UNUSED note; if none found, ask for flow | |
3302 | info refresh. | |
3303 | ||
f34c06e5 R |
3304 | Mon Nov 6 20:08:13 2000 J"orn Rennecke <amylaar@redhat.com> |
3305 | ||
3306 | * reload1.c (eliminate_regs_in_insn): Allow a set to be a PARALLEL | |
3307 | with (clobber (match_scratch...)). | |
3308 | ||
2b892489 NB |
3309 | 2000-11-06 Neil Booth <neilb@earthling.net> |
3310 | ||
3311 | * c-lex.c (init_c_lex): If cpp_start_read fails, exit with | |
3312 | error status. | |
3313 | ||
ea33bfc5 NB |
3314 | 2000-11-06 Neil Booth <neilb@earthling.net> |
3315 | ||
a8a05998 | 3316 | * tradcpp.c (special_symbol): Assign an null string rather |
ea33bfc5 NB |
3317 | than writing to an unallocated buffer. |
3318 | ||
56051c0a NB |
3319 | 2000-11-06 Neil Booth <neilb@earthling.net> |
3320 | ||
3321 | * cpplex.c (_cpp_equiv_tokens): Check arg_no in the | |
3322 | CPP_MACRO_ARG case. | |
3323 | ||
6c53ebff NB |
3324 | 2000-11-06 Neil Booth <neilb@earthling.net> |
3325 | ||
3326 | * c-lex.c (c_lex): Replace tok.val.aux with tok.val.c or | |
3327 | tok.val.arg_no as appropriate. | |
3328 | * cppexp.c (lex): Similarly. | |
3329 | * cpplex.c (_cpp_lex_token, cpp_spell_token, cpp_output_token, | |
3330 | cpp_equiv_tokens, cpp_can_paste, cpp_avoid_paste): Similarly. | |
3331 | * cppmacro.c (stringify_arg, replace_args, lex_expansion_token, | |
3332 | cpp_macro_definition): Similarly. | |
3333 | * cpplib.h (struct cpp_token): Replace aux with c and arg_no. | |
3334 | ||
8b1c5fd0 JJ |
3335 | 2000-11-06 Jakub Jelinek <jakub@redhat.com> |
3336 | ||
3337 | * config/sparc/sparc.md (adddi3): If operands[2] is 4096 and | |
3338 | operands[1] is constant, calculate the sum and generate movdi. | |
3339 | (addsi3): Similarly. Use SImode in call to arith_4096_operand. | |
3340 | (subsi3): Use SImode in call to arith_4096_operand. | |
3341 | ||
a0115140 JJ |
3342 | 2000-11-06 Jakub Jelinek <jakub@redhat.com> |
3343 | ||
3344 | * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): On sparc64 we need to | |
3345 | adjust %o1, not %o0 if the return type is large structure. | |
3346 | ||
9ea2bda9 JJ |
3347 | 2000-11-06 Jakub Jelinek <jakub@redhat.com> |
3348 | ||
3349 | * config/sparc/sparc.md (smulsi3_highpart_v8plus, ashldi3_v8plus+1, | |
3350 | update_return, flush, flushdi, ffssi2, ffsdi2): Fix output formatting. | |
3351 | ||
1cf7847f DC |
3352 | Sat Sep 23 19:10:20 2000 Denis Chertykov <denisc@overta.ru> & Marek Michalkiewicz <marekm@linux.org.pl> |
3353 | ||
3354 | * expmed.c (expand_divmod): For signed divide by 2, prefer | |
3355 | a branch and fewer shifts if branches are very cheap. | |
3356 | ||
436a88a6 JM |
3357 | 2000-11-05 Joseph S. Myers <jsm28@cam.ac.uk> |
3358 | ||
3359 | * Makefile.in: Remove all targets related to building | |
3360 | distributions and diffs, or INSTALL. | |
3361 | * INSTALL, install1.texi: Remove. | |
3362 | * configure.in: Remove mention of distdir. | |
3363 | * configure: Regenerate. | |
3364 | * objc/Make-lang.in: Remove mention of distdir. | |
3365 | ||
9cf11a47 NB |
3366 | 2000-11-04 Neil Booth <neilb@earthling.net> |
3367 | ||
3368 | * cpp.texi: Update for _Pragma. | |
3369 | ||
f148ca88 JM |
3370 | 2000-11-04 Joseph S. Myers <jsm28@cam.ac.uk> |
3371 | ||
3372 | * gcc.texi (Contributing): Update URL for projects web page. | |
3373 | ||
16eb2788 NB |
3374 | 2000-11-04 Neil Booth <neilb@earthling.net> |
3375 | ||
a8a05998 ZW |
3376 | * cpplex.c (parse_string): Don't allow multiline strings in |
3377 | #include family directives. | |
16eb2788 | 3378 | |
9232b7d9 NB |
3379 | 2000-11-04 Neil Booth <neilb@earthling.net> |
3380 | ||
3381 | * cpplib.c (do_line): Only warn pedantically if not reading | |
a8a05998 | 3382 | preprocessed input. |
9232b7d9 | 3383 | |
f132f529 AO |
3384 | 2000-11-04 Alexandre Oliva <aoliva@redhat.com> |
3385 | ||
3386 | * calls.c (emit_call_1) [sibcall_pop]: Use n_popped instead of | |
3387 | RETURN_POPS_ARGS(). | |
3388 | ||
0e9295cf ZW |
3389 | 2000-11-03 Zack Weinberg <zack@wolery.stanford.edu> |
3390 | ||
3391 | * builtins.c (expand_builtin_strlen): Remove unused mode | |
3392 | argument. | |
3393 | * gcc.c (process_command): Remove unused variable. | |
3394 | * fold-const.c: Include expr.h. | |
3395 | * recog.c: Include reload.h. | |
3396 | * Makefile.in (recog.o, fold-const.o): Update deps. | |
3397 | ||
f2682362 GK |
3398 | 2000-11-02 Geoffrey Keating <geoffk@cygnus.com> |
3399 | ||
3400 | * fixinc/gnu-regex.c: Change 'CYGNUS LOCAL' to 'EGCS LOCAL'. | |
3401 | ||
25f80eae MM |
3402 | Fri Nov 3 13:41:04 2000 Mark P Mitchell <mark@codesourcery.com> |
3403 | ||
3404 | * config/mips/iris6.h (SUBTARGET_CC1_SPEC): Remove -static | |
3405 | handling. | |
3406 | (STARTFILE_SPEC): Likewise. | |
3407 | (LINK_SPEC): Likewise. | |
3408 | ||
426159a4 KG |
3409 | 2000-11-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3410 | ||
3411 | * Makefile.in (fold-const.o): Depend on $(GGC_H), not ggc.h. | |
3412 | (toplev.o): Likewise for $(LOOP_H)/loop.h and $(REGS_H)/regs.h. | |
3413 | (simplify-rtx.o): Likewise for $(GGC_H)/ggc.h. | |
3414 | ||
da61dec9 JM |
3415 | 2000-11-03 Joseph S. Myers <jsm28@cam.ac.uk> |
3416 | ||
3417 | * c-decl.c (duplicate_decls, copy_lang_decl), dwarfout.c | |
3418 | (dwarfout_line), gcc.c (main, save_string), tree.c (init_obstacks, | |
3419 | perm_calloc, get_identifier, maybe_get_identifier, | |
3420 | real_value_from_int_cst, simple_cst_equal), varasm.c | |
3421 | (assemble_name, assemble_real, immed_real_const_1, | |
3422 | compare_constant_1, decode_rtx_const, output_constant_pool): Use | |
3423 | strrchr () instead of rindex (). Use memcmp () instead of bcmp | |
3424 | (). Use memcpy () instead of bcopy (). Use memset () instead of | |
3425 | bzero (). | |
3426 | ||
def3263a NS |
3427 | 2000-11-03 Nathan Sidwell <nathan@codesourcery.com> |
3428 | ||
3429 | * cppfiles.c (open_file): If already read, then don't reopen. | |
3430 | Immediately close an empty file. | |
3431 | ||
94e9dc13 BS |
3432 | 2000-11-01 Bernd Schmidt <bernds@redhat.co.uk> |
3433 | ||
3434 | * expr.h (fold_builtin): Move declaration... | |
3435 | * tree.h (fold_builtin): ... here. | |
3436 | ||
6c6a14b5 R |
3437 | Fri Nov 3 05:41:07 2000 J"orn Rennecke <amylaar@redhat.com> |
3438 | ||
3439 | * flow.c (verify_local_live_at_start): Allow hard regs to die. | |
3440 | ||
5b569332 NB |
3441 | 2000-11-02 Neil Booth <neilb@earthling.net> |
3442 | ||
3443 | config: | |
3444 | * a29k/a29k.h, a29k/unix.h, a29k/vx29k.h, | |
3445 | alpha/alpha-interix.h, alpha/alpha.h, alpha/linux.h, | |
3446 | alpha/openbsd.h, alpha/osf.h, alpha/vms.h, alpha/vxworks.h, | |
3447 | alpha/win-nt.h, arc/arc.h, arm/arm.h, arm/conix-elf.h, | |
3448 | arm/linux-aout.h, arm/linux-elf.h, arm/netbsd.h, arm/riscix.h, | |
3449 | arm/riscix1-1.h, arm/semiaof.h, arm/unknown-elf-oabi.h, arm/vxarm.h, | |
3450 | c4x/rtems.h, clipper/clix.h, convex/convex.h, d30v/d30v.h, | |
3451 | elxsi/elxsi.h, fr30/fr30.h, h8300/h8300.h, i370/linux.h, i370/mvs.h, | |
3452 | i370/oe.h, i386/386bsd.h, i386/aix386ng.h, i386/beos-elf.h, | |
3453 | i386/bsd386.h, i386/crtdll.h, i386/cygwin.h, i386/dgux.h, | |
3454 | i386/djgpp-rtems.h, i386/djgpp.h, i386/freebsd-aout.h, i386/freebsd.h, | |
3455 | i386/gnu.h, i386/i386-interix.h, i386/i386.h, i386/linux-aout.h, | |
3456 | i386/linux-oldld.h, i386/linux.h, i386/lynx-ng.h, i386/lynx.h, | |
3457 | i386/mach.h, i386/mingw32.h, i386/moss.h, i386/netbsd.h, | |
3458 | i386/netware.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h, | |
3459 | i386/osfelf.h, i386/osfrose.h, i386/ptx4-i.h, i386/rtems.h, | |
3460 | i386/rtemself.h, i386/sco.h, i386/sco4.h, i386/sco4dbx.h, i386/sco5.h, | |
3461 | i386/scodbx.h, i386/sequent.h, i386/sol2.h, i386/sun.h, i386/sysv3.h, | |
3462 | i386/sysv4.h, i386/uwin.h, i386/vsta.h, i386/vxi386.h, i386/win-nt.h, | |
3463 | i386/win32.h, i860/fx2800.h, i860/i860.h, i860/mach.h, i860/sysv3.h, | |
3464 | i860/sysv4.h, i960/i960.h, i960/rtems.h, i960/vx960-coff.h, | |
3465 | ia64/ia64.h, ia64/linux.h, m32r/m32r.h, m68k/3b1.h, m68k/3b1g.h, | |
3466 | m68k/a-ux.h, m68k/altos3068.h, m68k/amix.h, m68k/apollo68.h, | |
3467 | m68k/crds.h, m68k/ctix.h, m68k/dpx2.h, m68k/hp2bsd.h, m68k/hp320.h, | |
3468 | m68k/hp3bsd.h, m68k/hp3bsd44.h, m68k/isi.h, m68k/linux-aout.h, | |
3469 | m68k/linux.h, m68k/lynx-ng.h, m68k/lynx.h, m68k/m68kemb.h, | |
3470 | m68k/m68kv4.h, m68k/mot3300.h, m68k/netbsd.h, m68k/news.h, | |
3471 | m68k/next.h, m68k/openbsd.h, m68k/pbb.h, m68k/plexus.h, m68k/rtems.h, | |
3472 | m68k/rtemself.h, m68k/sun2.h, m68k/sun3.h, m68k/sun3mach.h, | |
3473 | m68k/tower-as.h, m68k/tower.h, m68k/vxm68k.h, m88k/dgux.h, | |
3474 | m88k/dolph.h, m88k/luna.h, m88k/m88k-aout.h, m88k/m88k-coff.h, | |
3475 | m88k/openbsd.h, m88k/sysv3.h, m88k/sysv4.h, mips/bsd-4.h, | |
3476 | mips/bsd-5.h, mips/dec-bsd.h, mips/dec-osf1.h, mips/gnu.h, | |
3477 | mips/iris3.h, mips/iris5.h, mips/iris6.h, mips/linux.h, mips/mips.h, | |
3478 | mips/netbsd.h, mips/news4.h, mips/news5.h, mips/nws3250v4.h, | |
3479 | mips/openbsd.h, mips/osfrose.h, mips/rtems64.h, mips/sni-svr4.h, | |
3480 | mips/svr3-4.h, mips/svr3-5.h, mips/svr4-4.h, mips/svr4-5.h, | |
3481 | mips/ultrix.h, ns32k/encore.h, ns32k/merlin.h, ns32k/netbsd.h, | |
3482 | ns32k/ns32k.h, ns32k/pc532-mach.h, ns32k/pc532.h, ns32k/sequent.h, | |
3483 | ns32k/tek6000.h, ns32k/tek6100.h, ns32k/tek6200.h, pa/pa-hiux.h, | |
3484 | pa/pa-hpux.h, pa/pa-hpux7.h, pa/pa-linux.h, pa/pa-osf.h, | |
3485 | pa/pa-pro-end.h, pa/pa.h, pa/rtems.h, pj/linux.h, pj/pj.h, | |
3486 | romp/romp.h, rs6000/aix.h, rs6000/aix31.h, rs6000/aix41.h, | |
3487 | rs6000/aix43.h, rs6000/beos.h, rs6000/eabi.h, rs6000/eabisim.h, | |
3488 | rs6000/linux.h, rs6000/lynx.h, rs6000/mach.h, rs6000/rtems.h, | |
3489 | rs6000/sysv4.h, rs6000/vxppc.h, sh/elf.h, sh/linux.h, sh/rtems.h, | |
3490 | sh/rtemself.h, sh/sh.h, sparc/aout.h, sparc/elf.h, sparc/linux-aout.h, | |
3491 | sparc/linux.h, sparc/linux64.h, sparc/lite.h, sparc/litecoff.h, | |
3492 | sparc/liteelf.h, sparc/lynx-ng.h, sparc/lynx.h, sparc/netbsd.h, | |
3493 | sparc/openbsd.h, sparc/pbd.h, sparc/rtems.h, sparc/rtemself.h, | |
3494 | sparc/sol2-sld-64.h, sparc/sol2.h, sparc/sp64-aout.h, | |
3495 | sparc/sp64-elf.h, sparc/sp86x-aout.h, sparc/sp86x-elf.h, | |
3496 | sparc/sparc.h, sparc/sysv4.h, sparc/vxsim.h, sparc/vxsparc.h, | |
3497 | v850/rtems.h, vax/netbsd.h, vax/openbsd.h, vax/ultrix.h, vax/vax.h, | |
3498 | vax/vaxv.h, vax/vms.h, we32k/we32k.h | |
a8a05998 | 3499 | |
5b569332 NB |
3500 | Replace -A() with -A=, the new assertion syntax. |
3501 | ||
03afaf36 R |
3502 | Thu Nov 2 21:52:35 2000 J"orn Rennecke <amylaar@redhat.com> |
3503 | ||
3504 | * combine.c (distribute_notes): Use rtx_equal_p to check elim_i2 / | |
3505 | elim_i1. | |
3506 | In REG_DEAD handling: When handling parts of multi-hard-reg hard | |
3507 | registers, increment the loop counter by the size of the parts; | |
3508 | use recursion to handle individual parts. | |
3509 | ||
04e3be98 NB |
3510 | 2000-11-02 Neil Booth <neilb@earthling.net> |
3511 | ||
3512 | * configure.in: Make integrated CPP the default. | |
3513 | * configure: Regenerate. | |
3514 | ||
0192d704 R |
3515 | Thu Nov 2 19:20:12 2000 J"orn Rennecke <amylaar@redhat.com> |
3516 | ||
3517 | * reload.c (find_equiv_reg): Test all hard registers for membership | |
3518 | in the requested class. | |
3519 | ||
9473c522 JM |
3520 | 2000-11-02 Joseph S. Myers <jsm28@cam.ac.uk> |
3521 | ||
3522 | * collect2.c (main, write_c_file_stat), gcc.c (translate_options, | |
3523 | process_command, main), gcov.c (open_files, output_data), tlink.c | |
3524 | (frob_extension, scan_linker_output), toplev.c | |
3525 | (file_name_nondirectory): Use strchr () and strrchr () instead of | |
3526 | index () and rindex (). | |
3527 | ||
0304bbad JM |
3528 | 2000-11-02 Joseph S. Myers <jsm28@cam.ac.uk> |
3529 | ||
3530 | * c-common.c (get_flag_spec, check_format_info_main, | |
3531 | check_format_types): Use strchr () instead of index (). Compare | |
3532 | against error_mark_node instead of comparing the TREE_CODE against | |
3533 | ERROR_MARK. | |
3534 | ||
23356f93 ZW |
3535 | 2000-11-02 Zack Weinberg <zackw@Stanford.EDU> |
3536 | ||
a8a05998 ZW |
3537 | Integrated CPP. |
3538 | ||
3539 | * c-lex.c (init_c_lex): Update cpp_start_read call. | |
3540 | (cb_ident): Update for new callback prototype. | |
3541 | (cb_def_pragma): Update for new cpp_get_token prototype. | |
3542 | (c_lex): Similarly. Use cpp_get_line. | |
3543 | ||
3544 | * c-parse.in (finish_parse): Update for new cpp_finish | |
3545 | prototype. | |
3546 | ||
3547 | * cp/lex.c (finish_parse): Similarly. | |
23356f93 | 3548 | |
7a099817 GK |
3549 | 2000-11-01 Geoff Keating <geoffk@cygnus.com> |
3550 | ||
3551 | * machmode.def: Add V16QImode. | |
3552 | ||
a97c9600 RH |
3553 | 2000-11-01 Richard Henderson <rth@redhat.com> |
3554 | ||
3555 | * dwarf2out.c (loc_descriptor_from_tree): Check for null result | |
3556 | from rtl_for_decl_location. | |
3557 | (add_location_or_const_value_attribute): Likewise. | |
3558 | ||
a0a9606d NB |
3559 | 2000-11-01 Neil Booth <neilb@earthling.net> |
3560 | ||
a8a05998 ZW |
3561 | * cpplib.c (run_directive): Use correct line number for output |
3562 | of _Pragma. Remember any in-progress directive. | |
3563 | ||
3564 | * gcc.dg/cpp/vararg2.c, gcc.dg/cpp/_Pragm1.c: New tests. | |
a0a9606d | 3565 | |
ba89764a RH |
3566 | 2000-11-01 Richard Henderson <rth@redhat.com> |
3567 | ||
3568 | * stmt.c (expand_start_null_loop): Set continue_label. | |
3569 | ||
b0b3afb2 BS |
3570 | 2000-11-01 Bernd Schmidt <bernds@redhat.co.uk> |
3571 | ||
3572 | * builtins.c (fold_builtin_constant_p, fold_builtin): New functions. | |
3573 | (expand_builtin_constant_p): Move parts of the code into | |
3574 | fold_builtin_constant_p. | |
3575 | (expand_builtin_strlen): Move parts of the code into fold_builtin. | |
3576 | * expr.h (fold_builtin): Declare. | |
3577 | * fold-const.c (fold): Handle builtin calls. | |
3578 | ||
3579 | * c-typeck.c (build_function_call): Call fold on the CALL_EXPR. | |
3580 | ||
f0de0c5d RH |
3581 | 2000-11-01 Richard Henderson <rth@redhat.com> |
3582 | ||
3583 | * stmt.c (expand_start_null_loop): New. | |
a8a05998 | 3584 | (expand_end_null_loop): New. |
f0de0c5d RH |
3585 | * c-semantics.c (genrtl_do_stmt): Use them. |
3586 | * tree.h: Declare them. | |
3587 | ||
3a59c77c RH |
3588 | 2000-11-01 Richard Henderson <rth@redhat.com> |
3589 | ||
3590 | * cppmain.c (scan_buffer): Don't avoid paste for assembly. | |
3591 | ||
12c4f523 NB |
3592 | 2000-11-01 Neil Booth <neilb@earthling.net> |
3593 | ||
3594 | * c-parse.in (_yylex): Remove CPP_BACKSLASH case. | |
3595 | * cp/spew.c: Similarly. | |
3596 | * cpplex.c (_cpp_lex_token): Backslashes are now CPP_OTHER. | |
3597 | * cppmacro.c (stringify_arg): Similarly. | |
3598 | * cpplib.h (CPP_BACKSLASH): Delete. | |
3599 | ||
78e7629e KG |
3600 | 2000-10-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3601 | ||
3602 | * builtins.c (expand_builtin_strstr): New function. | |
3603 | (expand_builtin): Handle BUILT_IN_STRSTR and BUILT_IN_STRCHR. | |
3604 | ||
3605 | * builtins.def (BUILT_IN_STRSTR, BUILT_IN_STRCHR): New entries. | |
3606 | ||
3607 | * c-common.c (c_common_nodes_and_builtins): Declare builtin strstr | |
3608 | and builtin strchr. | |
3609 | ||
32ee391b RH |
3610 | 2000-10-31 Richard Henderson <rth@redhat.com> |
3611 | ||
3612 | * config/i386/i386.c (fcmov_comparison_operator): Check for | |
3613 | CCFPmode or CCFPUmode instead of CCmode. | |
3614 | (ix86_expand_fp_movcc): Call ix86_expand_setcc for most | |
3615 | unordered operations as well. | |
3616 | ||
5f10ef5b RH |
3617 | 2000-10-31 Richard Henderson <rth@redhat.com> |
3618 | ||
3619 | * c-semantics.c (genrtl_do_stmt): Use integer_zerop instead | |
3620 | of integer_zero_node. | |
3621 | ||
d599b81f RH |
3622 | 2000-10-31 Richard Henderson <rth@redhat.com> |
3623 | ||
3624 | * c-semantics.c (genrtl_do_stmt): Special case do/while(0). | |
3625 | ||
1426f761 NC |
3626 | 2000-10-31 Nick Clifton <nickc@redhat.com> |
3627 | ||
3628 | * config/arm/unknown-elf.h (UNIQUE_SECTION_P): Do not allow | |
3629 | -fdata-sections to override the section attribute of a DECL. | |
3630 | ||
a8c0159a CD |
3631 | 2000-10-31 Chris Demetriou <cgd@sibyte.com> |
3632 | ||
3633 | * libgcc2.c (__shtab): Remove __shtab variable. | |
3634 | * libgcc-std.ver (GCC_3.0): Remove __shtab from symbol list. | |
3635 | * Makefile.in (LIB2FUNCS): Remove _shtab from list of library | |
3636 | members. | |
3637 | ||
8215347e JW |
3638 | 2000-10-31 Jim Wilson <wilson@redhat.com> |
3639 | ||
3640 | * defaults.h (ASM_OUTPUT_DEBUG_LABEL): New. | |
3641 | * tm.texi (ASM_OUTPUT_DEBUG_LABEL): Document. | |
3642 | * dwarf2out.c (dwarf2out_begin_block): Use ASM_OUTPUT_DEBUG_LABEL | |
3643 | instead of ASM_OUTPUT_INTERNAL_LABEL. | |
3644 | (dwarf2out_end_block, dwarf2out_label): Likewise. | |
3645 | * final.c (final_scan_insn, case NOTE_INSN_DELETED_LABEL): Likewise | |
3646 | * config/ia64/ia64.h (ASM_OUTPUT_DEBUG_LABEL): Define. | |
a8a05998 | 3647 | |
d8041cc8 RH |
3648 | 2000-10-31 Richard Henderson <rth@redhat.com> |
3649 | ||
3650 | * dwarf2out.c (struct dw_loc_descr_struct): Add dw_loc_addr. | |
3651 | (size_of_locs): Set it. | |
3652 | (output_loc_operands): Use it to compute branch displacement. | |
3653 | (int_loc_descriptor): New. | |
3654 | (mem_loc_descriptor): Dereference memory in the proper size. | |
3655 | Use DW_OP_plus_uconst when possible. Use int_loc_descriptor. | |
3656 | (loc_descriptor_from_tree): New. | |
3657 | (rtl_for_decl_location): Break out from ... | |
3658 | (add_location_or_const_value_attribute): ... here. | |
3659 | (add_bound_info): Use loc_descriptor_from_tree. | |
3660 | ||
86368122 NB |
3661 | 2000-10-31 Neil Booth <neilb@earthling.net> |
3662 | ||
3663 | * cpp.texi: Update for new command line assertion syntax. | |
3664 | * cpplib.c (cpp_define): Simplify a bit. | |
3665 | (cpp_assert, cpp_unassert): Use handle_assertion. | |
3666 | (handle_assertion): New function; accept new command line | |
3667 | syntax with '='. | |
3668 | * testsuite/gcc.dg/cpp/assert3.c: New tests. | |
3669 | ||
e1998242 NB |
3670 | 2000-10-31 Neil Booth <neilb@earthling.net> |
3671 | ||
3672 | * cppmacro.c (STDC_0_IN_SYSTEM_HEADERS): Define to 0 if | |
3673 | undefined. Remove #ifdef check. | |
3674 | * config/i386/sol2.h, config/rs6000/sol2.h, config/sparc/sol2.h: | |
3675 | Define STDC_0_IN_SYSTEM_HEADERS to 1. | |
3676 | ||
7e08e190 JH |
3677 | 2000-10-31 Jan Hubicka <jh@suse.cz> |
3678 | Jakub Jelinek <jakub@redhat.com> | |
3679 | ||
3680 | * config/i386/i386.h: Clarify CCNOmode description in comment. | |
3681 | (EXTRA_CC_MODES): Remove CCRCmode. | |
3682 | * config/i386/i386.c (ix86_comparison_operator): Remove CCRCmode. | |
3683 | (put_condition_code, ix86_match_ccmode): Likewise. | |
3684 | (ix86_cc_mode): Likewise. Fix comment. | |
3685 | (ix86_expand_strlensi_unroll_1): *rc patterns are gone. | |
3686 | * config/i386/i386.md: Add unspec 12 description. | |
3687 | (adddi3 split): Use unspec 12 instead of CCRCmode. | |
3688 | (addsi3_carry_rc): Remove. | |
3689 | (addsi3_cc, addqi3_cc): New patterns. | |
3690 | (addsi_3): Swap operands, match CCZmode. | |
3691 | (addsi_4): Rewritten. | |
3692 | (addsi_5): Renamed from addsi_6. | |
3693 | (addsi_6): Removed. | |
3694 | (addhi_3): Swap operands, match CCZmode. | |
3695 | (addhi_4): Rewritten. | |
3696 | (addhi_5): Renamed from addhi_6. | |
3697 | (addhi_6): Removed. | |
3698 | (addqi_3): Swap operands, match CCZmode. | |
3699 | (addqi_4): Rewritten. | |
3700 | (addqi_5): Renamed from addqi_6. Use =q constraint for clobber. | |
3701 | (subsi3_carry_rc): Removed. | |
3702 | (iorqi_3): Use =q constraint for clobber. | |
3703 | (xorqi_cc_2): Likewise. | |
3704 | (negdi2_1 split): Don't use CCRCmode, use ltu instead of gtu. | |
3705 | (x86_movsicc_0_m1_rc): Removed. | |
3706 | (cmp?i peepholes): Remove neg. Use CCGCmode instead of CCRCmode. | |
3707 | ||
93cc1c69 JM |
3708 | 2000-10-31 Joseph S. Myers <jsm28@cam.ac.uk> |
3709 | ||
3710 | * c-typeck.c (build_unary_op): If pedantic, pedwarn for increment | |
3711 | and decrement of complex types. | |
3712 | ||
bcb38cc1 KG |
3713 | 2000-10-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3714 | ||
3715 | * builtins.c (expand_builtin_fputs): When deleting NOP calls to | |
3716 | builtin fputs, ensure we still evaluate the stream in case it | |
3717 | has side-effects. | |
3718 | ||
681cb233 JJ |
3719 | 2000-10-31 Jakub Jelinek <jakub@redhat.com> |
3720 | ||
3721 | * expr.c (do_store_flag): Pass operand_mode instead of GET_MODE (op0) | |
3722 | to expand_shift. | |
3723 | ||
4b9580a5 R |
3724 | Tue Oct 31 15:33:27 2000 J"orn Rennecke <amylaar@redhat.com> |
3725 | ||
3726 | * sh-protos.h (reg_no_subreg_operand, emit_fpscr_use): Don't declare. | |
3727 | (fp_extended_operand, emit_fpscr_use): Likewise. | |
3728 | * sh.c (reg_no_subreg_operand, fp_extended_operand): Delete functions. | |
3729 | (fpul_operand): New function. | |
3730 | * sh.h (PREDICATE_CODES): Remove reg_no_subreg_operand and | |
3731 | fp_extended_operand. Add fpul_operand. | |
3732 | * sh.md (mulsf3, mulsf3_i4): Use fp_arith_reg_operand for "f" operands. | |
3733 | (mulsf3_ie, macsf3, cmpgtsf_t, cmpeqsf_t, ieee_ccmpeqsf_t): Likewise. | |
3734 | (cmpgtsf_t_i4, cmpeqsf_t_i4, ieee_ccmpeqsf_t_4, negsf2): Likewise. | |
3735 | (negsf2_i, sqrtsf2, sqrtsf2_i, abssf2, abssf2_i, adddf3): Likewise. | |
3736 | (adddf3_i, subdf3, subdf3_i, muldf3, muldf3_i, divdf3): Likewise. | |
3737 | (divdf3_i): Likewise. | |
3738 | (floatsisf2): Likewise. Use fpul_operand for 'y' operand. | |
3739 | (floatsisf2_i4, floatsisf2_ie, fix_truncsfsi2): Likewise. | |
3740 | (fix_truncsfsi2_i4, fixsfsi, floatsidf2, floatsidf2_i): Likewise. | |
3741 | (fix_truncdfsi2, fix_truncdfsi2_i, extendsfdf2): Likewise. | |
3742 | (extendsfdf2_i4, truncdfsf2, truncdfsf2_i4): Likewise. | |
3743 | ||
332316cd BS |
3744 | 2000-10-31 Bernd Schmidt <bernds@redhat.co.uk> |
3745 | ||
a8a05998 | 3746 | * config/i386/i386.c (ix86_init_builtins): Correct return type |
332316cd BS |
3747 | building v4hi_ftype_v4hi_int_int tree node. |
3748 | (ix86_expand_builtin): Use correct operand numbers 0 and 1. | |
3749 | Copy operand 0 into a Pmode register, don't generate a MEM rtx. | |
3750 | ||
3751 | * config/i386/i386.md (sse_movntdi): Use mmx register constraint | |
3752 | for operand 1. | |
3753 | (mmx__uavgv8qi3): Correct insn mnemonic. | |
3754 | (mmx_psadbw): Correct insn mnemonic. Use V8QI mode for operands 1 and 2. | |
3755 | (mmx_punpckhwd): Correct insn mnemonic. | |
3756 | (mmx_punpckhdq): Likewise. | |
3757 | (mmx_punpcklwd): Likewise. | |
3758 | (mmx_punpckldq): Likewise. | |
3759 | (prefetch): Use immediare_operand and 'n' constraint for operand 1. | |
3760 | Renumber case labels to match the _mm_prefetch constants defined in | |
3761 | xmmintrin.h. | |
3762 | ||
1d766db0 BS |
3763 | * recog.c (split_all_insns): Don't try to call cleanup_subreg_operands |
3764 | if the splitter didn't emit new insns. | |
3765 | Make sure we call cleanup_subreg_operands even when splitting the last | |
3766 | insn in a basic block. | |
3767 | ||
8bb16620 BS |
3768 | * invoke.texi (Debugging Options): Describe -do. |
3769 | * toplev.c (enum_dump_file_index): New entry DFI_postreload. | |
3770 | (dump_file): Likewise. | |
3771 | (rest_of_compilation): Split .greg dump into .greg and .postreload. | |
3772 | ||
a5c3cccd NB |
3773 | 2000-10-30 Neil Booth <neilb@earthling.net> |
3774 | ||
3775 | * cppfiles.c (stack_include_file): Check for stacked contexts | |
3776 | here. | |
3777 | * cpphash.h (_cpp_do__Pragma): New prototype. | |
3778 | * cppinit.c (cpp_reader_init): Add _Pragma keyword to hash table. | |
3779 | ||
3780 | * cpplex.c (skip_escaped_newlines): Only process trigraphs and | |
3781 | escaped newlines if !(buffer->from_stage3). | |
3782 | (_cpp_lex_token): Warn about missing newlines iff | |
3783 | !buffer->from_stage3. | |
3784 | ||
3785 | * cpplib.c (get__Pragma_string, destringize, | |
3786 | _cpp_do__Pragma): New functions. | |
3787 | (run_directive): Set output_line for _Pragma to avoid line | |
3788 | markers in output. Set from_stage3 and prevent macro expansion | |
3789 | for _Pragma and command-line options. Check buffer exhaustion. | |
3790 | (cpp_push_buffer): Don't check for stacked macro contexts, as | |
3791 | this is perfectly legitimate for _Pragma. Move the check to | |
3792 | stack_include_file instead. Set from_stage3 iff buffer is | |
3793 | preprocessed input. | |
3794 | ||
3795 | * cpplib.h (struct cpp_buffer): Make warned_cplusplus_comments | |
3796 | unsigned. New boolean from_stage3. | |
3797 | (struct spec_nodes): Add n__Pragma. | |
3798 | ||
3799 | * cppmacro.c (enter_macro_context): Flip sense of return value. | |
3800 | (_cpp_get_token): Handle _Pragma operator. | |
3801 | ||
dbdaea41 PE |
3802 | 2000-10-30 Phil Edwards <pme@sources.redhat.com> |
3803 | ||
3804 | * gcc.texi: The C++ standard isn't "draft" anymore. | |
3805 | ||
8a47978d MM |
3806 | 2000-10-30 Mark Mitchell <mark@codesourcery.com> |
3807 | ||
3808 | * cppmacro.c (builtin_macro): Use NT_VOID, not T_VOID. | |
3809 | ||
1641a823 NB |
3810 | 2000-10-29 Neil Booth <neilb@earthling.net> |
3811 | ||
3812 | * cpplib.c (skip_rest_of_line): Use _cpp_get_token. | |
3813 | ||
8c7b74b9 JM |
3814 | 2000-10-29 Joseph S. Myers <jsm28@cam.ac.uk> |
3815 | ||
526aba28 JM |
3816 | * toplev.c, flags.h, fold-const.c, real.c, rtl.c, |
3817 | fixinc/inclhack.def: Change comments mentioning C9X to refer to | |
3818 | C99 instead. | |
3819 | ||
8c7b74b9 JM |
3820 | * invoke.texi: Document that -V will only work for very similar |
3821 | versions of driver and compiler. | |
3822 | ||
44ed91a1 NB |
3823 | 2000-10-29 Neil Booth <neilb@earthling.net> |
3824 | ||
3825 | * cppmacro.c (_cpp_create_definition): Optimize the case of | |
a8a05998 | 3826 | a macro defined to itself. |
44ed91a1 | 3827 | |
3542203b NB |
3828 | 2000-10-29 Neil Booth <neilb@earthling.net> |
3829 | ||
3830 | * cpplex.c (save_comment): Don't store new lines in C++ comments. | |
3831 | ||
6f268adf MH |
3832 | 2000-10-29 Michael Hayes <mhayes@redhat.com> |
3833 | ||
3834 | * integrate.c (copy_insn_list): Copy the unchanging flag for calls. | |
3835 | ||
926c5678 GK |
3836 | 2000-10-28 Geoffrey Keating <geoffk@cygnus.com> |
3837 | ||
3838 | * cpphash.c (cpp_forall_identifiers): Add context variable | |
3839 | for callback routine. | |
3840 | * cppmain.c (dump_macro): Update to match cpp_forall_identifiers | |
3841 | change. | |
3842 | (main): Call cpp_forall_identifiers with null context. | |
3843 | * cpplib.h (cpp_forall_identifiers): Update prototype. | |
3844 | ||
3845 | * cppmain.c: Make `parse_in' and `print' static. | |
3846 | ||
69f4cc4b AM |
3847 | 2000-10-28 Alan Modra <alan@linuxcare.com.au> |
3848 | ||
3849 | * c-decl.c (finish_function): Clear c_function_name_declared_p. | |
3850 | ||
ce73761f RH |
3851 | 2000-10-28 Richard Henderson <rth@redhat.com> |
3852 | ||
3853 | * regrename.c (scan_rtx_address): Frob action, not class, | |
3854 | when trying to disable optimization. | |
3855 | ||
2c21b247 MM |
3856 | 2000-10-28 Mark Mitchell <mark@codesourcery.com> |
3857 | ||
3858 | * c-semantics.c (make_rtl_for_local_static): Don't clobber | |
3859 | DECL_ASSEMBLER_NAME. | |
3860 | ||
8763704d JM |
3861 | 2000-10-28 Joseph S. Myers <jsm28@cam.ac.uk> |
3862 | ||
3863 | * configure.in: Determine and substitute gcc_version_full. | |
3864 | * configure: Regenerate. | |
3865 | * gccbug.in: Use it to give full version. Don't allow | |
3866 | confidential PRs. | |
3867 | ||
85941a0a RH |
3868 | 2000-10-28 Richard Henderson <rth@redhat.com> |
3869 | ||
3870 | * recog.c (split_all_insns): Run cleanup_subreg_operands | |
3871 | after reload. | |
3872 | ||
3873 | * regrename.c (regrename_optimize): Verify that all registers of | |
3874 | a multiple register mode are available. | |
3875 | (scan_rtx_address): Accept the mode of the address; all callers | |
3876 | changed. | |
3877 | ||
3878 | * cpplib.c (run_directive): Fix prototype. | |
3879 | ||
69add2a8 BS |
3880 | 2000-10-28 Bernd Schmidt <bernds@redhat.co.uk> |
3881 | ||
3882 | * reload.c (find_reloads): Distinguish "wins" so that we know whether | |
3883 | a given operand won because of a matching constraint or not; then use | |
3884 | that information to compute goal_alternative_matched properly. | |
4c3a2649 BS |
3885 | * reload1.c (choose_reload_regs): Never set reload_override_in for an |
3886 | optional reload. | |
69add2a8 | 3887 | |
005f39ce BS |
3888 | * config/ia64/ia64.h (RTX_COSTS): A few more entries, and a more |
3889 | accurate value for MULT. | |
55d8cb78 BS |
3890 | * config/ia64/ia64.c (ia64_print_operand): Require probability to be |
3891 | 2% or > 98% before using static branch prediction bits. | |
005f39ce | 3892 | |
93c80368 NB |
3893 | 2000-10-28 Neil Booth <neilb@earthling.net> |
3894 | ||
3895 | New macro expander. | |
a8a05998 | 3896 | |
93c80368 NB |
3897 | * cpplib.c (struct answer): New. |
3898 | (struct if_stack): Use cpp_lexer_pos rather than line and col. | |
3899 | Rename cmacro mi_cmacro. | |
3900 | (struct directive, KANDR, STDC89, EXTENSION, COND, IF_COND, INCL, | |
3901 | IN_I): New directive and flags. | |
3902 | (skip_rest_of_line, check_eol, run_directive, glue_header_name, | |
3903 | parse_answer, parse_assertion, find_answer): New functions. | |
3904 | (parse_ifdef, detect_if_not_defined, validate_else): Remove. | |
3905 | (lex_macro_node): New function to replace parse_ifdef and | |
3906 | get_define_node. | |
3907 | ||
3908 | (_cpp_handle_directive): New function, combines _cpp_check_directive | |
3909 | and _cpp_check_linemarker. | |
3910 | ||
3911 | (do_define, do_undef, parse_include, do_include, do_import, | |
3912 | do_include_next, read_line_number, do_line, do_ident, do_pragma, | |
3913 | do_pragma_once, do_pragma_poison, do_pragma_dependency): | |
3914 | Update for new token getting interface. | |
3915 | ||
3916 | (do_ifdef, do_ifndef, do_if, do_else, do_endif, push_conditional) | |
3917 | : Update for new multiple-include optimisation technique. | |
3918 | (do_elif): Don't forget to invalidate controlling macros. | |
3919 | ||
3920 | (unwind_if_stack, cpp_defined, cpp_push_buffer, cpp_pop_buffer): Update. | |
3921 | (parse_assertion, parse_answer, find_answer, _cpp_test_assertion): | |
3922 | Functions to handle assertions with the new token interface. | |
3923 | (do_assert, do_unassert): Use them. | |
3924 | ||
3925 | (cpp_define, _cpp_define_builtin, cpp_undef, cpp_assert, cpp_unassert): | |
3926 | Use run_directive. | |
3927 | ||
3928 | (_cpp_init_stacks): Register directive names. Don't register special | |
3929 | nodes. | |
3930 | ||
3931 | * cpperror.c (print_containing_files, _cpp_begin_message): Update to | |
3932 | new position recording regime. | |
3933 | (cpp_ice, cpp_fatal, cpp_error, cpp_error_with_line, cpp_warning, | |
3934 | cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line, | |
3935 | cpp_pedwarn_with_file_and_line): Update for _cpp_begin_message changes. | |
3936 | (cpp_type2name): Move to cpplex.c. | |
3937 | ||
3938 | * cppexp.c (parse_charconst): spec_nodes is no longer a pointer. | |
3939 | (parse_defined): Update to handle new multiple include optimisation | |
3940 | method. Remove poisoned identifier warning. | |
3941 | (parse_assertion, TYPE_NAME): Delete. | |
3942 | (lex): Update for multiple include optimisation, removal of | |
3943 | CPP_DEFINED, to use _cpp_test_assertion for assertions and | |
3944 | cpp_token_as_text. | |
3945 | (_cpp_parse_expr): Update for MI optimisation, and to use op_as_text. | |
3946 | (op_as_text): New function, to wrap cpp_token_as_text. | |
3947 | ||
3948 | * cppfiles.c (stack_include_file, _cpp_pop_file_buffer): | |
3949 | Update for MI optimisation. | |
3950 | (_cpp_execute_include): Take a token rather than 3 arguments. Fix | |
3951 | segfault on diagnostic. | |
3952 | (_cpp_compare_file_date): Take a token rather than 3 args. | |
3953 | (cpp_read_file): Work correctly for zero-length files. | |
3954 | ||
3955 | * cpphash.c (_cpp_init_macros, _cpp_cleanup_macros): Rename | |
3956 | _cpp_init_hashtable and _cpp_cleanup_hashtable. | |
3957 | (cpp_lookup): Place identifiers at front of identifier pool | |
3958 | for _cpp_lookup_with_hash. | |
3959 | (_cpp_lookup_with_hash): Require identifiers to be at the front of | |
3960 | the identifier pool. Commit the memory if not already in the | |
3961 | hash table. | |
3962 | ||
3963 | * cppinit.c (cpp_reader_init): Move cpp_init_completed test to top. | |
3964 | Initialise various members of cpp_reader, memory pools, and the | |
3965 | special nodes. | |
3966 | (cpp_printer_init): Delete. | |
3967 | (cpp_cleanup): Update. | |
3968 | (struct builtin, builtin_array, initialize_builtins): Update for new | |
3969 | hashnode definition and builtin handling. | |
3970 | (cpp_start_read, cpp_finish): Don't take or initialise a | |
3971 | printer. Update. | |
3972 | ||
3973 | * cpplib.h (cpp_printer, cpp_toklist, CPP_DEFINED, BOL, | |
3974 | PASTED, VAR_ARGS, BEG_OF_FILE, IN_DIRECTIVE, KNOWN_DIRECTIVE, | |
3975 | T_VOID, T_SPECLINE, T_DATE, T_FILE, T_BASE_FILE, T_INCLUDE_LEVEL, | |
3976 | T_TIME, T_STDC, T_OPERATOR, T_POISON, T_MACRO, T_ASSERTION): Delete. | |
3977 | (struct cpp_pool, struct cpp_macro, struct cpp_lexer_pos, | |
3978 | struct cpp_lookahead, CPP_DHASH, enum mi_state, enum mi_ind, | |
3979 | NO_EXPAND, VARARGS_FIRST, struct cpp_token_with_pos, | |
3980 | struct toklist, struct cpp_context, struct specnodes, | |
3981 | TOKEN_LOOKAHEAD, TOKEN_BUFFSIZE, NODE_OPERATOR, NODE_POISONED, | |
3982 | NODE_BUILTIN, NODE_DIAGNOSTIC, NT_VOID, NT_MACRO, NT_ASSERTION, | |
3983 | enum builtin_type, cpp_can_paste): New. | |
3984 | (struct cpp_token): Delete line and col members. | |
3985 | (struct cpp_buffer): New member output_lineno. | |
3986 | (struct lexer_state): Delete indented, in_lex_line, seen_dot. | |
3987 | Add va_args_ok, poisoned_ok, prevent_expansion, parsing_args. | |
3988 | (struct cpp_reader): New members lexer_pos, macro_pos, directive_pos, | |
3989 | ident_pool, temp_string_pool, macro_pool, argument_pool, string_pool, | |
3990 | base_context, context, directive, mi_state, mi_if_not_defined, | |
3991 | mi_lexed, mi_cmacro, mi_ind_cmacro, la_read, la_write, la_unused, | |
3992 | mlstring_pos, macro_buffer, macro_buffer_len. | |
3993 | Delete members mls_line, mls_column, token_list, potential_control_macro, | |
3994 | temp_tokens, temp_cap, temp_alloced, temp_used, first_directive_token, | |
3995 | context_cap, cur_context, no_expand_level, paste_level, contexts, args, | |
3996 | save_parameter_spellings, need_newline, . | |
3997 | Change type of date, time and spec_nodes members. | |
3998 | Change prototypes for include and ident callbacks. | |
3999 | (struct cpp_hashnode): Change type of name. Remove union members | |
4000 | expansion and code. Add members macro, operator and builtin. | |
4001 | ||
4002 | (cpp_token_len, cpp_token_as_text, cpp_spell_token, cpp_start_read, | |
4003 | cpp_finish, cpp_avoid_paste, cpp_get_token, cpp_get_line, | |
4004 | cpp_get_output_line, cpp_macro_definition, cpp_start_lookahead, | |
4005 | cpp_stop_lookahead): New prototypes. | |
4006 | (cpp_printer_init, cpp_dump_definition): Delete prototypes. | |
4007 | ||
4008 | (U_CHAR, U, ustrcmp, ustrncmp, ustrlen, uxstrdup, ustrchr, ufputs): | |
4009 | Move from cpphash.h. | |
4010 | ||
4011 | * cpphash.h (U_CHAR, U, ustrcmp, ustrncmp, ustrlen, uxstrdup, ustrchr, | |
4012 | ufputs): Move to cpplib.h. | |
4013 | (enum spell_type, struct token_spelling, _cpp_token_spellings, TOKEN_SPELL, | |
4014 | TOKEN_NAME, struct answer, FREE_ANSWER, KANDR, STDC89, EXTENSION, | |
4015 | COND, EXPAND, INCL, COMMENTS, IN_I, struct directive, directive_handler, | |
4016 | struct spec_nodes, _cpp_digraph_spellings, _cpp_free_temp_tokens, | |
4017 | _cpp_init_input_buffer, _cpp_grow_token_buffer, _cpp_init_toklist, | |
4018 | _cpp_clear_toklist, _cpp_expand_token_space, _cpp_expand_name_space, | |
4019 | _cpp_equiv_tokens, _cpp_equiv_toklists, _cpp_process_directive, | |
4020 | _cpp_run_directive, _cpp_get_line, _cpp_get_raw_token, _cpp_glue_header_name, | |
4021 | _cpp_can_paste, _cpp_check_directive, _cpp_check_linemarker, | |
4022 | _cpp_parse_assertion, _cpp_find_answer): Delete. | |
4023 | (VALID_SIGN, ALIGN, POOL_FRONT, POOL_LIMIT, POOL_BASE, POOL_SIZE, | |
4024 | POOL_USED, POOL_COMMIT, struct cpp_chunk, _cpp_lex_token, _cpp_init_pool, | |
4025 | _cpp_free_pool, _cpp_pool_reserve, _cpp_pool_alloc, _cpp_next_chunk, | |
4026 | _cpp_lock_pool, _cpp_unlock_pool, _cpp_test_assertion, | |
4027 | _cpp_handle_directive, DSC): New. | |
4028 | (struct include_file): New member defined. | |
4029 | ||
4030 | (DO_NOT_REREAD, _cpp_begin_message, _cpp_execute_include, | |
4031 | _cpp_compare_file_date): Update. | |
4032 | (_cpp_pop_context, _cpp_get_token, _cpp_free_lookaheads, _cpp_push_token): New. | |
4033 | (_cpp_init_macros, _cpp_cleanup_macros): Rename to _cpp_init_hashtable, | |
4034 | _cpp_cleanup_hashtable. | |
4035 | ||
4036 | * Makefile.in: Remove cppoutput.c. | |
a8a05998 | 4037 | |
93c80368 NB |
4038 | * cppoutput.c: Delete |
4039 | ||
4040 | * fixheader.c (read_scan_file): Update for new cpp_get_token | |
4041 | prototype. | |
4042 | (recognized_function): New argument LINE. | |
4043 | ||
4044 | * scan-decls.c (skip_to_closing_brace, scan_decls): Update for | |
4045 | new cpp_get_token prototype. | |
4046 | ||
4047 | * scan.h (recognized_function): Update prototype. | |
4048 | ||
4049 | * po/POTFILES.in: Remove cppoutput.c. | |
a8a05998 | 4050 | |
229a2e65 MM |
4051 | 2000-10-27 Mark Mitchell <mark@codesourcery.com> |
4052 | ||
4053 | * c-typeck.c (check_init_type_bitfields): Remove. | |
4054 | (constructor_incremental): Likewise. | |
4055 | (struct constructor_stack): Remove incremental bit. | |
4056 | (struct initializer_stack): Likewise. | |
4057 | (start_init): Don't play with constructor_incremental. | |
4058 | (finish_init): Likewise. | |
4059 | (really_start_incremental_init): Likewise. | |
4060 | (push_init_level): Likewise. | |
4061 | (pop_init_level): Likewise. | |
4062 | (output_init_level): Likewise. | |
4063 | (output_pending_init_elements): Likewise. | |
4064 | ||
63eb1269 MC |
4065 | 2000-10-21 Mike Coleman <mcoleman2@kc.rr.com> |
4066 | ||
4067 | * c-pragma.c (handle_pragma_pack): Initialize align to -1. | |
a8a05998 | 4068 | Improve error messages. Correct parsing of |
63eb1269 MC |
4069 | #pragma pack(pop [,id]). Do not check the user-supplied |
4070 | alignment if we're popping. | |
4071 | ||
4072 | * gcc.dg/pack-test-1.c: New test case. | |
4073 | * gcc.dg/pack-test-2.c: New test case. | |
4074 | * gcc.dg/pack-test-1.h: New file. | |
4075 | ||
ae2eceaa NB |
4076 | 2000-10-27 Neil Booth <neilb@earthling.net> |
4077 | ||
4078 | * cpp.texi: Update. | |
4079 | ||
04e149ab KC |
4080 | 2000-10-27 Kelley Cook <kelley.cook@home.com> |
4081 | ||
4082 | * invoke.texi: Document -mintel-syntax | |
4083 | ||
2b2a8f1f RH |
4084 | 2000-10-27 Richard Henderson <rth@redhat.com> |
4085 | ||
4086 | * invoke.texi: Document -frename-registers. Add it to -O3. | |
4087 | * toplev.c (rest_of_compilation): Run regrename before ifcvt2. | |
4088 | (enum dump_file_index, dump_file): Update order. | |
4089 | (main): Set flag_rename_registers at -O3. | |
4090 | ||
10c9f189 RH |
4091 | 2000-10-27 Richard Henderson <rth@redhat.com> |
4092 | ||
93c89ab3 RH |
4093 | * config/alpha/alpha.h (enum reg_class): Add PV_REG. |
4094 | (REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS): Update. | |
4095 | (REG_CLASS_FROM_LETTER): Assign it to 'c'. | |
4096 | * config/alpha/alpha.md (call_osf_1): Use it. | |
4097 | (call_value_osf_1): Likewise. | |
4098 | ||
10c9f189 RH |
4099 | * config/ia64/ia64.c: Revert 10-23 patch. |
4100 | (ia64_hard_regno_rename_ok): New. | |
4101 | * config/ia64/ia64-protos.h: Declare it. | |
4102 | * config/ia64/ia64.h (HARD_REGNO_RENAME_OK): Use it. | |
4103 | ||
541f7d56 BS |
4104 | 2000-10-27 Bernd Schmidt <bernds@redhat.co.uk> |
4105 | Richard Henderson <rth@redhat.com> | |
4106 | ||
a8a05998 ZW |
4107 | * regrename.c: Rewrite to handle multi-register modes and |
4108 | cond_exec instructions. | |
4109 | * Makefile.in (regrename.o): Update dependancies. | |
4110 | * recog.h (struct operand_alternative): Add is_address. | |
4111 | * recog.c (preprocess_constraints) [case 'p']: Set it. | |
541f7d56 | 4112 | |
b8dad04b ZW |
4113 | 2000-10-27 Zack Weinberg <zack@wolery.stanford.edu> |
4114 | ||
4115 | * configure.in: If not NO_MINUS_C_MINUS_O, substitute | |
4116 | OUTPUT_OPTION with '-o $@'. Make zlibdir, zlibinc relative to | |
4117 | top level. Kill oldstyle_subdirs. Do not include | |
4118 | $srcdir/$s/Makefile.in in all_lang_makefiles, but do include | |
4119 | $outputs. Do not run configure.lang from config.status. | |
4120 | Rearrange warning-flag logic to correspond to what the | |
4121 | makefile wants. Put special vax stage1 options in | |
4122 | @stage1_flags@ not @stage1_warn_cflags@. Don't do anything | |
4123 | with extra_c_objs, extra_cxx_objs, or extra_cpp_objs. | |
4124 | (--enable-c-cpplib): AC_SUBST(maybe_cpplib) with "libcpp.a" if | |
4125 | switch is given, nothing otherwise. | |
4126 | * configure.lang: Delete. | |
4127 | ||
a8a05998 ZW |
4128 | * Makefile.in: Expunge all traces of extra_c_objs, |
4129 | extra_cxx_objs, and extra_cpp_objs. Set MAYBE_CPPLIB from | |
4130 | @maybe_cpplib@. Add $(MAYBE_CPPLIB) to C_AND_OBJC_OBJS. Set | |
4131 | warning options via a three level scheme so that -pedantic and | |
4132 | -Wtraditional are not used for non-C front ends: LOOSE_WARN, | |
4133 | STRICT1_WARN, STRICT2_WARN -> $(@D)-warn, GCC_WARN_CFLAGS -> | |
4134 | WARN_CFLAGS. Distinguish STAGE1_CFLAGS from BOOT_CFLAGS. | |
b8dad04b ZW |
4135 | Add -I$(@D) and -I$(srcdir)/$(@D) to INCLUDES. |
4136 | Set OUTPUT_OPTION, ZLIB, ZLIBINC. Do not set P, | |
a8a05998 ZW |
4137 | LANG_FLAGS_TO_PASS. Add OUTPUT_OPTION to all object-file |
4138 | generation rules. Wrap all rules that change the current | |
4139 | directory in parentheses; pmake doesn't spawn a new shell for | |
4140 | each command. Expunge all references to $(P). When one | |
4141 | command depends on another and they're run all at once, use && | |
4142 | to separate them, not ;. Add libgcc_s$(SHLIB_EXT) to files | |
4143 | deleted on make clean. Force OUTPUT_OPTION='-o $@' in stage2 | |
4144 | and beyond. | |
b8dad04b ZW |
4145 | |
4146 | * objc/Make-lang.in: Wrap all rules that change the current | |
4147 | directory in parentheses. Expunge all references to $(P). | |
4148 | When one command depends on another and they're run all at | |
4149 | once, use && to separate them, not ;. Add OUTPUT_OPTION to | |
4150 | all object-file generation rules. Delete obsolete variables. | |
4151 | * objc/Makefile.in: Delete. | |
4152 | ||
fadb729c JJ |
4153 | 2000-10-27 Jakub Jelinek <jakub@redhat.com> |
4154 | ||
4155 | * calls.c (expand_call): If sibcall_failure is set during pass 1, | |
4156 | clear tail_call_insns as well. | |
4157 | ||
254bb256 NC |
4158 | 2000-10-27 Nick Clifton <nickc@redhat.com> |
4159 | ||
4160 | * config/arm/arm-protos.h (arm_function_ok_for_sibcall): Add | |
4161 | prototype. | |
4162 | ||
8eb99146 RH |
4163 | 2000-10-26 Richard Henderson <rth@redhat.com> |
4164 | ||
b8dad04b | 4165 | * calls.c (expand_call): Supress sibcall if we have a |
8eb99146 RH |
4166 | BLKmode return in registers. |
4167 | ||
036099eb BS |
4168 | 2000-10-26 Bernd Schmidt <bernds@redhat.co.uk> |
4169 | ||
4170 | * ia64.h (PREFERRED_RELOAD_CLASS): Force floating point constants | |
4171 | into memory. | |
4172 | ||
13c6f0d5 NS |
4173 | 2000-10-26 Nathan Sidwell <nathan@codesourcery.com> |
4174 | ||
4175 | * tree.c (make_node, case 't'): Set alignment to that of | |
4176 | char_type_node. | |
4177 | * expr.c (move_by_pieces_ninsns): Abort if some length remains. | |
4178 | ||
be5aeb60 MM |
4179 | 2000-10-25 Mark Mitchell <mark@codesourcery.com> |
4180 | ||
4181 | * Makefile.in (site.exp): Define HAVE_LIBSTDCXX_V3. | |
4182 | * configure.in (enable-libstdcxx-v3): Arrange to have | |
4183 | HAVE_LIBSTDCXX_V3 substituted into the output files. | |
4184 | ||
78192b09 RH |
4185 | 2000-10-25 Richard Henderson <rth@redhat.com> |
4186 | ||
4667f705 RH |
4187 | * recog.c (constrain_operands): Initialize which_alternative |
4188 | before no alternatives early exit. | |
4189 | ||
78192b09 RH |
4190 | * cse.c (find_comparison_args): Check that we can reverse a |
4191 | comparison if needed before accepting the substitution. | |
4192 | ||
081b49f1 RH |
4193 | * reload.c (find_reloads_address_part): Kill rtx obstack hackery. |
4194 | ||
d4f1c1fa RH |
4195 | * simplify-rtx.c (simplify_relational_operation): Sign extend |
4196 | low words before sign extending to high words. | |
4197 | ||
bc27e96c NC |
4198 | 2000-10-25 Nick Clifton <nickc@redhat.com> |
4199 | ||
4200 | * config/mcore/mcore.c: Include config.h before system.h. | |
4201 | ||
4202 | 2000-10-25 Ray Essick <essick@ddna.labs.mot.com> | |
4203 | ||
4204 | * config/mcore/mcore.md (return): Force function epilogue to | |
4205 | always be generated to work around epilogue suppression bug in | |
4206 | M*Core backend. | |
4207 | ||
e0c9fbb7 JM |
4208 | 2000-10-25 Joseph S. Myers <jsm28@cam.ac.uk> |
4209 | ||
4210 | * c-decl.c (grokdeclarator): Move warning for qualified void | |
4211 | return types with -pedantic to when the function type is | |
4212 | constructed. At -W, warn in general for qualified function return | |
4213 | types, except for volatile void. | |
4214 | * invoke.texi: Document this new warning at -W. | |
4215 | ||
138e79e7 NB |
4216 | 2000-10-25 Neil Booth <neilb@earthling.net> |
4217 | ||
b8dad04b ZW |
4218 | * cpp.texi: Update with implementation-defined behavior and |
4219 | internal limits. | |
138e79e7 | 4220 | |
dc5041ab JJ |
4221 | 2000-10-25 Jakub Jelinek <jakub@redhat.com> |
4222 | ||
4223 | * stor-layout.c (layout_type): If TYPE_ALIAS_SET was already set on the | |
4224 | incomplete type force it into alias set 0. | |
4225 | ||
e004f2f7 JW |
4226 | Wed Oct 25 01:02:44 EDT 2000 John Wehle (john@feith.com) |
4227 | ||
4228 | * alias.c: Include basic-block.h. | |
4229 | (loop_p): New function. | |
4230 | (mark_constant_function): Use it. | |
4231 | * Makefile.in (alias.o): Update dependencies. | |
4232 | ||
15c09738 AH |
4233 | 2000-10-24 Aldy Hernandez <aldyh@redhat.com> |
4234 | ||
4235 | * config/mn10300/mn10300.c (secondary_reload_class): Treat pseudos | |
4236 | like memory. | |
b8dad04b | 4237 | |
a8ca7756 JW |
4238 | 2000-10-24 Jim Wilson <wilson@cygnus.com> |
4239 | ||
4240 | * expmed.c (store_bit_field): Move integer pun code down after | |
4241 | code that calls emit_move_insn for entire register move. | |
4242 | * stor-layout.c (compute_record_mode): Revert Mar 25, Aug 18, and | |
4243 | Oct 20 changes. Only store mode in TYPE_MODE if RECORD_TYPE. | |
b8dad04b | 4244 | |
c0fc376b RH |
4245 | 2000-10-24 Richard Henderson <rth@cygnus.com> |
4246 | ||
4247 | * rtlanal.c (rtx_unstable_p, rtx_varies_p): Don't consider pic | |
4248 | register stable if PIC_OFFSET_TABLE_REG_CALL_CLOBBERED. | |
4249 | ||
d7836e38 AH |
4250 | 2000-10-24 Aldy Hernandez <aldyh@redhat.com> |
4251 | ||
b8dad04b ZW |
4252 | * gcse.c (cprop_insn): do not propagate constants into jump_insn |
4253 | for machines with CC0 more than once. | |
d7836e38 | 4254 | |
5e2c51ba RH |
4255 | 2000-10-24 Richard Henderson <rth@cygnus.com>, Aldy <aldyh@cygnus.com> |
4256 | ||
b8dad04b ZW |
4257 | * config/mn10300/mn10300.h (PREFERRED_RELOAD_CLASS): Treat |
4258 | pseudos just like memory. | |
5e2c51ba | 4259 | |
c71e1201 AO |
4260 | 2000-10-24 Alexandre Oliva <aoliva@redhat.com> |
4261 | ||
4262 | * combine.c (distribute_notes): Discard REG_LIBCALL and REG_RETVAL | |
4263 | when deleting libcall sequence collapsed to a single instruction. | |
4264 | ||
5129d2ce AH |
4265 | 2000-10-24 Andrew Haley <aph@cygnus.co.uk> |
4266 | ||
4267 | * expr.c (do_store_flag): Don't crash if either side of a | |
4268 | comparison is error_mark_node. | |
4269 | ||
f85b5d65 JJ |
4270 | 2000-10-24 Jakub Jelinek <jakub@redhat.com> |
4271 | ||
4272 | * sibcall.c (purge_mem_unchanging_flag): New function. | |
4273 | (optimize_sibling_and_tail_recursive_calls): Call it. | |
4274 | ||
4adee315 PT |
4275 | 2000-10-24 Philipp Thomas <pthomas@suse.de> |
4276 | ||
4277 | * Makefile.in (check-po): New target for doing checks in the po | |
4278 | subdir if all languages configured. | |
4279 | (CHECK_TARGETS): Add @CHECK_PO@, replaced with check-po via | |
4280 | configure if NLS is enabled. | |
4281 | * configure.in: If NLS is enabled, substitute CHECK_PO by check-po, | |
4282 | otherwise leave empty. | |
4283 | * configure: Regenerate. | |
4284 | ||
fb204271 DN |
4285 | 2000-10-23 Diego Novillo <dnovillo@cygnus.com> |
4286 | ||
4287 | * i386.c (print_operand): Handle new 'A' formatting code. | |
4288 | 387 opcodes need suffixes even with -mintel-syntax. | |
4289 | Check for explicit size override (codes 'b', 'w' and 'k'). | |
4290 | (print_operand_address): Check if register prefix is needed when | |
4291 | emitting `ds' segment override. | |
4292 | * i386.h: Add comment about new 'A' formatting code. | |
4293 | * i386.md (jump and call patterns): Emit absolute references using %A. | |
4294 | ||
8a959ea5 RH |
4295 | 2000-10-23 Richard Henderson <rth@cygnus.com> |
4296 | ||
b8dad04b | 4297 | * config/ia64/ia64.c (ia64_expand_prologue): Mark extra |
8a959ea5 RH |
4298 | output registers as fixed. |
4299 | (ia64_function_epilogue): Undo output fixation. | |
4300 | ||
964686de RH |
4301 | 2000-10-23 Richard Henderson <rth@cygnus.com> |
4302 | ||
4303 | * config/alpha/alpha.md: Add names for all unnamed insns; use | |
4304 | define_insn_and_split in some obvious places. | |
4305 | (lda): Remove. | |
4306 | (zero_extendqihi2): Use an expander w/ nonimmediate_operand for BWX. | |
4307 | (zero_extendqisi2, zero_extendqidi2): Likewise. | |
4308 | (zero_extendhisi2, zero_extendhidi2): Likewise. | |
4309 | (abs splitters): Fix match_scratch operand number. | |
4310 | (bcc_reverse): Swap pc & label instead of non-canonical compare. | |
4311 | ||
18a3c539 JW |
4312 | 2000-10-23 Jim Wilson <wilson@cygnus.com> |
4313 | ||
4314 | * ia64.c (ia64_print_operand, case 'r'): Correct comment. Handle | |
4315 | CONST_INT. | |
4316 | * ia64.md (cmpsi_adjusted): Use %r3. | |
4317 | (cmpdi_adjusted): Likewise. | |
4318 | ||
57dd137f DN |
4319 | 2000-10-23 Diego Novillo <dnovillo@cygnus.com> |
4320 | ||
4321 | * config/i386/att.h (ASM_FILE_START): Define. | |
4322 | ||
d984704d DN |
4323 | 2000-10-23 Diego Novillo <dnovillo@cygnus.com> |
4324 | ||
4325 | * config/i386/linux.h (ASM_FILE_START): Define. | |
4326 | ||
261f21e7 DL |
4327 | Wed Oct 18 11:16:40 2000 Donald Lindsay <dlindsay@cygnus.com> |
4328 | ||
4329 | * gcc/configure.in: m68k-coff tm_file should not have libgloss.h, | |
4330 | since this (only) drags in a crt0.o reference that the .ld files | |
4331 | also introduce. | |
4332 | ||
96af667a GK |
4333 | 2000-10-23 Geoff Keating <geoffk@cygnus.com> |
4334 | ||
2af88768 GK |
4335 | * reload1.c (reload_reg_reaches_end_p): A RELOAD_OTHER can |
4336 | overwrite the value in a RELOAD_FOR_INPUT and other kinds of | |
4337 | reloads just like an RELOAD_FOR_OUTPUT would. | |
4338 | ||
96af667a GK |
4339 | * local-alloc.c (update_equiv_regs): Add an abort(). When |
4340 | deleting or moving insns, update reg_equiv[regno].init_insns. | |
4341 | ||
d252a515 MM |
4342 | 2000-10-23 Mark Mitchell <mark@codesourcery.com> |
4343 | ||
4344 | * c-tree.texi: Improve documentation for IF_STMTs and related | |
4345 | conditional statements. | |
4346 | ||
f9808f81 MM |
4347 | 2000-10-22 Mark Mitchell <mark@codesourcery.com> |
4348 | ||
4349 | * expr.c (do_preexpand_calls): Remove. | |
4350 | (same_from_p): Don't use CALL_EXPR_RTL. | |
4351 | (expand_expr): Don't call preexpand_calls, or use CALL_EXPR_RTL. | |
4352 | (preexpand_calls): Remove. | |
4353 | * tree.c (first_rtl_op): Remove CALL_EXPR case. | |
4354 | (unsave_expr_1): Likewise. | |
4355 | * tree.def (CALL_EXPR): Give it only two slots. | |
4356 | * tree.h (CALL_EXPR_RTL): Remove. | |
4357 | ||
ae4bd622 CC |
4358 | 2000-10-21 Chandrakala Chavva <cchavva@redhat.com> |
4359 | ||
4360 | * libgcc-std.ver (__addvsi3, __addvdi3, __subvsi3, __subvdi3, | |
b8dad04b ZW |
4361 | __mulvsi3, __negvsi2, __negvdi2, __absvsi2, __absvdi2, __mulvdi3): |
4362 | New functions. | |
ae4bd622 | 4363 | |
3e555c7d AO |
4364 | 2000-10-22 Alexandre Oliva <aoliva@redhat.com> |
4365 | ||
4366 | * calls.c (combine_pending_stack_adjustment_and_call): Don't | |
4367 | adjust stack when unadjusted_alignment ends up as zero. | |
4368 | ||
99bdaa68 JM |
4369 | 2000-10-22 Joseph S. Myers <jsm28@cam.ac.uk> |
4370 | ||
4371 | * fixinc/genfixes: Remove EGCS reference. | |
4372 | * install.texi: Remove EGCS reference. | |
4373 | * INSTALL: Regenerate. | |
4374 | ||
e36308b0 MM |
4375 | 2000-10-22 Mark Mitchell <mark@codesourcery.com> |
4376 | ||
4377 | * tree.h (TYPE_IS_SIZETYPE): Add more documentation. | |
4378 | ||
bf6eb15f JM |
4379 | 2000-10-21 Joseph S. Myers <jsm28@cam.ac.uk> |
4380 | ||
4381 | * diagnostic.c: Remove EGCS reference in comment. | |
4382 | ||
e62ff0c3 RK |
4383 | Sat Oct 21 08:24:25 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
4384 | ||
4385 | * loop.c (strength_reduce): Fix error in last change. | |
4386 | ||
0ad7574f DE |
4387 | 2000-10-20 David Edelsohn <edelsohn@gnu.org> |
4388 | ||
4389 | * Makefile.in (SHLIB_NM_FLAGS): New. | |
4390 | (libgcc.mk): Pass it. | |
4391 | * mklibgcc.in (libgcc.map): Use it. | |
4392 | ||
4393 | * rs6000/t-aix43 (SHLIB_EXT, SHLIB_LINK, SHLIB_LIBS, | |
4394 | SHLIB_MKMAP, SHLIB_MAPFILES, SHLIB_NM_FLAGS): New. | |
4395 | ||
8f54374e KG |
4396 | 2000-10-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4397 | ||
4398 | * mips.h (REG_CLASS_FROM_LETTER): Cast array arg to unsigned char. | |
4399 | ||
4400 | * sparc.c (load_pic_register): Delete unused varaible. | |
4401 | ||
4402 | * libgcc2.c (__addvsi3): Delete unused variable. | |
4403 | ||
4404 | * libgcc2.h (__absvsi2, __absvdi2, __addvsi3, __addvdi3, | |
4405 | __subvsi3, __subvdi3, __mulvsi3, __mulvdi3, __negvsi2, | |
4406 | __negvdi2): Prototype. | |
4407 | ||
4408 | * ssa.c (apply_delayed_renames): Avoid undefined operation. | |
4409 | ||
4410 | * toplev.c (display_target_options): Make static to match | |
4411 | prototype. Delete empty declaration. | |
4412 | ||
3f568531 TT |
4413 | 2000-10-20 Tom Tromey <tromey@cygnus.com> |
4414 | ||
4415 | * cppspec.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Added -MF and -MT. | |
4416 | * gcc.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Added -MF and -MT. | |
4417 | ||
235783d1 RK |
4418 | Fri Oct 20 17:05:49 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
4419 | ||
4420 | * expr.c (expand_expr, case SAVE_EXPR): Set RTX_UNCHANGING_P on | |
4421 | returned MEM. | |
4422 | (expand_expr_unaligned, case ARRAY_REF): Check that index is | |
4423 | a constant before comparing it; use tree_low_cst. | |
4424 | * tree.c (save_expr): Set TREE_READONLY. | |
4425 | (substitute_expr): Return inside of NON_LVALUE_EXPR. | |
4426 | (build, build1): Set TREE_READONLY if all operands are. | |
4427 | (build_index_type): If upper bound is a negative number, lower | |
4428 | bound is zero and sizetype is unsigned, use upper bound of one and | |
4429 | lower of zero. | |
4430 | ||
2e44948d DE |
4431 | 2000-10-20 David Edelsohn <edelsohn@gnu.org> |
4432 | ||
4433 | * gcc.c (process_command, main): Use "because" instead of | |
4434 | "since" in error messages. | |
4435 | ||
44475138 RK |
4436 | Fri Oct 20 13:33:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
4437 | ||
382110c0 RK |
4438 | * stor-layout.c (compute_record_mode): Use tree_low_cst. |
4439 | Don't use mode of field for record unless sizes are the same. | |
4440 | (layout_type, case ARRAY_TYPE): Remove special bounds handling | |
4441 | previously added for Ada; also change to using host_integerp | |
4442 | and tree_low_cst. | |
4443 | ||
1dcdb0df RK |
4444 | * loop.c (strength_reduce): Show when new register made for |
4445 | giv is known to be a pointer and its aligment if so and known. | |
4446 | (loop_dump_aux): Show VERBOSE parameter unused. | |
4447 | ||
ebb13e7e RK |
4448 | * gcse.c (set_hash_table_size): Now unsigned. |
4449 | * sdbout.c (template_name_p): Add "const" to avoid warnings. | |
4450 | (sdbout_record_type_name, plain_type_1, sdbout_symbol): Likewise. | |
4451 | (sdbout_one_type, sdbout_parms, sdbout_reg_parms): Likewise. | |
4452 | (sdbout_end_epilogue): Remove variable NAME. | |
4453 | * system.h (getopt): Add default definition. | |
4454 | * config/alpha/alpha.c (print_operand): Don't continue processing | |
4455 | after issuing error. | |
4456 | (summarize_insn): Avoid use of UL in constant. | |
4457 | ||
1468899d RK |
4458 | * function.c (locate_and_pad_parm): Use host_integerp and tree_low_cst. |
4459 | ||
44475138 RK |
4460 | * fold-const.c (force_fit_type): Unsigned values can overflow |
4461 | if they are sizetype. | |
4462 | (int_const_binop): Don't use cache if overflows. | |
391db8c9 | 4463 | |
23ccfa6d RH |
4464 | 2000-10-20 Richard Henderson <rth@cygnus.com> |
4465 | ||
4466 | * function.c (locate_and_pad_parm): Zero alignment_pad. | |
4467 | ||
4ca0f257 RH |
4468 | * regrename.c (rr_replace_reg): Rewrite to use recog_data to |
4469 | perform substitutions, and apply_change_group to see if it worked. | |
4470 | ||
0345195a RK |
4471 | Fri Oct 20 13:33:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
4472 | ||
d57e164f RK |
4473 | * dwarf2out.c (add_bound_info): Also ignore COND_EXPR. |
4474 | ||
0345195a RK |
4475 | * combine.c (struct undo): Change int to unsigned int. |
4476 | (do_SUBST_INT): Args are unsigned int. | |
4477 | (make_extraction, force_to_mode): Use proper type when forming mask. | |
4478 | (make_field_assignment): Likewise. | |
4479 | ||
2f74f7e9 JM |
4480 | 2000-10-20 Joseph S. Myers <jsm28@cam.ac.uk> |
4481 | ||
4482 | * c-common.c (check_format_info_recurse): Extract string constant | |
4483 | initializers from non-volatile constant arrays and check them as | |
4484 | formats. | |
4485 | * c-typeck.c (decl_constant_value): Don't check pedantic or check | |
4486 | for DECL_MODE (decl) != BLKmode. | |
4487 | (decl_constant_value_for_broken_optimization): New function which | |
4488 | includes these checks. | |
4489 | (default_conversion, convert_for_assignment, digest_init): Use | |
4490 | decl_constant_value_for_broken_optimization instead of | |
4491 | decl_constant_value. | |
4492 | ||
971774bb MM |
4493 | 2000-10-20 Mark Mitchell <mark@codesourcery.com> |
4494 | ||
4495 | * tree.h (DECL_ALIGN_UNIT): New macro. | |
4496 | ||
afee2a52 MM |
4497 | 2000-10-14 Marek Michalkiewicz <marekm@linux.org.pl> |
4498 | ||
4499 | * config/avr/avr-protos.h (avr_output_bld): New. | |
4500 | (out_shift_with_cnt): Add t_len argument. | |
4501 | * config/avr/avr.c (avr_num_arg_regs): Remove -mpack-args. | |
4502 | (output_movqi, output_movhi, output_movsisf): Optimize loading | |
4503 | any constant with exactly one bit set to NO_LD_REGS. | |
4504 | (out_shift_with_cnt): Optimize output code for size or speed, | |
4505 | depending on optimize_size. Handle small shift counts as well | |
4506 | (if not hand-optimized in ?sh??i3_out). Shifts can be done | |
4507 | with or without a scratch register, with help of __tmp_reg__ | |
4508 | or __zero_reg__ if necessary. Add T_LEN argument to pass the | |
4509 | length of TEMPLATE in words, return total insn length in *LEN. | |
4510 | (ashlqi3_out, ashrqi3_out, lshrqi3_out): Change all calls to | |
4511 | out_shift_with_cnt to work with the above change. | |
4512 | (ashlhi3_out, ashlsi3_out, ashrhi3_out, ashrsi3_out, lshrhi3_out, | |
4513 | lshrsi3_out): Likewise. Optimize more known shift count cases. | |
4514 | Remove cases already well optimized in out_shift_with_cnt. | |
4515 | (avr_output_bld): New function. | |
4516 | * config/avr/avr.h (MASK_PACK_ARGS, TARGET_PACK_ARGS): Remove. | |
4517 | (TARGET_SWITCHES): Remove -mpack-args backward compatibility. | |
4518 | * config/avr/avr.md (*reload_inqi, *reload_inhi, *reload_insi): | |
4519 | Add reload_completed to insn condition - only for peepholes. | |
4520 | (ashlqi3, ashrqi3, lshrqi3): Correct insn length for shift counts | |
4521 | in a register or memory. | |
4522 | (ashlhi3, ashlsi3, ashrhi3, ashrsi3, lshrhi3, lshrsi3): Likewise. | |
4523 | Do not require a scratch register. | |
4524 | (*ashlhi3_const, *ashlsi3_const, *ashrhi3_const, *ashrsi3_const, | |
4525 | *lshrhi3_const, *lshrsi3_const): New insns and matching peepholes. | |
4526 | Optimize shifts by known count using a scratch register, but only | |
4527 | if one is still available after register allocation. | |
4528 | ||
831f9339 | 4529 | 2000-10-20 J. David Anglin <dave@hiauly1.hia.nrc.ca> |
b8dad04b | 4530 | |
831f9339 DA |
4531 | * t-vax: New file. Don't build modules from libgcc1.c. |
4532 | ||
bf6d9fd7 JW |
4533 | Fri Oct 20 00:57:00 EDT 2000 John Wehle (john@feith.com) |
4534 | ||
4535 | * alias.c: (mark_constant_function): Don't check pure functions. | |
4536 | Initialize and end alias analysis. | |
4537 | (nonlocal_mentioned_p): Rename from nonlocal_reference_p. | |
4538 | Don't make a special exception for recursion. Handle | |
4539 | UNSPEC_VOLATILE. Don't assume ASM_OPERANDS is non-local | |
4540 | unless it's volatile. | |
4541 | ||
4542 | * local-alloc.c (equivalence): New structure. | |
4543 | (reg_equiv): Define. | |
4544 | (contains_replace_regs): Remove array and use | |
4545 | field in reg_equiv. | |
4546 | (memref_referenced_p): Likewise. | |
4547 | (no_equiv): Likewise. | |
4548 | (update_equiv_regs): Likewise. | |
4549 | ||
4550 | (equiv_init_varies_p, | |
4551 | equiv_init_movable_p): New functions. | |
4552 | (update_equiv_regs): Use them. Use rtx_varies_p | |
4553 | instead of function_invariant_p. Process insns | |
4554 | from end to beginning. Allow a REG_EQUIV insn | |
4555 | within the same loop as a use to be moved, also | |
4556 | allow it to be moved out of a loop. Update | |
4557 | REG_DEAD notes when substituting into an insn. | |
4558 | ||
ef375129 JW |
4559 | 2000-10-19 Jim Wilson <wilson@cygnus.com> |
4560 | ||
f4fce7ed JW |
4561 | * c-decl.c (start_decl): Check for error_mark_node type before using |
4562 | COMPLETE_TYPE_P. | |
4563 | (finish_decl): Likewise. Don't give an error if decl type is | |
4564 | already error_mark_node. | |
4565 | ||
ef375129 JW |
4566 | * haifa-sched.c (compute_trg_info): Add explanatory comments. |
4567 | New local update_blocks. Use update_blocks to remove duplicates | |
4568 | when computing update blocks. Check for bblst_table overflow. | |
4569 | (schedule_block): Add explanatory comment. Reduce bblst_size by | |
4570 | factor of 2. | |
4571 | * config/ia64/ia64.md (movdi_symbolic): Document loss of REG_LABEL | |
4572 | notes. | |
b8dad04b | 4573 | |
3cf37281 CC |
4574 | 2000-10-19 Chandrakala Chavva <cchavva@redhat.com> |
4575 | ||
4576 | * libgcc2.c (_mulvsi3): Change variables u and v to a and b. | |
4577 | ||
e6b4d09d CC |
4578 | 2000-10-19 Chandrakala Chavva <cchavva@redhat.com> |
4579 | ||
4580 | * expmed.c: Minor corrections in comments. | |
4581 | * invoke.texi: Added desciption for the new option -ftrapv. | |
4582 | ||
3d2adde6 CC |
4583 | 2000-10-19 Chandrakala Chavva <cchavva@redhat.com> |
4584 | ||
4585 | * libgcc2.c: Added the missing #endif. | |
4586 | ||
1aa9fd24 JH |
4587 | Thu Oct 19 14:25:11 MET DST 2000 Jan Hubicka <jh@suse.cz> |
4588 | ||
4589 | * i386.h (CONST_OK_FOR_LETTER): Re-add 'N'; document. | |
4590 | ||
91ce572a CC |
4591 | 2000-10-18 Chandrakala Chavva <cchavva@redhat.com> |
4592 | ||
b8dad04b ZW |
4593 | * expmed.c (expand_mult): Don't do synth_mult optimization for -ftrapv. |
4594 | Use smulv_optab for -ftrapv. | |
4595 | (expand_mult_highpart): Use unsigned multiply. | |
4596 | (expand_divmod): Special-case division by -1. | |
4597 | For EXACT_DIV_EXPR, do right shift first, then the multiply. | |
4598 | For complex divide, use abs with unsigned result. | |
4599 | * expr.c (force_operand): Use unsigned multiply. | |
4600 | (expand_expr): Use overflow-trapping optabs for signed types if | |
4601 | flag_trapv. | |
4602 | If flag_trapv, don't generate a recursive call with EXPAND_SUM | |
4603 | if the type is signed and the original call wasn't EXPAND_SUM or | |
4604 | EXPAND_INITIALIZER. | |
4605 | * expr.h (addv_optab, subv_optab, smulv_optab, sdivv_optab): Declare. | |
4606 | (negv_optab, absv_optab): Declare. | |
4607 | * flags.h (flag_trapv): Declare. | |
4608 | * genopinit.c (optabs): Add entries for addv_optab, subv_optab, | |
4609 | smulv_optab, sdivv_optab, negv_optab and absv_optab. | |
91ce572a | 4610 | (gen_insn): Interpret '$P' as requiring an integer mode, |
b8dad04b ZW |
4611 | including partial integer modes. |
4612 | * loop.c (emit_iv_add_mult): Use unsigned expand_mult_add. | |
4613 | (product_cheap_p): Use unsigned expand_mult. | |
4614 | * optabs.c (addv_optab, subv_optab, smulv_optab, sdivv_optab): Define. | |
4615 | (negv_optab, absv_optab): Define. | |
4616 | (expand_binop): Use overflow-trapping optabs for signed types if | |
4617 | flag_trapv. | |
4618 | Handle negv_optab libe neg_optab. | |
4619 | (expand_abs): Take result_unsignedp argument instead of unsignedp one. | |
4620 | Use overflow-trapping optabs for signed result if flag_trapv. | |
4621 | (expand_complex_abs): Use overflow-trapping optabs for signed types if | |
4622 | flag_trapv. | |
4623 | Don't open-code complex absolute-value operation for flag_trapv. | |
4624 | (init_optabs): Initialize addv_optab, subv_optab, smulv_optab, | |
4625 | sdivv_optab, negv_optab and absv_optab. | |
4626 | * toplev.c (flag_trapv): Define. | |
4627 | (lang_independent_options f_options): Include flag_trapv. | |
4628 | * tree.h (TYPE_TRAP_SIGNED): Define. | |
4629 | * libgcc2.c (__addvsi3, __addvdi3, __subvsi3,__subvsi3, __subvdi3, | |
4630 | __mulvsi3, __negvsi2, __negvdi2, __absvsi2, __absvdi2, __mulvdi3): | |
4631 | New functions. | |
4632 | * Makefile.in: add _absvsi2 _absvdi2 _addvsi3 _addvdi3 _subvsi3 | |
4633 | _subvdi3 _mulvsi3 _mulvdi3 _negvsi2 _negvdi2. | |
91ce572a | 4634 | |
4c2c5712 GK |
4635 | 2000-10-18 Geoffrey Keating <geoffk@cygnus.com> |
4636 | David V. Henkel-Wallace <gumby@cygnus.com> | |
4637 | ||
4638 | * config/i386/t-netware: Bring in from the Red Hat tree. | |
4639 | * config/i386/netware.h: Likewise. | |
4640 | * config/netware.h: Likewise. | |
4641 | * config/rs6000/netware.h: Delete. | |
4642 | * configure.in: Add i[34567]86-*-netware. | |
4643 | * configure: Hand-edit to match configure.in change. | |
4644 | ||
6bcedb4e MM |
4645 | 2000-10-18 Mark Mitchell <mark@codesourcery.com> |
4646 | ||
4647 | * c-common.h (flag_no_builtin): Declare. | |
4648 | (flag_no_nonansi_builtin): Likewise. | |
4649 | (c_common_nodes_and_builtins): Change prototype. | |
4650 | * c-common.c (flag_no_builtin): New variable. | |
4651 | (flag_no_nonansi_builtin): Likewise. | |
4652 | (c_common_nodes_and_builtins): Remove parameters. Adjust | |
4653 | accordingly. | |
4654 | * c-decl.c (flag_no_builtin): Remove. | |
4655 | (flag_no_nonansi_builtin): Likewise. | |
4656 | (init_decl_processing): Adjust call to | |
4657 | c_common_nodes_and_builtins. | |
b8dad04b | 4658 | |
989b26a7 ME |
4659 | 2000-10-18 Marc Espie <espie@openbsd.org> |
4660 | ||
4661 | * tm.texi (LIBGCC_SPEC): Synch with reality. | |
4662 | ||
81cf47b2 JM |
4663 | 2000-10-18 Joseph S. Myers <jsm28@cam.ac.uk> |
4664 | ||
4665 | * c-common.c (check_format_types): Check for writing through a | |
4666 | NULL pointer argument. | |
4667 | ||
27c35f4b HPN |
4668 | 2000-10-18 Hans-Peter Nilsson <hp@axis.com> |
4669 | ||
4670 | * tm.texi (Exception Region Output): Document | |
4671 | DWARF_CIE_DATA_ALIGNMENT. | |
4672 | * dwarf2out.c (DWARF_CIE_DATA_ALIGNMENT): Wrap definition in | |
4673 | #ifndef. | |
4674 | [ENABLE_CHECKING] (reg_save): Abort if offset is not a multiple of | |
4675 | DWARF_CIE_DATA_ALIGNMENT. | |
4676 | ||
4a7da9b5 MH |
4677 | 2000-10-18 Michael Hayes <mhayes@cygnus.com> |
4678 | ||
4679 | * basic-block.h (struct loop): Delete fields pre_header_root | |
4680 | and pre_header_trace and replace with pre_header_edges | |
4681 | and num_pre_header_edges. | |
4682 | * flow.c (flow_loop_dump): Dump pre_header_edges. | |
4683 | (flow_loops_free): Free pre_header_edges. | |
4684 | (flow_loop_pre_header_scan): Calculate pre_header_edges. | |
4685 | ||
42c10750 GP |
4686 | 2000-10-18 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
4687 | ||
4688 | * contrib.texi: Update references to steering committee members | |
4689 | and Jeff Law's entry. | |
4690 | ||
ade7d3cc JM |
4691 | 2000-10-18 Joseph S. Myers <jsm28@cam.ac.uk> |
4692 | ||
4693 | * c-common.c (CPLUSPLUS_STD_VER, C_STD_VER, C_STD_NAME): Define. | |
4694 | (maybe_read_dollar_number, check_format_info_main): Use them for | |
4695 | pedantic warning messages. | |
4696 | ||
c5251260 JM |
4697 | 2000-10-18 Joseph S. Myers <jsm28@cam.ac.uk> |
4698 | ||
4699 | * c-common.c (check_format_info_main): Minor cleanup: move | |
4700 | variables into inner scopes; initialize declarations where | |
4701 | appropriate; don't hardcode "scanf" name on warning for zero | |
4702 | width. | |
4703 | ||
67673f5c MM |
4704 | 2000-10-17 Mark Mitchell <mark@codesourcery.com> |
4705 | ||
4706 | * c-common.c (back_end_hook): New variable. | |
4707 | * c-common.h (back_end_hook): Declare it. | |
4708 | * c-lang.c (finish_file): Use it. | |
4709 | ||
4710 | * emit-rtl.c (init_emit_once): Initialize the const_int_htab | |
4711 | earlier. | |
b8dad04b | 4712 | |
1aa9fd24 | 4713 | 2000-10-18 Jan Hubicka <jh@suse.cz> |
265dab10 | 4714 | |
b8dad04b ZW |
4715 | * i386.c (ix86_comparison_operator, put_condition_code, |
4716 | ix86_match_ccmode, ix86_cc_mode): Handle CCRCmode. | |
4717 | (ix86_expand_strlensi_unroll_1): Use CCRCmode. | |
4718 | * i386.h (EXTRA_CC_MODES): Add CCRCmode. | |
4719 | * i386.md (adddi and negdi splitter): Use CCRCmode. | |
4720 | (add?i_3, add?i_4, add?i_5): Use CCRCmode; swap operands | |
4721 | (subsi3_carry): add '*' | |
4722 | (addsi3_carry_rc, subsi3_carry_rc, x86_movsicc_0_m1_rc): New. | |
4723 | (cmp to add peep2): Use CCRCmode; swap operands. | |
265dab10 | 4724 | |
b054460b KH |
4725 | 2000-10-18 Kazu Hirata <kazu@hxi.com> |
4726 | ||
8682223f KH |
4727 | * h8300.c: Fix a comment typo. |
4728 | (round_frame_size): New. | |
4729 | (compute_saved_regs): Likewise. | |
4730 | (push): Likewise. | |
4731 | (pop): Likewise. | |
4732 | (push_order): Remove. | |
4733 | (pop_order): Likewise. | |
4734 | (function_prologue): Rearrange code for readability. | |
4735 | (function_epilogue): Likewise. | |
4736 | ||
b054460b KH |
4737 | * config/h8300/h8300.md: Remove an unnecessary sign_extend |
4738 | expander that is used when not optimizing. Output a tab after | |
4739 | each assembly insns. | |
4740 | ||
f27e6bb2 KH |
4741 | * reorg.c: Fix formatting. |
4742 | ||
19ca869b JR |
4743 | 2000-10-17 Joern Rennecke <amylaar@redhat.co.uk> |
4744 | ||
4745 | * reload1.c (move2add_note_store): Check for simple | |
4746 | auto-inc in destination. | |
4747 | ||
2ddb1ca1 MC |
4748 | 2000-10-17 Michael Chastain <chastain@redhat.com> |
4749 | ||
4750 | * config/i386/i386-aout.h: define INT_ASM_OP. | |
4751 | ||
11881f37 AM |
4752 | Tue Oct 17 20:11:08 2000 Alan Modra <alan@linuxcare.com.au> |
4753 | ||
4754 | * pa.c (print_operand): Handle case 'c' for .vtable_inherit | |
4755 | ||
33e39e38 MB |
4756 | Tue Oct 17 20:05:51 2000 Martin Buchholz <martin@xemacs.org> |
4757 | ||
4758 | * i370.md: Fix spelling typo. | |
4759 | ||
832ea3b3 FS |
4760 | 2000-10-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
4761 | ||
4762 | * function.c (locate_and_pad_parm): Don't align stack unconditionally. | |
2b7fb034 | 4763 | Fixes execute/20001017-1.c on powerpc-linux-gnu. |
832ea3b3 FS |
4764 | |
4765 | * expr.c (store_constructor): Apply MEM_ALIAS_SET to MEMs only. | |
2b7fb034 | 4766 | * rs6000/rs6000.c (rs6000_hash_constant): Use X0INT to access a |
832ea3b3 FS |
4767 | LABEL_REF. |
4768 | ||
4769 | * rs6000/rs6000.h (NO_DOLLAR_IN_LABEL, DOLLARS_IN_IDENTIFIERS, | |
4770 | ENCODE_SECTION_INFO, ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Move from | |
4771 | here... | |
4772 | * rs6000/aix.h: ...to here. | |
4773 | * rs6000/linux.h (ASM_APP_ON, ASM_APP_OFF): Define to Linux-style. | |
4774 | ||
4c646291 JJ |
4775 | 2000-10-17 Jakub Jelinek <jakub@redhat.com> |
4776 | ||
4777 | * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Reload gp if needed. | |
4778 | ||
4779 | * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Always use call, make | |
4780 | sure linker can relax even the delay slot mov %g1,%o7, fix output | |
4781 | formating. | |
4782 | ||
07e0fe3d KH |
4783 | 2000-10-17 Kazu Hirata <kazu@hxi.com> |
4784 | ||
4785 | * config/h8300/h8300.md: Remove an unnecessary zero_extend | |
4786 | expander that is used when not optimizing. Output a tab after | |
4787 | each assembly insns. | |
4788 | ||
10501d8f CC |
4789 | 2000-10-17 Chandrakala Chavva <cchavva@redhat.com> |
4790 | ||
4791 | * gcc.c: New options --target-help. | |
4792 | (process_command): Added code to parse this new option. | |
4793 | * toplev.c (display_target_options): New function to support the | |
4794 | above new option. | |
4795 | * cppinit.c (new_pending_directive) : New option OPT_target__help. | |
4796 | (cpp_handle_option): Support this new option. | |
4797 | * invoke.texi: Added notes about --target-help option. | |
b8dad04b | 4798 | |
c330e9c1 | 4799 | 2000-10-17 Graham Stott <grahams@redhat.com> |
b8dad04b | 4800 | |
c330e9c1 GS |
4801 | * config/i386/i386.md (testqi_1): Add missing operand prefix |
4802 | for operand 0. | |
4803 | * config/i386/i386-protos.h: Add missing prototype. | |
b8dad04b | 4804 | |
69ac4831 DN |
4805 | 2000-10-17 Diego Novillo <dnovillo@cygnus.com> |
4806 | ||
4807 | * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Symbol | |
4808 | _GLOBAL_OFFSET_TABLE should not have a $ prefix when | |
4809 | using -mintel-syntax. | |
4810 | ||
b691cb00 JM |
4811 | 2000-10-17 Joseph S. Myers <jsm28@cam.ac.uk> |
4812 | ||
4813 | * c-common.c (FMT_FLAG_DOLLAR_MULTIPLE): Define. | |
4814 | (format_types): Use it for printf. | |
4815 | (maybe_read_dollar_number): Add parameter for the kind of format | |
4816 | involved. Warn for multiple use for arguments if this is | |
4817 | inappropriate for the kind of format involved. | |
4818 | (check_format_info_main): Update calls to maybe_read_dollar_number. | |
4819 | ||
948eab23 DA |
4820 | 2000-10-17 J. David Anglin <dave@hiauly1.hia.nrc.ca> |
4821 | ||
4822 | * inclhack.def (hpux_maxint): Also apply fix to values.h. | |
4823 | * fixincl.x: Rebuilt. | |
4824 | ||
1651ab85 AO |
4825 | 2000-10-17 Alexandre Oliva <aoliva@redhat.com> |
4826 | ||
4827 | * genrecog.c (write_switch): Return the first condition that needs a | |
4828 | label. | |
4829 | ||
2683ed8d BS |
4830 | 2000-10-17 Bernd Schmidt <bernds@redhat.co.uk> |
4831 | ||
4832 | * c-tree.h (warn_sequence_point): Move declaration to... | |
4833 | * c-common.h (warn_sequence_point): ... here. | |
4834 | * c-decl.c (warn_sequence_point): Move definition to... | |
4835 | * c-common.c (warn_sequence_point): ... here. | |
4836 | (struct reverse_tree): New. | |
4837 | (reverse_list, reverse_max_depth): New static variables. | |
4838 | (build_reverse_tree, common_ancestor, modify_ok | |
4839 | verify_sequence_points): New functions. | |
4840 | (c_expand_expr_stmt): Call verify_sequence_points if -Wsequence-point. | |
4841 | * c-typeck.c (check_modify_expr): Delete. | |
4842 | (build_modify_expr): Don't call it. | |
4843 | ||
74ff4629 JM |
4844 | 2000-10-17 Joseph S. Myers <jsm28@cam.ac.uk> |
4845 | ||
4846 | * c-common.h (warn_missing_format_attribute): New variable. | |
4847 | * c-decl.c (warn_missing_format_attribute): New variable. | |
4848 | (c_decode_option): Decode -Wmissing-format-attribute and | |
4849 | -Wno-missing-format-attribute. | |
4850 | * c-common.c (check_function_format): If | |
4851 | -Wmissing-format-attribute, give a warning where a vprintf or | |
4852 | vscanf function is called by a function without its own printf or | |
4853 | scanf attribute. | |
4854 | * toplev.c (documented_lang_options): Add | |
4855 | -Wmissing-format-attribute. | |
4856 | * invoke.texi: Document -Wmissing-format-attribute. | |
4857 | ||
1d3b0e2c ME |
4858 | 2000-10-17 Marc Espie <espie@openbsd.org> |
4859 | ||
4860 | * invoke.texi (-shared): Insist on requiring code generation flags | |
4861 | to be used along with -shared, and document the subtle failure that | |
4862 | may occur otherwise. | |
4863 | ||
1c217171 DA |
4864 | 2000-10-16 J. David Anglin <dave@hiauly1.hia.nrc.ca> |
4865 | ||
4866 | * pa.md (return_internal): Move `use' after `return'. | |
4867 | ||
11f3dc89 TP |
4868 | 2000-10-16 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr> |
4869 | ||
4870 | * machmode.def: Correct comment. | |
4871 | ||
0952f89b RB |
4872 | 2000-10-16 Rodney Brown <RodneyBrown@mynd.com> |
4873 | ||
47c10e9b RB |
4874 | * print-rtl.c (print_rtx_head): Constify. |
4875 | * rtl.h (print_rtx_head): Similarly. | |
4876 | ||
0952f89b RB |
4877 | * config/pa/pa/pa-protos.h (output_64bit_and, output_64bit_ior): |
4878 | Constify char * return value. | |
4879 | * config/pa/pa/pa.c | |
4880 | (output_64bit_and, output_64bit_ior): Constify char * return value. | |
4881 | (pa_can_combine_p): Make static. | |
4882 | (function_arg): Decorate unused `named' argument. Fix comment typo. | |
4883 | (function_arg_partial_nregs): Decorate unused `named' argument. | |
4884 | ||
6d2e1454 JM |
4885 | 2000-10-16 Joseph S. Myers <jsm28@cam.ac.uk> |
4886 | ||
4887 | * c-common.c (format_check_results): New structure. | |
4888 | (finish_dollar_format_checking): Adjust to take a | |
4889 | format_check_results * parameter. | |
4890 | (check_format_info, check_format_info_recurse, | |
4891 | check_format_info_main): Split check_format_info into three | |
4892 | functions, the main checking going in check_format_info_main. | |
4893 | Recurse when any reduction of the format string argument towards a | |
4894 | string literal is done; go down both branches of a conditional | |
4895 | expression. Don't warn for extra format arguments or empty format | |
4896 | strings if they only occur in some branches of a conditional | |
4897 | expression. | |
4898 | ||
4d231df7 KH |
4899 | 2000-10-16 Kazu Hirata <kazu@hxi.com> |
4900 | ||
f2a9645f | 4901 | * config/h8300/h8300.c: Remove obstack. Include ggc.h. |
4d231df7 | 4902 | |
55143861 JJ |
4903 | 2000-10-16 Jakub Jelinek <jakub@redhat.com> |
4904 | ||
4905 | * rtlanal.c (may_trap_p): Check operand modes of COMPARE. | |
4906 | ||
406df25c DN |
4907 | 2000-10-15 Diego Novillo <dnovillo@cygnus.com> |
4908 | ||
4909 | * i386.md (*movsi_or): Switch operand order for intel syntax. | |
4910 | ||
e8beb821 JM |
4911 | 2000-10-14 Joseph S. Myers <jsm28@cam.ac.uk> |
4912 | ||
2f6256e7 JM |
4913 | * PROBLEMS: Remove. |
4914 | ||
e8beb821 JM |
4915 | * gcc.texi (Contributing): Update. |
4916 | ||
c1f9de5a DN |
4917 | 2000-10-13 Diego Novillo <dnovillo@cygnus.com> |
4918 | ||
4919 | * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Output final jump using | |
4920 | appropriate assembler dialect. | |
4921 | ||
f58e0b0c AO |
4922 | 2000-10-13 Alexandre Oliva <aoliva@redhat.com> |
4923 | ||
4924 | * c-common.c (c_expand_builtin): PARAMS-ize prototype. | |
4925 | ||
08f81276 MM |
4926 | 2000-10-12 Marek Michalkiewicz <marekm@linux.org.pl> |
4927 | ||
4928 | * config/avr/avr.c (output_movhi, output_movsisf): Fix loading | |
4929 | constants 1 and 2 to NO_LD_REGS. | |
4930 | ||
4b945402 KG |
4931 | 2000-10-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4932 | ||
4933 | * Makefile.in (c-parse.c, tradcif.c): Create atomically. | |
b8dad04b | 4934 | |
4b945402 KG |
4935 | * objc/Make-lang.in (objc-parse.c): Likewise. |
4936 | ||
c7319d87 RE |
4937 | 2000-10-13 Richard Earnshaw <rearnsha@arm.com> |
4938 | ||
4939 | * arm.c: Include obstack.h | |
4940 | (minipool_obstack, minipool_startobj): Define. | |
4941 | (arm_add_gc_roots): Initialize them. | |
4942 | (create_fix_barrier): Use our new obstack. | |
4943 | (push_minipool_barrier, push_minipool_fix): Likewise. | |
4944 | (arm_reorg): Release obstack memory. | |
4945 | ||
fccf9848 JJ |
4946 | 2000-10-13 Jakub Jelinek <jakub@redhat.com> |
4947 | ||
4948 | * config/sparc/sparc.md (nonlocal_goto_receiver): Remove. | |
4949 | (prologue, exception_receiver, builtin_setjmp_receiver): New | |
4950 | patterns. | |
4951 | * config/sparc/sparc.h (FINALIZE_PIC): Remove. | |
4952 | * config/sparc/sparc-protos.h (finalize_pic): Remove. | |
4953 | (load_pic_register): New prototype. | |
4954 | * config/sparc/sparc.c (pic_setup_code): Remove. | |
4955 | (finalize_pic): Rename to... | |
4956 | (load_pic_register): ...this function. | |
4957 | Don't look for nonlocal_goto_receivers and emit pic setup code | |
4958 | directly. Don't check current_function_uses_pic_offset_table. | |
4959 | ||
7584b89f RE |
4960 | 2000-10-13 Richard Earnshaw <rearnsha@arm.com> |
4961 | ||
4962 | * tree.h (struct obstack): Declare. | |
4963 | ||
1f8f4a0b MM |
4964 | 2000-10-12 Mark Mitchell <mark@codesourcery.com> |
4965 | ||
b8dad04b | 4966 | Remove obstacks. |
1f8f4a0b | 4967 | * Makefile.in (ggc-callbacks.o): Remove target. |
b8dad04b | 4968 | (flow.o): Depend on GGC_H. |
1f8f4a0b MM |
4969 | * alias.c (init_alias_analysis): |
4970 | Remove ggc_p conditionals. | |
b8dad04b | 4971 | (end_alias_analysis): Likewise. |
1f8f4a0b | 4972 | * basic-block.h (init_flow): New function. |
b8dad04b | 4973 | (allocate_reg_life_data): Declare. |
1f8f4a0b MM |
4974 | * bb-reorder.c (function_obstack): Replace with ... |
4975 | (flow_obstack): ... new variable. | |
b8dad04b | 4976 | (fixup_reorder_chain): Use it. |
1f8f4a0b | 4977 | * c-decl.c (ggc_p): Remove. |
b8dad04b | 4978 | (caller-save.c): Don't call oballoc/obfree. |
1f8f4a0b MM |
4979 | * combine.c (struct |
4980 | undobuf): Remove storage. | |
4981 | (try_combine): Don't call oballoc. | |
b8dad04b | 4982 | (undo_all): Don't call obfree. |
1f8f4a0b MM |
4983 | * cse.c (insert): Use xmalloc, not |
4984 | oballoc. | |
b8dad04b | 4985 | (cse_main): Adjust accordingly. |
1f8f4a0b MM |
4986 | * dwarf2out.c (save_rtx): Remove |
4987 | obstack code. | |
b8dad04b | 4988 | (dwarf2out_init): Remove ggc_p conditionals. |
1f8f4a0b MM |
4989 | * emit-rtl.c (rtl_obstack): Remove. |
4990 | (gen_rtx_CONST_INT): Remove ggc_p conditionals. | |
4991 | (make_insn_raw): Likewise. | |
4992 | (emit_insn_before): Likewise. | |
4993 | (emit_insn_after): Likewise. | |
4994 | (emit_insn): Likewise. | |
4995 | (gen_sequence): Likewise. | |
4996 | (copy_insn_1): Remove handling of `b' RTL components. | |
b8dad04b | 4997 | (init_emit_once): Remove ggc_p conditionals. |
1f8f4a0b MM |
4998 | * except.c (create_rethrow_ref): Don't fool with obstacks. |
4999 | (add_partial_entry): Likewise. | |
5000 | (call_get_eh_context): Likewise. | |
5001 | (begin_protect_partials): Likewise. | |
b8dad04b | 5002 | (protect_with_terminate): Likewise. |
1f8f4a0b | 5003 | * explow.c |
b8dad04b | 5004 | (plus_constant_wide): Likewise. |
1f8f4a0b MM |
5005 | * expr.c (init_expr_once): |
5006 | Likewise. | |
5007 | (emit_block_move): Likewise. | |
5008 | (clear_storage): Likewise. | |
b8dad04b | 5009 | (expand_expr): Likewise. |
1f8f4a0b MM |
5010 | * flow.c (function_obstack): Remove. |
5011 | (flow_obstack): New variable. | |
5012 | (flow_firstobj): Likewise. | |
5013 | (create_base_block): Use the flow_obstack. | |
5014 | (split_block): Likewise. | |
5015 | (split_edge): Likewise. | |
5016 | (calculate_global_regs_live): Likewise. | |
5017 | (allocate_bb_life_data): Make it static. Likewiwse. | |
5018 | (init_flow): New function. | |
b8dad04b | 5019 | (size_int_type_wide): Remove ggc_p conditionals. |
1f8f4a0b MM |
5020 | * function.c |
5021 | (push_function_context_to): Don't call save_tree_status. | |
5022 | (pop_function_context_from): Or restore_tree_status. | |
5023 | (assign_stack_local_1): Don't call push_obstacks. | |
5024 | (find_fixup_replacement): Use xmalloc. | |
5025 | (fixup_var_refs_insns): Free the storage. | |
5026 | (insns_for_mem_walk): Don't mess with obstacks. | |
5027 | (instantiate_decls): Likewise. | |
5028 | (trampoline_address): Likewise. | |
b8dad04b | 5029 | (expand_function_end): Likewise. |
1f8f4a0b MM |
5030 | * function.h (sturct function): |
5031 | Remove obstack-related variables. | |
5032 | (save_tree_status): Don't declare. | |
b8dad04b | 5033 | (restore_tree_status): Likewise. |
1f8f4a0b | 5034 | * gcse.c (compute_can_copy): |
b8dad04b | 5035 | Don't call oballoc/obfree. |
1f8f4a0b MM |
5036 | * genattrtab.c (operate_exp): Remove |
5037 | ggc_p conditionals. | |
5038 | (simplify_cond): Likewise. | |
5039 | (simplify_test_exp): Don't mess with obstacks. | |
b8dad04b | 5040 | (optimize_attrs): Likewise. |
1f8f4a0b | 5041 | * gengenrtl.c (gendef): Don't include |
b8dad04b ZW |
5042 | ggc_p conditionals. |
5043 | * ggc-callbacks.c (ggc_p): Remove. | |
5044 | * ggc-none.c (ggc_p): Remove. | |
5045 | * ggc.h (ggc_p): Don't declare. | |
265dab10 | 5046 | * integrate.c (save_for_inline): Don't mess with obstacks. |
1f8f4a0b | 5047 | (integrate_decl_tree): Likewise. |
b8dad04b | 5048 | (output_inline_function): Likewise. |
1f8f4a0b | 5049 | * lists.c |
b8dad04b | 5050 | (init_EXPR_INSN_LIST_cache): Likewise. |
1f8f4a0b MM |
5051 | * loop.c (temp_obstack): |
5052 | Remove. | |
5053 | (rtl_obstack): Likewise. | |
5054 | (init_loop): Don't mess with obstacks. | |
5055 | (reg_address_cost): Free BIVs and GIVs. | |
5056 | (check_insns_for_bivs): Use xmalloc, not oballoc. | |
5057 | (find_mem_givs): Likewise. | |
5058 | (record_biv): Likewise. | |
5059 | (general_induction_var): Likewise. | |
b8dad04b | 5060 | (product_cheap_p): Likewse. |
1f8f4a0b | 5061 | * optabs.c (init_one_libfunc): Remove |
b8dad04b | 5062 | ggc_p conditional. |
1f8f4a0b MM |
5063 | * print-tree.c (debug_tree): Don't use |
5064 | oballoc/obfree. | |
b8dad04b | 5065 | (print_node): Likewise. |
1f8f4a0b | 5066 | * profile.c (output_func_start_profiler): |
b8dad04b | 5067 | Remove call to temporary_allocation. |
1f8f4a0b | 5068 | * reload1.c |
b8dad04b | 5069 | (eliminate_regs_in_insn): Don't mess with obstacks. |
1f8f4a0b MM |
5070 | * resource.c |
5071 | (mark_target_live_regs): Use xmalloc. | |
b8dad04b | 5072 | (free_resource_info): Free the memory. |
1f8f4a0b MM |
5073 | * rtl.c (rtl_obstack): |
5074 | Remove. | |
5075 | (rtvec_alloc): Don't mess with obstacks. | |
5076 | (rtx_alloc): Likewise. | |
5077 | (rtx_free): Remove. | |
5078 | (copy_rtx): Don't handle `b' cases. | |
b8dad04b | 5079 | (read_rtx): Use a local rtl_obstack. |
1f8f4a0b MM |
5080 | * rtl.h (oballoc): Remove. |
5081 | (obfree): Likewise. | |
5082 | (pop_obstacks): Likewise. | |
5083 | (push_obstacks): Likewise. | |
5084 | (allocate_bb_life_data): Likewise. | |
5085 | (allocate_reg_life_data): Likewise. | |
b8dad04b | 5086 | (rtx_free): Likewise. |
1f8f4a0b | 5087 | * sdbout.c (sdbout_queue_anonymous_type): |
b8dad04b | 5088 | Use tree_cons, not saveable_tree_cons. |
1f8f4a0b | 5089 | * simplify-rtx.c |
b8dad04b | 5090 | (cselib_init): Don't mess with obstacks. |
1f8f4a0b MM |
5091 | * stmt.c |
5092 | (mark_block_nesting): Mark the label_chain. | |
5093 | (epxand_label): Use ggc_alloc, not oballoc. | |
5094 | (clear_last_expr): Don't mess with obstacks. | |
5095 | (expand_decl_cleanup): Likewise. | |
5096 | (expand_dcc_cleanup): Likewise. | |
5097 | (expand_dhc_cleanup): Likewise. | |
5098 | (expand_anon_union_decl): Likewise. | |
5099 | (add_case_node): Use xmalloc, not oballoc. | |
5100 | (free_case_nodes): New function. | |
b8dad04b | 5101 | (expand_end_case): Call it. |
1f8f4a0b MM |
5102 | * stor-layout.c (layout_type): Don't |
5103 | mess with obstacks. | |
b8dad04b | 5104 | (layout_type): Likewise. |
1f8f4a0b MM |
5105 | * toplev.c (wrapup_global_declarations): |
5106 | Likewise. | |
5107 | (compile_file): Remove ggc_p conditionals. | |
5108 | (rest_of_compilation): Call init_flow. Remove ggc_p conditionals. | |
b8dad04b | 5109 | (decode_f_option): Remove ggc_p conditionals. |
1f8f4a0b MM |
5110 | * tree.c |
5111 | (function_maybepermanent_obstack): Remove. | |
5112 | (maybepermanent_obstack): Likewise. | |
5113 | (function_obstack): Likewise. | |
5114 | (tmeporary_obstack): Likewise. | |
5115 | (momentary_obstack): Likewise. | |
5116 | (temp_decl_obstack): Likewise. | |
5117 | (saveable_obstack): Likewise. | |
5118 | (rtl_obstack): Likewise. | |
5119 | (current_obstack): Likewise. | |
5120 | (expression_obstack): Likewise. | |
5121 | (struct obstack_stack): Likewise. | |
5122 | (obstack_stack): Likewise. | |
5123 | (obstack_stack_obstack): Likewise. | |
5124 | (maybepermanent_firstobj): Likewise. | |
5125 | (temporary_firstobj): Likewise. | |
5126 | (momentary_firstobj): Likewise. | |
5127 | (temp_decl_firstobj): Likewise. | |
5128 | (momentary_function_firstobj): Likewise. | |
5129 | (all_types_permanent): Likewise. | |
5130 | (struct momentary_level): Likewise. | |
5131 | (momentary_stack): Likewise. | |
5132 | (init_obstacks): Remove initialization of removed obstacks. | |
5133 | (save_tree_status): Remove. | |
5134 | (restore_tree_status): Likewise. | |
5135 | (temporary_allocation): Liekwise. | |
5136 | (end_temporary_allocation): Liekwise. | |
5137 | (resume_temporary_allocation): Likewise. | |
5138 | (saveable_allocation): Likewise. | |
5139 | (push_obstacks): Likewise. | |
5140 | (push_obstacks_nochange): Likewise. | |
5141 | (pop_obstacks): Likewise. | |
5142 | (allocation_temporary_p): Likewise. | |
5143 | (permanent_allocation): Likewise. | |
5144 | (preserve_data): Likewise. | |
5145 | (preserve_initializer): Likewise. | |
5146 | (rtl_in_current_obstack): Likewise. | |
5147 | (rtl_in_saveable_obstack): Likewise. | |
5148 | (oballoc): Likewise. | |
5149 | (obfree): Likewise. | |
5150 | (savealloc): Likewise. | |
5151 | (expralloc): Likewise. | |
5152 | (print_obstack_name): Likewise. | |
5153 | (debug_obstack): Likewise. | |
5154 | (object_permanent_p): Likewise. | |
5155 | (push_momentary): Likewise. | |
5156 | (perserve_momentary): Likewise. | |
5157 | (clear_momentary): Likewise. | |
5158 | (pop_momentary): Likewise. | |
5159 | (pop_momentary_nofree): Likewise. | |
5160 | (suspend_momentary): Likewise. | |
5161 | (resume_momentary): Likewise. | |
5162 | (make_node): Don't set TREE_PERMANENT. | |
5163 | (copy_node): Remove ggc_p conditionals. Don't set TYPE_OBSTACK. | |
5164 | Don't set TREE_PERMANENT. | |
5165 | (get_identifier): Remove ggc_p conditionals. | |
5166 | (build_string): Likewise. | |
5167 | (make_tree_vec): Likewise. | |
5168 | (build_decl_list): Remove. | |
5169 | (build_expr_list): Likewise. | |
5170 | (tree_cons): Remove ggc_p conditionals. | |
5171 | (decl_tree_cons): Remove. | |
5172 | (expr_tree_cons): Likewise. | |
5173 | (perm_tree_cons): Likewise. | |
5174 | (temp_tree_cons): Likewise. | |
5175 | (saveable_tree_cons): Likewise. | |
5176 | (build1): Remove ggc_p conditionals. | |
5177 | (build_parse_node): Likewise. | |
5178 | (build_type_attribute_variant): Don't mess with obstacks. | |
5179 | (build_type_copy): Likewise. | |
5180 | (type_hash_canon): Likewise. | |
5181 | (build_pointer_type): Likewise. | |
5182 | (build_reference_type): Likewise. | |
5183 | (build_index_type): Likewise. | |
5184 | (build_range_type): Likewise. | |
b8dad04b | 5185 | (dump_tree_statistics): Don't print obstack information. |
1f8f4a0b MM |
5186 | * tree.h |
5187 | (struct tree_common): Remove permanent_flag. | |
5188 | (TREE_PERMANENT): Remove. | |
5189 | (TREE_SET_PERMANENT): Likewise. | |
5190 | (TYPE_OBSTACK): Likewise. | |
5191 | (struct tree_type): Remove obstack. | |
5192 | (oballoc): Remove. | |
5193 | (savealloc): Likewise. | |
5194 | (build_decl_list): Likewise. | |
5195 | (build_expr_list): Likewise. | |
5196 | (perm_tree_cons): Likewise. | |
5197 | (temp_tree_cons): Likewise. | |
5198 | (saveable_tree_cons): Likewise. | |
5199 | (decl_tree_cons): Likewise. | |
5200 | (expr_tree_cons): Likewise. | |
5201 | (suspend_momentary): Likewise. | |
5202 | (allocation_temporary_p): Likewise. | |
5203 | (resume_momentary): Likewise. | |
5204 | (push_obstacks_nochange): Likewise. | |
5205 | (permanent_allocation): Likewise. | |
5206 | (push_momentary): Likewise. | |
5207 | (clear_momentary): Likewise. | |
5208 | (pop_momentary): Likewise. | |
5209 | (end_temporary_allocation): Likewise. | |
5210 | (pop_obstacks): Likewise. | |
5211 | (push_obstacks): Likewise. | |
5212 | (pop_momentary_nofree): LIkewise. | |
5213 | (preserve_momentary): Likewise. | |
5214 | (saveable_allocation): Likewise. | |
5215 | (temporary_allocation): Likewise. | |
5216 | (resume_temporary_allocation): Likewise. | |
5217 | (perserve_initializer): Likewise. | |
5218 | (debug_obstack): Likewise. | |
5219 | (rtl_in_current_obstack): Likewise. | |
5220 | (rtl_in_saveable_obstack): Likewise. | |
b8dad04b | 5221 | (obfree): Likewise. |
1f8f4a0b MM |
5222 | * varasm.c (current_obstack): Remove. |
5223 | (saveable_obstack): Remove. | |
5224 | (rtl_obstack): Remove. | |
5225 | (immed_double_const): Don't mess with obstacks. | |
5226 | (immed_real_cons): Likewise. | |
5227 | (output_constant_def): Likewise. | |
5228 | (init_varasm_status): Use xcalloc. | |
5229 | (mark_pool_constant): Mark the pool constant itself. | |
5230 | (free_varasm_status): Free memory. | |
5231 | (decode_rtx_const): Call bzero directly, rather than expanding it | |
5232 | inline. | |
5233 | (record_rtx_const): Don't mess with obstacks. | |
5234 | (force_const_mem): Likewise. | |
5235 | * config/arm/arm.c (arm_encode_call_attribute): Remove ggc_p | |
5236 | conditionals. | |
5237 | (aof_pic_entry): Likewise. | |
5238 | * config/ia64/ia64.c (ia64_encode_section_info): Likewise. | |
5239 | * config/m32r/m32r.c (m32r_encode_section_info): Likewise. | |
5240 | * config/pa/pa.c (saveable_obstack): Remove. | |
5241 | (rtl_obstack): Likewise. | |
5242 | (current_obstack): Likewise. | |
5243 | (output_call): Don't mess with obstacks. | |
5244 | (hppa_encode_label): Remove ggc_p conditionals. | |
5245 | * config/romp/romp.c (get_symref): Don't mess with obstacks. | |
5246 | * config/rs6000/rs6000.c (output_toc): Remove ggc_p conditional. | |
5247 | (rs6000_encode_section_info): Likewise. | |
5248 | * config/sh/sh.c (get_fpscr_rtx): Likewise. | |
b8dad04b | 5249 | |
9dcbdc7e JH |
5250 | Thu Oct 12 16:02:31 MET DST 2000 Jan Hubicka <jh@suse.cz> |
5251 | ||
5252 | * i386.md (adddi3, subdi3 splitters): Update for new pattern. | |
5253 | (addsi3_cc, addqi3_cc, subsi3_cc): Remove | |
5254 | (addsi3_carry): Canonicalize. | |
5255 | (addqi_5): Remove '*'. | |
5256 | (sbb pattern): Canonicalize. | |
5257 | ||
5258 | * i386.md (cmp to inc/add peep2): New. | |
5259 | ||
74490e05 RE |
5260 | 2000-10-12 Richard Earnshaw <rearnsha@arm.com> |
5261 | ||
5262 | * bb-reorder.c (reorder_basic_blocks): Allocate an aux block for | |
5263 | the exit block. | |
5264 | ||
bc87c1c8 JM |
5265 | 2000-10-12 Joseph S. Myers <jsm28@cam.ac.uk> |
5266 | ||
5267 | * gcc.texi: Merge in contents of README.TRAD and TESTS.FLUNK. | |
5268 | * README.TRAD, TESTS.FLUNK: Remove. | |
5269 | ||
9fa8f75d JM |
5270 | 2000-10-12 Joseph S. Myers <jsm28@cam.ac.uk> |
5271 | ||
5272 | * c-common.c (decl_attributes): Don't allow strftime formats with | |
5273 | first_arg_num nonzero. | |
5274 | (check_format_info): Set wanted_type and wanted_type_name to zero | |
5275 | before they are possibly assigned and used. | |
5276 | ||
4831bc84 JM |
5277 | 2000-10-12 Joseph S. Myers <jsm28@cam.ac.uk> |
5278 | ||
5279 | * c-common.c (scanf_flag_specs): Add flags ' and I. | |
5280 | (strftime_flag_pairs): Disallow any pair of the _, - and 0 flags, | |
5281 | or the ^ and # flags together. | |
5282 | (scan_char_table): Handle the ' and I flags. | |
5283 | (format_types): Add ' and I flags for scanf. | |
5284 | ||
2f7026a0 JM |
5285 | 2000-10-12 Joseph S. Myers <jsm28@cam.ac.uk> |
5286 | ||
5287 | * c-common.c (print_char_table): Use the unpromoted type for | |
5288 | lengths "h" and "hh" with conversions dioxXu. | |
5289 | (check_format_types): Apply the default argument promotions where | |
5290 | the wanted type is not a pointer target. | |
5291 | ||
bb58bec5 | 5292 | 2000-10-11 Michael Meeks <mmeeks@gnu.org> |
b8dad04b | 5293 | Joseph S. Myers <jsm28@cam.ac.uk> |
bb58bec5 JM |
5294 | |
5295 | * c-typeck.c (check_modify_expr): New function. | |
5296 | (build_modify_expr): Call it if warn_sequence_point. | |
5297 | * c-decl.c (warn_sequence_point): New variable. | |
5298 | (c_decode_option): Handle -Wsequence-point and | |
5299 | -Wno-sequence-point. Enable -Wsequence-point as part of -Wall. | |
5300 | * c-tree.h (warn_sequence_point): Declare. | |
5301 | * invoke.texi (-Wsequence-point): Document. | |
5302 | * toplev.c (documented_lang_options): Add -Wsequence-point and | |
5303 | -Wno-sequence-point. | |
5304 | Original work by Michael Meeks, 16 Jun 1998. | |
5305 | ||
0fba7208 RK |
5306 | Wed Oct 11 06:15:41 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
5307 | ||
5308 | * tree.c (get_narrower): Don't look at precision of field if | |
5309 | not laid out yet. | |
5310 | ||
67e570ea DC |
5311 | Tue Oct 10 23:14:33 2000 Denis Chertykov <denisc@overta.ru> |
5312 | ||
5313 | * config/avr/avr.c (valid_machine_decl_attribute): Allow `extern' | |
5314 | declaration for data with "progmem" attribute. | |
5315 | ||
80b8585d MM |
5316 | 2000-10-09 Marek Michalkiewicz <marekm@linux.org.pl> |
5317 | ||
5318 | * config/avr/avr.c (out_shift_with_cnt): Use AS2 macro. | |
5319 | Correct insn length if shift count is a memory operand. | |
5320 | * config/avr/avr.md: New define_peephole2 to use *reload_inqi. | |
5321 | (*iorhi3_clobber): Change lo8 to hi8. | |
5322 | (zero_extendhisi2): Change %B0 to %A1. | |
5323 | (ashlhi3, ashrhi3): Correct insn length. | |
5324 | (andhi3, abssf2, extendqisi2, extendhisi2): Change "cc" | |
5325 | from "clobber" to "set_n" in some alternatives. | |
5326 | ||
462561b7 JJ |
5327 | 2000-10-10 Jakub Jelinek <jakub@redhat.com> |
5328 | ||
5329 | * reload1.c (calculate_needs_all_insns): If deleting an instruction, | |
5330 | remove its insn_chain structure as well. | |
5331 | ||
0b8833aa DA |
5332 | 2000-10-09 J. David Anglin <dave@hiauly1.hia.nrc.ca> |
5333 | ||
5334 | * dbxout.c (dbxout_source_line): Remove extra tab. | |
5335 | ||
c690f089 HPN |
5336 | 2000-10-09 Hans-Peter Nilsson <hp@bitrange.com> |
5337 | ||
5338 | * config/elfos.h (UNIQUE_SECTION): Apply STRIP_NAME_ENCODING on name. | |
5339 | ||
1854631b RH |
5340 | 2000-10-09 Richard Henderson <rth@cygnus.com> |
5341 | ||
5342 | * Makefile.in (LANG_LIB2FUNCS): Remove. | |
5343 | (LIB2FUNCS): Remove _pure. | |
5344 | (LIB2ADD): Remove LANG_LIB2FUNCS. | |
5345 | (stage_a): Don't set LANG_LIB2FUNCS. | |
5346 | * libgcc2.c (__terminate): Mark noreturn. | |
5347 | (__pure_virtual): Remove. | |
5348 | * mklibgcc.in: Remove LIB2ADD .txt processing. | |
5349 | ||
880c4dcb RE |
5350 | 2000-10-09 Richard Earnshaw <rearnsha@arm.com> |
5351 | ||
5352 | * arm.md (push_multi): Revert unintended change. | |
5353 | ||
5895f793 RE |
5354 | 2000-10-09 Richard Earnshaw <rearnsha@arm.com> |
5355 | ||
b8dad04b | 5356 | * arm.c: Miscellaneous white space and comment clean-ups. No |
5895f793 RE |
5357 | functional change. |
5358 | * arm.md: Likewise. | |
5359 | ||
1092710d KG |
5360 | 2000-10-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
5361 | ||
5362 | * c-common.c (c_expand_builtin_printf): Set the TREE_TYPE of a new | |
5363 | STRING_CST by calling combine_strings. | |
5364 | ||
ca356f3a RE |
5365 | 2000-10-09 Richard Earnshaw <rearnsha@arm.com> |
5366 | ||
5367 | * arm.c (thumb_expand_movstrqi): Rewrite to support SSA form. | |
5368 | (thumb_output_move_mem_multiple): Support new insn format. | |
5369 | * arm.md (movmem12b): Use SSA compatible format. | |
5370 | (movmem8b): Likewise. | |
5371 | ||
cca0a211 RE |
5372 | 2000-10-09 Richard Earnshaw <rearnsha@arm.com> |
5373 | ||
5374 | * arm.md (predicable): New attribute, default to "no". | |
5375 | (all patterns): Mark as predicable if appropriate. | |
5376 | (conditional execution splits): Split using predication format. | |
5377 | (define_cond_exec): Define. | |
5378 | * arm.c (arm_print_operand): handle insn predicate. | |
b8dad04b | 5379 | |
1146cfde GP |
5380 | 2000-10-09 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
5381 | ||
5382 | * README.NS32K: Remove file. | |
5383 | ||
5384 | 2000-10-09 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> | |
5385 | ||
5386 | * README-bugs: Remove file. | |
5387 | ||
4d0230e1 PT |
5388 | 2000-10-08 Philipp Thomas <pthomas@suse.de> |
5389 | * aclocal.m4 (AM_GNU_GETTEXT): Fix non portable use of == operator | |
5390 | for test. | |
5391 | * configure: Rebuilt. | |
5392 | ||
9fdf713f PT |
5393 | 2000-10-08 Philipp Thomas <pthomas@suse.de> |
5394 | * aclocal.m4 (AM_WITH_NLS): When not using included gettext, | |
5395 | disable catalog building if no suitable program was found. | |
5396 | Move warning message from here | |
5397 | (AM_GNU_GETTEXT): To here. | |
5398 | * configure: Rebuilt. | |
5399 | ||
00036f5c PT |
5400 | 2000-10-08 Philipp Thomas <pthomas@suse.de> |
5401 | * aclocal.m4 (GCC_PATH_PROG): New. Like AC_PATH_PROG but uses | |
5402 | different cache variables. | |
5403 | (GCC_PATH_PROG_WITH_TEST): New. Like AM_PATH_PROG_WITH_TEST but | |
5404 | uses different cache variables. | |
5405 | (AM_WITH_NLS): Use GCC_PATH_PROG and GCC_PATH_PROG_WITH_TEST. | |
5406 | * configure: Regenerated. | |
b8dad04b | 5407 | |
aefa45d3 RH |
5408 | 2000-10-08 Richard Henderson <rth@cygnus.com> |
5409 | ||
5410 | * Makefile.in (libgcc.mk): Pass SHLIB_EXT, not SHLIB_LIBS. | |
5411 | * configure.in (sparc*-*-solaris*): Use t-slibgcc{,-sld}. | |
5412 | * mklibgcc.in: Consider SHLIB_LINK the entire shlib build command. | |
5413 | Use SHLIB_EXT. | |
5414 | ||
5415 | * config/t-linux (SHLIB_EXT): New. | |
5416 | (SHLIB_LINK): Use the entire build command, with substitutions. | |
5417 | (SHLIB_LIBS): Remove. | |
5418 | * config/alpha/t-osf4: Likewise. | |
5419 | * config/mips/t-iris6: Likewise. | |
5420 | * config/sparc/t-sol2: Likewise, but move shlib stuff... | |
5421 | * config/sparc/t-slibgcc-sld: ...here. | |
5422 | * config/sparc/t-slibgcc: New file. | |
5423 | ||
b15ad712 JM |
5424 | 2000-10-08 Joseph S. Myers <jsm28@cam.ac.uk> |
5425 | ||
5426 | * tm.texi (INTMAX_TYPE, UINTMAX_TYPE): Define. | |
5427 | * c-common.h (enum c_tree_index): Add CTI_INTMAX_TYPE and | |
5428 | CTI_UINTMAX_TYPE. | |
5429 | (intmax_type_node, uintmax_type_node): Define. | |
5430 | * c-common.c (decl_attributes): If pedantic, warn if `mode' | |
5431 | attributes create a type wider than intmax_t. | |
5432 | (T_IM, T_UIM): Define properly. | |
5433 | * c-decl.c (INTMAX_TYPE, UINTMAX_TYPE): Define if not already | |
5434 | defined. | |
5435 | (init_decl_processing): Initialize intmax_type_node and | |
5436 | uintmax_type_node. | |
5437 | * c-lex.c (lex_number): When pedantic and warning for integer | |
5438 | constants that are too large, in C99 mode warn for those that have | |
5439 | a type wider than long long. | |
5440 | ||
2588e44e JM |
5441 | 2000-10-08 Joseph S. Myers <jsm28@cam.ac.uk> |
5442 | ||
5443 | * c-common.c (FMT_FLAG_ARG_CONVERT, FMT_FLAG_SCANF_A_KLUDGE, | |
5444 | FMT_FLAG_FANCY_PERCENT_OK): Define. | |
5445 | (format_char_info): Add flag "4" to comment. | |
5446 | (format_flag_spec, format_flag_pair): New structures. | |
5447 | (format_kind_info): Add additional fields to control format | |
5448 | checking. | |
5449 | (printf_flag_specs, printf_flag_pairs, scanf_flag_specs, | |
5450 | scanf_flag_pairs, strftime_flag_specs, strftime_flag_pairs): New | |
5451 | arrays. | |
5452 | (time_char_table): Use "4" flag to handle %Ey. | |
5453 | (format_types): Add entries for new fields. | |
5454 | (get_flag_spec): New function. | |
5455 | (check_format_info): Increase size of flag_chars[] to 256. | |
5456 | Control format checking using the new fields of a format_kind_info | |
5457 | and the new tables; remove all conditionals on printf_format_type, | |
5458 | scanf_format_type or strftime_format_type. Handle all details of | |
5459 | bad combinations of flags (including width, precision and strftime | |
5460 | modifiers) through data rather than ad hoc code. Handle all | |
5461 | details of standard versions in which flags appeared through | |
5462 | data. Use the "4" flag. | |
5463 | ||
7b7de7c0 WC |
5464 | 2000-10-07 Will Cohen <wcohen@redhat.com>, Kazu Hirata <kazu@hxi.com> |
5465 | ||
5466 | * config/h8300/h8300.md: Remove the memory alternative and correct | |
5467 | the insn lengths in the templates for sign extention and zero | |
5468 | extention. | |
5469 | ||
9a1ba437 RH |
5470 | 2000-10-07 Richard Henderson <rth@cygnus.com> |
5471 | ||
5472 | * calls.c (expand_call): Disallow sibcalls to noreturn functions. | |
5473 | * flow.c (make_edges): Revert last change. | |
5474 | ||
5475 | * config/alpha/alpha.h (FUNCTION_OK_FOR_SIBCALL): Don't test | |
5476 | TREE_THIS_VOLATILE. | |
5477 | * config/pa/pa.h (FUNCTION_OK_FOR_SIBCALL): Likewise. | |
5478 | ||
d38d55b4 DB |
5479 | 2000-10-06 David O'Brien <obrien@dragon.nuxi.com> |
5480 | ||
5481 | * config/alpha/elf.h: Standardize the formatting. | |
5482 | ||
94984e91 DB |
5483 | 2000-10-06 David O'Brien <obrien@FreeBSD.org> |
5484 | ||
5485 | * config/alpha/elf.h: Protect the ASM_OUTPUT_IDENT definition with an | |
5486 | #undef. | |
5487 | ||
3e4eac3f RH |
5488 | 2000-10-06 Richard Henderson <rth@cygnus.com> |
5489 | ||
5490 | * function.c (diddle_return_value): Examine | |
5491 | current_function_return_rtx instead of the DECL_RESULT. | |
5492 | (expand_function_end): Handle reloading DECL_RESULT from memory | |
5493 | into a hard register. Query promote_mode for sign of mismatched | |
5494 | modes. | |
5495 | ||
4071f896 VM |
5496 | 2000-10-06 Vladimir Makarov <vmakarov@touchme.toronto.redhat.com> |
5497 | ||
5498 | * haifa-sched.c (schedule_insns): Fix typo in freeing | |
5499 | forward_dependency_cache. | |
5500 | ||
eb69f95c AO |
5501 | 2000-10-06 Alexandre Oliva <aoliva@redhat.com> |
5502 | ||
5503 | * config/sh/sh.md (calli_pcrel, call_valuei_pcrel): Add | |
5504 | `TARGET_SH2' as a condition. | |
5505 | ||
178b88b9 VM |
5506 | 2000-10-06 Vladimir Makarov <vmakarov@touchme.toronto.redhat.com> |
5507 | ||
5508 | * haifa-sched.c (anti_dependency_cache, output_dependency_cache, | |
5509 | forward_dependency_cache): New variables. | |
5510 | (add_dependence, remove_dependence): Use anti_dependency_cache and | |
5511 | output_dependency_cache. | |
5512 | (compute_block_forward_dependences): Use forward_dependency_cache. | |
5513 | (schedule_insns): Allocate and free memory for anti/output/forward | |
5514 | dependencies caches. | |
b8dad04b | 5515 | |
827bdee4 AO |
5516 | 2000-10-06 Alexandre Oliva <aoliva@redhat.com> |
5517 | ||
5518 | * config/sh/sh.md (call, call_value): Use `TARGET_SH2' instead of | |
5519 | `! TARGET_SH1'. Reindent. | |
5520 | ||
c70eaeaf KG |
5521 | 2000-10-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
5522 | ||
5523 | * builtins.c (is_valid_printf_arglist, expand_builtin_printf): | |
5524 | Move functions from here ... | |
5525 | ||
5526 | * c-common.c (is_valid_printf_arglist, c_expand_builtin_printf): | |
5527 | ... to here. | |
5528 | (c_expand_builtin): New function. | |
5529 | (init_function_format_info): Don't set `check_function_format_ptr'. | |
5530 | (c_common_nodes_and_builtins): Set built_in_class type for | |
5531 | printf/__builtin_printf to BUILT_IN_FRONTEND. | |
5532 | (c_expand_expr): Handle CALL_EXPRs that are front-end builtins. | |
5533 | ||
5534 | * c-common.h (build_function_call): Declare. | |
5535 | ||
5536 | * expr.c (expand_expr): Pass builtins with class BUILT_IN_FRONTEND | |
5537 | to `lang_expand_expr' rather than `expand_builtin'. | |
5538 | ||
5539 | * tree.c (check_function_format_ptr): Delete. | |
5540 | ||
5541 | * tree.h (check_function_format_ptr): Likewise. | |
5542 | ||
f299afab HPN |
5543 | 2000-10-06 Hans-Peter Nilsson <hp@bitrange.com> |
5544 | ||
5545 | * dwarf2out.c (build_cfa_loc): Correct to use DW_OP_regx or | |
5546 | DW_OP_bregx when cfa->reg > 31. | |
5547 | ||
5548 | * frame-dwarf2.c (decode_stack_op) [case DW_OP_regx]: Add missing | |
5549 | break. | |
5550 | ||
b313a0fe RH |
5551 | 2000-10-05 Richard Henderson <rth@cygnus.com> |
5552 | ||
5553 | * c-decl.c (warn_missing_noreturn): Remove. | |
5554 | (c_expand_body): Don't set or check can_reach_end. | |
5555 | * c-tree.h (warn_missing_noreturn): Move ... | |
5556 | * flags.h: ... here. | |
5557 | (can_reach_end): Remove. | |
5558 | * flow.c (check_function_return_warnings): New. | |
5559 | (make_edges): No edge to exit for noreturn sibcalls. | |
5560 | * function.c (expand_function_end): Save the return value | |
5561 | clobber instruction. | |
5562 | (mark_function_status): Mark it. | |
5563 | * function.h (struct function): Add x_clobber_return_insn. | |
5564 | * jump.c (can_reach_end): Remove. | |
5565 | (calculate_can_reach_end): Remove. | |
5566 | (jump_optimize_1): Don't call it. | |
5567 | * output.h (check_function_return_warnings): Declare. | |
5568 | * toplev.c (warn_missing_noreturn): Move from c-decl.c | |
5569 | (rest_of_compilation): Call check_function_return_warnings. | |
5570 | ||
83dad10c RH |
5571 | 2000-10-05 Richard Henderson <rth@cygnus.com> |
5572 | ||
5573 | * Makefile.in (NM_FOR_TARGET): New. | |
5574 | (libgcc.mk): Pass SHLIB_MKMAP, SHLIB_MAPFILES. | |
5575 | (libgcc.a, stmp-multilib): Pass NM_FOR_TARGET. | |
5576 | * mklibgcc.in: If SHLIB_MKMAP, build libgcc.map. Depend the | |
5577 | shared library build on that and EXTRA_MULTILIB_PARTS. | |
5578 | * mkmap-flat.awk: New file. | |
5579 | * mkmap-symver.awk: New file. | |
5580 | * libgcc-std.ver: New file. | |
5581 | * config/libgcc-glibc.ver: New file. | |
5582 | * config/ia64/libgcc-ia64.ver: New file. | |
5583 | * config/t-linux (SHLIB_MKMAP, SHLIB_MAPFILES): New. | |
5584 | (SHLIB_LINK): Add --version-script. | |
5585 | * config/ia64/t-ia64 (SHLIB_MAPFILES): Add libgcc-ia64.ver. | |
5586 | * config/mips/t-iris6 (SHLIB_MKMAP, SHLIB_MAPFILES): New. | |
5587 | * config/sparc/t-sol2 (SHLIB_MKMAP, SHLIB_MAPFILES): New. | |
5588 | (SHLIB_LINK): Add -M. | |
5589 | ||
d6eacd48 RH |
5590 | 2000-10-05 Richard Henderson <rth@cygnus.com> |
5591 | ||
5592 | * Makefile.in (LIB2FUNCS): Add _clz. | |
5593 | * libgcc2.c (__ffsdi2): Use count_trailing_zeros. | |
5594 | (__clz_tab): Put in its own unit, non-static. | |
5595 | * libgcc2.h: Always include longlong.h. | |
5596 | ||
29279975 RH |
5597 | * longlong.h [alpha] (count_leading_zeros): Use cmpbge with |
5598 | a zero instead of -1. | |
5599 | (count_trailing_zeros): Likewise. | |
5600 | ||
c74fa144 RH |
5601 | 2000-10-05 Richard Henderson <rth@cygnus.com> |
5602 | ||
5603 | * config/alpha/alpha.c (alpha_emit_setcc): Don't swap GT tests | |
5604 | when second op1 is const0_rtx. Validate op0 as a register. | |
5605 | * config/alpha/alpha.md (setcc_internal): Don't allow constants | |
5606 | in the first argument of the compare. | |
5607 | (setcc_swapped_internal): Likewise. | |
5608 | (setne_internal): Likewise. | |
5609 | ||
c5620996 GK |
5610 | 2000-10-05 Geoff Keating <geoffk@cygnus.com> |
5611 | ||
5612 | * tree.c (tree_size): New function split out of copy_node. | |
5613 | (make_node): Remove obstack handling. Use tree_size. | |
5614 | (copy_node): Use tree_size. | |
5615 | * tree.h: Prototype tree_size. | |
5616 | ||
331fe257 RH |
5617 | 2000-10-05 Richard Henderson <rth@cygnus.com> |
5618 | ||
5619 | * diagnostic.c (output_format): Add missing break. | |
5620 | ||
cc0cbae1 JW |
5621 | 2000-10-05 Jim Wilson <wilson@cygnus.com> |
5622 | ||
5623 | * function.c (fixup_var_refs_1, case SET): When gen_move_insn returns a | |
5624 | SEQUENCE, call emit_insn_before, copy PATTERN and REG_NOTES of last | |
5625 | sequence insn to INSN, and delete last sequence insn. | |
5626 | ||
f5fa9a5b PE |
5627 | 2000-10-05 Phil Edwards <pme@gcc.gnu.org> |
5628 | ||
5629 | * gcc.c (main): Include generated configargs.h header | |
5630 | and use arguments in '-v' output. | |
5631 | ||
2296d164 RK |
5632 | Thu Oct 5 16:16:57 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
5633 | ||
5634 | * gcc.c: Move data on prefixes forward in file and reorganize. | |
5635 | (md_exec_prefix, md_startfile_prefix, md_startfile_prefix_1): | |
5636 | Always define, but make null if no value. | |
5637 | (static_specs): Add "md_exec_prefix", "md_startfile_prefix", | |
5638 | and "md_startfile_prefix_1". | |
5639 | (main): Check whether md_exec_prefix and the others are the | |
5640 | null string rather than whether the macro is defined. | |
5641 | ||
43d75418 R |
5642 | Thu Oct 5 19:04:18 2000 J"orn Rennecke <amylaar@redhat.co.uk> |
5643 | ||
5644 | * (convert_move): Use zero_extendpsisi2 to do an unsigned extension | |
5645 | from PSImode to SImode. | |
5646 | ||
e389897b JJ |
5647 | 2000-10-05 Jakub Jelinek <jakub@redhat.com> |
5648 | ||
5649 | * emit-rtl.c (gen_lowpart_common) [REAL_ARITHMETICS]: Fix conversion | |
5650 | from float to integral mode with HOST_BITS_PER_WIDE_INT 64. | |
5651 | * dwarf2out.c (add_const_value_attribute): Divide by 4, not | |
5652 | sizeof(long). | |
5653 | ||
b8fbe62c RK |
5654 | Thu Oct 5 09:31:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
5655 | ||
5656 | * fold-const.c (fold, case MINUS_EXPR, case EQ_EXPR): Perform | |
5657 | negation in proper type.a | |
5658 | ||
50503ac8 RH |
5659 | 2000-10-04 Richard Henderson <rth@cygnus.com> |
5660 | ||
5661 | * configure.in (enable-shared): New. | |
5662 | * Makefile.in (LIBGCC_DEPS): Depend on EXTRA_PARTS as well. | |
5663 | (libgcc.mk): Pass SHLIB_LINK, SHLIB_LIBS, SHLIB_MULTILIB to mklibgcc. | |
5664 | * mklibgcc.in: Use them to link shared a libgcc. | |
5665 | * config/t-linux (SHLIB_LINK, SHLIB_LIBS): New. | |
5666 | * config/alpha/t-ieee (SHLIB_MULTILIB): New. | |
5667 | * config/mips/t-iris6 (SHLIB_LINK, SHLIB_LIBS): New. | |
5668 | * config/sparc/t-sol2 (SHLIB_LINK, SHLIB_LIBS): New. | |
5669 | ||
5670 | * configure.in (alpha-osf*): Use t-osf and x-osf. | |
5671 | * config/alpha/t-osf: New file. | |
5672 | * config/alpha/t-osf4: New file. | |
5673 | * config/alpha/x-osf: New file. | |
5674 | * config/alpha/x-alpha: Remove file. | |
5675 | ||
4b606faf WC |
5676 | 2000-10-04 Will Cohen <wcohen@redhat.com> |
5677 | ||
5678 | * c-typeck.c (process_init_element): Added warning for zero-length | |
5679 | array. | |
5680 | ||
5681 | * extend.texi (Zero Length): State that static initializers for | |
5682 | zero-length arrays are not allowed. | |
5683 | ||
c9b89a21 JH |
5684 | Mon Oct 2 14:50:14 MET DST 2000 Jan Hubicka <jh@suse.cz> |
5685 | ||
5686 | * rtlanal.c (single_set_1): Do not require USE and CLOBBERs | |
5687 | to come last. | |
5688 | ||
81bce466 MH |
5689 | 2000-10-03 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
5690 | ||
5691 | * config/float-c4x.h: New. | |
5692 | * configure.in (c4x-*): Set float_format to c4x. | |
b8dad04b | 5693 | * configure: Regenerate. |
81bce466 | 5694 | |
72882e08 KG |
5695 | 2000-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
5696 | ||
5697 | * configure.in (sparc-*-solaris2*): Disable 32-to-64 cross | |
5698 | compilation for solaris versions 2.7 and greater. | |
5699 | ||
ea205a52 ME |
5700 | 2000-10-02 Marc Espie <espie@openbsd.org> |
5701 | ||
5702 | * config/alpha.h (WORD_SWITCH_TAKES_ARG): add -rpath to default, | |
5703 | instead of redefining from scratch. | |
5704 | ||
618ec0d7 DB |
5705 | 2000-10-02 David O'Brien <obrien@dragon.nuxi.com> |
5706 | ||
5707 | * config/i386/freebsd.h (NO_PROFILE_COUNTERS): Define. | |
5708 | ||
f15b9af9 MM |
5709 | 2000-10-01 Mark Mitchell <mark@codesourcery.com> |
5710 | ||
776749c5 MM |
5711 | * config/ns32k/genix.h: Remove. |
5712 | * config/ns32k/x-genix: Likewise. | |
5713 | * config/ns32k/xm-genix.h: Likewise. | |
5714 | * config/fx80: Remove all filee in directory. | |
5715 | * config/pyr: Likewise. | |
5716 | * config/tahoe: Likewise. | |
5717 | * config/gmicro: Likewise. | |
5718 | * config/spur: Likewise. | |
5719 | * configure.in: Remove configury bits for above targets. | |
5720 | * configure: Regenerated. | |
b8dad04b | 5721 | |
a7b4171a MM |
5722 | * configure.in: Don't configure chill by default. |
5723 | * configure: Regenerated. | |
b8dad04b | 5724 | |
f15b9af9 MM |
5725 | * c-decl.c (c_expand_body): Don't generate RTL if flag_syntax_only. |
5726 | (lang_mark_false_label_stack): Remove. | |
5727 | * c-lex.c (init_c_lex): Add file_info_tree as GC root. Allocate | |
5728 | <top level> string in GC area. | |
5729 | (mark_splay_tree_node): New function. | |
5730 | (mark_splay_tree): Likewise. | |
5731 | * except.c (mark_eh_status): Only call lang_mark_false_label_stack | |
5732 | if it exists. | |
5733 | * ggc-callbacks.c (lang_mark_false_label_stack): Remove. | |
5734 | * ggc-common.c (lang_mark_false_label_stack): Change type. | |
5735 | * ggc.h (ggc_alloc_string): Add comment. | |
5736 | (ggc_strdup): New function. | |
b8dad04b | 5737 | |
51296ba0 DC |
5738 | Sat Sep 23 19:10:20 2000 Denis Chertykov <denisc@overta.ru> |
5739 | ||
5740 | * config/avr/avr.h (BRANCH_COST): Define as 0. | |
5741 | ||
5742 | * config/pdp11/pdp11.c: #include "tree.h" added. | |
5743 | ||
adcd8f77 MM |
5744 | 2000-09-30 Marek Michalkiewicz <marekm@linux.org.pl> |
5745 | ||
5746 | * config/avr/avr.c (ashlhi3_out, ashlsi3_out, ashrhi3_out, | |
5747 | ashrsi3_out, lshrhi3_out, lshrsi3_out): Optimize more cases | |
5748 | with known shift count. | |
5749 | * config/avr/avr.md (ashlsi3, ashrsi3, lshrsi3): | |
5750 | New alternative for shift count 2 with no scratch register. | |
5751 | (ashlhi3, ashlsi3): Change "cc" attribute from "clobber" to | |
5752 | "set_n" for shift counts 1 and 2. | |
5753 | ||
e35b9579 GK |
5754 | 2000-09-30 Geoff Keating <geoffk@cygnus.com> |
5755 | ||
5756 | * config/rs6000/rs6000.md (movsi_to_cr): Remove the USE. Calculate | |
5757 | the mask value from the individual SET operations. | |
5758 | (return_internal_si): Move the USE after the RETURN. | |
5759 | (return_internal_di): Likewise. | |
5760 | (return_and_restore_fpregs_si): Likewise. | |
5761 | (return_and_restore_fpregs_di): Likewise. | |
5762 | (return_eh_si): Likewise. | |
5763 | (return_eh_di): Likewise. | |
5764 | * config/rs6000/rs6000.c (mtcrf_operation): Don't look for, | |
5765 | or check, the USE. | |
5766 | (rs6000_emit_prologue): Don't emit the USE for movsi_to_cr. | |
5767 | Don't generate a PARALLEL around a single operation movsi_to_cr. | |
5768 | Generate the RETURN first in any PARALLELs. | |
5769 | ||
5770 | * rtlanal.c (single_set_1): Use fatal_insn to display the | |
5771 | invalid insn. Check for more cases when a USE or CLOBBER occurs | |
5772 | before a SET. | |
5773 | * Makefile.in: Update dependencies for rtlanal.o. | |
5774 | ||
1fba7553 JM |
5775 | 2000-09-30 Joseph S. Myers <jsm28@cam.ac.uk> |
5776 | ||
5777 | * i386.c: Move include of "config.h" to before that of <setjmp.h>. | |
5778 | ||
28e6b1c2 JM |
5779 | 2000-09-30 Joseph S. Myers <jsm28@cam.ac.uk> |
5780 | ||
5781 | * c-tree.texi, contrib.texi, gcc.texi, install.texi, invoke.texi: | |
5782 | Consistently use @email for formatting email addresses. | |
5783 | ||
f2fa288f RH |
5784 | 2000-09-29 Richard Henderson <rth@cygnus.com> |
5785 | ||
5786 | * cse.c (notreg_cost): New argument outer. | |
5787 | (COST): Pass in SET to notreg_cost | |
5788 | (COST_IN): New. | |
5789 | (fold_rtx): Use COST_IN. Prefer constants when costs | |
5790 | are the same. | |
5791 | ||
a1c63101 DE |
5792 | 2000-09-29 David Edelsohn <edelsohn@gnu.org> |
5793 | ||
5794 | * fixinc/inclhack.def (broken_cabs): Generalize regex. | |
5795 | * fixinc/fixincl.x: Regenerate. | |
5796 | ||
70dd0f7f FS |
5797 | 2000-09-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
5798 | ||
5799 | * loop.c (check_final_value): A GIV is not replaceable if used | |
5800 | before set. | |
5801 | ||
0c6129af JL |
5802 | Fri Sep 29 10:04:12 2000 Jeffrey A Law (law@cygnus.com) |
5803 | ||
5804 | * version.c: Bump to gcc-2.97. | |
5805 | ||
5806 | Frs Sep 29 13:37:59 MET DST 2000 Jan Hubicka <jh@suse.cz> | |
6c698a6d JH |
5807 | |
5808 | * final.c (final_scan_insn): Remove extra extract_insn call; | |
5809 | Use caching for constrain_operands. | |
5810 | (cleanup_subreg_operands): Use caching for extract_insn. | |
5811 | * recog.c (constrain_operands_cached): New. | |
5812 | * recog.h (constrain_operands_cached): Declare. | |
5813 | * i386.c (ix86_attr_length_immediate_default, | |
5814 | ix86_attr_length_address_default, ix86_agi_dependant): Cache | |
5815 | extract_insn call. | |
5816 | ||
5817 | * recog.c (asm_noperands): Tweak. | |
5818 | (extract_insn): Do not call asm_noperads for non-asm instructions. | |
5819 | ||
5820 | Fri Sep 29 13:20:42 MET DST 2000 Jan Hubicka <jh@suse.cz> | |
5821 | ||
5822 | * recog.c (recog_memoized): Rename to recog_memoized_1. | |
5823 | * recog.h (recog_memoized): Rename to recog_memoized_1. | |
5824 | (recog_memoized): New macro. | |
5825 | * rtl.h (single_set): Rename to single_set_1 | |
5826 | (single_set): New macro. | |
5827 | * rtlanal.c (single_set): Rename to single_set_1; expect clobbers | |
5828 | to be last. | |
5829 | ||
5830 | * i386.md (strmovsi_1, strmovhi_1 strmovqi_1): | |
5831 | Do not use match_dup of input operands at outputs. | |
5832 | Use register_operand for memory expression. | |
5833 | (rep_movsi): Put use last, canonicalize. | |
5834 | Use register_operand for memory expression. | |
5835 | (rep_movqi): Put use last. | |
5836 | Use register_operand for memory expression. | |
5837 | (strsetsi_1, strset_hi_1, strsetqi_1): Do not use match_dup | |
5838 | of input operands at outputs. Use register_operand for memory | |
5839 | expression. | |
5840 | (rep_stossi): Put use last; canonicalize; fix match_dup in | |
5841 | the address expression | |
5842 | (rep_stosqi): Likewise. | |
5843 | (memcmp expander): Update calls. | |
5844 | (cmpstrsi_nz_1, cmpstrsi_1, strlensi_1): Avoid match_dups in | |
5845 | the clobbers. | |
5846 | ||
5847 | * i386.md (fp_jcc_3, fp_jcc_4, jp_fcc_5): if_then_else operand is | |
5848 | VOIDmode. | |
5849 | (fp_jcc_4, fp_jcc_3): Refuse unordered comparisons. | |
5850 | ||
41e5a1f5 DB |
5851 | 2000-09-28 David O'Brien <obrien@FreeBSD.org> |
5852 | ||
5853 | * config/i386/freebsd-aout.h: New, FreeBSD a.out config file. | |
5854 | Contains the old contents of config/i386/freebsd.h | |
5855 | * config/i386/freebsd.h: Now the ELF rather than a.out config file. | |
5856 | Contains the old contents of config/i386/freebsd-elf.h | |
5857 | * config/i386/freebsd-elf.h: Retire this file -- contents moved to | |
5858 | config/i386/freebsd.h. | |
5859 | * configure.in: Adjust for above changes. | |
5860 | * po/POTFILES.in: Likewise. | |
5861 | * po/en_GB.po: Likewise. | |
5862 | * po/gcc.pot: Likewise. | |
5863 | * configure: Rebuilt. | |
5864 | ||
1db88ef9 | 5865 | 2000-09-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
70dd0f7f | 5866 | |
1db88ef9 FS |
5867 | * doloop.c (doloop_modify): Prevent delete_insn() from |
5868 | deleting too much. Prefer loop->top over loop->start as | |
5869 | target for the new JUMP insn. | |
5870 | (doloop_valid_p): Ignore loop with exit_count != 0. | |
5871 | ||
6a07a77f PT |
5872 | 2000-09-28 Philipp Thomas <pthomas@suse.de> |
5873 | ||
5874 | * invoke.texi (i386 Options): Add athlon to table of possible | |
5875 | choices for -mcpu=. | |
5876 | ||
b5dd2c76 GDR |
5877 | 2000-09-28 Gabriel Dos Reis <gdr@codesourcery.com> |
5878 | ||
5879 | * diagnostic.h (output_clear_message_text): New function. | |
5880 | (output_message_text): New macro. | |
5881 | ||
5882 | * diagnostic.c (clear_text_info): Rename to | |
b8dad04b | 5883 | output_clear_message_text. |
b5dd2c76 GDR |
5884 | (output_clear): Adjust. |
5885 | (output_finish): Rename to output_finalize_message. Tweek. | |
b8dad04b | 5886 | (output_to_stream): Adjust. |
b5dd2c76 | 5887 | |
d8090680 NB |
5888 | 2000-09-28 Neil Booth <neilb@earthling.net> |
5889 | ||
5890 | * cpperror.c (_cpp_begin_message): Do the test for suppression | |
b8dad04b ZW |
5891 | of warnings and pedantic warnings before the "is a warning an |
5892 | error" tests. | |
d8090680 NB |
5893 | * cppinit.c (cpp_handle_option): Remove surplus \n. |
5894 | * cpplex.c (ON_REST_ARG): Delete. | |
5895 | (skip_block_comment): Initialise prevc. | |
5896 | (parse_args): Improve error messages. | |
5897 | (maybe_paste_with_next): Use CONTEXT_VARARGS rather | |
5898 | than ON_REST_ARG. | |
5899 | * cpplib.c (cpp_push_buffer): Fix grammar in message. | |
5900 | * cppmain.c (main): Set callbacks for #ident and #pragma | |
5901 | only if no_output option is false. | |
5902 | (do_pragma_implementation): Only call the #pragma handler | |
5903 | if it is set in the cpp_reader structure. | |
5904 | ||
e93eff94 DL |
5905 | Wed Sep 27 14:00:07 2000 Donald Lindsay <dlindsay@cygnus.com> |
5906 | ||
5907 | * integrate.c (copy_insn_list): if an ignored return value | |
5908 | is being clobbered, skip cloning that into the inline copy. | |
5909 | ||
59c5d27a JM |
5910 | 2000-09-27 Joseph S. Myers <jsm28@cam.ac.uk> |
5911 | ||
5912 | * extend.texi, invoke.texi, gcc.texi, install.texi: Consistently | |
5913 | use @uref for formatting URLs. | |
5914 | ||
15ca066d ME |
5915 | 2000-09-27 Mark Elbrecht <snowball3@bigfoot.com> |
5916 | ||
5917 | * config/i386/djgpp.h (UNIQUE_SECTION): Constify the variables | |
5918 | name and prefix. | |
5919 | ||
5a8e2650 NB |
5920 | Tue 26-Sep-2000 18:25:38 BST Neil Booth <neilb@earthling.net> |
5921 | ||
5922 | * gcc.c (cpp_options): Add spec for -ftabstop=. | |
5923 | (invoke_as): New spec that handles invoking as. | |
5924 | Update specs to handle -save-temps and -traditional. | |
5925 | * ch/lang-specs.h, f/lang-specs.h, java/lang-specs.h: | |
5926 | Use invoke_as. | |
5927 | * cp/lang-specs.h, objc/lang-specs.h: Update to use | |
5928 | invoke_as, and handle -save-temps and -traditional (if | |
5929 | appropriate). | |
5930 | ||
380f6ad3 JJ |
5931 | 2000-09-26 Jakub Jelinek <jakub@redhat.com> |
5932 | ||
5933 | * config/sparc/sparc.c (sparc_emit_set_const64): Don't abort when | |
5934 | op0 is a SUBREG. | |
5935 | (function_arg_slotno): Accept TImode/CTImode. | |
5936 | * config/sparc/sparc.h (MIN_UNITS_PER_WORD): If IN_LIBGCC2 define | |
5937 | to UNITS_PER_WORD. | |
5938 | ||
ef120fc0 MH |
5939 | 2000-09-26 Michael Hayes <mhayes@cygnus.com> |
5940 | ||
5941 | * flow.c (flow_loop_pre_header_scan): Punt if loop enters | |
5942 | from entry block. | |
5943 | ||
cf606f45 JW |
5944 | 2000-09-25 Jim Wilson <wilson@cygnus.com> |
5945 | ||
5946 | * config/ia64/ia64.h (INDEX_REG_CLASS): Define to GENERAL_REGS. | |
5947 | (REGNO_OK_FOR_INDEX_P): Define to REGNO_OK_FOR_BASE_P. | |
5948 | (LEGITIMATE_ADDRESS_DISP): Use LEGITIMATE_ADDRESS_REG. | |
5949 | (REG_OK_FOR_INDEX): Define to REG_OK_FOR_BASE_P. | |
5950 | ||
a94c1199 NB |
5951 | Tue 26-Sep-2000 00:16:22 BST Neil Booth <neilb@earthling.net> |
5952 | ||
b8dad04b | 5953 | * cpplex.c (parse_args): Don't set VOID_REST flag. |
a94c1199 NB |
5954 | (CONTEXT_VARARGS): New flag. |
5955 | (maybe_paste_with_next): Set context earlier in loop. Use | |
5956 | it. Do varargs test with CONTEXT_VARARGS flag. | |
5957 | (push_arg_context): Set CONTEXT_VARARGS flag if we're | |
5958 | pushing an argument context for a varargs argument. | |
5959 | * cpplib.h (VOID_REST): Delete. | |
b8dad04b | 5960 | * gcc.dg/cpp/vararg1.c: Add test case. |
a94c1199 | 5961 | |
317639a8 BC |
5962 | 2000-09-25 Branko Cibej <branko.cibej@hermes.si> |
5963 | ||
b8dad04b ZW |
5964 | * flags.h: Declare warning flag warn_system_headers. |
5965 | * toplev.c: Define it. | |
5966 | (W_options): Add option -Wsystem-headers. | |
5967 | * diagnostic.c (count_error): Test warn_system_headers. | |
5968 | * invoke.texi: Add description for -Wsystem-headers. | |
317639a8 BC |
5969 | * cpplib.h (cpp_options): New member warn_system_headers. |
5970 | * cpphash.h (CPP_PEDANTIC, CPP_WTRADITIONAL): Don't test | |
5971 | CPP_IN_SYSTEM_HEADER. | |
5972 | * cpplib.c (do_import, do_pragma_once): Likewise. | |
5973 | * cpperror.c (_cpp_begin_message): Test warn_system_headers | |
5974 | and CPP_IN_SYSTEM_HEADER. | |
5975 | * cppinit.c (handle_option): Recognize -Wsystem_headers. | |
5976 | (print_help): Describe -Wsystem_headers. | |
5977 | * cpplex.c (lex_line): Reorganize condition so that warnings | |
5978 | about C++ comments in system headers can be enabled. Remove | |
5979 | label do_line_comment. | |
5980 | ||
1c6d33ef NB |
5981 | Mon 25-Sep-2000 23:38:27 BST Neil Booth <neilb@earthling.net> |
5982 | ||
5983 | * cpplex.c (save_comment): Only store the initial '/' | |
5984 | now. | |
5985 | (lex_token): Combine handling of the two comment types. | |
b8dad04b | 5986 | Pass everything but the initial '/' to save_comment. |
1c6d33ef | 5987 | |
7de4d004 NB |
5988 | Mon 25-Sep-2000 23:31:45 BST Neil Booth <neilb@earthling.net> |
5989 | ||
5990 | * cpphash.h (_cpp_digraph_spellings, _cpp_process_directive, | |
5991 | _cpp_can_paste): New library-internal prototypes. | |
5992 | * cpplex.c (dump_param_spelling, output_line_command, | |
5993 | output_token, cpp_scan_buffer, cpp_scan_buffer_nooutput, | |
5994 | cpp_printf, cpp_output_list): Move to cppoutput.c. | |
5995 | (process_directive, can_paste, digraph_spellings): Add _cpp_ prefix. | |
5996 | * cppmacro.c (dump_macro_args, cpp_dump_definition) Move to | |
5997 | cppoutput.c. | |
5998 | * cppoutput.c (dump_macro_args, cpp_dump_definition, output_token, | |
5999 | dump_param_spelling, output_line_command, cpp_scan_buffer, | |
6000 | cpp_scan_buffer_nooutput, cpp_printf, cpp_output_list): Moved | |
6001 | from elsewhere. | |
6002 | * Makefile.in: Add cppoutput.c. | |
6003 | * po/POTFILES.in: Add cppoutput.c. | |
6004 | ||
66db6b45 RH |
6005 | 2000-09-25 Richard Henderson <rth@cygnus.com> |
6006 | ||
6007 | * config/ia64/ia64.c (ia64_print_operand): Define 'e' as 64-n. | |
6008 | * config/ia64/ia64.md (rotrsi3): Allow variable rotates; don't | |
6009 | split until after reload. | |
6010 | (rotlsi3, rotldi3): New. | |
6011 | ||
4b40f758 GDR |
6012 | 2000-09-25 Gabriel Dos Reis <gdr@codesourcery.com> |
6013 | ||
6014 | * diagnostic.c (output_last_position): Define. | |
6015 | (set_real_maximum_length): Tweek. | |
6016 | * diagnostic.h (output_last_position): Declare. | |
6017 | ||
0f290768 KH |
6018 | 2000-09-25 Kazu Hirata <kazu@hxi.com> |
6019 | ||
6020 | * config/i386/i386.c: Fix formatting. | |
6021 | ||
90e9ee6c AL |
6022 | 2000-09-24 Alan Lehotsky <alehotsky@cygnus.com> |
6023 | ||
6024 | * emit-rtl-c (gen_lowpart_common): Accept non-paradoxical SUBREG when | |
6025 | UNITS_PER_WORD is small. | |
6026 | ||
0e00b68b JM |
6027 | 2000-09-25 Joseph S. Myers <jsm28@cam.ac.uk> |
6028 | ||
6029 | * c-common.c (format_char_info): Add flags2; update comments. | |
6030 | (print_char_table, scan_char_table, time_char_table): Split some | |
6031 | flags out into flags2. | |
6032 | (check_format_info): Use flags2 for those flags, for identifying | |
6033 | the initial character of a scanf scanset, and for identifying | |
6034 | printf formats where the '0' flag is ignored with precision. | |
6035 | ||
0a3e1f45 HPN |
6036 | 2000-09-25 Hans-Peter Nilsson <hp@axis.com> |
6037 | ||
6038 | Changes below marked "here" add TABs on either or both sides, | |
6039 | covering start of line, up to any operand for all noted .*ASM.*_OP | |
e8638df0 | 6040 | definitions. All callers changed. |
047c1c92 HPN |
6041 | * tm.texi: Make documented *_ASM.*_OP:s include spacing |
6042 | (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, SHARED_SECTION_ASM_OP, | |
6043 | BSS_SECTION_ASM_OP, SHARED_BSS_SECTION_ASM_OP, INIT_SECTION_ASM_OP, | |
6044 | ASM_BYTE_OP, FINI_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP, | |
6045 | ASM_STABS_OP, ASM_STABD_OP, ASM_STABN_OP). | |
6046 | Fix typos in description for LONG_LONG_TYPE_SIZE and | |
6047 | FINI_SECTION_ASM_OP. | |
0a3e1f45 HPN |
6048 | * crtstuff.c (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Explain |
6049 | why these defaults don't have leading spacing. | |
6050 | * dbxout.c (ASM_STABS_OP, ASM_STABN_OP): Here. | |
6051 | * dwarf2out.c (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP, | |
6052 | UNALIGNED_DOUBLE_INT_ASM_OP, SECTION_ASM_OP, ASM_BYTE_OP): Here. | |
6053 | * dwarfout.c (FILE_ASM_OP, VERSION_ASM_OP, | |
6054 | UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP, ASM_BYTE_OP, | |
6055 | PUSHSECTION_ASM_OP, POPSECTION_ASM_OP): Here. | |
6056 | * defaults.h (ASM_STABD_OP, EH_FRAME_SECTION_ASM_OP): Here. | |
6057 | * varasm.c (ASM_STABS_OP): Here. | |
6058 | * xcoffout.h (ASM_STABS_OP): Here. | |
e662a129 HPN |
6059 | * config/elfos.h (IDENT_ASM_OP, ASM_BYTE_OP, SET_ASM_OP, |
6060 | SKIP_ASM_OP, ALIGN_ASM_OP, COMMON_ASM_OP, LOCAL_ASM_OP, | |
6061 | INT_ASM_OP, ASCII_DATA_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP, | |
6062 | STRING_ASM_OP): Here. | |
6063 | * config/freebsd.h (IDENT_ASM_OP): Here. | |
6064 | * config/linux-aout.h (SET_ASM_OP): Here. | |
6065 | * config/linux.h (SET_ASM_OP): Here. | |
6066 | * config/lynx.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, | |
6067 | INT_ASM_OP): Here. | |
6068 | * config/netbsd.h (TYPE_ASM_OP, SIZE_ASM_OP, SET_ASM_OP): Here. | |
6069 | * config/nextstep.h (EH_FRAME_SECTION_ASM_OP, ALIGN_ASM_OP): Here. | |
6070 | * config/openbsd.h (TYPE_ASM_OP, SIZE_ASM_OP, SET_ASM_OP): Here. | |
6071 | * config/psos.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, | |
6072 | INT_ASM_OP): Here. | |
6073 | * config/ptx4.h (IDENT_ASM_OP, ASM_BYTE_OP, SET_ASM_OP, | |
6074 | SKIP_ASM_OP, ALIGN_ASM_OP, COMMON_ASM_OP, LOCAL_ASM_OP, | |
6075 | INT_ASM_OP, ASCII_DATA_ASM_OP, CONST_SECTION_ASM_OP, | |
6076 | CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP, | |
6077 | FINI_SECTION_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP STRING_ASM_OP): Here. | |
6078 | * config/svr3.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP, | |
6079 | CONST_SECTION_ASM_OP, ASM_BYTE_OP): Here. | |
8c13c7b3 HPN |
6080 | * config/a29k/udi.h (INT_ASM_OP): Here. |
6081 | * config/alpha/alpha-interix.h (CONST_SECTION_ASM_OP, | |
6082 | CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INT_ASM_OP, | |
6083 | SET_ASM_OP): Here. | |
6084 | * config/alpha/alpha.h (TEXT_SECTION_ASM_OP, | |
6085 | READONLY_DATA_SECTION_ASM_OP, DATA_SECTION_ASM_OP, | |
6086 | UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP, | |
6087 | UNALIGNED_DOUBLE_INT_ASM_OP, ASM_STABS_OP, ASM_STABN_OP, | |
6088 | ASM_STABD_OP): Here. | |
6089 | * config/alpha/elf.h (IDENT_ASM_OP, SKIP_ASM_OP, ALIGN_ASM_OP, | |
6090 | COMMON_ASM_OP, INT_ASM_OP, ASCII_DATA_ASM_OP, | |
6091 | CONST_SECTION_ASM_OP, CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, | |
6092 | BSS_SECTION_ASM_OP, SBSS_SECTION_ASM_OP, SDATA_SECTION_ASM_OP, | |
6093 | INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP, TYPE_ASM_OP, | |
6094 | SIZE_ASM_OP, STRING_ASM_OP): Here. | |
6095 | * config/alpha/vms.h (LINK_SECTION_ASM_OP, | |
6096 | READONLY_SECTION_ASM_OP, LITERALS_SECTION_ASM_OP, | |
6097 | CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, COMMON_ASM_OP): Here. | |
6098 | * config/arc/arc.h (ASM_BYTE_OP, SET_ASM_OP): Here. | |
8202cda0 | 6099 | (PUSHSECTION_ASM_OP): Define this, not PUSHSECTION_FORMAT. |
8c13c7b3 HPN |
6100 | * config/arm/aof.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): |
6101 | Here. | |
6102 | * config/arm/aout.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, | |
6103 | BSS_SECTION_ASM_OP, SET_ASM_OP): Here. | |
6104 | * config/arm/coff.h (INT_ASM_OP): Here. | |
6105 | * config/arm/conix-elf.h (UNALIGNED_WORD_ASM_OP): Here. | |
6106 | * config/arm/elf.h (TYPE_ASM_OP, SIZE_ASM_OP, INT_ASM_OP): Here. | |
6107 | * config/arm/linux-elf.h (IDENT_ASM_OP, CONST_SECTION_ASM_OP, | |
6108 | INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP): Here. | |
6109 | * config/arm/unknown-elf.h (UNALIGNED_WORD_ASM_OP): Here. | |
6110 | * config/avr/avr.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, | |
6111 | ASM_BYTE_OP, TYPE_ASM_OP, SIZE_ASM_OP, WEAK_ASM_OP, | |
6112 | STRING_ASM_OP): Here. Update documentation copy in comments. | |
4e8aa65c HPN |
6113 | * config/c4x/c4x.h (ASM_STABS_OP, BSS_SECTION_ASM_OP): Here. |
6114 | * config/clipper/clipper.h (TEXT_SECTION_ASM_OP, | |
6115 | DATA_SECTION_ASM_OP): Here. | |
6116 | * config/clipper/clix.h (BSS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): | |
6117 | Here. | |
6118 | * config/convex/convex.h (TEXT_SECTION_ASM_OP, | |
6119 | DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP): Here. | |
6120 | * config/d30v/d30v.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, | |
6121 | BSS_SECTION_ASM_OP): Here. | |
6122 | * config/fr30/fr30.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, | |
6123 | BSS_SECTION_ASM_OP): Here. | |
6124 | * config/fx80/fx80.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): | |
6125 | Here. | |
6126 | * config/gmicro/gmicro.h (TEXT_SECTION_ASM_OP, | |
6127 | DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP): Here. | |
6128 | * config/h8300/h8300.h (ASM_WORD_OP): Here. | |
71d48a01 HPN |
6129 | * config/i370/i370.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, |
6130 | BSS_SECTION_ASM_OP): Here. | |
6131 | * config/i386/aix386.h (INIT_SECTION_ASM_OP): Here. | |
6132 | * config/i386/bsd.h (ASM_BYTE_OP): Here. | |
6133 | * config/i386/cygwin.h (SET_ASM_OP, INT_ASM_OP): Here. | |
6134 | * config/i386/dgux.h (CONST_SECTION_ASM_OP): Here. | |
6135 | * config/i386/djgpp.h (IDENT_ASM_OP, INT_ASM_OP, SET_ASM_OP): | |
6136 | Here. | |
6137 | * config/i386/freebsd-elf.h (SET_ASM_OP): Here. | |
6138 | * config/i386/freebsd.h (TYPE_ASM_OP, SIZE_ASM_OP, INT_ASM_OP): | |
6139 | Here. | |
6140 | * config/i386/i386-coff.h (CTORS_SECTION_ASM_OP, | |
6141 | DTORS_SECTION_ASM_OP, INT_ASM_OP): Here. | |
6142 | * config/i386/i386-interix.h (STRING_ASM_OP, CONST_SECTION_ASM_OP, | |
6143 | CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INT_ASM_OP, | |
6144 | SET_ASM_OP): Here. | |
6145 | * config/i386/i386elf.h (BSS_SECTION_ASM_OP): Here. | |
6146 | * config/i386/netbsd.h (INT_ASM_OP): Here. | |
6147 | * config/i386/openbsd.h (INT_ASM_OP): Here. | |
6148 | * config/i386/osfrose.h (TYPE_ASM_OP, SIZE_ASM_OP, SET_ASM_OP, | |
6149 | IDENT_ASM_OP): Here. | |
6150 | * config/i386/sco5.h (ALIGN_ASM_OP, ASCII_DATA_ASM_OP, | |
6151 | ASM_BYTE_OP, IDENT_ASM_OP, COMMON_ASM_OP, SET_ASM_OP, | |
6152 | LOCAL_ASM_OP, INT_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP, STRING_ASM_OP, | |
6153 | SKIP_ASM_OP, GLOBAL_ASM_OP): Here. | |
6154 | * config/i386/seq-sysv3.h (SHARED_SECTION_ASM_OP, | |
6155 | SHARED_BSS_SECTION_ASM_OP): Here. | |
6156 | * config/i386/sequent.h (SHARED_SECTION_ASM_OP): Here. | |
6157 | * config/i386/sun386.h (ASM_BYTE_OP, TEXT_SECTION_ASM_OP, | |
6158 | DATA_SECTION_ASM_OP): Here. | |
6159 | * config/i386/svr3gas.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP, | |
6160 | CONST_SECTION_ASM_OP): Here. | |
6161 | * config/i386/sysv3.h (INIT_SECTION_ASM_OP): Here. | |
6162 | * config/i386/unix.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, | |
6163 | BSS_SECTION_ASM_OP): Here. | |
de323aa1 HPN |
6164 | * config/i860/bsd-gas.h (ASCII_DATA_ASM_OP): Here. |
6165 | * config/i860/bsd.h (ASCII_DATA_ASM_OP): Here. | |
6166 | * config/i860/fx2800.h (ASM_STABS_OP, ASM_STABN_OP, ASM_STABD_OP, | |
6167 | BSS_ASM_OP): Here, but use trailing spaces. | |
6168 | * config/i860/i860.h (ASM_BYTE_OP, TEXT_SECTION_ASM_OP, | |
6169 | DATA_SECTION_ASM_OP): Here. | |
6170 | * config/i860/paragon.h (ASCII_DATA_ASM_OP, BSS_SECTION_ASM_OP): | |
6171 | Here. | |
6172 | * config/i860/sysv3.h (ASCII_DATA_ASM_OP, CTORS_SECTION_ASM_OP, | |
6173 | DTORS_SECTION_ASM_OP, TDESC_SECTION_ASM_OP): Here. | |
6174 | * config/i860/sysv4.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, | |
6175 | TDESC_SECTION_ASM_OP): Here. | |
6176 | * config/i960/i960-coff.h (CTORS_SECTION_ASM_OP, | |
6177 | DTORS_SECTION_ASM_OP, INT_ASM_OP): Here. | |
6178 | * config/i960/i960.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): | |
6179 | Here. | |
6180 | * config/ia64/ia64.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, | |
6181 | BSS_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP, | |
6182 | UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP, | |
6183 | UNALIGNED_DOUBLE_INT_ASM_OP): Here. | |
6184 | * config/ia64/sysv4.h (ASM_BYTE_OP, STRING_ASM_OP, SKIP_ASM_OP, | |
6185 | COMMON_ASM_OP, ASCII_DATA_ASM_OP, INIT_SECTION_ASM_OP, | |
6186 | FINI_SECTION_ASM_OP, CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, | |
6187 | SDATA_SECTION_ASM_OP, SBSS_SECTION_ASM_OP): Here. | |
6e7b07a7 HPN |
6188 | * config/m32r/m32r.h (SCOMMON_ASM_OP): Here. |
6189 | * config/m68hc11/m68hc11.h (GLOBAL_ASM_OP): Here. | |
6190 | * config/m68k/auxas.h (BYTE_ASM_OP, WORD_ASM_OP, LONG_ASM_OP, | |
6191 | SPACE_ASM_OP, ALIGN_ASM_OP, GLOBAL_ASM_OP, SWBEG_ASM_OP, | |
6192 | SET_ASM_OP): Here. | |
6193 | * config/m68k/coff.h (BSS_SECTION_ASM_OP, CTORS_SECTION_ASM_OP, | |
6194 | DTORS_SECTION_ASM_OP, INT_ASM_OP): Here. | |
6195 | * config/m68k/crds.h (BSS_SECTION_ASM_OP): Here. | |
6196 | * config/m68k/dpx2.h (ASM_BYTE_OP, GLOBAL_ASM_OP): Here. | |
6197 | * config/m68k/hp320.h (ASCII_DATA_ASM_OP, GLOBAL_ASM_OP): Here. | |
6198 | * config/m68k/linux.h (BSS_SECTION_ASM_OP): Here. | |
6199 | * config/m68k/lynx.h (BSS_SECTION_ASM_OP): Here. | |
6200 | * config/m68k/m68k.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, | |
6201 | GLOBAL_ASM_OP): Here. | |
6202 | * config/m68k/m68kelf.h (SWBEG_ASM_OP, BSS_ASM_OP, | |
6203 | BSS_SECTION_ASM_OP): Here. | |
6204 | * config/m68k/m68kv4.h (BSS_ASM_OP): Here. | |
6205 | * config/m68k/mot3300.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, | |
6206 | ASCII_DATA_ASM_OP, SET_ASM_OP, CTORS_SECTION_ASM_OP, | |
6207 | DTORS_SECTION_ASM_OP, GLOBAL_ASM_OP, ASM_BYTE_OP, ALIGN_ASM_OP, | |
6208 | SKIP_ASM_OP): Here. | |
6209 | * config/m68k/newsgas.h (SET_ASM_OP): Here. | |
6210 | * config/m68k/rtemself.h (INIT_SECTION_ASM_OP, | |
6211 | FINI_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP): Here. | |
6212 | * config/m68k/sgs.h (BYTE_ASM_OP, WORD_ASM_OP, LONG_ASM_OP, | |
6213 | SPACE_ASM_OP, ALIGN_ASM_OP, GLOBAL_ASM_OP, SWBEG_ASM_OP, | |
6214 | SET_ASM_OP, UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP): Here, | |
6215 | but use trailing spaces. | |
6216 | * config/m68k/tower-as.h (TEXT_SECTION_ASM_OP, | |
6217 | DATA_SECTION_ASM_OP, GLOBAL_ASM_OP, INIT_SECTION_ASM_OP, | |
6218 | FINI_SECTION_ASM_OP, CONST_SECTION_ASM_OP, BSS_SECTION_ASM_OP): | |
6219 | Here. | |
6220 | * config/m88k/dgux.h (FINI_SECTION_ASM_OP, INIT_SECTION_ASM_OP, | |
6221 | CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Here. | |
6222 | * config/m88k/m88k.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, | |
6223 | CONST_SECTION_ASM_OP, TDESC_SECTION_ASM_OP, CTORS_SECTION_ASM_OP, | |
6224 | DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP, | |
6225 | IDENT_ASM_OP, FILE_ASM_OP, SECTION_ASM_OP, SET_ASM_OP, | |
6226 | GLOBAL_ASM_OP, ALIGN_ASM_OP, SKIP_ASM_OP, COMMON_ASM_OP, | |
6227 | BSS_ASM_OP, FLOAT_ASM_OP, DOUBLE_ASM_OP, INT_ASM_OP, SHORT_ASM_OP, | |
6228 | CHAR_ASM_OP, ASCII_DATA_ASM_OP, SBSS_ASM_OP, SCOMM_ASM_OP, | |
6229 | SDATA_SECTION_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP, INTERNAL_ASM_OP, | |
6230 | VERSION_ASM_OP, UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP, | |
6231 | PUSHSECTION_ASM_OP, POPSECTION_ASM_OP, REQUIRES_88110_ASM_OP, | |
6232 | ASM_BYTE_OP): Here. | |
6233 | * config/m88k/openbsd.h (SET_ASM_OP): Here. | |
6234 | * config/m88k/sysv4.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP, | |
6235 | CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Here. | |
78d057d8 HPN |
6236 | * config/mcore/mcore-elf.h (UNALIGNED_INT_ASM_OP, |
6237 | UNALIGNED_SHORT_ASM_OP, CTORS_SECTION_ASM_OP, | |
6238 | DTORS_SECTION_ASM_OP): Here. | |
6239 | * config/mcore/mcore-pe.h (CTORS_SECTION_ASM_OP, | |
6240 | DTORS_SECTION_ASM_OP, INT_ASM_OP): Here. | |
6241 | * config/mips/elf.h (TYPE_ASM_OP, SIZE_ASM_OP, | |
6242 | BSS_SECTION_ASM_OP): Here. | |
6243 | * config/mips/elf64.h (TYPE_ASM_OP, SIZE_ASM_OP): Here. | |
6244 | * config/mips/iris5.h (ABICALLS_ASM_OP): Here. | |
6245 | * config/mips/iris6.h (TYPE_ASM_OP, SIZE_ASM_OP, | |
6246 | POPSECTION_ASM_OP, BSS_SECTION_ASM_OP, CONST_SECTION_ASM_OP_32, | |
6247 | CONST_SECTION_ASM_OP_64, CTORS_SECTION_ASM_OP, | |
6248 | DTORS_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP): Here. | |
6249 | * config/mips/mips.c (ABICALLS_ASM_OP): Here. | |
6250 | * config/mips/mips.h (ASM_STABS_OP, ASM_STABN_OP, ASM_STABD_OP): | |
6251 | Here. | |
6252 | * config/mips/netbsd.h (TYPE_ASM_OP, SIZE_ASM_OP, WEAK_ASM_OP): | |
6253 | Here. | |
6254 | * config/mips/osfrose.h (SET_ASM_OP): Here. | |
6255 | * config/mips/sni-svr4.h (ABICALLS_ASM_OP): Here. | |
76bbee81 HPN |
6256 | * config/ns32k/encore.h (SHARED_SECTION_ASM_OP): Here. |
6257 | * config/ns32k/merlin.h (SHARED_SECTION_ASM_OP): Here. | |
6258 | * config/ns32k/ns32k.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): | |
6259 | Here. | |
6260 | * config/ns32k/sequent.h (SHARED_SECTION_ASM_OP): Here. | |
6261 | * config/ns32k/tek6000.h (SHARED_SECTION_ASM_OP): Here. | |
6262 | * config/pa/pa-64.h (INT_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP): Here. | |
6263 | * config/pa/pa.h (ASM_STABS_OP, ASM_STABN_OP): Here. | |
6264 | * config/pj/pj.h (SET_ASM_OP, BSS_SECTION_ASM_OP): Here. | |
6265 | * config/pyr/pyr.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): | |
6266 | Here. | |
6267 | * config/romp/romp.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): | |
6268 | Here. | |
6269 | * config/rs6000/rs6000.h (SET_ASM_OP): Here. | |
6270 | * config/rs6000/sol2.h (ASM_STABN_OP): Here. | |
6271 | * config/rs6000/sysv4.h (SKIP_ASM_OP, LOCAL_ASM_OP, LCOMM_ASM_OP): | |
6272 | Here. | |
471b6f1b HPN |
6273 | * config/sh/sh.h (SET_ASM_OP, BSS_SECTION_ASM_OP, |
6274 | UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP): Here. | |
6275 | * config/sparc/linux.h (COMMON_ASM_OP): Here. | |
6276 | * config/sparc/linux64.h (COMMON_ASM_OP, | |
6277 | UNALIGNED_DOUBLE_INT_ASM_OP): Here. | |
6278 | * config/sparc/litecoff.h (BSS_SECTION_ASM_OP, | |
6279 | CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INT_ASM_OP): Here. | |
6280 | * config/sparc/lynx.h (BSS_SECTION_ASM_OP): Here. | |
6281 | * config/sparc/pbd.h (ASM_INT_OP): Here. | |
6282 | * config/sparc/sp64-elf.h (UNALIGNED_LONGLONG_ASM_OP): Here. | |
6283 | * config/sparc/sparc.h (ASM_BYTE_OP, TEXT_SECTION_ASM_OP, | |
6284 | DATA_SECTION_ASM_OP, IDENT_ASM_OP): Here. | |
6285 | * config/sparc/sun4gas.h (UNALIGNED_DOUBLE_INT_ASM_OP, | |
6286 | UNALIGNED_INT_ASM_OP, UNALIGNED_SHORT_ASM_OP): Here. | |
6287 | * config/sparc/sysv4.h (STRING_ASM_OP, COMMON_ASM_OP, SKIP_ASM_OP, | |
6288 | UNALIGNED_DOUBLE_INT_ASM_OP, UNALIGNED_INT_ASM_OP, | |
6289 | UNALIGNED_SHORT_ASM_OP, PUSHSECTION_ASM_OP, POPSECTION_ASM_OP, | |
6290 | TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP, | |
6291 | CONST_SECTION_ASM_OP, INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP, | |
6292 | CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, | |
6293 | EH_FRAME_SECTION_ASM_OP): Here. | |
6294 | * config/sparc/vxsim.h (COMMON_ASM_OP): Here. | |
6295 | * config/spur/spur.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): | |
6296 | Here. | |
6297 | * config/tahoe/tahoe.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): | |
6298 | Here. | |
6299 | * config/v850/v850.h (SCOMMON_ASM_OP, ZCOMMON_ASM_OP, | |
6300 | TCOMMON_ASM_OP): Here. | |
6301 | * config/vax/vax.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): | |
6302 | Here. | |
6303 | * config/we32k/we32k.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, | |
6304 | ASM_BYTE_OP): Here. | |
0a3e1f45 | 6305 | |
ea9ea008 RH |
6306 | 2000-09-25 Richard Henderson <rth@cygnus.com> |
6307 | ||
6308 | * expmed.c (store_bit_field): Adjust last change to not consider | |
6309 | any word-sized field naturally aligned. | |
6310 | ||
9e495700 RH |
6311 | 2000-09-24 Richard Henderson <rth@cygnus.com> |
6312 | ||
6313 | * config/alpha/alpha.c (alpha_emit_conditional_branch): Handle | |
6314 | TFmode unordered compares properly. Revalidate integer compare | |
6315 | operands. | |
6316 | (alpha_emit_setcc): New. | |
6317 | (alpha_emit_conditional_move): Revalidate integer compare operands. | |
6318 | * config/alpha/alpha-protos.h: Update. | |
6319 | * config/alpha/alpha.md (cmpdi): Allow general operands. | |
6320 | (sne): Use alpha_emit_setcc. | |
6321 | (seq, slt, sle, sgt, sge, sltu, sleu, sgtu, sgeu): Likewise. | |
6322 | (sunordered, sordered): New. | |
6323 | ||
2ed4af6f RH |
6324 | 2000-09-24 Richard Henderson <rth@cygnus.com> |
6325 | ||
6326 | * config/ia64/ia64-protos.h: Update. | |
6327 | * config/ia64/ia64.c (call_multiple_values_operation): Remove. | |
6328 | (ia64_expand_call): New. | |
6329 | (ia64_expand_prologue): Emit an alloc if we need extra input | |
6330 | registers. | |
6331 | (ia64_expand_epilogue): New arg sibcall_p; don't emit the return | |
6332 | instruction if true. | |
6333 | (struct reg_flags): Add is_sibcall. | |
6334 | (rtx_needs_barrier): A sibcall does not use CFM et al. Ignore USEs. | |
6335 | (emit_insn_group_barriers): Set flags.is_sibcall. Remove hacks | |
6336 | for CODE_FOR_gr_spill_internal/CODE_FOR_gr_restore_internal. | |
6337 | * config/ia64/ia64.h (PREDICATE_CODES): Update. | |
6338 | * config/ia64/ia64.md (call): Use ia64_expand_call. | |
6339 | (call_value): Likewise. | |
6340 | (sibcall, sibcall_value): New. | |
6341 | (call patterns): Remove extra expanders; tidy. | |
6342 | (sibcall_epilogue): New. | |
6343 | (set_bsp): Remove the extra USE. Put the operand inside the UNSPEC. | |
6344 | ||
e1389cac RH |
6345 | 2000-09-24 Richard Henderson <rth@cygnus.com> |
6346 | ||
6347 | * emit-rtl.c (gen_lowpart_common): Use trunc_int_for_mode. | |
6348 | ||
fd442cef RH |
6349 | * sibcall.c (skip_pic_restore): New. |
6350 | (identify_call_return_value): Use it. | |
6351 | ||
c06aa51e MM |
6352 | 2000-09-24 Mark Mitchell <mark@codesourcery.com> |
6353 | ||
6354 | * c-tree.texi: Moved here from cp/ir.texi. Documented nested | |
6355 | functions. Generalize to handle both C and C++. | |
6356 | * Makefile.in (c-tree.info): New target. | |
6357 | (info): Add c-tree.info. | |
b8dad04b | 6358 | |
bd5dab53 RK |
6359 | Sun Sep 24 09:15:48 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
6360 | ||
6361 | * expr.c (store_field): If BITSIZE is negative, use size of type. | |
6362 | (expand_expr, case COMPONENT_EXPR): Likewise. | |
6363 | ||
838f313b NB |
6364 | Sun 24-Sep-2000 11:40:23 BST Neil Booth <NeilB@earthling.net> |
6365 | ||
6366 | * cpplex.c: Update TODO comment. | |
6367 | * cpplib.c (do_error, do_warning): Merge common code of | |
6368 | do_error and do_warning into do_diagnostic. Use it. | |
6369 | (do_diagnostic): New function. | |
6370 | * cpplib.h: Fix comment typo. | |
6371 | ||
c5412f06 JM |
6372 | 2000-09-24 Joseph S. Myers <jsm28@cam.ac.uk> |
6373 | ||
6374 | * c-common.c (check_format_info): Warn for a wide character string | |
6375 | used as a non-wide format argument. | |
6376 | ||
1c44c45d JM |
6377 | 2000-09-24 Joseph S. Myers <jsm28@cam.ac.uk> |
6378 | ||
6379 | * builtins.def (BUILT_IN_LLABS): Add. | |
6380 | * builtins.c (expand_builtin): Also abort on BUILT_IN_LLABS. | |
6381 | * c-common.c (c_common_nodes_builtins): Create builtin functions | |
6382 | __builtin_llabs, and plain llabs unless no_nonansi_builtins | |
6383 | outside of C99 mode. | |
6384 | (expand_tree_builtin): Handle BUILT_IN_LLABS. | |
6385 | ||
cbcff6df NB |
6386 | Sat 23-Sep-2000 22:39:18 BST Neil Booth <NeilB@earthling.net> |
6387 | ||
6388 | * cpphash.h (CPP_RESERVE, CPP_PUTS_Q, CPP_PUTS, CPP_PUTC_Q, | |
6389 | CPP_PUTC, DUMMY_TOKEN, NO_DUMMY_TOKEN): Delete. | |
6390 | * cpplex.c (_cpp_expand_token_space, _cpp_init_toklist, | |
6391 | _cpp_free_toklist): No need to worry about extra dummy token | |
6392 | at the start of token lists any more. | |
6393 | (trigraph_ok): Only warn outside comments. | |
6394 | (skip_block_comment): Set and clear lexing_comment. | |
6395 | (skip_line_comment): Take a cpp_reader not cpp_buffer. | |
6396 | Set and clear lexing_comment. | |
6397 | (parse_number): Handle leading '.' indicated by pfile->seen_dot. | |
6398 | (check_long_token): Delete. | |
6399 | (lex_percent, lex_dot): New subroutines of lex_token to | |
6400 | handle lexing of '.' and '%' without lookback. | |
6401 | (lex_token): Use lex_dot and lex_percent. | |
6402 | (lex_line): Don't check for LIST_OFFSET. | |
6403 | (_cpp_init_input_buffer): Update for new _cpp_init_toklist. | |
6404 | * cpplib.c (_cpp_parse_assertion): Similarly. | |
6405 | (cpp_push_buffer): Initialize extra_char. | |
6406 | * cpplib.h (LIST_OFFSET): Delete. | |
6407 | (struct cpp_buffer): New member extra_char. | |
6408 | (struct lexer_state): New members lexing_comment and seen_dot. | |
6409 | ||
2abdcaee JM |
6410 | 2000-09-23 Jason Merrill <jason@redhat.com> |
6411 | ||
6412 | * config/rs6000/x-aix41 (CLIB): Define here. | |
6413 | * config/rs6000/t-aix43: Not here. | |
6414 | * config/rs6000/t-aix41: Or here. Remove. | |
6415 | * configure.in: Don't use it. | |
6416 | ||
981d4858 JM |
6417 | 2000-09-22 Jason Merrill <jason@redhat.com> |
6418 | ||
2abdcaee JM |
6419 | * configure.in: Add test for HAVE_LD_DWARF_LINKONCE. |
6420 | * toplev.c: Use it to initialize flag_eliminate_dwarf2dups. | |
6421 | * config.in: Regenerate. | |
6422 | ||
981d4858 JM |
6423 | * configure.in: Fix checks for assembler features when using a |
6424 | one-tree assembler that has not yet been built. | |
6425 | Fix --disable-threads. | |
6426 | ||
afa223c6 GK |
6427 | 2000-09-19 Geoff Keating <geoffk@cygnus.com> |
6428 | ||
6429 | * stmt.c (expand_asm_operands): Allow # in constraints. | |
6430 | ||
a3a834aa JM |
6431 | 2000-09-22 Jason Merrill <jason@redhat.com> |
6432 | ||
6433 | * c-lex.c (skip_white_space): Just treat CRs as horizontal whitespace. | |
6434 | ||
6435 | * dbxout.c (dbxout_symbol_name): Just use DECL_NAME for | |
6436 | function-local names. | |
6437 | ||
18424ae1 BL |
6438 | 2000-09-22 Brad Lucier <lucier@math.purdue.edu> |
6439 | Mark Mitchell <mark@codesourcery.com> | |
6440 | ||
b8dad04b ZW |
6441 | * toplev.c (warn_disabled_optimization): Declare new warning flag. |
6442 | * flags.h (warn_disabled_optimization): Add it here. | |
6443 | * gcse.c (gcse_main): Add warning when disabled. | |
6444 | * invoke.texi: Document -Wdisabled-optimization. | |
18424ae1 | 6445 | |
1bfb5f8f JM |
6446 | 2000-09-21 Jason Merrill <jason@redhat.com> |
6447 | ||
6448 | * dwarf2out.c (add_const_value_attribute): Multiply by length, not 4. | |
6449 | ||
6450 | * dwarf2out.c (tree_add_const_value_attribute): New fn. | |
6451 | (gen_variable_die): Call it for non-definitions. | |
6452 | ||
6453 | * dwarf2out.c (die_struct): Add die_mark field. | |
6454 | (mark_dies, unmark_dies): New fns. | |
6455 | (clear_die_sizes): Remove. | |
6456 | (print_die): Check die_symbol rather than die_offset. | |
6457 | (build_abbrev_table, output_pubnames, output_aranges): Check | |
6458 | die_mark rather than die_offset. | |
6459 | (output_comp_unit): Move calc_die_sizes after build_abbrev_table. | |
6460 | Call mark_dies. | |
6461 | ||
2047e26f NB |
6462 | Thu 21-Sep-2000 18:19:05 BST Neil Booth <NeilB@earthling.net> |
6463 | ||
6464 | * cppfiles.c (lookup_include_file): Rename to open_file. | |
6465 | Always create a splay tree value, even on syscall failures. | |
6466 | Negative entries indicated by fd == -2. | |
6467 | Re-open files closed in the meantime. | |
6468 | (_cpp_fake_include): Create a negative splay tree entry. | |
6469 | (find_include_file, cpp_read_file): Update for function name | |
6470 | change. | |
6471 | * gcc.gd/cpp/mi4.c: Testcase. | |
6472 | ||
f27cd94d NC |
6473 | 2000-09-21 Nick Clifton <nickc@redhat.com> |
6474 | ||
2359a5e1 NC |
6475 | * config/arm/t-arm-elf (MULTILIB_DIRNAMES): Enable multilibs for |
6476 | ARM and THUMB modes. | |
6477 | ||
f27cd94d | 6478 | * config/mcore/mcore.c: Fix compile time warnings. |
b8dad04b | 6479 | * config/mcore/mcore-protos.h: Fix compile time warnings. |
f27cd94d | 6480 | |
7373064a DA |
6481 | 2000-09-20 J. David Anglin <dave@hiauly1.hia.nrc.ca> |
6482 | ||
6483 | * configure.in: Correct test of gcc_cv_glibc. | |
6484 | * configure: Rebuilt. | |
6485 | * config.in: Rebuilt. | |
6486 | ||
07328167 KG |
6487 | 2000-09-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
6488 | ||
6489 | * builtins.c (expand_builtin_fputs): Also expand when length!=1. | |
6490 | (expand_builtin): Handle BUILT_IN_FWRITE. | |
6491 | ||
6492 | * builtins.def (BUILT_IN_FWRITE): New entry. | |
6493 | ||
6494 | * c-common.c (c_common_nodes_and_builtins): Declare __builtin_fwrite. | |
6495 | ||
5fa7c8ce RK |
6496 | Wed Sep 20 15:39:14 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
6497 | ||
dc36ec2c RK |
6498 | * gcc.c (modify_target): New variable and struct. |
6499 | (process_command): Handle MODIFY_TARGET_NAME. | |
6500 | * tm.texi (MODIFY_TARGET_NAME): Add documentation for new macro. | |
6501 | * config/pa/pa.h (MODIFY_TARGET_NAME): New macro. | |
6502 | ||
5fa7c8ce RK |
6503 | * c-decl.c (finish_decl): Add else's to avoid referencing |
6504 | TYPE_DOMAIN of an ERROR_MARK. | |
6505 | ||
155b14a8 DC |
6506 | Wed Sep 20 21:44:31 2000 Denis Chertykov <denisc@overta.ru> |
6507 | ||
6508 | * config/avr/avr.c (adjust_insn_length): Adjust lengths of | |
6509 | `reload_in*' insns. | |
6510 | ||
6511 | 2000-09-19 Marek Michalkiewicz <marekm@linux.org.pl> | |
6512 | ||
6513 | * config/avr/avr.md (neghi2): Add alternative for input and output | |
6514 | operands in different registers, as in negsi2. | |
6515 | (*negsi2): Remove '*' from the name. Use "movw" if available. | |
6516 | ||
fd09c61f JW |
6517 | 2000-09-19 Jim Wilson <wilson@cygnus.com> |
6518 | ||
6519 | * config/ia64/crtbegin.asm (__dso_handle): Delete use of | |
6520 | HAVE_GAS_HIDDEN macro. | |
6521 | ||
7eea5554 NB |
6522 | Tue 19-Sep-2000 22:38:57 BST Neil Booth <NeilB@earthling.net> |
6523 | ||
6524 | * cpplex.c (lex_line): Drop the EOF token for unknown | |
6525 | directives in assembler. | |
6526 | ||
a473fe45 DE |
6527 | 2000-09-19 David Edelsohn <edelsohn@gnu.org> |
6528 | ||
6529 | * configure.in: Allow enable_threads_flag value of "aix". Define | |
fd60bf96 | 6530 | thread_file as "aix" for AIX 4.3 and above. |
a473fe45 | 6531 | * configure: Regenerated. |
fd60bf96 DE |
6532 | |
6533 | * gthr-aix.h: New file. | |
6534 | ||
a473fe45 DE |
6535 | * rs6000/t-aix43: Replace soft-float multilib with pthread. |
6536 | Remove 403 processor multilib match. Fix rios2 processor multilib | |
6537 | match. | |
6538 | ||
fd60bf96 DE |
6539 | * rs6000/aix.h (ASM_DECLARE_FUNCTION_NAME): Use function_section |
6540 | to return to appropriate csect. | |
6541 | ||
ad3fd36f KG |
6542 | 2000-09-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
6543 | ||
6544 | * builtins.c (is_valid_printf_arglist, expand_builtin_printf): New | |
6545 | functions. | |
6546 | (expand_builtin_fputs): Set `target' parameter for `expand_expr'. | |
6547 | (expand_builtin): Handle BUILT_IN_PUTCHAR, BUILT_IN_PUTS and | |
6548 | BUILT_IN_PRINTF. | |
6549 | ||
6550 | * builtins.def (BUILT_IN_PUTCHAR, BUILT_IN_PUTS, BUILT_IN_PRINTF): | |
6551 | New entries. | |
6552 | ||
6553 | * c-common.c (init_function_format_info): Handle __builtin_printf. | |
6554 | Set `check_function_format_ptr'. | |
6555 | (c_common_nodes_and_builtins): Set `puts_ftype' and | |
6556 | `printf_ftype'. Declare __builtin_putchar, __builtin_puts, | |
6557 | __builtin_printf and printf. | |
6558 | ||
6559 | * tree.c, tree.h (check_function_format_ptr): Declare. | |
6560 | ||
6f3d20a0 NB |
6561 | Tue 19-Sep-2000 18:26:57 BST Neil Booth <NeilB@earthling.net> |
6562 | ||
b8dad04b | 6563 | * cppfiles.c (read_include_file): Take no special action for |
6f3d20a0 NB |
6564 | zero-length files. |
6565 | ||
b4f75276 BS |
6566 | 2000-09-19 Bernd Schmidt <bernds@redhat.co.uk> |
6567 | ||
afc6898e BS |
6568 | * final.c (insn_current_reference_address): Use INSN_SHUID of seq |
6569 | rather than that of branch. | |
6570 | (shorten_branches): Don't increment insn_current_address twice. | |
6571 | ||
b4f75276 BS |
6572 | Undo most of the Wed Jan 27 23:39:53 1999 patch: |
6573 | * loop.h (struct induction): Delete members derived, ix and last_use. | |
6574 | (struct loop_ivs): Delete members first_increment_giv and | |
6575 | last_increment_giv. | |
6576 | * loop.c (verify_dominator, find_life_end, cmp_recombine_givs_stats, | |
6577 | recombine_givs): Delete functions. | |
6578 | (find_and_verify_loops): Don't initialize cont_dominator. | |
6579 | (strength_reduce): Lose code to try to find bivs that can be | |
6580 | expressed as givs of another biv, and to convert biv increments | |
6581 | into givs. | |
6582 | Lose loop_scan_start variable, always use loop->scan_start. | |
6583 | Don't call recombine_givs. Don't handle derived givs. | |
6584 | (record_giv): Don't initialize derived and last_use fields. | |
6585 | (biv_eliminiation_giv_has_0_offset): Lose code to handle derived | |
6586 | givs. | |
6587 | * unroll.c (derived_regs): Delete static variable. | |
6588 | (unroll_loop): Don't initialize it. | |
6589 | (copy_loop_body): Lose code to handle derived givs. | |
6590 | (find_splittable_givs): Don't check for givs made from biv | |
6591 | increments. | |
6592 | Don't set derived_regs. | |
6593 | ||
0f805606 BS |
6594 | Fix misapplied earlier patch: |
6595 | * config/sh/sh.md (floatsisf_ie): Reenable. Remove explicit reference | |
6596 | to fpul. | |
6597 | (floatsisf2): Generate floatsisf_ie by default. | |
6598 | (floatsisf_i4): Conditional on TARGET_SH4. | |
6599 | ||
6600 | (floatsisf2, floatsidf2, extendsfdf2): Also use reg_no_subreg_operand | |
6601 | predicate for the expanders. | |
6602 | ||
8aa0e194 RH |
6603 | 2000-09-19 Richard Henderson <rth@cygnus.com> |
6604 | ||
0d97fd9e RH |
6605 | * config/i386/i386.h (CPP_CPU_SPEC): Define i586 and i686 symbols |
6606 | in addition to pentium and pentiumpro symbols. | |
6607 | (CPP_CPU_DEFAULT_SPEC): Likewise. | |
6608 | ||
39b726dd RH |
6609 | * c-typeck.c (c_expand_asm_operands): Restore the output tree |
6610 | after expanding. | |
6611 | ||
9790cefd RH |
6612 | * stmt.c (expand_expr_stmt): Only call warn_if_unused_value |
6613 | if the tree has side effects. | |
6614 | (warn_if_unused_value): Do not warn about void constructs. | |
6615 | ||
8e5a0fcb RH |
6616 | * c-decl.c (poplevel): Invoke warn_about_unused_variables. |
6617 | ||
8aa0e194 RH |
6618 | * unroll.c (copy_loop_body): Update LABEL_NUSES before |
6619 | calling invert_jump. | |
6620 | ||
62f7f1f5 GK |
6621 | 2000-09-18 Geoff Keating <geoffk@cygnus.com> |
6622 | ||
6623 | * combine.c (can_combine_p): Don't substitute an ASM_OPERANDS | |
6624 | into anything. | |
6625 | ||
3f80e6ac KG |
6626 | 2000-09-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
6627 | ||
6628 | * Makefile.in (c-common.o): Depend on diagnostic.h. | |
6629 | ||
6630 | * c-common.c: Include diagnostic.h. | |
6631 | (tfaff): Delete. | |
6632 | (status_warning): New function. | |
6633 | (check_format_info, maybe_read_dollar_number, check_format_types, | |
6634 | finish_dollar_format_checking, check_function_format): Accept a | |
6635 | `status' parameter. All callers changed. | |
6636 | ||
6637 | * c-common.h (check_function_format): Accept a `status' parameter. | |
6638 | ||
6639 | * c-typeck.c: Update call to `check_function_format'. | |
6640 | ||
cfbd829c RH |
6641 | 2000-09-18 Richard Henderson <rth@cygnus.com> |
6642 | ||
6643 | * c-decl.c (c_expand_body): Call mark_varargs before | |
6644 | expand_function_start. | |
6645 | ||
c21d86e1 GK |
6646 | 2000-09-18 Geoff Keating <geoffk@cygnus.com> |
6647 | ||
6648 | * config/rs6000/eabi-cn.asm: Use /**/ to delimit comments, not #. | |
6649 | * config/rs6000/eabi-ci.asm: Likewise. | |
6650 | ||
f0417c82 RH |
6651 | 2000-09-18 Richard Henderson <rth@cygnus.com> |
6652 | ||
6653 | * emit-rtl.c (init_emit_once): Initialize const_tiny_rtx | |
6654 | for BImode. | |
6655 | ||
226ed43f JW |
6656 | 2000-09-18 Jim Wilson <wilson@cygnus.com> |
6657 | ||
5c3c320e JW |
6658 | * unroll.c (loop_iterations): Pass increment to extend_for_giv_value |
6659 | before passing it to fold_rtx_mult_add. | |
6660 | ||
ec919c98 JW |
6661 | * unroll.c (final_giv_value): Pass increment through |
6662 | extend_value_for_giv before passing it to emit_iv_add_mult. | |
6663 | ||
226ed43f JW |
6664 | * function.c (fixup_var_refs_1, case ZERO_EXTRACT): If we have a |
6665 | paradoxical subreg, then directly substitute the replacement and | |
6666 | return. | |
6667 | ||
b542c0fb NB |
6668 | Mon 18-Sep-2000 22:12:44 BST Neil Booth <NeilB@earthling.net> |
6669 | ||
b4f75276 | 6670 | * cpp.texi: Update documentation, including some clarifications, |
b542c0fb NB |
6671 | the treatment of various newline combinations, and space between |
6672 | backslash and newline. | |
6673 | ||
800a6a0c R |
6674 | Mon Sep 18 21:00:47 2000 J"orn Rennecke <amylaar@redhat.co.uk> |
6675 | ||
6676 | * sdbout.c (PUT_SDB_DEF, PUT_SDB_TAG, PUT_SDB_EPILOGUE_END): | |
6677 | Replace ASM_OUTPUT_LABELREF with assemble_name. | |
6678 | ||
50ceefc2 R |
6679 | Mon Sep 18 20:26:50 2000 J"orn Rennecke <amylaar@redhat.co.uk> |
6680 | ||
6681 | * sh.c (addsubcosts): CONST is not cheap. | |
6682 | (find_barrier): For Sh1, take alignment after jumps into account. | |
6683 | ||
659e47fb AH |
6684 | 2000-09-15 Andrew Haley <aph@redhat.com> |
6685 | ||
6686 | * toplev.c (rest_of_compilation): Call purge_hard_subreg_sets to | |
6687 | remove all SETs of SUBREGs of hard registers. | |
7373064a | 6688 | * function.c (purge_hard_subreg_sets): New function. |
659e47fb AH |
6689 | (purge_single_hard_subreg_set): New function. |
6690 | * rtl.h: (purge_hard_subreg_sets): New function. | |
6691 | ||
f2f90c63 RH |
6692 | 2000-09-18 Richard Henderson <rth@cygnus.com> |
6693 | ||
6694 | * config/ia64/ia64-protos.h: Update. | |
6695 | * config/ia64/ia64.c (signed_inequality_operator): New. | |
6696 | (ia64_expand_compare): New. | |
6697 | (ia64_register_move_cost): Handle PR_REGS moves. | |
6698 | (ia64_secondary_reload_class): Require a GR when moving to a PR. | |
6699 | (struct reg_write_state): Add written_by_and/or. | |
6700 | (struct reg_flags): Add is_and/or. | |
6701 | (rws_update): Set them. | |
6702 | (rws_access_regno): Test them to allow parallel comparisons. | |
6703 | (rtx_needs_barrier): Recognize parallel comparisons. | |
6704 | (emit_insn_group_barriers): Set prev_insn after a call stop bit. | |
6705 | Call recog_memoized; ignore pred_rel_mutex. | |
6706 | (emit_predicate_relation_info): Don't call find_basic_blocks here. | |
6707 | (ia64_reorg): Do it here instead. | |
6708 | * config/ia64/ia64.h: s/CCmode/BImode/g | |
6709 | (MODES_TIEABLE_P): Don't tie BImode. | |
6710 | (PREFERRED_RELOAD_CLASS): Do not reload operations into AR regs. | |
6711 | (CONST_COSTS): Pick sensible values for CONST_INT based on context. | |
6712 | (RTX_COSTS): Make multiply 4 insns. | |
6713 | (MEMORY_MOVE_COST): New. | |
6714 | (PREDICATE_CODES): Update. | |
6715 | * config/ia64/ia64.md: s/CCmode/BImode/g | |
6716 | (movcci, movbi): New. | |
6717 | (andbi3, andcmbi3, iorbi3, iorcmbi3, one_cmplbi2): New. | |
6718 | (cmpsi_and_0, cmpsi_and_1, cmpsi_andnot_0, cmpsi_andnot_1): New. | |
6719 | (cmpdi_and_0, cmpdi_and_1, cmpdi_andnot_0, cmpdi_andnot_1): New. | |
6720 | (tbit_and_0, tbit_and_1, tbit_and_2, tbit_and_3): New. | |
6721 | (cmpsi_or_0, cmpsi_or_1, cmpsi_orcm_0, cmpsi_orcm_1): New. | |
6722 | (cmpdi_or_0, cmpdi_or_1, cmpdi_orcm_0, cmpdi_orcm_1): New. | |
6723 | (tbit_or_0, tbit_or_1, tbit_or_2, tbit_or_3): New. | |
6724 | (mulsi, muldi): Use xmpy not xma. | |
6725 | (cmpbi): New. | |
6726 | (movcc, movcc_internal): Remove. | |
6727 | (branch expanders): Use ia64_expand_compare. | |
6728 | (setcc expanders): Likewise. | |
6729 | (cmov insns): Use move_operand and ia64_move_ok. | |
6730 | (pred_rel_mutex): Use unspec not unspec_volatile. Prevent the | |
6731 | scheduler from moving it past a use. | |
6732 | * config/ia64/build.hacks: Remove. | |
6733 | ||
0d9f234d NB |
6734 | Mon 18-Sep-2000 19:21:35 BST Neil Booth <NeilB@earthling.net> |
6735 | ||
6736 | * cpphash.h (HASHSTEP): Take character rather than pointer | |
6737 | to character. | |
6738 | (_cpp_check_directive, _cpp_check_linemarker): Update prototypes. | |
6739 | ||
6740 | * cpphash.c (cpp_loookup): Update for new HASHSTEP. | |
6741 | ||
6742 | * cpplex.c (auto_expand_name_space, trigraph_replace, | |
6743 | backslash_start, handle_newline, parse_name, INIT_TOKEN_STR, | |
6744 | IMMED_TOKEN, PREV_TOKEN_TYPE, PUSH_TOKEN, REVISE_TOKEN, | |
6745 | BACKUP_TOKEN, BACKUP_TRIGRAPH, MIGHT_BE_DIRECTIVE, | |
6746 | KNOWN_DIRECTIVE): Delete. | |
6747 | ||
6748 | (handle_newline, check_long_token, skip_escaped_newlines, | |
6749 | unterminated): New functions. | |
6750 | (ACCEPT_CHAR, SAVE_STATE, RESTORE_STATE): New macros. | |
6751 | ||
6752 | (parse_identifier): Was parse_name, new implementation. | |
6753 | (skip_line_comment, skip_block_comment, skip_whitespace, | |
6754 | parse_number, parse_string, trigraph_ok, save_comment, | |
6755 | adjust_column, _cpp_get_line): New implementations. | |
6756 | ||
6757 | (lex_token): New function. Lexes a token at a time, looking | |
6758 | forwards. Contains most of the guts of the old lex_line. | |
6759 | (lex_line): New implementation, using lex_token to obtain | |
6760 | individual tokens. | |
6761 | (cpp_scan_buffer): Use the token's line, not the list's line. | |
6762 | ||
6763 | * cpplib.c (_cpp_check_directive, _cpp_check_linemarker): | |
6764 | New implementations. | |
6765 | (do_assert): Don't bother setting the answer's list's line. | |
6766 | (cpp_push_buffer): Initialise new pfile and read_ahead members | |
6767 | of struct cpp_buffer. | |
6768 | ||
6769 | * cpplib.h (cppchar_t): New typedef. | |
6770 | (struct cpp_buffer): read_ahead, pfile and col_adjust are | |
6771 | new members. | |
6772 | (struct lexer_state): New structure that determines the state | |
6773 | and behaviour of the lexer. | |
6774 | (IN_DIRECTIVE, KNOWN_DIRECTIVE): New macros. | |
6775 | (struct cpp_reader): New member "state". Rename | |
6776 | multiline_string_line and multiline_string_column. Delete | |
6777 | col_adjust, in_lex_line members. | |
6778 | (CPP_BUF_COLUMN): Update. | |
6779 | ||
a191f0ee RH |
6780 | 2000-09-18 Richard Henderson <rth@cygnus.com> |
6781 | ||
9f8e169e RH |
6782 | * combine.c (simplify_comparison): Shift a NOT out of a single |
6783 | bit test. | |
6784 | ||
1f3f36d1 RH |
6785 | * combine.c (if_then_else_cond): Canonicalize BImode true to |
6786 | STORE_FLAG_VALUE. | |
6787 | * explow.c (trunc_int_for_mode): Likewise. | |
6788 | ||
5bd60ce6 RH |
6789 | * combine.c (combine_simplify_rtx): Use gen_unary to distribute |
6790 | the NOT for De Morgan's rule. | |
6791 | * simplify-rtx.c (simplify_unary_operation): Simplify a BImode NOT | |
6792 | of a comparison to the reverse comparison. | |
6793 | ||
d340408c RH |
6794 | * combine.c (try_combine): Allow split to create a single insn. |
6795 | ||
a191f0ee RH |
6796 | * machmode.def: Add BImode. Add a column for bitsize. |
6797 | * machmode.h (DEF_MACHMODE): Adjust for extra column. | |
6798 | (GET_MODE_BITSIZE): Use it. | |
6799 | * rtl.c (DEF_MACHMODE): Adjust for extra column. | |
6800 | (mode_bitsize): New. | |
6801 | (mode_mask_array): Use bitsize. | |
6802 | * combine.c (combine_simplify_rtx): Require inner and outer | |
6803 | modes to match on nonzero_bits optimizations. | |
6804 | ||
5d77a50c BS |
6805 | 2000-09-18 Bernd Schmidt <bernds@redhat.co.uk> |
6806 | ||
6807 | * reload1.c (forget_old_reloads_1): If a hard reg is stored, clear | |
6808 | its entry in spill_reg_store. | |
0fb8cb90 | 6809 | * config/sh/lib1funcs.ams (movstr_i4 functions): Always compile in. |
2e361e59 BS |
6810 | * sh.c (reg_no_subreg_operand): New function. |
6811 | * sh-protos.h (reg_no_subreg_operand): Declare it. | |
6812 | * sh.h (PREDICATE_CODES): Add it. | |
6813 | * sh.md (floatsisf2_i4, floatsidf2_i, extendsfdf2_i4): Use it for | |
6814 | input operand that needs to be in fpul. | |
6815 | (fix_truncsfsi2, fix_truncsfsi2_i4): Use register_operand for output. | |
42d5d0f1 BS |
6816 | * sh.c (find_barrier): Take into account that machine_dependent_reorg |
6817 | might add new insns. | |
5d77a50c | 6818 | |
55eec660 AO |
6819 | 2000-09-18 Alexandre Oliva <aoliva@redhat.com> |
6820 | ||
40fc375d AO |
6821 | * config/sh/sh.c (sh_expand_prologue): Mark GOTaddr2picreg as |
6822 | MAYBE_DEAD. | |
6823 | (sh_expand_epilogue): Take the PIC register into account when | |
6824 | computing the frame size. | |
6825 | ||
55eec660 AO |
6826 | * config/sh/sh.c (nonpic_symbol_mentioned_p): Check LABEL_REFs. |
6827 | * config/sh/sh.md (sym_label2reg, symPLT_label2reg): Protect | |
6828 | LABEL_REFs with a PIC-safe unspec. | |
6829 | ||
fc6df7e1 JM |
6830 | 2000-09-18 Joseph S. Myers <jsm28@cam.ac.uk> |
6831 | ||
6832 | * c-common.c (check_format_info): Properly save the argument | |
6833 | number and parameter for $ operand number formats in case width | |
6834 | and precision arguments are also used. Allow printf width and | |
6835 | precision arguments to have operand numbers even if none was | |
6836 | specified for the main format, since this is OK for %*.*m. Only | |
6837 | object to missing $ operand number if the format used requires an | |
6838 | argument. | |
6839 | ||
effa5541 JM |
6840 | 2000-09-18 Joseph S. Myers <jsm28@cam.ac.uk> |
6841 | ||
6842 | * c-common.c (format_char_info): Add 'W' flag to comment. | |
6843 | (print_char_table, scan_char_table): Use it. | |
6844 | (check_format_info): Use the 'W' flag to determine whether a | |
6845 | format argument is written into. | |
6846 | ||
99303ae4 JM |
6847 | 2000-09-18 Joseph S. Myers <jsm28@cam.ac.uk> |
6848 | ||
6849 | * c-common.c (check_format_types): Reorganise and clean up, | |
6850 | checking earlier for ERROR_MARKs and making cur_type into its | |
6851 | TYPE_MAIN_VARIANT where convenient. | |
6852 | ||
9231abf2 JM |
6853 | 2000-09-18 Joseph S. Myers <jsm28@cam.ac.uk> |
6854 | ||
6855 | * gcc.c (cpp_options): Add specs for __STDC_HOSTED__. | |
6856 | ||
cf67d231 BS |
6857 | 2000-09-18 Bernd Schmidt <bernds@redhat.co.uk> |
6858 | ||
6859 | * optabs.c (emit_libcall_block): Set CONST_CALL_P for the call. | |
6860 | ||
bd793c65 BS |
6861 | * i386-protos.h (ix86_init_builtins, ix86_expand_builtin): Declare. |
6862 | * i386.c (struct builtin_description): New. | |
6863 | (bdesc_comi, bdesc_2arg, bdesc_1arg): New arrays. | |
6864 | (mmx_reg_operand): Declare MODE arg as unused. | |
6865 | (ix86_expand_sse_comi, ix86_expand_sse_compare, safe_vector_operand, | |
6866 | ix86_expand_unop1_builtin, ix86_expand_unop_builtin, | |
6867 | ix86_expand_binop_builtin, ix86_expand_store_builtin, | |
6868 | ix86_init_builtins, ix86_expand_builtin): New functions. | |
6869 | * i386.h (ix86_builtins): New enumeration. | |
6870 | (MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): New macros. | |
6871 | * i386.md (attr length_immediate): 0 for mmx/sse types. | |
6872 | (attr prefix_0f): 1 for mmx/sse types. | |
6873 | (setcc_2): Remove "*" so we get gen_setcc_2. | |
6874 | (emms): Account for changed register numbering. Set "memory" attr | |
6875 | to unknown. | |
6876 | (sfence): Set "memory" attr to unknown. | |
6877 | ||
4070d885 AJ |
6878 | 2000-09-18 Andreas Jaeger <aj@suse.de> |
6879 | ||
6880 | * configure.in: Define _GNU_SOURCE only when using the GNU C | |
6881 | Library. | |
a191f0ee RH |
6882 | * configure: Regenerated. |
6883 | * config.in: Regenerated. | |
4070d885 | 6884 | |
2ac86f90 MM |
6885 | 2000-09-17 Mark Mitchell <mark@codesourcery.com> |
6886 | ||
31a1fdad MM |
6887 | * cppinit.c (cpp_init): Don't use ANSI prototypes. |
6888 | * flow.c (flow_dump_loop): Likewise. | |
6889 | (flow_loops_dump): Likewise. | |
6890 | ||
2ac86f90 MM |
6891 | * c-typeck.c (c_start_case): Fix typo. |
6892 | ||
60e9d01c JM |
6893 | 2000-09-17 Joseph S. Myers <jsm28@cam.ac.uk> |
6894 | ||
6895 | * c-decl.c (grokdeclarator): Don't give a warning about defaulting | |
6896 | to int for plain complex which defaults to complex double. Do | |
6897 | warn about defaulting to complex double if pedantic. Warn about | |
6898 | complex integer types if pedantic. Warn about complex types if | |
6899 | pedantic and not in C99 mode. | |
6900 | * c-typeck.c (build_unary_op): If pedantic, warn about use of ~ | |
6901 | for complex conjugation. | |
6902 | ||
bc5006c7 JM |
6903 | 2000-09-17 Joseph S. Myers <jsm28@cam.ac.uk> |
6904 | ||
6905 | * contrib.texi: Update my entry. | |
6906 | ||
7e3bd81e DC |
6907 | Sun Sep 17 18:48:32 2000 Denis Chertykov <denisc@overta.ru> |
6908 | ||
23cb1766 RK |
6909 | * config/avr/avr.md (mcu_enhanced): New attribute. |
6910 | (mcu_mega): Likewise. | |
6911 | (extendhisi2): Use mcu_enhanced. | |
6912 | (zero_extendhisi2): Likewise. | |
6913 | (call_insn): Use mcu_enhanced and mcu_mega. | |
6914 | (call_value_insn): Likewise. | |
6915 | (*sbrx_branch): Use mcu_mega. | |
6916 | (*sbrx_and_branchsi): Likewise. | |
6917 | (*sbrx_and_branchhi): Likewise. | |
6918 | (*tablejump_lib): Likewise. | |
7e3bd81e | 6919 | |
6a51f4a0 RK |
6920 | Sun Sep 17 10:46:17 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
6921 | ||
ec569656 RK |
6922 | * alias.c (true_dependence): Allow non-unchanging read to conflict |
6923 | with unchanging write. | |
6924 | ||
23cb1766 RK |
6925 | * expr.c (store_constructor_field): Accept ALIAS_SET arg. |
6926 | (store_constructor): Pass alias_set to it. | |
6927 | ||
a52fb89b RK |
6928 | * c-decl.c (grokdeclarator): Reorder tests to avoid looking at |
6929 | TYPE_MAIN_VARIANT of ERROR_MARK. | |
6930 | * c-lex.c (readescape): Avoid using printf syntax we don't recognize. | |
6931 | ||
6a51f4a0 RK |
6932 | * simplify-rtx.c (simplify_unary_operation): Add cases |
6933 | FLOAT_EXTEND and FLOAT_TRUNCATE to ones that return 0. | |
6934 | ||
ebb1b59a BS |
6935 | 2000-09-17 Bernd Schmidt <bernds@redhat.co.uk> |
6936 | ||
a191f0ee | 6937 | * expr.h (emit_library_call, emit_library_call_value): Delete |
ebb1b59a BS |
6938 | declarations. |
6939 | * rtl.h (enum libcall_type): New. | |
6940 | (emit_library_call, emit_library_call_value): Change fn_type arg to | |
a191f0ee | 6941 | be of type enum libcall_type. |
ebb1b59a BS |
6942 | * calls.c: Likewise for the function definitions. Several callers |
6943 | throughout changed to use the new enumeration appropriately. | |
6944 | (emit_library_call_value_1): Likewise. Put back code to make libcall | |
a191f0ee | 6945 | blocks of equal form, but only use it for the two new higher |
ebb1b59a BS |
6946 | enumeration values. |
6947 | ||
8f17b5c5 MM |
6948 | 2000-09-16 Mark Mitchell <mark@codesourcery.com> |
6949 | ||
6950 | Convert the C front-end to use function-at-a-time mode. | |
6951 | * c-common.h: Include splay-tree.h. | |
6952 | (C_DECLARED_LABEL_FLAG): New macro. | |
6953 | (struct language_function): Add x_scope_stmt_stack and | |
6954 | x_function_name_declared_p. | |
6955 | (RECHAIN_STMTS): Move definition. | |
6956 | (lang_statment_code_p): Likewise. | |
6957 | (lang_expand_stmt): Likewise. | |
6958 | (lang_expand_decl_stmt): New variable. | |
6959 | (lang_expand_function_end): Likewise. | |
6960 | (current_scope_stmt_stack): New function. | |
6961 | (add_decl_stmt): Likewise. | |
6962 | (add_scope_stmt): Likewise. | |
6963 | (mark_stmt_tree): Likewise. | |
6964 | (struct c_lang_decl): New structure. | |
6965 | (DECL_SAVED_TREE): Define. | |
6966 | (c_mark_lang_decl): New function. | |
6967 | (c_expand_start_cond): Change prototype. | |
6968 | (c_finish_then): New function. | |
6969 | (c_finish_else): Likewise. | |
6970 | (current_function_name_declared): Remove. | |
6971 | (set_current_function_name_declared): Likewise. | |
6972 | (mark_c_language_function): Declare. | |
6973 | (case_compare): Likewise. | |
6974 | (c_add_case_label): Likewise. | |
6975 | (c_expand_expr): Likewise. | |
6976 | (c_safe_from_p): Likewise. | |
6977 | * c-common.c (lang_expand_function_end): New variable. | |
6978 | (struct if_elt): Add if_stmt. | |
6979 | (c_expand_start_cond): Add the if-statement to the statement-tree, | |
6980 | rather than generating RTL. | |
6981 | (c_finish_then): New function. | |
6982 | (c_expand_start_else): Don't generate RTL. | |
6983 | (c_finish_else): New function. | |
6984 | (c_expand_expr_stmt): Don't generate RTL. | |
6985 | (statement_code_p): Add SCOPE_STMT. | |
6986 | (case_compare): New function. | |
6987 | (c_add_case_label): Likewise. | |
6988 | (mark_stmt_tree): Likewise. | |
6989 | (c_mark_lang_decl): Likewise. | |
6990 | (mark_c_language_function): Likewise. | |
6991 | (c_expand_expr): Likewise. | |
6992 | (c_safe_from_p): Likewise. | |
6993 | * c-decl.c (c_stmt_tree): New variable | |
6994 | (c_scope_stmt_stack): Likewise. | |
6995 | (c_function_name_declared_p): Likewise. | |
6996 | (lang_expand_expr_stmt): Remove. | |
6997 | (poplevel): Don't call output_inline_function for nested | |
6998 | functions. | |
6999 | (pushdecl): Don't set DECL_CONTEXT for a local declaration of an | |
7000 | `extern' function. | |
7001 | (redeclaration_error_message): Change means of computing whether | |
7002 | or not a function is nested. | |
7003 | (lookup_label): Don't call label_rtx. | |
7004 | (init_decl_processing): Add more GC roots. | |
7005 | (start_decl): Add DECL_STMTs to the statement-tree, rather than | |
7006 | calling rest_of_decl_compilation. | |
7007 | (finish_decl): Don't call expand_decl. | |
7008 | (store_parm_decls): Begin the statement-tree, but don't generate | |
7009 | RTL. | |
7010 | (finish_function): Tie off the statement-tree. Call c_expand_body | |
7011 | if appropriate. | |
7012 | (c_expand_body): New function. | |
7013 | (push_c_function_context): Save more information. | |
7014 | (pop_c_function_contxt): Likewise. | |
7015 | (copy_lang_decl): Now that we use DECL_LANG_SPECIFIC, copy it. | |
7016 | (lang_mark_tree): Mark it. | |
7017 | (current_stmt_tree): Adjust. | |
7018 | (current_scope_stmt_stack): New function. | |
7019 | (do_case): Remove. | |
7020 | (set_current_name_declared): Likewise. | |
7021 | (c_begin_compound_stmt): Define. | |
7022 | (c_expand_decl_stmt): Likewise. | |
7023 | * c-lang.c: Include rtl.h and expr.h. | |
7024 | (lang_init): Set more language-specific hooks. | |
7025 | * c-lex.c: Include expr.h. | |
7026 | * c-parse.in: Changes throughout to add statements to the | |
7027 | statement-tree, rather than generating RTL after every statement. | |
7028 | * c-semantics.c (lang_expand_decl_stmt): Define. | |
7029 | (add_decl_stmt): New function. | |
7030 | (add_scope_stmt): Likewise. | |
7031 | (finish_stmt_tree): Tweak. | |
7032 | (genrtl_expr_stmt): Likewise. | |
7033 | (genrtl_decl_stmt): Handle local labels, and call | |
7034 | lang_expand_decl_stmt if required. | |
7035 | (genrtl_for_stmt): Fix line-number handling. | |
7036 | (genrtl_case_label): Handle cleanups. | |
7037 | (genrtl_asm_stmt): Don't call combine_strings. | |
7038 | (genrtl_compound_stmt): Simplify. | |
7039 | (expand_stmt): Handle SCOPE_STMTs. | |
7040 | * c-tree.h (struct lang_decl): New structure. | |
7041 | (C_DECLARED_LABEL_FLAG): Remove. | |
7042 | (c_begin_compound_stmt): Declare. | |
7043 | (c_expand_decl_stmt): Likewise. | |
7044 | (c_expand_start_case): Rename to c_start_case. | |
7045 | (c_finish_case): New function. | |
7046 | * c-typeck.c (start_init): Tweak setting of | |
7047 | constructor_incremental. | |
7048 | (c_expand_asm_operands): Tweak error-handling. Add to the | |
7049 | statement-tree. | |
7050 | (c_expand_return): Add to the statement-tree. | |
7051 | (c_expand_start_case): Rename to ... | |
7052 | (c_start_case): ... this. | |
7053 | (struct c_switch): New type. | |
7054 | (switch_stack): New variable. | |
7055 | (do_case): Simplify. | |
7056 | (c_finish_case): New function. | |
7057 | * dependence.c: Include expr.h. | |
7058 | (enum dependence_type): Change spelling of enumerals. | |
7059 | (check_node_dependence): Adjust. | |
7060 | * expr.h (lang_safe_from_p): Declare. | |
7061 | (safe_from_p): Likewise. | |
7062 | * expr.c (lang_safe_from_p): New variable. | |
7063 | (safe_from_p): Give it external linkage. Use lang_safe_from_p. | |
7064 | * stmt.c (expand_expr_stmt): Avoid clobberring of last_expr_type. | |
7065 | * toplev.c (rest_of_decl_compilation): Robustify. | |
7066 | * tree.c (contains_placeholder_p): Likewise. | |
7067 | * Makefile.in: Update dependencies. | |
7068 | * objc/objc-act.h: Adjust calculation of value for dummy_tree_code. | |
7069 | * objc/objc-act.c: Include rtl.h, expr.h, and c-common.h. | |
7070 | (objc_expand_function_end): New function. | |
7071 | (finish_method_def): Use it. | |
7072 | (init_objc): Initialize more language-specific hooks. | |
7073 | * objc/Make-lang.in: Update dependencies. | |
7373064a | 7074 | |
4797e955 GK |
7075 | 2000-09-16 Geoffrey Keating <geoffk@cygnus.com> |
7076 | ||
7077 | * configure.in: Define macros that affect features before | |
7078 | testing for features. Don't define _XOPEN_SOURCE. | |
7079 | * configure: Regenerated. | |
7080 | * config.in: Regenerated. | |
7081 | ||
ae0fb1b9 JW |
7082 | Sat Sep 16 19:42:50 EDT 2000 John Wehle (john@feith.com) |
7083 | ||
7084 | * rtlanal.c (rtx_varies_p): Volatile asms vary. | |
7085 | (rtx_unstable_p): Restructure code. Volatile asms | |
7086 | are unstable. | |
7087 | ||
5748b2cb | 7088 | Sat Sep 16 14:35:55 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
ae0f4dee | 7089 | |
87c31d6b RK |
7090 | * function.h (no_debugging_symbols): New field. |
7091 | * integrate.c (save_for_inline): Renamed from save_for_inline_nocopy. | |
7092 | Initialize no_debugging_symbols. | |
7093 | (output_inline_function): Save and restore write_symbols and set from | |
7094 | no_debugging_symbols. | |
7095 | * toplev.c (rest_of_compilation): Call save_for_inline. | |
7096 | * tree.h: Update comment. | |
7373064a | 7097 | |
5748b2cb RK |
7098 | * stor-layout.c (place_field): Don't do anything if field or |
7099 | its type are ERROR_MARK. | |
7100 | ||
7101 | Sat Sep 16 19:14:00 2000 Laurynas Biveinis <lauras@softhome.net> | |
7102 | ||
7103 | * cppfiles.c (purge_cache): Use munmap only if MMAP_THRESHOLD defined. | |
7104 | (read_include_file): Ensure inc->mmaped is initialized. | |
ae0f4dee | 7105 | |
6f84c9bd RH |
7106 | 2000-09-16 Richard Henderson <rth@cygnus.com> |
7107 | ||
7108 | * cppiles.c (purge_cache): Use PTR not caddr_t. | |
7109 | ||
50c57e7b HPN |
7110 | 2000-09-16 Hans-Peter Nilsson <hp@axis.com> |
7111 | ||
7112 | * gcc.c: In description for %{<S}, say the option removed is -S. | |
7113 | * invoke.texi (Spec Files): Ditto. | |
7114 | ||
dd745546 AJ |
7115 | 2000-09-16 Andreas Jaeger <aj@suse.de> |
7116 | ||
7117 | * configure.in: Always define _GNU_SOURCE to make interfaces | |
7118 | visible that were hidden by only defining _GNU_SOURCE. | |
7119 | * configure: Regenerated. | |
7120 | ||
08ebc1c5 NB |
7121 | Sat 16-Sep-2000 08:13:45 BST Neil Booth <NeilB@earthling.net> |
7122 | ||
7123 | * cpplex.c (push_macro_context): Set an argument's level after | |
7124 | calling parse_args. We could loop infinitely otherwise. | |
7125 | ||
16abe34a TT |
7126 | 2000-09-15 Tom Tromey <tromey@cygnus.com> |
7127 | ||
7128 | * configure, config.in: Rebuilt. | |
7129 | * configure.in: Check for iconv.h. Define _XOPEN_SOURCE. | |
7130 | ||
61c16b10 GM |
7131 | 2000-09-15 Greg McGary <greg@mcgary.org> |
7132 | ||
7133 | * cppmacro.c (check_trad_stringification): Check token | |
7134 | text pointers against limit before dereferencing. | |
7135 | ||
6a357625 JM |
7136 | 2000-09-15 Joseph S. Myers <jsm28@cam.ac.uk> |
7137 | ||
7138 | * c-common.c (format_wanted_type): New structure. | |
7139 | (check_format_types): New function. | |
7140 | (check_format_info): Pass all checking of types of format | |
7141 | arguments, including width and precision arguments, to this new | |
7142 | function. | |
7143 | ||
6a1d1088 GP |
7144 | 2000-09-15 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
7145 | ||
7146 | * BUGS: Remove file. | |
7147 | ||
a3b815cb JJ |
7148 | 2000-09-15 Jakub Jelinek <jakub@redhat.com> |
7149 | ||
54f5c4b0 JJ |
7150 | * config/alpha/alpha.c (override_options): ev6 cache latencies |
7151 | from Richard Henderson. Don't allow -mmemory-latency=L0. | |
7152 | ||
a3b815cb JJ |
7153 | * config/alpha/alpha.h (TARGET_CPU_EV5, TARGET_CPU_EV6): Define. |
7154 | (TARGET_OPTIONS): Add tune=. | |
7155 | (alpha_tune_string): Declare. | |
7156 | * config/alpha/alpha.c (override_options): Add cpu_table. | |
7157 | Use alpha_cpu_string first to set both alpha_cpu and target_flags | |
7158 | and then alpha_tune_string to set alpha_cpu only. | |
7159 | Replace tests for PROCESSOR_EV* with TARGET_CPU_EV* tests. | |
7160 | * config/alpha/elf.h (ASM_FILE_START): Likewise. | |
7161 | * config/alpha/osf.h (ASM_FILE_START): Likewise. | |
7162 | * config/alpha/openbsd.h (ASM_FILE_START): Likewise. | |
7163 | ||
9076b9c1 JH |
7164 | Fri Sep 15 19:45:55 MET DST 2000 Jan Hubicka <jh@suse.cz> |
7165 | ||
7166 | * i386-protos.h (no_comparison_operator, uno_comparison_operator): | |
7167 | Remove. | |
7168 | (ix86_comparison_operator, ix86_cc_mode): Declare | |
7169 | * i386.h (CCGC, CCGCO): New modes. | |
7170 | (SELECT_CC_MODE): Move offline to .... | |
7171 | * i386.c (ix86_cc_mode): .... here; use new modes. | |
7172 | (ix86_comparison_operator): New. | |
7173 | (fcmov_comparison_operator): Ensure proper mode. | |
7174 | (put_condition_mode): More sanity checking. | |
7175 | (ix86_match_ccmode): Handle new modes. | |
7176 | (ix86_expand_fp_compare): GEU requires CCmode. | |
7177 | (ix86_expand_strlensi_unroll_1): Use emit_cmp_and_jump_insn instead of | |
7178 | doing it by hand. | |
7179 | * i386.md (cmp?i_ccz_1): Remove | |
7180 | (cmp?i_ccno_1): Use ix86_match_ccmode. | |
7181 | (cmp?i_minus_1): New. | |
7182 | (cmpsi_1): New expander. | |
7183 | (cmpqi_ext_1): Use match_ccmode | |
7184 | (cmpqi_ext_3): New expander. | |
7185 | (cmpqi_ext_3_insn): Rename from cmpqi_ext_3. | |
7186 | (cmpqi_ext_4): Use match_ccmode. | |
7187 | (add?i_?): Use match_ccmode. | |
7188 | (add?i_6): New. | |
7189 | (test?i_ccz_1): Remove | |
7190 | (test?i_1): New. | |
7191 | (testsi_ccno_1, testqi_ccz_1, testqi_ext_ccno_0): New expander. | |
7192 | (testqi_ext_0): Use ix86_match_ccmode. | |
7193 | (*xorqi_cc_ext_1): Use ix86_match_ccmode. | |
7194 | (xorqi_cc_ext_1): New expander. | |
7195 | (shift patterns): Use CCGOCmode for all shifts except for sar. | |
7196 | (setcc_?, jcc_?, miv?icc_nic): Use ix86_comparison_operator. | |
7197 | (setcc_3, jcc_3, miv?icc_c): Remove. | |
7198 | ||
3724ec07 WC |
7199 | 2000-09-15 Will Cohen <wcohen@redhat.com> |
7200 | ||
7201 | * dwarf2out.c (add_const_value_attribute): Changed array into a | |
7202 | xmalloced object, so it exists after function exit. | |
7203 | (free_AT): Added case for dw_val_class_float to free allocated | |
7204 | memory. | |
7205 | ||
182a4620 KH |
7206 | 2000-09-15 Kazu Hirata <kazu@hxi.com> |
7207 | ||
7208 | * config/i386/i386.md: Fix a comment typo. | |
d25a45d4 | 7209 | * gcc.c: Fix formatting. |
182a4620 | 7210 | |
aff2c2d3 BS |
7211 | 2000-09-15 Bernd Schmidt <bernds@redhat.co.uk> |
7212 | ||
7213 | * optabs.c (emit_libcall_block): If target is a user variable, | |
7214 | copy to a temporary first. | |
642dfa8b BS |
7215 | * expr.c (convert_move): When generating a libcall, make a libcall |
7216 | block. | |
188c5e6c BS |
7217 | * calls.c (emit_library_call_value_1): Don't create a libcall |
7218 | sequence here; our caller will in most cases do it. | |
aff2c2d3 | 7219 | |
0c4c9b16 BS |
7220 | * sh.h (SECONDARY_INPUT_RELOAD_CLASS): Handle moving T, MACL or |
7221 | MACH into FPUL. | |
7222 | (SECONDARY_OUTPUT_RELOAD_CLASS): Similar case. | |
7223 | * sh.md (reload_outsf): Generate recognizable patterns for | |
7224 | TARGET_SH3E. | |
7225 | (floatsisf2, floatsisf2_ie, floatsisf2_i4, fix_truncsfsi2, | |
7226 | fix_truncsfsi2_i4, fixsfsi, floatsidf2, floatsidf2_i, fix_truncdfsi2, | |
7227 | fix_truncdfsi2_i, extendsfdf2, extendsfdf2_i4, truncdfsf2, | |
7228 | truncdfsf2_i4): Change not to use explicit references to fpul. | |
7229 | (floatsisf2_ie): Remove USE of fpscr. | |
7230 | (floatsisf2): Change default expansion to match this. | |
7231 | (fix_truncsfsi2_i4_2, fix_truncdfsi2_i4 & splitters): Comment out | |
7232 | unused patterns. | |
7233 | ||
308ecea0 RH |
7234 | 2000-09-15 Richard Henderson <rth@cygnus.com> |
7235 | ||
7236 | * expmed.c (store_bit_field): Consider naturally aligned | |
7237 | memory for direct reference. | |
7238 | ||
e01acbb1 RH |
7239 | 2000-09-15 Richard Henderson <rth@cygnus.com> |
7240 | ||
7241 | * config/alpha/alpha.c (alpha_expand_unaligned_load): Force all | |
7242 | AND addresses into alias set 0. | |
7243 | (alpha_expand_unaligned_store): Likewise. | |
7244 | (alpha_expand_unaligned_load_words): Likewise. | |
7245 | (alpha_expand_unaligned_store_words): Likewise. | |
7246 | ||
c363a0c0 BS |
7247 | 2000-09-15 Bernd Schmidt <bernds@redhat.co.uk> |
7248 | ||
7249 | * config/sh/sh.h (CPP_SPEC): For -m4-nofpu, define __SH4_NOFPU__. | |
7250 | * config/sh/lib1funcs.asm (movstr_i4): Also compile if __SH4_NOFPU__ | |
7251 | is defined. | |
dd193c79 BS |
7252 | * config/mips/mips.c (mips_va_arg): Args passed by reference have a |
7253 | rsize of UNITS_PER_WORD. | |
c363a0c0 | 7254 | |
ff94c747 NB |
7255 | Fri 15-Sep-2000 06:49:07 BST Neil Booth <NeilB@earthling.net> |
7256 | ||
7257 | * cpplex.c (ON_REST_ARG): Correct the test. | |
7258 | (maybe_paste_with_next): Duplicate a token that fail pasting, | |
7259 | and clear its PASTE_LEFT flag, so that nested pasting attempts | |
7260 | do not occur. | |
7261 | ||
b437f1a7 RH |
7262 | 2000-09-14 Richard Henderson <rth@cygnus.com> |
7263 | ||
7264 | * calls.c (precompute_register_parameters): Use COSTS_N_INSNS, not 2. | |
7265 | * cse.c (rtx_cost): Likewise. | |
7266 | * optabls.c (expand_binop): Likewise. | |
7267 | (expand_twoval_binop, prepare_cmp_insn): Likewise. | |
7268 | * regclass.c (copy_cost): Likewise. | |
7269 | * reload1.c (reload_cse_move2add): Likewise. | |
7270 | ||
d9dbd9b1 JM |
7271 | 2000-09-14 Joseph S. Myers <jsm28@cam.ac.uk> |
7272 | ||
7273 | * c-parse.in (reswords): Add _Complex. | |
7274 | ||
9207d3b1 DA |
7275 | 2000-09-14 J. David Anglin <dave@hiauly1.hia.nrc.ca> |
7276 | ||
7277 | * gcc.1: Delete documentation for -undef preprocessor option. | |
7278 | ||
395a451c AO |
7279 | 2000-09-14 Alexandre Oliva <aoliva@redhat.com> |
7280 | ||
7281 | * config/sh/sh.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP, | |
7282 | STARTFILE_SPEC, ENDFILE_SPEC): Remove define. | |
7283 | * config/sh/elf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP): | |
7284 | Remove undefine before config/elfos.h. | |
7285 | * config/sh/t-sh (EXTRA_MULTILIB_PARTS): Comment out. | |
7286 | ||
17f0f8fa KH |
7287 | 2000-09-14 Kazu Hirata <kazu@hxi.com> |
7288 | ||
7289 | * invoke.texi (H8/300 Options): Add -ms2600. | |
7290 | * config/h8300.c (h8300_init_once): Output an error when -ms2600 | |
7291 | is used without -ms. | |
7292 | * config/h8300.h (TARGET_MAC): New. | |
7293 | (TARGET_SWITCHES): Add -ms2600 and -mno-s2600. | |
7294 | (CONDITIONA_REGISTER_USAGE): Disable the mac register on any | |
7295 | machine other than H8/S2600. | |
7296 | * config/h8300.md: Accept mac instructions on the H8/S2600 instead | |
7297 | of the H8/S2000. | |
7298 | ||
9e8f528c AO |
7299 | 2000-09-14 Alexandre Oliva <aoliva@redhat.com>, Bernd Schmidt <bernds@redhat.co.uk> |
7300 | ||
7301 | * reload.c (find_reloads_address_1): Generate reloads for auto_inc | |
7302 | pseudos that refer to the original pseudos, not only to their | |
7303 | equivalent memory locations. | |
7304 | ||
9985f210 RK |
7305 | Thu Sep 14 12:10:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
7306 | ||
fe7a8445 RK |
7307 | * expr.c (expand_expr, case COMPONENT_EXPR): Copy memory attributes |
7308 | when making new MEM. | |
7309 | ||
9985f210 RK |
7310 | * Makefile.in (LN): Remove duplicate definition. |
7311 | ||
2f93c5c3 BS |
7312 | 2000-09-12 Bernd Schmidt <bernds@redhat.co.uk> |
7313 | ||
7314 | From Joern Rennecke: | |
7315 | * local-alloc.c (update_equiv_regs): If there is no REG_EQUAL note | |
7316 | on an insn and function_invariant_p returns nonzero for the source, | |
7317 | add a REG_EQUAL note. | |
7318 | ||
b24ea077 JW |
7319 | Thu Sep 14 00:51:57 EDT 2000 John Wehle (john@feith.com) |
7320 | ||
7321 | * alias.c (memrefs_conflict_p): An ADDRESSOF doesn't | |
7322 | conflict with frame_pointer_rtx. | |
7323 | ||
fd5d5b07 KH |
7324 | 2000-09-13 Kazu Hirata <kazu@hxi.com> |
7325 | ||
7326 | * loop.c: Fix formatting. | |
7327 | * loop.h: Likewise. | |
7328 | ||
26102535 RH |
7329 | 2000-09-13 Richard Henderson <rth@cygnus.com> |
7330 | ||
7331 | * config/ia64/ia64.md (divsf3): New. | |
7332 | (divsf3_internal_lat, divsf3_internal_thr): New. | |
7333 | (divdf3, divdf3_internal_lat, divdf3_internal_thr): New. | |
7334 | (divtf3, divtf3_internal_lat, divtf3_internal_thr): New. | |
7335 | (adddf3_trunc, subdf3_trunc, muldf3_trunc): New. | |
7336 | (madddf4_trunc, msubdf4_trunc, nmuldf3_trunc): New. | |
7337 | (nmadddf4_alts, nmadddf4_trunc): New. | |
7338 | (addtf3_truncsf, addtf3_truncdf, subtf3_truncsf): New. | |
7339 | (subtf3_truncdf, multf3_truncsf, multf3_truncdf): New. | |
7340 | (multf3_truncsf_alts, multf3_truncdf_alts): New. | |
7341 | (maddtf4_truncsf, maddtf4_truncdf, maddtf4_alts_truncdf): New. | |
7342 | (msubtf4_truncsf, msubtf4_truncdf, nmultf3_truncsf): New. | |
7343 | (nmultf3_truncdf, nmaddtf4_truncsf, nmaddtf4_truncdf): New. | |
7344 | (nmaddtf4_truncdf_alts): New. | |
7345 | (recip_approx): Don't predicate. | |
7346 | ||
938566fb RH |
7347 | 2000-09-13 Richard Henderson <rth@cygnus.com> |
7348 | ||
7349 | * config/ia64/lib1funcs.asm (__divsf3): Protect fnorm.s with p6. | |
7350 | ||
c349e40b SC |
7351 | 2000-09-13 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
7352 | ||
7353 | * flags.h (flag_dump_rtl_in_asm): Declare. | |
7354 | * toplev.c (flag_dump_rtl_in_asm): Define. | |
7355 | (decode_d_option): Set flag_dump_rtl_in_asm and flag_print_asm_name | |
7356 | if -dP is specified. | |
7357 | * rtl.h (print_rtx_head): Declare. | |
7358 | * print-rtl.c (print_rtx_head): Define. | |
7359 | (print_rtx): Print the string pointed to by print_rtx_head | |
7360 | at beginning of each dump line. | |
7361 | (print_rtl): Likewise. | |
7362 | (print_rtl_single): Likewise. | |
7363 | * final.c (final_scan_insn): Dump the insn in the assembly | |
7364 | file for debugging. | |
7365 | * gcc.1: Document -dP option. | |
7366 | * invoke.texi (Debugging Options): Likewise. | |
7367 | ||
2856c3e3 SC |
7368 | 2000-09-13 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
7369 | ||
7370 | * md.texi (Machine Constraints): Document the 68HC11 constraints. | |
7371 | * install.texi (Configurations): Document the 68HC11&68HC12 port. | |
7372 | * invoke.texi (Option Summary, M68hc1x Options): Document the options. | |
7373 | ||
1ca04dc8 DC |
7374 | Tue Sep 12 13:51:13 2000 Denis Chertykov <denisc@overta.ru> |
7375 | ||
7376 | * config/avr/avr.h (ASSEMBLER_DIALECT): New macro declared. | |
7377 | * config/avr/avr.md (*movstrqi_insn): Cleanup output template. | |
7378 | (*clrstrqi): Likewise. | |
7379 | (xorhi3,xorsi3,absqi2): Likewise. | |
7380 | (one_cmplhi2,one_cmplsi2): Likewise. | |
7381 | (addsi3): Two stupid constraint alternatives removed. | |
7382 | (extendhisi2): Use `movw' for enhanced avr cores. | |
7383 | (zero_extendhisi2): Likewise. | |
7384 | ||
bb07060a JW |
7385 | Wed Sep 13 02:31:23 EDT 2000 John Wehle (john@feith.com) |
7386 | ||
7387 | * alias.c (find_base_term): Use frame_pointer_rtx | |
7388 | when handling an ADDRESSOF. | |
7389 | ||
7390 | * cse.c (canon_hash): Handle USE of BLKmode memory. | |
7391 | (cse_insn): Outgoing arguments for a libcall don't | |
7392 | affect any recorded expressions. | |
7393 | ||
d21445e7 TT |
7394 | 2000-09-12 Tom Tromey <tromey@cygnus.com> |
7395 | ||
7396 | * configure, config.in: Rebuilt. | |
7397 | * configure.in: Check for iconv, nl_langinfo, langinfo.h. | |
7398 | ||
5c80f6e6 JJ |
7399 | 2000-09-12 Jakub Jelinek <jakub@redhat.com> |
7400 | ||
7401 | * c-lex.c (lex_string): Use charwidth to compute bytemask. | |
7402 | * expr.c (expand_expr): Don't optimize constant array references | |
7403 | initialized with wide string constants. | |
7404 | ||
635a2a90 MH |
7405 | 2000-09-13 Michael Hayes <mhayes@cygnus.com> |
7406 | ||
a191f0ee | 7407 | * loop.c (note_set_pseudo_multiple_uses): Correct. |
635a2a90 | 7408 | |
cc2999aa JW |
7409 | 2000-09-12 Jim Wilson <wilson@cygnus.com> |
7410 | ||
7411 | * ifcvt.c (noce_process_if_block): If A and B are the same, and no | |
7412 | else block, and X has side-effects, then fail. | |
7413 | ||
a0b6cdee GM |
7414 | 2000-09-12 Greg McGary <greg@mcgary.org> |
7415 | ||
7416 | * config/mips/mips-protos.h | |
7417 | (trap_cmp_op, mips_gen_conditional_trap): New func decls. | |
7418 | * config/mips/mips.h (ISA_HAS_COND_TRAP): New macro. | |
7419 | (PREDICATE_CODES): Add "trap_cmp_op". | |
7420 | * config/mips/mips.c | |
7421 | (trap_cmp_op, mips_gen_conditional_trap): New functions. | |
7422 | * config/mips/mips.md (trap, conditional_trap): New patterns. | |
7423 | ||
24948ccc BS |
7424 | 2000-09-12 Bernd Schmidt <bernds@redhat.co.uk> |
7425 | ||
7426 | * flow.c (try_pre_increment_1): Don't do anything to sets of the stack | |
7427 | pointer. | |
7428 | ||
3ff5f682 KG |
7429 | 2000-09-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
7430 | ||
7431 | * builtins.c (built_in_decls): New array. | |
7432 | (expand_builtin_fputs): New function. | |
7433 | (expand_builtin): Handle BUILT_IN_FPUTC and BUILT_IN_FPUTS. | |
7434 | ||
7435 | * builtins.def (BUILT_IN_FPUTC, BUILT_IN_FPUTS): New members. | |
7436 | ||
7437 | * c-common.c (c_common_nodes_and_builtins): Handle fputc/fputs. | |
7438 | ||
7439 | * tree.h (built_in_decls): New array. | |
7440 | ||
208b0ab1 JL |
7441 | Tue Sep 12 08:53:57 2000 Jeffrey A Law (law@cygnus.com) |
7442 | ||
7443 | * convex.md: Use "+" instead of "=" for outputs wrapped in a | |
7444 | STRICT_LOW_PART. | |
7445 | * i370.md, i386.md, ns32k.md, sh.md, vax.md: Likewise. | |
7446 | ||
a86dc4a3 KH |
7447 | 2000-09-12 Kazu Hirata <kazu@hxi.com> |
7448 | ||
7a403706 KH |
7449 | * haifa-sched.c: Fix formatting. |
7450 | ||
c9541287 KH |
7451 | * genattrtab.c: Fix formatting. |
7452 | ||
a86dc4a3 KH |
7453 | * unroll.c: Fix formatting. |
7454 | ||
3af556f7 BK |
7455 | 2000-09-12 Bruce Korb <bkorb@gnu.org> |
7456 | ||
7457 | * fixinc/fixfixes.c: make a type for the fix procedure & use it, | |
7458 | remove obsolete code | |
7459 | * fixinc/fixincl.c: Use PARAMS, not _P_. Add no-op default to switch. | |
7460 | * fixinc/fixincl.tpl: make non-exported arrays static scope | |
7461 | * fixinc/fixincl.x: regenerate | |
7462 | * fixinc/fixlib.h: Use PARAMS, not _P_ | |
7463 | * fixinc/fixtests.c: make a type for the test proc & use it | |
7464 | * fixinc/server.h: Use PARAMS, not _P_ | |
7465 | ||
32892c52 KG |
7466 | 2000-09-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
7467 | ||
7468 | * c-typeck.c (process_init_element): Avoid union init warnings on | |
7469 | floating point zero. Don't crash on unions containing structs. | |
7470 | ||
ae0a1c23 AO |
7471 | 2000-09-12 Alexandre Oliva <aoliva@redhat.com> |
7472 | ||
7473 | * config/sh/sh.h (PREDICATE_CODES): Add CONST_DOUBLE to | |
7474 | general_movsrc_operand, and remove CONST_INT from | |
7475 | general_movdst_operand. | |
7476 | ||
f1c1dfc3 BS |
7477 | 2000-09-12 Bernd Schmidt <bernds@redhat.co.uk> |
7478 | ||
7479 | * cse.c (approx_reg_cost): If SMALL_REGISTER_CLASSES, return INT_MAX | |
7480 | if a reference to non-fixed hardreg is seen. Otherwise, count hard | |
7481 | regs with a higher cost. | |
7482 | (preferrable): Deal with cases where either cost or regcost is | |
7483 | MAX_COST. | |
7484 | (cse_insn): Use MAX_COST rather than 10000. Always initialize | |
7485 | regcost values. | |
7486 | (COSTS_N_INSNS): Move definition... | |
7487 | * rtl.h: ...here. | |
7488 | (MAX_COST): New macro. | |
7489 | * loop.c (init_loop): Use COSTS_N_INSNS macro instead of hardcoded | |
7490 | constant. | |
7491 | ||
f444e36b MM |
7492 | 2000-09-11 Mark Mitchell <mark@codesourcery.com> |
7493 | ||
7494 | * c-common.h (genrtl_clear_out_block): Remove. | |
7495 | * c-semantics.c (genrtl_clear_out_block): Remove. | |
7496 | (genrtl_while_stmt): Don't call it. | |
7497 | (genrtl_for_stmt): Likewise. | |
7498 | ||
a58d32c2 ZW |
7499 | 2000-09-11 Zack Weinberg <zack@wolery.cumb.org> |
7500 | ||
7501 | * cppfiles.c: Move all default-#defines to top of file. | |
7502 | (open_include_file): Replace by lookup_include_file. | |
7503 | (read_with_read, read_file): Merged into read_include_file. | |
7504 | (stack_include_file, purge_cache): New functions. | |
7505 | (close_cached_fd): Delete. | |
dd745546 | 7506 | (lookup_include_file, read_include_file, _cpp_pop_file_buffer): |
a58d32c2 ZW |
7507 | Cache the in-memory buffer, not the file descriptor. |
7508 | ||
7509 | * cpphash.h (struct include_file): Add buffer, st, refcnt, | |
7510 | mapped fields. | |
7511 | (xcnew): New utility macro. | |
7512 | (DO_NOT_REREAD, NEVER_REREAD): Move up by struct include_file. | |
7513 | * cpplib.h (struct cpp_buffer): Remove mapped field. | |
7514 | ||
7515 | 2000-09-11 Zack Weinberg <zack@wolery.cumb.org> | |
7516 | ||
7517 | * cpplex.c (parse_string): Accept backslash space newline as a | |
7518 | line continuation. | |
7519 | (lex_line): Likewise. | |
7520 | (_cpp_get_token): Remove hard limit on macro nesting. | |
7521 | ||
bfa29b63 PT |
7522 | 2000-09-12 Philipp Thomas <pthomas@suse.de> |
7523 | ||
7524 | * aclocal.m4 (AM_WITH_NLS): Don't force use of included gettext. | |
7525 | * configure: Rebuilt. | |
7526 | ||
97ca9316 MH |
7527 | 2000-09-13 Michael Hayes <mhayes@cygnus.com> |
7528 | ||
7529 | * flow.c (split_block): Fix update of registers live at | |
7530 | end of split block. | |
7531 | ||
d90ffc8d JH |
7532 | Tue Sep 12 01:51:38 MET DST 2000 Jan Hubicka <jh@suse.cz> |
7533 | ||
7534 | * i386.md (add?i_3, add?i_5): New. | |
7535 | (add?i_4): Rename from add?i_3; Fix compare pattern. | |
7536 | (sub?i_3, xor?i_3, ior?i_3): New. | |
7537 | ||
7538 | * genrecog.c (write_tree): Output code to clear insn_extract cache. | |
7539 | * genattrtab.c (write_attr_case): Gen call to extract_insn_cache | |
7540 | instead of extract_insn and extract_constrain_insn_cache instead of | |
7541 | extract_insn and constrain_operands. | |
7542 | * recog.c (extract_insn_cached, extract_constrain_insn_cached): | |
7543 | New functions. | |
7544 | (extract_insn): Clear which_alternative. | |
7545 | (constrain_operands): Set which_alternative to -1 when failed. | |
7546 | * recog.h (extract_constrain_insn_cached, extract_insn_cached): | |
7547 | Declare. | |
7548 | ||
4843bda9 MH |
7549 | 2000-09-11 Matthew Hiller <hiller@redhat.com> |
7550 | ||
7551 | * config/h8300/h8300.md (movstrictqi): Changed constraint modifier | |
7552 | on operand 0 to '+'. | |
7553 | (movstricthi): Likewise. | |
7554 | ||
ed5bb68d MH |
7555 | 2000-09-12 Michael Hayes <mhayes@cygnus.com> |
7556 | ||
7557 | * loop.h (LOOP_IVS): New macro. | |
7558 | (REG_IV_TYPE, REG_IV_INFO): Add ivs argument. | |
7559 | (struct loop_ivs): New. | |
7560 | (struct loop_info): Add ivs field. | |
7561 | (reg_iv_type, reg_iv_info): Delete prototype. | |
7562 | (reg_biv_class, loop_iv_list): Likewise. | |
7563 | * loop.c (record_biv, find_life_end): Pass loop argument. | |
7564 | (reg_iv_type): Remove global array and use | |
7565 | field in loop_regs structure within loop_ivs structure. | |
7566 | (reg_iv_info, reg_biv_class, loop_iv_list): Likewise. | |
7567 | (first_increment_giv, last_increment_giv): Use entry in | |
7568 | loop_ivs structure. | |
7569 | (record_initial): Pass ivs pointer. | |
7570 | * unroll.c (copy_loop_body, remap_split_bivs): Add loop argument. | |
7571 | ||
1ecd860b MH |
7572 | 2000-09-12 Michael Hayes <mhayes@cygnus.com> |
7573 | ||
7574 | * loop.h (LOOP_REGS): New macro. | |
7575 | (struct loop_regs): New. | |
7576 | (struct loop_info): Add regs field. | |
dd745546 | 7577 | * loop.c (set_in_loop): Remove global array and store |
1ecd860b MH |
7578 | in loop_regs structure as part of loop_info structure. |
7579 | (n_times_set, may_not_optimize): Likewise. | |
7580 | (reg_single_usage, moved_once): Likewise. | |
7581 | (count_one_set): Add regs argument. | |
7582 | (combine_movables, rtx_equal_for_loop_p, combine_givs): Likewise. | |
7583 | (set_pseudo_multiple_uses): Pass regs pointer. | |
7584 | ||
0a5b41f2 MH |
7585 | 2000-09-12 Michael Hayes <mhayes@cygnus.com> |
7586 | ||
7587 | * unroll.c (iteration_info): Subsume into loop_iterations. | |
7588 | * loop.h (loop_info): New field iv. | |
7589 | ||
5d6a16e2 MH |
7590 | 2000-09-12 Michael Hayes <mhayes@cygnus.com> |
7591 | ||
7592 | * basic-block.h (LOOP_TREE, LOOP_PRE_HEADER, LOOP_EDGES): New. | |
7593 | (LOOP_EXITS_DOMS, LOOP_ALL): Likewise. | |
7594 | (flow_loops_update): New prototype. | |
7595 | (flow_loops_find): Add flags to prototype. | |
7596 | (struct loop): Add `pre_header_root' and `pre_header_trace' fields. | |
7597 | * flow.c (flow_loop_pre_header_scan): New. | |
7598 | (flow_loop_dump): Dump pre-header root and trace and exit dominators. | |
7599 | (flow_loop_free): Free pre-header root and trace and exit dominators. | |
7600 | (flow_loops_find): New argument flags. | |
7601 | (flow_loops_update): New function. | |
7602 | * toplev.c (rest_of_compilation): Add flag argument to flow_loops_find. | |
7603 | ||
c586192c MH |
7604 | 2000-09-12 Michael Hayes <mhayes@cygnus.com> |
7605 | ||
7606 | * basic-block.h (split_block, update_bb_for_insn): New prototypes. | |
7607 | * flow.c (split_block, update_bb_for_insn): New functions. | |
7608 | ||
a5e5cf67 RH |
7609 | 2000-09-11 Richard Henderson <rth@cygnus.com> |
7610 | ||
7611 | * cse.c (fold_rtx): Honor NO_FUNCTION_CSE. | |
7612 | ||
655f2eb9 RH |
7613 | 2000-09-11 Richard Henderson <rth@cygnus.com> |
7614 | ||
7615 | * config/ia64/ia64-protos.h (fr_nonimmediate_operand): Declare. | |
7616 | * config/ia64/ia64.c (fr_nonimmediate_operand): New. | |
7617 | (ia64_override_options): Prevent optimizing division for both | |
7618 | latency and throughput. | |
7619 | (rtx_needs_barrier): Handle frcpa. | |
7620 | * config/ia64/ia64.h (MASK_INLINE_DIV_LAT): New. | |
7621 | (MASK_INLINE_DIV_THR, TARGET_INLINE_DIV_LAT): New. | |
7622 | (TARGET_INLINE_DIV_THR, TARGET_INLINE_DIV): New. | |
7623 | (TARGET_SWITCHES): Add -minline-divide-min-latency and | |
7624 | -minline-divide-max-throughput. | |
7625 | (PREDICATE_CODES): Update. | |
7626 | * config/ia64/ia64.md (extendsidi2): Remove * from f case. | |
7627 | (zero_extendsidi2): Likewise. Fix typo in f case insn. | |
7628 | (extendsfdf2): Add cases for gr<->fr and fr<->mem. | |
7629 | (extendsftf2): Likewise. | |
7630 | (extenddftf2): Likewise. | |
7631 | (fix_trunctfdi2_alts): New. | |
7632 | (fixuns_trunctfdi2_alts): New. | |
7633 | (madd*4): Rename from madd*3. | |
7634 | (divsi3, modsi3, udivsi3, umodsi3): New. | |
7635 | (divsi3_internal): New. | |
7636 | (divdi3, moddi3, udivdi3, umoddi3): New. | |
7637 | (divdi3_internal_lat, divdi3_internal_thr): New. | |
7638 | (multf3_alts, maddtf4_alts, nmaddtf4_alts): New. | |
7639 | (recip_approx): New. | |
7640 | ||
b5d7770c AO |
7641 | 2000-09-11 Alexandre Oliva <aoliva@redhat.com> |
7642 | ||
7643 | * print-rtl.c (debug_call_placeholder_verbose): New variable. | |
7644 | (print_rtx) [CALL_PLACEHOLDER]: Dump all call sequences if it is | |
7645 | set. | |
7646 | * integrate.c (copy_rtx_and_substitute): Don't share | |
7647 | LEAF_REG_REMAPpable registers with the inlined function. Don't | |
7648 | share the function value with calling sequences. | |
7649 | ||
6ff85fd8 JJ |
7650 | 2000-09-11 Jakub Jelinek <jakub@redhat.com> |
7651 | ||
2a1da89b JJ |
7652 | * c-decl.c (do_case): Fix a typo. |
7653 | ||
6ff85fd8 JJ |
7654 | * combine.c (simplify_if_then_else): Don't convert a == b ? b : a |
7655 | to a if the comparison is floating mode and not -ffast-math. | |
7656 | * simplify-rtx.c (simplify_ternary_operation): Likewise. | |
7657 | ||
4102c782 R |
7658 | Mon Sep 11 20:07:48 2000 J"orn Rennecke <amylaar@redhat.co.uk> |
7659 | ||
7660 | * sh.h (INITIALIZE_TRAMPOLINE): Remove stray call to | |
7661 | gen_ic_invalidate_line. | |
7662 | ||
52a21fc6 PB |
7663 | 2000-09-11 Philip Blundell <pb@futuretv.com> |
7664 | ||
7665 | * config/arm/elf.h (SUBTARGET_CPP_SPEC): Don't define `arm_elf'. | |
7666 | ||
669ed2b1 UD |
7667 | Mon Sep 11 10:48:41 2000 Ulrich Drepper <drepper@redhat.com> |
7668 | ||
7669 | * install.texi (LANGUAGES): Update to include new languages. | |
7670 | * INSTALL: Rebuilt. | |
7671 | ||
50936d27 DD |
7672 | 2000-09-11 DJ Delorie <dj@redhat.com> |
7673 | ||
7674 | * gcc.c (main): Don't warn about unused -B prefixes | |
7675 | (unused_prefix_warnings): remove | |
7676 | ||
00174bdf KH |
7677 | 2000-09-11 Kazu Hirata <kazu@hxi.com> |
7678 | ||
f5d927c0 KH |
7679 | * final.c: Fix formatting. |
7680 | ||
00174bdf KH |
7681 | * integrate.c: Fix formatting. |
7682 | ||
b14066a9 GK |
7683 | 2000-09-11 Geoff Keating <geoffk@cygnus.com> |
7684 | ||
7685 | * alias.c (memrefs_conflict_p): An ADDRESSOF does conflict, sorry. | |
7686 | ||
e695931e BS |
7687 | 2000-09-11 Bernd Schmidt <bernds@redhat.co.uk> |
7688 | ||
7689 | * reload.c (regno_clobbered_p): Fix thinko in previous change. | |
7690 | ||
456aadaa SC |
7691 | 2000-09-10 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
7692 | ||
7693 | * gcc.1: Document 68hc11 specific options. | |
7694 | ||
9cb8fcaf GK |
7695 | 2000-09-10 Geoff Keating <geoffk@cygnus.com> |
7696 | ||
e0f7170a GK |
7697 | * config/rs6000/sysv4.h (MASK_LONG_DOUBLE_128): Define. |
7698 | (TARGET_LONG_DOUBLE_128): Define. | |
7699 | (SUBTARGET_SWITCHES): Add -mlong-double-64 and -mlong-double-128. | |
7700 | (LONG_DOUBLE_TYPE_SIZE): Redefine. | |
7701 | (MAX_LONG_DOUBLE_TYPE_SIZE): Define. | |
7702 | (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on definition | |
7703 | of __LONG_DOUBLE_128__. | |
7704 | (CPP_SYSV_SPEC): Define __LONG_DOUBLE_128__ if -mlong-double-128 | |
7705 | passed. | |
7706 | (CPP_LONGDOUBLE_DEFAULT_SPEC): Define. | |
7707 | (CPP_SYSV_DEFAULT_SPEC): Define. | |
7708 | (SUBTARGET_EXTRA_SPECS): Add cpp_longdouble_default. | |
7709 | (INIT_TARGET_OPTABS): Define. | |
7710 | ||
9cb8fcaf GK |
7711 | * config/rs6000/aix.h (RS6000_ITRUNC): Moved from rs6000.h. |
7712 | (RS6000_UITRUNC): Likewise. | |
7713 | (INIT_TARGET_OPTABS): New macro. | |
7714 | * config/rs6000/rs6000.c (rs6000_trunc_used): Delete. | |
7715 | (trunc_defined): Delete. | |
7716 | (output_prolog): Don't output .extern definitions for fp->int | |
7717 | conversion routines, ASM_OUTPUT_EXTERNAL_LIBCALL will do it. | |
7718 | * config/rs6000/rs6000.h (rs6000_trunc_used): Delete. | |
7719 | (trunc_defined): Delete. | |
7720 | (RS6000_ITRUNC): Moved to aix.h. | |
7721 | (RS6000_UITRUNC): Likewise. | |
7722 | * config/rs6000/rs6000.md (fix_truncdfsi2): Fail if it would | |
7723 | only emit a libcall. | |
7724 | (fixuns_truncdfsi2): Delete. | |
7725 | (trunc_call): Delete. | |
7726 | (trunc_call_rtl): Delete. | |
7727 | ||
8f820299 ZW |
7728 | 2000-09-10 Zack Weinberg <zack@wolery.cumb.org> |
7729 | ||
7730 | * varasm.c (make_decl_rtl): Restore leading star on | |
dd745546 | 7731 | DECL_ASSEMBLER_NAME set for decls with an asmspec. |
8f820299 | 7732 | |
4337bc93 ZW |
7733 | 2000-09-10 Zack Weinberg <zack@wolery.cumb.org> |
7734 | ||
7735 | * c-pragma.c (handle_pragma_pack): Correct parsing logic so it | |
7736 | won't give a spurious error for '#pragma pack()'. Simplify | |
7737 | control flow for readability. 'reset' action is not necessary. | |
7738 | ||
d8ea8f28 ZW |
7739 | 2000-09-10 Zack Weinberg <zack@wolery.cumb.org> |
7740 | ||
7741 | * defaults.h: Provide default definitions for: CHAR_TYPE_SIZE, | |
7742 | SHORT_TYPE_SIZE, INT_TYPE_SIZE, LONG_TYPE_SIZE, | |
7743 | LONG_LONG_TYPE_SIZE, WCHAR_TYPE_SIZE, FLOAT_TYPE_SIZE, | |
7744 | DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE, and WCHAR_UNSIGNED. | |
7745 | ||
7746 | * cppexp.c, dwarfout.c, dwarf2out.c, emit-rtl.c, final.c, optabs.c, | |
7747 | profile.c, sdbout.c, tradcif.y, tree.c: | |
7748 | Include defaults.h if not already included. | |
7749 | Don't define the above macros. | |
7750 | ||
7751 | * Makefile.in: Update dependencies. | |
7752 | ||
56cb9733 MM |
7753 | 2000-09-10 Mark Mitchell <mark@codesourcery.com> |
7754 | ||
7755 | * c-common.h (add_stmt): Change prototype. | |
7756 | (RECHAIN_STMTS): New macro. | |
7757 | (CASE_LABEL_DECL): Likewise. | |
7758 | (genrtl_case_label): Change prototype. | |
7759 | (c_expand_start_case): Remove prototype. | |
7760 | (build_case_label): Change prototype. | |
7761 | (decl_constant_value): Declare. | |
7762 | * c-common.c (check_case_value): Handle C++'s extensions to C | |
7763 | semantics. | |
7764 | * c-commnon.def (CASE_LABEL): Add room for the CASE_LABEL_DECL | |
d8ea8f28 | 7765 | field. |
56cb9733 MM |
7766 | * c-parse.in (stmt): Adjust handling of return statements and case |
7767 | laels. | |
7768 | * c-semantics.c (add_stmt): Return the new statement. | |
7769 | (genrtl_return_stmt): Take the RETURN_STMT as input, not the | |
7770 | returned expression. Directly generate RTL, rather than calling | |
7771 | c_expand_return. | |
7772 | (genrtl_switch_stmt): Don't call c_expand_start_case. | |
7773 | (build_case_label): Take the LABEL_DECL as input, too. | |
7774 | (genrtl_case_label): Just call add_case_node. | |
7775 | (expand_stmt): Adjust calls to genrtl_return_stmt and | |
7776 | genrtl_case_label. | |
7777 | * c-tree.h (c_expand_start_case): Declare. | |
7778 | * c-typeck.c (decl_constant_value): Give it external linkage. | |
7779 | (c_expand_return): Don't call expand_return or expand_null_return; | |
7780 | use genrtl_return_stmt instead. | |
7781 | * stmt.c (struct nesting): Remove num_ranges field. | |
7782 | (add_case_node): Give it external linkage. | |
7783 | (expand_start_case): Don't set num_ranges. | |
7784 | (expand_start_case_dummy): Don't clear it. | |
7785 | (pushcase): Rely on add_case_node to handle `default' labels. | |
7786 | (add_case_node): Handle `default' labels. | |
7787 | * tree.c (tree_int_cst_compare): New function. | |
7788 | * tree.h (tree_int_cst_compare): Declare. | |
7789 | (add_case_node): Likewise. | |
7790 | ||
aac02f4e RH |
7791 | 2000-09-10 Richard Henderson <rth@cygnus.com> |
7792 | ||
7793 | * c-parse.in: Revert last change. | |
7794 | (init_reswords): Do not enter disabled keywords into the ridpointers | |
7795 | table, modulo objc weirdness. | |
7796 | (_yylex): Return the canonical spelling for a keyword. | |
7797 | ||
75d8aea7 PB |
7798 | 2000-09-10 Philip Blundell <philb@gnu.org> |
7799 | ||
7800 | * config/arm/arm.h (CPP_ISA_SPEC): Don't define `arm' or `thumb'. | |
7801 | * config/arm/linux-elf.h (CPP_PREDEFINES): Don't define `__arm__'. | |
7802 | ||
d982e46e JW |
7803 | Sun Sep 10 14:30:28 EDT 2000 John Wehle (john@feith.com) |
7804 | ||
7805 | * alias.c (find_base_term): Handle ADDRESSOF. | |
7806 | (memrefs_conflict_p): An ADDRESSOF doesn't conflict. | |
7807 | ||
212d447c DC |
7808 | 2000-09-10 Denis Chertykov <denisc@overta.ru> |
7809 | ||
7810 | * genoutput.c (output_insn_data): Translate <NEWLINE> to \n\ while | |
7811 | outputting templates with many lines. | |
7812 | ||
a746dbf5 SC |
7813 | 2000-09-10 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
7814 | ||
7815 | * libgcc2.h: Use LONG_LONG_TYPE_SIZE instead of MIN_UNITS_PER_WORD | |
7816 | to decide whether 64-bit support must be generated. | |
7817 | ||
1d0f6d89 RH |
7818 | 2000-09-10 Richard Henderson <rth@cygnus.com> |
7819 | ||
7820 | * c-parse.in (asm patterns): Fix volatile check. | |
7821 | ||
e1aa5140 KG |
7822 | 2000-09-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
7823 | ||
7824 | * cppmacro.c (check_trad_stringification): New function. | |
7825 | (save_expansion): If -Wtraditional, warn about stringification of | |
7826 | macro arguments. | |
7827 | ||
afa1738b MH |
7828 | 2000-09-11 Michael Hayes <mhayes@cygnus.com> |
7829 | ||
7830 | * loop.h (struct loop_mem_info): Move from loop.c | |
7831 | (struct loop_info): Add fields store_mems, mems, mems_idx, | |
7832 | mems_allocated, unknown_address_altered, | |
7833 | unknown_constant_address_altered, num_mem_sets, and | |
7834 | first_loop_store_insn. | |
7835 | ||
7836 | * loop.c (loop_store_mems): Replace with field in loop_info struct. | |
7837 | (loop_mems, loop_mems_idx, loop_mems_allocated): Likewise. | |
7838 | (unknown_address_altered, unknown_constant_address_altered): Likewise. | |
7839 | (num_mem_sets): Likewise. | |
dd745546 | 7840 | (replace_loop_mems, replace_loop_regs): New. |
afa1738b MH |
7841 | (struct loop_replace_args): New. |
7842 | (load_mems): Use replace_loop_mems. | |
7843 | (try_copy_prop): Use replace_loop_regs. | |
7844 | (replace_loop_reg, replace_loop_mem): Use loop_replace_args structure. | |
7845 | ||
63883fc3 SC |
7846 | 2000-09-09 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
7847 | ||
7848 | * configure.in: Recognize m6811-elf and m6812-elf. | |
7849 | * configure: Regenerate. | |
7850 | ||
808788fe GK |
7851 | 2000-09-09 Geoff Keating <geoffk@cygnus.com> |
7852 | ||
7853 | * recog.c (validate_replace_rtx_1): Correct MODE parameter in call | |
7854 | to operand_subword. | |
7855 | ||
02055ad6 MH |
7856 | 2000-09-10 Michael Hayes <mhayes@cygnus.com> |
7857 | ||
7858 | * loop.c (struct movables): New. | |
7859 | (num_movables): Move into struct movables. | |
7860 | (the_movables): Change type to struct movables. | |
7861 | (ignore_some_movables): Change struct movable arg to struct movables. | |
dd745546 | 7862 | (force_movables, combine_movables, regs_match_p): Likewise. |
02055ad6 MH |
7863 | (rtx_equal_for_loop_p, move_movables): Likewise. |
7864 | (scan_loop): Change movables to be of type struct movables. | |
7865 | Replace last_movable with field in movables structure. | |
7866 | ||
ae54392b ZW |
7867 | 2000-09-08 Zack Weinberg <zack@wolery.cumb.org> |
7868 | ||
7869 | * c-pragma.c: Don't elide entire file if !HANDLE_GENERIC_PRAGMAS. | |
7870 | (init_pragma): Avoid warning if pfile happens to be unused. | |
7871 | * c-pragma.h: Never define HANDLE_GENERIC_PRAGMAS. Never | |
7872 | define init_pragma to nothing. Always prototype | |
7873 | init_pragma. Prototype dispatch_pragma if !USE_CPPLIB. | |
7874 | ||
7875 | * c-lex.c (process_directive): Always call dispatch_pragma. | |
7876 | Initialize entering_c_header to 0. | |
7877 | ||
385c9217 SC |
7878 | 2000-09-08 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
7879 | ||
7880 | * config/m68hc11/m68hc11.md: New file, machine description for | |
7881 | 68HC11 & 68HC12. | |
7882 | * config/m68hc11/m68hc11.h: New file, definitions for 68HC11 & 68HC12. | |
7883 | * config/m68hc11/m68hc11.c: New file, functions for 68HC11 & 68HC12. | |
7884 | * config/m68hc11/m68hc12.h: New file, definitions for 68HC12. | |
7885 | * config/m68hc11/m68hc11-protos.h: New file. | |
7886 | * config/m68hc11/m68hc11-crt0.S: New file, startup code. | |
7887 | * config/m68hc11/t-m68hc11-gas: New file, makefile fragment. | |
7888 | * config/m68hc11/xm-m68hc11.h: New file, target defs. | |
7889 | * config/m68hc11/larith.asm: New file, libgcc routines. | |
7890 | ||
dfaf3cdb SC |
7891 | 2000-09-08 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
7892 | ||
7893 | * Makefile.in (DPBIT_FUNCS): Add _usi_to_df. | |
7894 | (FPBIT_FUNCS): Add _usi_to_sf. | |
7895 | * config/fp-bit.c (usi_to_float): New function. | |
7896 | * config/fp-bit.h (L_usi_to_sf, L_usi_to_df): Define. | |
7897 | (usi_to_float): Add appropriate #define. | |
7898 | ||
915119a5 BS |
7899 | 2000-09-08 Bernd Schmidt <bernds@redhat.co.uk> |
7900 | ||
7901 | * i386-protos.h (sse_comparison_operator, mmx_reg_operand): Declare | |
7902 | new functions. | |
7903 | * i386.c (sse_comparison_operator, mmx_reg_operand): New functions. | |
7904 | * i386.md (attr "type"): Add sse and mmx types. | |
7905 | (attr "memory"): Handle them without a crash. | |
7906 | (movsi_1, movdi_2): Allow MMX regs. | |
7907 | (movdi splits): Don't split moves involving MMX regs. | |
7908 | (setcc_4): Remove '*' from pattern name so we get a gen_setcc4. | |
7909 | (movv4sf_internal, movv4si_internal, movv8qi_internal, | |
7910 | movv4hi_internal, movv2si_internal, movv8qi, movv4hi, movv2si, | |
7911 | movv4sf, movv4si, pushv4sf, pushv4si, pushv8qi, pushv4hi, pushv2si, | |
7912 | sse_movaps, sse_movups, sse_movmskps, mmx_pmovmskb, mmx_maskmovq, | |
7913 | sse_movntv4sf, sse_movntdi, sse_movhlps, sse_movlhps, sse_movhps, | |
7914 | sse_movlps, sse_loadss, sse_movss, sse_storess, sse_shufps, | |
7915 | addv4sf3, vmaddv4sf3, subv4sf3, vmsubv4sf3, mulv4sf3, vmmulv4sf3, | |
7916 | divv4sf3, vmdivv4sf3, rcpv4sf2, vmrcpv4sf2, rsqrtv4sf2, vmrsqrtv4sf2, | |
7917 | sqrtv4sf2, vmsqrtv4sf2, sse_andti3, sse_nandti3, sse_iorti3, | |
dd745546 AJ |
7918 | sse_xorti3, maskcmpv4sf3, maskncmpv4sf3, vmmaskcmpv4sf3, |
7919 | vmmaskncmpv4sf3, sse_comi, sse_ucomi, sse_unpckhps, sse_unpcklps, | |
915119a5 BS |
7920 | smaxv4sf3, vmsmaxv4sf3, sminv4sf3, vmsminv4sf3, cvtpi2ps, cvtps2pi, |
7921 | cvttps2pi, cvtsi2ss, cvtss2si, cvttss2si, addv8qi3, addv4hi3, | |
7922 | addv2si3, ssaddv8qi3, ssaddv4hi3, usaddv8qi3, usaddv4hi3, subv8qi3, | |
7923 | subv4hi3, subv2si3, sssubv8qi3, sssubv4hi3, ussubv8qi3, ussubv4hi3, | |
7924 | mulv4hi3, smulv4hi3_highpart, umulv4hi3_highpart, mmx_pmaddwd, | |
7925 | mmx_iordi3, mmx_xordi3, mmx_anddi3, mmx_nanddi3, mmx_uavgv8qi3, | |
7926 | mmx_uavgv4hi3, mmx_psadbw, mmx_pinsrw, mmx_pextrw, mmx_pshufw, | |
7927 | eqv8qi3, eqv4hi3, eqv2si3, gtv8qi3, gtv4hi3, gtv2si3, umaxv8qi3, | |
7928 | smaxv4hi3, uminv8qi3, sminv4hi3, ashrv4hi3, ashrv2si3, lshrv4hi3, | |
7929 | lshrv2si3, mmx_lshrdi3, ashlv4hi3, ashlv2si3, mmx_ashldi3, | |
7930 | mmx_packsswb, mmx_packssdw, mmx_packuswb, mmx_punpckhbw, | |
7931 | mmx_punpckhwd, mmx_punpckhdq, mmx_punpcklbw, mmx_punpcklwd, | |
7932 | mmx_punpckldq, emms, sfence, ldmxcsr, prefetch, stmxcsr, sse_clrti, | |
7933 | mmx_clrdi): New patterns. | |
7934 | ||
8e49e00a RE |
7935 | 2000-09-08 Richard Earnshaw <rearnsha@arm.com> |
7936 | ||
7937 | * arm.c: Don't include tm.h directly. | |
7938 | ||
bd5621a3 JH |
7939 | Fri Sep 8 14:34:56 MET DST 2000 Jan Hubicka <jh@suse.cz> |
7940 | ||
7941 | * recog.c (validate_replace_rtx_1): Fix confusion about equality | |
7942 | testing; simplify subregs of constants and nested subregs. | |
e65d02cf | 7943 | |
6b3783de AO |
7944 | 2000-09-08 Alexandre Oliva <aoliva@redhat.com> |
7945 | ||
7946 | * config/sh/sh.md (symPLT_label2reg): Use operand3 for PIC reg. | |
7947 | ||
82be40f7 BS |
7948 | 2000-09-08 Bernd Schmidt <bernds@redhat.co.uk> |
7949 | ||
7950 | * combine.c (combine_simplify_rtx): Try to simplify VEC_SELECT of a | |
7951 | VEC_CONCAT. | |
9af354b7 BS |
7952 | * rtl.texi (description of USE): Add note about possible pitfalls |
7953 | with this rtx. | |
ce701d1b BS |
7954 | From Richard Henderson: |
7955 | * reload1.c (choose_reload_regs): Compute need_mode properly. | |
82be40f7 | 7956 | |
4287b5f1 RH |
7957 | 2000-09-07 Richard Henderson <rth@cygnus.com> |
7958 | ||
7959 | * config/ia64/lib1funcs.asm (__divsi3): Use .s1 for frcpa. | |
7960 | (__modsi3, __umodsi3): Likewise. | |
7961 | (__udivsi3): Likewise. Normalize the TFmode values. | |
7962 | ||
c5d71f39 GK |
7963 | 2000-09-07 Geoff Keating <geoffk@cygnus.com> |
7964 | ||
7965 | * config/rs6000/sol-c0.c (_start): Declare `termfunc' parameter | |
7966 | with a prototype. | |
7967 | * config/rs6000/rs6000.h (RS6000_ARG_SIZE): Use cast to suppress | |
7968 | warning. | |
7969 | ||
712646d0 R |
7970 | Fri Sep 8 03:26:38 2000 J"orn Rennecke <amylaar@redhat.co.uk> |
7971 | ||
7972 | * sh.md (cmpeqsi_ior_t, cmpeqsi_and_t): Remove. | |
7973 | (cmpeqdi_t): Add output pattern. | |
7974 | (cmpeqdi_t+1): Don't split when not optimizing. | |
7975 | Restore proper splitting operation. | |
7976 | ||
30acbc3e RH |
7977 | 2000-09-07 Richard Henderson <rth@cygnus.com> |
7978 | ||
7979 | * c-lex.c (process_directive): If not HANDLE_GENERIC_PRAGMAS, | |
7980 | do not call dispatch_pragma. | |
7981 | ||
46146529 JW |
7982 | 2000-09-07 Jim Wilson <wilson@cygnus.com> |
7983 | ||
7984 | * reload.c (push_reload): Use CLASS_CANNOT_CHANGE_MODE_P in addition | |
7985 | to CLASS_CANNOT_CHANGE_MODE. | |
7986 | * config/ia64/ia64.h (CLASS_CANNOT_CHANGE_MODE_P): True only if the | |
7987 | mode classes are different. | |
7988 | ||
6db83155 ZW |
7989 | 2000-09-07 Zack Weinberg <zack@wolery.cumb.org> |
7990 | ||
7991 | * cpplib.h (struct cpp_options): Add user_label_prefix member, | |
7992 | left out of commit which removed cppulp.c. | |
7993 | ||
0d45144b RH |
7994 | 2000-09-07 Richard Henderson <rth@cygnus.com> |
7995 | ||
7996 | * bb-reorder.c (fixup_reorder_chain): Add jump in new block | |
7997 | after switch for CASE_DROPS_THROUGH. | |
7998 | ||
e8cb4873 RH |
7999 | 2000-09-07 Richard Henderson <rth@cygnus.com> |
8000 | ||
8001 | * loop.c (strength_reduce): Call check_ext_dependant_givs. | |
8002 | Properly extend the biv initial value for the giv. | |
8003 | (record_biv): Zero ext_dependant. | |
8004 | (record_giv): New argument ext_val. Update all callers. | |
8005 | (general_induction_var): Likewise. | |
8006 | (consec_sets_giv): Likewise. | |
8007 | (simplify_giv_expr): Likewise. Fill in ext_val if we find | |
8008 | a sign-extend, zero-extend, or truncate. | |
8009 | (combine_givs_p): Make sure modes are compatible. | |
8010 | (check_ext_dependant_givs): New. | |
8011 | (extend_value_for_giv): New. | |
8012 | * loop.h (struct induction): Add ext_dependant. | |
8013 | * unroll.c (iteration_info): Extend the biv initial value for the giv. | |
8014 | (find_splittable_givs): Likewise. | |
8015 | (final_giv_value): Likewise. | |
8016 | ||
8b97c5f8 ZW |
8017 | 2000-09-07 Zack Weinberg <zack@wolery.cumb.org> |
8018 | ||
8019 | * c-pragma.h: Define HANDLE_GENERIC_PRAGMAS if | |
8020 | REGISTER_TARGET_PRAGMAS is defined. Duplicate some | |
8021 | definitions from cpplib.h. | |
8022 | * cpplib.h: Don't typedef struct cpp_reader if c-pragma.h has | |
8023 | already done it. | |
8024 | * tm.texi: Document HANDLE_PRAGMA as no longer supported. Add | |
8025 | documentation for REGISTER_TARGET_PRAGMAS. | |
8026 | ||
8027 | * c-lex.c: Include cpplib.h before c-pragma.h. Define a | |
8028 | default-pragma callback to implement -Wunknown-pragmas if | |
8029 | USE_CPPLIB. | |
8030 | * c-parse.in: Move all includes to top of file. | |
8031 | * c-pragma.c: Include cpplib.h before c-pragma.h. Include | |
8032 | tm_p.h. | |
8033 | (dispatch_pragma): Put the namespace in the -Wunknown-pragmas | |
8034 | warning. | |
8035 | (init_pragma): If REGISTER_TARGET_PRAGMAS is defined, call it. | |
8036 | ||
8037 | * arm.h, arm-protos.h, arm.c, | |
8038 | c4x.h, c4x-protos.h, c4x.c, | |
8039 | h8300.h, h8300-protos.h, h8300.c, | |
8040 | i370.h, i370-protos.h, i370.c, | |
8041 | i960.h, i960-protos.h, i960.c, | |
d8ea8f28 | 8042 | sh.h, sh-protos.h, sh.c, |
8b97c5f8 ZW |
8043 | v850.h, v850-protos.h, v850.c: Convert HANDLE_PRAGMA-based |
8044 | pragmata scheme to use REGISTER_TARGET_PRAGMAS instead. | |
8045 | ||
8046 | * d30v.h: Don't mention HANDLE_PRAGMA in comment. Add | |
8047 | multiple include guard. | |
8048 | * i370.md (untyped_call): Use GEN_CALL. | |
8049 | (umodsi3): Remove unused variable. | |
8050 | * sh/elf.h: Don't undef HANDLE_SYSV_PRAGMA. | |
8051 | * v850.c (output_move_single, output_move_double): Constify | |
8052 | return value. | |
8053 | (print_operand): Constify a char *. | |
8054 | * v850.h (struct small_memory_info): Constify name member. | |
8055 | ||
1898584f KH |
8056 | 2000-09-07 Kazu Hirata <kazu@hxi.com> |
8057 | ||
8058 | * config/h8300.h: Fix comment typos. | |
8059 | * config/h8300/h8300.md: Likewise. | |
8060 | * config/h8300/lib1funcs.asm: Likewise. | |
8061 | ||
771c4df3 NB |
8062 | Thu 07-Sep-2000 21:29:00 BST Neil Booth <NeilB@earthling.net> |
8063 | ||
8064 | * Makefile.in: Remove references to cppulp.{c,o}. | |
8065 | * cppinit.c (initialize_builtins, cpp_start_read, | |
8066 | cpp_handle_option): Update to use cpp_options structure. | |
8067 | * cppulp.c: Remove. | |
8068 | ||
2496f0b5 JM |
8069 | 2000-09-07 Joseph S. Myers <jsm28@cam.ac.uk> |
8070 | ||
8071 | * c-common.c (time_char_table): Allow %#b and %#h. | |
8072 | ||
bf6302f0 HB |
8073 | 2000-09-07 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
8074 | ||
8075 | * reorg.c (find_end_label): If the basic block reorder pass moves the | |
8076 | return insn to some other place try to locate it again and put our | |
8077 | end_of_function_label there. | |
8078 | * reorg.c (relax_delay_slots): Check if find_end_label created a | |
8079 | new label that invalidates the current optimazation. | |
8080 | ||
4598ffe9 CM |
8081 | 2000-09-07 Catherine Moore <clm@redhat.com> |
8082 | ||
e8cb4873 RH |
8083 | * unroll.c (unroll_loop): Check for unconditional jumps |
8084 | to loop continuation. Delete if n_iterations is 1. | |
8085 | (ujump_to_loop_cont): New routine. | |
4598ffe9 | 8086 | |
ff427764 BS |
8087 | 2000-09-07 Bernd Schmidt <bernds@redhat.co.uk> |
8088 | ||
8089 | * rtl.c (class_narrowest_mode): Add entries for MODE_VECTOR_INT and | |
8090 | MODE_VECTOR_FLOAT. | |
8441bc30 BS |
8091 | * reload.c (regno_clobbered_p): Accept new arg, MODE, and use it |
8092 | to handle multiword modes correctly. All callers and the declaration | |
8093 | changed. | |
d8ea8f28 | 8094 | |
54f7877c MM |
8095 | 2000-09-06 Mark Mitchell <mark@codesourcery.com> |
8096 | ||
8097 | * c-common.h (prep_stmt): Declare. | |
8098 | (lang_expand_stmt): Likewise. | |
8099 | * c-decl.c (lang_expand_stmt): Remove. | |
8100 | * c-semantics.c (lang_expand_stmt): Define. | |
8101 | (prep_stmt): New function. | |
8102 | (expand_stmt): Handle common statement types here. | |
d8ea8f28 | 8103 | |
93ca1662 NY |
8104 | 2000-09-07 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com> |
8105 | ||
8106 | * configure.in (sh-*-linux*): Added. | |
8107 | * configure: Rebuilt. | |
8108 | * config/sh/t-linux: New file. | |
8109 | * config/sh/sh.h (USERMODE_BIT): Define. | |
8110 | (TARGET_USERMODE): Likewise. | |
8111 | (TARGET_SWITCHES): New switches for the bits above. | |
8112 | (INITIALIZE_TRAMPOLINE): Call __ic_invalidate in USERMODE. | |
8113 | * config/sh/linux.h: New file. | |
8114 | * config/sh/lib1funcs.asm (GLOBAL): Don't prefix symbols with | |
8115 | underscore on linux. | |
8116 | (L_sdivsi3, L_udivsi3): Define for linux. | |
8117 | (L_ic_invalidate): Define. | |
8118 | * invoke.texi (SH Options): Document -musermode. | |
8119 | ||
71105114 AO |
8120 | 2000-09-07 Alexandre Oliva <aoliva@redhat.com> |
8121 | ||
4979c2a9 AO |
8122 | * config/sh/sh.h (OVERRIDE_OPTIONS): Don't disable function |
8123 | CSE unless generating PIC. | |
8124 | ||
71105114 AO |
8125 | * config/sh/sh.md (symPLT_label2reg): Force the initialization of |
8126 | the PIC register. | |
8127 | ||
d5cfb451 L |
8128 | 2000-09-06 H.J. Lu (hjl@gnu.org) |
8129 | ||
8130 | * Makefile.in (clean_s1): Depend on stage_b. | |
8131 | (clean_s2): Depend on stage_d. Don't remove $(VOL_FILES) in | |
8132 | stage2. They are used for "make compare". | |
8133 | ||
ae499cce MM |
8134 | 2000-09-06 Mark Mitchell <mark@codesourcery.com> |
8135 | ||
8136 | Move statement-tree facilities from C++ to C front-end. | |
8137 | * c-common.h (c_tree_index): Add CTI_VOID_ZERO. | |
8138 | (void_zero_node): New macro. | |
8139 | (struct stmt_tree_s): New type. | |
8140 | (stmt_tree): New typedef. | |
8141 | (struct language_function): New type. | |
8142 | (last_tree): New macro. | |
8143 | (last_expr_type): Likewise. | |
8144 | (walk_tree_fn): New typedef. | |
8145 | (current_stmt_tree): New function. | |
8146 | (begin_stmt_tree): Likewise. | |
8147 | (add_stmt): Likewise. | |
8148 | (finish_stmt_tree): Likewise. | |
8149 | (statement_code_p): Likewise. | |
8150 | (lang_statement_code_p): New variable. | |
8151 | (walk_stmt_tree): New function. | |
8152 | (STMT_IS_FULL_EXPR_P): New macro. | |
8153 | * c-common.c (lang_statement_code_p): New variable. | |
8154 | (c_common_nodes_and_builtins): Initialize void_zero_node. | |
8155 | (statement_code_p): New function. | |
8156 | (walk_stmt_tree): Likewise. | |
8157 | * c-decl.c (language_function): Rename to ... | |
8158 | (c_language_function): ... this. Include language_function. | |
8159 | (push_c_function_context): Adjust accordingly. | |
8160 | (pop_c_function_context): Likewise. | |
8161 | (mark_c_function_context): Likewise. | |
8162 | (current_stmt_tree): Define. | |
8163 | * c-semantics.c (begin_stmt_tree): New function. | |
8164 | (add_stmt): Likewise. | |
8165 | (prune_unused_decls): Likewise. | |
8166 | (finish_stmt_tree): Likewise. | |
8167 | ||
4f4b88d0 HB |
8168 | 2000-09-06 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
8169 | ||
e8cb4873 | 8170 | * flow.c (insn_dead_p): Detect dead memory stores with auto increments. |
4f4b88d0 | 8171 | |
f725a3ec KH |
8172 | 2000-09-06 Kazu Hirata <kazu@hxi.com> |
8173 | ||
8174 | * calls.c: Fix formatting. | |
8175 | ||
0806f95f GS |
8176 | 2000-09-06 Graham Stott <grahams@cygnus.co.uk> |
8177 | ||
e8cb4873 | 8178 | * config/i386/i386.h (ADDRESS_COST): Fix typo. |
0806f95f | 8179 | |
0e5921e8 ZW |
8180 | 2000-09-06 Zack Weinberg <zack@wolery.cumb.org> |
8181 | ||
8182 | Integrated preprocessor. | |
8183 | ||
8184 | * Makefile.in: Remove all references to c-parse.gperf, | |
8185 | c-gperf.h, and c-parse.h. Remove -d from yacc command line | |
8186 | generating c-parse.c. Update dependencies. | |
8187 | * c-parse.gperf, c-gperf.h: Delete. | |
8188 | ||
8189 | * c-common.c: Don't define parse_options, cpp_token, yy_cur, | |
8190 | yy_lim, or yy_get_token. Don't define get_directive_line if | |
8191 | USE_CPPLIB. | |
8192 | * c-common.h: Add multiple include guard. Define RID values | |
8193 | for every keyword in C, C++, and Objective C. Put all the | |
8194 | modifiers first. | |
8195 | (struct c_fileinfo, get_fileinfo, dump_time_statistics): New. | |
8196 | * c-decl.c (c_decode_option): Handle -lang-objc here. | |
8197 | (print_lang_identifier): Handle C_IS_RESERVED_WORD case. | |
8198 | (grokdeclarator): Adjust for new RID scheme. | |
8199 | (extract_interface_info): New stub. | |
8200 | * c-lang.c: Don't declare yy_cur or parse_options. | |
8201 | (lang_init_options): Call cpp_init. Don't call | |
8202 | cpp_options_init. | |
8203 | (lang_init): Don't call check_newline if USE_CPPLIB. | |
8204 | ||
8205 | * c-lex.c: Don't include c-parse.h. Do include timevar.h. | |
8206 | Elide lots of unnecessary code if USE_CPPLIB. Delete code | |
8207 | rendered unnecessary by new architecture. Move routines not | |
8208 | shared with C++ to c-parse.in. Maintain a local idea of the | |
8209 | line number. Handle C++ as well as C. | |
8210 | [USE_CPPLIB]: Declare and register callbacks for #ident and | |
8211 | for entering/leaving files. | |
8212 | (init_c_lex, c_lex): Are now the entry points to this file. | |
8213 | (check_newline): Break out directive handling to | |
8214 | process_directive. | |
8215 | (read_ucs, is_extended_char, utf8_extend_token): Moved here | |
8216 | from C++ front end. | |
8217 | (readescape, parse_float): Overhaul. | |
8218 | (lex_number, lex_string, lex_charconst): Break out of c_lex | |
8219 | (n'ee yylex). | |
8220 | (get_fileinfo, update_header_times, dump_one_header, | |
8221 | dump_time_statistics): New and/or moved here from C++. | |
8222 | Support per-file data needed by C++ and per-header timing | |
8223 | statistics (C++ only, at the moment). | |
8224 | * c-lex.h: Update prototypes. Add multiple include guard. | |
8225 | * c-tree.h (struct lang_identifier): Add rid_code field. | |
8226 | (C_IS_RESERVED_WORD, C_RID_CODE): New. | |
8227 | ||
8228 | * c-parse.in: Include c-pragma.h. Remove unnecesary calls to | |
8229 | reinit_parse_for_function and/or position_after_white_space. | |
8230 | (save_filename, save_lineno): Look ahead before saving. | |
8231 | (label -> identifier ':'): Save file and line before shifting ':'. | |
8232 | (reservedwords): No need to call get_identifier. | |
8233 | (init_parse, finish_parse, yyerror, yylex, yyprint, | |
8234 | make_pointer_declarator): Are now here for C/ObjC. | |
8235 | (rid_to_yy): Conversion table from RID constants to Yacc codes. | |
8236 | ||
8237 | * c-pragma.c: Rewrite parsing logic to fit with cpplib's | |
8238 | #pragma registry. Provide dummy implementation of that | |
8239 | interface if !USE_CPPLIB. | |
8240 | * c-pragma.h: Update to match. | |
8241 | ||
8242 | * flags.h: Add multiple include guard. | |
8243 | (flag_detailed_statistics): Moved here from C++. | |
8244 | * toplev.c: Define flag_detailed_statistics. | |
8245 | ||
8246 | * gcc.c (C specs): Use %(trad_capable_cpp) for -E|-M|-MM case | |
8247 | #if USE_CPPLIB. | |
8248 | * timevar.def (TV_CPP, TV_LEX): New. | |
8249 | * timevar.h: Add multiple include guard. | |
8250 | ||
8251 | * objc/lang-specs.h: Use %(trad_capable_cpp) for -E|-M|-MM case | |
8252 | #if USE_CPPLIB. | |
8253 | * objc/objc-act.c: Don't mention yy_cur or parse_options. | |
8254 | Initialize cpplib properly. Force lineno to 0 after first | |
8255 | call to check_newline. Don't handle -lang-objc here. | |
8256 | Move forget_protocol_qualifiers and remember_protocol_qualifiers here. | |
8257 | ||
5638268e DE |
8258 | 2000-09-06 David Edelsohn <edelsohn@gnu.org> |
8259 | ||
8260 | * rs6000.md: Correct function unit definitions for cr_logical and | |
8261 | mtjmpr. | |
8262 | (sCOND): Additionally fail for sgt, slt, sge, sle if !TARGET_POWER | |
8263 | and use portable method for >=0 and floating point >=. Remove | |
8264 | associated matchers. | |
8265 | ||
44835fdd MM |
8266 | 2000-09-06 Mark Mitchell <mark@codesourcery.com> |
8267 | ||
8268 | * extend.texi: Mark named return value extension as deprecated. | |
8269 | ||
bab6226b GK |
8270 | 2000-09-06 Geoff Keating <geoffk@cygnus.com> |
8271 | ||
8272 | * config/rs6000/rs6000.c (rs6000_reverse_condition): Return | |
8273 | the result. | |
8274 | ||
e6513023 GDR |
8275 | 2000-09-06 Gabriel Dos Reis <gdr@codesourcery.com> |
8276 | ||
8277 | * toplev.c (display_help): Fix thinko in documentation. | |
8278 | ||
8279 | * diagnostic.h (output_buffer::indent_skip): New fields. | |
8280 | (output_indentation): New macro. | |
8281 | ||
8282 | * diagnostic.c (output_indent): New function. | |
8283 | (output_set_prefix, clear_diagnostic_info): Use. | |
8284 | (output_emit_prefix): Predict future indentation. | |
8285 | ||
112c7aea DD |
8286 | 2000-09-06 DJ Delorie <dj@redhat.com> |
8287 | ||
8288 | * Makefile.in (stage_*): add more dependencies to ensure parallel | |
8289 | builds build correctly | |
8290 | ||
1bac0fb4 MH |
8291 | 2000-09-06 Manfred Hollstein <manfredh@redhat.com> |
8292 | ||
8293 | * Makefile.in (bootstrap-lean): Depend on bootstrap-lean_g, | |
8294 | not bootstrap-lean_f. | |
8295 | ||
f472a17c AS |
8296 | 2000-09-06 Andreas Schwab <schwab@suse.de> |
8297 | ||
8298 | * mklibgcc.in: Emit rule for libgcc-stage-start. | |
8299 | * Makefile.in (stage1-start, stage2-start, stage3-start, | |
8300 | stage4-start): Don't handle libgcc here, use libgcc.mk instead. | |
8301 | ||
630c79be | 8302 | 2000-09-06 Bernd Schmidt <bernds@redhat.co.uk> |
611bbf2a BS |
8303 | |
8304 | * local-alloc.c (local_alloc): Ignore CLASS_LIKELY_SPILLED. | |
8305 | (update_equiv_regs): Likewise, except for the mn10200 kludge. | |
8306 | (combine_regs): Likewise. | |
8307 | ||
630c79be BS |
8308 | * Makefile.in (cse.o): Depend on $(BASIC_BLOCK_H). |
8309 | * cse.c: Include "basic-block.h". | |
8310 | (struct table_elt): New field REGCOST. | |
8311 | (CHEAP_REG): Delete macro. | |
8312 | (COST): Return 0 for REGs. | |
8313 | (approx_reg_cost_1, approx_reg_cost, preferrable): New functions. | |
8314 | (notreg_cost): Return 0 for appropriate SUBREGs. | |
8315 | (COSTS_N_INSNS): Return N * 2. | |
8316 | (rtx_cost): Return 0 for REGs, and use cost of nested rtx for cheap | |
8317 | SUBREGs. | |
8318 | (CHEAPER): Use new function preferrable. | |
8319 | (insert): Initialize REGCOST member. | |
8320 | (find_best_addr): Use approx_reg_cost for estimation of register | |
8321 | usage. | |
8322 | (cse_insn): Likewise. | |
8323 | * loop.c (iv_add_mult_cost): New function. | |
8324 | (add_cost, shift_cost, mult_cost): Delete variables. | |
8325 | (init_loop): Don't initialize add_cost; reduce copy_cost by half. | |
8326 | (strength_reduce): Use iv_add_mult_cost instead of fixed add_cost. | |
8327 | Make code that detects autoinc opportunities slightly less optimistic. | |
8328 | (simplify_giv_expr): If expression contains other reg that is also a | |
8329 | giv, only increment benefit if this is the only use of that reg. | |
8330 | (consec_sets_giv): Take that change into account. | |
8331 | (combine_givs): Slightly more verbose output. | |
8332 | ||
8333 | * i386.h (RTX_COSTS): For MULT, return true cost of multiplication, | |
8334 | not the cost of an equivalent shift. | |
8335 | * sh-protos.h (addsubcosts): Declare. | |
8336 | * sh.c (addsubcosts): New function. | |
8337 | * sh.h (CONST_COSTS): If CONST_OK_FOR_I, then return 0. | |
8338 | (RTX_COSTS): Tweak. Use addsubcosts. | |
8339 | (ADDRESS_COST): Return higher cost for reg+reg addressing. | |
8340 | ||
39a10a29 GK |
8341 | 2000-09-06 Geoff Keating <geoffk@cygnus.com> |
8342 | ||
8343 | * config/rs6000/rs6000.c (validate_condition_mode): New function. | |
8344 | (branch_comparison_operator): Call validate_condition_mode to | |
8345 | abort rather than returning 0. | |
8346 | (branch_positive_comparison_operator): New function. | |
8347 | (scc_comparison_operator): Call validate_condition_mode to abort | |
8348 | rather than returning 0. | |
8349 | (ccr_bit): Call validate_condition_mode. Update for | |
8350 | new branch scheme. | |
8351 | (print_operand): Delete %C modifier. Update %E case | |
8352 | to use EQ bit not SO bit. | |
8353 | (rs6000_reverse_condition): New function. | |
8354 | (rs6000_generate_compare): New function. | |
8355 | (rs6000_emit_sCOND): New function. | |
8356 | (rs6000_emit_cbranch): New function. | |
8357 | (output_cbranch): The length of a long branch insn is | |
8358 | now only 8 bytes. Add validate_condition_mode. Use | |
8359 | rs6000_reverse_condition. Remove cror generation. | |
bab6226b | 8360 | |
39a10a29 GK |
8361 | * config/rs6000/rs6000.h: Update comments. |
8362 | (PREDICATE_CODES): Add new predicate. Update codes used | |
8363 | by branch_comparison_operator and scc_comparison_operator. | |
8364 | * config/rs6000/rs6000-protos.h: Add prototypes for | |
8365 | new external functions. | |
8366 | * config/rs6000/rs6000.md: Add new scheduling parameters | |
8367 | for cr_logical instructions. Change length of branch | |
8368 | instructions. | |
8369 | (bCOND patterns): Call rs6000_emit_cbranch. | |
8370 | (sCOND patterns): Call rs6000_emit_sCOND. | |
8371 | (branch patterns): Change lengths to 4. | |
8372 | (cr logical patterns): New. | |
8373 | ||
2a4bbffa RH |
8374 | 2000-09-06 Richard Henderson <rth@cygnus.com> |
8375 | ||
8376 | * config/i386/i386.md (call_pop): Fix test for setting | |
8377 | current_function_uses_pic_offset_table. | |
8378 | (call, call_value_pop, call_value): Likewise. | |
8379 | ||
eab828ba ZW |
8380 | 2000-09-06 Zack Weinberg <zack@wolery.cumb.org> |
8381 | ||
8382 | * timevar.c (timevar_add): Delete. | |
8383 | (timevar_get): Also count time since the selected timer was | |
8384 | last updated. Do not examine the timevar stack if the | |
8385 | selected timer is standalone. | |
8386 | ||
f1d6a533 DA |
8387 | 2000-09-05 J. David Anglin <dave@hiauly1.hia.nrc.ca> |
8388 | ||
8389 | * gthr-dce.h (__gthread_objc_mutex_deallocate): Free mutex->backend. | |
8390 | ||
53c5b5d7 JM |
8391 | 2000-09-05 Jason Merrill <jason@redhat.com> |
8392 | ||
8393 | * c-decl.c (finish_incomplete_decl): Don't call complete_array_type | |
8394 | for 'extern' arrays. | |
8395 | ||
3392dafc RH |
8396 | 2000-09-05 Richard Henderson <rth@cygnus.com> |
8397 | ||
8398 | * config/ia64/lib1func.asm (__divtf3): Rebundle for Itanium. | |
8399 | Eliminate final copy from non-trapping case. | |
8400 | (__divdf3, __divsf3): Likewise. | |
8401 | ||
2a7ffc85 RH |
8402 | 2000-09-05 Richard Henderson <rth@cygnus.com> |
8403 | ||
8404 | * config/ia64/ia64.md (mulhi3): Fix typo last change. | |
8405 | * config/ia64/lib1func.asm (__divdi3, __udivdi3, __umodsi3): Likewise. | |
8406 | ||
204093e6 DT |
8407 | 2000-09-03 Donn Terry <donn@interix.com>, Laurynas Biveinis <lauras@softhome.net> |
8408 | ||
8409 | * Makefile.in: Restructure bootstrap stages to allow clean | |
8410 | restart after failure. | |
8411 | ||
514f96e6 RH |
8412 | 2000-09-05 Richard Henderson <rth@cygnus.com> |
8413 | ||
8414 | * config/ia64.md (movsi and movdi patterns): Allow moves from | |
8415 | 8-bit constants to AR registers. | |
8416 | ||
cf1f6ae3 RH |
8417 | 2000-09-05 Richard Henderson <rth@cygnus.com> |
8418 | ||
8419 | * config/ia64/ia64.md (mulhi3): New. | |
8420 | ||
d8d7a286 RH |
8421 | 2000-09-05 Richard Henderson <rth@cygnus.com> |
8422 | ||
8423 | * config/ia64/ia64.h (INIT_TARGET_OPTABS): Remove. | |
8424 | * config/ia64/lib1funcs.asm (__divdi3): Update from Intel IA-64 | |
8425 | Optimization Guide, minimum latency alternative. | |
8426 | (__moddi3, __udivdi3, __umoddi3): Likewise. | |
8427 | (__divsi3, __modsi3, __udivsi3, __umodsi3): Likewise. | |
8428 | ||
a6efbece BK |
8429 | 2000-09-05 Bruce Korb <bkorb@gnu.org> |
8430 | ||
0e5921e8 ZW |
8431 | * fixinc/fixincl.c (load_file): always read header files |
8432 | with sizes that are a multiple of the page size. | |
dc46505a | 8433 | & use libiberty's getpagesize for determining that. |
a6efbece | 8434 | |
c0712acb AO |
8435 | 2000-09-05 Alexandre Oliva <aoliva@redhat.com> |
8436 | ||
8437 | * gcse.c (hash_string_1): Add prototype. | |
8438 | * cse.c (canon_hash_string): Likewise. | |
8439 | ||
af7f0fde CN |
8440 | 2000-09-04 Craig Newell <CraigN@ieee.org> |
8441 | ||
8442 | * gcc.c: Undefine "__WCHAR_TYPE__" before redefining it. | |
8443 | ||
4993ddc1 AS |
8444 | 2000-09-04 Andreas Schwab <schwab@suse.de> |
8445 | ||
8446 | * Makefile.in (STAGESTUFF): Remove libgcc. | |
8447 | (stage1-start, stage2-start, stage3-start): Copy the contents of | |
8448 | the libgcc directory explicitly. | |
8449 | (mostlyclean): Clean libgcc. | |
8450 | ||
5e640c56 AH |
8451 | 2000-09-04 Andrew Haley <aph@redhat.com> |
8452 | ||
8453 | * dwarf2out.c: (stack_adjust_offset): New prototype. | |
8454 | ||
25ffb1f6 JH |
8455 | Wed Jan 1 00:23:59 MET 1997 Jan Hubicka <jh@suse.cz> |
8456 | ||
8457 | * combine.c (make_extraction): Fix rtx_cost comparison to | |
8458 | match the comment. | |
8459 | ||
8460 | Wed Jan 1 00:17:32 MET 1997 Jan Hubicka <jh@suse.cz> | |
8461 | ||
0e5921e8 | 8462 | * i386.md (pushsi2, pushhi2, pophi2, swapsf, swapdf, |
25ffb1f6 JH |
8463 | umulsi3_highpart, smulsi3_highpart, testqi_ccno_1, xorqi_ext_1): |
8464 | Add '*' to insn pattern name. | |
8465 | ||
29844fa7 JJ |
8466 | 2000-09-04 Jakub Jelinek <jakub@redhat.com> |
8467 | ||
8468 | * cpplex.c (ON_REST_ARG): Check VAR_ARGS flag of current context, | |
8469 | use posn - 1 to index into tokens array. | |
8470 | (maybe_paste_with_next): Adjust caller. | |
8471 | ||
0d86f538 GK |
8472 | 2000-09-03 Geoff Keating <geoffk@cygnus.com> |
8473 | ||
bff46771 GK |
8474 | * invoke.texi: Document the -mvxworks option for rs6000 ELF. |
8475 | ||
0d86f538 GK |
8476 | * config/rs6000/rs6000.h: Update various comments about XER_REGNO. |
8477 | (REGNO_REG_CLASS): Use symbolic register | |
8478 | names. | |
8479 | ||
4e67550b RE |
8480 | 2000-09-03 Richard Earnshaw <rearnsha@arm.com> |
8481 | ||
0e5921e8 | 8482 | * arm.c (final_prescan_insn): If the form of a jump insn isn't |
4e67550b RE |
8483 | recognized, don't try to conditionally execute it. |
8484 | ||
150f4100 DC |
8485 | Sun Sep 3 13:10:56 2000 Denis Chertykov <denisc@overta.ru> |
8486 | ||
8487 | * config/avr/avr.md ("*tablejump_lib"): New pattern. | |
8488 | (call_value_insn): Right length claculation. | |
8489 | (call_insn): Likewise. | |
8490 | ||
5fecfd8d MM |
8491 | 2000-09-02 Marek Michalkiewicz <marekm@linux.org.pl> |
8492 | ||
8493 | * config/avr/avr-protos.h, config/avr/avr.c (unique_section, | |
8494 | gas_output_limited_string, gas_output_ascii, output_movqi, | |
8495 | output_movhi, out_movqi_r_mr, out_movqi_mr_r, out_movhi_r_mr, | |
8496 | out_movhi_mr_r, out_movsi_r_mr, out_movsi_mr_r, output_movsisf, | |
8497 | out_tstsi, out_tsthi, ret_cond_branch, ashlqi3_out, ashlhi3_out, | |
8498 | ashlsi3_out, ashrqi3_out, ashrhi3_out, ashrsi3_out, lshrqi3_out, | |
8499 | lshrhi3_out, lshrsi3_out, output_reload_inhi, output_reload_insisf, | |
8500 | out_shift_with_cnt, ptrreg_to_str, cond_string, encode_section_info): | |
8501 | Add "const" as needed to remove warnings. | |
8502 | ||
8503 | * config/avr/avr.c (avr_override_options, avr_init_once, | |
8504 | function_prologue, function_epilogue, frame_pointer_required_p, | |
8505 | class_likely_spilled_p, order_regs_for_local_alloc, | |
8506 | avr_address_cost, avr_ret_register): Use K&R style arguments. | |
8507 | (initial_elimination_offset, gas_output_limited_string): | |
8508 | Remove ATTRIBUTE_UNUSED from the used arguments. | |
8509 | (output_mov*, out_mov*_r_mr, out_mov*_mr_r, output_reload_insisf): | |
8510 | Use local variables src, dest, base to access operands[]. | |
8511 | Rename reg_dest to reg_src if that's what it is. | |
8512 | (output_movhi, output_movsisf): Optimize loading 8-bit immediate | |
8513 | constants to LD_REGS if reg_was_0. | |
8514 | (output_reload_insisf): Change arg 3 to insn length and set it. | |
8515 | (out_movhi_r_mr, out_movhi_mr_r): Use in/out for more efficient | |
8516 | access to 16-bit I/O register pairs. | |
8517 | (avr_address_cost): Lower cost for the above case. | |
8518 | (out_tsthi): Use "or" (faster) instead of "sbiw" if the operand | |
8519 | may be clobbered, also for LD_REGS. | |
8520 | (adjust_insn_length): Correct insn length for iorhi3 and iorsi3 | |
8521 | with a CONST_INT. | |
8522 | ||
8523 | * config/avr/avr.h (PTRDIFF_TYPE): Make signed. | |
8524 | ||
8525 | * config/avr/avr.md: Change all uses of the TEST_HARD_REG_CLASS | |
8526 | macro to test_hard_reg_class function. | |
8527 | (*movsi, *movsf): Change "cc" attribute from "clobber" to "none" | |
8528 | for loading immediate constants to LD_REGS. | |
8529 | (andsi3, cmphi, cmpsi): Add return statements to avoid warnings. | |
8530 | ||
8531 | ||
bad3869a MM |
8532 | Sat Sep 2 13:58:23 2000 Marek Michalkiewicz <marekm@linux.org.pl> |
8533 | ||
8534 | * config/avr/avr.md ("*negsi2"): substitute %@ to __zero_reg__ | |
8535 | * config/avr/libgcc.S: Lost part of the previous patch. | |
8536 | ||
802a8181 DA |
8537 | 2000-08-31 J. David Anglin <dave@hiauly1.hia.nrc.ca> |
8538 | ||
8539 | * gthr-dce.h (__gthread_objc_mutex_allocate): Create a pthread_mutex_t | |
8540 | object before calling pthread_mutex_init. | |
8541 | ||
1a66cd67 AO |
8542 | 2000-09-02 Alexandre Oliva <aoliva@redhat.com> |
8543 | ||
8544 | * config/sh/t-elf, config/sh/crt1.asm, config/sh/crti.asm, | |
8545 | config/sh/crtn.asm: New files. | |
8546 | * config/sh/t-sh (EXTRA_MULTILIB_PARTS): Set. | |
8547 | (crt1.o, crti.o, crtn.o): New targets. | |
8548 | * configure.in [sh-*-elf*, sh-*-rtemself*] (tmake_file): Added | |
8549 | sh/t-elf. | |
8550 | * configure: Rebuilt. | |
8551 | * config/sh/sh.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP, | |
8552 | STARTFILE_SPEC, ENDFILE_SPEC, CRT_CALL_STATIC_FUNCTION): Define. | |
8553 | * config/sh/elf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP): | |
8554 | Undefine for config/elfos.h to redefine. | |
8555 | (STARTFILE_SPEC, ENDFILE_SPEC): Redefine after config/elfos.h. | |
8556 | ||
8557 | 2000-09-02 Alexandre Oliva <aoliva@redhat.com>, Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp> | |
8558 | ||
8559 | * config/sh/sh-protos.h (nonpic_symbol_mentioned_p, | |
8560 | legitimize_pic_address, output_pic_addr_const): Declare. | |
8561 | * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Fix PIC register. | |
8562 | (PREFERGOT_BIT, TARGET_PREFERGOT): Likewise. | |
8563 | (TARGET_SWITCHES): New switch -mprefergot. | |
8564 | (OVERRIDE_OPTIONS): Set flag_no_function_cse unless -mprefergot. | |
8565 | (PIC_OFFSET_TABLE_REGNUM): Define. | |
8566 | (GOT_SYMBOL_TABLE): Likewise. | |
8567 | (LEGITIMIZE_ADDRESS): Use legitimize_pic_address. | |
8568 | (ENCODE_SECTION_INFO): Define. | |
8569 | (FINALIZE_PIC): New macros. | |
8570 | (LEGITIMATE_PIC_OPERAND_P, SYMBOLIC_CONST_P): New macro. | |
8571 | (ASM_OUTPUT_INT, ASM_OUTPUT_SHORT): Use output_pic_addr_const. | |
8572 | * config/sh/sh.c (print_operand_address): Use output_pic_addr_const. | |
8573 | (prepare_move_operands): Call emit_pic_move or | |
8574 | emit_pic_const_move if appropriate. | |
8575 | (output_far_jump): For PIC, use braf and output long offset. | |
0e5921e8 | 8576 | (machine_dependent_reorg): |
1a66cd67 AO |
8577 | (sh_expand_prologue): Save and initialize the PIC register. |
8578 | (sh_expand_epilogue): Restore it. | |
8579 | (initial_elimination_offset): Account for it. | |
8580 | (nonpic_symbol_mentioned_p): New function. | |
8581 | (legitimize_pic_address): Likewise. | |
8582 | (output_pic_addr_const): Likewise. | |
8583 | * config/sh/sh.md (calli_pcrel, call_valuei_pcrel): New insns. | |
8584 | (call, call_value): Use them. | |
8585 | (GOTaddr2picreg, sym_label2reg, symGOT2reg, symGOTOFF2reg, | |
8586 | symPLT_label2reg): New expands. | |
8587 | * invoke.texi (SH Options): Document -mprefergot. | |
8588 | ||
6462bb43 AO |
8589 | 2000-09-01 Alexandre Oliva <aoliva@redhat.com> |
8590 | ||
8591 | * rtl.h (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): New macro. | |
8592 | * gcse.c (hash_string_1): New function. | |
8593 | (hash_expr_1) <ASM_OPERANDS>: Disregard filename and line number. | |
8594 | (expr_equiv_p) <ASM_OPERANDS>: Likewise. | |
8595 | * cse.c (rtx_cost): Don't increase the cost of ASM_OPERANDS. | |
8596 | (canon_hash_string): New function. | |
8597 | (canon_hash) <ASM_OPERANDS>: Disregard filename and line number. | |
8598 | (exp_equiv_p) <ASM_OPERANDS>: Likewise. | |
8599 | (fold_rtx): Use ASM_OPERANDS accessor macros. | |
8600 | * emit-rtl.c (copy_insn_1): Likewise. | |
8601 | * integrate.c (copy_rtx_and_substitute): Likewise. | |
8602 | * stmt.c (expand_asm_operands): Likewise. Give an | |
8603 | ASM_OPERANDS rtx the mode of the output reg being set from it. | |
8604 | ||
1b4f90cd FF |
8605 | 2000-09-01 Fred Fish <fnf@be.com> |
8606 | ||
8607 | * fix-header.c (write_rbrac): Add putc and getc to list of | |
8608 | functions to protect against prior definition as a macro. | |
0e5921e8 | 8609 | |
3c786c69 JM |
8610 | 2000-09-01 Joseph S. Myers <jsm28@cam.ac.uk> |
8611 | ||
8612 | * c-common.h (enum c_tree_index): Add CTI_C_SIZE_TYPE. | |
8613 | (c_size_type_node): Define. | |
8614 | * c-decl.c (init_decl_processing): Initialize c_size_type_node. | |
8615 | * c-common.c (enum format_lengths, enum format_std_version, | |
8616 | format_length_info, format_type_detail, BADLEN, NOLENGTHS, | |
8617 | format_kind_info, printf_length_specs, scanf_length_specs, T89_I, | |
8618 | T99_I, T89_L, T99_LL, TEX_LL, T89_S, T89_UI, T99_UI, T89_UL, | |
8619 | T99_ULL, TEX_ULL, T89_US, T89_F, T99_F, T89_D, T99_D, T89_LD, | |
8620 | T99_LD, T89_C, T99_SC, T99_UC, T89_V, T94_W, TEX_W, T94_WI, | |
8621 | TEX_WI, T99_ST, T99_SST, T99_PD, T99_UPD, T99_IM, T99_UIM, | |
8622 | format_types): Define. | |
8623 | (format_char_info, print_char_table, scan_char_table, | |
8624 | time_char_table): Rearrange for new organization of information | |
8625 | about format length modifiers and standard versions. | |
8626 | (T_ST): Redefine to use c_size_type_node. | |
8627 | (check_format_info): Obtain information about length modifiers and | |
8628 | standard versions from tables. Adjust warning message wordings. | |
8629 | Use the name from the user's program for `ll' and `hh' length | |
8630 | modifiers in warning messages. Use more informative names for | |
8631 | wanted types where available (for wchar_t, wint_t, size_t, signed | |
8632 | size_t, ptrdiff_t, unsigned ptrdiff_t, intmax_t and uintmax_t). | |
8633 | ||
8a09bb27 JW |
8634 | 2000-09-01 Jim Wilson <wilson@cygnus.com> |
8635 | ||
ca3920ad JW |
8636 | * calls.c (emit_call_1): Add REG_NORETURN note to call if ECF_NORETURN. |
8637 | * combine.c (distribute_notes): Handle REG_NORETURN. | |
8638 | * rtl.c (reg_note_name): Add REG_NORETURN. | |
8639 | * rtl.h (enum reg_note): Likewise. | |
8640 | ||
8641 | * config/ia64/ia64-protos.h (emit_safe_across_calls): Renamed from | |
8642 | ia64_file_start. | |
8643 | * config/ia64/ia64.c (emit_safe_across_calls): Likewise. | |
8644 | (rtx_needs_barrier): Handle unspec_volatile 8 and 9. | |
8645 | (emit_predicate_relation_info): Handle conditional calls with | |
8646 | REG_NORETURN. | |
8647 | * config/ia64/ia64.h (ASM_FILE_START): Call emit_safe_across_calls | |
8648 | instead of ia64_file_start. | |
8649 | * config/ia64/sysv4.h (ASM_FILE_START): Likewise. | |
8650 | * config/ia64/ia64.md (safe_across_calls_all, | |
8651 | save_across_calls_normal): New patterns. | |
8652 | ||
8a09bb27 JW |
8653 | * loop.c (check_final_value): Check for biv use before checking for |
8654 | giv use. Check for both biv and giv uses. Always set last_giv_use | |
8655 | if there is a giv use. | |
8656 | ||
11a13704 RH |
8657 | 2000-09-01 Richard Henderson <rth@cygnus.com> |
8658 | ||
8659 | * config/ia64/ia64.md (mulsi3): Use grfr_register_operand. | |
8660 | (madddi3): Likewise. | |
8661 | (maddsi3): New. | |
8662 | ||
6324d2bb RK |
8663 | Fri Sep 1 10:59:47 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
8664 | ||
fcf1b822 RK |
8665 | * expr.c (clear_storage): Don't use emit_move_insn unless |
8666 | either BLKmode or proper size. | |
8667 | (store_constructor): Don't call clear_storage if REG of wrong size. | |
8668 | ||
6324d2bb RK |
8669 | * flow.c (init_propagate_block_info): Don't mark frame dead at end |
8670 | of function if returns wiht stack pointer depressed. | |
8671 | ||
1ba5ae8f AH |
8672 | 2000-09-01 Andrew Haley <aph@redhat.com> |
8673 | ||
0e5921e8 ZW |
8674 | * dwarf2out.c (stack_adjust_offset): New function. |
8675 | (dwarf2out_stack_adjust): Break out stack adjust logic into | |
8676 | new stack_adjust_offset function. Look inside parallels and | |
8677 | sequences for stack adjustments. | |
1ba5ae8f | 8678 | |
893f3d5b JL |
8679 | 2000-08-31 Jeff Law <law@cygnus.com> |
8680 | ||
94c51f7a JL |
8681 | * arm.md: Use no_new_pseudos to determine when it is safe |
8682 | to create new pseudo registers. | |
8683 | ||
0e5921e8 ZW |
8684 | * arm.c (legitimize_pic_address): Use no_new_pseudos to determine |
8685 | when we can safely allocate new registers. | |
893f3d5b | 8686 | |
1b3d8f8a GK |
8687 | 2000-08-31 Geoffrey Keating <geoffk@cygnus.com> |
8688 | ||
8689 | * stmt.c (expand_asm_operands): Twiddle generating_concat_p | |
8690 | so that CONCATs are not generated for ASMs. | |
8691 | * emit-rtl.c (gen_reg_rtx): Don't generate CONCATs when | |
8692 | not generating_concat_p. | |
8693 | * function.c (pop_function_context_from): Reset | |
8694 | generating_concat_p. | |
8695 | (prepare_function_start): Likewise. | |
8696 | * rtl.c (generating_concat_p): Define. | |
8697 | * rtl.h (generating_concat_p): Declare. | |
8698 | * toplev.c (rest_of_compilation): No CONCATs after RTL generation. | |
8699 | ||
4e8bd75f | 8700 | 2000-08-22 Philipp Thomas <pthomas@suse.de> |
0e5921e8 | 8701 | Masanobu Yuhara <yuhara@flab.fujitsu.co.jp> |
4e8bd75f PT |
8702 | |
8703 | * gmicro.h (TARGET_SWITCHES): Add descriptions and mark them | |
8704 | for translation. | |
8705 | ||
b145ee27 GM |
8706 | 2000-08-30 Greg McGary <greg@mcgary.org> |
8707 | ||
8708 | * Makefile.in (fixinc.sh): Pass CC, CFLAGS and LDFLAGS to mkfixinc.sh | |
8709 | * fixinc/Makefile.in (fixincl): Pass $(LDFLAGS) to $(CC). | |
8710 | * fixinc/mkfixinc.sh: Pass $CC, $CFLAGS and $LDFLAGS to $MAKE. | |
8711 | ||
2afaa41c GM |
8712 | 2000-08-30 Greg McGary <greg@mcgary.org> |
8713 | ||
8714 | * tree.h (struct tree_int_cst): Wrap low and high in a sub-struct. | |
8715 | (TREE_INT_CST_LOW, TREE_INT_CST_HIGH): Access through sub-struct. | |
8716 | (TREE_INT_CST): New macro. | |
8717 | * varasm.c (const_hash, compare_constant_1, record_constant_1): | |
8718 | Use new macro TREE_INT_CST. | |
8719 | ||
1d92b3e1 NB |
8720 | Wed 30-Aug-2000 23:18:59 BST Neil Booth <NeilB@earthling.net> |
8721 | ||
8722 | * contrib.texi: Add self. | |
8723 | ||
b23ca156 AO |
8724 | 2000-08-30 Alexandre Oliva <aoliva@redhat.com> |
8725 | ||
8726 | * config/sh/sh.md (cmpeqsi_ior_t, cmpeqsi_and_t): New insns. | |
8727 | (cmpeqdi_t splitter): Use cmpeqsi_and_t instead of emitting jumps | |
8728 | and labels. | |
8729 | ||
aef9fbbf DA |
8730 | 2000-08-30 J. David Anglin <dave@hiauly1.hia.nrc.ca> |
8731 | ||
8732 | * fixinc/gnu-regex.c: Don't define `const'. | |
8733 | ||
85f3d674 RK |
8734 | Tue Aug 29 22:09:59 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
8735 | ||
8736 | * expr.c (store_constructor): Allow variable bounds of array type. | |
8737 | (expand_expr): Don't blow up if type is ERROR_MARK. | |
8738 | * varasm.c (output_constructor): Don't access lower bound of array | |
8739 | type unless need it if index is supplied (so it can be a variable | |
8740 | if no index is supplied). | |
8741 | Use tree_low_cst; use HOST_WIDE_INT for sizes; change BITPOS to POS. | |
8742 | Other minor cleanups. | |
8743 | ||
5b67ad6f DA |
8744 | 2000-08-29 J. David Anglin <dave@hiauly1.hia.nrc.ca> |
8745 | ||
8746 | * Makefile.in: Revamp handling of cflags to allow different WARN_CFLAGS | |
8747 | for compilations in stage 1 and subsequent stages, respectively. | |
8748 | * configure.in (vax): Add compiler-dependent CFLAGS for stage 1. | |
8749 | * configure: Rebuilt. | |
8750 | * x-vax, x-vax-gcc: Deleted. | |
8751 | ||
63ad61ed ZW |
8752 | 2000-08-29 Zack Weinberg <zack@wolery.cumb.org> |
8753 | ||
8754 | * c-common.c (declare_function_name): Use func_id_node, | |
8755 | function_id_node, and pretty_function_id_node. Do not make | |
0e5921e8 | 8756 | __func__ visible at file scope. |
63ad61ed ZW |
8757 | * c-common.h (c_tree_index): Add CTI_FUNCTION_ID, |
8758 | CTI_PRETTY_FUNCTION_ID, and CTI_FUNC_ID. | |
8759 | (function_id_node, pretty_function_id_node, func_id_node): New | |
8760 | macros. | |
8761 | * c-decl.c (init_decl_processing): Initialize function_id_node, | |
8762 | pretty_function_id_node, and func_id_node. | |
8763 | (c_make_fname_decl): Correct comment. | |
8764 | ||
8765 | * tree.h (struct tree_identifier): Constify pointer member. | |
8766 | ||
8767 | * c-decl.c (pushdecl, implicit_decl_warning): Constify a char *. | |
8768 | * c-pragma.h (struct weak_syms): Constify name and value members. | |
0e5921e8 | 8769 | (add_weak): Constify arguments. |
63ad61ed ZW |
8770 | |
8771 | * calls.c (special_function_p): Constify a char *. | |
8772 | (expand_call): Remove variable which is initialized and then | |
8773 | never used. | |
8774 | * dependence.c (struct def_use, struct induction, struct subscript): | |
8775 | Constify 'variable' member. | |
8776 | (get_low_bound, have_induction_variable): Constify char * argument. | |
8777 | (find_induction_variable): Add braces to avoid dangling else. | |
8778 | (classify_dependence): Constify char * arrays. | |
8779 | * profile.c (output_func_start_profiler): Constify a char *. | |
8780 | * stor-layout.c (finalize_record_size): Constify a char *. | |
8781 | * tree.c (is_attribute_p): Constify a char *. | |
8782 | * varasm.c (add_weak, remove_from_pending_weak_list): Constify argument. | |
8783 | ||
8784 | * varasm.c (make_function_rtl, make_decl_rtl): Rearrange code | |
8785 | for comprehensibility. Do not call get_identifier if we did | |
8786 | not change the DECL_ASSEMBLER_NAME of the decl. Use alloca to | |
8787 | create temporary string constants, not ggc_alloc_string. No | |
8788 | need to copy result of ASM_FORMAT_PRIVATE_NAME. Use const | |
8789 | char * to hold IDENTIFIER_POINTERs. | |
8790 | ||
cee58bc0 RH |
8791 | 2000-08-29 Richard Henderson <rth@cygnus.com> |
8792 | ||
8793 | * config/ia64/ia64.md (muldi3): Use grfr_register_operand | |
8794 | for the inputs. | |
8795 | ||
94aaab7a RH |
8796 | 2000-08-29 Richard Henderson <rth@cygnus.com> |
8797 | ||
8798 | * reload.c (push_secondary_reload): Allow class == reload_class | |
8799 | if we're using a reload_in/out pattern. | |
8800 | ||
60a3c181 RH |
8801 | * config/ia64/ia64.md (reload_inti): Use a TImode scratch. Use |
8802 | the half that does not conflict with the reload register. | |
8803 | (reload_outti): Likewise. | |
8804 | ||
9218435e KH |
8805 | 2000-08-29 Kazu Hirata <kazu@hxi.com> |
8806 | ||
4381f7c2 KH |
8807 | * reload.c: Fix formatting. |
8808 | ||
8809 | * stmt.c: Fix formatting. | |
8810 | ||
9218435e KH |
8811 | * gcc.c: Fix formatting. |
8812 | ||
fba0bfd4 ZW |
8813 | 2000-08-29 Zack Weinberg <zack@wolery.cumb.org> |
8814 | ||
8815 | * flags.h (time_report, mem_report): New global flags. | |
8816 | * toplev.c: Define time_report and mem_report. | |
8817 | (f_options): Add -ftime-report and -fmem-report. | |
8818 | (compile_file): Turn on time_report if quiet_flag is off. | |
8819 | Call ggc_print_statistics at very end if mem_report is on. | |
8820 | * timevar.c (TIMEVAR_ENABLE): Examine time_report, not quiet_flag. | |
8821 | ||
8822 | * ggc-common.c (ggc_print_statistics): Rename to | |
8823 | ggc_print_common_statistics; all callers changed. Scale | |
8824 | quantities above 10K to kilobytes and above 10M to megabytes. | |
8825 | * ggc-page.c (ggc_page_print_statistics): Rename to | |
8826 | ggc_print_statistics. Report memory consumed by internal data | |
8827 | structures for each allocation bucket. Scale quantities above | |
8828 | 10K to kilobytes and above 10M to megabytes. | |
8829 | * ggc-simple.c: Prototype debug_ggc_tree to avoid warning. | |
8830 | Cast PTR_KEY(p) to unsigned long in fprintf call to avoid warning. | |
8831 | Define tally_leaves always. | |
8832 | (ggc_print_statistics): New function. | |
8833 | * ggc.h: Adjust for renamed functions. | |
8834 | ||
612105a6 DC |
8835 | Wed Aug 30 00:11:42 2000 Denis Chertykov <denisc@overta.ru> |
8836 | ||
8837 | * config/avr/avr.md ("*movsf","*movsi"): Pass NULL to | |
8838 | output_movsisf instead of which_alternative. | |
8839 | ||
8840 | * config/avr/avr.c (output_reload_inhi): Check for NULL ponter. | |
8841 | ||
6bec29c9 DC |
8842 | Tue Aug 29 22:29:58 2000 Denis Chertykov <denisc@overta.ru> & Marek Michalkiewicz <marekm@linux.org.pl> |
8843 | ||
8844 | * config/avr/avr-protos.h: (avr_output_ascii) Removed. | |
8845 | (avr_progmem_p): New prototype. | |
8846 | (output_movsisf): Prototype declaration changed. | |
8847 | (output_movqi): New prototype. | |
8848 | (output_movhi): New prototype. | |
8849 | (call_insn_operand): Likewise. | |
0e5921e8 | 8850 | (final_prescan_insn): Likewise. |
6bec29c9 DC |
8851 | (avr_simplify_comparision_p): Likewise. |
8852 | (avr_normalize_condition): Likewise. | |
8853 | (compare_eq_p): Likewise. | |
8854 | (out_shift_with_cnt): Likewise. | |
8855 | (const_int_pow2_p): Likewise. | |
8856 | (output_reload_inhi): Prototype declaration changed. | |
8857 | ||
8858 | * config/avr/avr.c: (debug_hard_reg_set): Prototype declared. | |
8859 | (ldi_reg_rtx): New. rtx for r31. | |
8860 | (avr_init_stack): Initialize as "__stack". | |
8861 | (function_prologue): Use it. | |
8862 | Replace all TARGET_ENHANCED with AVR_ENHANCED. | |
8863 | (avr_mcu_name): Initialize as "avr2". | |
8864 | (avr_enhanced_p, avr_mega_p): New variables. | |
8865 | (mcu_types, avr_override_options): Handle all known MCU types. | |
8866 | Also handle avr1 (only preprocess, assemble and link). | |
8867 | (print_operand): Using of `%K' in output template removed. | |
8868 | (out_movqi_r_mr): Optimized. | |
8869 | (out_movhi_r_mr): Likewise. | |
8870 | (output_movqi): New function. | |
8871 | (output_movhi): Likewise. | |
8872 | (out_movsi_r_mr): Optimized. | |
8873 | (output_movsisf): Compute insn length for `adjust_insn_length' | |
8874 | (out_movqi_mr_r): Optimized. | |
8875 | (out_movhi_mr_r): Optimized. | |
8876 | (adjust_insn_length): Use output_movsisf, output_movqi, | |
8877 | output_movhi for insn length adjusting. | |
8878 | (reg_unused_after): Use dead_or_set_p. | |
8879 | (preferred_reload_class): Now havn't any restriction. | |
8880 | (reg_was_0): New function. | |
8881 | (io_address_p): Likewise. | |
8882 | (const_int_pow2_p): Likewise. | |
8883 | (output_reload_inhi): Likewise. | |
8884 | (output_reload_insisf): Likewise. | |
8885 | ||
8886 | * config/avr/avr.h (MULTILIB_DEFAULTS): Define. | |
8887 | (LIB_SPEC): Use -lc for all supported devices. | |
8888 | (LIBGCC_SPEC): Use -lgcc for all supported devices. | |
8889 | (AVR_MEGA): Define as avr_mega_p. | |
8890 | (AVR_ENHANCED): New, define as avr_enhanced_p. | |
8891 | (TARGET_SWITCHES): Remove -menhanced, now handled by -mmcu=... | |
8892 | (CPP_SPEC, LINK_SPEC): Handle all known MCU types. | |
8893 | (CRT_BINUTILS_SPECS): Handle all known MCU types. | |
8894 | Rename gcrt1-*.o to make file names unique on 8.3 filesystems. | |
8895 | (EXTRA_SPECS): Add CPP_AVR[1-5]_SPEC. | |
8896 | (ASM_SPEC): Pass -mmcu=... to the assembler. | |
8897 | Change all -DAVR_* to -D__AVR_*__. | |
8898 | (INIT_TARGET_OPTABS), config/avr/libgcc.S: | |
8899 | Rename library functions to start with two underscores. | |
8900 | (ASM_OUTPUT_COMMON): Outputs `.comm VAR,VAR-SIZE,1' to avoid | |
8901 | alignment. | |
8902 | (ASM_WEAKEN_LABEL): Declared for __attribute__((weak)). | |
8903 | (SUPPORTS_WEAK): Likewise. | |
8904 | (LDI_REG_REGNO): New. Register r31 will be used as temporary | |
8905 | register for loading constants to r0-r14. | |
8906 | ||
8907 | * config/avr/avr.md: Replace all TARGET_ENHANCED with | |
8908 | AVR_ENHANCED. | |
8909 | (*mov_r_sp): Removed. Handled by output_movhi. | |
8910 | (*mov_sp_r): Likewise. | |
8911 | (*mov_sp_r_no_interrupts): Likewise | |
8912 | (*mov_sp_r_tiny): Likewise. | |
8913 | (*movqi): Use output_movqi. | |
8914 | (*reload_inqi): New. | |
8915 | (*movhi): Use output_movhi. | |
8916 | (*reload_inhi): New. | |
8917 | (*negsi2): Optimized. | |
8918 | (*negsf2): Likewise. | |
8919 | Added peepholes (define_peephole2) for loading constants to r0-r14 | |
8920 | and for using `cpse' command. | |
8921 | ||
8922 | * config/avr/libgcc.S: Rename library functions to start with two | |
8923 | underscores. | |
8924 | Add support for enhanced core. | |
8925 | (_moqhi3): Fix typo, now _modqi3. | |
8926 | (__divsi_raw): Use __zero_reg__ as loop counter, smaller by 1 word. | |
8927 | (__prologue_saves__): Remove test for stack adjust by 0. | |
8928 | (__tablejump__): New. | |
8929 | ||
8930 | * config/avr/t-avr: Build libgcc2 with -mcall-prologues. | |
8931 | Add multilib support. | |
8932 | ||
20bd7bfa JW |
8933 | Tue Aug 29 15:17:54 EDT 2000 John Wehle (john@feith.com) |
8934 | ||
8935 | * loop.c (prescan_loop): Don't check unknown_address_altered | |
8936 | when deciding if insert_loop_mem is safe. Add BLKmode MEMs | |
8937 | to loop_store_mems as necessary. | |
8938 | (loop_invariant_p): Don't check unknown_address_altered | |
8939 | or unknown_constant_address_altered. | |
8940 | ||
76f941a8 DA |
8941 | 2000-08-29 J. David Anglin <dave@hiauly1.hia.nrc.ca> |
8942 | ||
8943 | * vax.md (sltu, sgeu): Delete sltu and sgeu insn patterns. | |
8944 | ||
2c8f0515 ZW |
8945 | 2000-08-29 Zack Weinberg <zack@wolery.cumb.org> |
8946 | ||
8947 | * cpperror.c (print_file_and_line): If line is (unsigned int)-1, | |
8948 | print just the filename. | |
8949 | * cpplex.c (_cpp_run_directive): Add additional argument, the | |
8950 | name to give the synthetic buffer. This defaults to | |
8951 | translated "<command line>". | |
8952 | * cpplib.c (cpp_define, cpp_undef, cpp_assert, cpp_unassert): | |
8953 | Adjust to match. | |
8954 | (_cpp_define_builtin): New function. | |
8955 | * cppinit.c (initialize_builtins): Use _cpp_define_builtin. | |
8956 | * cpphash.h: Update prototypes. | |
8957 | ||
8958 | * tradcpp.c (main): Process -D and -U simultaneously, in the | |
8959 | order they appeared on the command line. | |
8960 | ||
6ad79f1b KG |
8961 | 2000-08-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
8962 | ||
8963 | * c-decl.c (define_label): Call warning_with_file_and_line and | |
8964 | error_with_file_and_line instead of plain warning or error. | |
8965 | ||
8966 | * c-parse.in (label): Use save_filename/save_lineno to ensure | |
8967 | correct values for calls to define_label. | |
8968 | ||
4361b41d MM |
8969 | 2000-08-29 Mark Mitchell <mark@codesourcery.com> |
8970 | ||
8971 | * calls.c (expand_call): Don't create a VAR_DECL just to throw it | |
8972 | away. | |
8973 | * expr.c (expand_expr, case TARGET_EXPR): Don't call | |
8974 | mark_addressable. | |
8975 | * tree.h (get_file_function_name): Remove two duplicate | |
8976 | declarations. | |
8977 | ||
abf9af02 KH |
8978 | 2000-08-28 Kazu Hirata <kazu@hxi.com> |
8979 | ||
dc478a5d KH |
8980 | * tree.c: Fix formatting. |
8981 | ||
abf9af02 KH |
8982 | * xcoffout.c: Fix formatting. |
8983 | ||
5f632b5e JM |
8984 | 2000-08-28 Jason Merrill <jason@redhat.com> |
8985 | ||
8986 | * dwarf2out.c (attr_checksum): Also ignore DW_AT_producer. | |
8987 | ||
8988 | 2000-08-28 Daniel Berlin <dberlin@redhat.com> | |
8989 | ||
8990 | * dwarf2out.c (dwarf2out_finish): Don't bother calling | |
8991 | break_out_includes if it won't do anything. | |
8992 | ||
38323cc3 RH |
8993 | 2000-08-28 Richard Henderson <rth@cygnus.com> |
8994 | ||
8995 | * reload.c (push_secondary_reload): Revert 2000-08-16 change. | |
8996 | (find_reloads): Likewise. | |
8997 | * config/alpha/alpha.md (reload_inqi): Revert 2000-08-11 change. | |
8998 | (reload_inhi): Likewise. | |
8999 | ||
e1ff012c RH |
9000 | 2000-08-28 Richard Henderson <rth@cygnus.com> |
9001 | ||
9002 | * config/i386/i386.c: Don't error on EXTRA_CONSTRAINT defined. | |
9003 | (call_insn_operand): Don't expect a surrounding mem. | |
9004 | (constant_call_address_operand): Likewise. | |
9005 | * config/i386/i386.h (PREDICATE_CODES): Update. | |
9006 | * config/i386/i386.md (call patterns): Move the match_operand | |
9007 | for the call destination inside the mem. | |
9008 | ||
c2cba7a9 RH |
9009 | 2000-08-28 Richard Henderson <rth@cygnus.com> |
9010 | ||
9011 | * local-alloc.c (requires_inout): Don't use reserved range for | |
9012 | EXTRA_CONSTRAINTS; use anything not matched by REG_CLASS_FROM_LETTER. | |
9013 | * recog.c (asm_operand_ok): Likewise. | |
9014 | (preprocess_constraints, constrain_operands): Likewise. | |
9015 | * regclass.c (record_reg_classes): Likewise. | |
9016 | * reload.c (find_reloads): Likewise. | |
9017 | * reload1.c (maybe_fix_stack_asms): Likewise. | |
9018 | (reload_cse_simplify_operands): Likewise. | |
9019 | * stmt.c (expand_asm_operands): Likewise. | |
9020 | ||
9021 | * md.texi: Update constraints documentation. | |
9022 | * tm.texi (EXTRA_CONSTRAINT): Update. | |
9023 | ||
5f632b5e JM |
9024 | 2000-08-28 Daniel Berlin <dberlin@redhat.com> |
9025 | ||
9026 | * dwarf2out.c (DIE_LABEL_PREFIX): Remove leading "__". | |
9027 | (print_die): If we don't know the offset of the | |
9028 | target die, try the symbol. Add a trailing newline. | |
9029 | (reverse_all_dies): New fn. | |
9030 | (dwarf2out_finish): Call it. | |
9031 | (break_out_includes): Reorganize for clarity. | |
9032 | (add_sibling_attributes): Don't call reverse_die_lists. | |
9033 | (output_comp_unit): Rename from output_comdat_comp_unit. Use for | |
9034 | primary CU, too. | |
9035 | * flags.h: Add flag_eliminate_dwarf2_dups. | |
9036 | * toplev.c (f_options): Support -feliminate-dwarf2-dups. | |
9037 | ||
5de0e8d4 JM |
9038 | 2000-08-28 Jason Merrill <jason@redhat.com> |
9039 | ||
5f632b5e JM |
9040 | * dwarf2.h (DW_TAG_GNU_BINCL, DW_TAG_GNU_EINCL): New tags. |
9041 | * dwarf2out.c: #include "md5.h". | |
9042 | (DIE_LABEL_PREFIX): New macro. | |
9043 | (dw_val_struct): Add 'external' flag to val_die_ref. | |
9044 | (add_AT_die_ref, AT_ref): Adjust. | |
9045 | (AT_ref_external, set_AT_ref_external): New fns. | |
9046 | (build_abbrev_table): Call set_AT_ref_external. | |
9047 | (value_format): Call AT_ref_external. | |
9048 | (die_struct): Add die_symbol field. | |
9049 | (new_die): Clear it. | |
9050 | (dwarf_tag_name): Handle BINCL/EINCL. | |
9051 | (dwarf2out_start_source_file): Add BINCL DIE. | |
9052 | (dwarf2out_end_source_file): Add EINCL DIE. | |
9053 | (push_new_compile_unit, pop_compile_unit, clear_die_sizes): New fns. | |
9054 | (loc_checksum, attr_checksum, die_checksum): New fns. | |
9055 | (is_type_die, is_comdat_die, is_symbol_die): New fns. | |
9056 | (compute_section_prefix, assign_symbol_names): New fns. | |
9057 | (gen_internal_sym, output_die_symbol, output_symbolic_ref): New fns. | |
9058 | (output_die): Call output_die_symbol and AT_ref_external. | |
9059 | (output_comdat_comp_unit): New fn, split out from... | |
0e5921e8 | 9060 | (dwarf2out_finish): ...here. Also call add_sibling_attributes for |
5f632b5e JM |
9061 | secondary CUs. |
9062 | (output_pubnames, output_aranges): Abort if we see entries from | |
9063 | secondary CUs. | |
9064 | * toplev.h: Declare file_name_nondirectory. | |
9065 | * toplev.c (file_name_nondirectory): New fn, moved from C++ frontend. | |
9066 | (rest_of_type_compilation): Call dwarf2out_decl if at toplevel. | |
9067 | (debug_start_source_file): Call dwarf2out_start_source_file | |
9068 | regardless of debug verbosity. | |
9069 | (debug_end_source_file): Similarly. | |
9070 | * tree.h: Declare clean_symbol_name. | |
9071 | * tree.c (clean_symbol_name): Split out from... | |
9072 | (get_file_function_name_long): ...here. | |
9073 | ||
5de0e8d4 JM |
9074 | * dwarf2out.c (new_loc_descr): Use calloc. |
9075 | (splice_child_die): Remove the die from the right parent. | |
9076 | (gen_struct_or_union_die): Don't add AT_name to a specification DIE. | |
9077 | ||
04324727 RK |
9078 | Mon Aug 28 19:02:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
9079 | ||
9080 | * toplev.c (decode_g_option): Don't give warning for unknown -g | |
9081 | option; return 0 instead. | |
9082 | (main): If -g option is not recognized by front end or | |
9083 | language-independent code, give warning. | |
9084 | ||
9e3e266c GM |
9085 | 2000-08-28 Greg McGary <greg@mcgary.org> |
9086 | ||
9087 | * config/i386/i386-protos.h (ix86_expand_compare): Add extern decl. | |
9088 | * config/i386/i386.c (ix86_expand_compare): Remove `static'. | |
9089 | * config/i386/i386.md (trap, conditional_trap): New insn & expand. | |
9090 | ||
a0bff95f GM |
9091 | 2000-08-27 Greg McGary <greg@mcgary.org> |
9092 | ||
9093 | * cpplex.c (parse_string): Don't look for backslash | |
9094 | before first char in `namebuf'. | |
9095 | * loop.c (strength_reduce): Skip NOTEs. | |
9096 | ||
edb4c415 JM |
9097 | 2000-08-27 Jason Merrill <jason@redhat.com> |
9098 | ||
9099 | * c-decl.c (duplicate_decls): Don't set TREE_STATIC or clear | |
9100 | DECL_EXTERNAL on a local extern. Don't set DECL_IGNORED_P or | |
9101 | TREE_ASM_WRITTEN, either. | |
9102 | (finish_decl): Adjust. | |
9103 | ||
6e88e75c PT |
9104 | 2000-08-28 Philipp Thomas <pthomas@suse.de> |
9105 | ||
9106 | * ABOUT-GCC-NLS: Remove gettext patches from Paul Eggert as | |
9107 | they have been incorporated into the gettext CVS. Change the text to | |
9108 | reflect the current status of NLS. Add instructions for accessing | |
9109 | the gettext CVS and add the patch from Martin v. Loewis. | |
9110 | ||
e53ca51f GK |
9111 | 2000-08-27 Geoff Keating <geoffk@cygnus.com> |
9112 | ||
9113 | * config/rs6000/rs6000.md (movdi_internal64+5): Make SUBREG-safe | |
9114 | by using gen_lowpart_common. | |
9115 | (movdi_internal64+6): Likewise. | |
9116 | ||
a0a6fdc8 AO |
9117 | 2000-08-26 Alexandre Oliva <aoliva@redhat.com> |
9118 | ||
1b2dd04a AO |
9119 | * tm.texi (FINI_SECTION_ASM_OP, CRT_CALL_STATIC_FUNCTION): |
9120 | Document. | |
9121 | ||
a0a6fdc8 AO |
9122 | * config/mn10300/mn10300.h (DBX_REGISTER_NUMBER): Remap register |
9123 | numbers to the ranges used by GDB. | |
9124 | ||
26a110f5 RH |
9125 | 2000-08-25 Richard Henderson <rth@cygnus.com> |
9126 | ||
9127 | * config/ia64/ia64.h (struct machine_function): Add n_varargs. | |
9128 | * config/ia64/ia64.c (ia64_compute_frame_size): Use it. | |
9129 | (ia64_expand_prologue): Likewise. | |
9130 | (ia64_setup_incoming_varargs): Set it. Properly skip the current | |
9131 | argument for stdargs. | |
9132 | ||
ecff20d4 JM |
9133 | 2000-08-25 Jason Merrill <jason@redhat.com> |
9134 | ||
9135 | * integrate.c (expand_inline_function): Pull out the original decl. | |
9136 | ||
caa511fd JW |
9137 | 2000-08-25 Jim Wilson <wilson@cygnus.com> |
9138 | ||
d51ff7cb JW |
9139 | * cse.c (cse_insn): Don't pass label subtraction to force_const_mem. |
9140 | ||
caa511fd JW |
9141 | * function.c (gen_mem_addressof): Clear MEM_ALIAS_SET if no decl. |
9142 | ||
9a56f4f6 GM |
9143 | 2000-08-25 Greg McGary <greg@mcgary.org> |
9144 | ||
9145 | * flow.c (dump_edge_info): Use ARRAY_SIZE. | |
9146 | * config/alpha/alpha.c (alpha_expand_block_move): Likewise. | |
9147 | ||
31448271 RE |
9148 | 2000-08-25 Richard Earnshaw <rearnsha@arm.com> |
9149 | ||
9150 | * arm.h (STRUCT_VALUE): Define to 0, not NULL. | |
9151 | ||
b949ea8b JW |
9152 | Fri Aug 25 12:52:49 EDT 2000 John Wehle (john@feith.com) |
9153 | ||
9154 | * i386.c (ix86_find_base_term): New. | |
9155 | * i386-protos.h (ix86_find_base_term): Prototype. | |
9156 | * i386.h (FIND_BASE_TERM): Define. | |
9157 | * alias.c (find_base_term): Use it. | |
9158 | * tm.texi (FIND_BASE_TERM): Document it. | |
9159 | ||
9160 | * alias.c (true_dependence, write_dependence_p): Unchanging | |
9161 | memory can't conflict with non-unchanging memory. | |
9162 | ||
9163 | * alias.c (memrefs_conflict_p): A BLKmode reference | |
9164 | to a symbol (or CONST_INT address) always conflicts | |
9165 | with a reference to another symbol. | |
9166 | ||
343b7260 JM |
9167 | 2000-08-25 Joseph S. Myers <jsm28@cam.ac.uk> |
9168 | ||
9169 | * c-common.c (time_char_table): Don't allow width and flags with | |
9170 | "z" format. | |
9171 | ||
1f9124e4 JJ |
9172 | 2000-08-25 Jakub Jelinek <jakub@redhat.com> |
9173 | ||
9174 | * config/i386/i386.c (ix86_expand_branch): Treat GE and GEU the same | |
9175 | way as LT and LTU when the second operand has 0 in low word. | |
9176 | ||
6057c0e6 MH |
9177 | 2000-08-26 Michael Hayes <mhayes@cygnus.com> |
9178 | ||
135ebc36 MH |
9179 | * basic-block.h (struct loop): Rename `exits' field to |
9180 | `exit_edges'. Add `entry_edges' and `num_entries' fields. | |
9181 | ||
9182 | * flow.c (flow_loop_exit_edges_find): Rename from flow_loop_exits_find. | |
9183 | (flow_loop_entry_edges_find): Add. | |
9184 | (flow_edge_list_print): Rename from flow_exits_print. | |
9185 | (flow_loops_find): Call flow_loop_entry_edges_find. | |
9186 | (flow_loop_dump): Dump entry_edges list. | |
9187 | (flow_loops_free): Free entry_edges. | |
0e5921e8 | 9188 | |
135ebc36 | 9189 | 2000-08-26 Michael Hayes <mhayes@cygnus.com> |
0e5921e8 | 9190 | |
6057c0e6 MH |
9191 | * loop.c (loop_dump_aux, debug_loop): New functions. |
9192 | (LOOP_BLOCK_NUM_1, LOOP_BLOCK_NUM, LOOP_INSN_UID): New macros. | |
9193 | ||
9194 | * flow.c (flow_loops_dump): Add callback parameter. | |
9195 | (flow_loop_dump): Add callback parameter and call it. Move | |
9196 | loop note debugging code to loop_dump_aux. | |
9197 | ||
9198 | * basic-block.h (flow_loop_dump): Add callback parameter | |
9199 | (flow_loops_dump): Likewise. | |
9200 | ||
9201 | * toplev.c (rest_of_compilation): Add NULL callback function pointer | |
9202 | to call to flow_loops_dump. | |
0e5921e8 | 9203 | |
028fc6e7 MH |
9204 | 2000-08-26 Michael Hayes <mhayes@cygnus.com> |
9205 | ||
9206 | * loop.c (count_loop_regs_set): Replace start and end arguments | |
9207 | with loop argument. All callers udated. | |
0e5921e8 | 9208 | |
371502a8 | 9209 | 2000-08-26 Michael Hayes <mhayes@cygnus.com> |
0e5921e8 | 9210 | |
371502a8 MH |
9211 | * loop.c (constant_high_bytes): Delete. |
9212 | ||
e375c819 MH |
9213 | 2000-08-26 Michael Hayes <mhayes@cygnus.com> |
9214 | ||
9215 | * loop.c (prescan_loop): Move checks for NOTE_INSN_LOOP_CONT | |
9216 | and NOTE_INSN_LOOP_VTOP to... | |
9217 | (find_and_verify_loops) ...here. | |
9218 | ||
036cfb36 AO |
9219 | Fri Aug 25 04:21:13 2000 Alexandre Oliva <aoliva@redhat.com> |
9220 | ||
9221 | * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Define default. | |
9222 | (fini_dummy, init_dummy): Use it. | |
9223 | ||
c2e20542 NB |
9224 | Fri 25-Aug-2000 08:03:27 BST Neil Booth <NeilB@earthling.net> |
9225 | ||
9226 | * cpplex.c (is_macro_disabled): Caller has already checked | |
9227 | that we're not a preprocessed file. | |
9228 | ||
83bab8db MM |
9229 | 2000-08-24 Mark Mitchell <mark@codesourcery.com> |
9230 | ||
9231 | * Makefile.in (C_AND_OBJC_OBJS): Remove c-iterate.o. | |
9232 | (c-iterate.o): Remove target. | |
9233 | * gcc/c-common.h (enum rid): Remove RID_ITERATOR. | |
9234 | * gcc/c-decl.c (init_decl_processing): Remove call to init_iterators. | |
9235 | (finish_decl): Don't handle iterators. | |
9236 | (grokdeclarator): Likewise. | |
9237 | * gcc/c-parse.gperf: Remove __iterator and __iterator__ keywords. | |
9238 | * gcc/c-gperf.h: Regenerated. | |
9239 | * gcc/c-iterate.c: Removed. | |
9240 | * gcc/c-lex.c (init_lex): Don't handle iterators. | |
9241 | * gcc/c-parse.in (primary): Remove pop_iterator_stack call. | |
9242 | (compstmt_primary_start): Remove push_iterator_stack call. | |
9243 | (stmt): Don't allow iterator statements. Replace iterator_expand | |
9244 | with expand_expr_stmt. | |
9245 | (all_iter_stmt): Remove. | |
9246 | (all_iter_stmt_simple): Likewise. | |
9247 | (all_iter_stmt_with_decl): Likewise. | |
9248 | * gcc/c-tree.h (ITERATOR_P): Remove. | |
9249 | (ITERATOR_BOUND_P): Likewise. | |
9250 | (init_iterators): Remove declaration. | |
9251 | (iterator_expand): Likewise. | |
9252 | (iterator_for_loop_start): Likewise. | |
9253 | (iterator_for_loop_end): Likewise. | |
9254 | (iterator_for_loop_record): Likewise. | |
9255 | (push_iterator_stack): Likewise. | |
9256 | (pop_iterator_stack): Likewise. | |
9257 | * gcc/c-typeck.c (decl_constant_value): Don't check ITERATOR_P. | |
9258 | (readonly_warning): Likewise. | |
9259 | * gcc/tree.h (ITERATOR_BOUND_P): Don't mention it. | |
0e5921e8 | 9260 | |
aee3c6b0 JW |
9261 | 2000-08-24 Jim Wilson <wilson@cygnus.com> |
9262 | ||
9263 | * c-common.c (decl_attributes, case A_ALIGN): Revert last change. | |
9264 | Copy type in a TYPE_DECL, just like pushdecl does. | |
9265 | ||
58d8c980 RH |
9266 | 2000-08-24 Richard Henderson <rth@cygnus.com> |
9267 | ||
9268 | * toplev.c (main): Enable flag_reorder_blocks at -O2. | |
9269 | ||
054f5e69 ZW |
9270 | 2000-08-24 Zack Weinberg <zack@wolery.cumb.org> |
9271 | ||
0e5921e8 | 9272 | * ggc-page.c (alloc_page): If HAVE_MMAP_ANYWHERE and we're |
054f5e69 ZW |
9273 | asked for one page, allocate GGC_QUIRE_SIZE of them and put |
9274 | the extras on the free list. | |
9275 | (release_pages): Clean up. | |
9276 | (ggc_set_mark): Don't adjust G.allocated here... | |
9277 | (sweep_pages): ... do it here. | |
9278 | ||
9279 | 2000-08-24 Zack Weinberg <zack@wolery.cumb.org> | |
9280 | ||
9281 | * cppfiles.c (read_include_file): Rearrange initializations. | |
9282 | ||
0551c32d RH |
9283 | 2000-08-24 Richard Henderson <rth@cygnus.com> |
9284 | ||
9285 | * stmt.c (expand_asm_operands): Treat EXTRA_CONSTRAINT like g or X. | |
9286 | ||
9287 | * config/ia64/ia64-protos.h: Update. | |
9288 | * config/ia64/ia64.c (gr_register_operand): New. | |
9289 | (fr_register_operand, grfr_register_operand): New. | |
9290 | (gr_nonimmediate_operand, grfr_nonimmediate_operand): New. | |
9291 | (grfr_reg_or_8bit_operand): New. | |
0e5921e8 | 9292 | (gr_reg_or_0_operand): Rename from reg_or_0_operand and |
0551c32d RH |
9293 | use gr_register_operand. |
9294 | (gr_reg_or_5bit_operand, gr_reg_or_6bit_operand): Likewise. | |
9295 | (gr_reg_or_8bit_operand, gr_reg_or_8bit_adjusted_operand): Likewise. | |
9296 | (gr_reg_or_8bit_and_adjusted_operand): Likewise. | |
9297 | (gr_reg_or_14bit_operand, gr_reg_or_22bit_operand): Likewise. | |
9298 | (fr_reg_or_fp01_operand): Likewise. | |
9299 | (not_postinc_memory_operand): New. | |
9300 | (ia64_split_timode): Remove unused variables. | |
9301 | (rtx_needs_barrier): Check arguments to cmpxchg. | |
9302 | (builtin_description): Remove. | |
9303 | (bdesc_2argsi, bdesc_2argdi): Remove. | |
9304 | (ia64_init_builtins): Declare all builtins directly. | |
9305 | (ia64_expand_fetch_and_op): Rewrite to be called from | |
9306 | ia64_expand_builtin directly. Use expand_binop and co. | |
9307 | (ia64_expand_op_and_fetch): Likewise. | |
9308 | (ia64_expand_compare_and_swap): Likewise. | |
9309 | (ia64_expand_binop_builtin): Remove. | |
9310 | (ia64_expand_lock_test_and_set): New. | |
9311 | (ia64_expand_lock_release): New. | |
9312 | (ia64_expand_builtin): Use them. | |
9313 | * config/ia64/ia64.h (CONSTRAINT_OK_FOR_S): New. | |
9314 | (EXTRA_CONSTRAINT): Use it. | |
9315 | (PREDICATE_CODES): Update. | |
9316 | * config/ia64/ia64.md (*): Use gr_register_operand and co. | |
9317 | (mf): Indicate that we set memory as well as use it. | |
9318 | (fetchadd_acq_si): Show memory being modified as well. | |
0e5921e8 | 9319 | (fetchadd_acq_di, cmpxchg_acq_si, cmpxchg_acq_di): Likewise. |
0551c32d RH |
9320 | (val_compare_and_swap_si, val_compare_and_swap_di): Remove. |
9321 | (lock_test_and_set_si, lock_test_and_set_di): Remove. | |
9322 | (fetch_and_add_si, fetch_and_sub_si, fetch_and_or_si): Remove. | |
9323 | (fetch_and_and_si, fetch_and_xor_si, fetch_and_nand_si): Remove. | |
9324 | (fetch_and_add_di, fetch_and_sub_di, fetch_and_or_di): Remove. | |
9325 | (fetch_and_and_di, fetch_and_xor_di, fetch_and_nand_di): Remove. | |
9326 | (add_and_fetch_di, sub_and_fetch_di, or_and_fetch_di): Remove. | |
9327 | (and_and_fetch_di, xor_and_fetch_di, nand_and_fetch_di): Remove. | |
9328 | (add_and_fetch_si, sub_and_fetch_si, or_and_fetch_si): Remove. | |
9329 | (and_and_fetch_si, xor_and_fetch_si, nand_and_fetch_si): Remove. | |
9330 | * config/ia64/ia64intrin.h (*): Cast result to the appropriate | |
9331 | return type. Pretty print definitions. | |
9332 | ||
7c866fb5 JW |
9333 | 2000-08-24 Jim Wilson <wilson@cygnus.com> |
9334 | ||
9335 | * config/ia64/ia64.md (movdi): Don't call gen_movdi_symbolic if | |
9336 | we have a SYMBOL_REF with SYMBOL_REF_FLAG set. | |
9337 | ||
40e8cc95 JM |
9338 | 2000-08-24 Jason Merrill <jason@redhat.com> |
9339 | ||
9340 | * dwarf2out.c (AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, | |
9341 | AT_loc, AT_addr, AT_lbl): Abort on unsuitable input. | |
0e5921e8 | 9342 | (get_AT_low_pc, get_AT_hi_pc, get_AT_string, get_AT_flag, |
40e8cc95 JM |
9343 | get_AT_unsigned, get_AT_ref): Don't call them if get_AT fails. |
9344 | ||
b6a1cbae GM |
9345 | 2000-08-24 Greg McGary <greg@mcgary.org> |
9346 | ||
9347 | * optabs.c (init_optabs): Initialize fixtab, fixtrunctab, floattab, | |
9348 | and extendtab within their proper array boundaries. | |
9349 | * emit-rtl.c (init_emit_once): Pass `const_tiny_rtx' with bounds | |
9350 | for the entire array. | |
9351 | ||
9352 | * config/arm/arm.c (arm_override_options): Use ARRAY_SIZE. | |
9353 | * config/alpha/alpha.c (alpha_lookup_xfloating_lib_func): Likewise. | |
9354 | * config/avr/avr.c (order_regs_for_local_alloc): Likewise. | |
9355 | * config/fr30/fr30.c (fr30_print_operand): Likewise. | |
9356 | * config/i386/dgux.c (output_options): Likewise. | |
9357 | * config/i386/dgux.h (ASM_FILE_START): Likewise. | |
9358 | * config/m88k/m88k.c (output_options): Likewise. | |
9359 | * config/m88k/m88k.h (ASM_FILE_START): Likewise. | |
9360 | * config/mcore/mcore.c (mcore_output_inline_const_forced, | |
9361 | layout_mcore_frame, handle_structs_in_regs): Likewise. | |
9362 | * config/mips/mips.c (output_block_move): Likewise. | |
9363 | * config/rs6000/rs6000.c (rs6000_override_options, | |
9364 | rs6000_file_start): Likewise. | |
9365 | * config/sparc/sparc.c (sparc_add_gc_roots): Likewise. | |
9366 | * fixinc/fixfixes.c (FIX_TABLE_CT): Likewise. | |
9367 | * fixinc/fixtests.c (TEST_TABLE_CT): Likewise. | |
9368 | * builtins.c (expand_builtin_setjmp): Likewise. | |
9369 | * expr.c (safe_from_p): Likewise. | |
9370 | * flow.c (life_analysis): Likewise. | |
9371 | * fold-const.c (size_int_type_wide): Likewise. | |
9372 | * gcc.c (translate_options, init_spec, set_spec, main): Likewise. | |
9373 | * genattrtab.c (make_length_attrs): Likewise. | |
9374 | * genopinit.c (gen_insn): Likewise. | |
9375 | * genrecog.c (NUM_KNOWN_PREDS, NUM_SPECIAL_MODE_PREDS): Likewise. | |
9376 | * global.c (global_alloc): Likewise. | |
9377 | * local-alloc.c (find_free_reg): Likewise. | |
9378 | * mips-tdump.c (print_symbol): Likewise. | |
9379 | * mips-tfile.c (parse_def, parse_input): Likewise. | |
9380 | * reload1.c (NUM_ELIMINABLE_REGS): Likewise. | |
9381 | * stmt.c (expand_nl_goto_receiver): Likewise. | |
9382 | * stor-layout.c (set_sizetype): Likewise. | |
9383 | * varasm.c (decode_reg_name): Likewise. | |
9384 | * toplev.c (decode_f_option, decode_W_option, | |
9385 | set_target_switch, print_switch_values): Likewise. | |
9386 | (NUM_ELEM): Remove macro. | |
9387 | (display_help, main): s/NUM_ELEM/ARRAY_SIZE/ | |
9388 | ||
5b47282c GM |
9389 | 2000-08-24 Greg McGary <greg@mcgary.org> |
9390 | ||
9391 | * tree.h (enum tree_index): New member `TI_MAIN_IDENTIFIER'. | |
9392 | (MAIN_NAME_P, main_identifier_node): New macros. | |
9393 | * c-common.c (c_common_nodes_and_builtins): Init main_identifier_node. | |
9394 | * c-decl.c (start_decl, grokdeclarator, start_function, | |
9395 | store_parm_decls, finish_function): Use MAIN_NAME_P. | |
9396 | * config/avr/avr.c (function_prologue, function_epilogue): Likewise. | |
9397 | * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise. | |
9398 | * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise. | |
9399 | * config/pdp11/pdp11.c (output_function_prologue): Likewise. | |
9400 | ||
87ae0c74 GM |
9401 | 2000-08-24 Greg McGary <greg@mcgary.org> |
9402 | ||
9403 | * cppfiles.c (actual_directory): Don't write beyond `dir' | |
9404 | when it contains "". | |
9405 | * real.c (asctoeg): Stay within bounds of etens[][]. | |
9406 | ||
b148aeaa KG |
9407 | 2000-08-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
9408 | ||
9409 | * dependence.c (dependence_string, direction_string, | |
9410 | dump_one_node, dump_node_dependence): Hide unused identifiers. | |
9411 | (get_low_bound, normalize_coefficients): Match definition to | |
9412 | static prototype. | |
9413 | (get_one_coefficient): Initialize variables `value0_is_idx' and | |
9414 | `value1_is_idx'. | |
9415 | (ziv_test, gcd_test): Mark parameters with ATTRIBUTE_UNUSED. | |
9416 | (ziv_test): Delete variable `idx', use parameter `sub' instead. | |
9417 | (direction_merge): Avoid automatic aggregate initialization. | |
9418 | (have_dependence_p): Use `src' not `dest' to set `src_idx'. | |
9419 | Initialize variables `dest_idx' and `src_idx'. | |
9420 | (end_dependence_analysis): Avoid C89 style function definition. | |
9421 | ||
4894ecce JM |
9422 | 2000-08-24 Joseph S. Myers <jsm28@cam.ac.uk> |
9423 | ||
9424 | * c-common.c (time_char_table): Don't allow width with %F. | |
9425 | (check_format_info): Don't allow "Z" length with scanf. | |
9426 | ||
2ab99c46 GDR |
9427 | 2000-08-24 Gabriel Dos Reis <gdr@codesourcery.com> |
9428 | ||
9429 | * diagnostic.c (finish_diagnostic): Define. | |
9430 | (output_do_printf): Use wrap_text instead of output_add_string. | |
9431 | (default_print_error_function): Avoid embedded '\n'. | |
9432 | ||
9433 | * diagnostic.h (flush_diagnostic_buffer): Declare. | |
9434 | ||
335e59bd AO |
9435 | 2000-08-23 Alexandre Oliva <aoliva@redhat.com> |
9436 | ||
9437 | * dependence.c: Replace `[][]' with `[][MAX_SUBSCRIPTS]'. | |
9438 | ||
d9fe00bb HPN |
9439 | 2000-08-23 Hans-Peter Nilsson <hp@axis.com> |
9440 | ||
9441 | * Makefile.in (GCC_PASSES): Add specs. | |
9442 | ||
b97644fc JW |
9443 | 2000-08-23 Jim Wilson <wilson@cygnus.com> |
9444 | ||
9445 | * frame.h (IA64_UNW_EHANDLER, IA64_UNW_UHANDLER): New. | |
9446 | * config/ia64/frame-ia64.c (__get_personality): Return zero if neither | |
9447 | EHANDLER nor UHANDLER bit is set. | |
9448 | (__get_except_table): Likewise. | |
9449 | ||
64a7723d NC |
9450 | 2000-08-23 Nick Clifton <nickc@redhat.com> |
9451 | ||
02689e18 NC |
9452 | * config/arm/lib1funcs.asm: Replace upper case condition codes |
9453 | with lower case versions. | |
9454 | ||
64a7723d NC |
9455 | * config/arm/arm.h (STRUCT_VALUE): Define. |
9456 | (STRUCT_VALUE_REGNUM): Delete. | |
9457 | ||
bbdac7d0 ZW |
9458 | 2000-08-23 Zack Weinberg <zack@wolery.cumb.org> |
9459 | ||
9460 | * cpphash.h (IN_I): New flag for directive table. | |
9461 | * cpplib.c (DIRECTIVE_TABLE): Mark #define, #undef, #ident, and | |
9462 | #pragma with IN_I. | |
9463 | (_cpp_check_directive): If -fpreprocessed, execute directives | |
9464 | marked with IN_I. Issue no warnings in this case. | |
9465 | * cpplex.c (_cpp_get_token): Expand no macros if -fpreprocessed. | |
9466 | ||
d8eceea4 JM |
9467 | 2000-08-23 Joseph S. Myers <jsm28@cam.ac.uk> |
9468 | ||
9469 | * c-common.c (print_char_table): Allow 'I' flag with %d, %i and | |
9470 | %u. | |
9471 | (check_format_info): Support printf 'I' flag; warn about it with | |
9472 | -pedantic. | |
9473 | ||
e04c2d6c RE |
9474 | 2000-08-23 Richard Earnshaw (rearnsha@arm.com) |
9475 | ||
9476 | * arm.c (arm_expand_prologue): Ensure that the stack-adjustment | |
9477 | barrier can't be ignored by the alias analysis code. | |
9478 | ||
f4306baa EZ |
9479 | 2000-08-12 Eli Zaretskii <eliz@is.elta.co.il> |
9480 | ||
9481 | * fixinc/inclhack.def (sysv68_string): Fix the Sed script so it | |
9482 | works inside fixincl. | |
9483 | ||
95d0e5f1 AO |
9484 | Wed Aug 23 04:55:48 2000 Alexandre Oliva <aoliva@redhat.com> |
9485 | ||
9486 | * simplify-rtx.c (simplify_rtx): Don't pass VOIDmode to | |
9487 | simplify_relational_operation() unless both operands are of | |
9488 | VOIDmode. | |
9489 | * cse.c (fold_rtx): Likewise. | |
9490 | ||
55efb413 JW |
9491 | Tue Aug 22 23:53:27 EDT 2000 John Wehle (john@feith.com) |
9492 | ||
9493 | * rtlanal.c (rtx_unstable_p): The pic register is stable | |
9494 | (within one function) and the actual rtx should be used | |
9495 | when checking the registers. | |
9496 | (rtx_addr_can_trap_p): Pic memory addresses can't trap. | |
9497 | ||
9498 | * alias.c (true_dependence, write_dependence_p): Fix | |
9499 | bug in previous patch. | |
9500 | ||
9501 | * i386.c (ix86_GOT_alias_set): New. | |
9502 | (legitimize_pic_address): Use it. | |
9503 | ||
9504 | * rtlanal.c (rtx_unstable_p): An unchanging MEM is | |
9505 | only stable if its address is stable. | |
9506 | (rtx_varies_p): An unchanging MEM can't vary if | |
9507 | its address doesn't vary. | |
9508 | ||
aac625ac KG |
9509 | 2000-08-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
9510 | ||
9511 | * c-parse.in (unop +): Restrict -Wtraditional warnings to user code. | |
9512 | ||
62432849 DA |
9513 | 2000-08-22 J. David Anglin <dave@hiauly1.hia.nrc.ca> |
9514 | ||
9515 | * vax.h (ASM_SPEC): Pass `-J' to assembler. | |
9516 | * x-vax-gcc: New file for bootstrapping with gcc. | |
dd745546 | 9517 | * x-vax: Use X_CFLAGS rather than X_CPPFLAGS to pass `-J'. |
62432849 DA |
9518 | * configure.in: Use x-vax-gcc with gcc. |
9519 | * configure: Rebuilt. | |
9520 | ||
1eb994b7 R |
9521 | Tue Aug 22 21:21:05 2000 J"orn Rennecke <amylaar@cygnus.co.uk> |
9522 | ||
9523 | * toplev.c (rest_of_compilation): Rebuild label notes after | |
9524 | post-reload splitting pass if new labels have been created. | |
9525 | ||
f6a542de GDR |
9526 | 2000-08-22 Gabriel Dos Reis <gdr@codesourcery.com> |
9527 | ||
9528 | * diagnostic.h (output_buffer_state): New macro. | |
9529 | * diagnostic.c (diagnostic_for_decl, sorry, | |
9530 | default_print_error_function, output_do_verbatim, | |
9531 | report_diagnostic, report_problematic_module): Use it. | |
9532 | (wrap_text): Tweak. | |
9533 | (output_format): Use wrap_text instead of maybe_wrap_text. | |
9534 | ||
888e552f NC |
9535 | 2000-08-22 Nick Clifton <nickc@redhat.com> |
9536 | ||
9537 | * config/arm/lib1funcs.asm (ARM_DIV_MOD_BODY): New macro. | |
9538 | Common code for ARM divide and modulus functions. | |
9539 | (THUMB_DIV_MOD_BODY): New macro. Thumb equivalent of | |
9540 | ARM_DIV_MOD_BODY. | |
9541 | (FUNC_END): New macro: Common code at the end of the division and | |
9542 | modulo functions. | |
9543 | (THUMB_FUNCTION_START): New macro: Common code at the start of | |
9544 | Thumb functions. | |
9545 | (__divsi3, __udivsi3, __modsi3, __umodsi3): Use new macros. | |
0e5921e8 | 9546 | |
89e43e33 KK |
9547 | Tue Aug 22 20:34:52 2000 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
9548 | ||
9549 | * config/sh/sh.md (cmpeqdi_t splitter): Fix a reverse testing. | |
9550 | ||
9551 | * config/sh/sh.c (prepare_scc_operands): Apply force_reg to | |
9552 | sh_compare_op1 when the mode is DImode and sh_compare_op1 isn't | |
9553 | const0_rtx. | |
9554 | ||
7405dc37 NC |
9555 | 2000-08-22 Nick Clifton <nickc@redhat.com> |
9556 | ||
9557 | * config/arm/lib1funcs.asm (__umodsi3): Before performing any | |
9558 | restorative additions, test for bottom bits of IP being set, | |
9559 | rather than relying upon the RORs not matching. | |
9560 | (__modsi3): Ditto. | |
9561 | ||
9861b0c9 DE |
9562 | 2000-08-22 David Edelsohn <edelsohn@gnu.org> |
9563 | ||
9564 | * aix.h (ASM_DECLARE_FUNCTION_NAME): Call named_section() or | |
60a3c181 | 9565 | text_section() as appropriate instead of emitting text csect |
9861b0c9 DE |
9566 | pseudo-op directly. |
9567 | (TEXT_SECTION_ASM_OP): Only require default 32-bit alignment. | |
9568 | (UNIQUE_SECTION): Define macro. | |
9569 | (ASM_OUTPUT_SECTION_NAME): Define macro. | |
9570 | * rs6000.c (rs6000_override_options): Disable -ffunction-sections | |
60a3c181 | 9571 | on AIX if debugging and -fdata-sections always. |
9861b0c9 DE |
9572 | |
9573 | 2000-08-22 Steven King <sxking@uswest.net> | |
df3a88f0 SK |
9574 | |
9575 | * config/float-i386.h (LDBL_EPSILON): Remove __convert_long_double | |
9576 | machinery. | |
9577 | (LDBL_MAX): Same here. | |
9578 | ||
b578dbd7 RH |
9579 | 2000-08-22 Richard Henderson <rth@cygnus.com> |
9580 | ||
9581 | * flow.c (tidy_fallthru_edge): Update b->end properly. | |
9582 | ||
d061bc1e SC |
9583 | 2000-08-22 Stan Cox <scox@redhat.com> |
9584 | ||
60a3c181 RH |
9585 | * Makefile.in (OBJS): Add dependence.o. |
9586 | * dependence.c: New file. | |
0e5921e8 | 9587 | |
23d16877 | 9588 | 2000-08-22 Alexandre Oliva <aoliva@redhat.com>, John David Anglin <dave.anglin@nrc.ca> |
3cadd778 | 9589 | |
d60eab50 AO |
9590 | * calls.c (check_sibcall_argument_overlap_1): Adjust for |
9591 | ARGS_GROW_DOWNWARD. | |
9592 | (check_sibcall_argument_overlap): Likewise. | |
9593 | ||
23d16877 AO |
9594 | 2000-08-22 Alexandre Oliva <aoliva@redhat.com> |
9595 | ||
3cadd778 AO |
9596 | * invoke.texi (SH Options): Document -m4-nofpu, |
9597 | -m4-single-only, -m4-single, -m4, -mbigtable, -mfmovd, | |
9598 | -mhitachi, -mnomacsave, -misize, -mpadstruct, -mspace. | |
9599 | ||
23e4d028 JM |
9600 | 2000-08-22 Joseph S. Myers <jsm28@cam.ac.uk> |
9601 | ||
9602 | * c-common.c (check_format_info): Give the 'some locales' warning | |
9603 | for strftime %Ey rather than the unconditional 'only last 2 digits | |
9604 | of year' one. | |
9605 | ||
bc82c87c RH |
9606 | 2000-08-22 Richard Henderson <rth@cygnus.com> |
9607 | ||
9608 | * alias.c (init_alias_analysis): Do not register | |
9609 | struct_value_incoming_rtx or static_chain_rtx as pointing | |
9610 | to stack memory. | |
9611 | ||
7db9125f JL |
9612 | Tue Aug 22 01:44:43 2000 Jeffrey A Law (law@cygnus.com) |
9613 | ||
9614 | * protoize.c (munge_compile_params): Fix typo and formatting buglets. | |
9615 | ||
b413d64d GDR |
9616 | 2000-08-22 Gabriel Dos Reis <gdr@codesourcery.com> |
9617 | ||
9618 | * diagnostic.h (report_problematic_module): Declare. | |
9619 | * diagnostic.c (report_problematic_module): New function. | |
9620 | (report_error_function): Tweak. | |
9621 | ||
c4a6c0f3 RK |
9622 | Tue Aug 22 02:31:26 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
9623 | ||
9624 | * stmt.c (expand_goto_internal, fixup_gotos): Only check | |
9625 | TYPE_RETURNS_STACK_DEPRESSED for FUNCTION_TYPE. | |
9626 | ||
770a7feb RH |
9627 | 2000-08-21 Richard Henderson <rth@cygnus.com> |
9628 | ||
9629 | * flow.c (calculate_global_regs_live): Mark frame pointer live | |
9630 | everywhere before reload. | |
9631 | ||
280db205 JW |
9632 | 2000-08-21 Jim Wilson <wilson@cygnus.com> |
9633 | ||
9634 | * real.c (ereal_from_int, ereal_from_uint, significand_size): Handle | |
9635 | INTEL_EXTENDED_IEEE_FORMAT. | |
9636 | (toe64): Delete INTEL_EXTENDED_IEEE_FORMAT support. Unconditionally | |
9637 | clear last two bytes of output FP value. | |
9638 | ||
94c21c17 GS |
9639 | 2000-08-21 Graham Stott <grahams@cygnus.co.uk> |
9640 | ||
9641 | * config/ia64/ia64.h (REDO_SECTION_INFO_P): Change decl to DECL. | |
9642 | ||
6315f068 JJ |
9643 | 2000-08-21 Jakub Jelinek <jakub@redhat.com> |
9644 | ||
9645 | * unroll.c (loop_find_equiv_value): If ret is modified between | |
9646 | insn and loop_start, ret might not be equivalent to reg. | |
9647 | ||
5804a754 JM |
9648 | 2000-08-21 Joseph S. Myers <jsm28@cam.ac.uk> |
9649 | ||
9650 | * c-common.c (init_dollar_format_checking, | |
9651 | maybe_read_dollar_number, finish_dollar_format_checking): New | |
9652 | functions. | |
9653 | (dollar_arguments_used, dollar_arguments_count, | |
9654 | dollar_first_arg_num, dollar_max_arg_used, dollar_format_warned): | |
9655 | New variables. | |
9656 | (check_format_info): Support $ formats for scanf and printf width | |
9657 | and precision. Always increment format_chars to advance past the | |
9658 | '*' of precision, not just when the format parameters are | |
9659 | available to check. | |
9660 | ||
95adab8e KG |
9661 | 2000-08-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
9662 | ||
9663 | * mips.c (block_move_loop, expand_block_move, | |
9664 | function_arg_partial_nregs, save_restore_insns, function_prologue, | |
9665 | mips_expand_prologue, RA_MASK): Avoid using the `U' integer | |
9666 | constant suffix. | |
9667 | (function_arg_advance, function_arg): Match argument to format | |
9668 | specifier `%p'. | |
9669 | ||
49009afd JL |
9670 | 2000-08-21 Nix <nix@esperi.demon.co.uk> |
9671 | ||
9672 | * gcc.c (do_spec_1): Implement %j spec flag. | |
9673 | Remove dead comment. | |
9674 | ||
9675 | * gcc.texi (The Configuration File): Document HOST_BIT_BUCKET. | |
60a3c181 RH |
9676 | * system.h (HOST_BIT_BUCKET): Default to "/dev/null". |
9677 | * config/i386/xm-dos.h (HOST_BIT_BUCKET): Define as "NUL". | |
9678 | * config/i386/xm-os2.h, config/winnt/winnt.h: Likewise. | |
49009afd | 9679 | |
60a3c181 | 9680 | * protoize.c (munge_compile_params): Use HOST_BIT_BUCKET (if |
49009afd JL |
9681 | writable) instead of hardcoded value. |
9682 | ||
9683 | * toplev.c (compile_file): Output to a file even if -fsyntax-only. | |
9684 | ||
60a3c181 RH |
9685 | * gcc.c, config/i386/xm-dos.h, config/i386/xm-os2.h: Kill |
9686 | MKTEMP_EACH_FILE. | |
49009afd | 9687 | |
60a3c181 | 9688 | * gcc.c (cc1_options): Do not process -o or run the assembler if |
49009afd | 9689 | -fsyntax-only. |
05a3d06e | 9690 | * objc/lang-spec.h: Likewise. |
49009afd JL |
9691 | |
9692 | 2000-08-21 Eli Zaretskii <eliz@is.elta.co.il> | |
dc13bad7 EZ |
9693 | |
9694 | * fixinc/fixincl.c (fix_with_system): Pipe the output of | |
9695 | "external" fixes through `cat', to avoid truncating the input | |
9696 | file by redirection. | |
9697 | ||
cb694d2c JJ |
9698 | 2000-08-21 Jakub Jelinek <jakub@redhat.com> |
9699 | ||
9700 | * config/i386/i386.md (lea_general_1): Copy insn condition to split | |
9701 | condition. | |
9702 | (lea_general_2, lea_general_3): Likewise. | |
9703 | ||
cde6e684 KG |
9704 | 2000-08-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
9705 | ||
9706 | * c-decl.c (duplicate_decls, define_label): Restrict -Wtraditional | |
9707 | warnings to user code. | |
9708 | ||
9709 | * c-lex.c (readescape, yylex): Likewise. | |
9710 | ||
9711 | * c-typeck.c (store_init_value, process_init_element): Likewise | |
9712 | (c_expand_start_case): Format. | |
9713 | ||
120dc6cd MR |
9714 | 2000-08-18 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
9715 | ||
9716 | * mips/linux.h (LINK_SPEC): Use %(endian_spec). | |
9717 | ||
9718 | * mips/mips.h: Change LINKER_ENDIAN_SPEC to ENDIAN_SPEC | |
0e5921e8 | 9719 | and linker_endian_spec to endian_spec. |
120dc6cd MR |
9720 | (ENDIAN_SPEC): Add %{EB} and %{EL}. |
9721 | (LINK_SPEC): Remove %{EB} and %{EL}. | |
0e5921e8 | 9722 | (ASM_SPEC): Likewise. Use %(endian_spec). |
120dc6cd | 9723 | |
93e2382f JM |
9724 | 2000-08-21 Joseph S. Myers <jsm28@cam.ac.uk> |
9725 | ||
9726 | * c-tree.h (flag_hosted): Move declaration from here... | |
9727 | * c-common.h (flag_hosted): ... to here. | |
9728 | (flag_noniso_default_format_attributes): New declaration. | |
9729 | * c-decl.c (flag_noniso_default_format_attributes): New variable. | |
9730 | (c_decode_option): Set it appropriately for options choosing | |
9731 | language standard variant. | |
9732 | * c-common.c (init_function_format_info): Only provide default | |
9733 | format attributes if flag_hosted. Only provide the gettext | |
9734 | formats if flag_noniso_default_format_attributes. Update | |
9735 | comments. | |
9736 | (check_format_info): Disable treatment of %a as a scanf flag in | |
9737 | C99 mode. | |
9738 | ||
f3d360aa JM |
9739 | 2000-08-21 Joseph S. Myers <jsm28@cam.ac.uk> |
9740 | ||
9741 | * c-common.c (scan_char_table): Add 'w' to flags for all formats | |
9742 | except 'n'. | |
9743 | (check_format_info): Set 'wide' for scanf format widths. Warn for | |
9744 | a zero scanf width. Make the check for writing into a constant | |
9745 | object at the first level of indirection; at later levels, warn if | |
9746 | any type qualifiers are encountered. | |
9747 | ||
e04ca094 JL |
9748 | Mon Aug 21 07:41:12 2000 Jeffrey A Law (law@cygnus.com) |
9749 | ||
e6ea3b5f JL |
9750 | * reload.c (reload_inner_reg_of_subreg): New function broken out of |
9751 | push_reload. | |
9752 | (push_reload): Use reload_inner_reg_of_subreg. | |
9753 | (combine_reloads): Do not combine reloads if the input reload | |
9754 | is a SUBREG in which the inner part will need reloading. | |
9755 | ||
e04ca094 JL |
9756 | * global.c (global_alloc): Avoid passing dumpfile argument to |
9757 | reload routines. | |
9758 | * toplev.c (rest_of_compilation): Likewise. | |
9759 | * reload.h (reload): Remove dumpfile argument. Callers changed. | |
9760 | (debug_reload, debug_reload_to_stream): Move prototypes here. | |
9761 | * rtl.h (reload): Remove dumpfile argument. | |
9762 | * reload.c (debug_reload): Remove prototype. | |
9763 | (debug_reload_to_stream): Likewise. | |
9764 | * reload1.c: Avoid passing dumpfile around, rely on rtl_dump_file | |
9765 | instead. | |
9766 | ||
24805e80 GDR |
9767 | 2000-08-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com> |
9768 | ||
9769 | * diagnostic.c (context_as_prefix): Export. | |
9770 | (need_error_newline): Remove. | |
9771 | (lang_diagnostic_starter, lang_diagnostic_finalizer): New objects. | |
9772 | (error_module_changed, record_last_error_module, | |
9773 | error_function_changed, record_last_error_function): New functions. | |
9774 | (initialize_diagnostics): Default intialize | |
9775 | lang_diagnostic_starter, lang_diagnostic_finalizer. | |
9776 | (init_output_buffer): Tweak. | |
9777 | (file_name_as_prefix): New function. | |
9778 | (announce_function, default_print_error_function, | |
9779 | report_error_function, set_diagnostic_context): Tweak. | |
9780 | ||
056b6841 RE |
9781 | 2000-08-21 Richard Earnshaw <rearnsha@arm.com> |
9782 | ||
9783 | * flow.c (init_propagate_block_info): Handle SUBREG in a jump | |
9784 | condition expression. | |
9785 | ||
7171b491 RH |
9786 | 2000-08-20 Richard Henderson <rth@cygnus.com> |
9787 | ||
9788 | * flow.c (merge_blocks_nomove): Don't seek back past the bb note. | |
9789 | ||
3cb553b4 ZW |
9790 | 2000-08-20 Zack Weinberg <zack@wolery.cumb.org> |
9791 | ||
9792 | * cppinit.c (cpp_init): Set global flag when called. | |
9793 | (cpp_reader_init): Bomb out if cpp_init hasn't been called. | |
9794 | ||
9861b0c9 | 9795 | Sun Aug 20 01:41:35 2000 Dennis Chernoivanov <cdi@sparc.spb.su> |
3cb553b4 | 9796 | |
60a3c181 RH |
9797 | * cpplex.c (cpp_scan_buffer): Move `output_line_command' just |
9798 | before `process_directive' so that newlines won't be missed | |
9799 | for directives. | |
9800 | (cpp_printf): Increment `print->lineno' when newline is emitted. | |
3cb553b4 | 9801 | |
60a3c181 RH |
9802 | * cppmain.c (cb_ident): Likewise. |
9803 | (cb_define): Likewise. | |
9804 | (cb_undef): Likewise. | |
9805 | (cb_include): Likewise. | |
9806 | (cb_def_pragma): Likewise. | |
9807 | (dump_macros_helper): Likewise. | |
3cb553b4 | 9808 | |
9c668921 RH |
9809 | 2000-08-20 Richard Henderson <rth@cygnus.com> |
9810 | ||
9811 | * config/ia64/ia64.c (emit_insn_group_barriers): Stop if ar.lc | |
9812 | assigned before a loop. | |
9813 | ||
9814 | * config/ia64/ia64.md (ashlsi3): Zero extend the shift count. | |
9815 | (ashrsi3, lshrsi3): Likewise. | |
9816 | ||
4e1e6a01 GDR |
9817 | 2000-08-20 Gabriel Dos Reis <gdr@codesourcery.com> |
9818 | ||
9819 | * c-lang.c: #include diagnostic.h | |
9820 | (c_tree_printer): New function. | |
9821 | (lang_init): Initialize lang_printer. | |
9822 | ||
9823 | * Makefile.in (c-lang.o): Depends on diagnostic.h | |
9824 | ||
e2840263 GDR |
9825 | 2000-08-20 Gabriel Dos Reis <gdr@codesourcery.com> |
9826 | ||
9827 | * c-errors.c (pedwarn_c99): Adjust call to report_diagnostic. | |
9828 | ||
9829 | * diagnostic.c (default_diagnostic_starter, | |
9830 | default_diagnostic_finalizer): New functions. | |
9831 | (diagnostic_for_asm, diagnostic_for_decl): Tweak. | |
9832 | (pedwarn, pedwarn_with_file_and_line, error, | |
9833 | error_with_file_and_line, fatal, warning, | |
9834 | warning_with_file_and_line): Adjust call to report_diagnostic. | |
9835 | (report_diagnostic): Rework. | |
9836 | (set_diagnostic_context): New function. | |
9837 | ||
9838 | * diagnostic.h (struct diagnostic_context): New data structure. | |
9839 | (diagnostic_message, diagnostic_argument_list, | |
9840 | diagnostic_file_location, diagnostic_line_location, | |
9841 | diagnostic_is_warning, diagnostic_starter, diagnostic_finalizer, | |
9842 | diagnostic_finalizer, diagnostic_auxiliary_data): New macros. | |
9843 | (set_diagnostic_context): Declare. | |
9844 | (report_diagnostic): Change prototype. | |
9845 | ||
574f7425 NB |
9846 | Sun 20-Aug-2000 09:25:45 BST Neil Booth <NeilB@earthling.net> |
9847 | ||
9848 | * fix-header.c (main): Initialize cpplib. | |
9849 | ||
f1e42c81 MM |
9850 | 2000-08-19 Michael Meissner <meissner@redhat.com> |
9851 | ||
34c9e848 MM |
9852 | * ifcvt.c (find_if_block): Do not assume that a THEN block has any |
9853 | instructions in it before checking for indirect jumps. | |
9854 | ||
f1e42c81 MM |
9855 | * ifcvt.c (find_if_block): Do not consider a THEN block that ends |
9856 | in a indirect jump as a potential for conditional execution. | |
9857 | ||
9858 | * d30v.h (d30v_init_expanders): Don't declare here. | |
9859 | * d30v-protos.h (d30v_init_expanders): Declare here with a valid | |
9860 | prototype. | |
9861 | ||
9d6c2770 NB |
9862 | Sat 19-Aug-2000 21:11:45 BST Neil Booth <NeilB@earthling.net> |
9863 | ||
9864 | * cpp.texi: Add @section for assertions. | |
9865 | ||
e76d9acb JW |
9866 | Sat Aug 19 12:37:08 EDT 2000 John Wehle (john@feith.com) |
9867 | ||
9868 | * loop.c (scan_loop): Use CONST_CALL_P instead of | |
9869 | checking for REG_LIBCALL / REG_RETVAL. | |
9870 | ||
f49957d6 JL |
9871 | Sat Aug 19 09:18:47 2000 Jeffrey A Law (law@cygnus.com) |
9872 | ||
850aac53 JL |
9873 | * reload1.c (reload_as_needed): Accept dumpfile argument, |
9874 | pass it to emit_reload_insns. | |
9875 | (emit_reload_insns): Add new dumpfile argument. If non-null | |
9876 | then dump the reloads for each insn into the dumpfile. | |
9877 | (reload): Pass dumpfile to reload_as_needed. | |
9878 | ||
f49957d6 JL |
9879 | * invoke.texi: Clean up linux-gnu vs linux comments. |
9880 | ||
041f25e6 RH |
9881 | 2000-08-19 Richard Henderson <rth@cygnus.com> |
9882 | ||
9883 | * config/ia64/ia64.c (reg_or_5bit_operand): New. | |
9884 | (ia64_depz_field_mask): New. | |
9885 | * config/ia64/ia64.h (CONSTRAINT_OK_FOR_R): New. | |
9886 | (PREDICATE_CODES): Update. | |
9887 | * config/ia64/ia64.md: Update commentary. | |
9888 | (depz_internal): New. | |
9889 | (ashlsi3): Implement directly. | |
9890 | (ashrsi3, lshrsi3): Simplify; rely on extv and extzv for constants. | |
9891 | (ashldi3): Use shladd. | |
9892 | * config/ia64/ia64-protos.h: Update. | |
9893 | ||
319ea138 ZW |
9894 | 2000-08-18 Zack Weinberg <zack@wolery.cumb.org> |
9895 | ||
9896 | * toplev.c (independent_decode_option): Always process -g. | |
9897 | Remove third argument, now unused. Adjust caller to match. | |
9898 | ||
8231ad94 RH |
9899 | 2000-08-18 Richard Henderson <rth@cygnus.com> |
9900 | ||
9901 | * combine.c (make_compound_operation): Break after creating | |
9902 | the extraction. | |
9903 | ||
6e19bb38 ZW |
9904 | 2000-08-18 Zack Weinberg <zack@wolery.cumb.org> |
9905 | ||
9906 | * cpplib.c (cpp_register_pragma_space): Just return if the | |
9907 | namespace is already registered. | |
9908 | ||
477d303f RE |
9909 | 2000-08-18 Ray Essick <essick@ddna.labs.mot.com> & Nick Clifton <nickc@redhat.com> |
9910 | ||
9911 | * config/mcore/mcore.md (rotlsi3): Allow allow rotations by a | |
9912 | constant amount. Do not generate ROTL instruction. | |
9913 | ||
ffe51c8a AO |
9914 | Fri Aug 18 16:22:20 2000 Alexandre Oliva <aoliva@redhat.com> |
9915 | ||
9916 | * config/sh/elf.h: Do not include sh/sh.h. | |
9917 | * config/sh/rtems.h: Likewise. | |
9918 | * config/sh/rtemself.h: Do not include sh/elf.h. | |
9919 | * configure.in: Get them included with `tm_file's. | |
9920 | * configure: Rebuilt. | |
9921 | ||
8845e874 AO |
9922 | * config/sh/sh.md (fpu_switch0, fpu_switch1): Simplify. |
9923 | * config/sh/sh.c (fpscr_set_from_mem): Use them. | |
9924 | ||
3f546a53 RK |
9925 | Fri Aug 18 14:23:18 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
9926 | ||
7d2950e5 RK |
9927 | * stor-layout.c (compute_record_type): Don't use mode of single |
9928 | field as mode of record if not integer mode of same type. | |
9929 | ||
a1c1fdd0 RK |
9930 | * regmove.c (perhaps_ends_bb_p): New function. |
9931 | (optimize_reg_copy_1, optimize_reg_copy_2): Call it. | |
9932 | (optimize_reg_copy_3, fixup_match_2, regmove_optimize): Likewise. | |
9933 | (fixup_match_1): Likewise. | |
9934 | (fixup_match_1, combine_stack_adjustments_for_block): Add casts to | |
9935 | avoid signed/unsigned warnings. | |
0e5921e8 | 9936 | |
3f546a53 RK |
9937 | * function.c (fixup_var_refs_1, case MEM): Update CODE after |
9938 | updating X. | |
9939 | ||
61d0346d NB |
9940 | Fri 18-Aug-2000 18:33:45 BST Neil Booth <NeilB@earthling.net> |
9941 | ||
9942 | * cpphash.h: Use HAVE_DESIGNATED_INITIALIZERS. | |
9943 | (_cpp_trigraph_map): Declaration moved from cpplex.c | |
9944 | ||
9945 | * cppinit.c: Define _cpp_trigraph_map. Use UCHAR_MAX + 1 | |
9946 | instead of 256. Use consistent test for designated initializers. | |
9947 | (cpp_init): Initialize trigraph_map. | |
9948 | (initialize_standard_includes, parse_option): Use memcmp | |
9949 | instead of strncmp. | |
9950 | ||
9951 | * cpplex.c (init_trigraph_map): Remove. | |
9952 | (trigraph_ok, trigraph_replace, lex_line): Refer to | |
9953 | _cpp_trigraph_map. | |
9954 | ||
9955 | * cpplib.c (str_match, WARNING, ERROR, ICE): Delete. | |
9956 | (do_unassert): Remove unused "next" local. | |
9957 | ||
9958 | * system.h (HAVE_DESIGNATED_INITIALIZERS): New prototype. | |
9959 | ||
ef42b1dd EM |
9960 | 2000-08-18 Emmanuel Marty <emarty@suntech.fr> |
9961 | ||
9962 | * arm/lib1funcs.asm (_umodsi3 THUMB VARIANT): Restore deleted return | |
9963 | insn. | |
9964 | ||
bc08aefe RH |
9965 | 2000-08-17 Richard Henderson <rth@cygnus.com> |
9966 | ||
9967 | * config/ia64/ia64.c (spill_restore_mem): Handle emitting | |
9968 | the first insn in a sequence. | |
9969 | ||
49982682 JW |
9970 | Thu Aug 17 22:40:05 EDT 2000 John Wehle (john@feith.com) |
9971 | ||
9972 | * alias.c (true_dependence, write_dependence_p): A read | |
9973 | involving a label_ref or the constant pool doesn't create | |
9974 | a dependency. | |
9975 | ||
9976 | * rtl.h (unchanging): Improve documentation. | |
9977 | ||
889e5964 RB |
9978 | 2000-08-17 Rodney Brown <RodneyBrown@mynd.com> |
9979 | ||
9980 | * cse.c (insert_regs): Remove unused `regno'. | |
9981 | ||
dd69c71b NB |
9982 | 2000-08-17 Neil Booth <NeilB@earthling.net> |
9983 | ||
9984 | * (cppinit.c) merge_include_chains: Use remove_dup_dir, | |
9985 | remove_dup_dirs. If qtail == brack, remove brack not | |
9986 | qtail. | |
9987 | (remove_dup_dir, remove_dup_dirs): New functions. | |
9988 | ||
709e9e50 NB |
9989 | 2000-08-17 Neil Booth <NeilB@earthling.net> |
9990 | ||
9991 | * cppinit.c (cpp_cleanup): Free include dir chains. | |
9992 | * cpplib.c (do_undef): Let _cpp_free_definition make the node void. | |
9993 | (do_unassert): Free the assert with _cpp_free_definition. | |
9994 | * cppmacro.c (_cpp_free_definition): Free memory allocated for | |
9995 | assertions. Make the node a T_VOID node. | |
9996 | ||
e33f6253 NB |
9997 | 2000-08-17 Neil Booth <NeilB@earthling.net> |
9998 | ||
9999 | * cppinit.c (path_include, append_include_chain): | |
10000 | Remove 2nd parameter (struct cpp_pending *). | |
10001 | (path_include, initialize_standard_includes, cpp_handle_option): | |
10002 | Update callers appropriately. | |
10003 | (cpp_handle_option): Use pend. | |
10004 | ||
c154ba66 NB |
10005 | 2000-08-17 Neil Booth <NeilB@earthling.net> |
10006 | ||
10007 | * cppinit.c (sort_options): Remove, put functionality in | |
10008 | cpp_init. | |
10009 | (cpp_init): New. | |
10010 | (initialize_builtins): Free memory. | |
10011 | (cpp_start_read): Move init_IStable to cpp_init. | |
10012 | ||
10013 | * cpplib.h (cpp_init): New prototype. | |
10014 | * cppmain.c (main): Call cpp_init. | |
10015 | ||
9c82ac6b JW |
10016 | Thu Aug 17 13:20:32 EDT 2000 John Wehle (john@feith.com) |
10017 | ||
10018 | * rtlanal.c (rtx_unstable_p): Use CONSTANT_P. | |
10019 | (rtx_unstable_p, rtx_varies_p): Process vectors. | |
10020 | ||
acd50a92 NY |
10021 | 2000-08-16 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp> |
10022 | ||
10023 | * config/sh/lib1funcs.asm (GLOBAL): Define. Use for all | |
10024 | references to GLOBAL symbols. Use LOCAL where appropriate. | |
10025 | ||
cfedbb1f KG |
10026 | 2000-08-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
10027 | ||
10028 | * configure.in (*-ibm-aix4.[12]*): Delete test for gnu ld. Always | |
10029 | use t-aix41 when host == target. | |
10030 | ||
31989264 RH |
10031 | 2000-08-16 Richard Henderson <rth@cygnus.com> |
10032 | ||
10033 | * reload.c (push_secondary_reload): Revert last change. | |
10034 | If we use a reload_in/out pattern, make the when the same | |
10035 | as the primary reload. | |
10036 | (find_reloads): Likewise. | |
10037 | ||
d84c5634 MH |
10038 | 2000-08-16 Manfred Hollstein <manfredh@redhat.com> |
10039 | ||
10040 | * configure.in (libstdcxx-v3): Fix test. | |
10041 | * configure: Regenerate. | |
10042 | ||
43db0363 RK |
10043 | Wed Aug 16 08:10:32 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
10044 | ||
10045 | * calls.c (calls_function_1, expand_call): Only test | |
10046 | TYPE_RETURNS_STACK_DEPRESSED for FUNCTION_TYPE. | |
10047 | * function.c (thread_prologue_and_epilogue_insns): Likewise. | |
10048 | ||
853d8828 RH |
10049 | 2000-08-16 Richard Henderson <rth@cygnus.com> |
10050 | ||
10051 | * combine.c (simplify_shift_const): Revert previous two | |
10052 | changes. If SHIFT_COUNT_TRUNCATED, crop the shift count | |
10053 | before the main loop. | |
10054 | ||
3e626beb RH |
10055 | 2000-08-15 Richard Henderson <rth@cygnus.com> |
10056 | ||
10057 | * combine.c (simplify_shift_const): Bound shift count when | |
10058 | combining shifts. | |
10059 | ||
f507188a RK |
10060 | Tue Aug 15 17:33:05 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
10061 | ||
7393c642 RK |
10062 | * calls.c (ECF_SP_DEPRESSED): New macro. |
10063 | (calls_function_1): Treat calling sp-depressed function as alloca. | |
10064 | (emit_call_1): Don't adjust SP if calling sp-depressed function. | |
10065 | (expand_call): Set ECF_SP_DEPRESSED if TYPE_RETURNS_STACK_DEPRESSED. | |
10066 | If sp-depressed, ensure block saves and restores SP. | |
10067 | * fold-const.c (extract_muldiv): Only check TYPE_IS_SIZETYPE | |
10068 | for INTEGER_TYPE. | |
10069 | * function.c (keep_stack_depressed): New function. | |
10070 | (thread_prologue_and_epilogue_insns): Call it. | |
10071 | * print-tree.c (print_node): Use HOST_WIDE_INT_PRINT_UNSIGNED | |
10072 | to print DECL_OFFSET_ALIGN. | |
10073 | Print no-force-blk and transparent-union flags properly. | |
10074 | * stmt.c (expand_goto_internal): Don't restore stack if last block | |
10075 | and function returns with sp depressed. | |
10076 | (fixup_gotos): Likewise. | |
10077 | (save_stack_pointer): New function, from code in expand_decl. | |
10078 | (expand_decl): Call new function. | |
10079 | * tree.h (TYPE_IS_SIZETYPE): Call INTEGER_TYPE_CHECK. | |
10080 | (TYPE_RETURNS_STACK_DEPRESSED): New macro. | |
10081 | (save_stack_pointer): New declaration. | |
10082 | ||
f507188a RK |
10083 | * diagnostic.c (fatal_function): New variable. |
10084 | (set_fatal_function): New function. | |
10085 | (fatal): Call it. | |
10086 | * diagnostic.h (set_fatal_function): New declaration. | |
10087 | ||
56847207 WC |
10088 | 2000-08-15 William Cohen <wcohen@redhat.com> |
10089 | ||
10090 | * config/sh/elf.h (DWARF2_DEBUGGING_INFO): Defined. | |
10091 | (PREFERRED_DEBUGGING_TYPE): Set to dwarf2 info. | |
10092 | (DWARF2_ASM_LINE_DEBUG_INFO): Defined. | |
10093 | ||
7791b7f9 RH |
10094 | 2000-08-15 Richard Henderson <rth@cygnus.com> |
10095 | ||
10096 | * flow.c (mark_used_reg): Set reg_cond_reg appropriately. | |
10097 | ||
f99fce0c RE |
10098 | 2000-08-15 Richard Earnshaw <rearnsha@arm.com> |
10099 | ||
10100 | * arm.c (arm_function_ok_for_sibcall): New function. | |
10101 | * arm.h (FUNCTION_OK_FOR_SIBCALL): Define. | |
10102 | * arm.md (call expanders): Don't check here for calls that can't | |
10103 | be sibling calls. | |
10104 | ||
74da3101 RE |
10105 | 2000-08-15 Richard Earnshaw <rearnsha@arm.com> |
10106 | ||
10107 | * arm.md (splits generating cond_exec): Disable. | |
10108 | ||
2c210617 RE |
10109 | 2000-08-15 Richard Earnshaw <rearnsha@arm.com> |
10110 | ||
10111 | * arm/linux-elf.h (text_section): Delete declaration. | |
10112 | ||
05ed98a1 RE |
10113 | 2000-08-15 Richard Earnshaw <rearnsha@arm.com> |
10114 | ||
10115 | ARM support for unordered FP operations. | |
10116 | * arm-protos.h (arm_comparison_operator): Declare. | |
10117 | * arm.c (arm_comparison_operator): New function. | |
10118 | (arm_select_cc_mode): Add unordered comparison codes. | |
10119 | (get_arm_condition_code): Likewise. | |
10120 | (arm_final_prescan_insn): Can't handle unordered jumps that can't | |
10121 | be done in one insn. | |
10122 | * arm.h (PREDICATE_CODES): Add arm_comparison_operator. | |
10123 | * arm.md (all uses of comparison_operator): Replace with | |
10124 | arm_comparison_operator. | |
10125 | (bunordered, bordered, bugt, bunlt, bunge, bunle, buneq, bltgt): New | |
10126 | expands. | |
10127 | (arm_buneq, arm_bltgt, arm_buneq_reversed, arm_bltgt_reveresed): New | |
10128 | patterns. | |
0e5921e8 | 10129 | |
ed78c862 OP |
10130 | Tue Aug 15 00:36:36 2000 Ovidiu Predescu <ovidiu@cup.hp.com> |
10131 | ||
10132 | * gthr-posix.h: Conditionally include <sched.h>; include | |
10133 | <config.h> from libobjc/. | |
10134 | ||
4859dd36 RH |
10135 | 2000-08-14 Richard Henderson <rth@cygnus.com> |
10136 | ||
10137 | * config/i386/i386.c (legitimize_pic_address): Use Pmode | |
10138 | for all CONSTs. | |
10139 | ||
3f622353 RH |
10140 | 2000-08-14 Richard Henderson <rth@cygnus.com> |
10141 | ||
10142 | * configure.in (ia64-*): Set float_format for i386 long double. | |
10143 | ||
10144 | * real.c (GET_REAL): Treat 128-bit INTEL_EXTENDED_IEEE_FORMAT | |
10145 | as we would for i386 XFmode. | |
10146 | (PUT_REAL): Likewise. | |
10147 | (endian, ereal_atof, real_value_truncate): Likewise. | |
10148 | (ereal_isneg, toe64, etens, make_nan): Likewise. | |
10149 | * real.h (REAL_VALUE_TO_TARGET_LONG_DOUBLE): Likewise. | |
10150 | ||
10151 | * config/ia64/ia64-protos.h: Update. | |
10152 | * config/ia64/ia64.c (general_tfmode_operand): New. | |
10153 | (destination_tfmode_operand): New. | |
10154 | (tfreg_or_fp01_operand): New. | |
10155 | (ia64_split_timode): New. | |
10156 | (spill_tfmode_operand): New. | |
10157 | (ia64_expand_prologue): Use TFmode not XFmode. | |
10158 | (ia64_expand_epilogue): Likewise. | |
10159 | (ia64_function_arg): Likewise. | |
10160 | (ia64_function_arg_advance): Likewise. | |
10161 | (ia64_return_in_memory): Likewise. | |
10162 | (ia64_function_value): Likewise. | |
10163 | (ia64_print_operand): Likewise. | |
10164 | (ia64_register_move_cost): Set GR<->FR to 5. | |
10165 | (ia64_secondary_reload_class): Get GR for TImode memory op. | |
10166 | * config/ia64/ia64.h (ROUND_TYPE_SIZE): Remove. | |
10167 | (ROUND_TYPE_ALIGN): Remove. | |
10168 | (LONG_DOUBLE_TYPE_SIZE): Set to 128. | |
10169 | (INTEL_EXTENDED_IEEE_FORMAT): Define. | |
10170 | (HARD_REGNO_NREGS): Use TFmode, not XFmode. | |
10171 | (HARD_REGNO_MODE_OK): Likewise. Disallow TImode in FRs. | |
10172 | (MODES_TIEABLE_P): Use TFmode, not XFmode. | |
10173 | (CLASS_MAX_NREGS): Likewise. | |
10174 | (ASM_OUTPUT_LONG_DOUBLE): Output by 4 byte hunks. | |
10175 | (PREDICATE_CODES): Update. | |
10176 | * config/ia64/ia64.md (movti): New. | |
10177 | (movti_internal): Use a clobber for memory alternatives. | |
10178 | (reload_inti, reload_outti): New. | |
10179 | (movsfcc_astep): Predicate properly. | |
10180 | (movdfcc_astep): Likewise. | |
10181 | (movxf): Remove. | |
10182 | (movtf): New. | |
10183 | (extendsftf2, extenddftf2): New. | |
10184 | (trunctfsf2, trunctfdf2): New. | |
10185 | (floatditf2, fix_trunctfdi2): New. | |
10186 | (floatunsditf2, fixuns_trunctfdi2): New. | |
10187 | (addtf3, subtf3, multf3, abstf2): New. | |
10188 | (negtf2, nabstf2, mintf3, maxtf3): New. | |
10189 | (maddtf3, msubtf3, nmultf3, nmaddtf3): New. | |
10190 | (cmptf): New. | |
10191 | (fr_spill): Use TFmode, not XFmode. | |
10192 | (fr_restore): Likewise. | |
10193 | * config/ia64/lib1funcs.asm (__divtf3): New. | |
10194 | * config/ia64/t-ia64 (LIB1ASMFUNCS): Add it. | |
10195 | ||
e49a1d2e KG |
10196 | 2000-08-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
10197 | ||
10198 | * cse.c (fold_rtx): Avoid empty body in an if-statement. | |
0e5921e8 | 10199 | |
e49a1d2e KG |
10200 | * doloop.c (doloop_iterations_max, doloop_modify): Avoid using the |
10201 | `U' integer constant suffix. | |
10202 | ||
10203 | * dwarf2out.c (add_subscript_info): Avoid empty body in an | |
10204 | else-statement. | |
10205 | ||
10206 | * sparc/sol2.h (__enable_execute_stack): Prototype. | |
10207 | ||
78fbdbf7 DE |
10208 | 2000-08-14 David Edelsohn <edelsohn@gnu.org> |
10209 | ||
10210 | * collect2.c: Remove use of AIX import file. | |
10211 | ||
10212 | * longlong.h: Test ARCH_PWR not ARCH_POWER. | |
10213 | ||
10214 | * rs6000.c (print_operand, case 'E'): Add else. | |
10215 | ||
9a89adb8 RH |
10216 | 2000-08-14 Richard Henderson <rth@cygnus.com> |
10217 | ||
10218 | * config/ia64/ia64.md (movdi): Delay calling ia64_expand_load_address. | |
10219 | (movdi_symbolic): New. | |
10220 | ||
00e149c7 JW |
10221 | 2000-08-14 Jim Wilson <wilson@cygnus.com> |
10222 | ||
10223 | * config/ia64/ia64.h (ASM_SPEC): Pass -mconstant-gp and -mauto-pic | |
10224 | to GNU as. For Intel as, pass -M const_gp and -M no_plabel. | |
10225 | * config/ia64/linux.h (ASM_SPEC): Pass -mconstant-gp and -mauto-pic | |
10226 | to GNU as. | |
10227 | ||
2ee5437b RH |
10228 | 2000-08-14 Richard Henderson <rth@cygnus.com> |
10229 | ||
10230 | * expr.c (emit_group_load): Don't force constants into registers. | |
10231 | Special case source already in the correct mode. | |
10232 | ||
57119aa9 ZW |
10233 | 2000-08-14 Zack Weinberg <zack@wolery.cumb.org> |
10234 | ||
10235 | * configure.in: Accept *-*-linux* not just *-*-linux-gnu*. | |
10236 | * fixinc/inclhack.def: Likewise. | |
0e5921e8 | 10237 | * fixinc/mkfixinc.sh: Likewise. |
57119aa9 ZW |
10238 | * configure: Regenerate. |
10239 | * fixinc/fixincl.x: Regenerate. | |
10240 | * install.texi: Document equivalence of linux and linux-gnu. | |
10241 | ||
d9f20424 R |
10242 | Mon Aug 14 18:51:44 2000 J"orn Rennecke <amylaar@cygnus.co.uk> |
10243 | ||
10244 | * cse.c (insert_regs): Also in REG case: When finding an invalid | |
10245 | value, and we make a new quantity, make sure that it won't be | |
10246 | mistaken by for a valid one by mention_regs. | |
10247 | ||
c8fa6556 RG |
10248 |