]>
Commit | Line | Data |
---|---|---|
cf14485b MM |
1 | 2000-12-12 Marek Michalkiewicz <marekm@linux.org.pl> |
2 | ||
3 | * config/avr/avr.c (out_set_stack_ptr): Update comment. | |
4 | (print_operand): Add support for %~ and %o. | |
5 | ||
8e0ed3b5 HB |
6 | 2000-12-17 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
7 | ||
8 | * c4x.h: Add ASM_OUTPUT_DEF definition for bounded pointer code. | |
9 | ||
ad2a084d NB |
10 | 2000-12-17 Neil Booth <neil@daikokuya.demon.co.uk> |
11 | ||
12 | * c-lex.c: Move main_input_filename handling to FC_ENTER. Clean up. | |
13 | * cpperror.c (print_containing_files): Get right line number. | |
14 | (print_location): Output column of 1 if 0. | |
15 | * cppfiles.c (stack_include_file): cpp_push_buffer handles | |
16 | the callback. | |
17 | * cpphash.h (_cpp_do_file_change): No longer external. | |
18 | * cpplib.c (do_file_change): Now local to cpplib.c. | |
19 | (do_line): Fake a buffer stack for preprocessed files. | |
20 | (cpp_push_buffer): Create a file_change callback. Handle faked | |
21 | buffers. | |
22 | (cpp_pop_buffer): Similarly. | |
23 | * cpplib.h: BUF_FAKE: New buffer type. | |
24 | * cppmain.c: Update to handle correct file renaming where a | |
25 | #line is the first line of the main file, and produce only | |
26 | the renamed file, not the original file, as output. | |
27 | ||
3b67042a MH |
28 | 2000-12-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
29 | ||
30 | * config/c4x/c4x.md: Remove redundant @s from output patterns. | |
31 | ||
9f416fac MH |
32 | 2000-12-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
33 | Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> | |
34 | ||
35 | * config/c4x/c4x.h (REGISTER_TARGET_PRAGMAS): Call c4x_init_pragma. | |
36 | ||
37 | * config/c4x/c4x-protos.h (c4x_init_pragma): New prototype. | |
38 | ||
39 | * config/c4x/c4x.c (c4x_init_pragma): New function. | |
40 | (c_lex_func): New variable. | |
41 | (c4x_parse_pragma): Use c_lex_func. | |
42 | ||
94eebed9 MH |
43 | 2000-12-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
44 | Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> | |
45 | ||
46 | * config/c4x/c4x.h (MD_INIT_BUILTINS): Add void_list_node argument | |
47 | to c4x_init_builtins. | |
48 | ||
49 | * config/c4x/c4x-protos.h (c4x_init_builtins): Add tree argument. | |
50 | ||
51 | * config/c4x/c4x.c (c4x_init_builtins): Add tree argument. | |
52 | (c4x_output_ascii): Fix. | |
53 | ||
66f77154 | 54 | 2000-12-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
8a119a7d | 55 | Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
66f77154 | 56 | |
8a119a7d MH |
57 | * config/c4x/c4x.h (MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): Define. |
58 | ||
59 | * config/c4x/c4x-protos.h (c4x_init_builtins): New prototype. | |
60 | (c4x_expand_builtin): Likewise. | |
61 | ||
62 | * config/c4x/c4x.c (c4x_init_builtins): New function. | |
63 | (c4x_expand_builtin): Likewise. | |
64 | ||
65 | * config/c4x/c4x.md (floatunsqihf2): New pattern. | |
66 | (*floatqihf2_set, *fixhfqi_set, fix_trunchfqi2): Likewise. | |
67 | (fixuns_trunchfqi2, toieee, frieee, *ldhf_conditional): Likewise. | |
68 | (*ldhf_conditional_noov, movhfcc, trap, cond_trap_cc): Likewise. | |
69 | (*toieee_movqf_clobber, *frieee_movqf_clobber): Likewise. | |
70 | ||
71 | 2000-12-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz> | |
72 | ||
66f77154 MH |
73 | * libgcc2.h: Use Wtype for SItype and DWtype for DItype in prototypes. |
74 | * libgcc2.c (__absvsi2): Use Wtype and DWtype. | |
75 | (__absvdi2, __addvsi3, __addvdi3, __subvsi3): Likewise. | |
76 | (__subvdi3, __mulvsi3, __mulvdi3, __negvsi2, __negvdi2): Likewise. | |
77 | ||
f11009b7 AO |
78 | 2000-12-16 Alexandre Oliva <aoliva@redhat.com> |
79 | ||
80 | * config/sh/sh.h (INITIALIZE_TRAMPOLINE): Enclose the block | |
81 | statement in do/while(0). | |
82 | ||
2bed3391 JH |
83 | Sat Dec 16 19:56:24 MET 2000 Jan Hubicka <jh@suse.cz> |
84 | ||
85 | * i386.md (ashrsi3_cmpno, ashrhi3_cmpno, ashrqi3_cmpno, lshrsi3_cmpno, | |
86 | lshrhi3_cmpno): Remove redundant '@' from the template. | |
87 | ||
88 | * i386.md (cmpstrsi_1): Fix type of the compare. | |
89 | ||
90 | * genattrtab.c (attr_rtx_cost): New function. | |
91 | (simplify_test_exp): Avoid overactive inlining; use temporary | |
92 | obstacks for tests. | |
93 | ||
23cb454a RK |
94 | Sat Dec 16 10:41:11 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
95 | ||
67011d81 RK |
96 | * stor-layout.c (place_field): Treat overflowing DECL_SIZE_UNIT |
97 | as if size were variable. | |
98 | ||
23cb454a RK |
99 | * expmed.c (expand_mult): Write REG_EQUAL note with proper mode. |
100 | ||
3244472d NB |
101 | 2000-12-16 Neil Booth <neil@daikokuya.demon.co.uk> |
102 | ||
103 | * tradcpp.c: T_WARNING: New. | |
104 | (do_warning): New function. | |
105 | (finclude): Skip past the newline and increase the line number | |
106 | before calling output_line_command. | |
107 | (do_line): Skip the new line after output_line_command. Don't | |
108 | pre-decrement the line number. | |
109 | ||
112550d3 DN |
110 | 2000-12-15 Diego Novillo <dnovillo@redhat.com> |
111 | ||
112 | * i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix references to | |
113 | _GLOBAL_OFFSET_TABLE_ when using Intel syntax. | |
114 | ||
be768055 JJ |
115 | 2000-12-15 Jakub Jelinek <jakub@redhat.com> |
116 | ||
117 | * gcc.c (cpp_options): Pass -fno-operator-names. | |
118 | * cpplib.h (struct cpp_options): Add operator_names. | |
119 | * cppinit.c (cpp_create_reader): Initialize it. | |
120 | (initialize_builtins): If -fno-operator-names, don't add | |
121 | C++ alternate operator names. | |
122 | (COMMAND_LINE_OPTIONS): Add -fno-operator-names. | |
123 | (cpp_handle_option): Clear operator_names. | |
124 | ||
745b9093 JM |
125 | 2000-12-15 Jason Merrill <jason@redhat.com> |
126 | ||
127 | * jump.c (jump_optimize_1): Don't delete the line note after the | |
128 | prologue even if it seems redundant. | |
129 | ||
130 | * config/arm/arm.c (arm_expand_prologue): Set RTX_FRAME_RELATED_P | |
131 | on all insns used to adjust the stack. | |
132 | ||
ad334b51 JH |
133 | Fri Dec 15 15:32:16 MET 2000 Jan Hubicka <jh@suse.cz> |
134 | ||
135 | * combine.c (cant_combine_insn_p): Get around SUBREGs when determining | |
136 | hardreg<->reg moves. | |
137 | ||
29360e56 JH |
138 | Fri Dec 15 14:48:37 MET 2000 Jan Hubicka <jh@suse.cz> |
139 | ||
140 | * genrecog.c (add_to_sequence): Remove special case for | |
141 | const_int_operand. | |
142 | (maybe_both_true): Return 1 when falling out of sequence when | |
143 | trying to find common possition in the pattern. | |
144 | ||
dde068d9 JH |
145 | Fri Dec 15 14:44:51 MET 2000 Jan Hubicka <jh@suse.cz> |
146 | ||
147 | * integrate.c (copy_rtx_and_substitute): Copy mode too. | |
148 | ||
0bf7d71a JH |
149 | Fri Dec 15 14:11:57 MET 2000 Jan Hubicka <jh@suse.cz> |
150 | ||
151 | * flow.c (notice_stack_pointer_modification_1): Cleanup. | |
152 | ||
b33493e3 AO |
153 | 2000-12-15 Alexandre Oliva <aoliva@redhat.com> |
154 | ||
155 | * function.c (adjust_trampoline_addr): New function. | |
156 | (trampoline_address): Call it instead of round_trampoline_addr(). | |
157 | * tm.texi (TRAMPOLINE_ADJUST_ADDRESS): Document it. | |
158 | ||
0eda43ce ZW |
159 | 2000-12-14 Zack Weinberg <zack@wolery.stanford.edu> |
160 | ||
161 | * cppfiles.c (hack_vms_include_specification): Delete function | |
162 | (not used since 1998). | |
163 | ||
4cf37b4a R |
164 | Fri Dec 15 03:37:51 2000 J"orn Rennecke <amylaar@redhat.com> |
165 | ||
166 | * haifa-sched.c (sched_init): Don't put a note in front of any BARRIER. | |
167 | ||
1d79fd2c JW |
168 | 2000-12-14 Jim Wilson <wilson@redhat.com> |
169 | ||
170 | * alias.c (get_alias_set): Call record_component_aliases for | |
171 | COMPLEX_TYPE. | |
172 | (record_component_aliases): Handle COMPLEX_TYPE. | |
173 | ||
e7103ad2 KG |
174 | 2000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
175 | ||
176 | * fixinc/gnu-regex.c: Disable NLS. | |
177 | ||
34c659e2 RH |
178 | 2000-12-14 Richard Henderson <rth@redhat.com> |
179 | ||
c53f9f5b RH |
180 | * config/alpha/alpha.c (alpha_emit_conditional_move): Do not swap |
181 | comparison operands when that would create non-canonical rtl. | |
182 | ||
34c659e2 RH |
183 | * config/i386/i386.md (umulsi3_highpart): Remove * from name. |
184 | (smulsi3_highpart): Likewise. | |
185 | ||
7667db9b NB |
186 | 2000-12-14 Neil Booth <neil@daikokuya.demon.co.uk> |
187 | ||
188 | * gcc.c (cpp_options): Add -remap. | |
189 | ||
196a37f4 NB |
190 | 2000-12-14 Neil Booth <neil@daikokuya.demon.co.uk> |
191 | ||
192 | * gcc.c (cpp_options): Update to use '&'. | |
193 | (struct switchstr): Change type of validated to save space. | |
194 | New member 'ordering'. | |
195 | (handle_braces, validate_switches): Update to handle '&'. | |
196 | ||
413c5c85 LB |
197 | 2000-12-13 Laurynas Biveinis <lauras@softhome.net> |
198 | ||
199 | * fixinc/inclhack.def: skip stdio_va_list fix if __DJ_va_list | |
200 | found in a header. | |
201 | * fixinc/fixincl.x: regenerated. | |
202 | ||
60a8ab96 DD |
203 | 2000-12-13 DJ Delorie <dj@redhat.com> |
204 | ||
205 | * config.gcc (cygwin, win32, mingw32): Use float-i386.h. | |
206 | ||
14dd2402 TT |
207 | 2000-12-13 Tom Tromey <tromey@redhat.com> |
208 | ||
209 | * gcc.c (handle_braces): Handle %{<S*} spec correctly. | |
210 | ||
e68a6ce1 AO |
211 | 2000-12-13 Alexandre Oliva <aoliva@redhat.com> |
212 | ||
213 | * function.c (assign_parms): Optimize incoming PARALLELs into | |
214 | REGs if possible. | |
215 | ||
2629a114 BK |
216 | 2000-12-13 Bruce Korb <bkorb@gnu.org> |
217 | ||
218 | * fixinc/Makefile.in(*): substantial rewrite to accommodate systems | |
219 | that cannot handle bi-directional pipes, viz. BeOS and DOS. | |
220 | * fixinc/fixlib.h(IGNORE_ARG): new macro | |
221 | (STATIC): define for all of fixinc to use | |
222 | * fixinc/fixfixes.c(*): eliminate unused arg warnings | |
223 | * fixinc/fixtests.c(*): ditto | |
224 | * fixinc/fixincl.c(start_fixer): chain_open now uses const arg list | |
225 | * fixinc/gnu-regex.c: reorder some includes to avoid _GNU_SOURCE | |
226 | warning. Also, eliminate the ``#ifdef emacs'' stuff. | |
227 | (re_syntax_options): make global as it is declared so. | |
228 | * fixinc/mkfixinc.sh: process the argument list more consistently | |
229 | (beos/msdosdjgpp): set TARGETS to twoprocess vs. oneprocess | |
230 | * fixinc/procopen.c(globals): include "fixlib.h" for std defs | |
231 | * fixinc/server.c(globals): ditto | |
232 | * fixinc/server.h(defines): ditto | |
233 | ||
c36ee164 NB |
234 | 2000-12-13 Neil Booth <neil@daikokuya.demon.co.uk> |
235 | ||
236 | * tradcpp.c (special_symbol): Improve test for definedness, | |
237 | though it is still not perfect. | |
238 | (do_define): Don't define illegal macro names. | |
239 | ||
a65fd88a AH |
240 | 2000-12-07 Aldy Hernandez <aldyh@redhat.com> |
241 | ||
242 | * config/mips/elf.h (ASM_OUTPUT_SECTION_NAME): emit @nobits | |
243 | if changing into .bss section. | |
244 | * config/mips/elf64.h: same. | |
245 | * config/mips/iris6.h: same. | |
246 | * config/mips/netbsd.h: same. | |
247 | * config/mips/openbsd.h: same. | |
248 | ||
8767c894 NB |
249 | 2000-12-13 Neil Booth <neil@daikokuya.demon.co.uk> |
250 | ||
251 | * cppfiles.c (read_name_map): Return null if open () fails. | |
252 | (remap_filename): Simplify logic. Add ICE if it doesn't work | |
253 | as expected. Perform secondary lookup attempt on base filename | |
254 | only. | |
255 | ||
a4377974 JH |
256 | Wed Dec 13 19:48:04 MET 2000 Jan hubicka <jh@suse.cz> |
257 | ||
258 | * flow.c (notice_stack_pointer_modification_1): Notice midifications | |
259 | using PRE_MODIFY and POST_MODIFY. | |
260 | ||
c6d79bee JH |
261 | Wed Dec 13 17:25:32 MET 2000 Jan Hubicka <jh@suse.cz> |
262 | ||
263 | * genoutput.c (process_template): Add sanity checking for '@' templates. | |
264 | ||
b639e6e4 BS |
265 | 2000-12-13 Bernd Schmidt <bernds@redhat.co.uk> |
266 | ||
267 | * simplify-rtx.c (cselib_finish): Free reg_values and used_regs | |
268 | varrays. | |
269 | ||
ffc0eab4 MS |
270 | 2000-12-12 Mike Stump <mrs@wrs.com> |
271 | ||
272 | * Makefile.in (distclean): Remove safe-ctype.c as well. | |
273 | ||
1df97aa4 BL |
274 | 2000-12-12 Brad Lucier <lucier@math.purdue.edu> |
275 | ||
276 | * tradcpp.c (do_error): Cast difference of pointers to int | |
277 | for error message. | |
278 | ||
edf11378 FS |
279 | 2000-12-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
280 | ||
281 | * config/rs6000/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Move from here... | |
282 | * config/rs6000/sysv4.h (HANDLE_PRAGMA_PACK_PUSH_POP): ...to here. | |
283 | ||
4d4182e9 JW |
284 | 2000-12-12 Jim Wilson <wilson@redhat.com> |
285 | ||
286 | * rtlanal.c (may_trap_p): Check operand modes of LE, LT, GE, and GT. | |
287 | ||
2b60b2cb AO |
288 | 2000-12-12 Alexandre Oliva <aoliva@redhat.com> |
289 | ||
290 | * configure.in: Simplify language enabling/disabling code. | |
291 | * configure: Rebuilt. | |
292 | * ch/config-lang.in (target_libs): Set. | |
293 | (build_by_default): Set to no. | |
294 | * cp/config-lang.in (target_libs): Set. | |
295 | * f/config-lang.in (target_libs): Set. | |
296 | * java/config-lang.in (target_libs): Set. | |
297 | * objc/config-lang.in (target_libs): Set. | |
298 | ||
e793c609 NB |
299 | 2000-12-12 Neil Booth <neil@daikokuya.demon.co.uk> |
300 | ||
301 | * tradcpp.c (enum node_type): Add T_ERROR. | |
302 | (do_error): New function. | |
303 | (directive_table): Add #error handler. | |
304 | ||
d033a989 FS |
305 | 2000-12-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
306 | ||
307 | * configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Enable .file/.loc check | |
308 | for powerpc*-*-*. | |
309 | * configure: Regenerated. | |
edf11378 | 310 | * config/rs6000/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define. |
d033a989 FS |
311 | * config/rs6000/rs6000.c (rs6000_unique_section): Use |
312 | STRIP_NAME_ENCODING. | |
313 | ||
27b18383 JL |
314 | Mon Dec 11 13:51:09 2000 Jeffrey A Law (law@cygnus.com) |
315 | ||
316 | * pa.c (cmpib_comparison_operator): Remove GEU and LTU. | |
317 | * pa.h (PREDICATE_CODES, cmpib_comparison_operator): Corresponding | |
318 | changes. | |
319 | ||
37082e6d BK |
320 | 2000-12-11 Bruce Korb <bkorb@gnu.org> |
321 | ||
322 | * fixinc/fixincl.tpl: initialize all fields for warnings | |
323 | * fixinc/fixincl.x: regenerate | |
324 | ||
4028c3a1 NB |
325 | 2000-12-11 Neil Booth <neilb@earthling.net> |
326 | ||
327 | * tradcpp.h: For tradcpp, NUL is not whitespace. | |
328 | ||
af57885e NB |
329 | 2000-12-11 Neil Booth <neilb@earthling.net> |
330 | ||
331 | * fix-header.c (read_scan_file): Macro expansion is not a file buffer. | |
332 | ||
89741abb MM |
333 | 2000-12-05 Marek Michalkiewicz <marekm@linux.org.pl> |
334 | ||
335 | * config/avr/avr.c (compare_condition, compare_sign_p): New functions. | |
336 | (compare_diff_p, compare_eq_p): Call compare_condition. | |
337 | (out_tsthi, out_tstsi): Call compare_sign_p. | |
338 | (avr_progmem_p): Check for error_mark_node. | |
339 | ||
0bda4760 NB |
340 | 2000-12-11 Neil Booth <neilb@earthling.net> |
341 | ||
745b9093 JM |
342 | * cpperror.c (print_location): New function. |
343 | (print_containing_files): Simplify. | |
344 | (_cpp_begin_message): Simplify and use print_location. | |
345 | * cppfiles.c (stack_include_file): Update. | |
346 | (_cpp_pop_file_buffer): Update. | |
347 | * cpphash.h (struct cpp_buffer): New members | |
348 | include_stack_listed and type. | |
349 | * cpplib.c (_cpp_handle_directive): Buffer->inc is not null. | |
350 | (run_directive): Take buffer type. cpp_push_buffer cannot fail. | |
351 | (_cpp_do__Pragma, cpp_define, _cpp_define_builtin, cpp_undef, | |
352 | handle_assertion): Update. | |
353 | (cpp_push_buffer): Take a buffer type and file name. | |
354 | (cpp_pop_buffer): Update. Clear include_stack_listed. | |
355 | * cpplib.h (input_stack_listing_current): Remove. | |
356 | (enum cpp_buffer_type): New. | |
357 | (cpp_push_buffer): New prototype. | |
358 | * cppmacro.c (builtin_macro): Simplify; buffer cannot be null. | |
359 | * fix-header.c (read_scan_file): Update. | |
0bda4760 | 360 | |
800635c1 RL |
361 | 2000-12-10 Robert Lipe <robertlipe@usa.net> |
362 | ||
363 | * install.texi (i*86-*-sco3.2v5*): Remove information duplicated | |
364 | in html version. | |
365 | ||
c0ea284b RH |
366 | 2000-12-10 Richard Henderson <rth@redhat.com> |
367 | ||
368 | * genrecog.c (find_operand): Handle 'V' format code. | |
369 | (find_matching_operand): New. | |
370 | (validate_pattern): Accept '=' for an in-out operand if there | |
371 | is another operand with a matching constraint. | |
372 | ||
373 | * config/i386/i386.md (andqi_ext_0_cc): Use matching constraint | |
374 | for op1 to op0. | |
375 | ||
e06d5f0b RH |
376 | 2000-12-10 Richard Henderson <rth@redhat.com> |
377 | ||
378 | * genrecog.c (validate_pattern) [STRICT_LOW_PART]: Fix thinko. | |
379 | ||
7297e9fc RH |
380 | 2000-12-09 Richard Henderson <rth@redhat.com> |
381 | ||
382 | * genrecog.c (validate_pattern): Verify that ZERO_EXTRACT and | |
383 | STRICT_LOW_PART as SET_DEST have in-out constraints. | |
384 | ||
e45046ae JM |
385 | 2000-12-09 Joseph S. Myers <jsm28@cam.ac.uk> |
386 | ||
387 | * c-common.c (check_function_format): Don't suggest adding format | |
388 | attributes to functions with no parameter to which to add them. | |
389 | ||
8e56560e NC |
390 | 2000-12-09 Nick Clifton <nickc@redhat.com> |
391 | ||
392 | * config/arm/arm.c (arm_expand_prologue): Mark the generated | |
393 | insn not the set as being DWARF2_FRAME_RELATED_P. | |
394 | ||
193ad8c6 LB |
395 | 2000-12-09 Laurynas Biveinis <lauras@softhome.net> |
396 | ||
397 | * Makefile.in: use $(build_exeext) for all build | |
398 | system executable targets. | |
399 | ||
6a52a2ef LB |
400 | 2000-12-09 Laurynas Biveinis <lauras@softhome.net> |
401 | ||
402 | * install.texi: remove i[345]86-*-winnt3.5 section. | |
403 | * configur.bat: removed. | |
404 | * config/msdos: directory removed. | |
405 | ||
28e0f040 NB |
406 | 2000-12-09 Neil Booth <neilb@earthling.net> |
407 | ||
c0ea284b RH |
408 | * cppfiles.c (NEVER_REREAD, DO_NOT_REREAD): Move from cpphash.h. |
409 | * cpphash.h (NEVER_REREAD, DO_NOT_REREAD, ABSOLUTE_PATH): Delete. | |
410 | * cpplex.c (parse_identifier): Improve diagnostic. | |
411 | (_cpp_lex_token): Return unconditionally at the end of a directive. | |
412 | * cpplib.c (read_flag): Verify legality of each flag. | |
413 | (end_directive): Resotre pfile->skipping before skip_rest_of_line. | |
414 | (do_line): Use the new read_flag. | |
415 | * cppmacro.c (struct cpp_macro, parse_arg, replace_args, | |
416 | check_macro_redefinition, parse_params): Rename var_args to | |
417 | variadic. | |
28e0f040 | 418 | |
1b32f732 JM |
419 | 2000-12-09 Joseph S. Myers <jsm28@cam.ac.uk> |
420 | ||
421 | * .cvsignore: Add info files. | |
422 | ||
17f4d7aa LB |
423 | 2000-12-08 Laurynas Biveinis <lauras@softhome.net> |
424 | ||
425 | * config/winnt: Remove obsolete directory. | |
426 | * install.texi (Configurations): Remove obsolete documentation for | |
427 | Windows NT. | |
428 | ||
17db6582 JM |
429 | 2000-12-08 Joseph S. Myers <jsm28@cam.ac.uk> |
430 | ||
431 | * configure.in: Don't define INSTALL_INFO. | |
432 | * configure: Regenerate. | |
433 | * Makefile.in (INSTALL_INFO): Remove. | |
434 | (info): Depend on info files in source directory. | |
435 | (cpp.info, gcc.info, c-tree.info): Build info files in source | |
436 | directory. | |
437 | (distclean): Don't remove info files. | |
438 | (maintainer-clean): Remove info files from source directory. | |
439 | (install-normal): Depend on install-info. | |
440 | (install-info): Install info files from source directory, if they | |
441 | exist. | |
442 | * texinfo.tex: Update to version 2000-11-09.08 from ftp.gnu.org. | |
443 | ||
25fa8bdc AO |
444 | 2000-12-08 Alexandre Oliva <aoliva@redhat.com> |
445 | ||
446 | * lcm.c (optimize_mode_switching): Check whether an insn is a NOTE | |
447 | before taking its NOTE_LINE_NUMBER. | |
448 | ||
6d3d9133 NC |
449 | 2000-12-08 Nick Clifton <nickc@redhat.com> |
450 | ||
859230d4 NC |
451 | * config/arm/arm.md (load_indirect_jump): Add pool ranges. |
452 | ||
6d3d9133 NC |
453 | * extend.texi: Document ARM "interrupt" function attribute. |
454 | Mention that the ARM also support the "naked" function | |
455 | attribute. | |
456 | ||
457 | * config/arm/arm-protos.h (arm_current_func_type): Add | |
458 | prototype. | |
459 | ||
460 | * config/arm/arm.h (EXCEPTION_LR_REGNUM): Define. | |
461 | (struct machine_function): Add 'func_type' field. | |
462 | Define bit values for 'func_type' field. | |
463 | (ARM_FUNC_TYPE): New macro. | |
464 | (IS_INTERRUPT): New macro. | |
465 | (IS_VOLATILE): New macro. | |
466 | (IS_NAKED): New macro. | |
467 | (IS_NESTED): New macro. | |
468 | (ARM_INITIAL_ELIMINATION_OFFSET): Use IS_VOLATILE. | |
469 | ||
470 | * config/arm/arm.c (isr_attribute_args): New Structure. A | |
471 | list of "interrupt" function attribute modifiers. | |
472 | (arm_isr_value): New Function: Returns the type of the current | |
473 | interrupt function. | |
474 | (arm_compute_func_type): New Function: Computes the type of | |
475 | the current function. | |
476 | (arm_current_func_type): New Function: Returns the type of the | |
477 | current function. | |
478 | (use_return_insn): Use arm_current_func_type. | |
479 | (arm_valid_type_attribute_p): Accept "interrupt" function | |
480 | attribute. | |
481 | (arm_comp_type_attributes): Check "interrupt" attributes. | |
482 | (arm_valid_machine_decl): Accept "interrupt" function | |
483 | attribute. | |
484 | (arm_function_ok_for_sibcall): Do not allow interrupt | |
485 | functions to use sibcalls. | |
486 | (arm_naked_function_p): Delete. | |
487 | (print_multi_reg): Remove redundant parameter 'hat'. | |
488 | (arm_compute_save_reg_mask): New Function: Compute a bit mask | |
489 | of registers saved during the current function's prologue. | |
490 | (output_arm_return_instruction): Use arm_current_func_type. | |
491 | Generate return instruction when LR is not poppsed off the | |
492 | stack. | |
493 | (arm_volatile_func): Delete. | |
494 | (output_arm_prologue): Use arm_current_func_type and | |
495 | arm_compute_save_reg_mask. | |
496 | Note presernce of interrupt functions. | |
497 | (arm_output_epilogue): Use arm_current_func_type and | |
498 | arm_compute_save_reg_mask. | |
499 | (arm_expand_prologue): Use arm_current_func_type and | |
500 | arm_compute_save_reg_mask. | |
501 | (arm_init_machine_status): Initialise func_type field, if | |
502 | necessary. | |
503 | (thumb_expand_prologue): Use arm_current_func_type. | |
504 | (output_thumb_prologue): Use arm_current_func_type. | |
505 | ||
2bff3fd5 BL |
506 | 2000-12-08 Brad Lucier <lucier@math.purdue.edu> |
507 | ||
c0ea284b | 508 | * tradcpp.c (do_include): Make pointer differences 64-bit clean. |
2bff3fd5 | 509 | |
cf9f5da0 R |
510 | Fri Dec 8 08:23:29 2000 J"orn Rennecke <amylaar@redhat.com> |
511 | ||
512 | * fp-bit.c (_fpmul_parts): Use USItype variables as inputs | |
513 | for multiplies. | |
514 | ||
2e35898e MS |
515 | 2000-12-07 Mike Stump <mrs@wrs.com> |
516 | ||
517 | * Makefile.in (distclean): Remove alloca.c hashtab.c. | |
518 | ||
f6bbde28 ZW |
519 | 2000-12-07 Zack Weinberg <zack@wolery.stanford.edu> |
520 | ||
521 | * Makefile.in (HOST_RTL): Add safe-ctype.o. | |
522 | (safe-ctype.o): New rule. | |
523 | * system.h: Include safe-ctype.h, not ctype.h. No need to | |
524 | wrap ctype macros. | |
525 | ||
526 | * cpphash.h: Zap IStable and related macros. Define is_* in | |
527 | terms of safe-ctype.h macros. | |
528 | * cppinit.c: Delete the IStable and all related code. | |
529 | ||
530 | * tradcpp.c: Delete is_idchar, is_idstart, is_hor_space, and | |
531 | is_space arrays. Delete initialize_char_syntax. Change all | |
532 | references to the above arrays to use macros instead. | |
533 | * tradcpp.h: Define is_idchar, is_idstart, is_space, and | |
534 | is_nvspace in terms of safe_ctype.h's macros. | |
535 | * tradcif.y: is_idchar, is_idstart are macros not arrays. | |
536 | ||
537 | * config/i370/i370.c, config/winnt/dirent.c, | |
538 | config/winnt/fixinc-nt.c, config/winnt/ld.c: | |
539 | Use uppercase ctype macros. If we included ctype.h, | |
540 | include safe-ctype.h instead. | |
541 | ||
542 | * fixinc/fixfixes.c: Use uppercase ctype macros. Don't test | |
543 | ISLOWER(c) before calling TOUPPER(c). | |
544 | * fixinc/fixincl.c (extract_quoted_files): Simplify out some gunk. | |
545 | * fixinc/gnu-regex.c: Include safe-ctype.h, not ctype.h. No need to | |
546 | wrap ctype macros. Don't test ISUPPER(x) before calling TOLOWER(x). | |
547 | ||
54d7f9aa DD |
548 | 2000-12-07 DJ Delorie <dj@redhat.com> |
549 | ||
550 | * c-decl.c (grokdeclarator): preserve previous alignments when | |
551 | rebuilding array types. | |
552 | ||
642ce434 NB |
553 | 2000-12-07 Neil Booth <neilb@earthling.net> |
554 | ||
f6bbde28 ZW |
555 | * cppfiles.c (struct include_file): Move from cpphash.h. |
556 | (_cpp_never_reread): New function. | |
557 | (open_file, read_include_file): Use it. | |
558 | (stack_include_file): Set the buffer's sysp according to the | |
559 | path in which the file was found. | |
560 | (find_include_file): Don't set sysp. | |
561 | (cpp_make_system_header, actual_directory): Update. | |
562 | (_cpp_execute_include): Do #include_next lookup handling here, | |
563 | not in cpplib.c. Use _cpp_never_reread. | |
564 | * cpphash.h (struct_include_file): Remove. | |
565 | (struct cpp_buffer): New member sysp. | |
566 | (CPP_IN_SYSTEM_HEADER, _cpp_execute_include): Update. | |
567 | (_cpp_never_reread): New. | |
568 | * cpplib.c (read_line_number): Rename read_flag. Rework slightly. | |
569 | (end_directive): Clear line_extension flag. | |
570 | (_cpp_handle_directive): Set line_extension flag for #number. | |
571 | (do_include_next): Handle path lookup in _cpp_execute_include. | |
572 | (do_line): Cleanup to use read_flag. Don't allow flags in #line. | |
573 | (_cpp_do_file_change): Update. | |
574 | (do_pragma_once): Use cpp_never_reread. Clean up. | |
575 | * cpplib.h (struct lexer_state): New member line_extension. | |
642ce434 | 576 | |
f846e0de RH |
577 | 2000-12-07 Richard Henderson <rth@redhat.com> |
578 | ||
579 | * flow.c (calculate_global_regs_live): Force the stack pointer live | |
580 | after reload as well. | |
581 | ||
83c4781c BK |
582 | 2000-12-07 Bruce Korb <bkorb@gnu.org> |
583 | ||
584 | * fixinc/Makefile.*(exeext): the variables are exeext, the | |
585 | substitution expression is build_exeext. | |
586 | ||
47e4bafa NB |
587 | 2000-12-07 Neil Booth <neilb@earthling.net> |
588 | ||
f6bbde28 ZW |
589 | * c-common.c (parse_in): Make a cpp_reader *. |
590 | * cppfiles.c (_cpp_fake_include): Remove. | |
591 | * cpphash.h: Similarly. | |
592 | * cpplib.c (do_line): Don't call _cpp_fake_include. A valid | |
593 | #line always creates a callback; FC_RENAME if there are no | |
594 | #line flags. | |
595 | * fix-header.c (read_scan_file): cpp_push_buffer cannot fail. | |
596 | The first EOF must be our get_char buffer. | |
47e4bafa | 597 | |
c907e684 JM |
598 | 2000-12-07 Joseph S. Myers <jsm28@cam.ac.uk> |
599 | ||
600 | * c-common.c (warn_format_security): New variable. | |
601 | (check_format_info): Warn about non-literal formats with no format | |
602 | arguments if either -Wformat-nonliteral or -Wformat-security is | |
603 | specified. | |
604 | (set_Wformat): Set warn_format_security for settings other than 1. | |
605 | * c-common.h (warn_format_security): Declare. | |
606 | * c-decl.c (c_decode_option): Decode -Wformat-security and | |
607 | -Wno-format-security. | |
608 | * invoke.texi: Document -Wformat-security. | |
609 | * toplev.c (documented_lang_options): Include -Wformat-security | |
610 | and -Wno-format-security. | |
611 | ||
1c248308 JM |
612 | 2000-12-07 Joseph S. Myers <jsm28@cam.ac.uk> |
613 | ||
614 | * c-common.c (check_format_info): Warn for non-constant format | |
615 | strings with strftime formats if -Wformat-nonliteral. Where the | |
616 | format can convert arguments, if the format is not a string | |
617 | literal and there are no arguments to the format, give a different | |
618 | warning message from the general non-string-literal case. | |
619 | ||
014e7f1d JM |
620 | 2000-12-07 Joseph S. Myers <jsm28@cam.ac.uk> |
621 | ||
622 | * c-common.c (format_wanted_type): Add reading_from_flag. | |
623 | (print_char_table): Mark %s and %S formats with flag "R". | |
624 | (check_format_info_main): Set up reading_from_flag appropriately. | |
625 | If aflag, always set writing_in_flag rather than relying on the | |
626 | format used being a scanf format and so having it set. | |
627 | (check_format_types): Check for formats reading through null | |
628 | pointers. | |
629 | ||
8308e0b7 JM |
630 | 2000-12-07 Joseph S. Myers <jsm28@cam.ac.uk> |
631 | ||
632 | * invoke.texi (-Wformat): Document what format features are | |
633 | checked. | |
634 | ||
1120a1d3 KH |
635 | 2000-12-06 Kazu Hirata <kazu@hxi.com> |
636 | ||
637 | * config/h8300/h8300.h: Fix formatting. | |
638 | ||
bc98ef7f JS |
639 | 2000-12-06 Joel Sherrill <joel@OARcorp.com> |
640 | ||
f6bbde28 ZW |
641 | * config.gcc (a29k*-*-rtems*, arm*-*-rtems*, c4x-*-rtems*, |
642 | h8300-*-rtems*, hppa1.1-*-rtems, *mips*-*-rtems*): New targets. | |
643 | * config.gcc (*-rtems*): Add support for gthr-rtems.h. | |
644 | * gthr-rtems.h, config/a29k/rtems.h, config/arm/rtems-elf.h, | |
645 | config/h8300/rtems.h, config/mips/rtems.h: New files. | |
bc98ef7f | 646 | |
5eeab2e3 MK |
647 | 2000-12-06 Mark Kettenis <kettenis@gnu.org> |
648 | ||
649 | * config.gcc: Reorganize handling of *-*-gnu*, to share target | |
650 | specific make details with Linux. Update comments to clarify | |
f6bbde28 | 651 | the distinction between GNU/Linux and GNU/Hurd. |
5eeab2e3 | 652 | |
6b4b8cb9 JL |
653 | Wed Dec 6 19:22:02 2000 Jeffrey A Law (law@cygnus.com) |
654 | ||
655 | * contrib.texi: Fix my email address. Update Per's | |
656 | list of contributions. | |
657 | ||
2398fb2a RB |
658 | 2000-12-06 Rodney Brown <RodneyBrown@mynd.com> |
659 | ||
f5720527 RB |
660 | * c-lex.c (cb_indent): Decorate `str' argument, unused on HP-UX. |
661 | * collect2.c (scan_libraries): Remove unused `ch'. | |
662 | (COFF specific stuff): Prototype ldgetname. Declare and prototype | |
663 | ldbtread and ldclose. | |
664 | ||
2398fb2a RB |
665 | * config/alpha/osf.h: Standarize copyright statement. |
666 | * config/arc/arc.h: Likewise. | |
667 | * config/arm/elf.h config/arm/coff.h config/arm/aout.h: Likewise. | |
668 | * config/arm/arm.c config/arm/arm.h: Likewise. | |
669 | * config/elxsi/elxsi.h: Likewise. | |
670 | * config/i386/sco.h: Likewise. | |
671 | * config/m68k/crds.h config/m68k/hp320.h config/m68k/lynx.h: Likewise. | |
672 | * config/m68k/m68kv4.h config/m68k/next21.h: Likewise. | |
673 | * config/m68k/sun3.h: Likewise. | |
674 | * config/m88k/dgux.h config/m88k/dguxbcs.h: Likewise. | |
675 | * config/pdp11/2bsd.h config/pdp11/pdp11.h: Likewise. | |
676 | * config/romp/romp.h: Likewise. | |
677 | * config/rs6000/aix41.h: Likewise. | |
678 | * config/sparc/sysv4.h: Likewise. | |
679 | * config/we32k/we32k.c config/we32k/we32k.h: Likewise. | |
680 | * fixinc/gnu-regex.c fixinc/gnu-regex.h: Likewise. | |
681 | * cpplib.h cppexp.c cselib.h profile.c: Likewise. | |
682 | * longlong.h: Likewise. | |
683 | * libgcc2.c: Likewise. | |
684 | ||
ff08da30 JL |
685 | 2000-12-06 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
686 | ||
687 | * machmode.def: Use correct definition for BITSIZE on targets where | |
688 | BITS_PER_UNIT != 8. | |
689 | ||
6047d503 BK |
690 | 2000-12-06 Bruce Korb <bkorb@gnu.org> |
691 | ||
692 | * fixinc/Makefile.*: Reduce differences to (ultimately) reduce | |
693 | the number of them. | |
694 | ||
ff08da30 | 695 | 2000-12-06 J. David Anglin <dave@hiauly1.hia.nrc.ca> |
becf1647 DA |
696 | |
697 | * pa.c: Include expr.h before c-tree.h. | |
698 | (remove_useless_addtr_insns): Use reverse_condition_maybe_unordered | |
699 | instead of reverse_condition. | |
700 | (print_operand): Correct predicates for GT, GE, LT and LE. Add | |
701 | predicates for LTGT, UNLE, UNLT, UNGE, UNGT, UNEQ, UNORDERED and | |
702 | ORDERED. | |
703 | (cmpib_comparison_operator): Add GEU and LTU codes. | |
704 | * pa.h (PREDICATE_CODES): Add codes for cmpib_comparison_operator. | |
705 | * pa.md (bltgt, bunle, bunlt, bunge, bungt, buneq, bunordered, | |
706 | bordered): New float conditional branch patterns. | |
707 | ||
2a841588 R |
708 | Wed Dec 6 21:03:41 2000 J"orn Rennecke <amylaar@redhat.com> |
709 | ||
710 | * final.c (final_addr_vec_align): Fix clipping to BIGGEST_ALIGNMENT. | |
711 | ||
c673abe4 | 712 | 2000-12-06 Sylvain Pion <Sylvain.Pion@sophia.inria.fr> |
f6bbde28 ZW |
713 | |
714 | * cpplex.c (skip_escaped_newlines): Don't warn for spaces between | |
715 | backslash and newline, when inside a comment. | |
c673abe4 | 716 | |
ee457005 JM |
717 | 2000-12-06 Joseph S. Myers <jsm28@cam.ac.uk> |
718 | ||
719 | * invoke.texi: Use @table @samp instead of @itemize @minus for | |
720 | table of language standards. Fix use of @pxref. From Zack | |
721 | Weinberg. Also exclude specs documentation from generated | |
722 | manpage, and create separate ENVIRONMENT section. | |
723 | ||
b614171e MM |
724 | 2000-12-06 Michael Matz <matzmich@cs.tu-berlin.de> |
725 | ||
726 | * gcse.c (compute_pre_data): Kill trapping expressions in | |
727 | destination blocks of abnormal edges. | |
728 | ||
f6cd7c62 RS |
729 | 2000-12-05 Richard Sandiford <r.sandiford@redhat.com> |
730 | ||
731 | * config/mn10300/mn10300.c (mn10300_print_reg_list): Added. | |
732 | (mn10300_get_live_callee_saved_regs): Likewise. | |
733 | (mn10300_gen_multiple_store): Likewise. | |
734 | (store_multiple_operation): Likewise. | |
735 | (expand_prologue): Use mn10300_gen_multiple_store(). | |
736 | * config/mn10300/mn10300-protos.h (mn10300_print_reg_list): Added. | |
737 | (mn10300_get_live_callee_saved_regs): Likewise. | |
738 | (mn10300_gen_multiple_store): Likewise. | |
739 | (store_multiple_operation): Likewise. | |
740 | * config/mn10300/mn10300.md (store_movm): Use a MATCH_PARALLEL | |
741 | tied to store_multiple_operation(). | |
742 | ||
dfb2c798 JL |
743 | Tue Dec 5 20:09:14 2000 Jeffrey A Law (law@cygnus.com) |
744 | ||
745 | * builtins.c (expand_builtin_setjmp_setup): Set | |
746 | current_function_has_nonlocal_label. | |
747 | ||
3cf3593f NB |
748 | 2000-12-05 Neil Booth <neilb@earthling.net> |
749 | ||
f6bbde28 ZW |
750 | * cppfiles.c (stack_include_file): Push zero-length buffers |
751 | in case of failure. Return void, as we don't fail any more. | |
752 | (read_include_file): Check for files we shouldn't re-read. | |
753 | Don't return an error code; errors are implied by marking the | |
754 | file NEVER_REREAD. | |
755 | (_cpp_execute_include): Move the recursion and in-macro checks | |
756 | here. Update for stack_include_file not failing. | |
757 | * cpplib.c (cpp_push_buffer): Always succeed, since | |
758 | _cpp_execute_include performs the recursion check. Tidy up. | |
759 | * cpplib.h (cpp_push_buffer): Update prototype. | |
3cf3593f | 760 | |
4c42e347 AO |
761 | 2000-12-05 Alexandre Oliva <aoliva@redhat.com> |
762 | ||
763 | * sched-vis.c (visual_tbl_line_length): New variable. | |
764 | (get_visual_tbl_length): Set it. | |
765 | (visualize_stall_cycles): Don't let stalls overrun | |
766 | visual_tbl_line_length. | |
767 | ||
06a3a6db GK |
768 | 2000-12-05 Geoffrey Keating <geoffk@redhat.com> |
769 | ||
770 | * global.c (global_conflicts): Allow for a REG_UNUSED note | |
771 | with a different mode to the REG set in the insn. | |
772 | ||
e7103ad2 | 773 | 2000-12-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
9c101f4a KG |
774 | |
775 | * Makefile.in (fixinc.sh): Pass $WARN_CFLAGS into fixinc dir. | |
776 | ||
777 | * fixinc/Makefile.in (FIXINC_DEFS): Add $(WARN_CFLAGS). | |
778 | ||
1435059e RE |
779 | 2000-12-05 Bruce Korb <bkorb@gnu.org> |
780 | ||
781 | * fixinc/mkfixinc.sh(*-gnu*): activate fixinc for GNU/Hurd and | |
782 | GNU/Linux. | |
783 | ||
784 | 2000-12-05 Richard Earnshaw <rearnsha@arm.com> | |
785 | ||
786 | * fixinc/mkfixinc.sh: Run fixinc on netbsd. | |
787 | * fixinc/inclhack.def (machine/ansi.h): Run this rule on all files, | |
788 | to cope with aliased copies. | |
789 | * fixinc/fixincl.x: Regenerate. | |
790 | ||
f56887a7 BS |
791 | 2000-12-05 Bernd Schmidt <bernds@redhat.co.uk> |
792 | ||
793 | * sched-vis.c: Guard with #ifdef INSN_SCHEDULING. | |
794 | * sched-rgn.c: Likewise. | |
795 | (rgn_print_insn): Fix output. | |
796 | ||
4839149c BK |
797 | 2000-12-05 Bruce Korb <bkorb@gnu.org> |
798 | ||
799 | * fixinc/Makefile.*: make these more consistent | |
800 | * fixinc/mkfixincl.sh: enable BeOS fixincludes | |
801 | ||
eca93b05 RH |
802 | 2000-12-05 Richard Henderson <rth@redhat.com> |
803 | ||
804 | * stmt.c (warn_if_unused_value): Move side effects test earlier. | |
805 | ||
de9e5c23 AM |
806 | 2000-12-05 Alan Modra <alan@linuxcare.com.au> |
807 | ||
808 | * bb-reorder.c (reorder_basic_blocks): Do check for EH edges even | |
809 | when using sjlj. | |
810 | ||
39c39be9 RH |
811 | 2000-12-05 Richard Henderson <rth@redhat.com> |
812 | ||
813 | * flow.c (calculate_global_regs_live): Only force stack pointer | |
814 | live before reload. Force pic register live before reload. | |
815 | (insn_dead_p): Don't protect pic references from deletion. | |
816 | ||
9d86bffc JM |
817 | 2000-12-05 Joseph S. Myers <jsm28@cam.ac.uk> |
818 | ||
819 | * invoke.texi: Add support for using texi2pod.pl. Don't use | |
820 | @multitable. | |
821 | ||
c84df4c5 NC |
822 | 2000-12-04 Nick Clifton <nickc@redhat.com> |
823 | ||
a67ded0f NC |
824 | * config/arm/arm.c (arm_override_options): Test 'insn_flags' not |
825 | 'tune_flags' for XScale nature. | |
f6bbde28 | 826 | Remove spurious test of HARD_FLOAT and XScale flags. |
a67ded0f NC |
827 | |
828 | * config/arm/arm.md (umulsidi3adddi): Restore "=&r" register | |
829 | contraint, accidentally changed during XScale contribution. | |
830 | ||
c84df4c5 NC |
831 | * config/arm/lib1funcs.asm (interwork_call_via_, call_via_): Do |
832 | not create these functions if the target architecture does not | |
833 | support Thumb instructions. | |
834 | ||
c4f0b011 JM |
835 | 2000-12-04 Joseph S. Myers <jsm28@cam.ac.uk> |
836 | ||
837 | * ONEWS: New file with the current contents of NEWS up to EGCS | |
838 | 1.1. | |
839 | * NEWS: Generate automatically from online release notes from EGCS | |
840 | 1.0 to GCC 2.95.2, using ../contrib/gennews. | |
841 | ||
7682e7bc NB |
842 | 2000-12-04 Neil Booth <neilb@earthling.net> |
843 | ||
f6bbde28 ZW |
844 | * tradcif.y: Move lexptr to top of file. Add rule to handle |
845 | assertions in conditional expressions. | |
846 | * tradcpp.c (parse_answer): Assertions do not need to go to | |
847 | end of line in conditional directives. | |
848 | (parse_assertion): Get first character of identifiers correct. | |
849 | (test_assertion): New function. | |
850 | * tradcpp.h (test_assertion): New prototype. | |
7682e7bc | 851 | |
23a535c4 RB |
852 | 2000-12-01 Rodney Brown <RodneyBrown@mynd.com> |
853 | ||
854 | * config.gcc: Fix typo for UnixWare 7. | |
855 | ||
32fb1fb2 PE |
856 | 2000-12-03 Phil Edwards <pme@sources.redhat.com> |
857 | ||
858 | * invoke.texi: Replace `pedwarns' with clearer text. | |
859 | ||
e1e0c658 BK |
860 | 2000-12-04 Bruce Korb <bkorb@gnu.org> |
861 | ||
862 | * fixinc/Makefile.*(clean): don't clean autogenerated files. | |
863 | (mainainer-clean): clean autogenerated files | |
864 | ||
55e4756f DD |
865 | 2000-12-04 DJ Delorie <dj@redhat.com> |
866 | ||
867 | * md.texi: Add overview, clarify match_dup and define_expand. | |
868 | ||
7d492372 DD |
869 | 2000-12-04 DJ Delorie <dj@redhat.com> |
870 | ||
b3869591 | 871 | * print-tree.c (print_node): Target-specific builtins print |
7d492372 DD |
872 | numbers, not names. |
873 | ||
62c07905 JM |
874 | 2000-12-04 Jason Merrill <jason@redhat.com> |
875 | ||
876 | * stor-layout.c (int_mode_for_mode): Handle MODE_VECTOR_INT, | |
877 | MODE_VECTOR_FLOAT. | |
878 | ||
879 | * diagnostic.c (report_problematic_module): s/function/module/. | |
880 | ||
881 | * c-lex.h: Remove decl for check_newline. | |
882 | ||
ae50db03 GP |
883 | 2000-12-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
884 | ||
885 | * README.APOLLO: Remove obsolete file. | |
886 | ||
6951bc4a NB |
887 | 2000-12-04 Neil Booth <neilb@earthling.net> |
888 | ||
f6bbde28 | 889 | * cppinternals.texi: New file. |
6951bc4a | 890 | |
614c7d37 NB |
891 | 2000-12-04 Neil Booth <neilb@earthling.net> |
892 | ||
f6bbde28 ZW |
893 | * cppfiles.c (cpp_make_system_header): Take 2 booleans, |
894 | and operate on current buffer. | |
895 | (cpp_read_file): Rename _cpp_read_file. | |
896 | * cpplib.c (do_line, do_pragma_system_header): Update calls to | |
897 | cpp_make_system_header. | |
898 | * fix-header.c: Similarly. | |
899 | * cpphash.h (_cpp_read_file): Move from... | |
900 | * cpplib.h: ... here. | |
901 | * cppinit.c (do_includes, cpp_start_read): Update appropriately. | |
614c7d37 | 902 | |
e7103ad2 | 903 | 2000-12-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
611b1df4 KG |
904 | |
905 | * builtins.c (expand_builtin_strspn, expand_builtin_strcspn): | |
906 | Handle another transformation. | |
907 | ||
d19fb8e3 NC |
908 | 2000-12-03 Nick Clifton <nickc@redhat.com> |
909 | ||
910 | * config.gcc: Add support for StrongARM targets. | |
911 | * config/arm/t-strongarm-elf: New file. | |
912 | * config/arm/t-strongarm-coff: New file. | |
913 | * config/arm/t-strongarm-pe: New file. | |
914 | * config/arm/strongarm-pe.h: New file. | |
915 | ||
916 | 2000-12-03 Nick Clifton <nickc@redhat.com> | |
917 | ||
918 | * NEWS: Mention XScale has been added. | |
919 | * config.gcc: Add support for XScale targets. | |
920 | * config/arm/arm.h: Add support for XScale processor. | |
921 | * config/arm/arm.c: Add support for XScale processor. | |
922 | * config/arm/arm.md: Add support for XScale processor. | |
923 | * config/arm/t-xscale-elf: New file. | |
924 | * config/arm/t-xscale-coff: New file. | |
925 | * config/arm/xscale-elf.h: New file. | |
926 | * config/arm/xscale-coff.h: New file. | |
927 | ||
250d07b6 RH |
928 | 2000-12-03 Richard Henderson <rth@redhat.com> |
929 | ||
930 | * bb-reorder.c (reorder_basic_blocks): Don't check for EH edges | |
931 | unless exception handling is enabled, and if not using sjlj. | |
932 | ||
933 | * builtins.c (expand_builtin_setjmp_setup): New. | |
934 | (expand_builtin_setjmp_receiver): New. | |
935 | (expand_builtin_setjmp): Split out _setup and _receiver functions. | |
936 | Move argument parsing in from ... | |
937 | (expand_builtin): ... here. | |
938 | * except.c (receive_exception_label): Branch around receiver | |
939 | unless new-style exceptions. Call expand_builtin_setjmp_receiver. | |
940 | (start_dynamic_handler): Call expand_builtin_setjmp_setup. | |
941 | * expr.h: Update builtin setjmp decls. | |
942 | ||
5c032c4d BK |
943 | 2000-12-03 Bruce Korb <bkorb@gcc.org> |
944 | ||
945 | * fixinc/mkfixinc.sh(build machine): Sometimes, there is no canonical | |
946 | build machine name. Default to the target. | |
947 | ||
3769600a LB |
948 | 2000-12-03 Laurynas Biveinis <lauras@softhome.net> |
949 | ||
950 | * Makefile.in: use $(build_canonical), not $(canonical_build). | |
951 | ||
b4ead7d4 BS |
952 | 2000-12-03 Bernd Schmidt <bernds@redhat.co.uk> |
953 | ||
954 | * Makefile.in (OBJS): Add sched-rgn.o. | |
955 | (sched-rgn.o): New rule. * haifa-sched.c (sched_verbose): No | |
956 | longer static. | |
957 | (INSN_PRIORITY, INSN_COST, INSN_UNIT, INSN_REG_WEIGHT, | |
958 | INSN_BLOCKAGE, UNIT_BITS, BLOCKAGE_MASK, ENCODE_BLOCKAGE, | |
959 | UNIT_BLOCKED, BLOCKAGE_RANGE, MIN_BLOCKAGE_COST, | |
960 | MAX_BLOCKAGE_COST): Move to sched-int.h. | |
961 | (MAX_RGN_BLOCKS, MAX_RGN_INSNS, INSN_REF_COUNT, FED_BY_SPEC_LOAD, | |
962 | IS_LOAD_INSN, struct haifa_edge, edge_table, NEXT_IN, NEXT_OUT, | |
963 | FROM_BLOCK, TO_BLOCK, nr_edges, in_edges, out_edges, IN_EDGES, | |
964 | OUT_EDGES, edgelst, struct region, nr_regions, rgn_table, | |
965 | rgn_bb_table, block_to_bb, containing_rgn, RGN_NR_BLOCKS, | |
966 | RGN_BLOCKS, BLOCK_TO_BB, BB_TO_BLOCK, CONTAINING_RGN, | |
967 | debug_regions, find_single_block_region, find_rgns, too_large, | |
968 | init_regions, current_nr_blocks, current_blocks, bitset, bitlst, | |
969 | bitlst_table_last, bitlst_table_size, bitlst_table, bitset_member, | |
970 | extract_bitlst, bblst, struct candidate, candidate_table, | |
971 | bblst_table, bblst_size, bblst_last, IS_VALID, IS_SPECULATIVE, | |
972 | SRC_PROB, target_bb, split_edges, compute_trg_info, | |
973 | debug_candidate, debug_candidates, bbset, bbset_size, dom, | |
974 | IS_RGN_ENTRY, IS_DOMINATED, prob, GET_SRC_PROB, edgeset, | |
975 | rgn_nr_edges, rgn_edges, edgeset_size, edgeset_bitsize, | |
976 | EDGE_TO_BIT, edge_to_bit, pot_split, ancestor_edges, | |
977 | compute_dom_prob_ps, ABS_VALUE, INSN_PROBABILITY, | |
978 | IS_SPECULATIVE_INSN, INSN_BB, MIN_DIFF_PRIORITY, MIN_PROBABILITY, | |
979 | MIN_PROB_DIFF, check_live_1, update_live_1, check_live, | |
980 | update_live, set_spec_fed, is_pfree, find_conditional_protection, | |
981 | is_conditionally_protected, may_trap_exp, haifa_classify_insn, | |
982 | is_prisky, is_exception_free, add_branch_dependences, | |
983 | propagate_deps, compute_block_backward_dependences, | |
984 | debug_dependencies, is_cfg_nonregular, build_control_flow, | |
985 | new_edge, bb_deps, BITSET_UNION, BITSET_INTER, BITSET_DIFFER, | |
986 | BITSET_INVERT, BITSET_ADD, BITSET_REMOVE, debug_regions, | |
987 | UPDATE_LOOP_RELATIONS, INSN_TRAP_CLASS, WORST_CLASS, IS_REACHABLE, | |
988 | CONST_BASED_ADDRESS_P, free_pending_lists, sched_target_n_insns, | |
989 | target_n_insns, sched_n_insns, init_ready_list, deaths_in_region, | |
990 | can_schedule_ready_p, new_ready, schedule_more_p, rgn_print_insn, | |
991 | rgn_rank, region_sched_info): Move to sched-rgn.c. | |
992 | (debug_reg_vector): Delete useless function. | |
993 | (get_bb_head_tail): Likewise. | |
994 | (insn_issue_delay, insn_cost, ready_add, get_block_head_tail, | |
995 | no_real_insns_p, rm_line_notes, save_line_notes, | |
996 | restore_line_notes, rm_redundant_line_notes, sched_init): No | |
997 | longer static. | |
998 | (rm_line_notes, save_line_notes, restore_line_notes, | |
999 | schedule_block, set_priorities): Change argument to be a real | |
1000 | basic block, not one of haifa's "bb"s. All callers changed | |
1001 | (rm_other_notes): Initialize note_list here, not in | |
1002 | schedule_region. | |
1003 | (sched_finish): New function, called from schedule_insn. * * | |
1004 | sched-int.h (INSN_PRIORITY, INSN_COST, INSN_UNIT, INSN_REG_WEIGHT, | |
1005 | INSN_BLOCKAGE, UNIT_BITS, BLOCKAGE_MASK, ENCODE_BLOCKAGE, | |
1006 | UNIT_BLOCKED, BLOCKAGE_RANGE, MIN_BLOCKAGE_COST, | |
1007 | MAX_BLOCKAGE_COST): Moved here from haifa-sched.c. | |
1008 | (get_block_head_tail, no_real_insns_p, rm_line_notes, | |
1009 | save_line_notes, restore_line_notes, rm_redundant_line_notes, | |
1010 | rm_other_notes, insn_issue_delay, set_priorities, schedule_block, | |
1011 | sched_init, sched_finish, ready_add, insn_cost): Declare. | |
1012 | ||
f415f5a4 LB |
1013 | 2000-12-03 Laurynas Biveinis <lauras@softhome.net> |
1014 | Bruce Korb <bkorb@gnu.org> | |
1015 | ||
f6bbde28 ZW |
1016 | * Makefile.in: pass $(build_canonical) to mkfixinc.sh. |
1017 | * fixinc/mkfixinc.sh: accept build system name as an argument. | |
1018 | Use it for choosing the fix build method. Use the target for | |
f415f5a4 LB |
1019 | selecting special fix rules. |
1020 | ||
1708fd40 BS |
1021 | 2000-12-03 Bernd Schmidt <bernds@redhat.co.uk> |
1022 | ||
16f6ece6 BS |
1023 | * Makefile.in (OBJS): Add sched-deps.o. |
1024 | (sched-deps.o): New rule. | |
1025 | * haifa-sched.c (struct deps, struct haifa_insn_data): Moved to | |
1026 | sched-int.h. | |
1027 | (INSN_DEPEND, INSN_LUID, CANT_MOVE, INSN_DEP_COUNT): Macros moved to | |
1028 | sched-int.h. | |
1029 | (SIZE_FOR_MODE): Delete unused macro. | |
1030 | (reg_known_equiv_p, reg_known_value, reg_pending_clobbers, | |
1031 | reg_pending_sets, reg_pending_sets_all, true_dependency_cache, | |
1032 | anti_dependency_cache, output_dependency_cache, | |
1033 | forward_dependency_cache): Variables moved to sched-deps.c. | |
1034 | (add_dependence, remove_dependence, find_insn_list, | |
1035 | find_insn_mem_list, add_insn_mem_dependence, flush_pending_lists, | |
1036 | sched_analyze_insn, sched_analyze_1, sched_analyze_2, | |
1037 | sched_analyze, group_leader, compute_forward_dependences, | |
1038 | init_deps, free_deps, init_dependency_caches, free_dependency_caches): | |
1039 | Functions moved to sched-deps.c. | |
1040 | (schedule_region): Call init_deps_global and finish_deps_global | |
1041 | instead of directly manipulating dependency data structures. | |
1042 | * sched-deps.c: New file. | |
1043 | (init_deps_global, finish_deps_global): New functions. | |
1044 | * sched-int.h (struct haifa_insn_data, struct deps): Moved here from | |
1045 | haifa-sched.c. | |
1046 | (h_i_d): Declare. | |
1047 | (INSN_DEPEND, INSN_LUID, CANT_MOVE, INSN_DEP_COUNT): Macros moved here | |
1048 | from haifa-sched.c. | |
1049 | ||
c62c2659 BS |
1050 | * Makefile.in (OBJS): Add sched-vis.o. |
1051 | (sched-vis.o): New rule. | |
1052 | * haifa-sched.c (get_unit_last_insn): New function. | |
1053 | (sched_dump, insn_unit, actual_hazard_this_instance): No longer | |
1054 | static. | |
1055 | (schedule_block): Call visualize_alloc and visualize_free. Delete | |
1056 | spurious return statement. | |
1057 | (init_target_units, insn_print_units, get_visual_tbl_length, | |
1058 | init_block_visualization, print_block_visualization, safe_concat, | |
1059 | visualize_scheduled_inns, visualize_no_unit, visualize_stall_cycles, | |
1060 | print_exp, print_value, print_pattern, print_insn, target_units, | |
1061 | MAX_VISUAL_LINES, INSN_LEN, n_visual_lines, visual_tbl, | |
1062 | n_vis_no_unit, vis_no_unit): Move scheduling visualization | |
1063 | functions/variables... | |
1064 | * sched-vis.c: ...here. New file. | |
1065 | (visualize_alloc, visualize_free): New functions. | |
1066 | (visualize_scheduled_insns, visualize_stall_cycles, | |
1067 | print_block_visualization): Lose basic block argument. All callers | |
1068 | changed. | |
1069 | (visualize_scheduled_insns): Use new function get_unit_last_insn. | |
16f6ece6 BS |
1070 | * sched-int.h (current_sched_info, sched_dump): Declare. |
1071 | (init_target_units, insn_print_units, init_block_visualization, | |
1072 | print_block_visualization, visualize_scheduled_inns, | |
1073 | visualize_no_unit, visualize_stall_cycles, visualize_alloc, | |
1074 | visualize_free): Declare functions. | |
c62c2659 | 1075 | |
1708fd40 BS |
1076 | * sched-int.h: New file. |
1077 | * Makefile.in (haifa-sched.o): Depend on it. | |
1078 | * haifa-sched.c: Include it. | |
1079 | (no_real_insns_p): New function. | |
1080 | (current_sched_info): New static variable. | |
1081 | (__inline, HAIFA_INLINE): Moved to sched-int.h. | |
1082 | (get_block_head_tail): Minor cleanup. | |
1083 | (init_ready_list, can_schedule_ready_p, new_ready, schedule_more_p, | |
1084 | rgn_print_insn, rgn_rank): New functions, broken out of | |
1085 | rank_for_schedule, schedule_insn and schedule_block, where they | |
1086 | are now called through function pointers in current_sched_info. | |
1087 | (queue_insn, schedule_insn, queue_to_ready, debug_ready_list, | |
1088 | print_insn): To display uid and block number, call the print_insn | |
1089 | function pointer in current_schedule_info. | |
1090 | (region_sched_info): New static variable. | |
1091 | (sched_target_n_insns, sched_n_insns, target_n_insns): New global | |
1092 | variables, moved out of schedule_block. | |
1093 | (schedule_block): Return void. All callers changed. | |
1094 | Move some of the setup code into schedule_region. Get head/tail | |
1095 | from current_sched_info, and update it when done. | |
1096 | (schedule_region): Slightly rearranged, some code moved here from | |
1097 | schedule_block. Call no_real_insns_p to avoid doing work for a | |
1098 | block that consists only of notes and labels. | |
1099 | (schedule_insns): Initialize current_sched_info. | |
1100 | ||
8aaef6e0 NB |
1101 | 2000-12-03 Neil Booth <neilb@earthling.net> |
1102 | ||
f6bbde28 ZW |
1103 | * cppmacro.c (funlike_invocation_p): Re-disable macros enabled |
1104 | by contexts drops AFTER argument pre-expansion, so that they | |
1105 | remain enabled during argument pre-expansion. | |
1106 | (_cpp_pop_context): Unconditionally re-enable a macro when | |
1107 | dropping a context level. | |
8aaef6e0 | 1108 | |
94a3d3b9 MH |
1109 | 2000-12-03 Manfred Hollstein <manfredh@redhat.com> |
1110 | ||
1111 | * arm/t-linux (MULTILIB_OPTIONS): Comment. | |
1112 | (MULTILIB_DIRNAMES): Likewise. | |
1113 | (EXTRA_MULTILIB_PARTS): Likewise. | |
1114 | (LIBGCC): Likewise. | |
1115 | (INSTALL_LIBGCC): Likewise. | |
1116 | ||
d118937d KG |
1117 | 2000-12-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1118 | ||
1119 | * builtins.c (expand_builtin_strcat, expand_builtin_strncat, | |
1120 | expand_builtin_strspn, expand_builtin_strcspn): New functions. | |
1121 | (expand_builtin): Handle BUILT_IN_STRCAT, BUILT_IN_STRNCAT, | |
1122 | BUILT_IN_STRSPN and BUILT_IN_STRCSPN. | |
1123 | ||
1124 | * builtins.def (BUILT_IN_STRCAT, BUILT_IN_STRNCAT, | |
1125 | BUILT_IN_STRSPN, BUILT_IN_STRCSPN): New entries. | |
1126 | ||
1127 | * c-common.c (c_common_nodes_and_builtins): Declare builtin | |
1128 | strcat, strncat, strspn and strcspn. | |
f6bbde28 | 1129 | (string_ftype_string_cstring): Renamed from `string_ftype_ptr_ptr'. |
d118937d KG |
1130 | |
1131 | * extend.texi (strcat, strcspn, strncat, strspn): Document new | |
1132 | builtins. | |
1133 | ||
ca8034a0 KG |
1134 | 2000-12-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1135 | ||
1136 | * builtins.c (expand_builtin_strcmp): Use const*_rtx when | |
1137 | expanding strcmp at compile-time. Add another transformation. | |
1138 | (expand_builtin_strncmp): Add more transformations. Call | |
1139 | expand_builtin_memcmp, not expand_builtin_strcmp, under | |
1140 | appropriate conditions if HAVE_cmpstrsi. | |
1141 | ||
6c873122 DE |
1142 | 2000-12-02 David Edelsohn <edelsohn@gnu.org> |
1143 | ||
1144 | * rs6000.md (anddi3_internal[23]): Prefer rldic? over andis | |
1145 | instruction. | |
1146 | (cr logic): Really make operands sequential. | |
1147 | ||
690c96c8 GK |
1148 | 2000-12-02 Geoffrey Keating <geoffk@redhat.com> |
1149 | ||
1150 | * c-common.c (combine_strings): When the ISO C standard specifies | |
1151 | the maximum length of a string, it doesn't include the trailing | |
1152 | zero byte. | |
b43db0b3 GK |
1153 | |
1154 | * cpplib.c (do_ifdef): Add check_eol() call. | |
1155 | (do_ifndef): Likewise. | |
1156 | ||
283da1d3 | 1157 | 2000-12-02 Daniel Berlin <dberlin@redhat.com> |
f6bbde28 | 1158 | Bruce Korb <bkorb@gnu.org> |
283da1d3 | 1159 | |
f6bbde28 ZW |
1160 | * fixinc/*: global substitute /__MSDOS__/SEPARATE_FIX_PROC/ |
1161 | * fixinc/mkfixinc.sh: prepare to use Makefile.BEOS for *-*-beos* | |
1162 | * fixinc/Makefile.DOS: define SEPARATE_FIX_PROC for build | |
1163 | * fixinc/fixfix.c(wrap_fix): avoid wrapping files that | |
1164 | use the "__need_" hackery. It breaks them. | |
1165 | * fixinc/fixincl.c(process - SEPARATE_FIX_PROC): | |
1166 | Sometimes on DOS and BeOS the temp output file cannot be opened. | |
1167 | Skip the file noisily. Ought to be fixed instead. | |
283da1d3 | 1168 | |
6864a6c6 BK |
1169 | 2000-12-02 Bruce Korb <bkorb@gnu.org> |
1170 | ||
1171 | From: 2000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
1172 | ||
1173 | * fixfixes.c (emit_gnu_type, format_write): Prototype. | |
1174 | (format_write, char_macro_use_fix, char_macro_def_fix): Use gcc's | |
1175 | custom uppercase ctype macros. | |
1176 | * fixincl.c (do_version): Make static and add ATTRIBUTE_NORETURN. | |
1177 | Use gcc's custom uppercase ctype macros. | |
1178 | (main): Prototype. | |
1179 | (machine_matches): Add static prototype and constify variable. | |
1180 | (create_file, test_test, egrep_test): Add static prototype. | |
1181 | (quoted_file_exists): Likewise, and constify parameters. | |
1182 | (extract_quoted_files, internal_fix, start_fixer, fix_applies, | |
1183 | write_replacement, test_for_changes): Add static prototype. | |
1184 | (write_replacement, test_for_changes): Delete excess argument to | |
1185 | `create_file'. | |
1186 | * fixtests.c (test): Make static. | |
1187 | * server.c (load_data, sig_handler, server_setup, find_shell): Add | |
1188 | static prototype. | |
1189 | (sig_handler): Mark parameter with ATTRIBUTE_UNUSED. | |
1190 | ||
d7156fee BK |
1191 | 2000-12-02 Bruce Korb <bkorb@gnu.org> |
1192 | ||
1193 | * fixnc/mkfixinc.sh(msdosdjgpp): remove from fixincludes exception list | |
1194 | (per Laurynas Biveinis <lauras@softhome.net>) | |
1195 | ||
f1008e52 RE |
1196 | 2000-12-02 Richard Earnshaw <rearnsha@arm.com> |
1197 | ||
1198 | * arm.h (ARM_REGNO_OK_FOR_BASE_P, THUMB_REGNO_MODE_OK_FOR_BASE_P): New | |
1199 | macros. | |
1200 | (REGNO_MODE_OK_FOR_BASE_P): Define in terms of above. | |
1201 | (REGNO_OK_FOR_FOR_BASE_P): Delete. | |
1202 | (ARM_REG_OK_FOR_BASE_P, THUMB_REG_MODE_OK_FOR_BASE_P): New macros for | |
1203 | both strict and non-strict uses. | |
1204 | (REG_MODE_OK_FOR_BASE_P): Define in terms of above. | |
1205 | (ARM_REG_OK_FOR_INDEX_P, THUMB_REG_OK_FOR_INDEX_P): New macros. | |
1206 | (REG_OK_FOR_INDEX_P): Define in terms of above. | |
1207 | (REG_OK_FOR_BASE_P): Delete. | |
1208 | (REG_OK_FOR_PRE_POST_P): Delete. | |
1209 | (ARM_BASE_REGISTER_RTX_P): Renamed from BASE_REGISTER_RTX_P. | |
1210 | (ARM_INDEX_REGISTER_RTX_P): Renamed from INDEX_REGISTER_RTX_P. | |
1211 | (ARM_GO_IF_LEGITIMATE_INDEX): Renamed from GO_IF_LEGITIMATE_INDEX. | |
1212 | (THUMB_LEGITIMATE_OFFSET): Renamed from LEGITIMATE_OFFSET. | |
1213 | (ARM_GO_IF_LEGITIMATE_ADDRESS): Adjust for name changes. Use ARM | |
1214 | specific variants rather than general ones. Use ARM_REG_OK_FOR_BASE_P | |
1215 | in pre/post increment cases. | |
1216 | (THUMB_GO_IF_LEGITIMATE_ADDRESS): Similarly for Thumb. | |
1217 | (ARM_LEGITIMIZE_ADDRESS): Similarly. | |
1218 | (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Similarly. | |
1219 | * arm.c (legitimate_pic_address): Similarly. | |
1220 | ||
4eb191f3 NB |
1221 | 2000-12-02 Neil Booth <neilb@earthling.net> |
1222 | ||
f6bbde28 ZW |
1223 | * tradcpp.c (struct answer, parse_assertion, parse_answer, |
1224 | canonicalize_text, find_answer): New. | |
1225 | (do_assert, do_unassert): Provide appropriate function bodies. | |
1226 | (union hashval): New member answers. | |
4eb191f3 | 1227 | |
84e6f1ba MM |
1228 | 2000-11-23 Marek Michalkiewicz <marekm@linux.org.pl> |
1229 | ||
1230 | * config/avr/avr.md: Document UNSPEC usage. | |
1231 | (*tablejump_rjmp, *tablejump_lib, *tablejump_enh, *tablejump): | |
1232 | Make operand 0 input only, clobber it. Use UNSPEC, not a bogus | |
1233 | MEM for program memory word reference. Do not add the label to | |
1234 | the table index in each of the asm output templates, instead ... | |
1235 | (casesi): ... do it in RTL. Adjust to match the above change. | |
1236 | ||
a88f02e7 BS |
1237 | 2000-12-02 Bernd Schmidt <bernds@redhat.co.uk> |
1238 | ||
0884b60c BS |
1239 | * c-common.c (PTRDIFF_TYPE): Provide default here, ... |
1240 | * c-decl.c: ... not here. | |
1241 | ||
a88f02e7 BS |
1242 | * haifa-sched.c (sched_dump): Renamed from dump. All users changed. |
1243 | (old_max_uid): New variable. | |
1244 | (compute_forward_dependences): Renamed from | |
1245 | compute_block_forward_dependences; changed to accept block head and | |
1246 | tail instead of block number. Caller changed. | |
1247 | (free_deps, init_dependency_caches, free_dependency_caches, | |
1248 | init_regions, sched_init): New functions, split out from | |
1249 | schedule_insns and compute_block_backward_dependences. | |
1250 | ||
fef1de5d NB |
1251 | 2000-12-02 Neil Booth <neilb@earthling.net> |
1252 | ||
f6bbde28 | 1253 | * cppexp.c (parse_number): Update diagnostic test. |
fef1de5d | 1254 | |
88edcc06 BS |
1255 | 2000-12-02 Bernd Schmidt <bernds@redhat.co.uk> |
1256 | ||
1257 | * reload1.c (free_for_value_p): New function, frontend to | |
1258 | reload_reg_free_for_value_p. All callers of the latter now call | |
1259 | this function with an additional mode argument. | |
1260 | ||
a325caa0 GP |
1261 | 2000-12-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
1262 | ||
1263 | * install.texi (Configurations): Remove obsolete documentation for | |
1264 | hppa*-*-*. | |
1265 | ||
3808a17d GP |
1266 | 2000-12-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
1267 | ||
1268 | * install.texi (Installation): Remove obsolete description for | |
1269 | libstdc++ which is now an integral part of GCC. | |
f6bbde28 | 1270 | |
27646dba JB |
1271 | 2000-12-01 Jim Blandy <jimb@redhat.com> |
1272 | ||
1273 | * dbxout.c (dbxout_parms): Correctly describe parameters passed by | |
1274 | invisible reference in registers, but then spilled to the stack. | |
1275 | Remove code to emit a second stab for such parameters; it attempts | |
1276 | to describe the value's location by introducing a synthetic C++ | |
1277 | `reference' type, and then saying the stack slot has that | |
1278 | reference type. This loses type information (breaking GDB's | |
1279 | `ptype' command, among other things) just to describe a location | |
1280 | which stabs can represent correctly in other ways. | |
1281 | ||
cb51ecd2 AO |
1282 | 2000-12-01 Alexandre Oliva <aoliva@redhat.com> |
1283 | ||
08106825 AO |
1284 | * final.c (output_addr_const) <PLUS>: Don't assume at least one |
1285 | operand is a CONST_INT. | |
1286 | ||
cb51ecd2 AO |
1287 | * config/sh/sh.c (reg_class_from_letter): Assign `k' to SIBCALL_REGS. |
1288 | (machine_dependent_reorg): Split all insns. | |
1289 | * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Compute | |
1290 | reg_class_contents[SIBCALL_REGS]. | |
1291 | (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add SIBCALL_REGS. | |
1292 | * config/sh/sh.md (calli_pcrel, call_pcrel, call_valuei_pcrel, | |
1293 | call_value_pcrel, call, call_value, sibcall): Match even when | |
1294 | not optimizing. | |
1295 | (sibcalli_pcrel, sibcall_pcrel): Likewise. Use constraint `k' | |
1296 | for call address. | |
1297 | (sibcalli): Likewise. | |
1298 | ||
4d808927 JM |
1299 | 2000-12-01 Joseph S. Myers <jsm28@cam.ac.uk> |
1300 | ||
1301 | * c-common.c (warn_format, warn_format_y2k, | |
1302 | warn_format_extra_args, warn_format_nonliteral): Define. | |
1303 | (check_format_info): Check warn_format_nonliteral and | |
1304 | warn_format_extra_args. | |
1305 | (check_format_info_main): Check warn_format_y2k. | |
1306 | (set_Wformat): New function. | |
1307 | * c-common.h (warn_format_y2k, warn_format_extra_args, | |
1308 | warn_format_nonliteral, set_Wformat): Declare. | |
1309 | * c-decl.c (warn_format): Remove definition. | |
1310 | (c_decode_option): Handle -Wformat-nonliteral, | |
1311 | -Wno-format-extra-args and -Wno-format-y2k, and negated versions. | |
1312 | Use set_Wformat. | |
1313 | * invoke.texi: Document these new options and -Wformat=2. | |
1314 | * toplev.c (documented_lang_options): Add these new options. | |
1315 | ||
e78f4a97 JM |
1316 | 2000-12-01 Joseph S. Myers <jsm28@cam.ac.uk> |
1317 | ||
1318 | * builtins.def (BUILT_IN_IMAXABS): Add. | |
1319 | * builtins.c (expand_builtin): Also abort on BUILT_IN_IMAXABS. | |
1320 | * c-common.c (c_common_nodes_and_builtins): Create builtin | |
1321 | functions __builtin_imaxabs, and plain imaxabs unless | |
1322 | flag_no_nonansi_builtin outside C99 mode. | |
1323 | (expand_tree_builtin): Handle BUILT_IN_IMAXABS. | |
1324 | * extend.texi: Document builtin imaxabs. | |
1325 | ||
5fd8e536 JM |
1326 | 2000-12-01 Joseph S. Myers <jsm28@cam.ac.uk> |
1327 | ||
1328 | * c-common.c: Include "defaults.h". | |
1329 | (WINT_TYPE, INTMAX_TYPE, UINTMAX_TYPE): Define. | |
1330 | (c_common_nodes_and_builtins): Create string_type_node, | |
1331 | const_string_type_node, wint_type_node, intmax_type_node, | |
1332 | uintmax_type_node, default_function_type, ptrdiff_type_node and | |
1333 | unsigned_ptrdiff_type_node. | |
1334 | * c-common.h (identifier_global_value): Declare. | |
1335 | * c-decl.c (WINT_TYPE, INTMAX_TYPE, UINTMAX_TYPE): Don't define. | |
1336 | (init_decl_processing): Don't create string_type_node, | |
1337 | const_string_type_node, wint_type_node, intmax_type_node, | |
1338 | uintmax_type_node, default_function_type, ptrdiff_type_node and | |
1339 | unsigned_ptrdiff_type_node. | |
1340 | (identifier_global_value): New function. | |
1341 | ||
8d9e9a08 NB |
1342 | 2000-12-01 Neil Booth <neilb@earthling.net> |
1343 | ||
f6bbde28 ZW |
1344 | * cppinit.c (initialize): Forgotten prototype. |
1345 | * cpplex.c (_cpp_lex_token): Loop until not skipping. | |
1346 | Always clear PREV_WHITE upon meeting a new line. | |
1347 | * cpplib.c (end_directive): Set pfile->skipping after | |
1348 | skip_rest_of_line. | |
1349 | * cpplib.h (cpp_reader): Remove macro_pos. | |
1350 | * cppmacro.c (cpp_get_line): Don't do anything special inside | |
1351 | macros. | |
1352 | (parse_arg): Add PREV_WHITE if a token appears after new lines. | |
1353 | (funlike_invocation_p): Save and restore the output position | |
1354 | over a successful check for a '('. | |
1355 | (enter_macro_context): Delete uses of macro_pos. | |
1356 | (cpp_get_token): Don't use pfile->skipping. | |
8d9e9a08 | 1357 | |
c4765d18 PE |
1358 | 2000-12-01 Phil Edwards <pme@sources.redhat.com> |
1359 | ||
1360 | * diagnostic.c: Fix typos in comments. | |
1361 | * diagnostic.h: Likewise. | |
1362 | ||
815d683e PE |
1363 | 2000-11-30 Phil Edwards <pme@sources.redhat.com> |
1364 | ||
1365 | * rtl.texi (Machine Modes): Document BImode and OImode. | |
1366 | ||
ae24178a JM |
1367 | 2000-12-01 Joseph S. Myers <jsm28@cam.ac.uk> |
1368 | ||
1369 | * gcc.c (default_compilers): Add suffixes .mi, .cp, .ii, .FOR and | |
1370 | .FPP. | |
1371 | ||
c7b82833 JM |
1372 | 2000-12-01 Joseph S. Myers <jsm28@cam.ac.uk> |
1373 | ||
1374 | * c-decl.c (grokdeclarator): If pedantic, warn about arrays with | |
1375 | incomplete element type. | |
1376 | (grokparms): Before checking for incomplete parameter type, check | |
1377 | the type isn't error_mark_node. | |
1378 | ||
ab937357 JJ |
1379 | 2000-12-01 Jakub Jelinek <jakub@redhat.com> |
1380 | ||
1381 | * builtins.c (target_char_cast): New function. | |
1382 | (expand_builtin_strchr): Use it. | |
1383 | (expand_builtin_strrchr): Use it. | |
1384 | (builtin_memset_read_str): New function. | |
1385 | (expand_builtin_memset): Use target_char_cast. | |
1386 | Try to optimize memset with second argument non-zero using | |
1387 | store_by_pieces. | |
1388 | ||
3a69a7d5 MM |
1389 | 2000-11-30 Marek Michalkiewicz <marekm@linux.org.pl> |
1390 | ||
1391 | * install.texi (avr): Replace incomplete list of supported MCU | |
1392 | types with a link to the current one ... | |
1393 | * invoke.texi (AVR Options): ... here. Update -mmcu= to list | |
1394 | all supported MCU types. Document -minit-stack= default. | |
1395 | Document new options -mno-tablejump, -mtiny-stack. | |
1396 | * md.texi (AVR family): Fix typo in 'w' constraint letter | |
1397 | description. Document 'q'. Update 'O'. | |
1398 | ||
53895717 BS |
1399 | 2000-12-01 Bernd Schmidt <bernds@redhat.co.uk> |
1400 | ||
1401 | * combine.c (cant_combine_insn_p): Only disallow insns involving | |
1402 | hard regs if they are reg-reg moves. | |
1403 | (try_combine, can_combine_p, combinable_i3pat): Delete old | |
1404 | SMALL_REGISTER_CLASSES tests. | |
1405 | ||
f00018dd AO |
1406 | 2000-12-01 Alexandre Oliva <aoliva@redhat.com> |
1407 | ||
3d422cb1 AO |
1408 | * config/sh/sh.c (shiftcosts): Don't get INTVAL before testing |
1409 | whether X is a CONST_INT. | |
1410 | (addsubcosts): Likewise. | |
1411 | ||
f00018dd AO |
1412 | * config/sh/sh.h (OUTPUT_ADDR_CONST_EXTRA): Use INTVAL instead of |
1413 | mis-used XINT. | |
1414 | (ARG_POINTER_REGNUM): Set to AP_REG. | |
1415 | ||
95ac07b0 AO |
1416 | 2000-11-30 Alexandre Oliva <aoliva@redhat.com> |
1417 | ||
ecfdeaeb AO |
1418 | * config/sh/sh.md (fpu_switch0, fpu_switch1, movpsi, fpu_switch, |
1419 | splits): Only match on TARGET_SH4. | |
1420 | ||
95ac07b0 AO |
1421 | * combine.c (try_combine): Disregard USEs when updating LOG_LINKS |
1422 | of subsequent insns. | |
1423 | ||
f2720858 RH |
1424 | 2000-11-30 Richard Henderson <rth@redhat.com> |
1425 | ||
1426 | * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Disable. | |
1427 | * config/alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise. | |
1428 | ||
ef7d91cd RH |
1429 | 2000-11-30 Richard Henderson <rth@redhat.com> |
1430 | ||
1431 | * config/alpha/elf.h (ASM_OUTPUT_SECTION_NAME): Copy elfos.h defn. | |
1432 | (DO_SELECT_SECTION): New. | |
1433 | (SELECT_SECTION): Use it. | |
1434 | (UNIQUE_SECTION_P): New. | |
1435 | (UNIQUE_SECTION): New. | |
1436 | ||
29ced803 AO |
1437 | 2000-11-30 Alexandre Oliva <aoliva@redhat.com> |
1438 | ||
1439 | * c-common.c (status_warning) [! ANSI_PROTOTYPES]: Load status | |
1440 | from va_list before using it. | |
1441 | ||
25e4379f MM |
1442 | 2000-11-30 Michael Matz <matzmich@cs.tu-berlin.de> |
1443 | ||
1444 | * flow.c (make_edge): Early out, if no flags to set. | |
1445 | (calculate_global_regs_live): Clear out garbage only when necessary. | |
1446 | ||
1447 | * simplify-rtx.c (varray_type used_regs): New. | |
1448 | (clear_table): Use it to only clear necessary items. | |
1449 | (cselib_lookup, cselib_record_set): Remember newly set items. | |
1450 | (cselib_update_varray_sizes, cselib_init): Initialize and grow | |
1451 | used_regs. | |
1452 | ||
1453 | * local-alloc.c (update_equiv_regs): New local `cleared_regs'. | |
1454 | Move clearing of dead regs out of insn-loop. | |
1455 | ||
41c39533 RH |
1456 | 2000-11-30 Richard Henderson <rth@redhat.com> |
1457 | ||
1458 | * calls.c (expand_call): Emit queued insns before creating | |
1459 | the tail recursion sequence. | |
1460 | ||
039df8c7 | 1461 | 2000-11-30 J. David Anglin <dave.anglin@nrc.ca> |
f6bbde28 | 1462 | Bruce Korb <bkorb@gnu.org> |
039df8c7 DA |
1463 | |
1464 | * fixinc/inclhack.def(): prevent dual double definition protection | |
1465 | * fixinc/fixincl.x: regenerate | |
1466 | ||
42cfed37 LR |
1467 | 2000-11-29 Loren J. Rittle <ljrittle@acm.org> |
1468 | ||
f6bbde28 ZW |
1469 | * fixinc/Makefile.in (fixincl.x): Explicitly state the |
1470 | location of the generated file. | |
42cfed37 | 1471 | |
a6bb9efa GP |
1472 | 2000-11-30 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
1473 | ||
1474 | * README.FRESCO: Remove obsolete file. | |
1475 | ||
255b8a49 JL |
1476 | 2000-11-30 Mark Kettenis <kettenis@gnu.org> |
1477 | ||
255b8a49 JL |
1478 | * config/t-gnu (LIBGCC1, CROSS_LIBGCC1, CRTSTUFF_T_CFLAGS, |
1479 | TARGET_LIBGCC2_CFLAGS): Remove. We now use the settings from | |
1480 | config/t-linux for the Hurd. | |
1481 | ||
1482 | 2000-11-30 Stephane Carrez <Stephane.Carrez@worldnet.fr> | |
75273d08 SC |
1483 | |
1484 | * config/mn10200/udivmod.c, config/mn10200/divmod.c, | |
1485 | config/mn10200/udivmodsi4.c: Moved from here. | |
1486 | * config/udivmod.c, config/divmod.c, config/udivmodsi4.c: To here. | |
1487 | * config/mn10200/t-mn10200 (LIB2FUNCS_EXTRA): Use the generic | |
1488 | C division functions. | |
1489 | * config/m68hc11/t-m68hc11-gas (LIB2FUNCS_EXTRA): Likewise. | |
1490 | ||
15c2086a JL |
1491 | Thu Nov 30 01:12:52 2000 Jeffrey A Law (law@cygnus.com) |
1492 | ||
1493 | * pa.md (conditional moves): Avoid holes in operand list. | |
1494 | (mod, umod patterns): Similarly. | |
1495 | (variable extract/shift patterns): Similarly. | |
1496 | ||
9105f671 NB |
1497 | 2000-11-30 Neil Booth <neilb@earthling.net> |
1498 | ||
f6bbde28 ZW |
1499 | * objc/objc-act.c (lang_init, finish_file, maybe_objc_comptypes, |
1500 | maybe_objc_check_decl, build_objc_string_object, | |
1501 | objc_declare_alias, objc_declare_class, build_message_expr, | |
1502 | build_protocol_expr, build_selector_expr, build_encode_expr, | |
1503 | get_class_ivars, start_class, start_protocol): Remove | |
1504 | redundant code, assuming doing_objc_thang is true. | |
9105f671 | 1505 | |
31a7659b JDA |
1506 | 2000-11-29 John David Anglin <dave@hiauly1.hia.nrc.ca> |
1507 | ||
1f80ea95 JDA |
1508 | * pa.c (restore_unscaled_index_insn_codes): Delete procedure. |
1509 | (record_unscaled_index_insn_codes): Likewise. | |
1510 | (unscaled_index_insn_codes): Delete. | |
1511 | (max_unscaled_index_insn_codes_uid): Delete. | |
1512 | (output_function_prologue, output_function_epilogue, pa_reorg): | |
1513 | Don't use the unscaled index insn hack. | |
1514 | ||
d16ca6a6 JDA |
1515 | * pa.md: Remove hack from all index insns to reverse the operand |
1516 | order of frame and stack pointer references incorrectly created | |
1517 | in the reload pass. | |
1518 | ||
3502dc9c JDA |
1519 | * function.h (emit_status): Delete member regno_pointer_flag and |
1520 | rename regno_pointer_flag_length to regno_pointer_align_length. | |
1521 | Delete define for REGNO_POINTER_FLAG. | |
1522 | * integrate.h (inline_remap): Delete member regno_pointer_flag. | |
1523 | Add member x_regno_reg_rtx. | |
1524 | * rtl.h (rtx_def): Use frame_related bit to indicate register is | |
1525 | a pointer in REG expressions. Define REG_POINTER macro. | |
1526 | * alias.c (find_base_value, find_base_term): Use REG_POINTER | |
1527 | instead of REGNO_POINTER_FLAG. | |
1528 | * combine.c (nonzero_bits, num_sign_bit_copies): Likewise. | |
1529 | * emit-rtl.c (gen_reg_rtx): Use regno_pointer_align_length instead | |
1530 | of regno_pointer_flag_length. Remove code which refers to | |
1531 | regno_pointer_flag. | |
1532 | (mark_reg_pointer): Use REG_POINTER. | |
1533 | (free_emit_status): Remove code which refers to regno_pointer_flag. | |
1534 | (init_emit, mark_emit_status): Likewise. | |
1535 | * flow.c (dump_flow_info): Likewise. | |
1536 | * function.c (preserve_temp_slots): Likewise. | |
1537 | * integrate.c (expand_inline_function, copy_rtx_and_substitute): | |
1538 | Use x_regno_reg_rtx instead of regno_pointer_flag for function | |
1539 | pointer determination in map. | |
1540 | * loop.c (strength_reduce, maybe_eliminate_biv_1): Use REG_POINTER. | |
1541 | * predict.c (estimate_probability): Likewise. | |
1542 | * regclass.c (record_address_regs, reg_scan_mark_refs): Likewise. | |
1543 | * unroll.c (unroll_loop): Use x_regno_reg_rtx instead of | |
1544 | regno_pointer_flag for function pointer determination in map. | |
1545 | * convex.h (RTX_COSTS): Don't test regno_pointer_flag and use | |
1546 | REG_POINTER. | |
1547 | * pa.c (hppa_legitimize_address, emit_move_sequence, basereg_operand): | |
1548 | Use REG_POINTER. | |
1549 | (restore_unscaled_index_insn_codes): Revise comment. | |
1550 | ||
31a7659b JDA |
1551 | * expr.c (do_compare_and_jump): Add missing TYPE_MODE in statement. |
1552 | ||
9f1bbeaa JM |
1553 | 2000-11-30 Joseph S. Myers <jsm28@cam.ac.uk> |
1554 | ||
1555 | * extend.texi: Update documentation for attributes. | |
1556 | ||
74e5aa4b DB |
1557 | 2000-11-29 David O'Brien <obrien@FreeBSD.org> |
1558 | ||
1559 | * config/alpha/elf.h (IDENT_ASM_OP): Protect the #define. | |
1560 | (ASM_DECLARE_OBJECT_NAME): Same. | |
1561 | (ASM_FILE_END): Same. | |
1562 | (ASM_FINISH_DECLARE_OBJECT): Same. | |
1563 | (ASM_IDENTIFY_GCC): Same. | |
1564 | (ASM_IDENTIFY_LANGUAGE): Same. | |
1565 | (ASM_OUTPUT_CONSTRUCTOR): Same. | |
1566 | (ASM_OUTPUT_DEF): Same. | |
1567 | (ASM_OUTPUT_DESTRUCTOR): Same. | |
1568 | (ASM_OUTPUT_EXTERNAL_LIBCALL): Same. | |
1569 | (ASM_OUTPUT_SECTION_NAME): Same. | |
1570 | (ASM_WEAKEN_LABEL): Same. | |
1571 | (BSS_SECTION_ASM_OP): Same. | |
1572 | (COMMON_ASM_OP): Same. | |
1573 | (CONST_SECTION_ASM_OP): Same. | |
1574 | (CONST_SECTION_FUNCTION): Same. | |
1575 | (CTORS_SECTION_ASM_OP): Same. | |
1576 | (DTORS_SECTION_ASM_OP): Same. | |
1577 | (ESCAPES): Same. | |
1578 | (FINI_SECTION_ASM_OP): Same. | |
1579 | (IDENT_ASM_OP): Same. | |
1580 | (IDENT_ASM_OP): Same. | |
1581 | (INIT_SECTION_ASM_OP): Same. | |
1582 | (INT_ASM_OP): Same. | |
1583 | (MAX_OFILE_ALIGNMENT): Same. | |
1584 | (SBSS_SECTION_ASM_OP): Same. | |
1585 | (SDATA_SECTION_ASM_OP): Same. | |
1586 | (SECTION_FUNCTION_TEMPLATE): Same. | |
1587 | (SELECT_SECTION): Same. | |
1588 | (SE_CONST_SECTION): Same. | |
1589 | (SIZE_ASM_OP): Same. | |
1590 | (SKIP_ASM_OP): Same. | |
1591 | (STRING_ASM_OP): Same. | |
1592 | (STRING_LIMIT): Same. | |
1593 | (TYPE_ASM_OP): Same. | |
1594 | (TYPE_OPERAND_FMT): Same. | |
1595 | ||
0eaed3c6 NB |
1596 | 2000-11-29 Neil Booth <neilb@earthling.net> |
1597 | ||
f6bbde28 ZW |
1598 | * c-decl.c (c_decode_option): Don't handle -lang-objc. |
1599 | * objc/lang-options.h: Remove -lang-objc. | |
1600 | * objc/lang-specs.h: Don't pass -lang-objc to cc1obj. | |
1601 | * objc/objc-act.c (lang_init_options): Set c_language. | |
0eaed3c6 | 1602 | |
98166639 JJ |
1603 | 2000-11-29 Jakub Jelinek <jakub@redhat.com> |
1604 | ||
1605 | * expr.c (can_store_by_pieces): Reinitialize max_size for reverse | |
1606 | tests. | |
1607 | ||
f3b55474 NB |
1608 | 2000-11-29 Neil Booth <neilb@earthling.net> |
1609 | ||
f6bbde28 | 1610 | * c-pragma.c (init_pragma): Update for parse_in type change. |
f3b55474 | 1611 | |
b86ecfa9 LB |
1612 | 2000-11-29 Laurynas Biveinis <lauras@softhome.net> |
1613 | ||
1614 | * configure.in: recognize DOS-style absolute paths. | |
1615 | ||
57814e5e JJ |
1616 | 2000-11-29 Jakub Jelinek <jakub@redhat.com> |
1617 | ||
1618 | * expr.h (store_by_pieces): Add prototype. | |
1619 | (can_store_by_pieces): Likewise. | |
1620 | * expr.c (struct store_by_pieces): Renamed from clear_by_pieces. | |
1621 | (can_store_by_pieces): New. | |
1622 | (store_by_pieces): New. | |
1623 | (clear_by_pieces): New. | |
1624 | (clear_by_pieces_1): New. | |
1625 | (store_by_pieces_1): Renamed from clear_by_pieces, handle storing | |
1626 | arbitrary compiler generated constants into memory block. | |
1627 | (store_by_pieces_2): Renamed from clear_by_pieces_1, likewise. | |
1628 | * builtins.c (c_readstr): New. | |
1629 | (builtin_memcpy_read_str): New. | |
1630 | (expand_builtin_memcpy): If src is string constant and | |
1631 | emit_block_move would move it by pieces, compute integer constants | |
1632 | from the string and store it into memory block instead. | |
1633 | (builtin_strncpy_read_str): New. | |
1634 | (expand_builtin_strncpy): If N is not constant zero and c_strlen does | |
1635 | not return INTEGER_CST, don't optimize. | |
1636 | If N is larger than strlen(src) + 1, try to copy the string | |
1637 | including padding with store_by_pieces. | |
1638 | (expand_builtin_strcmp): If both arguments have side effects, don't | |
1639 | optimize. | |
1640 | (expand_builtin_fputs): If STR has side effects, don't optimize. | |
1641 | ||
76b7dad3 RE |
1642 | 2000-11-29 Richard Earnshaw <rearnsha@arm.com> |
1643 | ||
1644 | * arm.md (sibcall, sibcall_value, sibcall_insn, sibcall_value_insn): | |
1645 | Add use of link register. | |
1646 | ||
b722c82c JM |
1647 | 2000-11-29 Joseph S. Myers <jsm28@cam.ac.uk> |
1648 | ||
1649 | * extend.texi: Update documentation for default format attributes. | |
1650 | ||
01fa3508 JL |
1651 | Tue Nov 28 21:56:45 2000 Jeffrey A Law (law@cygnus.com) |
1652 | ||
1653 | * pa/pa-64.h (ASM_OUTPUT_SECTION_NAME): Use a hash table, not | |
1654 | a list, to keep track of the sections. | |
1655 | ||
4bec9f7d NC |
1656 | 2000-11-28 Nick Clifton <nickc@redhat.com> |
1657 | ||
1658 | * config/arm/arm.md (pic_load_addr): Split into | |
1659 | pic_load_addr_arm and pic_load_addr_thumb. | |
1660 | ||
1661 | * config/arm/arm.c (legitimize_pic_address): Generate either | |
1662 | ARM or Thumb versions of pic_load_addr. | |
1663 | (arm_finalize_pic): Generate either ARM or Thumb versions of | |
1664 | pic_load_addr. | |
1665 | ||
54fef245 RH |
1666 | 2000-11-28 Richard Henderson <rth@redhat.com> |
1667 | ||
1668 | * calls.c (expand_call): Defer const/pure NO_DEFER_POP until | |
1669 | after sibcall do_pending_stack_adjust. | |
1670 | ||
f423a6a7 R |
1671 | Wed Nov 29 00:08:23 2000 J"orn Rennecke <amylaar@redhat.com> |
1672 | ||
1673 | * jump.c (delete_insn): Check that REG_LABEL note actually contains | |
1674 | a CODE_LABEL. | |
1675 | ||
eaf299c6 NB |
1676 | 2000-11-28 Neil Booth <neilb@earthling.net> |
1677 | ||
01933a51 | 1678 | * c-common.h: Remove flag_digraphs. |
f6bbde28 ZW |
1679 | * c-decl.c: Remove flag_digraphs. |
1680 | (c_decode_option): Don't set it. | |
01933a51 | 1681 | * c-lex.c (init_c_lex): Don't do anything for digraphs. |
eaf299c6 | 1682 | |
7dfe7bd6 RH |
1683 | 2000-11-28 Richard Henderson <rth@redhat.com> |
1684 | ||
1685 | * c-parse.in (finish_parse): Update for parse_in type change. | |
1686 | (_yylex): Likewise. | |
1687 | ||
8dc4676d NB |
1688 | 2000-11-28 Neil Booth <neilb@earthling.net> |
1689 | ||
01933a51 JM |
1690 | * cppmacro.c (cpp_scan_buffer_nooutput): Take a boolean |
1691 | indicating whether to scan all buffers on the stack or | |
1692 | just one. | |
1693 | * cppinit.c (do_includes): Update. | |
1694 | * cppmain.c (main): Update. | |
1695 | * cpplib.h: Update prototype. | |
8dc4676d | 1696 | |
c77e04ae RH |
1697 | 2000-11-28 Richard Henderson <rth@redhat.com> |
1698 | ||
1699 | * genoutput.c (validate_insn_operands): New. | |
1700 | (gen_insn): Call it. | |
1701 | ||
1702 | * config/alpha/alpha.md (divmodsi_internal): Renumber operands. | |
1703 | (divmoddi_internal): Likewise. | |
1704 | * config/arm/arm.md (andsi3_compare0_scratch): Likewise. | |
1705 | * config/i960/i960.md (branch patterns): Likewise. | |
1706 | * config/ia64/ia64.md (tbit_and_0): Likewise. | |
1707 | (tbit_and_1, tbit_or_0, tbit_or_1): Likewise. | |
1708 | * config/m68k/m68k.md (zero_extract memory patterns): Likewise. | |
1709 | * config/mips/mips.md (divmodsi4_internal): Likewise. | |
1710 | (divmoddi4_internal): Likewise. | |
1711 | * config/rs6000/rs6000.md (call patterns): Likewise. | |
1712 | * config/sh/sh.md (movsi_y): Likewise. | |
1713 | * config/sparc/sparc.md: Comment out if 0 v8p shift pattern. | |
1714 | ||
79bc4669 RH |
1715 | 2000-11-28 Richard Henderson <rth@redhat.com> |
1716 | ||
1717 | * config.gcc: Kill residual pyramid support. | |
1718 | ||
cf44ea52 NB |
1719 | 2000-11-28 Neil Booth <neilb@earthling.net> |
1720 | ||
1721 | * c-lex.h (parse_in): Change parse_in to a cpp_reader *. | |
1722 | * c-decl.c (c_decode_option): Update to match. | |
1723 | * c-lex.c (init_c_lex, yyparse): Update to match. | |
1724 | * c-lang.c (lang_init_options): Use cpp_create_reader. | |
1725 | * cppinit.c (cpp_init): Rename initialize. | |
1726 | (cpp_reader_init): Rename cpp_create_reader. Create the | |
1727 | reader. Initialize cpplib if appropriate. | |
1728 | * cpplib.h (cpp_create_reader) New prototype. | |
1729 | (cpp_init, cpp_reader_init): Delete prototypes. | |
1730 | * cppmain.c (general_init, setup_callbacks): New functions. | |
1731 | (main): Use them. | |
1732 | * fix-header.c (scan_in): Change type to cpp_reader *. | |
1733 | (read_scan_file): Update for new cpplib interface and scan_in type. | |
1734 | ||
1735 | * cp/decl.c (parse_in): Change to cpp_reader *. | |
1736 | (lang_decode_option): Update. | |
1737 | * cp/lex.c (lang_init_options): Use new cpplib interface. | |
1738 | (init_cp_pragma, finish_parse, handle_pragma_implementation): Update. | |
1739 | * cp/spew.c (read_token): Update. | |
1740 | * objc/objc-act.c (lang_init_options): Update new cpplib interface. | |
1741 | ||
48c4d691 JJ |
1742 | 2000-11-28 Jakub Jelinek <jakub@redhat.com> |
1743 | ||
1744 | * loop.c (load_mems): Avoid using next_label to find end_label. If | |
1745 | jumping outside of the loop (other than loop end), don't hoist MEMs | |
1746 | out of loop. | |
1747 | ||
fb158467 JH |
1748 | 2000-11-28 Jan Hubicka <jh@suse.cz> |
1749 | ||
1750 | * calls.c (expand_call): Don't disable tail recursion based | |
1751 | on the loop nest. | |
1752 | ||
40bd4395 NB |
1753 | 2000-11-28 Neil Booth <neilb@earthling.net> |
1754 | ||
01933a51 JM |
1755 | * tradcpp.c (enum node_type): New hash types T_ASSERT, T_UNASSERT. |
1756 | (struct directive): Drop 4th argument from handlers. | |
1757 | (do_define, do_line, do_include, do_undef, do_else, do_elif, | |
1758 | do_endif): Similarly. | |
1759 | (do_assert, do_unassert, do_ifdef, do_ifndef): New handlers. | |
1760 | (do_ifxdef): Update as common handler of do_ifdef and do_ifndef. | |
1761 | (make_definition, make_undef): Take a const char*. | |
1762 | (make_assertion): New function. | |
1763 | (struct directive_table): Update. | |
1764 | (main): Handle -A command line argument. | |
1765 | (handle_directive): Drop fourth handler argument. | |
40bd4395 | 1766 | |
77ea49a4 BS |
1767 | 2000-11-28 Bernd Schmidt <bernds@redhat.co.uk> |
1768 | ||
1769 | * simplify-rtx.c (cselib_record_sets): Ignore sets whose destination | |
1770 | is anything but REG or MEM, but look inside STRICT_LOW_PART. | |
1771 | ||
c5c0b3d9 RK |
1772 | Tue Nov 28 09:53:50 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
1773 | ||
1774 | * system.h (IS_DIR_SEPARATOR): Use uppercase macro name. | |
1775 | (IS_ABSOLUTE_PATHNAME): New macro. | |
1776 | * gcc.c (find_a_file, process_command, do_spec_1, main): Use it. | |
1777 | ||
dd80b906 JJ |
1778 | 2000-11-28 Jakub Jelinek <jakub@redhat.com> |
1779 | ||
1780 | * config/i386/i386.md (truncxfsf2_2): Fix predicate. | |
1781 | ||
102870fb JW |
1782 | 2000-11-27 Jim Wilson <wilson@redhat.com> |
1783 | ||
1784 | * reload1.c (reload): Use HOST_WIDE_INT for old_frame_size. | |
1785 | ||
9734e80c MK |
1786 | 2000-11-27 Matthias Klose <doko@cs.tu-berlin.de> |
1787 | ||
1788 | * extend.texi (Nested Functions): Update URL of Usenix paper. | |
1789 | ||
cf77f15f MM |
1790 | 2000-11-27 Mark Mitchell <mark@codesourcery.com> |
1791 | ||
1792 | * function.c (free_after_compilation): Clear x_clobber_return_insn. | |
1793 | ||
6a6b1628 NB |
1794 | 2000-11-27 Neil Booth <neilb@earthling.net> |
1795 | ||
f6bbde28 | 1796 | * cppinit.c (cpp_reader_init): Remove handling of warn_paste |
01933a51 JM |
1797 | command line options. |
1798 | (cpp_handle_option): Similarly. | |
1799 | * cpplib.h (struct cpp_options): Remove warn_paste. | |
1800 | * cppmacro.c (paste_tokens): Apart from assembler, make | |
1801 | unpasteable token warning mandatory. | |
6a6b1628 | 1802 | |
fb6a7b08 NB |
1803 | 2000-11-27 Neil Booth <neilb@earthling.net> |
1804 | ||
01933a51 JM |
1805 | * tradcpp.c (enum pending_dir_t, struct pending_dir): New. |
1806 | (main): Allocate a pending directive set of these. Use it. | |
1807 | Merge handling of -D and -U. Update handling of pending | |
1808 | directives. Free the memory after use. | |
fb6a7b08 | 1809 | |
7dfc0fbe BS |
1810 | 2000-11-27 Bernd Schmidt <bernds@redhat.co.uk> |
1811 | ||
1812 | * flow.c (entry_exit_blocks): Add entry for cond_local_set. | |
1813 | (struct propagate_block_info): Add new member cond_local_set. | |
1814 | (propagate_block): Accept new arg cond_local_set. All callers | |
1815 | changed. | |
1816 | (init_propagate_block_info): Likewise. | |
1817 | (calculate_global_regs_live): Allocate & free cond_local_set. Always | |
1818 | rescan if there's overlap between cond_local_set and new_live_at_end. | |
1819 | (mark_set_1): Set bits either in cond_local_set or local_set, as | |
1820 | appropriate. | |
1821 | * basic-block.h (struct basic_block_def): New field cond_local_set. | |
1822 | (propagate_block, init_propagate_block_info): Update prototypes. | |
1823 | ||
5f6fa212 KK |
1824 | Mon Nov 27 17:29:44 2000 kaz Kojima <kkojima@rr.iij4u.or.jp> |
1825 | ||
1826 | * gcc/config/sh/sh.md (udivsi3_i4, udivsi3_i4_single): Clobber | |
1827 | T register. | |
1828 | ||
8bb9536a RE |
1829 | 2000-11-27 Richard Earnshaw <rearnsha@arm.com> |
1830 | ||
1831 | * arm.c (select_dominance_cc_mode): Handle new way that combine | |
1832 | canonicalizes conditional compares. | |
1833 | (arm_select_cc_mode): Likewise. | |
1834 | * arm.md: Garbage collect some dead code. | |
1835 | (cmp_and, cmp_ior): New patterns. | |
1836 | (splitter for conditional move with inverted false): Use cond_exec | |
1837 | and handle unordered comparisons. | |
1838 | ||
4211a8fb JH |
1839 | Mon Nov 27 17:22:56 MET 2000 Jan Hubicka <jh@suse.cz> |
1840 | ||
1841 | * i386.c (ix86_force_to_memory, ix86_free_from_memory): New. | |
1842 | * i386-protos.h (ix86_force_to_memory, ix86_free_from_memory): Declare | |
1843 | * i386.md (float?i?f, int/fp operations): Rewrite spliters to use | |
1844 | ix86_force_to_memory and ix86_free_from_memory. | |
1845 | ||
bb6ae783 RE |
1846 | 2000-11-27 Richard Earnshaw <rearnsha@arm.com> |
1847 | ||
1848 | * arm.md (arm_adddi3, adddi_sesidi_di, adddi_zesidi_di, arm_addsi3, | |
1849 | arm_subsi3_insn, anddi_zesidi_di, arm_andsi3_insn, anddi_notdi_di, | |
f6bbde28 | 1850 | anddi_notzesidi_di, anddi_notsesidi_di, arm_iorsi3, |
bb6ae783 RE |
1851 | one_cmpldi2): Merge with splitters to create define_insn_and_split |
1852 | patterns. Remove redundant splits. | |
1853 | (peephole2 for add:SI of invalid immediate): New. | |
1854 | (peephole2 for minus:SI of invalid immediate): New. | |
1855 | (peephole2 for ior:SI of invalid immediate): New. | |
1856 | (peephole for merge of move and compare): Convert ot peephole2. | |
1857 | (addsf3, adddf3): Mark as commutative. | |
1858 | ||
1859 | * arm.md (thumb peephole for merging stack adjustments): Convert to | |
1860 | peephole2. | |
1861 | ||
70bbeb8b BS |
1862 | 2000-11-27 Bernd Schmidt <bernds@redhat.co.uk> |
1863 | ||
375de5b6 BS |
1864 | * haifa-sched.c (print_pattern): Prettier output for COND_EXEC. |
1865 | ||
70bbeb8b BS |
1866 | * reload1.c (reload_cse_simplify_set): Pass down mode to cselib_lookup. |
1867 | (reload_cse_simplify_operands): Do nothing about operands where both | |
1868 | the operand and the match_operand fail to give us a mode. | |
1869 | * simplify-rtx.c (wrap_constant): New function. | |
1870 | (entry_and_rtx_equal_p): Except integer constants to come wrapped in a | |
1871 | CONST describing the proper mode. | |
1872 | (rtx_equal_for_cselib_p): Pass down modes to recursive calls of | |
1873 | cselib_lookup. | |
1874 | (cselib_lookup_mem): Call wrap_constant on the rtx that is passed to | |
1875 | htab_find_slot_with_hash. | |
1876 | (cselib_lookup): Likewise. | |
1877 | ||
7dbe6ae9 BS |
1878 | Based on a patch from Geoff Keating <geoffk@redhat.com>: |
1879 | * loop.c (basic_induction_var): If a REG is set from something | |
1880 | that is not a biv, then the REG is not a biv. Even if it is | |
1881 | earlier set from something that is a biv. | |
1882 | ||
6b2adea9 AO |
1883 | 2000-11-27 Alexandre Oliva <aoliva@redhat.com> |
1884 | ||
1885 | * configure.in (extra_objs): Enclose extra_headers in quotes. | |
1886 | * configure: Rebuilt. | |
1887 | ||
27e2564a NB |
1888 | 2000-11-27 Neil Booth <neilb@earthling.net> |
1889 | ||
01933a51 JM |
1890 | * c-lex.c (cb_enter_file, cb_leave_file, cb_rename_file): |
1891 | Combine into the new function cb_change_file. | |
1892 | (init_c_lex): Update. | |
1893 | * cppfiles.c (stack_include_file): Use _cpp_do_file_change. | |
1894 | (cpp_syshdr_flags): Delete. | |
1895 | * cpphash.h (_cpp_do_file_change): New prototype. | |
1896 | Move struct cpp_buffer here from... | |
1897 | * cpplib.h (struct cpp_buffer): ... here. | |
1898 | (enum cpp_fc_reason, struct cpp_file_loc, | |
1899 | struct_cpp_file_change, change_file): New. | |
1900 | (enter_file, leave_file, rename_file, cpp_syshdr_flags): Delete. | |
1901 | * cpplib.c (do_line): Update for new cb_change_file callback. | |
1902 | (_cpp_do_file_change): New function. | |
1903 | (_cpp_pop_buffer): Update to use it. | |
1904 | * cppmain.c (move_printer): Delete. | |
1905 | (main): Set up single callback cb_change_file. | |
1906 | (cb_enter_file, cb_leave_file, cb_rename_file): Delete. | |
1907 | (cb_change_file): New. | |
1908 | * fix-header.c (cur_file, cb_change_file): New. | |
1909 | (recognized_function, read_scan_file): Update. | |
1910 | * scan-decls.c (scan_decls): Update. | |
1911 | * scan.h (recognized_function): Update prototype. | |
27e2564a | 1912 | |
9ccb25d5 MM |
1913 | 2000-11-26 Mark Mitchell <mark@codesourcery.com> |
1914 | ||
1915 | * tree.h (mark_tree_hashtable): New function. | |
1916 | * tree.c (mark_tree_hashtable_entry): New function. | |
1917 | (mark_tree_hashtable): Likewise. | |
1918 | ||
5fcd86dd MM |
1919 | 2000-11-27 Michael Meissner <meissner@redhat.com> |
1920 | ||
1921 | * d30v-protos.h (srelational_si_operator): Correctly spell | |
1922 | function. | |
1923 | (urelational_si_operator): Ditto. | |
1924 | (relational_si_operator): Ditto. | |
1925 | (d30v_expand_prologue): Add prototype. | |
1926 | (d30v_expand_epilogue): Ditto. | |
1927 | ||
1928 | * d30v.h (OPTIMIZATION_OPTIONS): Undo November 22nd change. | |
1929 | ||
1930 | * d30v.md (movcccc_*): Delete now unused patterns. | |
1931 | (64 bit comparison splitters): Rewrite to use COND_EXEC instead of | |
1932 | IF_THEN_ELSE. | |
1933 | (define_cond_exec): Use 'b' to select branch flags. | |
1934 | ||
da9e9f08 KG |
1935 | 2000-11-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1936 | ||
1937 | * builtins.c (expand_builtin_strncmp, expand_builtin_strncpy): New | |
1938 | functions. | |
1939 | (expand_builtin): Handle BUILT_IN_STRNCPY and BUILT_IN_STRNCMP. | |
1940 | ||
1941 | * builtins.def (BUILT_IN_STRNCPY, BUILT_IN_STRNCMP): New entries. | |
1942 | ||
1943 | * c-common.c (c_common_nodes_and_builtins): Declare builtin | |
1944 | strncpy and strncmp. | |
1945 | ||
1946 | * extend.texi (strncmp, strncpy): Document new builtins. | |
1947 | ||
231db5f4 MM |
1948 | 2000-11-26 Mark Mitchell <mark@codesourcery.com> |
1949 | ||
1950 | * config/elfos.h (ASM_OUTPUT_SECTION_NAME): Use a hash table, not | |
1951 | a list, to keep track of the sections. | |
1952 | * tm.texi (ASM_OUTPUT_SECTION_NAME): Document the fact that the | |
1953 | parameter provided will always be a canonical string. | |
1954 | ||
7463ef45 NB |
1955 | 2000-11-26 Neil Booth <neilb@earthling.net> |
1956 | ||
5fcd86dd MM |
1957 | * cppmacro.c (cpp_scan_buffer_nooutput): Only scan the |
1958 | current buffer. | |
7463ef45 | 1959 | |
1ccfb3dd JM |
1960 | 2000-11-26 Joseph S. Myers <jsm28@cam.ac.uk> |
1961 | ||
1962 | * makefile.vms: Remove EGCS references. | |
1963 | ||
0b34cf1e UD |
1964 | 2000-11-26 Ulrich Drepper <drepper@redhat.com> |
1965 | ||
1966 | * dwarf2out.c (output_file_names): New function. Compute minimal | |
1967 | combination of directory and file name table and emit them. | |
1968 | (output_line_info): Remove code to emit directory and file name | |
1969 | table and call output_file_names instead. | |
1970 | (file_info_cmp): Helper function to sort directory names. | |
1971 | ||
5fcd86dd | 1972 | 2000-11-26 Neil Booth <neilb@earthling.net> |
bdb05a7b | 1973 | |
5fcd86dd MM |
1974 | * cpplib.h (struct cpp_reader): Remove lang_asm. |
1975 | (struct cpp_options): Remove c89. New members lang, | |
1976 | extended_numbers. | |
f6bbde28 | 1977 | * cppexp.c (parse_number): Use them. |
5fcd86dd MM |
1978 | * cpphash.h (VALID_SIGN): Use them. |
1979 | * cppinit.c (set_lang, cpp_start_read): Update. | |
1980 | * cpplex.c (parse_string, _cpp_lex_token): Update. | |
1981 | * cpplib.c (_cpp_handle_directive): Update. | |
1982 | * cppmacro.c (parse_args): Update. | |
1983 | * cppmain.c (scan_buffer): Update. | |
bdb05a7b | 1984 | |
72bd1f9e RK |
1985 | Sun Nov 26 10:02:37 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
1986 | ||
1987 | * fold-const.c (fold, case CONVERT_EXPR): Always return tree of | |
1988 | proper type. | |
1989 | ||
5fcd86dd MM |
1990 | 2000-11-26 Neil Booth <neilb@earthling.net> |
1991 | ||
1992 | * Makefile.in: Remove MAYBE_CPPLIB and maybe_cpplib. | |
1993 | * c-decl.c: Remove parse_in declaration. | |
1994 | * c-lang.c: Similarly. | |
1995 | * c-lex.c: Similarly. | |
1996 | * c-parse.in: Similarly. | |
1997 | * c-pragma.c: Similarly. | |
1998 | * configure.in: Similarly. | |
1999 | * cp/Make-lang.in: Similarly. | |
2000 | * cp/spew.c: Similarly. | |
2001 | * cp/decl2.c: Remove check for lang-c++ option. | |
2002 | * cp/lang-specs.h: Remove -lang-c++ from cc1plus command line. | |
2003 | * cp/lex.c (lang_init_options): With cpp_reader_init, default to C++. | |
2004 | * c-lex.h: Add declaration of parse_in. | |
2005 | * cppinit.c: Call set_lang after allocating pfile->pending. | |
2006 | * configure: Regenerate. | |
056487e7 | 2007 | |
1786009e ZW |
2008 | 2000-11-25 Zack Weinberg <zack@wolery.stanford.edu> |
2009 | ||
2010 | * combine.c (try_combine): Remove redundant test. | |
2011 | ||
3645c4dc RH |
2012 | 2000-11-25 Richard Henderson <rth@redhat.com> |
2013 | ||
2014 | * c-common.h (DECL_C_HARD_REGISTER): New. | |
2015 | * c-decl.c (finish_decl): Set it for asm register variables. | |
2016 | * c-semantics.c (emit_local_var): Test it when instantiating one. | |
2017 | ||
a17a5850 RH |
2018 | 2000-11-25 Richard Henderson <rth@redhat.com> |
2019 | ||
2020 | * c-decl.c (c_expand_body): Use DECL_SOURCE_LINE rather than | |
2021 | lineno for the start of the function. | |
2022 | ||
2e18bbae RH |
2023 | 2000-11-25 Richard Henderson <rth@redhat.com> |
2024 | ||
2025 | * dwarf2out.c (file_table, file_table_allocated): Remove. | |
2026 | (file_table_allocated): Remove. | |
2027 | (struct file_table): New. | |
2028 | (decl_file_table, line_file_table): New. | |
2029 | (print_dwarf_line_table): Use them. | |
2030 | (size_of_line_prolog): Likewise. | |
2031 | (output_line_info): Likewise. | |
2032 | (add_src_coords_attributes): Likewise. | |
2033 | (gen_subprogram_die): Likewise. | |
2034 | (gen_variable_die): Likewise. | |
2035 | (dwarf2out_add_library_unit_info): Likewise. | |
2036 | (dwarf2out_line): Likewise. | |
2037 | (lookup_filename): Take a struct file_table argument. | |
2038 | (init_file_table): New. | |
2039 | (dwarf2out_init): Use it. | |
2040 | ||
163686bd JM |
2041 | 2000-11-25 Joseph S. Myers <jsm28@cam.ac.uk> |
2042 | ||
2043 | * invoke.texi: Update sequence points references. | |
2044 | ||
a32f2771 NB |
2045 | 2000-11-25 Neil Booth <neilb@earthling.net> |
2046 | ||
01933a51 JM |
2047 | * c-common.c: Remove USE_CPPLIB conditional inclusions. |
2048 | * c-common.h: Similarly. | |
2049 | * c-decl.c: Similarly. | |
a32f2771 NB |
2050 | * c-lang.c: Similarly. |
2051 | * c-lex.c: Similarly. | |
01933a51 JM |
2052 | * c-parse.in: Similarly. |
2053 | * c-pragma.c: Similarly. | |
2054 | * c-pragma.h: Similarly. | |
2055 | * gcc.c: Similarly. | |
2056 | * toplev.c: Similarly. | |
2057 | * cp/cp-tree.h: Similarly. | |
2058 | * cp/decl2.c: Similarly. | |
2059 | * cp/lang-specs.h: Similarly. | |
2060 | * cp/lex.c: Similarly. | |
2061 | * cp/lex.h: Similarly. | |
2062 | * cp/spew.c: Similarly. | |
2063 | * java/lang-options.h: Similarly. | |
2064 | * objc/lang-specs.h: Similarly. | |
2065 | * objc/objc-act.c: Similarly. | |
2066 | ||
2067 | * configure.in: Remove configure option. | |
2068 | * config.in: Regenerate. | |
2069 | * configure: Regenerate. | |
a32f2771 | 2070 | |
3e8aa6e3 RH |
2071 | 2000-11-25 Richard Henderson <rth@redhat.com> |
2072 | ||
2073 | * haifa-sched.c (sched_analyze_1, sched_analyze_2, sched_analyze): | |
2074 | Revert 2000-11-22 change. | |
2075 | ||
59a9e22e BS |
2076 | 2000-11-25 Bernd Schmidt <bernds@redhat.co.uk> |
2077 | ||
2078 | * config/i386/i386.h (FIXED_REGS): Make the three flags registers | |
2079 | fixed. | |
2080 | ||
2be36552 PT |
2081 | 2000-11-25 Philipp Thomas <pthomas@suse.de> |
2082 | * configure.in (ALL_LINGUAS): Remove en_GB and add sv. | |
2083 | * configure: Rebuilt. | |
2084 | ||
4df1190a JJ |
2085 | 2000-11-25 Jakub Jelinek <jakub@redhat.com> |
2086 | ||
2087 | * config/sparc/sparc.md (muldi3_v8plus): Remove H constraint. | |
2088 | Handle CONST_INT as second argument. | |
2089 | * config/sparc/sparc.c (set_extends): Remove first argument. | |
2090 | Properly handle AND, CONST_INT and CONST_DOUBLE, handle IOR, XOR and | |
2091 | MOV. | |
2092 | (sparc_check_64): Abort if first argument is not REG. | |
2093 | If it is DImode REG, look at the lower register of the register | |
2094 | pair. | |
2095 | ||
2096 | * config/sparc/sparc.c (load_pic_register, restore_regs, | |
2097 | output_return, sparc_v8plus_shift, sparc_function_profiler, | |
2098 | sparc_function_block_profiler, sparc_block_profiler): Fix output | |
2099 | formatting. | |
2100 | ||
6915629f AO |
2101 | 2000-11-25 Alexandre Oliva <aoliva@redhat.com> |
2102 | ||
ae010e43 AO |
2103 | * config/sh/sh.h (TARGET_NONE): New. |
2104 | (TARGET_SWITCHES): For all variant-selecting switch, use | |
2105 | TARGET_NONE to reset all other variant-selecting switch. Added | |
2106 | empty strings to avoid warnings. | |
2107 | (TARGET_DEFAULT): Set to SH1_BIT. | |
2108 | ||
8618466f AO |
2109 | * Makefile.in ($(INTL_TARGETS)): Added $(CONFIG_H) for |
2110 | insn-codes.h. | |
2111 | ||
5db5a888 AO |
2112 | * gcc/config/sh/sh.md (sibcalli, sibcalli_pcrel): New insns. |
2113 | (sibcall_pcrel): New insn_and_split. | |
2114 | (sibcall, sibcall_value, sibcall_epilogue): New expands. | |
2115 | ||
6915629f AO |
2116 | * config/sh/sh.md (GOTaddr2picreg, symGOT2reg, symGOTOFF2reg, |
2117 | symPLT_label2reg, call, call_value): Don't set | |
2118 | current_function_uses_pic_offset_table. | |
2119 | * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Don't mark | |
2120 | PIC_OFFSET_TABLE_REGNUM as call_used, so that calc_live_regs | |
2121 | takes it into account. | |
2122 | (FINALIZE_PIC): Delete, useless. | |
2123 | (LEGITIMATE_CONSTANT_P): Delete, unused. | |
2124 | * config/sh/sh.c (sh_expand_prologue): Don't use | |
2125 | current_function_uses_pic_offset_table. Don't special-case | |
2126 | PIC_OFFSET_TABLE_REGNUM. Initialize it if it's ever live and | |
2127 | PIC is enabled. | |
2128 | (sh_expand_epilogue, initial_elimination_offset): Don't | |
2129 | special case PIC_OFFSET_TABLE_REGNUM. | |
2130 | ||
2d01e445 AO |
2131 | 2000-11-25 Alexandre Oliva <aoliva@redhat.com>, NIIBE Yutaka <gniibe@m17n.org> |
2132 | ||
2133 | * config/sh/sh-protos.h (symbol_ref_operand): Declare. | |
2134 | * config/sh/sh.md (UNSPEC_CALLER): New constant. | |
2135 | (calli_pcrel, call_valuei_pcrel): Use PIC_REG. | |
2136 | (call_pcrel, call_value_pcrel): New insn_and_splits. | |
2137 | (call, call_value): Use them. | |
2138 | (call_site): New expand. | |
2139 | (sym_label2reg, symPLT_label2reg): Adjust to hold call_sites. | |
2140 | * config/sh/sh.h (OUTPUT_ADDR_CONST_EXTRA) [UNSPEC_CALLER]: | |
2141 | Output call_site label. | |
2142 | (PREDICATE_CODES): Added symbol_ref_operand. | |
2143 | * config/sh/sh.c (symbol_ref_operand): Define. | |
2144 | * emit-rtl.c (try_split): Propagate CALL_INSN_FUNCTION_USAGE | |
2145 | to CALL_INSNs in the split sequence. | |
2146 | ||
c3edd394 NC |
2147 | 2000-11-24 Nick Clifton <nickc@redhat.com> |
2148 | ||
2149 | * config.gcc (v850-*-*): Define c_target_objs and | |
f6bbde28 | 2150 | cxx_target_objs. |
c3edd394 NC |
2151 | |
2152 | * config/v850/t-v850: Define how to build v850-c.o | |
2153 | ||
2154 | * config/v850/v850.h (struct data_area_stack_element): Move | |
2155 | definition here from v850.c. | |
2156 | ||
2157 | * config/v850v850.c: Include gcc.h to avoid compile time | |
2158 | warning. | |
2159 | (push_data_area): Move to v850-c.c. | |
2160 | (pop_data_area): Move to v850-c.c. | |
2161 | (mark_current_function_as_interrupt): Move to v850-c.c. | |
2162 | (GHS_default_section_names): Allow to be exported. | |
2163 | (GHS_current_section_names): Allow to be exported. | |
2164 | (data_area_stack_elements): Allow to be exported. | |
2165 | (ghs_pragma_section): Move to v850-c.c. | |
2166 | (ghs_pragma_interrupt): Move to v850-c.c. | |
2167 | (ghs_pragma_starttda): Move to v850-c.c. | |
2168 | (ghs_pragma_startsda): Move to v850-c.c. | |
2169 | (ghs_pragma_startzda): Move to v850-c.c. | |
2170 | (ghs_pragma_endtda): Move to v850-c.c. | |
2171 | (ghs_pragma_endsda): Move to v850-c.c. | |
2172 | (ghs_pragma_endzda): Move to v850-c.c. | |
2173 | ||
2174 | * config/v850/v850-c.c: New file: Contains v850 specific | |
2175 | pragma parsing functions. | |
2176 | ||
aac69a49 NC |
2177 | 2000-11-24 Nick Clifton <nickc@redhat.com> |
2178 | ||
2179 | * config.gcc (extra_objs): Remove duplicate description. | |
2180 | (c_target_objs): New variable. Contains target specific | |
2181 | object files for the gcc C compiler only. | |
f6bbde28 | 2182 | (cxx_target_objs): New variable. Contains target specific |
aac69a49 NC |
2183 | object files for the gxx C++ compiler only. |
2184 | ||
2185 | * configure.in (c_target_objs): Substitute in the makefile. | |
2186 | (cxx_target_objs): Substitute in the makefile. | |
2187 | * configure: Regenerate. | |
2188 | ||
2189 | * Makefile.in (C_TARGET_OBJS): Define and initialise from | |
2190 | c_target_objs. | |
2191 | (CXX_TARGET_OBJS): Define and initialise from | |
2192 | cxx_target_objs. | |
2193 | (C_AND_OBJC_OBJS): Include C_TARGET_OBJS. | |
2194 | ||
2195 | * cp/Make-lang.in (CXX_C_OBJS): Include CXX_TARGET_OBJS). | |
2196 | ||
2197 | * tm.texi (REGISTER_TARGET_PRAGMAS): Add paragraph explaining | |
2198 | about how the use of the 'c_lex' function requires the use of | |
2199 | the target specific, language specific object files feature of | |
2200 | the configuration mechanism. | |
2201 | ||
7257bbc6 RK |
2202 | Fri Nov 24 18:50:58 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
2203 | ||
2204 | * gcc.c (process_command): Use F_OK, not R_OK. | |
2205 | ||
c3ff75c4 AK |
2206 | 2000-11-24 Arno J. Klaassen <arno@heho.snv.jussieu.fr> |
2207 | ||
2208 | * flow.c (print_rtl_and_abort): Remove ANSIism. | |
2209 | ||
104ee20b AO |
2210 | Fri Nov 24 19:54:36 2000 Alexandre Oliva <aoliva@redhat.com> |
2211 | ||
2212 | * config/sh/sh.h (GENERAL_REGISTER_P, | |
2213 | GENERAL_OR_AP_REGISTER_P, FP_REGISTER_P, XD_REGISTER_P, | |
2214 | FP_OR_XD_REGISTER_P, FP_ANY_REGISTER_P): New macros. Use them | |
2215 | all over. | |
2216 | (SPECIAL_REG): Renamed to SPECIAL_REGISTER_P. | |
2217 | * config/sh/sh.c: Use new macros. | |
2218 | * config/sh/sh.md: Likewise. | |
2219 | ||
5d00b10a AO |
2220 | Fri Nov 24 19:46:16 2000 Alexandre Oliva <aoliva@redhat.com> |
2221 | ||
2222 | * config/sh/sh.md: Clobber MACH_REG and MACL_REG in SImode, | |
2223 | instead of just MACH_REG in DImode. Always refer to FPSCR_REG | |
2224 | in PSImode. | |
2225 | ||
33f77355 DC |
2226 | Fri Nov 24 22:37:41 2000 Denis Chertykov <denisc@overta.ru> |
2227 | ||
2228 | * config/avr/avr.c (out_tsthi,out_tstsi): Test simplification bug | |
2229 | fixed. | |
2230 | (machine_dependent_reorg): Wrong optimization based on | |
f6bbde28 | 2231 | NOTICE_UPDATE_CC removed. |
33f77355 | 2232 | |
692dc9c6 R |
2233 | Fri Nov 24 19:48:09 2000 J"orn Rennecke <amylaar@redhat.com> |
2234 | ||
2235 | * jump.c (delete_computation): Re-instate deletion of feeding insn. | |
2236 | (delete_insn): Look for REG_LABEL notes. | |
2237 | (redirect_tablejump): Delete feeding insns. | |
2238 | ||
c3410241 BS |
2239 | 2000-11-24 Bernd Schmidt <bernds@redhat.co.uk> |
2240 | ||
90d10fb9 BS |
2241 | * config/i386/i386.md (call_pop_0, call_pop_1, call_value_pop_0, |
2242 | call_value_pop_1): Make sure operand numbers are contiguous. | |
2243 | ||
7cf5c9e1 BS |
2244 | * fold-const.c (fold_range_test): Avoid crash if LHS or RHS is null. |
2245 | ||
ff6534ad BS |
2246 | * reload1.c (conflicts_with_override): New function. |
2247 | (emit_input_reload_insns): Use it to tighten test for validity | |
2248 | of substituting into output of previous insn. | |
2249 | ||
176f9a7b BS |
2250 | * haifa-sched.c (struct ready_list): New. |
2251 | (ready_lastpos, ready_add, ready_remove_first, ready_sort): New static | |
2252 | functions. | |
2253 | (schedule_insn): Replace args READY and N_READY with a pointer to a | |
2254 | ready_list; return void. Use the new functions to access the ready | |
2255 | list. All callers changed. | |
2256 | (queue_to_ready, debug_ready_list): Likewise. | |
2257 | (schedule_block): Initialize a ready_list structure. Use new | |
2258 | functions to access it. | |
2259 | (max_priority): Remove unused variable. | |
2260 | (schedule_insn): Don't set it. | |
2261 | ||
52a84e42 BS |
2262 | * c-common.c (verify_tree): Don't recurse into CONSTRUCTORs. |
2263 | ||
c3410241 BS |
2264 | * combine.c (cant_combine_insn_p): New function. |
2265 | (try_combine): Use it. | |
2266 | ||
235cfbc4 BS |
2267 | * Makefile.in (c-common.o): Depend on $(OBSTACK_H). |
2268 | * c-common.c (c-obstack.c): Include "obstack.h". | |
2269 | (struct reverse_tree): Delete. | |
2270 | (reverse_list, reverse_max_depth): Delete. | |
2271 | (build_reverse_tree, common_ancestor, modify_ok): Delete functions. | |
2272 | (struct tlist, struct tlist_cache): New. | |
2273 | (tlist_obstack, tlist_firstobj, warned_ids, save_expr_cache): New. | |
2274 | (add_tlist, merge_tlist, verify_tree, warning_candidate_p, | |
2275 | warn_for_collisions, warn_for_collisions_1, new_tlist): New | |
2276 | static functions. | |
2277 | (verify_sequence_points): Rewritten. | |
2278 | * fold-const.c (fold): Don't lose possibly important sequence | |
2279 | points when removing one arm of TRUTH_ORIF_EXPRs or TRUTH_ANDIF_EXPRs. | |
2280 | ||
58ecb5e2 RS |
2281 | 2000-11-24 Richard Sandiford <rsandifo@redhat.com> |
2282 | ||
2283 | * gcc/cse.c (cse_insn): Removed conversion of REG_EQUIV to REG_EQUAL | |
2284 | when reversing a register-to-register copy. Reversal now disabled | |
2285 | when the previous instruction has a REG_EQUIV. | |
2286 | ||
2f401cc8 NS |
2287 | 2000-11-24 Nathan Sidwell <nathan@codesourcery.com> |
2288 | ||
2289 | * c-parse.in (unary_expr): Move VA_ARG from here ... | |
2290 | (primary): ... to here. | |
2291 | ||
963a2a84 GS |
2292 | 2000-11-23 Graham Stott <grahams@redhat.com> |
2293 | ||
2294 | * expr.c (store_constructor): If a field is non addressable and | |
2295 | the target is a MEM use MEM_ALIAS_SET otherwise use get_alias_set. | |
2296 | ||
f9b697bf BS |
2297 | 2000-11-23 Bernd Schmidt <bernds@redhat.co.uk> |
2298 | ||
2299 | * flow.c (print_rtl_and_abort): New function. | |
2300 | (verify_wide_reg, verify_local_live_at_start): Try to dump more | |
2301 | information before aborting. | |
2302 | ||
69295d6d AO |
2303 | 2000-11-23 Alexandre Oliva <aoliva@redhat.com> |
2304 | ||
2305 | * emit-rtl.c (gen_lowpart_common): Use word 0 if register mode | |
2306 | is narrower than requested mode. | |
2307 | (gen_highpart): Abort if register mode is narrower than | |
2308 | requested mode. | |
2309 | ||
99a9c946 GS |
2310 | 2000-11-23 Graham Stott <grahams@redhat.com> |
2311 | ||
2312 | * cse.c (cse_insn): Initialise all regcost variables. | |
2313 | Fix a typo add missing '='. | |
2314 | Only compare costs if there is a replacement insn. | |
2315 | ||
422be3c3 AO |
2316 | Thu Nov 23 04:33:33 2000 Alexandre Oliva <aoliva@redhat.com> |
2317 | ||
2318 | * final.c (output_addr_const) [LABEL_REF]: Simplify. | |
2319 | [MINUS]: Enclose non-CONST_INTs in parentheses. | |
2320 | [default]: Try OUTPUT_ADDR_CONST_EXTRA. | |
2321 | * tm.texi (OUTPUT_ADDR_CONST_EXTRA): Document it. | |
2322 | * varasm.c (decode_rtx_const) [CONST]: If it's not something | |
2323 | PLUS or MINUS a CONST_INT, use the whole CONST with offset 0 | |
2324 | instead of abort()ing. | |
2325 | * sh.c (output_pic_addr_const): Removed. Fixed all callers. | |
2326 | * sh.h (OUTPUT_ADDR_CONST_EXTRA): New. Handle the UNSPECs | |
2327 | formerly handled in output_pic_addr_const. | |
2328 | * sh.md (sym_label2reg, symPLT_label2reg): Enclose UNSPEC | |
2329 | operands of MINUS in CONSTs so that decode_rtx_const() will | |
2330 | accept them. | |
2331 | ||
43c05634 AO |
2332 | Thu Nov 23 04:10:30 2000 Alexandre Oliva <aoliva@redhat.com> |
2333 | ||
2334 | * config/sh/sh.md (mova_const): New pattern. | |
2335 | (GOTaddr2picreg): Use it. | |
2336 | * config/sh/sh.c (broken_move): Match it. | |
2337 | (mova_p): Don't match it. | |
2338 | (machine_dependent_reorg): Adjust it. | |
2339 | ||
4773afa4 AO |
2340 | Thu Nov 23 02:09:09 2000 Alexandre Oliva <aoliva@redhat.com> |
2341 | ||
2342 | * config/sh/sh.h (FIRST_GENERAL_REG, LAST_GENERAL_REG): New. | |
2343 | Moved most register-number #defines... | |
2344 | * config/sh/sh.md (define_constants): ... here. Use macros to | |
2345 | refer to registers and unspecs. | |
2346 | * config/sh/sh.c: Likewise. | |
2347 | ||
9196ece5 R |
2348 | Thu Nov 23 01:01:32 2000 J"orn Rennecke <amylaar@redhat.com> |
2349 | ||
2350 | * Makefile.in (HOST_CFLAGS): Add -DGENERATOR_FILE. | |
2351 | (rtl.o, print-rtl.o, bitmap.o, obstack.o): Build with -DGENERATOR_FILE. | |
2352 | (alloca.o, vfprintf.o, ggc-none.o, errors.o): Likewise. | |
2353 | (splay-tree.o, hash.o): Likewise. | |
2354 | GCONFIG_H: New. | |
2355 | (rtl.o, print-rtl.o): Depend on $(GCONFIG_H) instead of $(CONFIG_H). | |
2356 | (bitmap.o, obstack.o, vfprintf.o, ggc-none.o, errors.o): Likewise. | |
2357 | (hashtab.o): Likewise. | |
2358 | (gcov.o): Depend on $(CONFIG_H). | |
2359 | * configure.in: #include insn-codes.h in tm.h. | |
2360 | ||
48a08b9c NC |
2361 | 2000-11-22 Nick Clifton <nickc@redhat.com> |
2362 | ||
57f56af4 NC |
2363 | * config/arm/arm.c (arm_encode_call_attribute): Make 'newstr' a |
2364 | const char * to avoid a compile time warning. | |
2365 | ||
48a08b9c NC |
2366 | * config/arm/arm.md (define_constants): Define symbolic names for |
2367 | the link register, last integer register and the fake CC register. | |
2368 | Update patterns to use these symbolic names. | |
2369 | ||
4a5b68a2 NB |
2370 | 2000-11-22 Neil Booth <neilb@earthling.net> |
2371 | ||
2372 | * cpplex.c (trigraph_ok): Ensure we don't warn twice. | |
2373 | * cpplib.h (struct cpp_buffer): New member last_Wtrigraphs. | |
f6bbde28 | 2374 | |
a165f034 RH |
2375 | 2000-11-22 Richard Henderson <rth@redhat.com> |
2376 | ||
2377 | * haifa-sched.c (sched_analyze_1): Don't special-case calls | |
2378 | for clobbering registers. | |
2379 | (sched_analyze_2): Likewise. | |
2380 | (sched_analyze): Zap reg_last_uses and reg_last_sets after calls. | |
2381 | ||
f6bbde28 | 2382 | 2000-11-22 Chris Demetriou <cgd@sibyte.com> |
a165f034 | 2383 | Neil Booth <neilb@earthling.net> |
10ebf5fe | 2384 | |
a165f034 | 2385 | * gcc.c (validate_switches): Validate multiple switches named |
f6bbde28 | 2386 | in '|' (or) expressions in specs. |
a165f034 RH |
2387 | (handle_braces): If more than 1 alternative in a '|' spec |
2388 | matches, call do_spec1 just once. | |
10ebf5fe | 2389 | |
fb0b2546 MM |
2390 | 2000-11-22 Michael Meissner <meissner@redhat.com> |
2391 | ||
2392 | * d30v.h (TARGET_SWITCHES): Add documentation strings. | |
2393 | (TARGET_OPTIONS): Ditto. | |
2394 | (OPTIMIZATION_OPTIONS): Temporarily turn off -frename-registers if | |
2395 | -O3. | |
f6bbde28 | 2396 | |
67d6f2fc JL |
2397 | Wed Nov 22 06:40:56 2000 Jeffrey A Law (law@cygnus.com) |
2398 | ||
2399 | * pa.c (hppa_encode_label): Account for addition of encoding | |
2400 | character when allocating persistent space for the new label | |
2401 | name. | |
2402 | ||
d1209685 ZW |
2403 | 2000-11-22 Zack Weinberg <zack@wolery.stanford.edu> |
2404 | ||
2405 | * Makefile.in, config.gcc, configure.in: Expunge remaining | |
2406 | traces of facility for running MD files through C preprocessor. | |
2407 | ||
c01a508e JM |
2408 | 2000-11-22 Joseph S. Myers <jsm28@cam.ac.uk> |
2409 | ||
2410 | * gcov.texi: Add magic comments for texi2pod.pl. | |
2411 | * Makefile.in: Add rules to generate and install gcov.1. | |
2412 | * gcov.1: New (generated) file. | |
2413 | ||
a125d855 RH |
2414 | 2000-11-21 Richard Henderson <rth@redhat.com> |
2415 | ||
2416 | * regrename.c (scan_rtx_reg): Terminate the chain rather than | |
2417 | abort on mark_read with NO_REGS. | |
2418 | ||
ed311407 MS |
2419 | 2000-11-21 Mike Stump <mrs@wrs.com> |
2420 | ||
2421 | * fixinc/fixtests.c (TEST_FOR_FIX_PROC_HEAD): Fix to allow | |
2422 | compilation with older compilers, such as /bin/cc on SunOS. | |
2423 | * fixinc/fixfixes.c (FIX_PROC_HEAD): Ditto. | |
2424 | ||
cac16ef9 RH |
2425 | 2000-11-21 Richard Henderson <rth@redhat.com> |
2426 | ||
2427 | * varasm.c (record_constant): Pad the constructed | |
2428 | constant_descriptor appropriately. | |
2429 | ||
c25c12b8 R |
2430 | Wed Nov 22 00:52:55 2000 J"orn Rennecke <amylaar@redhat.com> |
2431 | ||
2432 | * rtl.h (traverse_md_constants): Declare. | |
2433 | (struct md_constant): Define. | |
2434 | * Makefile.in (HOST_RTL): Add hashtab.o . | |
2435 | (OBJS): Add hashtab.o . | |
2436 | (hashtab.o): New rule. | |
2437 | (rtl.o): Depends on HASHTAB_H. | |
2438 | * rtl.c (hashtab.h): #include. | |
2439 | (md_constants): New static variable. | |
2440 | (def_hash, def_name_eq_p, read_constants): New static functions. | |
2441 | (traverse_md_constants): New function. | |
2442 | (read_name): Do constant expansion. | |
2443 | (read_rtx): Recognize define_constants. | |
2444 | * gencodes.c (print_md_constant): New function. | |
2445 | (main): Emit #defines for all constant definitions encountered. | |
2446 | * md.texi (Constant Definitions): New node. | |
2447 | * gensupport.c (xcalloc): New function. | |
2448 | ||
f940c352 RH |
2449 | 2000-11-21 Richard Henderson <rth@redhat.com> |
2450 | ||
2451 | * config/alpha/alpha.c (alpha_split_tfmode_frobsign): New. | |
2452 | * config/alpha/alpha-protos.h: Declare it. | |
2453 | * config/alpha/alpha.md (abstf_internal): Use it. | |
2454 | (negtf_internal): Likewise. | |
2455 | (andnotdi3): Unstar the name. | |
2456 | (movtf_internal): Add o/G alternative. | |
2457 | ||
dfc55970 ZW |
2458 | 2000-11-21 Zack Weinberg <zack@wolery.stanford.edu> |
2459 | ||
2460 | * stringpool.c (stringpool_statistics): Also report number and | |
2461 | percentage of entries which are identifiers. | |
2462 | ||
d1cc928a DN |
2463 | 2000-11-21 Diego Novillo <dnovillo@redhat.com> |
2464 | ||
2465 | * gcse.c (hoist_expr_reaches_here_p): Do not mark expr_bb as | |
2466 | visited before visiting it. | |
2467 | ||
70f24e49 NC |
2468 | 2000-11-21 Nick Clifton <nickc@redhat.com> |
2469 | ||
2470 | * config/arm/arm.h: Accept TARGET_CPU_arm9tdmi, | |
2471 | TARGET_CPU_strongarm110 and TARGET_SPU_strongarm1100. | |
2472 | ||
2473 | * config.gcc: Accept --with-cpu=arm9 and --with-cpu=arm9tdmi. | |
f6bbde28 | 2474 | |
3fe30ff6 RH |
2475 | 2000-11-21 Richard Henderson <rth@redhat.com> |
2476 | ||
2477 | * c-common.c (c_unsafe_for_reeval): New function. | |
2478 | (add_c_tree_codes): Register it. | |
2479 | * c-common.h: Declare it. | |
2480 | * tree.c (lang_unsafe_for_reeval): New hook. | |
2481 | (unsafe_for_reeval): Call it. | |
2482 | * tree.h: Declare it. | |
2483 | ||
3adbce3d RH |
2484 | 2000-11-21 Richard Henderson <rth@redhat.com> |
2485 | ||
2486 | * config/i386/i386.c (i386_simplify_dwarf_addr): Simplify @GOT | |
2487 | references as well. | |
2488 | ||
0736a307 NB |
2489 | 2000-11-21 Neil Booth <neilb@earthling.net> |
2490 | ||
a165f034 | 2491 | * do_includes: Revert to using cpp_read_file. |
0736a307 | 2492 | |
52e12ad0 BS |
2493 | 2000-11-21 Bernd Schmidt <bernds@redhat.co.uk> |
2494 | ||
847dde95 BS |
2495 | * loop.c (consec_sets_giv): If the reg we're examining is anything |
2496 | but UNKNOWN_INDUCT, do nothing. | |
2497 | Reset the reg's type to UNKNOWN_INDUCT before returning. | |
2498 | ||
52e12ad0 BS |
2499 | Mostly from Vladimir Makarov (vmakarov@redhat.com) |
2500 | * ia64.md (attr itanium_class): Define insn types as described in | |
2501 | Itanium docs. | |
2502 | (all insn patterns): Use itanium_class, not type attributes. | |
2503 | Occasionally split alternatives as necessary. | |
2504 | (attr type): Compute from new attr itanium_class. | |
f6bbde28 | 2505 | |
b3e2d1eb KG |
2506 | 2000-11-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2507 | ||
2508 | * tradcpp.c (output_line_command): Mark system headers as such in | |
2509 | `line' commands. | |
2510 | ||
0faf814f JJ |
2511 | 2000-11-21 Jakub Jelinek <jakub@redhat.com> |
2512 | ||
2513 | * configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Sparc has .file/.loc | |
2514 | support in as as well. | |
2515 | * configure: Regenerate. | |
2516 | ||
3aac38d7 RH |
2517 | 2000-11-20 Richard Henderson <rth@redhat.com> |
2518 | ||
2519 | * c-lex.c (orig_filename): New variable. | |
2520 | (init_c_lex): Set it. Move call to cpp_start_read ... | |
2521 | (yyparse): ... here. New function. | |
2522 | * c-parse.in (yyparse_1): Rename the parser entry point. | |
2523 | * c-tree.h: Declare it. | |
2524 | ||
6b16805e JJ |
2525 | 2000-11-21 Jakub Jelinek <jakub@redhat.com> |
2526 | ||
2527 | * expr.c (do_compare_and_jump): If op0 was replaced by promoted | |
2528 | integer constant, use type of op1 for comparison. | |
2529 | ||
18922061 SS |
2530 | 2000-11-20 Stan Shebs <shebs@apple.com> |
2531 | ||
2532 | * config/rs6000/xm-darwin.h: New file, Darwin host definitions. | |
2533 | * config/rs6000/x-darwin: New file, Darwin host fragment. | |
2534 | * config.gcc (powerpc-*-darwin*): New host. | |
2535 | * system.h (HAVE_DESIGNATED_INITIALIZERS): Allow this to be | |
2536 | overridden by a config file. | |
2537 | ||
d63eefbf NB |
2538 | 2000-11-20 Neil Booth <neilb@earthling.net> |
2539 | ||
2540 | * cppmacro.c (paste_tokens): Rename from paste_payloads. | |
2541 | Change token type after pasting spellings. | |
2542 | (paste_all_tokens): Use it. | |
2543 | * gcc.dg/cpp/paste2.c: Update test. | |
2544 | * objc/execute/paste.m: New test. | |
2545 | ||
21bc13c9 RH |
2546 | 2000-11-20 Richard Henderson <rth@redhat.com> |
2547 | ||
2548 | * dwarf.h (FMT_CODE): Adjust argument order; fix mapping to | |
2549 | dwarf_subscr_data_formats bits. | |
2550 | * dwarfout.c (simple_type_size_in_bits): Handle a type with | |
2551 | no computed size as size zero. | |
2552 | (field_byte_offset): Likewise. | |
2553 | (subscript_data_attribute): Handle a range with no upper bound. | |
2554 | ||
250333d0 KG |
2555 | 2000-11-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2556 | ||
2557 | * gansidecl.h (const): Check __STDC__ before undef'ing `const'. | |
2558 | ||
1d7ff272 JM |
2559 | 2000-11-20 Joseph S. Myers <jsm28@cam.ac.uk> |
2560 | ||
2561 | * c-typeck.c (build_conditional_expr): When merging type | |
2562 | qualifiers for conditional expressions between a pointer and a | |
2563 | pointer to a void type, merge the qualifiers on the target types | |
2564 | rather than the pointer type. Remove obsolete conditioned out | |
2565 | code. | |
2566 | ||
dd07b884 NB |
2567 | 2000-11-20 Neil Booth <neilb@earthling.net> |
2568 | ||
2569 | * c-lang.c (lang_init_options): Update call to | |
2570 | cpp_reader_init. | |
2571 | * cppmain.c (main): Similarly. | |
2572 | * fix-header.c (read_scan_file): Similarly. | |
2573 | * cp/lex.c (lang_init_options): Similarly. | |
2574 | * objc/objc-act.c (lang_init_options): Similarly. | |
2575 | * cppexp.c (parse_number): Only warn for unextended C89. | |
2576 | * cppinit.c (set_lang): New function. | |
2577 | (cpp_reader_init): Take a LANG argument and pass it to set_lang. | |
2578 | (COMMAND_LINE_OPTIONS): New option std=c++98. | |
2579 | (cpp_handle_option): Use set_lang. | |
2580 | * cpplex.c (_cpp_lex_token): Warn pedantically if not C99. | |
2581 | * cppib.h (enum_c_lang): New enumeration. Update comments. | |
2582 | ||
8d50dfb8 WC |
2583 | 2000-11-20 Will Cohen <wcohen@redhat.com> |
2584 | ||
2585 | * calls.c (expand_call): Clear target only when target is in | |
2586 | hard register and current_function_check_memory_usage is set. | |
2587 | ||
bd675859 BS |
2588 | 2000-11-20 Bernd Schmidt <bernds@redhat.co.uk> |
2589 | ||
2590 | * toplev.c (rest_of_compilation): Run optimize_mode_switching even | |
2591 | if not optimizing. | |
2592 | * sh.c (emit_sf_insn, emit_df_insn): Just call emit_insn. | |
2593 | ||
3df18884 RH |
2594 | 2000-11-19 Richard Henderson <rth@redhat.com> |
2595 | ||
52403abb RH |
2596 | * crtstuff.c (force_to_data): Use array size 1 not 0. |
2597 | ||
3df18884 RH |
2598 | * dwarf2out.c (simple_type_size_in_bits): Handle a type with |
2599 | no computed size as size zero. | |
2600 | (field_byte_offset): Likewise. | |
2601 | ||
cfd1c7ea JM |
2602 | 2000-11-20 Joseph S. Myers <jsm28@cam.ac.uk> |
2603 | ||
2604 | * config.gcc: Fix another typo. | |
2605 | ||
a25f1211 RH |
2606 | 2000-11-19 Richard Henderson <rth@redhat.com> |
2607 | ||
2608 | * c-decl.c (grokdeclarator): Support flexible array members. | |
2609 | Use open-ended ranges for these and zero-length arrays. | |
2610 | * c-typeck.c (push_init_level): Validate the context of | |
2611 | initialization of a zero-length array. | |
2612 | * tree.c (int_fits_type_p): Be prepared for missing bounds. | |
2613 | * varasm.c (array_size_for_constructor): New. | |
2614 | (output_constructor): Use it for arrays of unspecified length. | |
2615 | * extend.texi (Zero Length): Mention C99 flexible array members. | |
2616 | Document initialization in a top-level struct as valid. | |
2617 | ||
65fa2185 JM |
2618 | 2000-11-19 Joseph S. Myers <jsm28@cam.ac.uk> |
2619 | ||
9e8fc4b8 JM |
2620 | * config.gcc, invoke.texi: Fix errors in spelling of "deprecated". |
2621 | ||
65fa2185 JM |
2622 | * alias.c (mems_in_disjoint_alias_sets_p): Do use alias sets in |
2623 | stdarg and varargs functions. | |
2624 | ||
2e59adac ZW |
2625 | 2000-11-19 Zack Weinberg <zack@wolery.stanford.edu> |
2626 | ||
2627 | * gcc.c (process_command): Define 'j' variable when | |
2628 | MODIFY_TARGET_NAME is defined. | |
2629 | ||
856442b6 RH |
2630 | 2000-11-19 Richard Henderson <rth@redhat.com> |
2631 | ||
2632 | * stor-layout.c (variable_size): Only put SAVE_EXPRs on pending_sizes. | |
2633 | ||
88c1e412 FS |
2634 | 2000-11-19 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
2635 | ||
2636 | * rs6000/rs6000.c (rs6000_encode_section_info): Fix string length | |
2637 | calculation and allocation. | |
2638 | ||
ce1cc601 KG |
2639 | 2000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2640 | ||
2641 | * builtins.c (c_getstr): Constify variable. | |
2642 | * gmon-sol2.c (_mcleanup): Comment out #endif labels. | |
2643 | * conflict.c (const_conflict_graph_arc): New typedef. | |
2644 | (arc_hash, arc_eq): Avoid needlessly casting away const-ness. | |
2645 | * cppmacro.c (builtin_macro): Likewise. | |
2646 | * dwarf2out.c (output_comp_unit): Constify variable. | |
2647 | * fix-header.c (v_fatal): Add ATTRIBUTE_PRINTF. | |
2648 | * protoize.c (IS_SAME_PATH_CHAR): Use TOUPPER, not toupper. | |
2649 | * ssa.c (ssa_rename_from_hash_function): Avoid needlessly casting | |
2650 | away const-ness. | |
2651 | * tradcpp.c (rescan, do_line, macroexpand, macarg): Use | |
f6bbde28 | 2652 | ISALNUM/ISDIGIT/ISPRINT, not isalnum/isdigit/isprint. |
ce1cc601 KG |
2653 | * varasm.c (const_str_htab_hash, const_str_htab_eq, |
2654 | compare_constant_1, record_constant_1): Constify. | |
2655 | ||
967e627a RH |
2656 | 2000-11-18 Richard Henderson <rth@redhat.com> |
2657 | ||
2658 | * c-decl.c (grokdeclarator): Special case the creation of an | |
2659 | index for a zero-length array. | |
2660 | * tree.c (build_index_type): Revert Oct 20 change. | |
2661 | ||
e9284adf MM |
2662 | 2000-11-18 Marek Michalkiewicz <marekm@linux.org.pl> |
2663 | ||
2664 | * config/avr/avr-protos.h (avr_output_addr_vec_elt): Prototype. | |
2665 | * config/avr/avr.c (jump_tables_size): New variable. | |
2666 | (function_prologue): Initialize it as 0. | |
2667 | (function_epilogue): Add it to function_size. | |
2668 | (avr_output_addr_vec_elt): New function. Count words in jump | |
2669 | tables in jump_tables_size. Move code ... | |
2670 | * config/avr/avr.h (ASM_OUTPUT_ADDR_VEC_ELT): ... from here. | |
2671 | Call avr_output_addr_vec_elt instead. | |
2672 | * config/avr/avr.md (tablejump): Remove disabled define_expand. | |
2673 | ||
67c72a63 MM |
2674 | 2000-11-18 Mark Mitchell <mark@codesourcery.com> |
2675 | ||
2676 | * configure.in: Make --enable-new-gxx-abi the default. | |
2677 | * configure: Likewise. | |
2678 | ||
0a8ad417 KG |
2679 | 2000-11-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2680 | ||
2681 | * Makefile.in (tradcpp.o, tradcif.o): Depend on tradcpp.h. | |
2682 | ||
2683 | * tradcif.y: Include tradcpp.h. Constify. Make functions static. | |
2684 | Move extern function declarations to tradcpp.h. | |
2685 | ||
2686 | * tradcpp.c: Likewise. | |
2687 | ||
2688 | * tradcpp.h: New file. | |
2689 | ||
77c4d6c0 JM |
2690 | 2000-11-18 Joseph S. Myers <jsm28@cam.ac.uk> |
2691 | ||
2692 | * c-decl.c (check_for_loop_decls): New function. | |
2693 | * c-parse.in (for_init_stmt): New. | |
2694 | (select_or_iter_stmt): Use for_init_stmt. | |
2695 | * c-tree.h (check_for_loop_decls): New declaration. | |
2696 | ||
4a58aab6 NB |
2697 | 2000-11-18 Neil Booth <neilb@earthling.net> |
2698 | ||
2699 | * cppinit.c: Update comments. | |
2700 | (cpp_reader_init): Make -imacro and -include use the standard | |
2701 | #include "" search path. | |
2702 | (do_includes): New function. | |
2703 | ||
c3e2d242 BE |
2704 | 2000-11-18 Ben Elliston <bje@redhat.com> |
2705 | ||
2706 | * config/sh/crt1.asm (start_l): Move PC-relative move instruction | |
2707 | out of a branch delay slot. | |
2708 | ||
48adb36e RH |
2709 | 2000-11-17 Richard Henderson <rth@redhat.com> |
2710 | ||
2711 | * config/alpha/elf.h (PREFERRED_DEBUGGING_TYPE): Set to DWARF2_DEBUG. | |
2712 | (ASM_SPEC): Disable and enable .mdebug based on -gstabs. | |
2713 | (ASM_FILE_START): Only write out ecoff .file directive if | |
2714 | emitting mdebug debugging. | |
2715 | ||
9d147085 RH |
2716 | 2000-11-17 Richard Henderson <rth@redhat.com> |
2717 | ||
2718 | * configure.in (HAVE_AS_DWARF2_DEBUG_LINE): New. Detect | |
2719 | whether as accepts .file/.loc and produces dwarf2 line info. | |
2720 | * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Default on if | |
2721 | the assembler supports it. | |
2722 | * config.in, configure: Regenerate. | |
2723 | ||
5b87e928 RH |
2724 | 2000-11-17 Richard Henderson <rth@redhat.com> |
2725 | ||
2726 | * fixinc/mkfixinc.sh: Don't disable fixincludes for any linux*. | |
2727 | ||
95c8e04b JW |
2728 | 2000-11-17 Jim Wilson <wilson@redhat.com> |
2729 | ||
f6bbde28 | 2730 | * config/ia64/ia64.c (emit_insn_group_barriers, case CALL_INSN): |
95c8e04b JW |
2731 | Don't clear need_barrier is next_insn is a CALL_INSN, or has |
2732 | instruction type B or UNKNOWN. | |
2733 | ||
14fbab6d NB |
2734 | 2000-11-17 Neil Booth <neilb@earthling.net> |
2735 | ||
a25f1211 | 2736 | * cpperror.c (print_file_and_line): Don't display line number if 0. |
14fbab6d | 2737 | |
a8a05998 ZW |
2738 | 2000-11-17 Zack Weinberg <zack@wolery.stanford.edu> |
2739 | ||
2740 | * ggc.h: Delete ggc_add_string_root and ggc_mark_string. Add | |
2741 | digit_vector and digit_string. | |
2742 | * stringpool.c (digit_vector): New. | |
2743 | (ggc_alloc_string): Use digit_string. | |
2744 | ||
2745 | * stmt.c (digit_strings): Delete. | |
2746 | (init_stmt): Do not initialize digit_strings. | |
2747 | (expand_asm_operands): Use ggc.h's digit_string macro. | |
2748 | * toplev.c (mark_file_stack): Delete. | |
2749 | (compile_file): Don't call init_tree_codes. | |
2750 | (main): No need to make the file stack a GC root. | |
2751 | * tree.c (init_tree_codes): Delete. | |
2752 | * tree.h (init_tree_codes): Delete. | |
2753 | ||
2754 | * c-lex.c: Don't include ggc.h. | |
2755 | (mark_splay_tree_node, mark_splay_tree): Delete. | |
2756 | (init_c_lex): No need to ggc_strdup string constant. Don't add | |
2757 | file_info_tree to GGC roots. | |
2758 | (cb_enter_file, cb_rename_file): No need to ggc_strdup | |
2759 | ip->nominal_fname. | |
2760 | ||
2761 | * Makefile.in (c-lex.o): No longer depends on $(GGC_H). | |
2762 | ||
2763 | * dbxout.c (dbxout_init), | |
2764 | dwarf2out.c (dwarf2out_line), | |
2765 | ggc-common.c (ggc_mark_rtx_children, ggc_mark_trees), | |
2766 | varasm.c (mark_const_hash_entry, mark_pool_constant, init_varasm_once), | |
2767 | xcoffout.c (xcoffout_source_file), | |
2768 | i386.c (load_pic_register): | |
2769 | Delete call(s) to ggc_add_string_root and/or ggc_mark_string. | |
2770 | ||
2771 | * except.c (create_rethrow_ref), | |
2772 | profile.c (init_edge_profiler), | |
2773 | toplev.c (compile_file), | |
2774 | varasm.c (named_section, assemble_static_space, | |
2775 | assemble_trampoline_template, output_constant_def, force_const_mem), | |
2776 | i386.c (load_pic_register), | |
2777 | ia64.c (ia64_encode_section_info), | |
2778 | rs6000.c (rs6000_emit_load_toc_table, create_TOC_reference, | |
2779 | rs6000_emit_prologue, rs6000_emit_epilogue), | |
2780 | rs6000.md (load_toc_aix_si, load_toc_aix_di): | |
2781 | Change ggc_alloc_string (var, -1) to ggc_strdup (var). | |
2782 | ||
2783 | * profile.c (output_func_start_profiler), | |
2784 | tree.c (make_node), | |
2785 | i386.c (load_pic_register): No need to ggc_strdup string constant. | |
2786 | ||
61ed06c3 HPN |
2787 | 2000-11-17 Hans-Peter Nilsson <hp@axis.com> |
2788 | ||
2789 | * Makefile.in (config.status): Depend on config.gcc. | |
2790 | * configure.in <for machine in $build $host $target>: Move | |
2791 | contents of loop into config.gcc, removing autoconf quoting. | |
2792 | Fix changequote bug for alpha*-*-vxworks*. | |
2793 | * configure: Regenerate. | |
2794 | * config.gcc: New. | |
2795 | ||
520a57c8 ZW |
2796 | 2000-11-16 Zack Weinberg <zack@wolery.stanford.edu> |
2797 | ||
2798 | * c-parse.in (if_prefix): Find the filename and line number at | |
2799 | $-2 and $-1 respectively. | |
2800 | * diagnostic.c (error_recursion): Add missing newline, use | |
2801 | fputs, translate string. | |
2802 | ||
2803 | 2000-11-16 Zack Weinberg <zack@wolery.stanford.edu> | |
2804 | ||
2805 | * stringpool.c: New file. | |
2806 | * ggc-common.c (ggc_mark_string_ptr, ggc_add_string_root): Delete. | |
2807 | (ggc_alloc_string): Now in stringpool.o. | |
2808 | * ggc-page.c, ggc-simple.c: Do not define or allocate empty_string. | |
2809 | * ggc.h: Delete prototype of ggc_add_string_root. #define | |
2810 | ggc_add_string_root and ggc_mark_string to nothing. Prototype | |
2811 | init_stringpool and stringpool_statistics. | |
2812 | (ggc_alloc_string): Returns a const char *. | |
2813 | * tree.c (hash_table, do_identifier_warnings): Delete. | |
2814 | (init_obstacks): Don't initialize the identifier hash table. | |
2815 | (get_identifier, maybe_get_identifier, start_identifier_warnings, | |
2816 | set_identifier_size): Now in stringpool.c. | |
2817 | * tree.h (struct tree_string): Constify pointer field. | |
2818 | (approx_sqrt): Prototype. | |
2819 | ||
2820 | * Makefile.in (stringpool.o): Add rule, mention in OBJS. | |
2821 | ||
2822 | * toplev.c (approx_sqrt): New function. | |
2823 | (compile_file): Call stringpool_statistics if mem_report is on. | |
2824 | (main): Call init_stringpool. | |
2825 | ||
2826 | * builtins.c (c_strlen), c-decl.c (finish_decl), c-lex.c | |
2827 | (process_directive), c-typeck.c (constructor_asmspec, struct | |
2828 | initializer_stack, start_init), except.c (create_rethrow_ref), | |
2829 | stmt.c (digit_strings), toplev.c (decode_f_option), tree.c | |
2830 | (built_in_filename), varasm,c (in_named_name, | |
2831 | assemble_static_space, struct constant_descriptor, struct | |
2832 | deferred_string, struct pool_constant, force_const_mem), | |
2833 | i386.c (pic_label_name, global_offset_table_name), rs6000.c | |
2834 | (rs6000_emit_prologue, rs6000_emit_epilogue) : Constify a char *. | |
2835 | ||
2836 | * c-common.c (combine_strings): Combine strings in scratch | |
2837 | buffer, then pass to build_string. | |
2838 | * optabs.c (init_libfuncs), profile.c (init_edge_profiler, | |
2839 | output_func_start_profiler), stmt.c (init_stmt), alpha.c | |
2840 | (alpha_need_linkage), arm.c (arm_encode_call_attribute), | |
2841 | i386.c (load_pic_register), ia64.c (ia64_encode_section_info), | |
2842 | rs6000.c (rs6000_encode_section_info): Create string in | |
2843 | scratch buffer, then pass to ggc_alloc_string. | |
2844 | ||
2845 | * stmt.c (expand_asm_operands): If we must adjust the | |
2846 | constraint strings, do so by creating a new one, not by | |
2847 | modifying the old one in place. Constify some char *s. | |
2848 | * config/pa/pa.c (hppa_encode_label): Drop unnecessary second | |
2849 | argument. Create string in scratch buffer, then pass to | |
2850 | ggc_alloc_string. | |
2851 | * config/pa/pa-protos.h: Update prototype. | |
2852 | * config/pa/elf.h, config/pa/pa.h, config/pa/som.h: | |
2853 | hppa_encode_label takes only one argument. | |
2854 | ||
dd3b81b4 KG |
2855 | 2000-11-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2856 | ||
2857 | * mcore.c (mcore_expand_prolog): Call xmalloc/xrealloc, not | |
2858 | malloc/realloc. | |
2859 | ||
2860 | * cpplib.c (glue_header_name): Likewise. | |
2861 | ||
2862 | * fixincl.c (run_compiles, start_fixer): Likewise. | |
2863 | ||
2864 | * fixlib.c (load_file_data): Likewise. | |
2865 | ||
2866 | * mkdeps.c (munge): Likewise. | |
2867 | ||
5074c1fe HPN |
2868 | 2000-11-17 Hans-Peter Nilsson <hp@axis.com> |
2869 | ||
2870 | * defaults.h [EH_FRAME_SECTION_ASM_OP] (EH_FRAME_SECTION): Remove | |
2871 | trailing ';'. Fix formatting. | |
2872 | ||
74fe26b2 JW |
2873 | 2000-11-16 Jim Wilson <wilson@redhat.com> |
2874 | ||
35d9f39d JW |
2875 | * config/ia64/ia64.h (MASK_INLINE_DIV_LAT, MASK_INLINE_DIV_THR): |
2876 | Shift masks left by one to avoid conflict. | |
2877 | ||
74fe26b2 JW |
2878 | * config/ia64/ia64.c (ia64_encode_section_info): Disallow decls with |
2879 | DECL_EXTERNAL set. | |
2880 | ||
68dfd979 NC |
2881 | 2000-11-16 Nick Clifton <nickc@redhat.com> |
2882 | ||
2883 | * config/arm/arm.c (output_arm_prologue): Note nested functions. | |
2884 | (arm_expand_prologue): For nested functions preserve the | |
2885 | static chain register during stack frame creation. | |
2886 | ||
2887 | * config/arm/arm.h (STATIC_CHAIN_REGNUM): Change to 12. | |
2888 | (ARM_INITIAL_FRAME_ELIMINATION_OFFSET): For a nested function | |
2889 | with a stack frame there is a 4 byte gap between the arg | |
2890 | pointer and the hard frame pointer (used to preserve the | |
2891 | static chain register during stack frame creation). | |
2892 | ||
3ab9a08f DD |
2893 | 2000-11-16 DJ Delorie <dj@redhat.com> |
2894 | ||
2895 | * rtl.c (read_rtx): Provide suitable names for unnamed | |
2896 | define_insn and define_insn_and_split patterns, based on file | |
2897 | and line numbers. | |
2898 | ||
fe6c2db9 NB |
2899 | 2000-11-15 Neil Booth <neilb@earthling.net> |
2900 | ||
a8a05998 ZW |
2901 | * cpplib.c (start_directive, end_directive): New functions. |
2902 | (_cpp_handle_directive, run_directive): Use them. | |
2903 | (_cpp_handle_directive): Don't -Wtraditional on indented | |
2904 | null directives. | |
2905 | (_cpp_push_buffer): Don't re-clear was_skipping. | |
2906 | * cpplib.h (struct cpp_reader): New member la_saved. | |
2907 | * cppmacro.c (cpp_get_token): Don't interpret _Pragma in | |
2908 | directives. | |
fe6c2db9 | 2909 | |
a8a05998 ZW |
2910 | gcc.dg/cpp/_Pragma1.c: Update. |
2911 | gcc.dg/cpp/_Pragma2.c: New test. | |
fe6c2db9 | 2912 | |
62136084 MM |
2913 | 2000-11-15 Mark Mitchell <mark@codesourcery.com> |
2914 | ||
2915 | * toplev.c (wrapup_global_declarations): Don't write out | |
2916 | artificial static variables that aren't needed. | |
2917 | ||
099dde21 BS |
2918 | 2000-11-15 Bernd Schmidt <bernds@redhat.co.uk> |
2919 | ||
2920 | * ia64.c (struct group): New structure. | |
2921 | (last_group): New static array. | |
2922 | (group_idx): New static variable. | |
2923 | (emit_group_barrier_after, errata_find_address_regs, errata_emit_nops): | |
2924 | New static functions. | |
2925 | (emit_insn_group_barriers): Initialize and keep track of group_idx | |
2926 | and last_group. | |
2927 | Call errata_emit_nops if TARGET_B_STEP or TARGET_A_STEP. | |
2928 | Replace all calls to emit_insn_after that emit a group barrier to use | |
2929 | emit_group_barrier_after. | |
2930 | * ia64.h (MASK_B_STEP): New. | |
2931 | (other MASK_XXX macros): Renumbered. | |
2932 | (TARGET_B_STEP): New. | |
2933 | (TARGET_SWITCHES): Add -mb-step. | |
2934 | ||
4e7b85ed FF |
2935 | 2000-11-15 Fred Fish <fnf@be.com> |
2936 | ||
2937 | * fixinc/mkfixinc.sh (fixincludes): Add *-*-beos* to list of | |
2938 | machines for which fixincludes is not needed. | |
2939 | * config/i386/x-beos (STMP_FIXPROTO): Don't run fixproto. | |
2940 | ||
ee3400e8 JM |
2941 | 2000-11-15 Jason Merrill <jason@redhat.com> |
2942 | ||
2943 | * diagnostic.c (finish_abort): New fn. | |
2944 | (fancy_abort, error_recursion): Use it. | |
2945 | * toplev.c (crash_signal): Likewise. | |
2946 | * diagnostic.h: Declare it. | |
2947 | ||
12e1243e AH |
2948 | 2000-11-13 Andrew Haley <aph@redhat.com> |
2949 | ||
2950 | * tree.c (build_type_no_quals): New function. | |
2951 | * tree.h (build_type_no_quals): Declare. | |
2952 | * c-common.c (c_get_alias_set): When considering type | |
2953 | compatibility for pointer types, ignore cv-qualifiers anywhere in | |
2954 | a pointer chain. | |
2955 | ||
695e4773 GS |
2956 | 2000-11-15 Graham Stott <grahams@redhat.com> |
2957 | ||
2958 | * regrename.c (scan_rtx_rtx): Skip to the next chain on | |
2959 | encountering a terminated chain. | |
2960 | ||
5a7c1037 MM |
2961 | 2000-11-14 Mark Mitchell <mark@codesourcery.com> |
2962 | ||
2963 | * configure.in: Move check for V3 above check for C++ header-file | |
2964 | directory. | |
2965 | * configure: Regenerated. | |
a8a05998 | 2966 | |
568c5140 DD |
2967 | 2000-11-14 DJ Delorie <dj@redhat.com> |
2968 | ||
2969 | * config/v850/v850.c: Remove obstacks. | |
2970 | ||
1268b05f MM |
2971 | Tue Nov 14 21:54:31 2000 Marek Michalkiewicz <marekm@linux.org.pl> & Denis Chertykov <denisc@overta.ru> |
2972 | ||
2973 | * config/avr/avr.c (avr_case_values_threshold): New. | |
2974 | (avr_override_options): Set it depending on options, make it large | |
2975 | when not optimizing to work around "unable to generate reloads". | |
2976 | ||
2977 | * config/avr/avr.h (TARGET_SWITCHES): Add -mno-tablejump option. | |
2978 | (EXTRA_SECTION_FUNCTIONS): Make the .progmem.gcc_sw_table section | |
2979 | executable if not AVR_MEGA. Make sure jump tables are word-aligned. | |
2980 | (JUMP_TABLES_IN_TEXT_SECTION): Define as 0, not 1. | |
2981 | (ASM_OUTPUT_ADDR_VEC_ELT): Optimize, use "rjmp" if not AVR_MEGA. | |
2982 | (avr_case_values_threshold): Declare as extern int. | |
2983 | (CASE_VALUES_THRESHOLD): Define as avr_case_values_threshold. | |
2984 | ||
2985 | * config/avr/avr.md (tablejump): Removed. | |
2986 | (*tablejump_rjmp): New for jump tables made from "rjmp" instructions. | |
2987 | (*tablejump_lib, *tablejump_enh, *tablejump): Change to expect the | |
2988 | index in the table, not multiplied by 2. | |
2989 | (casesi): Change to match the above insns. Always enable. | |
2990 | ||
2991 | * config/avr/libgcc.S (__tablejump__): Rename to __tablejump2__. | |
2992 | Change to expect the word address of the table, multiply it by 2 | |
2993 | here and not in the caller. Change "adiw" to faster "inc". | |
2994 | ||
7f2f1a66 NB |
2995 | 2000-11-14 Neil Booth <neilb@earthling.net> |
2996 | ||
2997 | * cppexp.c (parse_defined): Call cpp_get_token not | |
2998 | _cpp_get_token. | |
2999 | (lex): Similarly. | |
3000 | * cpplex.c (cpp_output_line): Similarly. | |
3001 | * cpplib.c (glue_header_name, do_line, do_ident, | |
3002 | parse_answer, parse_assertion): Similarly. | |
3003 | (_cpp_handle_diretive): Don't save to lookaheads | |
3004 | when processing directives. | |
3005 | * cppmacro.c (parse_arg, expand_arg): Call cpp_get_token not | |
3006 | _cpp_get_token. | |
3007 | (funlike_invocation_p): Don't save to lookaheads | |
3008 | when pre-expanding arguments. | |
3009 | (_cpp_get_token): Delete. | |
3010 | (cpp_get_token): Merge contents of _cpp_get_token. | |
3011 | ||
f36d6244 JJ |
3012 | 2000-11-14 Jakub Jelinek <jakub@redhat.com> |
3013 | ||
3014 | * builtins.c (expand_builtin_setjmp): Set | |
3015 | current_function_calls_setjmp. | |
3016 | (expand_builtin_longjmp): Set current_function_calls_longjmp. | |
3017 | ||
3018 | * config/sparc/sparc.md (builtin_setjmp_setup): New expand. | |
3019 | (do_builtin_setjmp_setup): New insn. | |
3020 | ||
3401c26b RK |
3021 | Tue Nov 14 12:34:56 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
3022 | ||
3023 | * tree.c (get_unwidened): Use host_integerp and tree_low_cst. | |
3024 | (int_fits_type_p): For variable bounds, call force_fit_type. | |
3025 | ||
bd7cf17e JJ |
3026 | 2000-11-14 Jakub Jelinek <jakub@redhat.com> |
3027 | ||
3028 | * varasm.c (struct deferred_string): New structure. | |
3029 | (const_str_htab): New variable. | |
3030 | (STRHASH): New macro. | |
3031 | (mark_const_str_htab_1, mark_const_str_htab, const_str_htab_hash, | |
3032 | constr_str_htab_eq, const_str_htab_del): New functions. | |
3033 | (output_constant_def): Add DEFER argument, defer string | |
3034 | constants until mark_constant_pool time if requested. | |
3035 | (mark_constant_pool): Walk the insn chain even if const_str_htab is | |
3036 | not empty. | |
3037 | (mark_constants): If a SYMBOL_REF for deferred string is found, | |
3038 | output it and remove from hash table. | |
3039 | (output_addressed_constants): Set DEFER to 0 in call to | |
3040 | output_constant_def. | |
3041 | * rtl.h (STRING_POOL_ADDRESS_P): Define. | |
3042 | (output_constant_def): Adjust prototype. | |
3043 | * expr.c (expand_expr): Set DEFER to 1 in call to output_constant_def. | |
3044 | ||
10e927ef CC |
3045 | 2000-11-14 Chandrakala Chavva <cchavva@redhat.com> |
3046 | ||
3047 | * optabs.c (expand_complex_ab):: Use overflow-trapping optabs for | |
3048 | signed types if flag_trapv. | |
3049 | ||
ef90743a ZW |
3050 | 2000-11-14 Zack Weinberg <zack@wolery.stanford.edu> |
3051 | ||
3052 | * tradcpp.c, tradcif.y: Update FSF mailing address, delete | |
3053 | reference to GPLv1. | |
3054 | ||
fe8ca71f JM |
3055 | 2000-11-14 Joseph S. Myers <jsm28@cam.ac.uk> |
3056 | ||
3057 | * c-common.h (CTI_C_SIZE_TYPE): Update comment. | |
3058 | ||
94b01be3 JJ |
3059 | 2000-11-14 Jakub Jelinek <jakub@redhat.com> |
3060 | ||
3061 | * varasm.c (struct varasm_status): Change x_const_rtx_sym_hash_table | |
3062 | to array of pool_constnat pointers. | |
3063 | (struct pool_constant): Add next_sym and label members. | |
3064 | (struct pool_sym): Remove. | |
3065 | (init_varasm_status): Change pool_sym into pool_constant. | |
3066 | (mark_pool_constant): Mark pc->label string as well. | |
3067 | (mark_pool_sym_hash_table): Remove. | |
3068 | (mark_varasm_status): Remove it from caller as well. | |
3069 | (free_varasm_status): Don't free pool_sym structures. | |
3070 | (force_const_mem): Don't allocate pool_sym structure, instead | |
3071 | fill pool->label and chain it into rtx_sym hash table. | |
3072 | (find_pool_constant, mark_constant_pool): Use pool_constant instead | |
3073 | of pool_sym. | |
3074 | ||
716120a7 JJ |
3075 | 2000-11-14 Jakub Jelinek <jakub@redhat.com> |
3076 | ||
3077 | * reload1.c (emit_input_reload_insns): Honour forcing of constants | |
3078 | into memory by PREFERRED_RELOAD_CLASS NO_REGS. | |
3079 | ||
f8032688 MM |
3080 | 2000-11-14 Michael Matz <matzmich@cs.tu-berlin.de> |
3081 | ||
3082 | * dominance.c: New file. | |
3083 | * Makefile.in (OBJS): Add dominance.o. | |
3084 | ||
3085 | * flow.c (compute_flow_dominators): Remove. | |
3086 | (compute_immediate_dominators): Remove. | |
3087 | (compute_immediate_postdominators): Remove. | |
3088 | * basic-block.h: Remove their prototypes. | |
3089 | (calculate_dominance_info): Add prototype. | |
3090 | ||
3091 | * dce.c (eliminate_dead_code): Change calls to above functions. | |
3092 | Don't compute dominators but only immediate dominators. | |
3093 | * flow.c (flow_loops_find): Change callers. | |
3094 | * gcse.c (compute_code_hoist_data): Likewise. | |
3095 | * haifa-sched.c (schedule_insns): Likewise. | |
3096 | * ifcvt.c (if_convert): Likewise. | |
3097 | * ssa.c (convert_to_ssa): Likewise, and only compute immediate | |
3098 | dominators. | |
3099 | ||
0caa3c8e RH |
3100 | 2000-11-14 Richard Henderson <rth@redhat.com> |
3101 | ||
6f122550 RH |
3102 | * stmt.c (warn_if_unused_value): Don't warn if the expression |
3103 | has side effects. | |
3104 | ||
0caa3c8e RH |
3105 | * c-typeck.c (c_sizeof): Fold result to c_size_type_node. |
3106 | (c_sizeof_nowarn, c_alignof, c_alignof_expr): Likewise. | |
3107 | ||
a78cc542 FS |
3108 | 2000-11-13 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
3109 | ||
3110 | * loop.c (basic_induction_var): Revert accidental checkin. | |
3111 | ||
d9068c61 HPN |
3112 | 2000-11-13 Hans-Peter Nilsson <hp@axis.com> |
3113 | ||
3114 | * c-lex.c (cb_leave_file): Harmonize conditions and order of | |
3115 | statements to those of process_directive for (action == act_pop). | |
3116 | ||
3117 | * collect2.c (main): Pass on -B options from COLLECT_GCC_OPTIONS. | |
3118 | ||
3119 | * local-alloc.c (equiv_init_movable_p): References to CC0 are not | |
3120 | movable. | |
3121 | ||
ebf02523 JM |
3122 | 2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk> |
3123 | ||
3124 | * c-parse.in (stmts_and_decls): Deprecate use of label at end of | |
3125 | compound statement. | |
3126 | ||
29b10746 NB |
3127 | 2000-11-13 Neil Booth <neilb@earthling.net> |
3128 | ||
ee3400e8 JM |
3129 | * cpplex.c (_cpp_lex_token): CPP_COMMENT and true CPP_EOF |
3130 | cases return without MI check. | |
3131 | * cpplib.c (do_diagnostic): Take boolean of whether to | |
3132 | print the directive name. | |
3133 | (do_error, do_warning): Update. | |
3134 | (do_pragma_dependency): Use it. | |
3135 | * cpplib.h (VARARGS_FIRST): Delete. | |
3136 | (struct cpp_token): Delete integer. | |
3137 | * cppmacro.c (enter_macro_context): Move disabled check | |
3138 | to _cpp_get_token. | |
3139 | (_cpp_get_token): Simplify into a single loop. | |
29b10746 | 3140 | |
8105825d RE |
3141 | 2000-11-13 Richard Earnshaw <rearnsha@arm.com> |
3142 | ||
3143 | * configure.in: Use 'test -f' not '[ -e'. | |
3144 | * configure: Regenerated. | |
3145 | ||
481a6b4a DD |
3146 | 2000-11-13 DJ Delorie <dj@redhat.com> |
3147 | ||
3148 | * config/mn10300/mn10300.md (store_movm): Note which registers are | |
3149 | really used or clobbered. | |
3150 | ||
b7438415 JM |
3151 | 2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk> |
3152 | ||
3153 | * c-parse.in (ends_in_label): Remove from %union and %type. | |
3154 | (decls, stmts, lineno_stmt_or_labels, xstmts, | |
3155 | lineno_stmt_or_label, stmt_or_label): Remove. | |
3156 | (stmts_and_decls, lineno_stmt_decl_or_labels_ending_stmt, | |
3157 | lineno_stmt_decl_or_labels_ending_decl, | |
3158 | lineno_stmt_decl_or_labels_ending_label, | |
3159 | lineno_stmt_decl_or_labels_ending_error, | |
3160 | lineno_stmt_decl_or_labels, compstmt_contents_nonempty, | |
3161 | lineno_stmt, lineno_label): New. | |
3162 | (compstmt_nostart): Use compstmt_contents_nonempty. | |
3163 | ||
19552aa5 JM |
3164 | 2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk> |
3165 | ||
3166 | * c-common.c (boolean_increment): New function. | |
3167 | * c-common.h (enum c_tree_index): Add CTI_C_BOOL_TYPE, | |
3168 | CTI_C_BOOL_TRUE and CTI_C_BOOL_FALSE. | |
3169 | (c_bool_type_node, c_bool_true_node, c_bool_false_node): Define. | |
3170 | (boolean_increment): Declare. | |
3171 | * c-convert.c (convert): Allow for BOOLEAN_TYPE. | |
3172 | * c-decl.c (init_decl_processing): Create boolean nodes. | |
3173 | (finish_struct): Allow for _Bool bitfields. | |
3174 | * c-parse.in (reswords): Add _Bool. | |
3175 | (rid_to_yy): Allow for RID_BOOL. | |
3176 | * c-typeck.c (default_conversion): Make booleans promote to int. | |
3177 | (convert_arguments, build_unary_op, build_modify_expr, | |
3178 | convert_for_assignment): Allow for booleans. | |
3179 | * ginclude/stdbool.h: Make conforming to C99. | |
3180 | ||
444ca59f JM |
3181 | 2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk> |
3182 | ||
3183 | * c-parse.in (c99_block_start, c99_block_end, | |
3184 | c99_block_lineno_labeled_stmt): New. | |
3185 | (simple_if, do_stmt_start): Use c99_block_lineno_labeled_stmt. | |
3186 | (stmt): Split off selection and iteration statements into... | |
3187 | (select_or_iter_stmt): New. Use c99_block_lineno_labeled_stmt. | |
3188 | ||
f2ecb02d JM |
3189 | 2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk> |
3190 | ||
3191 | * invoke.texi (-Wtrigraphs, -fdump-translation-unit, -save-temps, | |
3192 | -time): Update. | |
3193 | ||
b082bfdb RE |
3194 | 2000-11-13 Richard Earnshaw <rearnsha@arm.com> |
3195 | ||
3196 | * arm.md (mulsidi3adddi, umulsidi3adddi): Revert previous change. | |
3197 | Rewrite to avoid use of match_dup. Don't try to tie registers that | |
3198 | are not in the same mode. | |
3199 | ||
b9265ec1 JM |
3200 | 2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk> |
3201 | ||
3202 | * invoke.texi: Update lists of languages and suffixes supported. | |
3203 | ||
cc1e60ea JM |
3204 | 2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk> |
3205 | ||
3206 | * configure.in: Take toplevel configure arguments from the | |
3207 | environment to create configargs.h and substitute | |
3208 | gcc_config_arguments, taking account of any existing configargs.h | |
3209 | if reconfiguring. | |
3210 | * configure: Regenerate. | |
3211 | * gccbug.in: Include toplevel configure arguments in gccbug. | |
3212 | ||
37357796 RE |
3213 | 2000-11-13 Richard Earnshaw <rearnsha@arm.com> |
3214 | ||
3215 | * varasm.c (struct constant_descriptor): Put CONTENTS inside a | |
3216 | union to make it well-aligned. Update all uses. | |
3217 | ||
26d4fec7 JM |
3218 | 2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk> |
3219 | ||
3220 | * c-parse.in (initelt): Give appropriate pedantic warnings, | |
3221 | depending on flag_isoc99, for non-ISO syntax and for C99 syntax | |
3222 | outside C99 mode. | |
3223 | (designator): If pedantic, pedwarn for a designator specifying a | |
3224 | range of elements. | |
3225 | * c-typeck.c (set_init_index, set_init_label): Don't pedwarn for | |
3226 | these cases. | |
3227 | * extend.texi: Document the C99 syntax as the preferred syntax, | |
3228 | and the pre-2.5 syntax as obsolete. Mention use of designator | |
3229 | lists for nested subobjects. | |
3230 | ||
88f3c477 JM |
3231 | 2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk> |
3232 | ||
3233 | * diagnostic.c (vbuild_message_string, output_do_printf, vnotice): | |
3234 | Add ATTRIBUTE_PRINTF. | |
3235 | * tradcpp.c (v_message, warning, error, fatal, error_with_line): | |
3236 | Add ATTRIBUTE_PRINTF*. | |
3237 | ||
db5fbfb4 MM |
3238 | 2000-11-12 Mark Mitchell <mark@codesourcery.com> |
3239 | ||
3240 | * function.c (assign_parms): When calling put_var_into_stack, make | |
3241 | sure that there are no hidden pending sequences. | |
3242 | ||
c7b6c6cd KG |
3243 | 2000-11-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3244 | ||
3245 | * builtins.c (expand_builtin): Handle BUILT_IN_INDEX and | |
3246 | BUILT_IN_RINDEX. Add missing checks for BUILT_IN_STRCHR and | |
3247 | BUILT_IN_STRRCHR. | |
3248 | ||
3249 | * builtins.def (BUILT_IN_INDEX, BUILT_IN_RINDEX): New entries. | |
3250 | ||
3251 | * c-common.c (c_common_nodes_and_builtins): Declare index and | |
3252 | rindex when nonansi builtins are allowed. | |
3253 | ||
3254 | * extend.texi (index, rindex): Document new builtins. | |
3255 | ||
2f86842d MM |
3256 | 2000-11-12 Mark Mitchell <mark@codesourcery.com> |
3257 | ||
34f6fbdb MM |
3258 | * configure.in: Turn on libstdc++ V3 by default. |
3259 | * configure: Regenerated. | |
a8a05998 | 3260 | |
2f86842d MM |
3261 | * fixinc/mkfixinc.sh: Use the ordinary fixincludes on Solaris. |
3262 | ||
0c0ba09c JJ |
3263 | 2000-11-12 Jakub Jelinek <jakub@redhat.com> |
3264 | ||
3265 | * reload1.c (set_label_offsets): Go inside of PARALLELs. | |
3266 | ||
84a0e7b8 JM |
3267 | 2000-11-12 Joseph S. Myers <jsm28@cam.ac.uk> |
3268 | ||
3269 | * invoke.texi: Clean up option summary. | |
3270 | ||
4816b8e4 NC |
3271 | 2000-11-12 Nick Clifton <nickc@redhat.com> |
3272 | ||
3273 | * config/mcore/mcore.c: Fix comment formating, and adjust sequence | |
3274 | of #include headers. | |
3275 | ||
ee7692d2 | 3276 | 2000-11-12 Marc Espie <espie@openbsd.org> |
a8a05998 | 3277 | |
ee7692d2 ME |
3278 | * configure.in: Fix filds test. |
3279 | * configure: Regen. | |
3280 | ||
f8c4f860 MM |
3281 | 2000-11-12 Mark Mitchell <mark@codesourcery.com> |
3282 | ||
3283 | * jump.c (delete_computation): Don't assume that just becuase an | |
3284 | instruction sets a register, that register is dead. | |
3285 | ||
b528a07e NB |
3286 | 2000-11-12 Neil Booth <neilb@earthling.net> |
3287 | ||
a8a05998 ZW |
3288 | * cppexp.c: Don't worry about pfile->skipping. |
3289 | * cpplib.c (struct if_stack): Make was_skipping unsigned char. | |
3290 | (cpp_handle_directive): Save pfile->skipping in struct cpp_buffer | |
3291 | for handled directives. | |
3292 | (skip_rest_of_line): Use _cpp_lex_token after popping contexts | |
3293 | and releasing lookaheads. | |
3294 | (do_ifdef, do_ifndef, do_if): Use buffer->was_skipping. | |
3295 | (do_else, do_elif, push_conditional): Update logic. | |
3296 | (do_endif): Set buffer->was_skipping rather than pfile->skipping. | |
3297 | (unwind_if_stack): Inline into cpp_pop_buffer. | |
3298 | (cpp_push_buffer): Clear ifs->was_skipping for cpp_handle_directive. | |
3299 | * cpplex.c (_cpp_lex_token): Clear skipping on EOF. Handle | |
3300 | multiple-include optimisation. | |
3301 | * cpplib.h (struct cpp_buffer): New member was_skipping. | |
3302 | * cppmacro.c (_cpp_get_token): Loop whilst pfile->skipping. This | |
3303 | works because skipping == 0 in directives. | |
3304 | (_cpp_release_lookahead): Renamed from release_lookahead. | |
3305 | (cpp_get_token): No need to check skipping as _cpp_get_token does | |
3306 | this for us. No need to handle MI optimisation. | |
b528a07e | 3307 | |
995c461c MM |
3308 | Sat Nov 11 21:14:02 2000 Mark P Mitchell <mark@codesourcery.com> |
3309 | ||
3310 | * fixinc/inclhack.def (sunos_matherr_decl): Bypass matherr | |
3311 | declarations that use `__MATH_EXCEPTION' in their prototypes, too. | |
3312 | * fixinc/fixincl.x: Regenerated. | |
a8a05998 | 3313 | |
56a77e1e BK |
3314 | 2000-11-11 Bruce Korb <bkorb@gnu.org> |
3315 | ||
3316 | * fixinc/inclhack.def (avoid_bool_type): avoid commenting out #endif | |
3317 | (avoid_wchar_t_type): ditto | |
3318 | * fixinc/fixinc.irix: obsoleted | |
3319 | ||
72aaffbd ZW |
3320 | 2000-11-11 Zack Weinberg <zack@wolery.stanford.edu> |
3321 | ||
3322 | * configure.in: Don't add $outputs to all_lang_makefiles. Add | |
3323 | $srcdir/$s/Makefile.in if it exists. | |
3324 | * configure: Regenerate. | |
3325 | ||
bbdd639d MM |
3326 | Sat Nov 11 18:41:20 2000 Mark P Mitchell <mark@codesourcery.com> |
3327 | ||
3328 | * fixinc/mkfixinc.sh: Use the ordinary fixincludes on IRIX. | |
3329 | ||
d96a6d1a JM |
3330 | 2000-11-11 Jason Merrill <jason@redhat.com> |
3331 | ||
a8a05998 | 3332 | * function.c (assign_parms): If TREE_ADDRESSABLE is set, try to |
d96a6d1a JM |
3333 | give the parm a register and then call put_var_into_stack. |
3334 | * stmt.c (expand_decl): Likewise. | |
3335 | ||
8ee322c9 JM |
3336 | 2000-11-11 Joseph S. Myers <jsm28@cam.ac.uk> |
3337 | ||
3338 | * gcc.texi: Adjust wording. | |
3339 | ||
8b4c8a86 MM |
3340 | 2000-11-11 Mark Mitchell <mark@codesourcery.com> |
3341 | ||
3342 | * fixinc/inclhack.def (avoid_wchar_t_type): New fix. | |
3343 | * fininc/fixincl.x: Regenerated. | |
3344 | ||
639726ba JM |
3345 | 2000-11-11 Joseph S. Myers <jsm28@cam.ac.uk> |
3346 | ||
3347 | * invoke.texi: Correct spelling of -foptimize-register-move. | |
3348 | ||
4c2b647d NB |
3349 | 2000-11-11 Neil Booth <neilb@earthling.net> |
3350 | ||
3351 | Remove CPP_PLACEMARKERs. | |
3352 | ||
3353 | * cppexp.c (lex): Don't handle CPP_PLACEMARKER. | |
3354 | * cpplex.c (_cpp_lex_token): Rename skip_newlines to next_bol | |
3355 | * cpplib.c (skip_rest_of_line, check_eol, cpp_push_buffer): | |
a8a05998 | 3356 | Similarly. |
4c2b647d NB |
3357 | * cpplib.h: Remove CPP_PLACEMARKER. |
3358 | (struct lexer_state): Rename skip_newlines to next_bol. | |
3359 | * cppmacro.c (stringify_arg): Don't handle CPP_PLACEMARKER. | |
3360 | Simplify prev_white handling as a result. | |
3361 | (paste_all_tokens): Don't worry about CPP_PLACEMARKERs. | |
3362 | (parse_arg): Empty arguments are now empty, not CPP_PLACEMARKERs. | |
3363 | (parse_args): Similarly. Update argument count tests. | |
3364 | (enter_macro_context): Return 2 to indicate an empty macro. | |
3365 | (replace_args): Don't bother pre-expanding an empty argument. | |
3366 | Handle placemarkers and ## extension during pre-expansion. | |
3367 | (cpp_get_token): Handle empty macro expansions. Don't worry | |
3368 | about CPP_PLACEMARKERs. | |
3369 | (_cpp_create_definition): Empty macros are now empty. | |
3370 | (cpp_macro_defintion): Don't special case empty macros. | |
3371 | * scan-decls.c: Don't bother with CPP_PLACEMARKERs. | |
3372 | * c-lex.c: Similarly. | |
3373 | ||
c1030c7c JM |
3374 | 2000-11-11 Joseph S. Myers <jsm28@cam.ac.uk> |
3375 | ||
3376 | * gcc.texi, invoke.texi: Add new section discussing language | |
3377 | standards; link to it where appropriate; refer to ISO C instead of | |
3378 | ANSI C. | |
3379 | ||
93a77848 AO |
3380 | 2000-11-11 Alexandre Oliva <aoliva@redhat.com> |
3381 | ||
3650b695 AO |
3382 | * builtins.c (std_expand_builtin_va_start): Take PARM_BOUNDARY |
3383 | into account. | |
3384 | ||
93a77848 AO |
3385 | * config/sh/sh.h (MODES_TIEABLE_P): Don't tie SFmode to other FP |
3386 | modes. | |
3387 | ||
9a5a13c9 JM |
3388 | 2000-11-10 Joseph S. Myers <jsm28@cam.ac.uk> |
3389 | ||
3390 | * gcc.texi, gcov.texi: Update dates and version numbers. | |
3391 | ||
1e608388 ZW |
3392 | 2000-11-10 Zack Weinberg <zack@wolery.stanford.edu> |
3393 | ||
3394 | * configure.in: Remove AC_PROG_LEX and AC_PROG_YACC. Look for | |
3395 | flex and bison, specifically, first in a unified build and | |
3396 | then installed on the system. | |
3397 | * Makefile.in: Set BISON to @BISON@, FLEX to @FLEX@. Rename | |
3398 | LEXFLAGS to FLEXFLAGS. Adjust ORDINARY_FLAGS_TO_PASS to | |
3399 | match. | |
3400 | ||
3401 | (collect2.o, gcc.o, prefix.o, toplev.o, alloca.o, intl.o, | |
3402 | cppdefault.o): Remove pointless sed munging of source file | |
3403 | name. | |
3404 | ||
9532e31f BS |
3405 | 2000-11-10 Bernd Schmidt <bernds@redhat.co.uk> |
3406 | ||
3407 | * reload.c (find_reloads_address_1, case POST_MODIFY): Use RELOAD_OTHER | |
3408 | for address reloads. Push replacements for REG_INC notes. | |
3409 | (regno_clobbered_p): New arg SETS. Examine SETs if it's nonzero. All | |
3410 | callers changed. | |
3411 | * reload1.c (choose_reload_regs): Registers set in the insn can't be | |
3412 | used for RELOAD_OTHER reloads. | |
3413 | ||
721de836 MM |
3414 | 2000-11-10 Mark Mitchell <mark@codesourcery.com> |
3415 | ||
3416 | * c-dump.h: New file. | |
3417 | ||
4e135bdd KG |
3418 | 2000-11-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3419 | ||
3420 | * alpha.c (check_float_value): Use memcpy, not bcopy. | |
3421 | * arm.c (output_move_double): Likewise. | |
3422 | * arm.md: Likewise. | |
3423 | * m88k.c (legitimize_operand): Likewise. | |
3424 | * m88k.h (ORDER_REGS_FOR_LOCAL_ALLOC): Likewise. | |
3425 | * m88k.md: Likewise. | |
3426 | * mips.c (override_options): Likewise. | |
3427 | * mips.md: Likewise. | |
3428 | * romp.c (output_fpops): Likewise. | |
3429 | * rs6000.c (rs6000_override_options): Likewise. | |
3430 | * sh.md: Likewise. | |
3431 | * vax.c (check_float_value): Likewise. | |
3432 | ||
3433 | * emit-rtl.c (copy_rtx_if_shared, init_emit_once): Likewise. | |
3434 | * expmed.c (synth_mult): Likewise. | |
3435 | * final.c (add_bb_string): Likewise. | |
3436 | * genattr.c (main): Likewise. | |
3437 | * genattrtab.c (attr_string, simplify_cond, copy_rtx_unchanging): | |
3438 | Likewise. | |
3439 | * jump.c (thread_jumps): Likewise. | |
3440 | * prefix.c (save_string): Likewise. | |
3441 | * real.h (REAL_VALUE_FROM_CONST_DOUBLE): Likewise. | |
3442 | * regclass.c (init_reg_sets, init_reg_sets_1): Likewise. | |
3443 | * reload1.c (reload, eliminate_regs): Likewise. | |
3444 | ||
c8abeb44 JM |
3445 | 2000-11-10 Joseph S. Myers <jsm28@cam.ac.uk> |
3446 | ||
3447 | * gcc.texi (Service): Update to reflect current practice and | |
3448 | location of the GNU service directory. | |
3449 | ||
6fb85418 BS |
3450 | 2000-11-09 Bernd Schmidt <bernds@redhat.co.uk> |
3451 | ||
3452 | * regrename.c (build_def_use): Mark contents of REG_INC notes as | |
3453 | needing replacement. | |
3454 | ||
0c478921 BS |
3455 | * config/ia64/ia64.md (extendsfdf2, extendsftf2, extenddftf2): Emit |
3456 | a no-op move if regs are equal. | |
3457 | * toplev.c (rest_of_compilation): Do the noop moves elimination pass | |
a8a05998 | 3458 | when calling jump after post-reload splitting. |
0c478921 | 3459 | |
3b7a2e58 JM |
3460 | 2000-11-09 Jan van Male <jan.vanmale@fenk.wau.nl> |
3461 | ||
a8a05998 ZW |
3462 | * c-tree.texi: Fix typos. |
3463 | * extend.texi: Likewise | |
3464 | * gcov.texi: Likewise | |
3465 | * rtl.texi: Likewise | |
3466 | * tm.texi: Likewise | |
3b7a2e58 | 3467 | |
59257980 HPN |
3468 | 2000-11-09 Hans-Peter Nilsson <hp@axis.com> |
3469 | ||
3470 | * c-lex.c [! NO_IMPLICIT_EXTERN_C] (cb_enter_file): Check | |
3471 | in_system_header and flags[1] before dereferencing flags[2]. | |
3472 | ||
881a8969 MH |
3473 | 2000-11-09 Matthew Hiller <hiller@redhat.com> |
3474 | ||
3475 | * reload1.c (reload_combine): Fixed calculation of | |
3476 | first_index_reg, last_index_reg. | |
3477 | ||
0a7394bc MM |
3478 | 2000-11-09 Mark Mitchell <mark@codesourcery.com> |
3479 | ||
13507bd8 MM |
3480 | * c-dump.c (dequeue_and_dump): Dump function bodies. |
3481 | ||
0a7394bc MM |
3482 | * Makefile.in (C_AND_OBJC_OBJS): Add c-dump.o. |
3483 | (c-dump.o): New target. | |
3484 | * c-common.h (flag_dump_translation_unit): New variable. | |
3485 | (C_TYPE_QUALS): New macro. | |
3486 | (strip_array_types): New function. | |
3487 | (DECL_C_BIT_FIELD): New macro. | |
3488 | (SET_DECL_C_BIT_FIELD): Likewise. | |
3489 | (CLEAR_DECL_C_BIT_FIELD): Likewise. | |
3490 | (dump_info_p): New typedef. | |
3491 | (dump_tree_fn): Likewise. | |
3492 | (lang_dump_tree): New variable. | |
3493 | (dump_node_to_file): New function. | |
3494 | * c-common.c (flag_dump_translation_unit): Define it. | |
3495 | (strip_array_types): New function. | |
3496 | * c-decl.c (c_decode_option): Handle -fdump-translation-unit. | |
a8a05998 | 3497 | * c-lang.c (finish_file): Call dump_node_to_file if |
0a7394bc MM |
3498 | flag_dump_translation_unit. |
3499 | * c-semantics.c (mark_rtl_for_local_static): Fix typo in comment. | |
3500 | * c-tree.h (DECL_C_BIT_FIELD): Remove declaration. | |
3501 | * c-dump.c: New file. | |
a8a05998 | 3502 | |
abffe289 CF |
3503 | 2000-11-09 Christopher Faylor <cgf@cygnus.com> |
3504 | ||
3505 | * config/i386/cygwin.h: Add mingw startfile prefix. | |
3506 | ||
1288c070 RH |
3507 | 2000-11-09 Richard Henderson <rth@redhat.com> |
3508 | ||
3509 | * flow.c (invalidate_mems_from_set): Split out from ... | |
3510 | (mark_set_1): ... here. | |
3511 | (try_pre_increment_1): Use it. Use propagate_block_delete_insn | |
3512 | instead of turning insn into a NOTE_INSN_DELETED. | |
3513 | ||
01702459 JM |
3514 | 2000-11-10 Joseph S. Myers <jsm28@cam.ac.uk> |
3515 | ||
3516 | * extend.texi, invoke.texi: Move documentation of builtin versions | |
3517 | of C library functions to one place and update. | |
3518 | ||
30355eaa RH |
3519 | 2000-11-09 Richard Henderson <rth@redhat.com> |
3520 | ||
3521 | * fold-const.c (fold): Compare TYPE_MAIN_VARIANT rather than | |
3522 | the types themselves to discover type equivalence. | |
3523 | ||
5fcee6f3 MS |
3524 | 2000-11-09 Mike Stump <mrs@wrs.com> |
3525 | ||
3526 | * Makefile.in (distclean): Remove a few extra leftovers. | |
3527 | ||
377b6fce RH |
3528 | 2000-11-09 Richard Henderson <rth@redhat.com> |
3529 | ||
c0e3f87d RH |
3530 | * recog.c (validate_replace_rtx_1): Consider subregs when |
3531 | replacing a register with a constant inside a sign/zero_extend. | |
3532 | ||
377b6fce RH |
3533 | * config/alpha/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define. |
3534 | ||
b52114d2 GK |
3535 | 2000-11-09 Geoffrey Keating <geoffk@redhat.com> |
3536 | ||
3537 | * c-decl.c (finish_struct): When a structure is completed, | |
3538 | check all its variant types for completeness. | |
3539 | ||
a949941c NB |
3540 | 2000-11-09 Neil Booth <neilb@earthling.net> |
3541 | ||
3542 | * cpphash.c: Move cpp_defined here from cpplib.c. | |
3543 | * cpplib.c: Update comments, move cpp_defined to cpphash.c. | |
3544 | * cpplex.c (_cpp_lex_token): Don't leave the lexer at EOL. | |
3545 | * cppmacro.c (cpp_get_token): Update comments, no need now | |
3546 | to catch the CPP_EOF meaning EOL case. | |
3547 | ||
9a0662b4 GK |
3548 | 2000-11-08 Geoffrey Keating <geoffk@redhat.com> |
3549 | ||
3550 | * config/sparc/sparc.c (sparc_va_arg): When the required alignment | |
3551 | is more than that provided, copy to a temporary. | |
3552 | ||
6c80a645 AO |
3553 | 2000-11-09 Alexandre Oliva <aoliva@redhat.com> |
3554 | ||
3555 | * mklibgcc.in (EXTRA_MULTILIB_PARTS): Prevent `make' from | |
3556 | interpreting $out as a macro assignment. | |
3557 | * Makefile.in (T_TARGET): New auxiliary macro and target. | |
3558 | (all): Add a target right in the beginning, so that we don't build | |
3559 | T_TARGET by default. | |
3560 | ||
6a4afa6c GS |
3561 | 2000-11-09 Graham Stott <grahams@redhat.com> |
3562 | ||
a8a05998 | 3563 | * config/i386/i386.md (mmx_pinsrw): Output operands in correct |
6a4afa6c GS |
3564 | order for -mintel-syntax. Remove comment now that the operand |
3565 | order has been checked. | |
3566 | (mmx_pextrw): Likewise. | |
3567 | (mmx_pshufw): Likewise. | |
3568 | ||
2dee4af1 JJ |
3569 | 2000-11-09 Jakub Jelinek <jakub@redhat.com> |
3570 | ||
3571 | * builtins.c (c_strlen): Use TREE_STRING_LENGTH - 1 for max. | |
3572 | (c_getstr): New function. | |
3573 | (expand_builtin_strstr): Do nothing if -fcheck-memory-usage. | |
3574 | If both arguments are constant string, optimize out. | |
3575 | (expand_builtin_strchr, expand_builtin_strrchr): New functions. | |
3576 | (expand_builtin_strpbrk): Use c_getstr, do nothing if | |
3577 | -fcheck-memory-usage. | |
3578 | (expand_builtin_fputs): Likewise. | |
3579 | (expand_builtin_strcmp): Add MODE argument. | |
3580 | Use even if !HAVE_cmpstrsi. | |
3581 | Optimize the case when both arguments are constant strings. | |
3582 | (expand_builtin): Adjust expand_builtin_strcmp caller. | |
3583 | Call expand_builtin_strchr and expand_builtin_strrchr. | |
3584 | * c-common.c (c_common_nodes_and_builtins): Add strchr and strrchr | |
3585 | builtins. | |
3586 | * builtins.def (BUILT_IN_STRRCHR): Add. | |
3587 | ||
97dc9fc0 GP |
3588 | 2000-11-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
3589 | ||
3590 | * fixinc/gnu-regex.c: Rename EGCS LOCAL markers to GCC LOCAL. | |
3591 | ||
2e09e75a JM |
3592 | 2000-11-09 Joseph S. Myers <jsm28@cam.ac.uk> |
3593 | ||
3594 | * calls.c (expand_call, emit_library_call_value_1), collect2.c | |
3595 | (scan_prog_file), config/a29k/a29k.c (print_operand), | |
3596 | config/sparc/sparc.c (order_regs_for_local_alloc): Use memcpy () | |
3597 | instead of bcopy (). | |
3598 | * real.h: Use memcmp () instead of bcmp (). | |
3599 | * config/m88k/m88k.c (m88k_layout_frame), config/sh/sh.c | |
3600 | (split_branches), config/sparc/sparc.c (ultra_flush_pipeline, | |
3601 | ultrasparc_sched_init, ultrasparc_sched_reorder), | |
3602 | config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Use memset () | |
3603 | instead of bzero (). | |
3604 | * config/vax/xm-xms.h (FILE_NAME_NONDIRECTORY): Use strrchr () | |
3605 | instead of rindex (). | |
3606 | * configure.in: Don't check for bzero, bcmp, index or rindex. | |
3607 | * configure, config.in: Regenerate. | |
3608 | * system.h: Don't include declarations for bzero, bcmp, index or | |
3609 | rindex. | |
3610 | * config/i386/xm-beos.h, config/rs6000/xm-beos.h: Don't define | |
3611 | bzero, bcmp, index or rindex. | |
3612 | ||
03fb4780 CF |
3613 | Wed Nov 8 21:58:20 2000 Christopher Faylor <cgf@cygnus.com> |
3614 | ||
3615 | * config/i386/cygwin.h: Add -no-win32 switch. Separate -mno-cygwin | |
3616 | include and library paths from -mcygwin case. Parameterize some | |
3617 | declarations to avoid warnings. Use standard locations for include and | |
3618 | lib dirs. | |
3619 | ||
ca68ea18 NC |
3620 | 2000-11-08 Nick Clifton <nickc@redhat.com> |
3621 | ||
3622 | * config/arm/arm.md (mulsidi3adddi): Change output operand | |
eb68ad7c | 3623 | constraint from "=&" to "+&". |
ca68ea18 | 3624 | (umulsidi3adddi): Change output operand constraint from "=&" to |
eb68ad7c | 3625 | "+&". |
ca68ea18 | 3626 | |
c32e1e6f RH |
3627 | 2000-11-08 Richard Henderson <rth@redhat.com> |
3628 | ||
3629 | * flow.c (init_propagate_block_info): Protect the rtx stored in | |
3630 | mem_set_list from modification by find_auto_inc. | |
3631 | (mark_set_1): Likewise. | |
3632 | ||
adb84b42 NB |
3633 | 2000-11-08 Neil Booth <neilb@earthling.net> |
3634 | ||
a8a05998 ZW |
3635 | Move directive handling into the lexer itself. |
3636 | ||
3637 | * cpplex.c (_cpp_lex_token): Handle directives directly. | |
3638 | In the case of a directive interrupting a function-like | |
3639 | macro invocation, use extra_char since read_ahead is | |
3640 | used to store the '#'. Return a CPP_EOF in this case. | |
3641 | * cppmacro.c (parse_arg): No need to handle CPP_DHASH any more. | |
3642 | (cpp_get_token): Don't handle directives here. | |
3643 | * cpplib.h: Remove CPP_DHASH token type. | |
adb84b42 | 3644 | |
756d6f0c JH |
3645 | Wed Nov 8 21:53:41 MET 2000 Jan Hubicka <jh@suse.cz> |
3646 | ||
3647 | * regmove.c (combine_stack_adjustments_for_blocks): Recognize pushes | |
3648 | formed using PRE_MODIFY too. | |
3649 | ||
c39c0db3 MM |
3650 | 2000-11-08 Mark Mitchell <mark@codesourcery.com> |
3651 | ||
69908851 MM |
3652 | * c-tree.texi (VAR_DECL): Describe representation of GCC's |
3653 | extension for placing variables in particular registers. | |
3654 | ||
c39c0db3 MM |
3655 | * c-tree.texi (FUNCTION_TYPE): Clarify TYPE_ARG_TYPES for |
3656 | unprototyped C functions with no parameters. | |
3657 | ||
6cada0cd JJ |
3658 | 2000-11-08 Jakub Jelinek <jakub@redhat.com> |
3659 | ||
3660 | * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Cast DELTA to int | |
3661 | before passing to fprintf. | |
3662 | ||
768f0669 JJ |
3663 | 2000-11-08 Jakub Jelinek <jakub@redhat.com> |
3664 | ||
3665 | * function.c (expand_function_start): Cast GET_MODE_SIZE to | |
3666 | HOST_WIDE_INT before negating it. | |
3667 | ||
df6018fd JJ |
3668 | 2000-11-08 Jakub Jelinek <jakub@redhat.com> |
3669 | ||
3670 | * expr.c (expand_expr) [ADDR_EXPR]: Handle when op0 is RETURN_DECL | |
3671 | passed in multiple non-contiguous locations. | |
3672 | ||
14ae1d50 | 3673 | 2000-11-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
a8a05998 | 3674 | |
14ae1d50 GP |
3675 | * README.gnat: Remove file. |
3676 | ||
673887d5 AO |
3677 | 2000-11-08 Alexandre Oliva <aoliva@redhat.com> |
3678 | ||
3679 | * mklibgcc.in (EXTRA_MULTILIB_PARTS): Generate multilib parts | |
3680 | in-place. | |
3681 | ||
66234570 RH |
3682 | 2000-11-07 Richard Henderson <rth@redhat.com> |
3683 | ||
3684 | * dwarfout.c (INSN_LABEL_FMT): Remove. | |
3685 | (output_label_die): Use ASM_GENERATE_INTERNAL_LABEL. | |
3686 | (dwarfout_label): Remove. | |
3687 | * dwarfout.h: Remove it's prototype. | |
3688 | * dwarf2out.c (INSN_LABEL_FMT): Remove. | |
3689 | (gen_label_die): Use ASM_GENERATE_INTERNAL_LABEL. | |
3690 | (dwarf2out_label): Remove. | |
3691 | * dwarf2out.h: Remove it's prototype. | |
3692 | * final.c (final_scan_insn): Don't call dwarf[2]out_label. | |
3693 | ||
81b75d96 RH |
3694 | 2000-11-07 Richard Henderson <rth@redhat.com> |
3695 | ||
cd5c4048 RH |
3696 | * config/ia64/fde-glibc.c (find_fde_for_dso): Do a binary |
3697 | search on the unwind region section. | |
3698 | ||
3699 | * config/ia64/ia64.md (movbi): Add r/r alternative. | |
3700 | (cmovdi_internal_astep): Describe all combinations of register | |
3701 | classes for sources & destinations; remove matching constraints. | |
3702 | (cmovdi_internal): Likewise. | |
3703 | ||
81b75d96 RH |
3704 | * gcc.c (default_compilers) [@cpp-output]: Add -fpreprocessed. |
3705 | ||
6dbaddf9 RH |
3706 | 2000-11-07 Richard Henderson <rth@redhat.com> |
3707 | ||
3708 | * c-lang.c (start_cdtor, finish_cdtor): New functions. | |
3709 | (finish_file): Use them in building constructor/destructor functions. | |
3710 | ||
a8a05998 | 3711 | * config/alpha/alpha.h (HAS_INIT_SECTION, LD_INIT_SWITCH, |
6dbaddf9 RH |
3712 | LD_FINI_SWITCH): Move ... |
3713 | * config/alpha/osf.h: ... here. | |
3714 | * config/alpha/alpha-interix.h: Don't undef them. | |
3715 | ||
99b13084 JO |
3716 | 2000-11-07 Jeffrey Oldham <oldham@oz.codesourcery.com> |
3717 | ||
3718 | * config/mips/t-iris6 (FPBIT): New. Added so that __unorddf2 is | |
3719 | included in libgcc.a. | |
3720 | (DPBIT): Likewise. | |
3721 | (dp-bit.c): Likewise. | |
3722 | (fp-bit.c): Likewise. | |
3723 | ||
d7cac874 NC |
3724 | 2000-11-07 Nick Clifton <nickc@redhat.com> |
3725 | ||
3726 | * config/m88k/m88k.h (GLOBAL_ASM_OP): Add missing tab. | |
3727 | (INTERNAL_ASM_OP): Add missing tab. | |
3728 | ||
961192e1 JM |
3729 | 2000-11-07 Joseph S. Myers <jsm28@cam.ac.uk> |
3730 | ||
3731 | * alias.c (init_alias_analysis), calls.c (expand_call, | |
3732 | emit_library_call_value_1), combine.c (init_reg_last_arrays), | |
3733 | cse.c (new_basic_block), dbxout.c (dbxout_type), diagnostic.c | |
3734 | (init_output_buffer, set_diagnostic_context), dwarf2out.c | |
3735 | (equate_decl_number_to_die, build_abbrev_table), emit-rtl.c | |
3736 | (init_emit_once), fold-const.c (mul_double, div_and_round_double), | |
3737 | function.c (assign_parms), gcse.c (compute_can_copy, | |
3738 | alloc_gcse_mem, alloc_reg_set_mem, record_one_set, | |
3739 | compute_hash_table, compute_set_hash_table, | |
3740 | compute_expr_hash_table), genattrtab.c (optimize_attrs), global.c | |
3741 | (global_alloc, global_conflicts), haifa-sched.c (compute_trg_info, | |
3742 | clear_units, schedule_block), integrate.c (initialize_for_inline, | |
3743 | expand_inline_function), jump.c (thread_jumps), local-alloc.c | |
3744 | (local_alloc), loop.c (combine_movables, count_loop_regs_set, | |
3745 | load_mems_and_recount_loop_regs_set), print-tree.c (debug_tree), | |
3746 | regclass.c (init_reg_sets, init_reg_sets_1, regclass, | |
3747 | record_reg_classes, allocate_reg_info), reload.c | |
3748 | (get_secondary_mem, remove_address_replacements, find_reloads), | |
3749 | reload1.c (reload, set_initial_label_offsets, finish_spills, | |
3750 | reload_as_needed, choose_reload_regs_init, | |
3751 | reload_cse_simplify_operands), reorg.c (dbr_schedule), sbitmap.c | |
3752 | (sbitmap_zero), simplify-rtx.c (simplify_plus_minus), ssa.c | |
3753 | (rename_registers), stmt.c (expand_end_case), unroll.c | |
3754 | (unroll_loop), varray.c (varray_grow), objc/objc-act.c: Use memset | |
3755 | () instead of bzero (). | |
3756 | ||
e3cc3581 NB |
3757 | 2000-11-07 Neil Booth <neilb@earthling.net> |
3758 | ||
3759 | * cp/lang-specs.h: Fix -save-temps specs under USE_CPPLIB. | |
3760 | ||
f8136648 KG |
3761 | 2000-11-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3762 | ||
3763 | * c-common.c (combine_strings): Only warn about long strings for C. | |
3764 | ||
71fd5a51 R |
3765 | Tue Nov 7 19:44:30 2000 J"orn Rennecke <amylaar@redhat.com> |
3766 | ||
3767 | * combine.c (distribute_notes): Fix typo in last change. | |
3768 | ||
bdaa0181 GK |
3769 | 2000-11-07 Geoff Keating <geoffk@redhat.com> |
3770 | ||
3771 | * config/rs6000/rs6000.md (movdi_internal32+1): Use | |
3772 | operand_subreg_force rather than gen_rtx_SUBREG. | |
3773 | (movdi_internal32+2): Likewise. | |
3774 | ||
bc56a125 PB |
3775 | 2000-11-07 Philip Blundell <philb@gnu.org> |
3776 | ||
3777 | * configure.in (arm*-*-linuxaout*): Obsolete, deleted. | |
3778 | * config/arm/linux-aout.h: Likewise. | |
3779 | * configure: Regenerate. | |
3780 | ||
a71d3613 PT |
3781 | 2000-11-07 Philipp Thomas <pthomas@suse.de> |
3782 | ||
3783 | * ABOUT-GCC-NLS: Remove the patch for gettext as it has been | |
3784 | accepted my the gettext maintainer. | |
3785 | ||
26a87cab KG |
3786 | 2000-11-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3787 | ||
3788 | * builtins.c (expand_builtin_strpbrk): New function. | |
3789 | (expand_builtin): Handle BUILT_IN_STRPBRK. | |
3790 | ||
3791 | * builtins.def (BUILT_IN_STRPBRK): New entry. | |
3792 | ||
3793 | * c-common.c (c_common_nodes_and_builtins): Declare builtin | |
3794 | strpbrk. | |
3795 | ||
ace54f91 DB |
3796 | 2000-11-07 David O'Brien <obrien@dragon.nuxi.com> |
3797 | ||
3798 | * config/alpha/freebsd.h: New file -- FreeBSD/alpha architecture file. | |
3799 | * POTFILES.in: Add config/alpha/freebsd.h | |
3800 | * configure.in: Add alpha*-freebsd support. | |
3801 | * configure: Regenerate. | |
3802 | ||
0dec5df9 JM |
3803 | 2000-11-07 Joseph S. Myers <jsm28@cam.ac.uk> |
3804 | ||
3805 | * tree.c (build_common_tree_nodes_2): Make va_list_type_node be a | |
3806 | copy of ptr_type_node rather than ptr_type_node itself. | |
3807 | ||
bf103ec2 R |
3808 | Tue Nov 7 06:29:24 2000 J"orn Rennecke <amylaar@redhat.com> |
3809 | ||
3810 | * combine.c (recog_for_combine): Allocate uninitialized vector with | |
3811 | rtvec_alloc. | |
3812 | * recog.c (apply_change_group): Likewise. | |
3813 | ||
c762163e R |
3814 | Tue Nov 7 06:24:02 2000 J"orn Rennecke <amylaar@redhat.com> |
3815 | ||
3816 | * flow.c (verify_local_live_at_start): Back out last change. | |
3817 | * combine.c (distribute_notes): When parts of a hard reg are | |
3818 | neither set nor referenced in PLACE, search backwards for a | |
3819 | place to put a REG_UNUSED note; if none found, ask for flow | |
3820 | info refresh. | |
3821 | ||
f34c06e5 R |
3822 | Mon Nov 6 20:08:13 2000 J"orn Rennecke <amylaar@redhat.com> |
3823 | ||
3824 | * reload1.c (eliminate_regs_in_insn): Allow a set to be a PARALLEL | |
3825 | with (clobber (match_scratch...)). | |
3826 | ||
2b892489 NB |
3827 | 2000-11-06 Neil Booth <neilb@earthling.net> |
3828 | ||
3829 | * c-lex.c (init_c_lex): If cpp_start_read fails, exit with | |
3830 | error status. | |
3831 | ||
ea33bfc5 NB |
3832 | 2000-11-06 Neil Booth <neilb@earthling.net> |
3833 | ||
a8a05998 | 3834 | * tradcpp.c (special_symbol): Assign an null string rather |
ea33bfc5 NB |
3835 | than writing to an unallocated buffer. |
3836 | ||
56051c0a NB |
3837 | 2000-11-06 Neil Booth <neilb@earthling.net> |
3838 | ||
3839 | * cpplex.c (_cpp_equiv_tokens): Check arg_no in the | |
3840 | CPP_MACRO_ARG case. | |
3841 | ||
6c53ebff NB |
3842 | 2000-11-06 Neil Booth <neilb@earthling.net> |
3843 | ||
3844 | * c-lex.c (c_lex): Replace tok.val.aux with tok.val.c or | |
3845 | tok.val.arg_no as appropriate. | |
3846 | * cppexp.c (lex): Similarly. | |
3847 | * cpplex.c (_cpp_lex_token, cpp_spell_token, cpp_output_token, | |
3848 | cpp_equiv_tokens, cpp_can_paste, cpp_avoid_paste): Similarly. | |
3849 | * cppmacro.c (stringify_arg, replace_args, lex_expansion_token, | |
3850 | cpp_macro_definition): Similarly. | |
3851 | * cpplib.h (struct cpp_token): Replace aux with c and arg_no. | |
3852 | ||
8b1c5fd0 JJ |
3853 | 2000-11-06 Jakub Jelinek <jakub@redhat.com> |
3854 | ||
3855 | * config/sparc/sparc.md (adddi3): If operands[2] is 4096 and | |
3856 | operands[1] is constant, calculate the sum and generate movdi. | |
3857 | (addsi3): Similarly. Use SImode in call to arith_4096_operand. | |
3858 | (subsi3): Use SImode in call to arith_4096_operand. | |
3859 | ||
a0115140 JJ |
3860 | 2000-11-06 Jakub Jelinek <jakub@redhat.com> |
3861 | ||
3862 | * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): On sparc64 we need to | |
3863 | adjust %o1, not %o0 if the return type is large structure. | |
3864 | ||
9ea2bda9 JJ |
3865 | 2000-11-06 Jakub Jelinek <jakub@redhat.com> |
3866 | ||
3867 | * config/sparc/sparc.md (smulsi3_highpart_v8plus, ashldi3_v8plus+1, | |
3868 | update_return, flush, flushdi, ffssi2, ffsdi2): Fix output formatting. | |
3869 | ||
1cf7847f DC |
3870 | Sat Sep 23 19:10:20 2000 Denis Chertykov <denisc@overta.ru> & Marek Michalkiewicz <marekm@linux.org.pl> |
3871 | ||
3872 | * expmed.c (expand_divmod): For signed divide by 2, prefer | |
3873 | a branch and fewer shifts if branches are very cheap. | |
3874 | ||
436a88a6 JM |
3875 | 2000-11-05 Joseph S. Myers <jsm28@cam.ac.uk> |
3876 | ||
3877 | * Makefile.in: Remove all targets related to building | |
3878 | distributions and diffs, or INSTALL. | |
3879 | * INSTALL, install1.texi: Remove. | |
3880 | * configure.in: Remove mention of distdir. | |
3881 | * configure: Regenerate. | |
3882 | * objc/Make-lang.in: Remove mention of distdir. | |
3883 | ||
9cf11a47 NB |
3884 | 2000-11-04 Neil Booth <neilb@earthling.net> |
3885 | ||
3886 | * cpp.texi: Update for _Pragma. | |
3887 | ||
f148ca88 JM |
3888 | 2000-11-04 Joseph S. Myers <jsm28@cam.ac.uk> |
3889 | ||
3890 | * gcc.texi (Contributing): Update URL for projects web page. | |
3891 | ||
16eb2788 NB |
3892 | 2000-11-04 Neil Booth <neilb@earthling.net> |
3893 | ||
a8a05998 ZW |
3894 | * cpplex.c (parse_string): Don't allow multiline strings in |
3895 | #include family directives. | |
16eb2788 | 3896 | |
9232b7d9 NB |
3897 | 2000-11-04 Neil Booth <neilb@earthling.net> |
3898 | ||
3899 | * cpplib.c (do_line): Only warn pedantically if not reading | |
a8a05998 | 3900 | preprocessed input. |
9232b7d9 | 3901 | |
f132f529 AO |
3902 | 2000-11-04 Alexandre Oliva <aoliva@redhat.com> |
3903 | ||
3904 | * calls.c (emit_call_1) [sibcall_pop]: Use n_popped instead of | |
3905 | RETURN_POPS_ARGS(). | |
3906 | ||
0e9295cf ZW |
3907 | 2000-11-03 Zack Weinberg <zack@wolery.stanford.edu> |
3908 | ||
3909 | * builtins.c (expand_builtin_strlen): Remove unused mode | |
3910 | argument. | |
3911 | * gcc.c (process_command): Remove unused variable. | |
3912 | * fold-const.c: Include expr.h. | |
3913 | * recog.c: Include reload.h. | |
3914 | * Makefile.in (recog.o, fold-const.o): Update deps. | |
3915 | ||
f2682362 GK |
3916 | 2000-11-02 Geoffrey Keating <geoffk@cygnus.com> |
3917 | ||
3918 | * fixinc/gnu-regex.c: Change 'CYGNUS LOCAL' to 'EGCS LOCAL'. | |
3919 | ||
25f80eae MM |
3920 | Fri Nov 3 13:41:04 2000 Mark P Mitchell <mark@codesourcery.com> |
3921 | ||
3922 | * config/mips/iris6.h (SUBTARGET_CC1_SPEC): Remove -static | |
3923 | handling. | |
3924 | (STARTFILE_SPEC): Likewise. | |
3925 | (LINK_SPEC): Likewise. | |
3926 | ||
426159a4 KG |
3927 | 2000-11-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3928 | ||
3929 | * Makefile.in (fold-const.o): Depend on $(GGC_H), not ggc.h. | |
3930 | (toplev.o): Likewise for $(LOOP_H)/loop.h and $(REGS_H)/regs.h. | |
3931 | (simplify-rtx.o): Likewise for $(GGC_H)/ggc.h. | |
3932 | ||
da61dec9 JM |
3933 | 2000-11-03 Joseph S. Myers <jsm28@cam.ac.uk> |
3934 | ||
3935 | * c-decl.c (duplicate_decls, copy_lang_decl), dwarfout.c | |
3936 | (dwarfout_line), gcc.c (main, save_string), tree.c (init_obstacks, | |
3937 | perm_calloc, get_identifier, maybe_get_identifier, | |
3938 | real_value_from_int_cst, simple_cst_equal), varasm.c | |
3939 | (assemble_name, assemble_real, immed_real_const_1, | |
3940 | compare_constant_1, decode_rtx_const, output_constant_pool): Use | |
3941 | strrchr () instead of rindex (). Use memcmp () instead of bcmp | |
3942 | (). Use memcpy () instead of bcopy (). Use memset () instead of | |
3943 | bzero (). | |
3944 | ||
def3263a NS |
3945 | 2000-11-03 Nathan Sidwell <nathan@codesourcery.com> |
3946 | ||
3947 | * cppfiles.c (open_file): If already read, then don't reopen. | |
3948 | Immediately close an empty file. | |
3949 | ||
94e9dc13 BS |
3950 | 2000-11-01 Bernd Schmidt <bernds@redhat.co.uk> |
3951 | ||
3952 | * expr.h (fold_builtin): Move declaration... | |
3953 | * tree.h (fold_builtin): ... here. | |
3954 | ||
6c6a14b5 R |
3955 | Fri Nov 3 05:41:07 2000 J"orn Rennecke <amylaar@redhat.com> |
3956 | ||
3957 | * flow.c (verify_local_live_at_start): Allow hard regs to die. | |
3958 | ||
5b569332 NB |
3959 | 2000-11-02 Neil Booth <neilb@earthling.net> |
3960 | ||
3961 | config: | |
3962 | * a29k/a29k.h, a29k/unix.h, a29k/vx29k.h, | |
3963 | alpha/alpha-interix.h, alpha/alpha.h, alpha/linux.h, | |
3964 | alpha/openbsd.h, alpha/osf.h, alpha/vms.h, alpha/vxworks.h, | |
3965 | alpha/win-nt.h, arc/arc.h, arm/arm.h, arm/conix-elf.h, | |
3966 | arm/linux-aout.h, arm/linux-elf.h, arm/netbsd.h, arm/riscix.h, | |
3967 | arm/riscix1-1.h, arm/semiaof.h, arm/unknown-elf-oabi.h, arm/vxarm.h, | |
3968 | c4x/rtems.h, clipper/clix.h, convex/convex.h, d30v/d30v.h, | |
3969 | elxsi/elxsi.h, fr30/fr30.h, h8300/h8300.h, i370/linux.h, i370/mvs.h, | |
3970 | i370/oe.h, i386/386bsd.h, i386/aix386ng.h, i386/beos-elf.h, | |
3971 | i386/bsd386.h, i386/crtdll.h, i386/cygwin.h, i386/dgux.h, | |
3972 | i386/djgpp-rtems.h, i386/djgpp.h, i386/freebsd-aout.h, i386/freebsd.h, | |
3973 | i386/gnu.h, i386/i386-interix.h, i386/i386.h, i386/linux-aout.h, | |
3974 | i386/linux-oldld.h, i386/linux.h, i386/lynx-ng.h, i386/lynx.h, | |
3975 | i386/mach.h, i386/mingw32.h, i386/moss.h, i386/netbsd.h, | |
3976 | i386/netware.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h, | |
3977 | i386/osfelf.h, i386/osfrose.h, i386/ptx4-i.h, i386/rtems.h, | |
3978 | i386/rtemself.h, i386/sco.h, i386/sco4.h, i386/sco4dbx.h, i386/sco5.h, | |
3979 | i386/scodbx.h, i386/sequent.h, i386/sol2.h, i386/sun.h, i386/sysv3.h, | |
3980 | i386/sysv4.h, i386/uwin.h, i386/vsta.h, i386/vxi386.h, i386/win-nt.h, | |
3981 | i386/win32.h, i860/fx2800.h, i860/i860.h, i860/mach.h, i860/sysv3.h, | |
3982 | i860/sysv4.h, i960/i960.h, i960/rtems.h, i960/vx960-coff.h, | |
3983 | ia64/ia64.h, ia64/linux.h, m32r/m32r.h, m68k/3b1.h, m68k/3b1g.h, | |
3984 | m68k/a-ux.h, m68k/altos3068.h, m68k/amix.h, m68k/apollo68.h, | |
3985 | m68k/crds.h, m68k/ctix.h, m68k/dpx2.h, m68k/hp2bsd.h, m68k/hp320.h, | |
3986 | m68k/hp3bsd.h, m68k/hp3bsd44.h, m68k/isi.h, m68k/linux-aout.h, | |
3987 | m68k/linux.h, m68k/lynx-ng.h, m68k/lynx.h, m68k/m68kemb.h, | |
3988 | m68k/m68kv4.h, m68k/mot3300.h, m68k/netbsd.h, m68k/news.h, | |
3989 | m68k/next.h, m68k/openbsd.h, m68k/pbb.h, m68k/plexus.h, m68k/rtems.h, | |
3990 | m68k/rtemself.h, m68k/sun2.h, m68k/sun3.h, m68k/sun3mach.h, | |
3991 | m68k/tower-as.h, m68k/tower.h, m68k/vxm68k.h, m88k/dgux.h, | |
3992 | m88k/dolph.h, m88k/luna.h, m88k/m88k-aout.h, m88k/m88k-coff.h, | |
3993 | m88k/openbsd.h, m88k/sysv3.h, m88k/sysv4.h, mips/bsd-4.h, | |
3994 | mips/bsd-5.h, mips/dec-bsd.h, mips/dec-osf1.h, mips/gnu.h, | |
3995 | mips/iris3.h, mips/iris5.h, mips/iris6.h, mips/linux.h, mips/mips.h, | |
3996 | mips/netbsd.h, mips/news4.h, mips/news5.h, mips/nws3250v4.h, | |
3997 | mips/openbsd.h, mips/osfrose.h, mips/rtems64.h, mips/sni-svr4.h, | |
3998 | mips/svr3-4.h, mips/svr3-5.h, mips/svr4-4.h, mips/svr4-5.h, | |
3999 | mips/ultrix.h, ns32k/encore.h, ns32k/merlin.h, ns32k/netbsd.h, | |
4000 | ns32k/ns32k.h, ns32k/pc532-mach.h, ns32k/pc532.h, ns32k/sequent.h, | |
4001 | ns32k/tek6000.h, ns32k/tek6100.h, ns32k/tek6200.h, pa/pa-hiux.h, | |
4002 | pa/pa-hpux.h, pa/pa-hpux7.h, pa/pa-linux.h, pa/pa-osf.h, | |
4003 | pa/pa-pro-end.h, pa/pa.h, pa/rtems.h, pj/linux.h, pj/pj.h, | |
4004 | romp/romp.h, rs6000/aix.h, rs6000/aix31.h, rs6000/aix41.h, | |
4005 | rs6000/aix43.h, rs6000/beos.h, rs6000/eabi.h, rs6000/eabisim.h, | |
4006 | rs6000/linux.h, rs6000/lynx.h, rs6000/mach.h, rs6000/rtems.h, | |
4007 | rs6000/sysv4.h, rs6000/vxppc.h, sh/elf.h, sh/linux.h, sh/rtems.h, | |
4008 | sh/rtemself.h, sh/sh.h, sparc/aout.h, sparc/elf.h, sparc/linux-aout.h, | |
4009 | sparc/linux.h, sparc/linux64.h, sparc/lite.h, sparc/litecoff.h, | |
4010 | sparc/liteelf.h, sparc/lynx-ng.h, sparc/lynx.h, sparc/netbsd.h, | |
4011 | sparc/openbsd.h, sparc/pbd.h, sparc/rtems.h, sparc/rtemself.h, | |
4012 | sparc/sol2-sld-64.h, sparc/sol2.h, sparc/sp64-aout.h, | |
4013 | sparc/sp64-elf.h, sparc/sp86x-aout.h, sparc/sp86x-elf.h, | |
4014 | sparc/sparc.h, sparc/sysv4.h, sparc/vxsim.h, sparc/vxsparc.h, | |
4015 | v850/rtems.h, vax/netbsd.h, vax/openbsd.h, vax/ultrix.h, vax/vax.h, | |
4016 | vax/vaxv.h, vax/vms.h, we32k/we32k.h | |
a8a05998 | 4017 | |
5b569332 NB |
4018 | Replace -A() with -A=, the new assertion syntax. |
4019 | ||
03afaf36 R |
4020 | Thu Nov 2 21:52:35 2000 J"orn Rennecke <amylaar@redhat.com> |
4021 | ||
4022 | * combine.c (distribute_notes): Use rtx_equal_p to check elim_i2 / | |
4023 | elim_i1. | |
4024 | In REG_DEAD handling: When handling parts of multi-hard-reg hard | |
4025 | registers, increment the loop counter by the size of the parts; | |
4026 | use recursion to handle individual parts. | |
4027 | ||
04e3be98 NB |
4028 | 2000-11-02 Neil Booth <neilb@earthling.net> |
4029 | ||
4030 | * configure.in: Make integrated CPP the default. | |
4031 | * configure: Regenerate. | |
4032 | ||
0192d704 R |
4033 | Thu Nov 2 19:20:12 2000 J"orn Rennecke <amylaar@redhat.com> |
4034 | ||
4035 | * reload.c (find_equiv_reg): Test all hard registers for membership | |
4036 | in the requested class. | |
4037 | ||
9473c522 JM |
4038 | 2000-11-02 Joseph S. Myers <jsm28@cam.ac.uk> |
4039 | ||
4040 | * collect2.c (main, write_c_file_stat), gcc.c (translate_options, | |
4041 | process_command, main), gcov.c (open_files, output_data), tlink.c | |
4042 | (frob_extension, scan_linker_output), toplev.c | |
4043 | (file_name_nondirectory): Use strchr () and strrchr () instead of | |
4044 | index () and rindex (). | |
4045 | ||
0304bbad JM |
4046 | 2000-11-02 Joseph S. Myers <jsm28@cam.ac.uk> |
4047 | ||
4048 | * c-common.c (get_flag_spec, check_format_info_main, | |
4049 | check_format_types): Use strchr () instead of index (). Compare | |
4050 | against error_mark_node instead of comparing the TREE_CODE against | |
4051 | ERROR_MARK. | |
4052 | ||
23356f93 ZW |
4053 | 2000-11-02 Zack Weinberg <zackw@Stanford.EDU> |
4054 | ||
a8a05998 ZW |
4055 | Integrated CPP. |
4056 | ||
4057 | * c-lex.c (init_c_lex): Update cpp_start_read call. | |
4058 | (cb_ident): Update for new callback prototype. | |
4059 | (cb_def_pragma): Update for new cpp_get_token prototype. | |
4060 | (c_lex): Similarly. Use cpp_get_line. | |
4061 | ||
4062 | * c-parse.in (finish_parse): Update for new cpp_finish | |
4063 | prototype. | |
4064 | ||
4065 | * cp/lex.c (finish_parse): Similarly. | |
23356f93 | 4066 | |
7a099817 GK |
4067 | 2000-11-01 Geoff Keating <geoffk@cygnus.com> |
4068 | ||
4069 | * machmode.def: Add V16QImode. | |
4070 | ||
a97c9600 RH |
4071 | 2000-11-01 Richard Henderson <rth@redhat.com> |
4072 | ||
4073 | * dwarf2out.c (loc_descriptor_from_tree): Check for null result | |
4074 | from rtl_for_decl_location. | |
4075 | (add_location_or_const_value_attribute): Likewise. | |
4076 | ||
a0a9606d NB |
4077 | 2000-11-01 Neil Booth <neilb@earthling.net> |
4078 | ||
a8a05998 ZW |
4079 | * cpplib.c (run_directive): Use correct line number for output |
4080 | of _Pragma. Remember any in-progress directive. | |
4081 | ||
4082 | * gcc.dg/cpp/vararg2.c, gcc.dg/cpp/_Pragm1.c: New tests. | |
a0a9606d | 4083 | |
ba89764a RH |
4084 | 2000-11-01 Richard Henderson <rth@redhat.com> |
4085 | ||
4086 | * stmt.c (expand_start_null_loop): Set continue_label. | |
4087 | ||
b0b3afb2 BS |
4088 | 2000-11-01 Bernd Schmidt <bernds@redhat.co.uk> |
4089 | ||
4090 | * builtins.c (fold_builtin_constant_p, fold_builtin): New functions. | |
4091 | (expand_builtin_constant_p): Move parts of the code into | |
4092 | fold_builtin_constant_p. | |
4093 | (expand_builtin_strlen): Move parts of the code into fold_builtin. | |
4094 | * expr.h (fold_builtin): Declare. | |
4095 | * fold-const.c (fold): Handle builtin calls. | |
4096 | ||
4097 | * c-typeck.c (build_function_call): Call fold on the CALL_EXPR. | |
4098 | ||
f0de0c5d RH |
4099 | 2000-11-01 Richard Henderson <rth@redhat.com> |
4100 | ||
4101 | * stmt.c (expand_start_null_loop): New. | |
a8a05998 | 4102 | (expand_end_null_loop): New. |
f0de0c5d RH |
4103 | * c-semantics.c (genrtl_do_stmt): Use them. |
4104 | * tree.h: Declare them. | |
4105 | ||
3a59c77c RH |
4106 | 2000-11-01 Richard Henderson <rth@redhat.com> |
4107 | ||
4108 | * cppmain.c (scan_buffer): Don't avoid paste for assembly. | |
4109 | ||
12c4f523 NB |
4110 | 2000-11-01 Neil Booth <neilb@earthling.net> |
4111 | ||
4112 | * c-parse.in (_yylex): Remove CPP_BACKSLASH case. | |
4113 | * cp/spew.c: Similarly. | |
4114 | * cpplex.c (_cpp_lex_token): Backslashes are now CPP_OTHER. | |
4115 | * cppmacro.c (stringify_arg): Similarly. | |
4116 | * cpplib.h (CPP_BACKSLASH): Delete. | |
4117 | ||
78e7629e KG |
4118 | 2000-10-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4119 | ||
4120 | * builtins.c (expand_builtin_strstr): New function. | |
4121 | (expand_builtin): Handle BUILT_IN_STRSTR and BUILT_IN_STRCHR. | |
4122 | ||
4123 | * builtins.def (BUILT_IN_STRSTR, BUILT_IN_STRCHR): New entries. | |
4124 | ||
4125 | * c-common.c (c_common_nodes_and_builtins): Declare builtin strstr | |
4126 | and builtin strchr. | |
4127 | ||
32ee391b RH |
4128 | 2000-10-31 Richard Henderson <rth@redhat.com> |
4129 | ||
4130 | * config/i386/i386.c (fcmov_comparison_operator): Check for | |
4131 | CCFPmode or CCFPUmode instead of CCmode. | |
4132 | (ix86_expand_fp_movcc): Call ix86_expand_setcc for most | |
4133 | unordered operations as well. | |
4134 | ||
5f10ef5b RH |
4135 | 2000-10-31 Richard Henderson <rth@redhat.com> |
4136 | ||
4137 | * c-semantics.c (genrtl_do_stmt): Use integer_zerop instead | |
4138 | of integer_zero_node. | |
4139 | ||
d599b81f RH |
4140 | 2000-10-31 Richard Henderson <rth@redhat.com> |
4141 | ||
4142 | * c-semantics.c (genrtl_do_stmt): Special case do/while(0). | |
4143 | ||
1426f761 NC |
4144 | 2000-10-31 Nick Clifton <nickc@redhat.com> |
4145 | ||
4146 | * config/arm/unknown-elf.h (UNIQUE_SECTION_P): Do not allow | |
4147 | -fdata-sections to override the section attribute of a DECL. | |
4148 | ||
a8c0159a CD |
4149 | 2000-10-31 Chris Demetriou <cgd@sibyte.com> |
4150 | ||
4151 | * libgcc2.c (__shtab): Remove __shtab variable. | |
4152 | * libgcc-std.ver (GCC_3.0): Remove __shtab from symbol list. | |
4153 | * Makefile.in (LIB2FUNCS): Remove _shtab from list of library | |
4154 | members. | |
4155 | ||
8215347e JW |
4156 | 2000-10-31 Jim Wilson <wilson@redhat.com> |
4157 | ||
4158 | * defaults.h (ASM_OUTPUT_DEBUG_LABEL): New. | |
4159 | * tm.texi (ASM_OUTPUT_DEBUG_LABEL): Document. | |
4160 | * dwarf2out.c (dwarf2out_begin_block): Use ASM_OUTPUT_DEBUG_LABEL | |
4161 | instead of ASM_OUTPUT_INTERNAL_LABEL. | |
4162 | (dwarf2out_end_block, dwarf2out_label): Likewise. | |
4163 | * final.c (final_scan_insn, case NOTE_INSN_DELETED_LABEL): Likewise | |
4164 | * config/ia64/ia64.h (ASM_OUTPUT_DEBUG_LABEL): Define. | |
a8a05998 | 4165 | |
d8041cc8 RH |
4166 | 2000-10-31 Richard Henderson <rth@redhat.com> |
4167 | ||
4168 | * dwarf2out.c (struct dw_loc_descr_struct): Add dw_loc_addr. | |
4169 | (size_of_locs): Set it. | |
4170 | (output_loc_operands): Use it to compute branch displacement. | |
4171 | (int_loc_descriptor): New. | |
4172 | (mem_loc_descriptor): Dereference memory in the proper size. | |
4173 | Use DW_OP_plus_uconst when possible. Use int_loc_descriptor. | |
4174 | (loc_descriptor_from_tree): New. | |
4175 | (rtl_for_decl_location): Break out from ... | |
4176 | (add_location_or_const_value_attribute): ... here. | |
4177 | (add_bound_info): Use loc_descriptor_from_tree. | |
4178 | ||
86368122 NB |
4179 | 2000-10-31 Neil Booth <neilb@earthling.net> |
4180 | ||
4181 | * cpp.texi: Update for new command line assertion syntax. | |
4182 | * cpplib.c (cpp_define): Simplify a bit. | |
4183 | (cpp_assert, cpp_unassert): Use handle_assertion. | |
4184 | (handle_assertion): New function; accept new command line | |
4185 | syntax with '='. | |
4186 | * testsuite/gcc.dg/cpp/assert3.c: New tests. | |
4187 | ||
e1998242 NB |
4188 | 2000-10-31 Neil Booth <neilb@earthling.net> |
4189 | ||
4190 | * cppmacro.c (STDC_0_IN_SYSTEM_HEADERS): Define to 0 if | |
4191 | undefined. Remove #ifdef check. | |
4192 | * config/i386/sol2.h, config/rs6000/sol2.h, config/sparc/sol2.h: | |
4193 | Define STDC_0_IN_SYSTEM_HEADERS to 1. | |
4194 | ||
7e08e190 JH |
4195 | 2000-10-31 Jan Hubicka <jh@suse.cz> |
4196 | Jakub Jelinek <jakub@redhat.com> | |
4197 | ||
4198 | * config/i386/i386.h: Clarify CCNOmode description in comment. | |
4199 | (EXTRA_CC_MODES): Remove CCRCmode. | |
4200 | * config/i386/i386.c (ix86_comparison_operator): Remove CCRCmode. | |
4201 | (put_condition_code, ix86_match_ccmode): Likewise. | |
4202 | (ix86_cc_mode): Likewise. Fix comment. | |
4203 | (ix86_expand_strlensi_unroll_1): *rc patterns are gone. | |
4204 | * config/i386/i386.md: Add unspec 12 description. | |
4205 | (adddi3 split): Use unspec 12 instead of CCRCmode. | |
4206 | (addsi3_carry_rc): Remove. | |
4207 | (addsi3_cc, addqi3_cc): New patterns. | |
4208 | (addsi_3): Swap operands, match CCZmode. | |
4209 | (addsi_4): Rewritten. | |
4210 | (addsi_5): Renamed from addsi_6. | |
4211 | (addsi_6): Removed. | |
4212 | (addhi_3): Swap operands, match CCZmode. | |
4213 | (addhi_4): Rewritten. | |
4214 | (addhi_5): Renamed from addhi_6. | |
4215 | (addhi_6): Removed. | |
4216 | (addqi_3): Swap operands, match CCZmode. | |
4217 | (addqi_4): Rewritten. | |
4218 | (addqi_5): Renamed from addqi_6. Use =q constraint for clobber. | |
4219 | (subsi3_carry_rc): Removed. | |
4220 | (iorqi_3): Use =q constraint for clobber. | |
4221 | (xorqi_cc_2): Likewise. | |
4222 | (negdi2_1 split): Don't use CCRCmode, use ltu instead of gtu. | |
4223 | (x86_movsicc_0_m1_rc): Removed. | |
4224 | (cmp?i peepholes): Remove neg. Use CCGCmode instead of CCRCmode. | |
4225 | ||
93cc1c69 JM |
4226 | 2000-10-31 Joseph S. Myers <jsm28@cam.ac.uk> |
4227 | ||
4228 | * c-typeck.c (build_unary_op): If pedantic, pedwarn for increment | |
4229 | and decrement of complex types. | |
4230 | ||
bcb38cc1 KG |
4231 | 2000-10-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4232 | ||
4233 | * builtins.c (expand_builtin_fputs): When deleting NOP calls to | |
4234 | builtin fputs, ensure we still evaluate the stream in case it | |
4235 | has side-effects. | |
4236 | ||
681cb233 JJ |
4237 | 2000-10-31 Jakub Jelinek <jakub@redhat.com> |
4238 | ||
4239 | * expr.c (do_store_flag): Pass operand_mode instead of GET_MODE (op0) | |
4240 | to expand_shift. | |
4241 | ||
4b9580a5 R |
4242 | Tue Oct 31 15:33:27 2000 J"orn Rennecke <amylaar@redhat.com> |
4243 | ||
4244 | * sh-protos.h (reg_no_subreg_operand, emit_fpscr_use): Don't declare. | |
4245 | (fp_extended_operand, emit_fpscr_use): Likewise. | |
4246 | * sh.c (reg_no_subreg_operand, fp_extended_operand): Delete functions. | |
4247 | (fpul_operand): New function. | |
4248 | * sh.h (PREDICATE_CODES): Remove reg_no_subreg_operand and | |
4249 | fp_extended_operand. Add fpul_operand. | |
4250 | * sh.md (mulsf3, mulsf3_i4): Use fp_arith_reg_operand for "f" operands. | |
4251 | (mulsf3_ie, macsf3, cmpgtsf_t, cmpeqsf_t, ieee_ccmpeqsf_t): Likewise. | |
4252 | (cmpgtsf_t_i4, cmpeqsf_t_i4, ieee_ccmpeqsf_t_4, negsf2): Likewise. | |
4253 | (negsf2_i, sqrtsf2, sqrtsf2_i, abssf2, abssf2_i, adddf3): Likewise. | |
4254 | (adddf3_i, subdf3, subdf3_i, muldf3, muldf3_i, divdf3): Likewise. | |
4255 | (divdf3_i): Likewise. | |
4256 | (floatsisf2): Likewise. Use fpul_operand for 'y' operand. | |
4257 | (floatsisf2_i4, floatsisf2_ie, fix_truncsfsi2): Likewise. | |
4258 | (fix_truncsfsi2_i4, fixsfsi, floatsidf2, floatsidf2_i): Likewise. | |
4259 | (fix_truncdfsi2, fix_truncdfsi2_i, extendsfdf2): Likewise. | |
4260 | (extendsfdf2_i4, truncdfsf2, truncdfsf2_i4): Likewise. | |
4261 | ||
332316cd BS |
4262 | 2000-10-31 Bernd Schmidt <bernds@redhat.co.uk> |
4263 | ||
a8a05998 | 4264 | * config/i386/i386.c (ix86_init_builtins): Correct return type |
332316cd BS |
4265 | building v4hi_ftype_v4hi_int_int tree node. |
4266 | (ix86_expand_builtin): Use correct operand numbers 0 and 1. | |
4267 | Copy operand 0 into a Pmode register, don't generate a MEM rtx. | |
4268 | ||
4269 | * config/i386/i386.md (sse_movntdi): Use mmx register constraint | |
4270 | for operand 1. | |
4271 | (mmx__uavgv8qi3): Correct insn mnemonic. | |
4272 | (mmx_psadbw): Correct insn mnemonic. Use V8QI mode for operands 1 and 2. | |
4273 | (mmx_punpckhwd): Correct insn mnemonic. | |
4274 | (mmx_punpckhdq): Likewise. | |
4275 | (mmx_punpcklwd): Likewise. | |
4276 | (mmx_punpckldq): Likewise. | |
4277 | (prefetch): Use immediare_operand and 'n' constraint for operand 1. | |
4278 | Renumber case labels to match the _mm_prefetch constants defined in | |
4279 | xmmintrin.h. | |
4280 | ||
1d766db0 BS |
4281 | * recog.c (split_all_insns): Don't try to call cleanup_subreg_operands |
4282 | if the splitter didn't emit new insns. | |
4283 | Make sure we call cleanup_subreg_operands even when splitting the last | |
4284 | insn in a basic block. | |
4285 | ||
8bb16620 BS |
4286 | * invoke.texi (Debugging Options): Describe -do. |
4287 | * toplev.c (enum_dump_file_index): New entry DFI_postreload. | |
4288 | (dump_file): Likewise. | |
4289 | (rest_of_compilation): Split .greg dump into .greg and .postreload. | |
4290 | ||
a5c3cccd NB |
4291 | 2000-10-30 Neil Booth <neilb@earthling.net> |
4292 | ||
4293 | * cppfiles.c (stack_include_file): Check for stacked contexts | |
4294 | here. | |
4295 | * cpphash.h (_cpp_do__Pragma): New prototype. | |
4296 | * cppinit.c (cpp_reader_init): Add _Pragma keyword to hash table. | |
4297 | ||
4298 | * cpplex.c (skip_escaped_newlines): Only process trigraphs and | |
4299 | escaped newlines if !(buffer->from_stage3). | |
4300 | (_cpp_lex_token): Warn about missing newlines iff | |
4301 | !buffer->from_stage3. | |
4302 | ||
4303 | * cpplib.c (get__Pragma_string, destringize, | |
4304 | _cpp_do__Pragma): New functions. | |
4305 | (run_directive): Set output_line for _Pragma to avoid line | |
4306 | markers in output. Set from_stage3 and prevent macro expansion | |
4307 | for _Pragma and command-line options. Check buffer exhaustion. | |
4308 | (cpp_push_buffer): Don't check for stacked macro contexts, as | |
4309 | this is perfectly legitimate for _Pragma. Move the check to | |
4310 | stack_include_file instead. Set from_stage3 iff buffer is | |
4311 | preprocessed input. | |
4312 | ||
4313 | * cpplib.h (struct cpp_buffer): Make warned_cplusplus_comments | |
4314 | unsigned. New boolean from_stage3. | |
4315 | (struct spec_nodes): Add n__Pragma. | |
4316 | ||
4317 | * cppmacro.c (enter_macro_context): Flip sense of return value. | |
4318 | (_cpp_get_token): Handle _Pragma operator. | |
4319 | ||
dbdaea41 PE |
4320 | 2000-10-30 Phil Edwards <pme@sources.redhat.com> |
4321 | ||
4322 | * gcc.texi: The C++ standard isn't "draft" anymore. | |
4323 | ||
8a47978d MM |
4324 | 2000-10-30 Mark Mitchell <mark@codesourcery.com> |
4325 | ||
4326 | * cppmacro.c (builtin_macro): Use NT_VOID, not T_VOID. | |
4327 | ||
1641a823 NB |
4328 | 2000-10-29 Neil Booth <neilb@earthling.net> |
4329 | ||
4330 | * cpplib.c (skip_rest_of_line): Use _cpp_get_token. | |
4331 | ||
8c7b74b9 JM |
4332 | 2000-10-29 Joseph S. Myers <jsm28@cam.ac.uk> |
4333 | ||
526aba28 JM |
4334 | * toplev.c, flags.h, fold-const.c, real.c, rtl.c, |
4335 | fixinc/inclhack.def: Change comments mentioning C9X to refer to | |
4336 | C99 instead. | |
4337 | ||
8c7b74b9 JM |
4338 | * invoke.texi: Document that -V will only work for very similar |
4339 | versions of driver and compiler. | |
4340 | ||
44ed91a1 NB |
4341 | 2000-10-29 Neil Booth <neilb@earthling.net> |
4342 | ||
4343 | * cppmacro.c (_cpp_create_definition): Optimize the case of | |
a8a05998 | 4344 | a macro defined to itself. |
44ed91a1 | 4345 | |
3542203b NB |
4346 | 2000-10-29 Neil Booth <neilb@earthling.net> |
4347 | ||
4348 | * cpplex.c (save_comment): Don't store new lines in C++ comments. | |
4349 | ||
6f268adf MH |
4350 | 2000-10-29 Michael Hayes <mhayes@redhat.com> |
4351 | ||
4352 | * integrate.c (copy_insn_list): Copy the unchanging flag for calls. | |
4353 | ||
926c5678 GK |
4354 | 2000-10-28 Geoffrey Keating <geoffk@cygnus.com> |
4355 | ||
4356 | * cpphash.c (cpp_forall_identifiers): Add context variable | |
4357 | for callback routine. | |
4358 | * cppmain.c (dump_macro): Update to match cpp_forall_identifiers | |
4359 | change. | |
4360 | (main): Call cpp_forall_identifiers with null context. | |
4361 | * cpplib.h (cpp_forall_identifiers): Update prototype. | |
4362 | ||
4363 | * cppmain.c: Make `parse_in' and `print' static. | |
4364 | ||
69f4cc4b AM |
4365 | 2000-10-28 Alan Modra <alan@linuxcare.com.au> |
4366 | ||
4367 | * c-decl.c (finish_function): Clear c_function_name_declared_p. | |
4368 | ||
ce73761f RH |
4369 | 2000-10-28 Richard Henderson <rth@redhat.com> |
4370 | ||
4371 | * regrename.c (scan_rtx_address): Frob action, not class, | |
4372 | when trying to disable optimization. | |
4373 | ||
2c21b247 MM |
4374 | 2000-10-28 Mark Mitchell <mark@codesourcery.com> |
4375 | ||
4376 | * c-semantics.c (make_rtl_for_local_static): Don't clobber | |
4377 | DECL_ASSEMBLER_NAME. | |
4378 | ||
8763704d JM |
4379 | 2000-10-28 Joseph S. Myers <jsm28@cam.ac.uk> |
4380 | ||
4381 | * configure.in: Determine and substitute gcc_version_full. | |
4382 | * configure: Regenerate. | |
4383 | * gccbug.in: Use it to give full version. Don't allow | |
4384 | confidential PRs. | |
4385 | ||
85941a0a RH |
4386 | 2000-10-28 Richard Henderson <rth@redhat.com> |
4387 | ||
4388 | * recog.c (split_all_insns): Run cleanup_subreg_operands | |
4389 | after reload. | |
4390 | ||
4391 | * regrename.c (regrename_optimize): Verify that all registers of | |
4392 | a multiple register mode are available. | |
4393 | (scan_rtx_address): Accept the mode of the address; all callers | |
4394 | changed. | |
4395 | ||
4396 | * cpplib.c (run_directive): Fix prototype. | |
4397 | ||
69add2a8 BS |
4398 | 2000-10-28 Bernd Schmidt <bernds@redhat.co.uk> |
4399 | ||
4400 | * reload.c (find_reloads): Distinguish "wins" so that we know whether | |
4401 | a given operand won because of a matching constraint or not; then use | |
4402 | that information to compute goal_alternative_matched properly. | |
4c3a2649 BS |
4403 | * reload1.c (choose_reload_regs): Never set reload_override_in for an |
4404 | optional reload. | |
69add2a8 | 4405 | |
005f39ce BS |
4406 | * config/ia64/ia64.h (RTX_COSTS): A few more entries, and a more |
4407 | accurate value for MULT. | |
55d8cb78 BS |
4408 | * config/ia64/ia64.c (ia64_print_operand): Require probability to be |
4409 | 2% or > 98% before using static branch prediction bits. | |
005f39ce | 4410 | |
93c80368 NB |
4411 | 2000-10-28 Neil Booth <neilb@earthling.net> |
4412 | ||
4413 | New macro expander. | |
a8a05998 | 4414 | |
93c80368 NB |
4415 | * cpplib.c (struct answer): New. |
4416 | (struct if_stack): Use cpp_lexer_pos rather than line and col. | |
4417 | Rename cmacro mi_cmacro. | |
4418 | (struct directive, KANDR, STDC89, EXTENSION, COND, IF_COND, INCL, | |
4419 | IN_I): New directive and flags. | |
4420 | (skip_rest_of_line, check_eol, run_directive, glue_header_name, | |
4421 | parse_answer, parse_assertion, find_answer): New functions. | |
4422 | (parse_ifdef, detect_if_not_defined, validate_else): Remove. | |
4423 | (lex_macro_node): New function to replace parse_ifdef and | |
4424 | get_define_node. | |
4425 | ||
4426 | (_cpp_handle_directive): New function, combines _cpp_check_directive | |
4427 | and _cpp_check_linemarker. | |
4428 | ||
4429 | (do_define, do_undef, parse_include, do_include, do_import, | |
4430 | do_include_next, read_line_number, do_line, do_ident, do_pragma, | |
4431 | do_pragma_once, do_pragma_poison, do_pragma_dependency): | |
4432 | Update for new token getting interface. | |
4433 | ||
4434 | (do_ifdef, do_ifndef, do_if, do_else, do_endif, push_conditional) | |
4435 | : Update for new multiple-include optimisation technique. | |
4436 | (do_elif): Don't forget to invalidate controlling macros. | |
4437 | ||
4438 | (unwind_if_stack, cpp_defined, cpp_push_buffer, cpp_pop_buffer): Update. | |
4439 | (parse_assertion, parse_answer, find_answer, _cpp_test_assertion): | |
4440 | Functions to handle assertions with the new token interface. | |
4441 | (do_assert, do_unassert): Use them. | |
4442 | ||
4443 | (cpp_define, _cpp_define_builtin, cpp_undef, cpp_assert, cpp_unassert): | |
4444 | Use run_directive. | |
4445 | ||
4446 | (_cpp_init_stacks): Register directive names. Don't register special | |
4447 | nodes. | |
4448 | ||
4449 | * cpperror.c (print_containing_files, _cpp_begin_message): Update to | |
4450 | new position recording regime. | |
4451 | (cpp_ice, cpp_fatal, cpp_error, cpp_error_with_line, cpp_warning, | |
4452 | cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line, | |
4453 | cpp_pedwarn_with_file_and_line): Update for _cpp_begin_message changes. | |
4454 | (cpp_type2name): Move to cpplex.c. | |
4455 | ||
4456 | * cppexp.c (parse_charconst): spec_nodes is no longer a pointer. | |
4457 | (parse_defined): Update to handle new multiple include optimisation | |
4458 | method. Remove poisoned identifier warning. | |
4459 | (parse_assertion, TYPE_NAME): Delete. | |
4460 | (lex): Update for multiple include optimisation, removal of | |
4461 | CPP_DEFINED, to use _cpp_test_assertion for assertions and | |
4462 | cpp_token_as_text. | |
4463 | (_cpp_parse_expr): Update for MI optimisation, and to use op_as_text. | |
4464 | (op_as_text): New function, to wrap cpp_token_as_text. | |
4465 | ||
4466 | * cppfiles.c (stack_include_file, _cpp_pop_file_buffer): | |
4467 | Update for MI optimisation. | |
4468 | (_cpp_execute_include): Take a token rather than 3 arguments. Fix | |
4469 | segfault on diagnostic. | |
4470 | (_cpp_compare_file_date): Take a token rather than 3 args. | |
4471 | (cpp_read_file): Work correctly for zero-length files. | |
4472 | ||
4473 | * cpphash.c (_cpp_init_macros, _cpp_cleanup_macros): Rename | |
4474 | _cpp_init_hashtable and _cpp_cleanup_hashtable. | |
4475 | (cpp_lookup): Place identifiers at front of identifier pool | |
4476 | for _cpp_lookup_with_hash. | |
4477 | (_cpp_lookup_with_hash): Require identifiers to be at the front of | |
4478 | the identifier pool. Commit the memory if not already in the | |
4479 | hash table. | |
4480 | ||
4481 | * cppinit.c (cpp_reader_init): Move cpp_init_completed test to top. | |
4482 | Initialise various members of cpp_reader, memory pools, and the | |
4483 | special nodes. | |
4484 | (cpp_printer_init): Delete. | |
4485 | (cpp_cleanup): Update. | |
4486 | (struct builtin, builtin_array, initialize_builtins): Update for new | |
4487 | hashnode definition and builtin handling. | |
4488 | (cpp_start_read, cpp_finish): Don't take or initialise a | |
4489 | printer. Update. | |
4490 | ||
4491 | * cpplib.h (cpp_printer, cpp_toklist, CPP_DEFINED, BOL, | |
4492 | PASTED, VAR_ARGS, BEG_OF_FILE, IN_DIRECTIVE, KNOWN_DIRECTIVE, | |
4493 | T_VOID, T_SPECLINE, T_DATE, T_FILE, T_BASE_FILE, T_INCLUDE_LEVEL, | |
4494 | T_TIME, T_STDC, T_OPERATOR, T_POISON, T_MACRO, T_ASSERTION): Delete. | |
4495 | (struct cpp_pool, struct cpp_macro, struct cpp_lexer_pos, | |
4496 | struct cpp_lookahead, CPP_DHASH, enum mi_state, enum mi_ind, | |
4497 | NO_EXPAND, VARARGS_FIRST, struct cpp_token_with_pos, | |
4498 | struct toklist, struct cpp_context, struct specnodes, | |
4499 | TOKEN_LOOKAHEAD, TOKEN_BUFFSIZE, NODE_OPERATOR, NODE_POISONED, | |
4500 | NODE_BUILTIN, NODE_DIAGNOSTIC, NT_VOID, NT_MACRO, NT_ASSERTION, | |
4501 | enum builtin_type, cpp_can_paste): New. | |
4502 | (struct cpp_token): Delete line and col members. | |
4503 | (struct cpp_buffer): New member output_lineno. | |
4504 | (struct lexer_state): Delete indented, in_lex_line, seen_dot. | |
4505 | Add va_args_ok, poisoned_ok, prevent_expansion, parsing_args. | |
4506 | (struct cpp_reader): New members lexer_pos, macro_pos, directive_pos, | |
4507 | ident_pool, temp_string_pool, macro_pool, argument_pool, string_pool, | |
4508 | base_context, context, directive, mi_state, mi_if_not_defined, | |
4509 | mi_lexed, mi_cmacro, mi_ind_cmacro, la_read, la_write, la_unused, | |
4510 | mlstring_pos, macro_buffer, macro_buffer_len. | |
4511 | Delete members mls_line, mls_column, token_list, potential_control_macro, | |
4512 | temp_tokens, temp_cap, temp_alloced, temp_used, first_directive_token, | |
4513 | context_cap, cur_context, no_expand_level, paste_level, contexts, args, | |
4514 | save_parameter_spellings, need_newline, . | |
4515 | Change type of date, time and spec_nodes members. | |
4516 | Change prototypes for include and ident callbacks. | |
4517 | (struct cpp_hashnode): Change type of name. Remove union members | |
4518 | expansion and code. Add members macro, operator and builtin. | |
4519 | ||
4520 | (cpp_token_len, cpp_token_as_text, cpp_spell_token, cpp_start_read, | |
4521 | cpp_finish, cpp_avoid_paste, cpp_get_token, cpp_get_line, | |
4522 | cpp_get_output_line, cpp_macro_definition, cpp_start_lookahead, | |
4523 | cpp_stop_lookahead): New prototypes. | |
4524 | (cpp_printer_init, cpp_dump_definition): Delete prototypes. | |
4525 | ||
4526 | (U_CHAR, U, ustrcmp, ustrncmp, ustrlen, uxstrdup, ustrchr, ufputs): | |
4527 | Move from cpphash.h. | |
4528 | ||
4529 | * cpphash.h (U_CHAR, U, ustrcmp, ustrncmp, ustrlen, uxstrdup, ustrchr, | |
4530 | ufputs): Move to cpplib.h. | |
4531 | (enum spell_type, struct token_spelling, _cpp_token_spellings, TOKEN_SPELL, | |
4532 | TOKEN_NAME, struct answer, FREE_ANSWER, KANDR, STDC89, EXTENSION, | |
4533 | COND, EXPAND, INCL, COMMENTS, IN_I, struct directive, directive_handler, | |
4534 | struct spec_nodes, _cpp_digraph_spellings, _cpp_free_temp_tokens, | |
4535 | _cpp_init_input_buffer, _cpp_grow_token_buffer, _cpp_init_toklist, | |
4536 | _cpp_clear_toklist, _cpp_expand_token_space, _cpp_expand_name_space, | |
4537 | _cpp_equiv_tokens, _cpp_equiv_toklists, _cpp_process_directive, | |
4538 | _cpp_run_directive, _cpp_get_line, _cpp_get_raw_token, _cpp_glue_header_name, | |
4539 | _cpp_can_paste, _cpp_check_directive, _cpp_check_linemarker, | |
4540 | _cpp_parse_assertion, _cpp_find_answer): Delete. | |
4541 | (VALID_SIGN, ALIGN, POOL_FRONT, POOL_LIMIT, POOL_BASE, POOL_SIZE, | |
4542 | POOL_USED, POOL_COMMIT, struct cpp_chunk, _cpp_lex_token, _cpp_init_pool, | |
4543 | _cpp_free_pool, _cpp_pool_reserve, _cpp_pool_alloc, _cpp_next_chunk, | |
4544 | _cpp_lock_pool, _cpp_unlock_pool, _cpp_test_assertion, | |
4545 | _cpp_handle_directive, DSC): New. | |
4546 | (struct include_file): New member defined. | |
4547 | ||
4548 | (DO_NOT_REREAD, _cpp_begin_message, _cpp_execute_include, | |
4549 | _cpp_compare_file_date): Update. | |
4550 | (_cpp_pop_context, _cpp_get_token, _cpp_free_lookaheads, _cpp_push_token): New. | |
4551 | (_cpp_init_macros, _cpp_cleanup_macros): Rename to _cpp_init_hashtable, | |
4552 | _cpp_cleanup_hashtable. | |
4553 | ||
4554 | * Makefile.in: Remove cppoutput.c. | |
a8a05998 | 4555 | |
93c80368 NB |
4556 | * cppoutput.c: Delete |
4557 | ||
4558 | * fixheader.c (read_scan_file): Update for new cpp_get_token | |
4559 | prototype. | |
4560 | (recognized_function): New argument LINE. | |
4561 | ||
4562 | * scan-decls.c (skip_to_closing_brace, scan_decls): Update for | |
4563 | new cpp_get_token prototype. | |
4564 | ||
4565 | * scan.h (recognized_function): Update prototype. | |
4566 | ||
4567 | * po/POTFILES.in: Remove cppoutput.c. | |
a8a05998 | 4568 | |
229a2e65 MM |
4569 | 2000-10-27 Mark Mitchell <mark@codesourcery.com> |
4570 | ||
4571 | * c-typeck.c (check_init_type_bitfields): Remove. | |
4572 | (constructor_incremental): Likewise. | |
4573 | (struct constructor_stack): Remove incremental bit. | |
4574 | (struct initializer_stack): Likewise. | |
4575 | (start_init): Don't play with constructor_incremental. | |
4576 | (finish_init): Likewise. | |
4577 | (really_start_incremental_init): Likewise. | |
4578 | (push_init_level): Likewise. | |
4579 | (pop_init_level): Likewise. | |
4580 | (output_init_level): Likewise. | |
4581 | (output_pending_init_elements): Likewise. | |
4582 | ||
63eb1269 MC |
4583 | 2000-10-21 Mike Coleman <mcoleman2@kc.rr.com> |
4584 | ||
4585 | * c-pragma.c (handle_pragma_pack): Initialize align to -1. | |
a8a05998 | 4586 | Improve error messages. Correct parsing of |
63eb1269 MC |
4587 | #pragma pack(pop [,id]). Do not check the user-supplied |
4588 | alignment if we're popping. | |
4589 | ||
4590 | * gcc.dg/pack-test-1.c: New test case. | |
4591 | * gcc.dg/pack-test-2.c: New test case. | |
4592 | * gcc.dg/pack-test-1.h: New file. | |
4593 | ||
ae2eceaa NB |
4594 | 2000-10-27 Neil Booth <neilb@earthling.net> |
4595 | ||
4596 | * cpp.texi: Update. | |
4597 | ||
04e149ab KC |
4598 | 2000-10-27 Kelley Cook <kelley.cook@home.com> |
4599 | ||
4600 | * invoke.texi: Document -mintel-syntax | |
4601 | ||
2b2a8f1f RH |
4602 | 2000-10-27 Richard Henderson <rth@redhat.com> |
4603 | ||
4604 | * invoke.texi: Document -frename-registers. Add it to -O3. | |
4605 | * toplev.c (rest_of_compilation): Run regrename before ifcvt2. | |
4606 | (enum dump_file_index, dump_file): Update order. | |
4607 | (main): Set flag_rename_registers at -O3. | |
4608 | ||
10c9f189 RH |
4609 | 2000-10-27 Richard Henderson <rth@redhat.com> |
4610 | ||
93c89ab3 RH |
4611 | * config/alpha/alpha.h (enum reg_class): Add PV_REG. |
4612 | (REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS): Update. | |
4613 | (REG_CLASS_FROM_LETTER): Assign it to 'c'. | |
4614 | * config/alpha/alpha.md (call_osf_1): Use it. | |
4615 | (call_value_osf_1): Likewise. | |
4616 | ||
10c9f189 RH |
4617 | * config/ia64/ia64.c: Revert 10-23 patch. |
4618 | (ia64_hard_regno_rename_ok): New. | |
4619 | * config/ia64/ia64-protos.h: Declare it. | |
4620 | * config/ia64/ia64.h (HARD_REGNO_RENAME_OK): Use it. | |
4621 | ||
541f7d56 BS |
4622 | 2000-10-27 Bernd Schmidt <bernds@redhat.co.uk> |
4623 | Richard Henderson <rth@redhat.com> | |
4624 | ||
a8a05998 ZW |
4625 | * regrename.c: Rewrite to handle multi-register modes and |
4626 | cond_exec instructions. | |
4627 | * Makefile.in (regrename.o): Update dependancies. | |
4628 | * recog.h (struct operand_alternative): Add is_address. | |
4629 | * recog.c (preprocess_constraints) [case 'p']: Set it. | |
541f7d56 | 4630 | |
b8dad04b ZW |
4631 | 2000-10-27 Zack Weinberg <zack@wolery.stanford.edu> |
4632 | ||
4633 | * configure.in: If not NO_MINUS_C_MINUS_O, substitute | |
4634 | OUTPUT_OPTION with '-o $@'. Make zlibdir, zlibinc relative to | |
4635 | top level. Kill oldstyle_subdirs. Do not include | |
4636 | $srcdir/$s/Makefile.in in all_lang_makefiles, but do include | |
4637 | $outputs. Do not run configure.lang from config.status. | |
4638 | Rearrange warning-flag logic to correspond to what the | |
4639 | makefile wants. Put special vax stage1 options in | |
4640 | @stage1_flags@ not @stage1_warn_cflags@. Don't do anything | |
4641 | with extra_c_objs, extra_cxx_objs, or extra_cpp_objs. | |
4642 | (--enable-c-cpplib): AC_SUBST(maybe_cpplib) with "libcpp.a" if | |
4643 | switch is given, nothing otherwise. | |
4644 | * configure.lang: Delete. | |
4645 | ||
a8a05998 ZW |
4646 | * Makefile.in: Expunge all traces of extra_c_objs, |
4647 | extra_cxx_objs, and extra_cpp_objs. Set MAYBE_CPPLIB from | |
4648 | @maybe_cpplib@. Add $(MAYBE_CPPLIB) to C_AND_OBJC_OBJS. Set | |
4649 | warning options via a three level scheme so that -pedantic and | |
4650 | -Wtraditional are not used for non-C front ends: LOOSE_WARN, | |
4651 | STRICT1_WARN, STRICT2_WARN -> $(@D)-warn, GCC_WARN_CFLAGS -> | |
4652 | WARN_CFLAGS. Distinguish STAGE1_CFLAGS from BOOT_CFLAGS. | |
b8dad04b ZW |
4653 | Add -I$(@D) and -I$(srcdir)/$(@D) to INCLUDES. |
4654 | Set OUTPUT_OPTION, ZLIB, ZLIBINC. Do not set P, | |
a8a05998 ZW |
4655 | LANG_FLAGS_TO_PASS. Add OUTPUT_OPTION to all object-file |
4656 | generation rules. Wrap all rules that change the current | |
4657 | directory in parentheses; pmake doesn't spawn a new shell for | |
4658 | each command. Expunge all references to $(P). When one | |
4659 | command depends on another and they're run all at once, use && | |
4660 | to separate them, not ;. Add libgcc_s$(SHLIB_EXT) to files | |
4661 | deleted on make clean. Force OUTPUT_OPTION='-o $@' in stage2 | |
4662 | and beyond. | |
b8dad04b ZW |
4663 | |
4664 | * objc/Make-lang.in: Wrap all rules that change the current | |
4665 | directory in parentheses. Expunge all references to $(P). | |
4666 | When one command depends on another and they're run all at | |
4667 | once, use && to separate them, not ;. Add OUTPUT_OPTION to | |
4668 | all object-file generation rules. Delete obsolete variables. | |
4669 | * objc/Makefile.in: Delete. | |
4670 | ||
fadb729c JJ |
4671 | 2000-10-27 Jakub Jelinek <jakub@redhat.com> |
4672 | ||
4673 | * calls.c (expand_call): If sibcall_failure is set during pass 1, | |
4674 | clear tail_call_insns as well. | |
4675 | ||
254bb256 NC |
4676 | 2000-10-27 Nick Clifton <nickc@redhat.com> |
4677 | ||
4678 | * config/arm/arm-protos.h (arm_function_ok_for_sibcall): Add | |
4679 | prototype. | |
4680 | ||
8eb99146 RH |
4681 | 2000-10-26 Richard Henderson <rth@redhat.com> |
4682 | ||
b8dad04b | 4683 | * calls.c (expand_call): Supress sibcall if we have a |
8eb99146 RH |
4684 | BLKmode return in registers. |
4685 | ||
036099eb BS |
4686 | 2000-10-26 Bernd Schmidt <bernds@redhat.co.uk> |
4687 | ||
4688 | * ia64.h (PREFERRED_RELOAD_CLASS): Force floating point constants | |
4689 | into memory. | |
4690 | ||
13c6f0d5 NS |
4691 | 2000-10-26 Nathan Sidwell <nathan@codesourcery.com> |
4692 | ||
4693 | * tree.c (make_node, case 't'): Set alignment to that of | |
4694 | char_type_node. | |
4695 | * expr.c (move_by_pieces_ninsns): Abort if some length remains. | |
4696 | ||
be5aeb60 MM |
4697 | 2000-10-25 Mark Mitchell <mark@codesourcery.com> |
4698 | ||
4699 | * Makefile.in (site.exp): Define HAVE_LIBSTDCXX_V3. | |
4700 | * configure.in (enable-libstdcxx-v3): Arrange to have | |
4701 | HAVE_LIBSTDCXX_V3 substituted into the output files. | |
4702 | ||
78192b09 RH |
4703 | 2000-10-25 Richard Henderson <rth@redhat.com> |
4704 | ||
4667f705 RH |
4705 | * recog.c (constrain_operands): Initialize which_alternative |
4706 | before no alternatives early exit. | |
4707 | ||
78192b09 RH |
4708 | * cse.c (find_comparison_args): Check that we can reverse a |
4709 | comparison if needed before accepting the substitution. | |
4710 | ||
081b49f1 RH |
4711 | * reload.c (find_reloads_address_part): Kill rtx obstack hackery. |
4712 | ||
d4f1c1fa RH |
4713 | * simplify-rtx.c (simplify_relational_operation): Sign extend |
4714 | low words before sign extending to high words. | |
4715 | ||
bc27e96c NC |
4716 | 2000-10-25 Nick Clifton <nickc@redhat.com> |
4717 | ||
4718 | * config/mcore/mcore.c: Include config.h before system.h. | |
4719 | ||
4720 | 2000-10-25 Ray Essick <essick@ddna.labs.mot.com> | |
4721 | ||
4722 | * config/mcore/mcore.md (return): Force function epilogue to | |
4723 | always be generated to work around epilogue suppression bug in | |
4724 | M*Core backend. | |
4725 | ||
e0c9fbb7 JM |
4726 | 2000-10-25 Joseph S. Myers <jsm28@cam.ac.uk> |
4727 | ||
4728 | * c-decl.c (grokdeclarator): Move warning for qualified void | |
4729 | return types with -pedantic to when the function type is | |
4730 | constructed. At -W, warn in general for qualified function return | |
4731 | types, except for volatile void. | |
4732 | * invoke.texi: Document this new warning at -W. | |
4733 | ||
138e79e7 NB |
4734 | 2000-10-25 Neil Booth <neilb@earthling.net> |
4735 | ||
b8dad04b ZW |
4736 | * cpp.texi: Update with implementation-defined behavior and |
4737 | internal limits. | |
138e79e7 | 4738 | |
dc5041ab JJ |
4739 | 2000-10-25 Jakub Jelinek <jakub@redhat.com> |
4740 | ||
4741 | * stor-layout.c (layout_type): If TYPE_ALIAS_SET was already set on the | |
4742 | incomplete type force it into alias set 0. | |
4743 | ||
e004f2f7 JW |
4744 | Wed Oct 25 01:02:44 EDT 2000 John Wehle (john@feith.com) |
4745 | ||
4746 | * alias.c: Include basic-block.h. | |
4747 | (loop_p): New function. | |
4748 | (mark_constant_function): Use it. | |
4749 | * Makefile.in (alias.o): Update dependencies. | |
4750 | ||
15c09738 AH |
4751 | 2000-10-24 Aldy Hernandez <aldyh@redhat.com> |
4752 | ||
4753 | * config/mn10300/mn10300.c (secondary_reload_class): Treat pseudos | |
4754 | like memory. | |
b8dad04b | 4755 | |
a8ca7756 JW |
4756 | 2000-10-24 Jim Wilson <wilson@cygnus.com> |
4757 | ||
4758 | * expmed.c (store_bit_field): Move integer pun code down after | |
4759 | code that calls emit_move_insn for entire register move. | |
4760 | * stor-layout.c (compute_record_mode): Revert Mar 25, Aug 18, and | |
4761 | Oct 20 changes. Only store mode in TYPE_MODE if RECORD_TYPE. | |
b8dad04b | 4762 | |
c0fc376b RH |
4763 | 2000-10-24 Richard Henderson <rth@cygnus.com> |
4764 | ||
4765 | * rtlanal.c (rtx_unstable_p, rtx_varies_p): Don't consider pic | |
4766 | register stable if PIC_OFFSET_TABLE_REG_CALL_CLOBBERED. | |
4767 | ||
d7836e38 AH |
4768 | 2000-10-24 Aldy Hernandez <aldyh@redhat.com> |
4769 | ||
b8dad04b ZW |
4770 | * gcse.c (cprop_insn): do not propagate constants into jump_insn |
4771 | for machines with CC0 more than once. | |
d7836e38 | 4772 | |
5e2c51ba RH |
4773 | 2000-10-24 Richard Henderson <rth@cygnus.com>, Aldy <aldyh@cygnus.com> |
4774 | ||
b8dad04b ZW |
4775 | * config/mn10300/mn10300.h (PREFERRED_RELOAD_CLASS): Treat |
4776 | pseudos just like memory. | |
5e2c51ba | 4777 | |
c71e1201 AO |
4778 | 2000-10-24 Alexandre Oliva <aoliva@redhat.com> |
4779 | ||
4780 | * combine.c (distribute_notes): Discard REG_LIBCALL and REG_RETVAL | |
4781 | when deleting libcall sequence collapsed to a single instruction. | |
4782 | ||
5129d2ce AH |
4783 | 2000-10-24 Andrew Haley <aph@cygnus.co.uk> |
4784 | ||
4785 | * expr.c (do_store_flag): Don't crash if either side of a | |
4786 | comparison is error_mark_node. | |
4787 | ||
f85b5d65 JJ |
4788 | 2000-10-24 Jakub Jelinek <jakub@redhat.com> |
4789 | ||
4790 | * sibcall.c (purge_mem_unchanging_flag): New function. | |
4791 | (optimize_sibling_and_tail_recursive_calls): Call it. | |
4792 | ||
4adee315 PT |
4793 | 2000-10-24 Philipp Thomas <pthomas@suse.de> |
4794 | ||
4795 | * Makefile.in (check-po): New target for doing checks in the po | |
4796 | subdir if all languages configured. | |
4797 | (CHECK_TARGETS): Add @CHECK_PO@, replaced with check-po via | |
4798 | configure if NLS is enabled. | |
4799 | * configure.in: If NLS is enabled, substitute CHECK_PO by check-po, | |
4800 | otherwise leave empty. | |
4801 | * configure: Regenerate. | |
4802 | ||
fb204271 DN |
4803 | 2000-10-23 Diego Novillo <dnovillo@cygnus.com> |
4804 | ||
4805 | * i386.c (print_operand): Handle new 'A' formatting code. | |
4806 | 387 opcodes need suffixes even with -mintel-syntax. | |
4807 | Check for explicit size override (codes 'b', 'w' and 'k'). | |
4808 | (print_operand_address): Check if register prefix is needed when | |
4809 | emitting `ds' segment override. | |
4810 | * i386.h: Add comment about new 'A' formatting code. | |
4811 | * i386.md (jump and call patterns): Emit absolute references using %A. | |
4812 | ||
8a959ea5 RH |
4813 | 2000-10-23 Richard Henderson <rth@cygnus.com> |
4814 | ||
b8dad04b | 4815 | * config/ia64/ia64.c (ia64_expand_prologue): Mark extra |
8a959ea5 RH |
4816 | output registers as fixed. |
4817 | (ia64_function_epilogue): Undo output fixation. | |
4818 | ||
964686de RH |
4819 | 2000-10-23 Richard Henderson <rth@cygnus.com> |
4820 | ||
4821 | * config/alpha/alpha.md: Add names for all unnamed insns; use | |
4822 | define_insn_and_split in some obvious places. | |
4823 | (lda): Remove. | |
4824 | (zero_extendqihi2): Use an expander w/ nonimmediate_operand for BWX. | |
4825 | (zero_extendqisi2, zero_extendqidi2): Likewise. | |
4826 | (zero_extendhisi2, zero_extendhidi2): Likewise. | |
4827 | (abs splitters): Fix match_scratch operand number. | |
4828 | (bcc_reverse): Swap pc & label instead of non-canonical compare. | |
4829 | ||
18a3c539 JW |
4830 | 2000-10-23 Jim Wilson <wilson@cygnus.com> |
4831 | ||
4832 | * ia64.c (ia64_print_operand, case 'r'): Correct comment. Handle | |
4833 | CONST_INT. | |
4834 | * ia64.md (cmpsi_adjusted): Use %r3. | |
4835 | (cmpdi_adjusted): Likewise. | |
4836 | ||
57dd137f DN |
4837 | 2000-10-23 Diego Novillo <dnovillo@cygnus.com> |
4838 | ||
4839 | * config/i386/att.h (ASM_FILE_START): Define. | |
4840 | ||
d984704d DN |
4841 | 2000-10-23 Diego Novillo <dnovillo@cygnus.com> |
4842 | ||
4843 | * config/i386/linux.h (ASM_FILE_START): Define. | |
4844 | ||
261f21e7 DL |
4845 | Wed Oct 18 11:16:40 2000 Donald Lindsay <dlindsay@cygnus.com> |
4846 | ||
4847 | * gcc/configure.in: m68k-coff tm_file should not have libgloss.h, | |
4848 | since this (only) drags in a crt0.o reference that the .ld files | |
4849 | also introduce. | |
4850 | ||
96af667a GK |
4851 | 2000-10-23 Geoff Keating <geoffk@cygnus.com> |
4852 | ||
2af88768 GK |
4853 | * reload1.c (reload_reg_reaches_end_p): A RELOAD_OTHER can |
4854 | overwrite the value in a RELOAD_FOR_INPUT and other kinds of | |
4855 | reloads just like an RELOAD_FOR_OUTPUT would. | |
4856 | ||
96af667a GK |
4857 | * local-alloc.c (update_equiv_regs): Add an abort(). When |
4858 | deleting or moving insns, update reg_equiv[regno].init_insns. | |
4859 | ||
d252a515 MM |
4860 | 2000-10-23 Mark Mitchell <mark@codesourcery.com> |
4861 | ||
4862 | * c-tree.texi: Improve documentation for IF_STMTs and related | |
4863 | conditional statements. | |
4864 | ||
f9808f81 MM |
4865 | 2000-10-22 Mark Mitchell <mark@codesourcery.com> |
4866 | ||
4867 | * expr.c (do_preexpand_calls): Remove. | |
4868 | (same_from_p): Don't use CALL_EXPR_RTL. | |
4869 | (expand_expr): Don't call preexpand_calls, or use CALL_EXPR_RTL. | |
4870 | (preexpand_calls): Remove. | |
4871 | * tree.c (first_rtl_op): Remove CALL_EXPR case. | |
4872 | (unsave_expr_1): Likewise. | |
4873 | * tree.def (CALL_EXPR): Give it only two slots. | |
4874 | * tree.h (CALL_EXPR_RTL): Remove. | |
4875 | ||
ae4bd622 CC |
4876 | 2000-10-21 Chandrakala Chavva <cchavva@redhat.com> |
4877 | ||
4878 | * libgcc-std.ver (__addvsi3, __addvdi3, __subvsi3, __subvdi3, | |
b8dad04b ZW |
4879 | __mulvsi3, __negvsi2, __negvdi2, __absvsi2, __absvdi2, __mulvdi3): |
4880 | New functions. | |
ae4bd622 | 4881 | |
3e555c7d AO |
4882 | 2000-10-22 Alexandre Oliva <aoliva@redhat.com> |
4883 | ||
4884 | * calls.c (combine_pending_stack_adjustment_and_call): Don't | |
4885 | adjust stack when unadjusted_alignment ends up as zero. | |
4886 | ||
99bdaa68 JM |
4887 | 2000-10-22 Joseph S. Myers <jsm28@cam.ac.uk> |
4888 | ||
4889 | * fixinc/genfixes: Remove EGCS reference. | |
4890 | * install.texi: Remove EGCS reference. | |
4891 | * INSTALL: Regenerate. | |
4892 | ||
e36308b0 MM |
4893 | 2000-10-22 Mark Mitchell <mark@codesourcery.com> |
4894 | ||
4895 | * tree.h (TYPE_IS_SIZETYPE): Add more documentation. | |
4896 | ||
bf6eb15f JM |
4897 | 2000-10-21 Joseph S. Myers <jsm28@cam.ac.uk> |
4898 | ||
4899 | * diagnostic.c: Remove EGCS reference in comment. | |
4900 | ||
e62ff0c3 RK |
4901 | Sat Oct 21 08:24:25 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
4902 | ||
4903 | * loop.c (strength_reduce): Fix error in last change. | |
4904 | ||
0ad7574f DE |
4905 | 2000-10-20 David Edelsohn <edelsohn@gnu.org> |
4906 | ||
4907 | * Makefile.in (SHLIB_NM_FLAGS): New. | |
4908 | (libgcc.mk): Pass it. | |
4909 | * mklibgcc.in (libgcc.map): Use it. | |
4910 | ||
4911 | * rs6000/t-aix43 (SHLIB_EXT, SHLIB_LINK, SHLIB_LIBS, | |
4912 | SHLIB_MKMAP, SHLIB_MAPFILES, SHLIB_NM_FLAGS): New. | |
4913 | ||
8f54374e KG |
4914 | 2000-10-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4915 | ||
4916 | * mips.h (REG_CLASS_FROM_LETTER): Cast array arg to unsigned char. | |
4917 | ||
4918 | * sparc.c (load_pic_register): Delete unused varaible. | |
4919 | ||
4920 | * libgcc2.c (__addvsi3): Delete unused variable. | |
4921 | ||
4922 | * libgcc2.h (__absvsi2, __absvdi2, __addvsi3, __addvdi3, | |
4923 | __subvsi3, __subvdi3, __mulvsi3, __mulvdi3, __negvsi2, | |
4924 | __negvdi2): Prototype. | |
4925 | ||
4926 | * ssa.c (apply_delayed_renames): Avoid undefined operation. | |
4927 | ||
4928 | * toplev.c (display_target_options): Make static to match | |
4929 | prototype. Delete empty declaration. | |
4930 | ||
3f568531 TT |
4931 | 2000-10-20 Tom Tromey <tromey@cygnus.com> |
4932 | ||
4933 | * cppspec.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Added -MF and -MT. | |
4934 | * gcc.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Added -MF and -MT. | |
4935 | ||
235783d1 RK |
4936 | Fri Oct 20 17:05:49 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
4937 | ||
4938 | * expr.c (expand_expr, case SAVE_EXPR): Set RTX_UNCHANGING_P on | |
4939 | returned MEM. | |
4940 | (expand_expr_unaligned, case ARRAY_REF): Check that index is | |
4941 | a constant before comparing it; use tree_low_cst. | |
4942 | * tree.c (save_expr): Set TREE_READONLY. | |
4943 | (substitute_expr): Return inside of NON_LVALUE_EXPR. | |
4944 | (build, build1): Set TREE_READONLY if all operands are. | |
4945 | (build_index_type): If upper bound is a negative number, lower | |
4946 | bound is zero and sizetype is unsigned, use upper bound of one and | |
4947 | lower of zero. | |
4948 | ||
2e44948d DE |
4949 | 2000-10-20 David Edelsohn <edelsohn@gnu.org> |
4950 | ||
4951 | * gcc.c (process_command, main): Use "because" instead of | |
4952 | "since" in error messages. | |
4953 | ||
44475138 RK |
4954 | Fri Oct 20 13:33:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
4955 | ||
382110c0 RK |
4956 | * stor-layout.c (compute_record_mode): Use tree_low_cst. |
4957 | Don't use mode of field for record unless sizes are the same. | |
4958 | (layout_type, case ARRAY_TYPE): Remove special bounds handling | |
4959 | previously added for Ada; also change to using host_integerp | |
4960 | and tree_low_cst. | |
4961 | ||
1dcdb0df RK |
4962 | * loop.c (strength_reduce): Show when new register made for |
4963 | giv is known to be a pointer and its aligment if so and known. | |
4964 | (loop_dump_aux): Show VERBOSE parameter unused. | |
4965 | ||
ebb13e7e RK |
4966 | * gcse.c (set_hash_table_size): Now unsigned. |
4967 | * sdbout.c (template_name_p): Add "const" to avoid warnings. | |
4968 | (sdbout_record_type_name, plain_type_1, sdbout_symbol): Likewise. | |
4969 | (sdbout_one_type, sdbout_parms, sdbout_reg_parms): Likewise. | |
4970 | (sdbout_end_epilogue): Remove variable NAME. | |
4971 | * system.h (getopt): Add default definition. | |
4972 | * config/alpha/alpha.c (print_operand): Don't continue processing | |
4973 | after issuing error. | |
4974 | (summarize_insn): Avoid use of UL in constant. | |
4975 | ||
1468899d RK |
4976 | * function.c (locate_and_pad_parm): Use host_integerp and tree_low_cst. |
4977 | ||
44475138 RK |
4978 | * fold-const.c (force_fit_type): Unsigned values can overflow |
4979 | if they are sizetype. | |
4980 | (int_const_binop): Don't use cache if overflows. | |
391db8c9 | 4981 | |
23ccfa6d RH |
4982 | 2000-10-20 Richard Henderson <rth@cygnus.com> |
4983 | ||
4984 | * function.c (locate_and_pad_parm): Zero alignment_pad. | |
4985 | ||
4ca0f257 RH |
4986 | * regrename.c (rr_replace_reg): Rewrite to use recog_data to |
4987 | perform substitutions, and apply_change_group to see if it worked. | |
4988 | ||
0345195a RK |
4989 | Fri Oct 20 13:33:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
4990 | ||
d57e164f RK |
4991 | * dwarf2out.c (add_bound_info): Also ignore COND_EXPR. |
4992 | ||
0345195a RK |
4993 | * combine.c (struct undo): Change int to unsigned int. |
4994 | (do_SUBST_INT): Args are unsigned int. | |
4995 | (make_extraction, force_to_mode): Use proper type when forming mask. | |
4996 | (make_field_assignment): Likewise. | |
4997 | ||
2f74f7e9 JM |
4998 | 2000-10-20 Joseph S. Myers <jsm28@cam.ac.uk> |
4999 | ||
5000 | * c-common.c (check_format_info_recurse): Extract string constant | |
5001 | initializers from non-volatile constant arrays and check them as | |
5002 | formats. | |
5003 | * c-typeck.c (decl_constant_value): Don't check pedantic or check | |
5004 | for DECL_MODE (decl) != BLKmode. | |
5005 | (decl_constant_value_for_broken_optimization): New function which | |
5006 | includes these checks. | |
5007 | (default_conversion, convert_for_assignment, digest_init): Use | |
5008 | decl_constant_value_for_broken_optimization instead of | |
5009 | decl_constant_value. | |
5010 | ||
971774bb MM |
5011 | 2000-10-20 Mark Mitchell <mark@codesourcery.com> |
5012 | ||
5013 | * tree.h (DECL_ALIGN_UNIT): New macro. | |
5014 | ||
afee2a52 MM |
5015 | 2000-10-14 Marek Michalkiewicz <marekm@linux.org.pl> |
5016 | ||
5017 | * config/avr/avr-protos.h (avr_output_bld): New. | |
5018 | (out_shift_with_cnt): Add t_len argument. | |
5019 | * config/avr/avr.c (avr_num_arg_regs): Remove -mpack-args. | |
5020 | (output_movqi, output_movhi, output_movsisf): Optimize loading | |
5021 | any constant with exactly one bit set to NO_LD_REGS. | |
5022 | (out_shift_with_cnt): Optimize output code for size or speed, | |
5023 | depending on optimize_size. Handle small shift counts as well | |
5024 | (if not hand-optimized in ?sh??i3_out). Shifts can be done | |
5025 | with or without a scratch register, with help of __tmp_reg__ | |
5026 | or __zero_reg__ if necessary. Add T_LEN argument to pass the | |
5027 | length of TEMPLATE in words, return total insn length in *LEN. | |
5028 | (ashlqi3_out, ashrqi3_out, lshrqi3_out): Change all calls to | |
5029 | out_shift_with_cnt to work with the above change. | |
5030 | (ashlhi3_out, ashlsi3_out, ashrhi3_out, ashrsi3_out, lshrhi3_out, | |
5031 | lshrsi3_out): Likewise. Optimize more known shift count cases. | |
5032 | Remove cases already well optimized in out_shift_with_cnt. | |
5033 | (avr_output_bld): New function. | |
5034 | * config/avr/avr.h (MASK_PACK_ARGS, TARGET_PACK_ARGS): Remove. | |
5035 | (TARGET_SWITCHES): Remove -mpack-args backward compatibility. | |
5036 | * config/avr/avr.md (*reload_inqi, *reload_inhi, *reload_insi): | |
5037 | Add reload_completed to insn condition - only for peepholes. | |
5038 | (ashlqi3, ashrqi3, lshrqi3): Correct insn length for shift counts | |
5039 | in a register or memory. | |
5040 | (ashlhi3, ashlsi3, ashrhi3, ashrsi3, lshrhi3, lshrsi3): Likewise. | |
5041 | Do not require a scratch register. | |
5042 | (*ashlhi3_const, *ashlsi3_const, *ashrhi3_const, *ashrsi3_const, | |
5043 | *lshrhi3_const, *lshrsi3_const): New insns and matching peepholes. | |
5044 | Optimize shifts by known count using a scratch register, but only | |
5045 | if one is still available after register allocation. | |
5046 | ||
831f9339 | 5047 | 2000-10-20 J. David Anglin <dave@hiauly1.hia.nrc.ca> |
b8dad04b | 5048 | |
831f9339 DA |
5049 | * t-vax: New file. Don't build modules from libgcc1.c. |
5050 | ||
bf6d9fd7 JW |
5051 | Fri Oct 20 00:57:00 EDT 2000 John Wehle (john@feith.com) |
5052 | ||
5053 | * alias.c: (mark_constant_function): Don't check pure functions. | |
5054 | Initialize and end alias analysis. | |
5055 | (nonlocal_mentioned_p): Rename from nonlocal_reference_p. | |
5056 | Don't make a special exception for recursion. Handle | |
5057 | UNSPEC_VOLATILE. Don't assume ASM_OPERANDS is non-local | |
5058 | unless it's volatile. | |
5059 | ||
5060 | * local-alloc.c (equivalence): New structure. | |
5061 | (reg_equiv): Define. | |
5062 | (contains_replace_regs): Remove array and use | |
5063 | field in reg_equiv. | |
5064 | (memref_referenced_p): Likewise. | |
5065 | (no_equiv): Likewise. | |
5066 | (update_equiv_regs): Likewise. | |
5067 | ||
5068 | (equiv_init_varies_p, | |
5069 | equiv_init_movable_p): New functions. | |
5070 | (update_equiv_regs): Use them. Use rtx_varies_p | |
5071 | instead of function_invariant_p. Process insns | |
5072 | from end to beginning. Allow a REG_EQUIV insn | |
5073 | within the same loop as a use to be moved, also | |
5074 | allow it to be moved out of a loop. Update | |
5075 | REG_DEAD notes when substituting into an insn. | |
5076 | ||
ef375129 JW |
5077 | 2000-10-19 Jim Wilson <wilson@cygnus.com> |
5078 | ||
f4fce7ed JW |
5079 | * c-decl.c (start_decl): Check for error_mark_node type before using |
5080 | COMPLETE_TYPE_P. | |
5081 | (finish_decl): Likewise. Don't give an error if decl type is | |
5082 | already error_mark_node. | |
5083 | ||
ef375129 JW |
5084 | * haifa-sched.c (compute_trg_info): Add explanatory comments. |
5085 | New local update_blocks. Use update_blocks to remove duplicates | |
5086 | when computing update blocks. Check for bblst_table overflow. | |
5087 | (schedule_block): Add explanatory comment. Reduce bblst_size by | |
5088 | factor of 2. | |
5089 | * config/ia64/ia64.md (movdi_symbolic): Document loss of REG_LABEL | |
5090 | notes. | |
b8dad04b | 5091 | |
3cf37281 CC |
5092 | 2000-10-19 Chandrakala Chavva <cchavva@redhat.com> |
5093 | ||
5094 | * libgcc2.c (_mulvsi3): Change variables u and v to a and b. | |
5095 | ||
e6b4d09d CC |
5096 | 2000-10-19 Chandrakala Chavva <cchavva@redhat.com> |
5097 | ||
5098 | * expmed.c: Minor corrections in comments. | |
5099 | * invoke.texi: Added desciption for the new option -ftrapv. | |
5100 | ||
3d2adde6 CC |
5101 | 2000-10-19 Chandrakala Chavva <cchavva@redhat.com> |
5102 | ||
5103 | * libgcc2.c: Added the missing #endif. | |
5104 | ||
1aa9fd24 JH |
5105 | Thu Oct 19 14:25:11 MET DST 2000 Jan Hubicka <jh@suse.cz> |
5106 | ||
5107 | * i386.h (CONST_OK_FOR_LETTER): Re-add 'N'; document. | |
5108 | ||
91ce572a CC |
5109 | 2000-10-18 Chandrakala Chavva <cchavva@redhat.com> |
5110 | ||
b8dad04b ZW |
5111 | * expmed.c (expand_mult): Don't do synth_mult optimization for -ftrapv. |
5112 | Use smulv_optab for -ftrapv. | |
5113 | (expand_mult_highpart): Use unsigned multiply. | |
5114 | (expand_divmod): Special-case division by -1. | |
5115 | For EXACT_DIV_EXPR, do right shift first, then the multiply. | |
5116 | For complex divide, use abs with unsigned result. | |
5117 | * expr.c (force_operand): Use unsigned multiply. | |
5118 | (expand_expr): Use overflow-trapping optabs for signed types if | |
5119 | flag_trapv. | |
5120 | If flag_trapv, don't generate a recursive call with EXPAND_SUM | |
5121 | if the type is signed and the original call wasn't EXPAND_SUM or | |
5122 | EXPAND_INITIALIZER. | |
5123 | * expr.h (addv_optab, subv_optab, smulv_optab, sdivv_optab): Declare. | |
5124 | (negv_optab, absv_optab): Declare. | |
5125 | * flags.h (flag_trapv): Declare. | |
5126 | * genopinit.c (optabs): Add entries for addv_optab, subv_optab, | |
5127 | smulv_optab, sdivv_optab, negv_optab and absv_optab. | |
91ce572a | 5128 | (gen_insn): Interpret '$P' as requiring an integer mode, |
b8dad04b ZW |
5129 | including partial integer modes. |
5130 | * loop.c (emit_iv_add_mult): Use unsigned expand_mult_add. | |
5131 | (product_cheap_p): Use unsigned expand_mult. | |
5132 | * optabs.c (addv_optab, subv_optab, smulv_optab, sdivv_optab): Define. | |
5133 | (negv_optab, absv_optab): Define. | |
5134 | (expand_binop): Use overflow-trapping optabs for signed types if | |
5135 | flag_trapv. | |
5136 | Handle negv_optab libe neg_optab. | |
5137 | (expand_abs): Take result_unsignedp argument instead of unsignedp one. | |
5138 | Use overflow-trapping optabs for signed result if flag_trapv. | |
5139 | (expand_complex_abs): Use overflow-trapping optabs for signed types if | |
5140 | flag_trapv. | |
5141 | Don't open-code complex absolute-value operation for flag_trapv. | |
5142 | (init_optabs): Initialize addv_optab, subv_optab, smulv_optab, | |
5143 | sdivv_optab, negv_optab and absv_optab. | |
5144 | * toplev.c (flag_trapv): Define. | |
5145 | (lang_independent_options f_options): Include flag_trapv. | |
5146 | * tree.h (TYPE_TRAP_SIGNED): Define. | |
5147 | * libgcc2.c (__addvsi3, __addvdi3, __subvsi3,__subvsi3, __subvdi3, | |
5148 | __mulvsi3, __negvsi2, __negvdi2, __absvsi2, __absvdi2, __mulvdi3): | |
5149 | New functions. | |
5150 | * Makefile.in: add _absvsi2 _absvdi2 _addvsi3 _addvdi3 _subvsi3 | |
5151 | _subvdi3 _mulvsi3 _mulvdi3 _negvsi2 _negvdi2. | |
91ce572a | 5152 | |
4c2c5712 GK |
5153 | 2000-10-18 Geoffrey Keating <geoffk@cygnus.com> |
5154 | David V. Henkel-Wallace <gumby@cygnus.com> | |
5155 | ||
5156 | * config/i386/t-netware: Bring in from the Red Hat tree. | |
5157 | * config/i386/netware.h: Likewise. | |
5158 | * config/netware.h: Likewise. | |
5159 | * config/rs6000/netware.h: Delete. | |
5160 | * configure.in: Add i[34567]86-*-netware. | |
5161 | * configure: Hand-edit to match configure.in change. | |
5162 | ||
6bcedb4e MM |
5163 | 2000-10-18 Mark Mitchell <mark@codesourcery.com> |
5164 | ||
5165 | * c-common.h (flag_no_builtin): Declare. | |
5166 | (flag_no_nonansi_builtin): Likewise. | |
5167 | (c_common_nodes_and_builtins): Change prototype. | |
5168 | * c-common.c (flag_no_builtin): New variable. | |
5169 | (flag_no_nonansi_builtin): Likewise. | |
5170 | (c_common_nodes_and_builtins): Remove parameters. Adjust | |
5171 | accordingly. | |
5172 | * c-decl.c (flag_no_builtin): Remove. | |
5173 | (flag_no_nonansi_builtin): Likewise. | |
5174 | (init_decl_processing): Adjust call to | |
5175 | c_common_nodes_and_builtins. | |
b8dad04b | 5176 | |
989b26a7 ME |
5177 | 2000-10-18 Marc Espie <espie@openbsd.org> |
5178 | ||
5179 | * tm.texi (LIBGCC_SPEC): Synch with reality. | |
5180 | ||
81cf47b2 JM |
5181 | 2000-10-18 Joseph S. Myers <jsm28@cam.ac.uk> |
5182 | ||
5183 | * c-common.c (check_format_types): Check for writing through a | |
5184 | NULL pointer argument. | |
5185 | ||
27c35f4b HPN |
5186 | 2000-10-18 Hans-Peter Nilsson <hp@axis.com> |
5187 | ||
5188 | * tm.texi (Exception Region Output): Document | |
5189 | DWARF_CIE_DATA_ALIGNMENT. | |
5190 | * dwarf2out.c (DWARF_CIE_DATA_ALIGNMENT): Wrap definition in | |
5191 | #ifndef. | |
5192 | [ENABLE_CHECKING] (reg_save): Abort if offset is not a multiple of | |
5193 | DWARF_CIE_DATA_ALIGNMENT. | |
5194 | ||
4a7da9b5 MH |
5195 | 2000-10-18 Michael Hayes <mhayes@cygnus.com> |
5196 | ||
5197 | * basic-block.h (struct loop): Delete fields pre_header_root | |
5198 | and pre_header_trace and replace with pre_header_edges | |
5199 | and num_pre_header_edges. | |
5200 | * flow.c (flow_loop_dump): Dump pre_header_edges. | |
5201 | (flow_loops_free): Free pre_header_edges. | |
5202 | (flow_loop_pre_header_scan): Calculate pre_header_edges. | |
5203 | ||
42c10750 GP |
5204 | 2000-10-18 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
5205 | ||
5206 | * contrib.texi: Update references to steering committee members | |
5207 | and Jeff Law's entry. | |
5208 | ||
ade7d3cc JM |
5209 | 2000-10-18 Joseph S. Myers <jsm28@cam.ac.uk> |
5210 | ||
5211 | * c-common.c (CPLUSPLUS_STD_VER, C_STD_VER, C_STD_NAME): Define. | |
5212 | (maybe_read_dollar_number, check_format_info_main): Use them for | |
5213 | pedantic warning messages. | |
5214 | ||
c5251260 JM |
5215 | 2000-10-18 Joseph S. Myers <jsm28@cam.ac.uk> |
5216 | ||
5217 | * c-common.c (check_format_info_main): Minor cleanup: move | |
5218 | variables into inner scopes; initialize declarations where | |
5219 | appropriate; don't hardcode "scanf" name on warning for zero | |
5220 | width. | |
5221 | ||
67673f5c MM |
5222 | 2000-10-17 Mark Mitchell <mark@codesourcery.com> |
5223 | ||
5224 | * c-common.c (back_end_hook): New variable. | |
5225 | * c-common.h (back_end_hook): Declare it. | |
5226 | * c-lang.c (finish_file): Use it. | |
5227 | ||
5228 | * emit-rtl.c (init_emit_once): Initialize the const_int_htab | |
5229 | earlier. | |
b8dad04b | 5230 | |
1aa9fd24 | 5231 | 2000-10-18 Jan Hubicka <jh@suse.cz> |
265dab10 | 5232 | |
b8dad04b ZW |
5233 | * i386.c (ix86_comparison_operator, put_condition_code, |
5234 | ix86_match_ccmode, ix86_cc_mode): Handle CCRCmode. | |
5235 | (ix86_expand_strlensi_unroll_1): Use CCRCmode. | |
5236 | * i386.h (EXTRA_CC_MODES): Add CCRCmode. | |
5237 | * i386.md (adddi and negdi splitter): Use CCRCmode. | |
5238 | (add?i_3, add?i_4, add?i_5): Use CCRCmode; swap operands | |
5239 | (subsi3_carry): add '*' | |
5240 | (addsi3_carry_rc, subsi3_carry_rc, x86_movsicc_0_m1_rc): New. | |
5241 | (cmp to add peep2): Use CCRCmode; swap operands. | |
265dab10 | 5242 | |
b054460b KH |
5243 | 2000-10-18 Kazu Hirata <kazu@hxi.com> |
5244 | ||
8682223f KH |
5245 | * h8300.c: Fix a comment typo. |
5246 | (round_frame_size): New. | |
5247 | (compute_saved_regs): Likewise. | |
5248 | (push): Likewise. | |
5249 | (pop): Likewise. | |
5250 | (push_order): Remove. | |
5251 | (pop_order): Likewise. | |
5252 | (function_prologue): Rearrange code for readability. | |
5253 | (function_epilogue): Likewise. | |
5254 | ||
b054460b KH |
5255 | * config/h8300/h8300.md: Remove an unnecessary sign_extend |
5256 | expander that is used when not optimizing. Output a tab after | |
5257 | each assembly insns. | |
5258 | ||
f27e6bb2 KH |
5259 | * reorg.c: Fix formatting. |
5260 | ||
19ca869b JR |
5261 | 2000-10-17 Joern Rennecke <amylaar@redhat.co.uk> |
5262 | ||
5263 | * reload1.c (move2add_note_store): Check for simple | |
5264 | auto-inc in destination. | |
5265 | ||
2ddb1ca1 MC |
5266 | 2000-10-17 Michael Chastain <chastain@redhat.com> |
5267 | ||
5268 | * config/i386/i386-aout.h: define INT_ASM_OP. | |
5269 | ||
11881f37 AM |
5270 | Tue Oct 17 20:11:08 2000 Alan Modra <alan@linuxcare.com.au> |
5271 | ||
5272 | * pa.c (print_operand): Handle case 'c' for .vtable_inherit | |
5273 | ||
33e39e38 MB |
5274 | Tue Oct 17 20:05:51 2000 Martin Buchholz <martin@xemacs.org> |
5275 | ||
5276 | * i370.md: Fix spelling typo. | |
5277 | ||
832ea3b3 FS |
5278 | 2000-10-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
5279 | ||
5280 | * function.c (locate_and_pad_parm): Don't align stack unconditionally. | |
2b7fb034 | 5281 | Fixes execute/20001017-1.c on powerpc-linux-gnu. |
832ea3b3 FS |
5282 | |
5283 | * expr.c (store_constructor): Apply MEM_ALIAS_SET to MEMs only. | |
2b7fb034 | 5284 | * rs6000/rs6000.c (rs6000_hash_constant): Use X0INT to access a |
832ea3b3 FS |
5285 | LABEL_REF. |
5286 | ||
5287 | * rs6000/rs6000.h (NO_DOLLAR_IN_LABEL, DOLLARS_IN_IDENTIFIERS, | |
5288 | ENCODE_SECTION_INFO, ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Move from | |
5289 | here... | |
5290 | * rs6000/aix.h: ...to here. | |
5291 | * rs6000/linux.h (ASM_APP_ON, ASM_APP_OFF): Define to Linux-style. | |
5292 | ||
4c646291 JJ |
5293 | 2000-10-17 Jakub Jelinek <jakub@redhat.com> |
5294 | ||
5295 | * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Reload gp if needed. | |
5296 | ||
5297 | * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Always use call, make | |
5298 | sure linker can relax even the delay slot mov %g1,%o7, fix output | |
5299 | formating. | |
5300 | ||
07e0fe3d KH |
5301 | 2000-10-17 Kazu Hirata <kazu@hxi.com> |
5302 | ||
5303 | * config/h8300/h8300.md: Remove an unnecessary zero_extend | |
5304 | expander that is used when not optimizing. Output a tab after | |
5305 | each assembly insns. | |
5306 | ||
10501d8f CC |
5307 | 2000-10-17 Chandrakala Chavva <cchavva@redhat.com> |
5308 | ||
5309 | * gcc.c: New options --target-help. | |
5310 | (process_command): Added code to parse this new option. | |
5311 | * toplev.c (display_target_options): New function to support the | |
5312 | above new option. | |
5313 | * cppinit.c (new_pending_directive) : New option OPT_target__help. | |
5314 | (cpp_handle_option): Support this new option. | |
5315 | * invoke.texi: Added notes about --target-help option. | |
b8dad04b | 5316 | |
c330e9c1 | 5317 | 2000-10-17 Graham Stott <grahams@redhat.com> |
b8dad04b | 5318 | |
c330e9c1 GS |
5319 | * config/i386/i386.md (testqi_1): Add missing operand prefix |
5320 | for operand 0. | |
5321 | * config/i386/i386-protos.h: Add missing prototype. | |
b8dad04b | 5322 | |
69ac4831 DN |
5323 | 2000-10-17 Diego Novillo <dnovillo@cygnus.com> |
5324 | ||
5325 | * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Symbol | |
5326 | _GLOBAL_OFFSET_TABLE should not have a $ prefix when | |
5327 | using -mintel-syntax. | |
5328 | ||
b691cb00 JM |
5329 | 2000-10-17 Joseph S. Myers <jsm28@cam.ac.uk> |
5330 | ||
5331 | * c-common.c (FMT_FLAG_DOLLAR_MULTIPLE): Define. | |
5332 | (format_types): Use it for printf. | |
5333 | (maybe_read_dollar_number): Add parameter for the kind of format | |
5334 | involved. Warn for multiple use for arguments if this is | |
5335 | inappropriate for the kind of format involved. | |
5336 | (check_format_info_main): Update calls to maybe_read_dollar_number. | |
5337 | ||
948eab23 DA |
5338 | 2000-10-17 J. David Anglin <dave@hiauly1.hia.nrc.ca> |
5339 | ||
5340 | * inclhack.def (hpux_maxint): Also apply fix to values.h. | |
5341 | * fixincl.x: Rebuilt. | |
5342 | ||
1651ab85 AO |
5343 | 2000-10-17 Alexandre Oliva <aoliva@redhat.com> |
5344 | ||
5345 | * genrecog.c (write_switch): Return the first condition that needs a | |
5346 | label. | |
5347 | ||
2683ed8d BS |
5348 | 2000-10-17 Bernd Schmidt <bernds@redhat.co.uk> |
5349 | ||
5350 | * c-tree.h (warn_sequence_point): Move declaration to... | |
5351 | * c-common.h (warn_sequence_point): ... here. | |
5352 | * c-decl.c (warn_sequence_point): Move definition to... | |
5353 | * c-common.c (warn_sequence_point): ... here. | |
5354 | (struct reverse_tree): New. | |
5355 | (reverse_list, reverse_max_depth): New static variables. | |
5356 | (build_reverse_tree, common_ancestor, modify_ok | |
5357 | verify_sequence_points): New functions. | |
5358 | (c_expand_expr_stmt): Call verify_sequence_points if -Wsequence-point. | |
5359 | * c-typeck.c (check_modify_expr): Delete. | |
5360 | (build_modify_expr): Don't call it. | |
5361 | ||
74ff4629 JM |
5362 | 2000-10-17 Joseph S. Myers <jsm28@cam.ac.uk> |
5363 | ||
5364 | * c-common.h (warn_missing_format_attribute): New variable. | |
5365 | * c-decl.c (warn_missing_format_attribute): New variable. | |
5366 | (c_decode_option): Decode -Wmissing-format-attribute and | |
5367 | -Wno-missing-format-attribute. | |
5368 | * c-common.c (check_function_format): If | |
5369 | -Wmissing-format-attribute, give a warning where a vprintf or | |
5370 | vscanf function is called by a function without its own printf or | |
5371 | scanf attribute. | |
5372 | * toplev.c (documented_lang_options): Add | |
5373 | -Wmissing-format-attribute. | |
5374 | * invoke.texi: Document -Wmissing-format-attribute. | |
5375 | ||
1d3b0e2c ME |
5376 | 2000-10-17 Marc Espie <espie@openbsd.org> |
5377 | ||
5378 | * invoke.texi (-shared): Insist on requiring code generation flags | |
5379 | to be used along with -shared, and document the subtle failure that | |
5380 | may occur otherwise. | |
5381 | ||
1c217171 DA |
5382 | 2000-10-16 J. David Anglin <dave@hiauly1.hia.nrc.ca> |
5383 | ||
5384 | * pa.md (return_internal): Move `use' after `return'. | |
5385 | ||
11f3dc89 TP |
5386 | 2000-10-16 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr> |
5387 | ||
5388 | * machmode.def: Correct comment. | |
5389 | ||
0952f89b RB |
5390 | 2000-10-16 Rodney Brown <RodneyBrown@mynd.com> |
5391 | ||
47c10e9b RB |
5392 | * print-rtl.c (print_rtx_head): Constify. |
5393 | * rtl.h (print_rtx_head): Similarly. | |
5394 | ||
0952f89b RB |
5395 | * config/pa/pa/pa-protos.h (output_64bit_and, output_64bit_ior): |
5396 | Constify char * return value. | |
5397 | * config/pa/pa/pa.c | |
5398 | (output_64bit_and, output_64bit_ior): Constify char * return value. | |
5399 | (pa_can_combine_p): Make static. | |
5400 | (function_arg): Decorate unused `named' argument. Fix comment typo. | |
5401 | (function_arg_partial_nregs): Decorate unused `named' argument. | |
5402 | ||
6d2e1454 JM |
5403 | 2000-10-16 Joseph S. Myers <jsm28@cam.ac.uk> |
5404 | ||
5405 | * c-common.c (format_check_results): New structure. | |
5406 | (finish_dollar_format_checking): Adjust to take a | |
5407 | format_check_results * parameter. | |
5408 | (check_format_info, check_format_info_recurse, | |
5409 | check_format_info_main): Split check_format_info into three | |
5410 | functions, the main checking going in check_format_info_main. | |
5411 | Recurse when any reduction of the format string argument towards a | |
5412 | string literal is done; go down both branches of a conditional | |
5413 | expression. Don't warn for extra format arguments or empty format | |
5414 | strings if they only occur in some branches of a conditional | |
5415 | expression. | |
5416 | ||
4d231df7 KH |
5417 | 2000-10-16 Kazu Hirata <kazu@hxi.com> |
5418 | ||
f2a9645f | 5419 | * config/h8300/h8300.c: Remove obstack. Include ggc.h. |
4d231df7 | 5420 | |
55143861 JJ |
5421 | 2000-10-16 Jakub Jelinek <jakub@redhat.com> |
5422 | ||
5423 | * rtlanal.c (may_trap_p): Check operand modes of COMPARE. | |
5424 | ||
406df25c DN |
5425 | 2000-10-15 Diego Novillo <dnovillo@cygnus.com> |
5426 | ||
5427 | * i386.md (*movsi_or): Switch operand order for intel syntax. | |
5428 | ||
e8beb821 JM |
5429 | 2000-10-14 Joseph S. Myers <jsm28@cam.ac.uk> |
5430 | ||
2f6256e7 JM |
5431 | * PROBLEMS: Remove. |
5432 | ||
e8beb821 JM |
5433 | * gcc.texi (Contributing): Update. |
5434 | ||
c1f9de5a DN |
5435 | 2000-10-13 Diego Novillo <dnovillo@cygnus.com> |
5436 | ||
5437 | * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Output final jump using | |
5438 | appropriate assembler dialect. | |
5439 | ||
f58e0b0c AO |
5440 | 2000-10-13 Alexandre Oliva <aoliva@redhat.com> |
5441 | ||
5442 | * c-common.c (c_expand_builtin): PARAMS-ize prototype. | |
5443 | ||
08f81276 MM |
5444 | 2000-10-12 Marek Michalkiewicz <marekm@linux.org.pl> |
5445 | ||
5446 | * config/avr/avr.c (output_movhi, output_movsisf): Fix loading | |
5447 | constants 1 and 2 to NO_LD_REGS. | |
5448 | ||
4b945402 KG |
5449 | 2000-10-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
5450 | ||
5451 | * Makefile.in (c-parse.c, tradcif.c): Create atomically. | |
b8dad04b | 5452 | |
4b945402 KG |
5453 | * objc/Make-lang.in (objc-parse.c): Likewise. |
5454 | ||
c7319d87 RE |
5455 | 2000-10-13 Richard Earnshaw <rearnsha@arm.com> |
5456 | ||
5457 | * arm.c: Include obstack.h | |
5458 | (minipool_obstack, minipool_startobj): Define. | |
5459 | (arm_add_gc_roots): Initialize them. | |
5460 | (create_fix_barrier): Use our new obstack. | |
5461 | (push_minipool_barrier, push_minipool_fix): Likewise. | |
5462 | (arm_reorg): Release obstack memory. | |
5463 | ||
fccf9848 JJ |
5464 | 2000-10-13 Jakub Jelinek <jakub@redhat.com> |
5465 | ||
5466 | * config/sparc/sparc.md (nonlocal_goto_receiver): Remove. | |
5467 | (prologue, exception_receiver, builtin_setjmp_receiver): New | |
5468 | patterns. | |
5469 | * config/sparc/sparc.h (FINALIZE_PIC): Remove. | |
5470 | * config/sparc/sparc-protos.h (finalize_pic): Remove. | |
5471 | (load_pic_register): New prototype. | |
5472 | * config/sparc/sparc.c (pic_setup_code): Remove. | |
5473 | (finalize_pic): Rename to... | |
5474 | (load_pic_register): ...this function. | |
5475 | Don't look for nonlocal_goto_receivers and emit pic setup code | |
5476 | directly. Don't check current_function_uses_pic_offset_table. | |
5477 | ||
7584b89f RE |
5478 | 2000-10-13 Richard Earnshaw <rearnsha@arm.com> |
5479 | ||
5480 | * tree.h (struct obstack): Declare. | |
5481 | ||
1f8f4a0b MM |
5482 | 2000-10-12 Mark Mitchell <mark@codesourcery.com> |
5483 | ||
b8dad04b | 5484 | Remove obstacks. |
1f8f4a0b | 5485 | * Makefile.in (ggc-callbacks.o): Remove target. |
b8dad04b | 5486 | (flow.o): Depend on GGC_H. |
1f8f4a0b MM |
5487 | * alias.c (init_alias_analysis): |
5488 | Remove ggc_p conditionals. | |
b8dad04b | 5489 | (end_alias_analysis): Likewise. |
1f8f4a0b | 5490 | * basic-block.h (init_flow): New function. |
b8dad04b | 5491 | (allocate_reg_life_data): Declare. |
1f8f4a0b MM |
5492 | * bb-reorder.c (function_obstack): Replace with ... |
5493 | (flow_obstack): ... new variable. | |
b8dad04b | 5494 | (fixup_reorder_chain): Use it. |
1f8f4a0b | 5495 | * c-decl.c (ggc_p): Remove. |
b8dad04b | 5496 | (caller-save.c): Don't call oballoc/obfree. |
1f8f4a0b MM |
5497 | * combine.c (struct |
5498 | undobuf): Remove storage. | |
5499 | (try_combine): Don't call oballoc. | |
b8dad04b | 5500 | (undo_all): Don't call obfree. |
1f8f4a0b MM |
5501 | * cse.c (insert): Use xmalloc, not |
5502 | oballoc. | |
b8dad04b | 5503 | (cse_main): Adjust accordingly. |
1f8f4a0b MM |
5504 | * dwarf2out.c (save_rtx): Remove |
5505 | obstack code. | |
b8dad04b | 5506 | (dwarf2out_init): Remove ggc_p conditionals. |
1f8f4a0b MM |
5507 | * emit-rtl.c (rtl_obstack): Remove. |
5508 | (gen_rtx_CONST_INT): Remove ggc_p conditionals. | |
5509 | (make_insn_raw): Likewise. | |
5510 | (emit_insn_before): Likewise. | |
5511 | (emit_insn_after): Likewise. | |
5512 | (emit_insn): Likewise. | |
5513 | (gen_sequence): Likewise. | |
5514 | (copy_insn_1): Remove handling of `b' RTL components. | |
b8dad04b | 5515 | (init_emit_once): Remove ggc_p conditionals. |
1f8f4a0b MM |
5516 | * except.c (create_rethrow_ref): Don't fool with obstacks. |
5517 | (add_partial_entry): Likewise. | |
5518 | (call_get_eh_context): Likewise. | |
5519 | (begin_protect_partials): Likewise. | |
b8dad04b | 5520 | (protect_with_terminate): Likewise. |
1f8f4a0b | 5521 | * explow.c |
b8dad04b | 5522 | (plus_constant_wide): Likewise. |
1f8f4a0b MM |
5523 | * expr.c (init_expr_once): |
5524 | Likewise. | |
5525 | (emit_block_move): Likewise. | |
5526 | (clear_storage): Likewise. | |
b8dad04b | 5527 | (expand_expr): Likewise. |
1f8f4a0b MM |
5528 | * flow.c (function_obstack): Remove. |
5529 | (flow_obstack): New variable. | |
5530 | (flow_firstobj): Likewise. | |
5531 | (create_base_block): Use the flow_obstack. | |
5532 | (split_block): Likewise. | |
5533 | (split_edge): Likewise. | |
5534 | (calculate_global_regs_live): Likewise. | |
5535 | (allocate_bb_life_data): Make it static. Likewiwse. | |
5536 | (init_flow): New function. | |
b8dad04b | 5537 | (size_int_type_wide): Remove ggc_p conditionals. |
1f8f4a0b MM |
5538 | * function.c |
5539 | (push_function_context_to): Don't call save_tree_status. | |
5540 | (pop_function_context_from): Or restore_tree_status. | |
5541 | (assign_stack_local_1): Don't call push_obstacks. | |
5542 | (find_fixup_replacement): Use xmalloc. | |
5543 | (fixup_var_refs_insns): Free the storage. | |
5544 | (insns_for_mem_walk): Don't mess with obstacks. | |
5545 | (instantiate_decls): Likewise. | |
5546 | (trampoline_address): Likewise. | |
b8dad04b | 5547 | (expand_function_end): Likewise. |
1f8f4a0b MM |
5548 | * function.h (sturct function): |
5549 | Remove obstack-related variables. | |
5550 | (save_tree_status): Don't declare. | |
b8dad04b | 5551 | (restore_tree_status): Likewise. |
1f8f4a0b | 5552 | * gcse.c (compute_can_copy): |
b8dad04b | 5553 | Don't call oballoc/obfree. |
1f8f4a0b MM |
5554 | * genattrtab.c (operate_exp): Remove |
5555 | ggc_p conditionals. | |
5556 | (simplify_cond): Likewise. | |
5557 | (simplify_test_exp): Don't mess with obstacks. | |
b8dad04b | 5558 | (optimize_attrs): Likewise. |
1f8f4a0b | 5559 | * gengenrtl.c (gendef): Don't include |
b8dad04b ZW |
5560 | ggc_p conditionals. |
5561 | * ggc-callbacks.c (ggc_p): Remove. | |
5562 | * ggc-none.c (ggc_p): Remove. | |
5563 | * ggc.h (ggc_p): Don't declare. | |
265dab10 | 5564 | * integrate.c (save_for_inline): Don't mess with obstacks. |
1f8f4a0b | 5565 | (integrate_decl_tree): Likewise. |
b8dad04b | 5566 | (output_inline_function): Likewise. |
1f8f4a0b | 5567 | * lists.c |
b8dad04b | 5568 | (init_EXPR_INSN_LIST_cache): Likewise. |
1f8f4a0b MM |
5569 | * loop.c (temp_obstack): |
5570 | Remove. | |
5571 | (rtl_obstack): Likewise. | |
5572 | (init_loop): Don't mess with obstacks. | |
5573 | (reg_address_cost): Free BIVs and GIVs. | |
5574 | (check_insns_for_bivs): Use xmalloc, not oballoc. | |
5575 | (find_mem_givs): Likewise. | |
5576 | (record_biv): Likewise. | |
5577 | (general_induction_var): Likewise. | |
b8dad04b | 5578 | (product_cheap_p): Likewse. |
1f8f4a0b | 5579 | * optabs.c (init_one_libfunc): Remove |
b8dad04b | 5580 | ggc_p conditional. |
1f8f4a0b MM |
5581 | * print-tree.c (debug_tree): Don't use |
5582 | oballoc/obfree. | |
b8dad04b | 5583 | (print_node): Likewise. |
1f8f4a0b | 5584 | * profile.c (output_func_start_profiler): |
b8dad04b | 5585 | Remove call to temporary_allocation. |
1f8f4a0b | 5586 | * reload1.c |
b8dad04b | 5587 | (eliminate_regs_in_insn): Don't mess with obstacks. |
1f8f4a0b MM |
5588 | * resource.c |
5589 | (mark_target_live_regs): Use xmalloc. | |
b8dad04b | 5590 | (free_resource_info): Free the memory. |
1f8f4a0b MM |
5591 | * rtl.c (rtl_obstack): |
5592 | Remove. | |
5593 | (rtvec_alloc): Don't mess with obstacks. | |
5594 | (rtx_alloc): Likewise. | |
5595 | (rtx_free): Remove. | |
5596 | (copy_rtx): Don't handle `b' cases. | |
b8dad04b | 5597 | (read_rtx): Use a local rtl_obstack. |
1f8f4a0b MM |
5598 | * rtl.h (oballoc): Remove. |
5599 | (obfree): Likewise. | |
5600 | (pop_obstacks): Likewise. | |
5601 | (push_obstacks): Likewise. | |
5602 | (allocate_bb_life_data): Likewise. | |
5603 | (allocate_reg_life_data): Likewise. | |
b8dad04b | 5604 | (rtx_free): Likewise. |
1f8f4a0b | 5605 | * sdbout.c (sdbout_queue_anonymous_type): |
b8dad04b | 5606 | Use tree_cons, not saveable_tree_cons. |
1f8f4a0b | 5607 | * simplify-rtx.c |
b8dad04b | 5608 | (cselib_init): Don't mess with obstacks. |
1f8f4a0b MM |
5609 | * stmt.c |
5610 | (mark_block_nesting): Mark the label_chain. | |
5611 | (epxand_label): Use ggc_alloc, not oballoc. | |
5612 | (clear_last_expr): Don't mess with obstacks. | |
5613 | (expand_decl_cleanup): Likewise. | |
5614 | (expand_dcc_cleanup): Likewise. | |
5615 | (expand_dhc_cleanup): Likewise. | |
5616 | (expand_anon_union_decl): Likewise. | |
5617 | (add_case_node): Use xmalloc, not oballoc. | |
5618 | (free_case_nodes): New function. | |
b8dad04b | 5619 | (expand_end_case): Call it. |
1f8f4a0b MM |
5620 | * stor-layout.c (layout_type): Don't |
5621 | mess with obstacks. | |
b8dad04b | 5622 | (layout_type): Likewise. |
1f8f4a0b MM |
5623 | * toplev.c (wrapup_global_declarations): |
5624 | Likewise. | |
5625 | (compile_file): Remove ggc_p conditionals. | |
5626 | (rest_of_compilation): Call init_flow. Remove ggc_p conditionals. | |
b8dad04b | 5627 | (decode_f_option): Remove ggc_p conditionals. |
1f8f4a0b MM |
5628 | * tree.c |
5629 | (function_maybepermanent_obstack): Remove. | |
5630 | (maybepermanent_obstack): Likewise. | |
5631 | (function_obstack): Likewise. | |
5632 | (tmeporary_obstack): Likewise. | |
5633 | (momentary_obstack): Likewise. | |
5634 | (temp_decl_obstack): Likewise. | |
5635 | (saveable_obstack): Likewise. | |
5636 | (rtl_obstack): Likewise. | |
5637 | (current_obstack): Likewise. | |
5638 | (expression_obstack): Likewise. | |
5639 | (struct obstack_stack): Likewise. | |
5640 | (obstack_stack): Likewise. | |
5641 | (obstack_stack_obstack): Likewise. | |
5642 | (maybepermanent_firstobj): Likewise. | |
5643 | (temporary_firstobj): Likewise. | |
5644 | (momentary_firstobj): Likewise. | |
5645 | (temp_decl_firstobj): Likewise. | |
5646 | (momentary_function_firstobj): Likewise. | |
5647 | (all_types_permanent): Likewise. | |
5648 | (struct momentary_level): Likewise. | |
5649 | (momentary_stack): Likewise. | |
5650 | (init_obstacks): Remove initialization of removed obstacks. | |
5651 | (save_tree_status): Remove. | |
5652 | (restore_tree_status): Likewise. | |
5653 | (temporary_allocation): Liekwise. | |
5654 | (end_temporary_allocation): Liekwise. | |
5655 | (resume_temporary_allocation): Likewise. | |
5656 | (saveable_allocation): Likewise. | |
5657 | (push_obstacks): Likewise. | |
5658 | (push_obstacks_nochange): Likewise. | |
5659 | (pop_obstacks): Likewise. | |
5660 | (allocation_temporary_p): Likewise. | |
5661 | (permanent_allocation): Likewise. | |
5662 | (preserve_data): Likewise. | |
5663 | (preserve_initializer): Likewise. | |
5664 | (rtl_in_current_obstack): Likewise. | |
5665 | (rtl_in_saveable_obstack): Likewise. | |
5666 | (oballoc): Likewise. | |
5667 | (obfree): Likewise. | |
5668 | (savealloc): Likewise. | |
5669 | (expralloc): Likewise. | |
5670 | (print_obstack_name): Likewise. | |
5671 | (debug_obstack): Likewise. | |
5672 | (object_permanent_p): Likewise. | |
5673 | (push_momentary): Likewise. | |
5674 | (perserve_momentary): Likewise. | |
5675 | (clear_momentary): Likewise. | |
5676 | (pop_momentary): Likewise. | |
5677 | (pop_momentary_nofree): Likewise. | |
5678 | (suspend_momentary): Likewise. | |
5679 | (resume_momentary): Likewise. | |
5680 | (make_node): Don't set TREE_PERMANENT. | |
5681 | (copy_node): Remove ggc_p conditionals. Don't set TYPE_OBSTACK. | |
5682 | Don't set TREE_PERMANENT. | |
5683 | (get_identifier): Remove ggc_p conditionals. | |
5684 | (build_string): Likewise. | |
5685 | (make_tree_vec): Likewise. | |
5686 | (build_decl_list): Remove. | |
5687 | (build_expr_list): Likewise. | |
5688 | (tree_cons): Remove ggc_p conditionals. | |
5689 | (decl_tree_cons): Remove. | |
5690 | (expr_tree_cons): Likewise. | |
5691 | (perm_tree_cons): Likewise. | |
5692 | (temp_tree_cons): Likewise. | |
5693 | (saveable_tree_cons): Likewise. | |
5694 | (build1): Remove ggc_p conditionals. | |
5695 | (build_parse_node): Likewise. | |
5696 | (build_type_attribute_variant): Don't mess with obstacks. | |
5697 | (build_type_copy): Likewise. | |
5698 | (type_hash_canon): Likewise. | |
5699 | (build_pointer_type): Likewise. | |
5700 | (build_reference_type): Likewise. | |
5701 | (build_index_type): Likewise. | |
5702 | (build_range_type): Likewise. | |
b8dad04b | 5703 | (dump_tree_statistics): Don't print obstack information. |
1f8f4a0b MM |
5704 | * tree.h |
5705 | (struct tree_common): Remove permanent_flag. | |
5706 | (TREE_PERMANENT): Remove. | |
5707 | (TREE_SET_PERMANENT): Likewise. | |
5708 | (TYPE_OBSTACK): Likewise. | |
5709 | (struct tree_type): Remove obstack. | |
5710 | (oballoc): Remove. | |
5711 | (savealloc): Likewise. | |
5712 | (build_decl_list): Likewise. | |
5713 | (build_expr_list): Likewise. | |
5714 | (perm_tree_cons): Likewise. | |
5715 | (temp_tree_cons): Likewise. | |
5716 | (saveable_tree_cons): Likewise. | |
5717 | (decl_tree_cons): Likewise. | |
5718 | (expr_tree_cons): Likewise. | |
5719 | (suspend_momentary): Likewise. | |
5720 | (allocation_temporary_p): Likewise. | |
5721 | (resume_momentary): Likewise. | |
5722 | (push_obstacks_nochange): Likewise. | |
5723 | (permanent_allocation): Likewise. | |
5724 | (push_momentary): Likewise. | |
5725 | (clear_momentary): Likewise. | |
5726 | (pop_momentary): Likewise. | |
5727 | (end_temporary_allocation): Likewise. | |
5728 | (pop_obstacks): Likewise. | |
5729 | (push_obstacks): Likewise. | |
5730 | (pop_momentary_nofree): LIkewise. | |
5731 | (preserve_momentary): Likewise. | |
5732 | (saveable_allocation): Likewise. | |
5733 | (temporary_allocation): Likewise. | |
5734 | (resume_temporary_allocation): Likewise. | |
5735 | (perserve_initializer): Likewise. | |
5736 | (debug_obstack): Likewise. | |
5737 | (rtl_in_current_obstack): Likewise. | |
5738 | (rtl_in_saveable_obstack): Likewise. | |
b8dad04b | 5739 | (obfree): Likewise. |
1f8f4a0b MM |
5740 | * varasm.c (current_obstack): Remove. |
5741 | (saveable_obstack): Remove. | |
5742 | (rtl_obstack): Remove. | |
5743 | (immed_double_const): Don't mess with obstacks. | |
5744 | (immed_real_cons): Likewise. | |
5745 | (output_constant_def): Likewise. | |
5746 | (init_varasm_status): Use xcalloc. | |
5747 | (mark_pool_constant): Mark the pool constant itself. | |
5748 | (free_varasm_status): Free memory. | |
5749 | (decode_rtx_const): Call bzero directly, rather than expanding it | |
5750 | inline. | |
5751 | (record_rtx_const): Don't mess with obstacks. | |
5752 | (force_const_mem): Likewise. | |
5753 | * config/arm/arm.c (arm_encode_call_attribute): Remove ggc_p | |
5754 | conditionals. | |
5755 | (aof_pic_entry): Likewise. | |
5756 | * config/ia64/ia64.c (ia64_encode_section_info): Likewise. | |
5757 | * config/m32r/m32r.c (m32r_encode_section_info): Likewise. | |
5758 | * config/pa/pa.c (saveable_obstack): Remove. | |
5759 | (rtl_obstack): Likewise. | |
5760 | (current_obstack): Likewise. | |
5761 | (output_call): Don't mess with obstacks. | |
5762 | (hppa_encode_label): Remove ggc_p conditionals. | |
5763 | * config/romp/romp.c (get_symref): Don't mess with obstacks. | |
5764 | * config/rs6000/rs6000.c (output_toc): Remove ggc_p conditional. | |
5765 | (rs6000_encode_section_info): Likewise. | |
5766 | * config/sh/sh.c (get_fpscr_rtx): Likewise. | |
b8dad04b | 5767 | |
9dcbdc7e JH |
5768 | Thu Oct 12 16:02:31 MET DST 2000 Jan Hubicka <jh@suse.cz> |
5769 | ||
5770 | * i386.md (adddi3, subdi3 splitters): Update for new pattern. | |
5771 | (addsi3_cc, addqi3_cc, subsi3_cc): Remove | |
5772 | (addsi3_carry): Canonicalize. | |
5773 | (addqi_5): Remove '*'. | |
5774 | (sbb pattern): Canonicalize. | |
5775 | ||
5776 | * i386.md (cmp to inc/add peep2): New. | |
5777 | ||
74490e05 RE |
5778 | 2000-10-12 Richard Earnshaw <rearnsha@arm.com> |
5779 | ||
5780 | * bb-reorder.c (reorder_basic_blocks): Allocate an aux block for | |
5781 | the exit block. | |
5782 | ||
bc87c1c8 JM |
5783 | 2000-10-12 Joseph S. Myers <jsm28@cam.ac.uk> |
5784 | ||
5785 | * gcc.texi: Merge in contents of README.TRAD and TESTS.FLUNK. | |
5786 | * README.TRAD, TESTS.FLUNK: Remove. | |
5787 | ||
9fa8f75d JM |
5788 | 2000-10-12 Joseph S. Myers <jsm28@cam.ac.uk> |
5789 | ||
5790 | * c-common.c (decl_attributes): Don't allow strftime formats with | |
5791 | first_arg_num nonzero. | |
5792 | (check_format_info): Set wanted_type and wanted_type_name to zero | |
5793 | before they are possibly assigned and used. | |
5794 | ||
4831bc84 JM |
5795 | 2000-10-12 Joseph S. Myers <jsm28@cam.ac.uk> |
5796 | ||
5797 | * c-common.c (scanf_flag_specs): Add flags ' and I. | |
5798 | (strftime_flag_pairs): Disallow any pair of the _, - and 0 flags, | |
5799 | or the ^ and # flags together. | |
5800 | (scan_char_table): Handle the ' and I flags. | |
5801 | (format_types): Add ' and I flags for scanf. | |
5802 | ||
2f7026a0 JM |
5803 | 2000-10-12 Joseph S. Myers <jsm28@cam.ac.uk> |
5804 | ||
5805 | * c-common.c (print_char_table): Use the unpromoted type for | |
5806 | lengths "h" and "hh" with conversions dioxXu. | |
5807 | (check_format_types): Apply the default argument promotions where | |
5808 | the wanted type is not a pointer target. | |
5809 | ||
bb58bec5 | 5810 | 2000-10-11 Michael Meeks <mmeeks@gnu.org> |
b8dad04b | 5811 | Joseph S. Myers <jsm28@cam.ac.uk> |
bb58bec5 JM |
5812 | |
5813 | * c-typeck.c (check_modify_expr): New function. | |
5814 | (build_modify_expr): Call it if warn_sequence_point. | |
5815 | * c-decl.c (warn_sequence_point): New variable. | |
5816 | (c_decode_option): Handle -Wsequence-point and | |
5817 | -Wno-sequence-point. Enable -Wsequence-point as part of -Wall. | |
5818 | * c-tree.h (warn_sequence_point): Declare. | |
5819 | * invoke.texi (-Wsequence-point): Document. | |
5820 | * toplev.c (documented_lang_options): Add -Wsequence-point and | |
5821 | -Wno-sequence-point. | |
5822 | Original work by Michael Meeks, 16 Jun 1998. | |
5823 | ||
0fba7208 RK |
5824 | Wed Oct 11 06:15:41 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
5825 | ||
5826 | * tree.c (get_narrower): Don't look at precision of field if | |
5827 | not laid out yet. | |
5828 | ||
67e570ea DC |
5829 | Tue Oct 10 23:14:33 2000 Denis Chertykov <denisc@overta.ru> |
5830 | ||
5831 | * config/avr/avr.c (valid_machine_decl_attribute): Allow `extern' | |
5832 | declaration for data with "progmem" attribute. | |
5833 | ||
80b8585d MM |
5834 | 2000-10-09 Marek Michalkiewicz <marekm@linux.org.pl> |
5835 | ||
5836 | * config/avr/avr.c (out_shift_with_cnt): Use AS2 macro. | |
5837 | Correct insn length if shift count is a memory operand. | |
5838 | * config/avr/avr.md: New define_peephole2 to use *reload_inqi. | |
5839 | (*iorhi3_clobber): Change lo8 to hi8. | |
5840 | (zero_extendhisi2): Change %B0 to %A1. | |
5841 | (ashlhi3, ashrhi3): Correct insn length. | |
5842 | (andhi3, abssf2, extendqisi2, extendhisi2): Change "cc" | |
5843 | from "clobber" to "set_n" in some alternatives. | |
5844 | ||
462561b7 JJ |
5845 | 2000-10-10 Jakub Jelinek <jakub@redhat.com> |
5846 | ||
5847 | * reload1.c (calculate_needs_all_insns): If deleting an instruction, | |
5848 | remove its insn_chain structure as well. | |
5849 | ||
0b8833aa DA |
5850 | 2000-10-09 J. David Anglin <dave@hiauly1.hia.nrc.ca> |
5851 | ||
5852 | * dbxout.c (dbxout_source_line): Remove extra tab. | |
5853 | ||
c690f089 HPN |
5854 | 2000-10-09 Hans-Peter Nilsson <hp@bitrange.com> |
5855 | ||
5856 | * config/elfos.h (UNIQUE_SECTION): Apply STRIP_NAME_ENCODING on name. | |
5857 | ||
1854631b RH |
5858 | 2000-10-09 Richard Henderson <rth@cygnus.com> |
5859 | ||
5860 | * Makefile.in (LANG_LIB2FUNCS): Remove. | |
5861 | (LIB2FUNCS): Remove _pure. | |
5862 | (LIB2ADD): Remove LANG_LIB2FUNCS. | |
5863 | (stage_a): Don't set LANG_LIB2FUNCS. | |
5864 | * libgcc2.c (__terminate): Mark noreturn. | |
5865 | (__pure_virtual): Remove. | |
5866 | * mklibgcc.in: Remove LIB2ADD .txt processing. | |
5867 | ||
880c4dcb RE |
5868 | 2000-10-09 Richard Earnshaw <rearnsha@arm.com> |
5869 | ||
5870 | * arm.md (push_multi): Revert unintended change. | |
5871 | ||
5895f793 RE |
5872 | 2000-10-09 Richard Earnshaw <rearnsha@arm.com> |
5873 | ||
b8dad04b | 5874 | * arm.c: Miscellaneous white space and comment clean-ups. No |
5895f793 RE |
5875 | functional change. |
5876 | * arm.md: Likewise. | |
5877 | ||
1092710d KG |
5878 | 2000-10-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
5879 | ||
5880 | * c-common.c (c_expand_builtin_printf): Set the TREE_TYPE of a new | |
5881 | STRING_CST by calling combine_strings. | |
5882 | ||
ca356f3a RE |
5883 | 2000-10-09 Richard Earnshaw <rearnsha@arm.com> |
5884 | ||
5885 | * arm.c (thumb_expand_movstrqi): Rewrite to support SSA form. | |
5886 | (thumb_output_move_mem_multiple): Support new insn format. | |
5887 | * arm.md (movmem12b): Use SSA compatible format. | |
5888 | (movmem8b): Likewise. | |
5889 | ||
cca0a211 RE |
5890 | 2000-10-09 Richard Earnshaw <rearnsha@arm.com> |
5891 | ||
5892 | * arm.md (predicable): New attribute, default to "no". | |
5893 | (all patterns): Mark as predicable if appropriate. | |
5894 | (conditional execution splits): Split using predication format. | |
5895 | (define_cond_exec): Define. | |
5896 | * arm.c (arm_print_operand): handle insn predicate. | |
b8dad04b | 5897 | |
1146cfde GP |
5898 | 2000-10-09 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
5899 | ||
5900 | * README.NS32K: Remove file. | |
5901 | ||
5902 | 2000-10-09 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> | |
5903 | ||
5904 | * README-bugs: Remove file. | |
5905 | ||
4d0230e1 PT |
5906 | 2000-10-08 Philipp Thomas <pthomas@suse.de> |
5907 | * aclocal.m4 (AM_GNU_GETTEXT): Fix non portable use of == operator | |
5908 | for test. | |
5909 | * configure: Rebuilt. | |
5910 | ||
9fdf713f PT |
5911 | 2000-10-08 Philipp Thomas <pthomas@suse.de> |
5912 | * aclocal.m4 (AM_WITH_NLS): When not using included gettext, | |
5913 | disable catalog building if no suitable program was found. | |
5914 | Move warning message from here | |
5915 | (AM_GNU_GETTEXT): To here. | |
5916 | * configure: Rebuilt. | |
5917 | ||
00036f5c PT |
5918 | 2000-10-08 Philipp Thomas <pthomas@suse.de> |
5919 | * aclocal.m4 (GCC_PATH_PROG): New. Like AC_PATH_PROG but uses | |
5920 | different cache variables. | |
5921 | (GCC_PATH_PROG_WITH_TEST): New. Like AM_PATH_PROG_WITH_TEST but | |
5922 | uses different cache variables. | |
5923 | (AM_WITH_NLS): Use GCC_PATH_PROG and GCC_PATH_PROG_WITH_TEST. | |
5924 | * configure: Regenerated. | |
b8dad04b | 5925 | |
aefa45d3 RH |
5926 | 2000-10-08 Richard Henderson <rth@cygnus.com> |
5927 | ||
5928 | * Makefile.in (libgcc.mk): Pass SHLIB_EXT, not SHLIB_LIBS. | |
5929 | * configure.in (sparc*-*-solaris*): Use t-slibgcc{,-sld}. | |
5930 | * mklibgcc.in: Consider SHLIB_LINK the entire shlib build command. | |
5931 | Use SHLIB_EXT. | |
5932 | ||
5933 | * config/t-linux (SHLIB_EXT): New. | |
5934 | (SHLIB_LINK): Use the entire build command, with substitutions. | |
5935 | (SHLIB_LIBS): Remove. | |
5936 | * config/alpha/t-osf4: Likewise. | |
5937 | * config/mips/t-iris6: Likewise. | |
5938 | * config/sparc/t-sol2: Likewise, but move shlib stuff... | |
5939 | * config/sparc/t-slibgcc-sld: ...here. | |
5940 | * config/sparc/t-slibgcc: New file. | |
5941 | ||
b15ad712 JM |
5942 | 2000-10-08 Joseph S. Myers <jsm28@cam.ac.uk> |
5943 | ||
5944 | * tm.texi (INTMAX_TYPE, UINTMAX_TYPE): Define. | |
5945 | * c-common.h (enum c_tree_index): Add CTI_INTMAX_TYPE and | |
5946 | CTI_UINTMAX_TYPE. | |
5947 | (intmax_type_node, uintmax_type_node): Define. | |
5948 | * c-common.c (decl_attributes): If pedantic, warn if `mode' | |
5949 | attributes create a type wider than intmax_t. | |
5950 | (T_IM, T_UIM): Define properly. | |
5951 | * c-decl.c (INTMAX_TYPE, UINTMAX_TYPE): Define if not already | |
5952 | defined. | |
5953 | (init_decl_processing): Initialize intmax_type_node and | |
5954 | uintmax_type_node. | |
5955 | * c-lex.c (lex_number): When pedantic and warning for integer | |
5956 | constants that are too large, in C99 mode warn for those that have | |
5957 | a type wider than long long. | |
5958 | ||
2588e44e JM |
5959 | 2000-10-08 Joseph S. Myers <jsm28@cam.ac.uk> |
5960 | ||
5961 | * c-common.c (FMT_FLAG_ARG_CONVERT, FMT_FLAG_SCANF_A_KLUDGE, | |
5962 | FMT_FLAG_FANCY_PERCENT_OK): Define. | |
5963 | (format_char_info): Add flag "4" to comment. | |
5964 | (format_flag_spec, format_flag_pair): New structures. | |
5965 | (format_kind_info): Add additional fields to control format | |
5966 | checking. | |
5967 | (printf_flag_specs, printf_flag_pairs, scanf_flag_specs, | |
5968 | scanf_flag_pairs, strftime_flag_specs, strftime_flag_pairs): New | |
5969 | arrays. | |
5970 | (time_char_table): Use "4" flag to handle %Ey. | |
5971 | (format_types): Add entries for new fields. | |
5972 | (get_flag_spec): New function. | |
5973 | (check_format_info): Increase size of flag_chars[] to 256. | |
5974 | Control format checking using the new fields of a format_kind_info | |
5975 | and the new tables; remove all conditionals on printf_format_type, | |
5976 | scanf_format_type or strftime_format_type. Handle all details of | |
5977 | bad combinations of flags (including width, precision and strftime | |
5978 | modifiers) through data rather than ad hoc code. Handle all | |
5979 | details of standard versions in which flags appeared through | |
5980 | data. Use the "4" flag. | |
5981 | ||
7b7de7c0 WC |
5982 | 2000-10-07 Will Cohen <wcohen@redhat.com>, Kazu Hirata <kazu@hxi.com> |
5983 | ||
5984 | * config/h8300/h8300.md: Remove the memory alternative and correct | |
5985 | the insn lengths in the templates for sign extention and zero | |
5986 | extention. | |
5987 | ||
9a1ba437 RH |
5988 | 2000-10-07 Richard Henderson <rth@cygnus.com> |
5989 | ||
5990 | * calls.c (expand_call): Disallow sibcalls to noreturn functions. | |
5991 | * flow.c (make_edges): Revert last change. | |
5992 | ||
5993 | * config/alpha/alpha.h (FUNCTION_OK_FOR_SIBCALL): Don't test | |
5994 | TREE_THIS_VOLATILE. | |
5995 | * config/pa/pa.h (FUNCTION_OK_FOR_SIBCALL): Likewise. | |
5996 | ||
d38d55b4 DB |
5997 | 2000-10-06 David O'Brien <obrien@dragon.nuxi.com> |
5998 | ||
5999 | * config/alpha/elf.h: Standardize the formatting. | |
6000 | ||
94984e91 DB |
6001 | 2000-10-06 David O'Brien <obrien@FreeBSD.org> |
6002 | ||
6003 | * config/alpha/elf.h: Protect the ASM_OUTPUT_IDENT definition with an | |
6004 | #undef. | |
6005 | ||
3e4eac3f RH |
6006 | 2000-10-06 Richard Henderson <rth@cygnus.com> |
6007 | ||
6008 | * function.c (diddle_return_value): Examine | |
6009 | current_function_return_rtx instead of the DECL_RESULT. | |
6010 | (expand_function_end): Handle reloading DECL_RESULT from memory | |
6011 | into a hard register. Query promote_mode for sign of mismatched | |
6012 | modes. | |
6013 | ||
4071f896 VM |
6014 | 2000-10-06 Vladimir Makarov <vmakarov@touchme.toronto.redhat.com> |
6015 | ||
6016 | * haifa-sched.c (schedule_insns): Fix typo in freeing | |
6017 | forward_dependency_cache. | |
6018 | ||
eb69f95c AO |
6019 | 2000-10-06 Alexandre Oliva <aoliva@redhat.com> |
6020 | ||
6021 | * config/sh/sh.md (calli_pcrel, call_valuei_pcrel): Add | |
6022 | `TARGET_SH2' as a condition. | |
6023 | ||
178b88b9 VM |
6024 | 2000-10-06 Vladimir Makarov <vmakarov@touchme.toronto.redhat.com> |
6025 | ||
6026 | * haifa-sched.c (anti_dependency_cache, output_dependency_cache, | |
6027 | forward_dependency_cache): New variables. | |
6028 | (add_dependence, remove_dependence): Use anti_dependency_cache and | |
6029 | output_dependency_cache. | |
6030 | (compute_block_forward_dependences): Use forward_dependency_cache. | |
6031 | (schedule_insns): Allocate and free memory for anti/output/forward | |
6032 | dependencies caches. | |
b8dad04b | 6033 | |
827bdee4 AO |
6034 | 2000-10-06 Alexandre Oliva <aoliva@redhat.com> |
6035 | ||
6036 | * config/sh/sh.md (call, call_value): Use `TARGET_SH2' instead of | |
6037 | `! TARGET_SH1'. Reindent. | |
6038 | ||
c70eaeaf KG |
6039 | 2000-10-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
6040 | ||
6041 | * builtins.c (is_valid_printf_arglist, expand_builtin_printf): | |
6042 | Move functions from here ... | |
6043 | ||
6044 | * c-common.c (is_valid_printf_arglist, c_expand_builtin_printf): | |
6045 | ... to here. | |
6046 | (c_expand_builtin): New function. | |
6047 | (init_function_format_info): Don't set `check_function_format_ptr'. | |
6048 | (c_common_nodes_and_builtins): Set built_in_class type for | |
6049 | printf/__builtin_printf to BUILT_IN_FRONTEND. | |
6050 | (c_expand_expr): Handle CALL_EXPRs that are front-end builtins. | |
6051 | ||
6052 | * c-common.h (build_function_call): Declare. | |
6053 | ||
6054 | * expr.c (expand_expr): Pass builtins with class BUILT_IN_FRONTEND | |
6055 | to `lang_expand_expr' rather than `expand_builtin'. | |
6056 | ||
6057 | * tree.c (check_function_format_ptr): Delete. | |
6058 | ||
6059 | * tree.h (check_function_format_ptr): Likewise. | |
6060 | ||
f299afab HPN |
6061 | 2000-10-06 Hans-Peter Nilsson <hp@bitrange.com> |
6062 | ||
6063 | * dwarf2out.c (build_cfa_loc): Correct to use DW_OP_regx or | |
6064 | DW_OP_bregx when cfa->reg > 31. | |
6065 | ||
6066 | * frame-dwarf2.c (decode_stack_op) [case DW_OP_regx]: Add missing | |
6067 | break. | |
6068 | ||
b313a0fe RH |
6069 | 2000-10-05 Richard Henderson <rth@cygnus.com> |
6070 | ||
6071 | * c-decl.c (warn_missing_noreturn): Remove. | |
6072 | (c_expand_body): Don't set or check can_reach_end. | |
6073 | * c-tree.h (warn_missing_noreturn): Move ... | |
6074 | * flags.h: ... here. | |
6075 | (can_reach_end): Remove. | |
6076 | * flow.c (check_function_return_warnings): New. | |
6077 | (make_edges): No edge to exit for noreturn sibcalls. | |
6078 | * function.c (expand_function_end): Save the return value | |
6079 | clobber instruction. | |
6080 | (mark_function_status): Mark it. | |
6081 | * function.h (struct function): Add x_clobber_return_insn. | |
6082 | * jump.c (can_reach_end): Remove. | |
6083 | (calculate_can_reach_end): Remove. | |
6084 | (jump_optimize_1): Don't call it. | |
6085 | * output.h (check_function_return_warnings): Declare. | |
6086 | * toplev.c (warn_missing_noreturn): Move from c-decl.c | |
6087 | (rest_of_compilation): Call check_function_return_warnings. | |
6088 | ||
83dad10c RH |
6089 | 2000-10-05 Richard Henderson <rth@cygnus.com> |
6090 | ||
6091 | * Makefile.in (NM_FOR_TARGET): New. | |
6092 | (libgcc.mk): Pass SHLIB_MKMAP, SHLIB_MAPFILES. | |
6093 | (libgcc.a, stmp-multilib): Pass NM_FOR_TARGET. | |
6094 | * mklibgcc.in: If SHLIB_MKMAP, build libgcc.map. Depend the | |
6095 | shared library build on that and EXTRA_MULTILIB_PARTS. | |
6096 | * mkmap-flat.awk: New file. | |
6097 | * mkmap-symver.awk: New file. | |
6098 | * libgcc-std.ver: New file. | |
6099 | * config/libgcc-glibc.ver: New file. | |
6100 | * config/ia64/libgcc-ia64.ver: New file. | |
6101 | * config/t-linux (SHLIB_MKMAP, SHLIB_MAPFILES): New. | |
6102 | (SHLIB_LINK): Add --version-script. | |
6103 | * config/ia64/t-ia64 (SHLIB_MAPFILES): Add libgcc-ia64.ver. | |
6104 | * config/mips/t-iris6 (SHLIB_MKMAP, SHLIB_MAPFILES): New. | |
6105 | * config/sparc/t-sol2 (SHLIB_MKMAP, SHLIB_MAPFILES): New. | |
6106 | (SHLIB_LINK): Add -M. | |
6107 | ||
d6eacd48 RH |
6108 | 2000-10-05 Richard Henderson <rth@cygnus.com> |
6109 | ||
6110 | * Makefile.in (LIB2FUNCS): Add _clz. | |
6111 | * libgcc2.c (__ffsdi2): Use count_trailing_zeros. | |
6112 | (__clz_tab): Put in its own unit, non-static. | |
6113 | * libgcc2.h: Always include longlong.h. | |
6114 | ||
29279975 RH |
6115 | * longlong.h [alpha] (count_leading_zeros): Use cmpbge with |
6116 | a zero instead of -1. | |
6117 | (count_trailing_zeros): Likewise. | |
6118 | ||
c74fa144 RH |
6119 | 2000-10-05 Richard Henderson <rth@cygnus.com> |
6120 | ||
6121 | * config/alpha/alpha.c (alpha_emit_setcc): Don't swap GT tests | |
6122 | when second op1 is const0_rtx. Validate op0 as a register. | |
6123 | * config/alpha/alpha.md (setcc_internal): Don't allow constants | |
6124 | in the first argument of the compare. | |
6125 | (setcc_swapped_internal): Likewise. | |
6126 | (setne_internal): Likewise. | |
6127 | ||
c5620996 GK |
6128 | 2000-10-05 Geoff Keating <geoffk@cygnus.com> |
6129 | ||
6130 | * tree.c (tree_size): New function split out of copy_node. | |
6131 | (make_node): Remove obstack handling. Use tree_size. | |
6132 | (copy_node): Use tree_size. | |
6133 | * tree.h: Prototype tree_size. | |
6134 | ||
331fe257 RH |
6135 | 2000-10-05 Richard Henderson <rth@cygnus.com> |
6136 | ||
6137 | * diagnostic.c (output_format): Add missing break. | |
6138 | ||
cc0cbae1 JW |
6139 | 2000-10-05 Jim Wilson <wilson@cygnus.com> |
6140 | ||
6141 | * function.c (fixup_var_refs_1, case SET): When gen_move_insn returns a | |
6142 | SEQUENCE, call emit_insn_before, copy PATTERN and REG_NOTES of last | |
6143 | sequence insn to INSN, and delete last sequence insn. | |
6144 | ||
f5fa9a5b PE |
6145 | 2000-10-05 Phil Edwards <pme@gcc.gnu.org> |
6146 | ||
6147 | * gcc.c (main): Include generated configargs.h header | |
6148 | and use arguments in '-v' output. | |
6149 | ||
2296d164 RK |
6150 | Thu Oct 5 16:16:57 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
6151 | ||
6152 | * gcc.c: Move data on prefixes forward in file and reorganize. | |
6153 | (md_exec_prefix, md_startfile_prefix, md_startfile_prefix_1): | |
6154 | Always define, but make null if no value. | |
6155 | (static_specs): Add "md_exec_prefix", "md_startfile_prefix", | |
6156 | and "md_startfile_prefix_1". | |
6157 | (main): Check whether md_exec_prefix and the others are the | |
6158 | null string rather than whether the macro is defined. | |
6159 | ||
43d75418 R |
6160 | Thu Oct 5 19:04:18 2000 J"orn Rennecke <amylaar@redhat.co.uk> |
6161 | ||
6162 | * (convert_move): Use zero_extendpsisi2 to do an unsigned extension | |
6163 | from PSImode to SImode. | |
6164 | ||
e389897b JJ |
6165 | 2000-10-05 Jakub Jelinek <jakub@redhat.com> |
6166 | ||
6167 | * emit-rtl.c (gen_lowpart_common) [REAL_ARITHMETICS]: Fix conversion | |
6168 | from float to integral mode with HOST_BITS_PER_WIDE_INT 64. | |
6169 | * dwarf2out.c (add_const_value_attribute): Divide by 4, not | |
6170 | sizeof(long). | |
6171 | ||
b8fbe62c RK |
6172 | Thu Oct 5 09:31:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
6173 | ||
6174 | * fold-const.c (fold, case MINUS_EXPR, case EQ_EXPR): Perform | |
6175 | negation in proper type.a | |
6176 | ||
50503ac8 RH |
6177 | 2000-10-04 Richard Henderson <rth@cygnus.com> |
6178 | ||
6179 | * configure.in (enable-shared): New. | |
6180 | * Makefile.in (LIBGCC_DEPS): Depend on EXTRA_PARTS as well. | |
6181 | (libgcc.mk): Pass SHLIB_LINK, SHLIB_LIBS, SHLIB_MULTILIB to mklibgcc. | |
6182 | * mklibgcc.in: Use them to link shared a libgcc. | |
6183 | * config/t-linux (SHLIB_LINK, SHLIB_LIBS): New. | |
6184 | * config/alpha/t-ieee (SHLIB_MULTILIB): New. | |
6185 | * config/mips/t-iris6 (SHLIB_LINK, SHLIB_LIBS): New. | |
6186 | * config/sparc/t-sol2 (SHLIB_LINK, SHLIB_LIBS): New. | |
6187 | ||
6188 | * configure.in (alpha-osf*): Use t-osf and x-osf. | |
6189 | * config/alpha/t-osf: New file. | |
6190 | * config/alpha/t-osf4: New file. | |
6191 | * config/alpha/x-osf: New file. | |
6192 | * config/alpha/x-alpha: Remove file. | |
6193 | ||
4b606faf WC |
6194 | 2000-10-04 Will Cohen <wcohen@redhat.com> |
6195 | ||
6196 | * c-typeck.c (process_init_element): Added warning for zero-length | |
6197 | array. | |
6198 | ||
6199 | * extend.texi (Zero Length): State that static initializers for | |
6200 | zero-length arrays are not allowed. | |
6201 | ||
c9b89a21 JH |
6202 | Mon Oct 2 14:50:14 MET DST 2000 Jan Hubicka <jh@suse.cz> |
6203 | ||
6204 | * rtlanal.c (single_set_1): Do not require USE and CLOBBERs | |
6205 | to come last. | |
6206 | ||
81bce466 MH |
6207 | 2000-10-03 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
6208 | ||
6209 | * config/float-c4x.h: New. | |
6210 | * configure.in (c4x-*): Set float_format to c4x. | |
b8dad04b | 6211 | * configure: Regenerate. |
81bce466 | 6212 | |
72882e08 KG |
6213 | 2000-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
6214 | ||
6215 | * configure.in (sparc-*-solaris2*): Disable 32-to-64 cross | |
6216 | compilation for solaris versions 2.7 and greater. | |
6217 | ||
ea205a52 ME |
6218 | 2000-10-02 Marc Espie <espie@openbsd.org> |
6219 | ||
6220 | * config/alpha.h (WORD_SWITCH_TAKES_ARG): add -rpath to default, | |
6221 | instead of redefining from scratch. | |
6222 | ||
618ec0d7 DB |
6223 | 2000-10-02 David O'Brien <obrien@dragon.nuxi.com> |
6224 | ||
6225 | * config/i386/freebsd.h (NO_PROFILE_COUNTERS): Define. | |
6226 | ||
f15b9af9 MM |
6227 | 2000-10-01 Mark Mitchell <mark@codesourcery.com> |
6228 | ||
776749c5 MM |
6229 | * config/ns32k/genix.h: Remove. |
6230 | * config/ns32k/x-genix: Likewise. | |
6231 | * config/ns32k/xm-genix.h: Likewise. | |
6232 | * config/fx80: Remove all filee in directory. | |
6233 | * config/pyr: Likewise. | |
6234 | * config/tahoe: Likewise. | |
6235 | * config/gmicro: Likewise. | |
6236 | * config/spur: Likewise. | |
6237 | * configure.in: Remove configury bits for above targets. | |
6238 | * configure: Regenerated. | |
b8dad04b | 6239 | |
a7b4171a MM |
6240 | * configure.in: Don't configure chill by default. |
6241 | * configure: Regenerated. | |
b8dad04b | 6242 | |
f15b9af9 MM |
6243 | * c-decl.c (c_expand_body): Don't generate RTL if flag_syntax_only. |
6244 | (lang_mark_false_label_stack): Remove. | |
6245 | * c-lex.c (init_c_lex): Add file_info_tree as GC root. Allocate | |
6246 | <top level> string in GC area. | |
6247 | (mark_splay_tree_node): New function. | |
6248 | (mark_splay_tree): Likewise. | |
6249 | * except.c (mark_eh_status): Only call lang_mark_false_label_stack | |
6250 | if it exists. | |
6251 | * ggc-callbacks.c (lang_mark_false_label_stack): Remove. | |
6252 | * ggc-common.c (lang_mark_false_label_stack): Change type. | |
6253 | * ggc.h (ggc_alloc_string): Add comment. | |
6254 | (ggc_strdup): New function. | |
b8dad04b | 6255 | |
51296ba0 DC |
6256 | Sat Sep 23 19:10:20 2000 Denis Chertykov <denisc@overta.ru> |
6257 | ||
6258 | * config/avr/avr.h (BRANCH_COST): Define as 0. | |
6259 | ||
6260 | * config/pdp11/pdp11.c: #include "tree.h" added. | |
6261 | ||
adcd8f77 MM |
6262 | 2000-09-30 Marek Michalkiewicz <marekm@linux.org.pl> |
6263 | ||
6264 | * config/avr/avr.c (ashlhi3_out, ashlsi3_out, ashrhi3_out, | |
6265 | ashrsi3_out, lshrhi3_out, lshrsi3_out): Optimize more cases | |
6266 | with known shift count. | |
6267 | * config/avr/avr.md (ashlsi3, ashrsi3, lshrsi3): | |
6268 | New alternative for shift count 2 with no scratch register. | |
6269 | (ashlhi3, ashlsi3): Change "cc" attribute from "clobber" to | |
6270 | "set_n" for shift counts 1 and 2. | |
6271 | ||
e35b9579 GK |
6272 | 2000-09-30 Geoff Keating <geoffk@cygnus.com> |
6273 | ||
6274 | * config/rs6000/rs6000.md (movsi_to_cr): Remove the USE. Calculate | |
6275 | the mask value from the individual SET operations. | |
6276 | (return_internal_si): Move the USE after the RETURN. | |
6277 | (return_internal_di): Likewise. | |
6278 | (return_and_restore_fpregs_si): Likewise. | |
6279 | (return_and_restore_fpregs_di): Likewise. | |
6280 | (return_eh_si): Likewise. | |
6281 | (return_eh_di): Likewise. | |
6282 | * config/rs6000/rs6000.c (mtcrf_operation): Don't look for, | |
6283 | or check, the USE. | |
6284 | (rs6000_emit_prologue): Don't emit the USE for movsi_to_cr. | |
6285 | Don't generate a PARALLEL around a single operation movsi_to_cr. | |
6286 | Generate the RETURN first in any PARALLELs. | |
6287 | ||
6288 | * rtlanal.c (single_set_1): Use fatal_insn to display the | |
6289 | invalid insn. Check for more cases when a USE or CLOBBER occurs | |
6290 | before a SET. | |
6291 | * Makefile.in: Update dependencies for rtlanal.o. | |
6292 | ||
1fba7553 JM |
6293 | 2000-09-30 Joseph S. Myers <jsm28@cam.ac.uk> |
6294 | ||
6295 | * i386.c: Move include of "config.h" to before that of <setjmp.h>. | |
6296 | ||
28e6b1c2 JM |
6297 | 2000-09-30 Joseph S. Myers <jsm28@cam.ac.uk> |
6298 | ||
6299 | * c-tree.texi, contrib.texi, gcc.texi, install.texi, invoke.texi: | |
6300 | Consistently use @email for formatting email addresses. | |
6301 | ||
f2fa288f RH |
6302 | 2000-09-29 Richard Henderson <rth@cygnus.com> |
6303 | ||
6304 | * cse.c (notreg_cost): New argument outer. | |
6305 | (COST): Pass in SET to notreg_cost | |
6306 | (COST_IN): New. | |
6307 | (fold_rtx): Use COST_IN. Prefer constants when costs | |
6308 | are the same. | |
6309 | ||
a1c63101 DE |
6310 | 2000-09-29 David Edelsohn <edelsohn@gnu.org> |
6311 | ||
6312 | * fixinc/inclhack.def (broken_cabs): Generalize regex. | |
6313 | * fixinc/fixincl.x: Regenerate. | |
6314 | ||
70dd0f7f FS |
6315 | 2000-09-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
6316 | ||
6317 | * loop.c (check_final_value): A GIV is not replaceable if used | |
6318 | before set. | |
6319 | ||
0c6129af JL |
6320 | Fri Sep 29 10:04:12 2000 Jeffrey A Law (law@cygnus.com) |
6321 | ||
6322 | * version.c: Bump to gcc-2.97. | |
6323 | ||
6324 | Frs Sep 29 13:37:59 MET DST 2000 Jan Hubicka <jh@suse.cz> | |
6c698a6d JH |
6325 | |
6326 | * final.c (final_scan_insn): Remove extra extract_insn call; | |
6327 | Use caching for constrain_operands. | |
6328 | (cleanup_subreg_operands): Use caching for extract_insn. | |
6329 | * recog.c (constrain_operands_cached): New. | |
6330 | * recog.h (constrain_operands_cached): Declare. | |
6331 | * i386.c (ix86_attr_length_immediate_default, | |
6332 | ix86_attr_length_address_default, ix86_agi_dependant): Cache | |
6333 | extract_insn call. | |
6334 | ||
6335 | * recog.c (asm_noperands): Tweak. | |
6336 | (extract_insn): Do not call asm_noperads for non-asm instructions. | |
6337 | ||
6338 | Fri Sep 29 13:20:42 MET DST 2000 Jan Hubicka <jh@suse.cz> | |
6339 | ||
6340 | * recog.c (recog_memoized): Rename to recog_memoized_1. | |
6341 | * recog.h (recog_memoized): Rename to recog_memoized_1. | |
6342 | (recog_memoized): New macro. | |
6343 | * rtl.h (single_set): Rename to single_set_1 | |
6344 | (single_set): New macro. | |
6345 | * rtlanal.c (single_set): Rename to single_set_1; expect clobbers | |
6346 | to be last. | |
6347 | ||
6348 | * i386.md (strmovsi_1, strmovhi_1 strmovqi_1): | |
6349 | Do not use match_dup of input operands at outputs. | |
6350 | Use register_operand for memory expression. | |
6351 | (rep_movsi): Put use last, canonicalize. | |
6352 | Use register_operand for memory expression. | |
6353 | (rep_movqi): Put use last. | |
6354 | Use register_operand for memory expression. | |
6355 | (strsetsi_1, strset_hi_1, strsetqi_1): Do not use match_dup | |
6356 | of input operands at outputs. Use register_operand for memory | |
6357 | expression. | |
6358 | (rep_stossi): Put use last; canonicalize; fix match_dup in | |
6359 | the address expression | |
6360 | (rep_stosqi): Likewise. | |
6361 | (memcmp expander): Update calls. | |
6362 | (cmpstrsi_nz_1, cmpstrsi_1, strlensi_1): Avoid match_dups in | |
6363 | the clobbers. | |
6364 | ||
6365 | * i386.md (fp_jcc_3, fp_jcc_4, jp_fcc_5): if_then_else operand is | |
6366 | VOIDmode. | |
6367 | (fp_jcc_4, fp_jcc_3): Refuse unordered comparisons. | |
6368 | ||
41e5a1f5 DB |
6369 | 2000-09-28 David O'Brien <obrien@FreeBSD.org> |
6370 | ||
6371 | * config/i386/freebsd-aout.h: New, FreeBSD a.out config file. | |
6372 | Contains the old contents of config/i386/freebsd.h | |
6373 | * config/i386/freebsd.h: Now the ELF rather than a.out config file. | |
6374 | Contains the old contents of config/i386/freebsd-elf.h | |
6375 | * config/i386/freebsd-elf.h: Retire this file -- contents moved to | |
6376 | config/i386/freebsd.h. | |
6377 | * configure.in: Adjust for above changes. | |
6378 | * po/POTFILES.in: Likewise. | |
6379 | * po/en_GB.po: Likewise. | |
6380 | * po/gcc.pot: Likewise. | |
6381 | * configure: Rebuilt. | |
6382 | ||
1db88ef9 | 6383 | 2000-09-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
70dd0f7f | 6384 | |
1db88ef9 FS |
6385 | * doloop.c (doloop_modify): Prevent delete_insn() from |
6386 | deleting too much. Prefer loop->top over loop->start as | |
6387 | target for the new JUMP insn. | |
6388 | (doloop_valid_p): Ignore loop with exit_count != 0. | |
6389 | ||
6a07a77f PT |
6390 | 2000-09-28 Philipp Thomas <pthomas@suse.de> |
6391 | ||
6392 | * invoke.texi (i386 Options): Add athlon to table of possible | |
6393 | choices for -mcpu=. | |
6394 | ||
b5dd2c76 GDR |
6395 | 2000-09-28 Gabriel Dos Reis <gdr@codesourcery.com> |
6396 | ||
6397 | * diagnostic.h (output_clear_message_text): New function. | |
6398 | (output_message_text): New macro. | |
6399 | ||
6400 | * diagnostic.c (clear_text_info): Rename to | |
b8dad04b | 6401 | output_clear_message_text. |
b5dd2c76 GDR |
6402 | (output_clear): Adjust. |
6403 | (output_finish): Rename to output_finalize_message. Tweek. | |
b8dad04b | 6404 | (output_to_stream): Adjust. |
b5dd2c76 | 6405 | |
d8090680 NB |
6406 | 2000-09-28 Neil Booth <neilb@earthling.net> |
6407 | ||
6408 | * cpperror.c (_cpp_begin_message): Do the test for suppression | |
b8dad04b ZW |
6409 | of warnings and pedantic warnings before the "is a warning an |
6410 | error" tests. | |
d8090680 NB |
6411 | * cppinit.c (cpp_handle_option): Remove surplus \n. |
6412 | * cpplex.c (ON_REST_ARG): Delete. | |
6413 | (skip_block_comment): Initialise prevc. | |
6414 | (parse_args): Improve error messages. | |
6415 | (maybe_paste_with_next): Use CONTEXT_VARARGS rather | |
6416 | than ON_REST_ARG. | |
6417 | * cpplib.c (cpp_push_buffer): Fix grammar in message. | |
6418 | * cppmain.c (main): Set callbacks for #ident and #pragma | |
6419 | only if no_output option is false. | |
6420 | (do_pragma_implementation): Only call the #pragma handler | |
6421 | if it is set in the cpp_reader structure. | |
6422 | ||
e93eff94 DL |
6423 | Wed Sep 27 14:00:07 2000 Donald Lindsay <dlindsay@cygnus.com> |
6424 | ||
6425 | * integrate.c (copy_insn_list): if an ignored return value | |
6426 | is being clobbered, skip cloning that into the inline copy. | |
6427 | ||
59c5d27a JM |
6428 | 2000-09-27 Joseph S. Myers <jsm28@cam.ac.uk> |
6429 | ||
6430 | * extend.texi, invoke.texi, gcc.texi, install.texi: Consistently | |
6431 | use @uref for formatting URLs. | |
6432 | ||
15ca066d ME |
6433 | 2000-09-27 Mark Elbrecht <snowball3@bigfoot.com> |
6434 | ||
6435 | * config/i386/djgpp.h (UNIQUE_SECTION): Constify the variables | |
6436 | name and prefix. | |
6437 | ||
5a8e2650 NB |
6438 | Tue 26-Sep-2000 18:25:38 BST Neil Booth <neilb@earthling.net> |
6439 | ||
6440 | * gcc.c (cpp_options): Add spec for -ftabstop=. | |
6441 | (invoke_as): New spec that handles invoking as. | |
6442 | Update specs to handle -save-temps and -traditional. | |
6443 | * ch/lang-specs.h, f/lang-specs.h, java/lang-specs.h: | |
6444 | Use invoke_as. | |
6445 | * cp/lang-specs.h, objc/lang-specs.h: Update to use | |
6446 | invoke_as, and handle -save-temps and -traditional (if | |
6447 | appropriate). | |
6448 | ||
380f6ad3 JJ |
6449 | 2000-09-26 Jakub Jelinek <jakub@redhat.com> |
6450 | ||
6451 | * config/sparc/sparc.c (sparc_emit_set_const64): Don't abort when | |
6452 | op0 is a SUBREG. | |
6453 | (function_arg_slotno): Accept TImode/CTImode. | |
6454 | * config/sparc/sparc.h (MIN_UNITS_PER_WORD): If IN_LIBGCC2 define | |
6455 | to UNITS_PER_WORD. | |
6456 | ||
ef120fc0 MH |
6457 | 2000-09-26 Michael Hayes <mhayes@cygnus.com> |
6458 | ||
6459 | * flow.c (flow_loop_pre_header_scan): Punt if loop enters | |
6460 | from entry block. | |
6461 | ||
cf606f45 JW |
6462 | 2000-09-25 Jim Wilson <wilson@cygnus.com> |
6463 | ||
6464 | * config/ia64/ia64.h (INDEX_REG_CLASS): Define to GENERAL_REGS. | |
6465 | (REGNO_OK_FOR_INDEX_P): Define to REGNO_OK_FOR_BASE_P. | |
6466 | (LEGITIMATE_ADDRESS_DISP): Use LEGITIMATE_ADDRESS_REG. | |
6467 | (REG_OK_FOR_INDEX): Define to REG_OK_FOR_BASE_P. | |
6468 | ||
a94c1199 NB |
6469 | Tue 26-Sep-2000 00:16:22 BST Neil Booth <neilb@earthling.net> |
6470 | ||
b8dad04b | 6471 | * cpplex.c (parse_args): Don't set VOID_REST flag. |
a94c1199 NB |
6472 | (CONTEXT_VARARGS): New flag. |
6473 | (maybe_paste_with_next): Set context earlier in loop. Use | |
6474 | it. Do varargs test with CONTEXT_VARARGS flag. | |
6475 | (push_arg_context): Set CONTEXT_VARARGS flag if we're | |
6476 | pushing an argument context for a varargs argument. | |
6477 | * cpplib.h (VOID_REST): Delete. | |
b8dad04b | 6478 | * gcc.dg/cpp/vararg1.c: Add test case. |
a94c1199 | 6479 | |
317639a8 BC |
6480 | 2000-09-25 Branko Cibej <branko.cibej@hermes.si> |
6481 | ||
b8dad04b ZW |
6482 | * flags.h: Declare warning flag warn_system_headers. |
6483 | * toplev.c: Define it. | |
6484 | (W_options): Add option -Wsystem-headers. | |
6485 | * diagnostic.c (count_error): Test warn_system_headers. | |
6486 | * invoke.texi: Add description for -Wsystem-headers. | |
317639a8 BC |
6487 | * cpplib.h (cpp_options): New member warn_system_headers. |
6488 | * cpphash.h (CPP_PEDANTIC, CPP_WTRADITIONAL): Don't test | |
6489 | CPP_IN_SYSTEM_HEADER. | |
6490 | * cpplib.c (do_import, do_pragma_once): Likewise. | |
6491 | * cpperror.c (_cpp_begin_message): Test warn_system_headers | |
6492 | and CPP_IN_SYSTEM_HEADER. | |
6493 | * cppinit.c (handle_option): Recognize -Wsystem_headers. | |
6494 | (print_help): Describe -Wsystem_headers. | |
6495 | * cpplex.c (lex_line): Reorganize condition so that warnings | |
6496 | about C++ comments in system headers can be enabled. Remove | |
6497 | label do_line_comment. | |
6498 | ||
1c6d33ef NB |
6499 | Mon 25-Sep-2000 23:38:27 BST Neil Booth <neilb@earthling.net> |
6500 | ||
6501 | * cpplex.c (save_comment): Only store the initial '/' | |
6502 | now. | |
6503 | (lex_token): Combine handling of the two comment types. | |
b8dad04b | 6504 | Pass everything but the initial '/' to save_comment. |
1c6d33ef | 6505 | |
7de4d004 NB |
6506 | Mon 25-Sep-2000 23:31:45 BST Neil Booth <neilb@earthling.net> |
6507 | ||
6508 | * cpphash.h (_cpp_digraph_spellings, _cpp_process_directive, | |
6509 | _cpp_can_paste): New library-internal prototypes. | |
6510 | * cpplex.c (dump_param_spelling, output_line_command, | |
6511 | output_token, cpp_scan_buffer, cpp_scan_buffer_nooutput, | |
6512 | cpp_printf, cpp_output_list): Move to cppoutput.c. | |
6513 | (process_directive, can_paste, digraph_spellings): Add _cpp_ prefix. | |
6514 | * cppmacro.c (dump_macro_args, cpp_dump_definition) Move to | |
6515 | cppoutput.c. | |
6516 | * cppoutput.c (dump_macro_args, cpp_dump_definition, output_token, | |
6517 | dump_param_spelling, output_line_command, cpp_scan_buffer, | |
6518 | cpp_scan_buffer_nooutput, cpp_printf, cpp_output_list): Moved | |
6519 | from elsewhere. | |
6520 | * Makefile.in: Add cppoutput.c. | |
6521 | * po/POTFILES.in: Add cppoutput.c. | |
6522 | ||
66db6b45 RH |
6523 | 2000-09-25 Richard Henderson <rth@cygnus.com> |
6524 | ||
6525 | * config/ia64/ia64.c (ia64_print_operand): Define 'e' as 64-n. | |
6526 | * config/ia64/ia64.md (rotrsi3): Allow variable rotates; don't | |
6527 | split until after reload. | |
6528 | (rotlsi3, rotldi3): New. | |
6529 | ||
4b40f758 GDR |
6530 | 2000-09-25 Gabriel Dos Reis <gdr@codesourcery.com> |
6531 | ||
6532 | * diagnostic.c (output_last_position): Define. | |
6533 | (set_real_maximum_length): Tweek. | |
6534 | * diagnostic.h (output_last_position): Declare. | |
6535 | ||
0f290768 KH |
6536 | 2000-09-25 Kazu Hirata <kazu@hxi.com> |
6537 | ||
6538 | * config/i386/i386.c: Fix formatting. | |
6539 | ||
90e9ee6c AL |
6540 | 2000-09-24 Alan Lehotsky <alehotsky@cygnus.com> |
6541 | ||
6542 | * emit-rtl-c (gen_lowpart_common): Accept non-paradoxical SUBREG when | |
6543 | UNITS_PER_WORD is small. | |
6544 | ||
0e00b68b JM |
6545 | 2000-09-25 Joseph S. Myers <jsm28@cam.ac.uk> |
6546 | ||
6547 | * c-common.c (format_char_info): Add flags2; update comments. | |
6548 | (print_char_table, scan_char_table, time_char_table): Split some | |
6549 | flags out into flags2. | |
6550 | (check_format_info): Use flags2 for those flags, for identifying | |
6551 | the initial character of a scanf scanset, and for identifying | |
6552 | printf formats where the '0' flag is ignored with precision. | |
6553 | ||
0a3e1f45 HPN |
6554 | 2000-09-25 Hans-Peter Nilsson <hp@axis.com> |
6555 | ||
6556 | Changes below marked "here" add TABs on either or both sides, | |
6557 | covering start of line, up to any operand for all noted .*ASM.*_OP | |
e8638df0 | 6558 | definitions. All callers changed. |
047c1c92 HPN |
6559 | * tm.texi: Make documented *_ASM.*_OP:s include spacing |
6560 | (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, SHARED_SECTION_ASM_OP, | |
6561 | BSS_SECTION_ASM_OP, SHARED_BSS_SECTION_ASM_OP, INIT_SECTION_ASM_OP, | |
6562 | ASM_BYTE_OP, FINI_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP, | |
6563 | ASM_STABS_OP, ASM_STABD_OP, ASM_STABN_OP). | |
6564 | Fix typos in description for LONG_LONG_TYPE_SIZE and | |
6565 | FINI_SECTION_ASM_OP. | |
0a3e1f45 HPN |
6566 | * crtstuff.c (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Explain |
6567 | why these defaults don't have leading spacing. | |
6568 | * dbxout.c (ASM_STABS_OP, ASM_STABN_OP): Here. | |
6569 | * dwarf2out.c (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP, | |
6570 | UNALIGNED_DOUBLE_INT_ASM_OP, SECTION_ASM_OP, ASM_BYTE_OP): Here. | |
6571 | * dwarfout.c (FILE_ASM_OP, VERSION_ASM_OP, | |
6572 | UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP, ASM_BYTE_OP, | |
6573 | PUSHSECTION_ASM_OP, POPSECTION_ASM_OP): Here. | |
6574 | * defaults.h (ASM_STABD_OP, EH_FRAME_SECTION_ASM_OP): Here. | |
6575 | * varasm.c (ASM_STABS_OP): Here. | |
6576 | * xcoffout.h (ASM_STABS_OP): Here. | |
e662a129 HPN |
6577 | * config/elfos.h (IDENT_ASM_OP, ASM_BYTE_OP, SET_ASM_OP, |
6578 | SKIP_ASM_OP, ALIGN_ASM_OP, COMMON_ASM_OP, LOCAL_ASM_OP, | |
6579 | INT_ASM_OP, ASCII_DATA_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP, | |
6580 | STRING_ASM_OP): Here. | |
6581 | * config/freebsd.h (IDENT_ASM_OP): Here. | |
6582 | * config/linux-aout.h (SET_ASM_OP): Here. | |
6583 | * config/linux.h (SET_ASM_OP): Here. | |
6584 | * config/lynx.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, | |
6585 | INT_ASM_OP): Here. | |
6586 | * config/netbsd.h (TYPE_ASM_OP, SIZE_ASM_OP, SET_ASM_OP): Here. | |
6587 | * config/nextstep.h (EH_FRAME_SECTION_ASM_OP, ALIGN_ASM_OP): Here. | |
6588 | * config/openbsd.h (TYPE_ASM_OP, SIZE_ASM_OP, SET_ASM_OP): Here. | |
6589 | * config/psos.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, | |
6590 | INT_ASM_OP): Here. | |
6591 | * config/ptx4.h (IDENT_ASM_OP, ASM_BYTE_OP, SET_ASM_OP, | |
6592 | SKIP_ASM_OP, ALIGN_ASM_OP, COMMON_ASM_OP, LOCAL_ASM_OP, | |
6593 | INT_ASM_OP, ASCII_DATA_ASM_OP, CONST_SECTION_ASM_OP, | |
6594 | CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP, | |
6595 | FINI_SECTION_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP STRING_ASM_OP): Here. | |
6596 | * config/svr3.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP, | |
6597 | CONST_SECTION_ASM_OP, ASM_BYTE_OP): Here. | |
8c13c7b3 HPN |
6598 | * config/a29k/udi.h (INT_ASM_OP): Here. |
6599 | * config/alpha/alpha-interix.h (CONST_SECTION_ASM_OP, | |
6600 | CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INT_ASM_OP, | |
6601 | SET_ASM_OP): Here. | |
6602 | * config/alpha/alpha.h (TEXT_SECTION_ASM_OP, | |
6603 | READONLY_DATA_SECTION_ASM_OP, DATA_SECTION_ASM_OP, | |
6604 | UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP, | |
6605 | UNALIGNED_DOUBLE_INT_ASM_OP, ASM_STABS_OP, ASM_STABN_OP, | |
6606 | ASM_STABD_OP): Here. | |
6607 | * config/alpha/elf.h (IDENT_ASM_OP, SKIP_ASM_OP, ALIGN_ASM_OP, | |
6608 | COMMON_ASM_OP, INT_ASM_OP, ASCII_DATA_ASM_OP, | |
6609 | CONST_SECTION_ASM_OP, CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, | |
6610 | BSS_SECTION_ASM_OP, SBSS_SECTION_ASM_OP, SDATA_SECTION_ASM_OP, | |
6611 | INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP, TYPE_ASM_OP, | |
6612 | SIZE_ASM_OP, STRING_ASM_OP): Here. | |
6613 | * config/alpha/vms.h (LINK_SECTION_ASM_OP, | |
6614 | READONLY_SECTION_ASM_OP, LITERALS_SECTION_ASM_OP, | |
6615 | CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, COMMON_ASM_OP): Here. | |
6616 | * config/arc/arc.h (ASM_BYTE_OP, SET_ASM_OP): Here. | |
8202cda0 | 6617 | (PUSHSECTION_ASM_OP): Define this, not PUSHSECTION_FORMAT. |
8c13c7b3 HPN |
6618 | * config/arm/aof.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): |
6619 | Here. | |
6620 | * config/arm/aout.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, | |
6621 | BSS_SECTION_ASM_OP, SET_ASM_OP): Here. | |
6622 | * config/arm/coff.h (INT_ASM_OP): Here. | |
6623 | * config/arm/conix-elf.h (UNALIGNED_WORD_ASM_OP): Here. | |
6624 | * config/arm/elf.h (TYPE_ASM_OP, SIZE_ASM_OP, INT_ASM_OP): Here. | |
6625 | * config/arm/linux-elf.h (IDENT_ASM_OP, CONST_SECTION_ASM_OP, | |
6626 | INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP): Here. | |
6627 | * config/arm/unknown-elf.h (UNALIGNED_WORD_ASM_OP): Here. | |
6628 | * config/avr/avr.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, | |
6629 | ASM_BYTE_OP, TYPE_ASM_OP, SIZE_ASM_OP, WEAK_ASM_OP, | |
6630 | STRING_ASM_OP): Here. Update documentation copy in comments. | |
4e8aa65c HPN |
6631 | * config/c4x/c4x.h (ASM_STABS_OP, BSS_SECTION_ASM_OP): Here. |
6632 | * config/clipper/clipper.h (TEXT_SECTION_ASM_OP, | |
6633 | DATA_SECTION_ASM_OP): Here. | |
6634 | * config/clipper/clix.h (BSS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): | |
6635 | Here. | |
6636 | * config/convex/convex.h (TEXT_SECTION_ASM_OP, | |
6637 | DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP): Here. | |
6638 | * config/d30v/d30v.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, | |
6639 | BSS_SECTION_ASM_OP): Here. | |
6640 | * config/fr30/fr30.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, | |
6641 | BSS_SECTION_ASM_OP): Here. | |
6642 | * config/fx80/fx80.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): | |
6643 | Here. | |
6644 | * config/gmicro/gmicro.h (TEXT_SECTION_ASM_OP, | |
6645 | DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP): Here. | |
6646 | * config/h8300/h8300.h (ASM_WORD_OP): Here. | |
71d48a01 HPN |
6647 | * config/i370/i370.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, |
6648 | BSS_SECTION_ASM_OP): Here. | |
6649 | * config/i386/aix386.h (INIT_SECTION_ASM_OP): Here. | |
6650 | * config/i386/bsd.h (ASM_BYTE_OP): Here. | |
6651 | * config/i386/cygwin.h (SET_ASM_OP, INT_ASM_OP): Here. | |
6652 | * config/i386/dgux.h (CONST_SECTION_ASM_OP): Here. | |
6653 | * config/i386/djgpp.h (IDENT_ASM_OP, INT_ASM_OP, SET_ASM_OP): | |
6654 | Here. | |
6655 | * config/i386/freebsd-elf.h (SET_ASM_OP): Here. | |
6656 | * config/i386/freebsd.h (TYPE_ASM_OP, SIZE_ASM_OP, INT_ASM_OP): | |
6657 | Here. | |
6658 | * config/i386/i386-coff.h (CTORS_SECTION_ASM_OP, | |
6659 | DTORS_SECTION_ASM_OP, INT_ASM_OP): Here. | |
6660 | * config/i386/i386-interix.h (STRING_ASM_OP, CONST_SECTION_ASM_OP, | |
6661 | CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INT_ASM_OP, | |
6662 | SET_ASM_OP): Here. | |
6663 | * config/i386/i386elf.h (BSS_SECTION_ASM_OP): Here. | |
6664 | * config/i386/netbsd.h (INT_ASM_OP): Here. | |
6665 | * config/i386/openbsd.h (INT_ASM_OP): Here. | |
6666 | * config/i386/osfrose.h (TYPE_ASM_OP, SIZE_ASM_OP, SET_ASM_OP, | |
6667 | IDENT_ASM_OP): Here. | |
6668 | * config/i386/sco5.h (ALIGN_ASM_OP, ASCII_DATA_ASM_OP, | |
6669 | ASM_BYTE_OP, IDENT_ASM_OP, COMMON_ASM_OP, SET_ASM_OP, | |
6670 | LOCAL_ASM_OP, INT_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP, STRING_ASM_OP, | |
6671 | SKIP_ASM_OP, GLOBAL_ASM_OP): Here. | |
6672 | * config/i386/seq-sysv3.h (SHARED_SECTION_ASM_OP, | |
6673 | SHARED_BSS_SECTION_ASM_OP): Here. | |
6674 | * config/i386/sequent.h (SHARED_SECTION_ASM_OP): Here. | |
6675 | * config/i386/sun386.h (ASM_BYTE_OP, TEXT_SECTION_ASM_OP, | |
6676 | DATA_SECTION_ASM_OP): Here. | |
6677 | * config/i386/svr3gas.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP, | |
6678 | CONST_SECTION_ASM_OP): Here. | |
6679 | * config/i386/sysv3.h (INIT_SECTION_ASM_OP): Here. | |
6680 | * config/i386/unix.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, | |
6681 | BSS_SECTION_ASM_OP): Here. | |
de323aa1 HPN |
6682 | * config/i860/bsd-gas.h (ASCII_DATA_ASM_OP): Here. |
6683 | * config/i860/bsd.h (ASCII_DATA_ASM_OP): Here. | |
6684 | * config/i860/fx2800.h (ASM_STABS_OP, ASM_STABN_OP, ASM_STABD_OP, | |
6685 | BSS_ASM_OP): Here, but use trailing spaces. | |
6686 | * config/i860/i860.h (ASM_BYTE_OP, TEXT_SECTION_ASM_OP, | |
6687 | DATA_SECTION_ASM_OP): Here. | |
6688 | * config/i860/paragon.h (ASCII_DATA_ASM_OP, BSS_SECTION_ASM_OP): | |
6689 | Here. | |
6690 | * config/i860/sysv3.h (ASCII_DATA_ASM_OP, CTORS_SECTION_ASM_OP, | |
6691 | DTORS_SECTION_ASM_OP, TDESC_SECTION_ASM_OP): Here. | |
6692 | * config/i860/sysv4.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, | |
6693 | TDESC_SECTION_ASM_OP): Here. | |
6694 | * config/i960/i960-coff.h (CTORS_SECTION_ASM_OP, | |
6695 | DTORS_SECTION_ASM_OP, INT_ASM_OP): Here. | |
6696 | * config/i960/i960.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): | |
6697 | Here. | |
6698 | * config/ia64/ia64.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, | |
6699 | BSS_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP, | |
6700 | UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP, | |
6701 | UNALIGNED_DOUBLE_INT_ASM_OP): Here. | |
6702 | * config/ia64/sysv4.h (ASM_BYTE_OP, STRING_ASM_OP, SKIP_ASM_OP, | |
6703 | COMMON_ASM_OP, ASCII_DATA_ASM_OP, INIT_SECTION_ASM_OP, | |
6704 | FINI_SECTION_ASM_OP, CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, | |
6705 | SDATA_SECTION_ASM_OP, SBSS_SECTION_ASM_OP): Here. | |
6e7b07a7 HPN |
6706 | * config/m32r/m32r.h (SCOMMON_ASM_OP): Here. |
6707 | * config/m68hc11/m68hc11.h (GLOBAL_ASM_OP): Here. | |
6708 | * config/m68k/auxas.h (BYTE_ASM_OP, WORD_ASM_OP, LONG_ASM_OP, | |
6709 | SPACE_ASM_OP, ALIGN_ASM_OP, GLOBAL_ASM_OP, SWBEG_ASM_OP, | |
6710 | SET_ASM_OP): Here. | |
6711 | * config/m68k/coff.h (BSS_SECTION_ASM_OP, CTORS_SECTION_ASM_OP, | |
6712 | DTORS_SECTION_ASM_OP, INT_ASM_OP): Here. | |
6713 | * config/m68k/crds.h (BSS_SECTION_ASM_OP): Here. | |
6714 | * config/m68k/dpx2.h (ASM_BYTE_OP, GLOBAL_ASM_OP): Here. | |
6715 | * config/m68k/hp320.h (ASCII_DATA_ASM_OP, GLOBAL_ASM_OP): Here. | |
6716 | * config/m68k/linux.h (BSS_SECTION_ASM_OP): Here. | |
6717 | * config/m68k/lynx.h (BSS_SECTION_ASM_OP): Here. | |
6718 | * config/m68k/m68k.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, | |
6719 | GLOBAL_ASM_OP): Here. | |
6720 | * config/m68k/m68kelf.h (SWBEG_ASM_OP, BSS_ASM_OP, | |
6721 | BSS_SECTION_ASM_OP): Here. | |
6722 | * config/m68k/m68kv4.h (BSS_ASM_OP): Here. | |
6723 | * config/m68k/mot3300.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, | |
6724 | ASCII_DATA_ASM_OP, SET_ASM_OP, CTORS_SECTION_ASM_OP, | |
6725 | DTORS_SECTION_ASM_OP, GLOBAL_ASM_OP, ASM_BYTE_OP, ALIGN_ASM_OP, | |
6726 | SKIP_ASM_OP): Here. | |
6727 | * config/m68k/newsgas.h (SET_ASM_OP): Here. | |
6728 | * config/m68k/rtemself.h (INIT_SECTION_ASM_OP, | |
6729 | FINI_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP): Here. | |
6730 | * config/m68k/sgs.h (BYTE_ASM_OP, WORD_ASM_OP, LONG_ASM_OP, | |
6731 | SPACE_ASM_OP, ALIGN_ASM_OP, GLOBAL_ASM_OP, SWBEG_ASM_OP, | |
6732 | SET_ASM_OP, UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP): Here, | |
6733 | but use trailing spaces. | |
6734 | * config/m68k/tower-as.h (TEXT_SECTION_ASM_OP, | |
6735 | DATA_SECTION_ASM_OP, GLOBAL_ASM_OP, INIT_SECTION_ASM_OP, | |
6736 | FINI_SECTION_ASM_OP, CONST_SECTION_ASM_OP, BSS_SECTION_ASM_OP): | |
6737 | Here. | |
6738 | * config/m88k/dgux.h (FINI_SECTION_ASM_OP, INIT_SECTION_ASM_OP, | |
6739 | CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Here. | |
6740 | * config/m88k/m88k.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, | |
6741 | CONST_SECTION_ASM_OP, TDESC_SECTION_ASM_OP, CTORS_SECTION_ASM_OP, | |
6742 | DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP, | |
6743 | IDENT_ASM_OP, FILE_ASM_OP, SECTION_ASM_OP, SET_ASM_OP, | |
6744 | GLOBAL_ASM_OP, ALIGN_ASM_OP, SKIP_ASM_OP, COMMON_ASM_OP, | |
6745 | BSS_ASM_OP, FLOAT_ASM_OP, DOUBLE_ASM_OP, INT_ASM_OP, SHORT_ASM_OP, | |
6746 | CHAR_ASM_OP, ASCII_DATA_ASM_OP, SBSS_ASM_OP, SCOMM_ASM_OP, | |
6747 | SDATA_SECTION_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP, INTERNAL_ASM_OP, | |
6748 | VERSION_ASM_OP, UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP, | |
6749 | PUSHSECTION_ASM_OP, POPSECTION_ASM_OP, REQUIRES_88110_ASM_OP, | |
6750 | ASM_BYTE_OP): Here. | |
6751 | * config/m88k/openbsd.h (SET_ASM_OP): Here. | |
6752 | * config/m88k/sysv4.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP, | |
6753 | CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Here. | |
78d057d8 HPN |
6754 | * config/mcore/mcore-elf.h (UNALIGNED_INT_ASM_OP, |
6755 | UNALIGNED_SHORT_ASM_OP, CTORS_SECTION_ASM_OP, | |
6756 | DTORS_SECTION_ASM_OP): Here. | |
6757 | * config/mcore/mcore-pe.h (CTORS_SECTION_ASM_OP, | |
6758 | DTORS_SECTION_ASM_OP, INT_ASM_OP): Here. | |
6759 | * config/mips/elf.h (TYPE_ASM_OP, SIZE_ASM_OP, | |
6760 | BSS_SECTION_ASM_OP): Here. | |
6761 | * config/mips/elf64.h (TYPE_ASM_OP, SIZE_ASM_OP): Here. | |
6762 | * config/mips/iris5.h (ABICALLS_ASM_OP): Here. | |
6763 | * config/mips/iris6.h (TYPE_ASM_OP, SIZE_ASM_OP, | |
6764 | POPSECTION_ASM_OP, BSS_SECTION_ASM_OP, CONST_SECTION_ASM_OP_32, | |
6765 | CONST_SECTION_ASM_OP_64, CTORS_SECTION_ASM_OP, | |
6766 | DTORS_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP): Here. | |
6767 | * config/mips/mips.c (ABICALLS_ASM_OP): Here. | |
6768 | * config/mips/mips.h (ASM_STABS_OP, ASM_STABN_OP, ASM_STABD_OP): | |
6769 | Here. | |
6770 | * config/mips/netbsd.h (TYPE_ASM_OP, SIZE_ASM_OP, WEAK_ASM_OP): | |
6771 | Here. | |
6772 | * config/mips/osfrose.h (SET_ASM_OP): Here. | |
6773 | * config/mips/sni-svr4.h (ABICALLS_ASM_OP): Here. | |
76bbee81 HPN |
6774 | * config/ns32k/encore.h (SHARED_SECTION_ASM_OP): Here. |
6775 | * config/ns32k/merlin.h (SHARED_SECTION_ASM_OP): Here. | |
6776 | * config/ns32k/ns32k.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): | |
6777 | Here. | |
6778 | * config/ns32k/sequent.h (SHARED_SECTION_ASM_OP): Here. | |
6779 | * config/ns32k/tek6000.h (SHARED_SECTION_ASM_OP): Here. | |
6780 | * config/pa/pa-64.h (INT_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP): Here. | |
6781 | * config/pa/pa.h (ASM_STABS_OP, ASM_STABN_OP): Here. | |
6782 | * config/pj/pj.h (SET_ASM_OP, BSS_SECTION_ASM_OP): Here. | |
6783 | * config/pyr/pyr.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): | |
6784 | Here. | |
6785 | * config/romp/romp.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): | |
6786 | Here. | |
6787 | * config/rs6000/rs6000.h (SET_ASM_OP): Here. | |
6788 | * config/rs6000/sol2.h (ASM_STABN_OP): Here. | |
6789 | * config/rs6000/sysv4.h (SKIP_ASM_OP, LOCAL_ASM_OP, LCOMM_ASM_OP): | |
6790 | Here. | |
471b6f1b HPN |
6791 | * config/sh/sh.h (SET_ASM_OP, BSS_SECTION_ASM_OP, |
6792 | UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP): Here. | |
6793 | * config/sparc/linux.h (COMMON_ASM_OP): Here. | |
6794 | * config/sparc/linux64.h (COMMON_ASM_OP, | |
6795 | UNALIGNED_DOUBLE_INT_ASM_OP): Here. | |
6796 | * config/sparc/litecoff.h (BSS_SECTION_ASM_OP, | |
6797 | CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INT_ASM_OP): Here. | |
6798 | * config/sparc/lynx.h (BSS_SECTION_ASM_OP): Here. | |
6799 | * config/sparc/pbd.h (ASM_INT_OP): Here. | |
6800 | * config/sparc/sp64-elf.h (UNALIGNED_LONGLONG_ASM_OP): Here. | |
6801 | * config/sparc/sparc.h (ASM_BYTE_OP, TEXT_SECTION_ASM_OP, | |
6802 | DATA_SECTION_ASM_OP, IDENT_ASM_OP): Here. | |
6803 | * config/sparc/sun4gas.h (UNALIGNED_DOUBLE_INT_ASM_OP, | |
6804 | UNALIGNED_INT_ASM_OP, UNALIGNED_SHORT_ASM_OP): Here. | |
6805 | * config/sparc/sysv4.h (STRING_ASM_OP, COMMON_ASM_OP, SKIP_ASM_OP, | |
6806 | UNALIGNED_DOUBLE_INT_ASM_OP, UNALIGNED_INT_ASM_OP, | |
6807 | UNALIGNED_SHORT_ASM_OP, PUSHSECTION_ASM_OP, POPSECTION_ASM_OP, | |
6808 | TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP, | |
6809 | CONST_SECTION_ASM_OP, INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP, | |
6810 | CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, | |
6811 | EH_FRAME_SECTION_ASM_OP): Here. | |
6812 | * config/sparc/vxsim.h (COMMON_ASM_OP): Here. | |
6813 | * config/spur/spur.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): | |
6814 | Here. | |
6815 | * config/tahoe/tahoe.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): | |
6816 | Here. | |
6817 | * config/v850/v850.h (SCOMMON_ASM_OP, ZCOMMON_ASM_OP, | |
6818 | TCOMMON_ASM_OP): Here. | |
6819 | * config/vax/vax.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): | |
6820 | Here. | |
6821 | * config/we32k/we32k.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, | |
6822 | ASM_BYTE_OP): Here. | |
0a3e1f45 | 6823 | |
ea9ea008 RH |
6824 | 2000-09-25 Richard Henderson <rth@cygnus.com> |
6825 | ||
6826 | * expmed.c (store_bit_field): Adjust last change to not consider | |
6827 | any word-sized field naturally aligned. | |
6828 | ||
9e495700 RH |
6829 | 2000-09-24 Richard Henderson <rth@cygnus.com> |
6830 | ||
6831 | * config/alpha/alpha.c (alpha_emit_conditional_branch): Handle | |
6832 | TFmode unordered compares properly. Revalidate integer compare | |
6833 | operands. | |
6834 | (alpha_emit_setcc): New. | |
6835 | (alpha_emit_conditional_move): Revalidate integer compare operands. | |
6836 | * config/alpha/alpha-protos.h: Update. | |
6837 | * config/alpha/alpha.md (cmpdi): Allow general operands. | |
6838 | (sne): Use alpha_emit_setcc. | |
6839 | (seq, slt, sle, sgt, sge, sltu, sleu, sgtu, sgeu): Likewise. | |
6840 | (sunordered, sordered): New. | |
6841 | ||
2ed4af6f RH |
6842 | 2000-09-24 Richard Henderson <rth@cygnus.com> |
6843 | ||
6844 | * config/ia64/ia64-protos.h: Update. | |
6845 | * config/ia64/ia64.c (call_multiple_values_operation): Remove. | |
6846 | (ia64_expand_call): New. | |
6847 | (ia64_expand_prologue): Emit an alloc if we need extra input | |
6848 | registers. | |
6849 | (ia64_expand_epilogue): New arg sibcall_p; don't emit the return | |
6850 | instruction if true. | |
6851 | (struct reg_flags): Add is_sibcall. | |
6852 | (rtx_needs_barrier): A sibcall does not use CFM et al. Ignore USEs. | |
6853 | (emit_insn_group_barriers): Set flags.is_sibcall. Remove hacks | |
6854 | for CODE_FOR_gr_spill_internal/CODE_FOR_gr_restore_internal. | |
6855 | * config/ia64/ia64.h (PREDICATE_CODES): Update. | |
6856 | * config/ia64/ia64.md (call): Use ia64_expand_call. | |
6857 | (call_value): Likewise. | |
6858 | (sibcall, sibcall_value): New. | |
6859 | (call patterns): Remove extra expanders; tidy. | |
6860 | (sibcall_epilogue): New. | |
6861 | (set_bsp): Remove the extra USE. Put the operand inside the UNSPEC. | |
6862 | ||
e1389cac RH |
6863 | 2000-09-24 Richard Henderson <rth@cygnus.com> |
6864 | ||
6865 | * emit-rtl.c (gen_lowpart_common): Use trunc_int_for_mode. | |
6866 | ||
fd442cef RH |
6867 | * sibcall.c (skip_pic_restore): New. |
6868 | (identify_call_return_value): Use it. | |
6869 | ||
c06aa51e MM |
6870 | 2000-09-24 Mark Mitchell <mark@codesourcery.com> |
6871 | ||
6872 | * c-tree.texi: Moved here from cp/ir.texi. Documented nested | |
6873 | functions. Generalize to handle both C and C++. | |
6874 | * Makefile.in (c-tree.info): New target. | |
6875 | (info): Add c-tree.info. | |
b8dad04b | 6876 | |
bd5dab53 RK |
6877 | Sun Sep 24 09:15:48 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
6878 | ||
6879 | * expr.c (store_field): If BITSIZE is negative, use size of type. | |
6880 | (expand_expr, case COMPONENT_EXPR): Likewise. | |
6881 | ||
838f313b NB |
6882 | Sun 24-Sep-2000 11:40:23 BST Neil Booth <NeilB@earthling.net> |
6883 | ||
6884 | * cpplex.c: Update TODO comment. | |
6885 | * cpplib.c (do_error, do_warning): Merge common code of | |
6886 | do_error and do_warning into do_diagnostic. Use it. | |
6887 | (do_diagnostic): New function. | |
6888 | * cpplib.h: Fix comment typo. | |
6889 | ||
c5412f06 JM |
6890 | 2000-09-24 Joseph S. Myers <jsm28@cam.ac.uk> |
6891 | ||
6892 | * c-common.c (check_format_info): Warn for a wide character string | |
6893 | used as a non-wide format argument. | |
6894 | ||
1c44c45d JM |
6895 | 2000-09-24 Joseph S. Myers <jsm28@cam.ac.uk> |
6896 | ||
6897 | * builtins.def (BUILT_IN_LLABS): Add. | |
6898 | * builtins.c (expand_builtin): Also abort on BUILT_IN_LLABS. | |
6899 | * c-common.c (c_common_nodes_builtins): Create builtin functions | |
6900 | __builtin_llabs, and plain llabs unless no_nonansi_builtins | |
6901 | outside of C99 mode. | |
6902 | (expand_tree_builtin): Handle BUILT_IN_LLABS. | |
6903 | ||
cbcff6df NB |
6904 | Sat 23-Sep-2000 22:39:18 BST Neil Booth <NeilB@earthling.net> |
6905 | ||
6906 | * cpphash.h (CPP_RESERVE, CPP_PUTS_Q, CPP_PUTS, CPP_PUTC_Q, | |
6907 | CPP_PUTC, DUMMY_TOKEN, NO_DUMMY_TOKEN): Delete. | |
6908 | * cpplex.c (_cpp_expand_token_space, _cpp_init_toklist, | |
6909 | _cpp_free_toklist): No need to worry about extra dummy token | |
6910 | at the start of token lists any more. | |
6911 | (trigraph_ok): Only warn outside comments. | |
6912 | (skip_block_comment): Set and clear lexing_comment. | |
6913 | (skip_line_comment): Take a cpp_reader not cpp_buffer. | |
6914 | Set and clear lexing_comment. | |
6915 | (parse_number): Handle leading '.' indicated by pfile->seen_dot. | |
6916 | (check_long_token): Delete. | |
6917 | (lex_percent, lex_dot): New subroutines of lex_token to | |
6918 | handle lexing of '.' and '%' without lookback. | |
6919 | (lex_token): Use lex_dot and lex_percent. | |
6920 | (lex_line): Don't check for LIST_OFFSET. | |
6921 | (_cpp_init_input_buffer): Update for new _cpp_init_toklist. | |
6922 | * cpplib.c (_cpp_parse_assertion): Similarly. | |
6923 | (cpp_push_buffer): Initialize extra_char. | |
6924 | * cpplib.h (LIST_OFFSET): Delete. | |
6925 | (struct cpp_buffer): New member extra_char. | |
6926 | (struct lexer_state): New members lexing_comment and seen_dot. | |
6927 | ||
2abdcaee JM |
6928 | 2000-09-23 Jason Merrill <jason@redhat.com> |
6929 | ||
6930 | * config/rs6000/x-aix41 (CLIB): Define here. | |
6931 | * config/rs6000/t-aix43: Not here. | |
6932 | * config/rs6000/t-aix41: Or here. Remove. | |
6933 | * configure.in: Don't use it. | |
6934 | ||
981d4858 JM |
6935 | 2000-09-22 Jason Merrill <jason@redhat.com> |
6936 | ||
2abdcaee JM |
6937 | * configure.in: Add test for HAVE_LD_DWARF_LINKONCE. |
6938 | * toplev.c: Use it to initialize flag_eliminate_dwarf2dups. | |
6939 | * config.in: Regenerate. | |
6940 | ||
981d4858 JM |
6941 | * configure.in: Fix checks for assembler features when using a |
6942 | one-tree assembler that has not yet been built. | |
6943 | Fix --disable-threads. | |
6944 | ||
afa223c6 GK |
6945 | 2000-09-19 Geoff Keating <geoffk@cygnus.com> |
6946 | ||
6947 | * stmt.c (expand_asm_operands): Allow # in constraints. | |
6948 | ||
a3a834aa JM |
6949 | 2000-09-22 Jason Merrill <jason@redhat.com> |
6950 | ||
6951 | * c-lex.c (skip_white_space): Just treat CRs as horizontal whitespace. | |
6952 | ||
6953 | * dbxout.c (dbxout_symbol_name): Just use DECL_NAME for | |
6954 | function-local names. | |
6955 | ||
18424ae1 BL |
6956 | 2000-09-22 Brad Lucier <lucier@math.purdue.edu> |
6957 | Mark Mitchell <mark@codesourcery.com> | |
6958 | ||
b8dad04b ZW |
6959 | * toplev.c (warn_disabled_optimization): Declare new warning flag. |
6960 | * flags.h (warn_disabled_optimization): Add it here. | |
6961 | * gcse.c (gcse_main): Add warning when disabled. | |
6962 | * invoke.texi: Document -Wdisabled-optimization. | |
18424ae1 | 6963 | |
1bfb5f8f JM |
6964 | 2000-09-21 Jason Merrill <jason@redhat.com> |
6965 | ||
6966 | * dwarf2out.c (add_const_value_attribute): Multiply by length, not 4. | |
6967 | ||
6968 | * dwarf2out.c (tree_add_const_value_attribute): New fn. | |
6969 | (gen_variable_die): Call it for non-definitions. | |
6970 | ||
6971 | * dwarf2out.c (die_struct): Add die_mark field. | |
6972 | (mark_dies, unmark_dies): New fns. | |
6973 | (clear_die_sizes): Remove. | |
6974 | (print_die): Check die_symbol rather than die_offset. | |
6975 | (build_abbrev_table, output_pubnames, output_aranges): Check | |
6976 | die_mark rather than die_offset. | |
6977 | (output_comp_unit): Move calc_die_sizes after build_abbrev_table. | |
6978 | Call mark_dies. | |
6979 | ||
2047e26f NB |
6980 | Thu 21-Sep-2000 18:19:05 BST Neil Booth <NeilB@earthling.net> |
6981 | ||
6982 | * cppfiles.c (lookup_include_file): Rename to open_file. | |
6983 | Always create a splay tree value, even on syscall failures. | |
6984 | Negative entries indicated by fd == -2. | |
6985 | Re-open files closed in the meantime. | |
6986 | (_cpp_fake_include): Create a negative splay tree entry. | |
6987 | (find_include_file, cpp_read_file): Update for function name | |
6988 | change. | |
6989 | * gcc.gd/cpp/mi4.c: Testcase. | |
6990 | ||
f27cd94d NC |
6991 | 2000-09-21 Nick Clifton <nickc@redhat.com> |
6992 | ||
2359a5e1 NC |
6993 | * config/arm/t-arm-elf (MULTILIB_DIRNAMES): Enable multilibs for |
6994 | ARM and THUMB modes. | |
6995 | ||
f27cd94d | 6996 | * config/mcore/mcore.c: Fix compile time warnings. |
b8dad04b | 6997 | * config/mcore/mcore-protos.h: Fix compile time warnings. |
f27cd94d | 6998 | |
7373064a DA |
6999 | 2000-09-20 J. David Anglin <dave@hiauly1.hia.nrc.ca> |
7000 | ||
7001 | * configure.in: Correct test of gcc_cv_glibc. | |
7002 | * configure: Rebuilt. | |
7003 | * config.in: Rebuilt. | |
7004 | ||
07328167 KG |
7005 | 2000-09-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
7006 | ||
7007 | * builtins.c (expand_builtin_fputs): Also expand when length!=1. | |
7008 | (expand_builtin): Handle BUILT_IN_FWRITE. | |
7009 | ||
7010 | * builtins.def (BUILT_IN_FWRITE): New entry. | |
7011 | ||
7012 | * c-common.c (c_common_nodes_and_builtins): Declare __builtin_fwrite. | |
7013 | ||
5fa7c8ce RK |
7014 | Wed Sep 20 15:39:14 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
7015 | ||
dc36ec2c RK |
7016 | * gcc.c (modify_target): New variable and struct. |
7017 | (process_command): Handle MODIFY_TARGET_NAME. | |
7018 | * tm.texi (MODIFY_TARGET_NAME): Add documentation for new macro. | |
7019 | * config/pa/pa.h (MODIFY_TARGET_NAME): New macro. | |
7020 | ||
5fa7c8ce RK |
7021 | * c-decl.c (finish_decl): Add else's to avoid referencing |
7022 | TYPE_DOMAIN of an ERROR_MARK. | |
7023 | ||
155b14a8 DC |
7024 | Wed Sep 20 21:44:31 2000 Denis Chertykov <denisc@overta.ru> |
7025 | ||
7026 | * config/avr/avr.c (adjust_insn_length): Adjust lengths of | |
7027 | `reload_in*' insns. | |
7028 | ||
7029 | 2000-09-19 Marek Michalkiewicz <marekm@linux.org.pl> | |
7030 | ||
7031 | * config/avr/avr.md (neghi2): Add alternative for input and output | |
7032 | operands in different registers, as in negsi2. | |
7033 | (*negsi2): Remove '*' from the name. Use "movw" if available. | |
7034 | ||
fd09c61f JW |
7035 | 2000-09-19 Jim Wilson <wilson@cygnus.com> |
7036 | ||
7037 | * config/ia64/crtbegin.asm (__dso_handle): Delete use of | |
7038 | HAVE_GAS_HIDDEN macro. | |
7039 | ||
7eea5554 NB |
7040 | Tue 19-Sep-2000 22:38:57 BST Neil Booth <NeilB@earthling.net> |
7041 | ||
7042 | * cpplex.c (lex_line): Drop the EOF token for unknown | |
7043 | directives in assembler. | |
7044 | ||
a473fe45 DE |
7045 | 2000-09-19 David Edelsohn <edelsohn@gnu.org> |
7046 | ||
7047 | * configure.in: Allow enable_threads_flag value of "aix". Define | |
fd60bf96 | 7048 | thread_file as "aix" for AIX 4.3 and above. |
a473fe45 | 7049 | * configure: Regenerated. |
fd60bf96 DE |
7050 | |
7051 | * gthr-aix.h: New file. | |
7052 | ||
a473fe45 DE |
7053 | * rs6000/t-aix43: Replace soft-float multilib with pthread. |
7054 | Remove 403 processor multilib match. Fix rios2 processor multilib | |
7055 | match. | |
7056 | ||
fd60bf96 DE |
7057 | * rs6000/aix.h (ASM_DECLARE_FUNCTION_NAME): Use function_section |
7058 | to return to appropriate csect. | |
7059 | ||
ad3fd36f KG |
7060 | 2000-09-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
7061 | ||
7062 | * builtins.c (is_valid_printf_arglist, expand_builtin_printf): New | |
7063 | functions. | |
7064 | (expand_builtin_fputs): Set `target' parameter for `expand_expr'. | |
7065 | (expand_builtin): Handle BUILT_IN_PUTCHAR, BUILT_IN_PUTS and | |
7066 | BUILT_IN_PRINTF. | |
7067 | ||
7068 | * builtins.def (BUILT_IN_PUTCHAR, BUILT_IN_PUTS, BUILT_IN_PRINTF): | |
7069 | New entries. | |
7070 | ||
7071 | * c-common.c (init_function_format_info): Handle __builtin_printf. | |
7072 | Set `check_function_format_ptr'. | |
7073 | (c_common_nodes_and_builtins): Set `puts_ftype' and | |
7074 | `printf_ftype'. Declare __builtin_putchar, __builtin_puts, | |
7075 | __builtin_printf and printf. | |
7076 | ||
7077 | * tree.c, tree.h (check_function_format_ptr): Declare. | |
7078 | ||
6f3d20a0 NB |
7079 | Tue 19-Sep-2000 18:26:57 BST Neil Booth <NeilB@earthling.net> |
7080 | ||
b8dad04b | 7081 | * cppfiles.c (read_include_file): Take no special action for |
6f3d20a0 NB |
7082 | zero-length files. |
7083 | ||
b4f75276 BS |
7084 | 2000-09-19 Bernd Schmidt <bernds@redhat.co.uk> |
7085 | ||
afc6898e BS |
7086 | * final.c (insn_current_reference_address): Use INSN_SHUID of seq |
7087 | rather than that of branch. | |
7088 | (shorten_branches): Don't increment insn_current_address twice. | |
7089 | ||
b4f75276 BS |
7090 | Undo most of the Wed Jan 27 23:39:53 1999 patch: |
7091 | * loop.h (struct induction): Delete members derived, ix and last_use. | |
7092 | (struct loop_ivs): Delete members first_increment_giv and | |
7093 | last_increment_giv. | |
7094 | * loop.c (verify_dominator, find_life_end, cmp_recombine_givs_stats, | |
7095 | recombine_givs): Delete functions. | |
7096 | (find_and_verify_loops): Don't initialize cont_dominator. | |
7097 | (strength_reduce): Lose code to try to find bivs that can be | |
7098 | expressed as givs of another biv, and to convert biv increments | |
7099 | into givs. | |
7100 | Lose loop_scan_start variable, always use loop->scan_start. | |
7101 | Don't call recombine_givs. Don't handle derived givs. | |
7102 | (record_giv): Don't initialize derived and last_use fields. | |
7103 | (biv_eliminiation_giv_has_0_offset): Lose code to handle derived | |
7104 | givs. | |
7105 | * unroll.c (derived_regs): Delete static variable. | |
7106 | (unroll_loop): Don't initialize it. | |
7107 | (copy_loop_body): Lose code to handle derived givs. | |
7108 | (find_splittable_givs): Don't check for givs made from biv | |
7109 | increments. | |
7110 | Don't set derived_regs. | |
7111 | ||
0f805606 BS |
7112 | Fix misapplied earlier patch: |
7113 | * config/sh/sh.md (floatsisf_ie): Reenable. Remove explicit reference | |
7114 | to fpul. | |
7115 | (floatsisf2): Generate floatsisf_ie by default. | |
7116 | (floatsisf_i4): Conditional on TARGET_SH4. | |
7117 | ||
7118 | (floatsisf2, floatsidf2, extendsfdf2): Also use reg_no_subreg_operand | |
7119 | predicate for the expanders. | |
7120 | ||
8aa0e194 RH |
7121 | 2000-09-19 Richard Henderson <rth@cygnus.com> |
7122 | ||
0d97fd9e RH |
7123 | * config/i386/i386.h (CPP_CPU_SPEC): Define i586 and i686 symbols |
7124 | in addition to pentium and pentiumpro symbols. | |
7125 | (CPP_CPU_DEFAULT_SPEC): Likewise. | |
7126 | ||
39b726dd RH |
7127 | * c-typeck.c (c_expand_asm_operands): Restore the output tree |
7128 | after expanding. | |
7129 | ||
9790cefd RH |
7130 | * stmt.c (expand_expr_stmt): Only call warn_if_unused_value |
7131 | if the tree has side effects. | |
7132 | (warn_if_unused_value): Do not warn about void constructs. | |
7133 | ||
8e5a0fcb RH |
7134 | * c-decl.c (poplevel): Invoke warn_about_unused_variables. |
7135 | ||
8aa0e194 RH |
7136 | * unroll.c (copy_loop_body): Update LABEL_NUSES before |
7137 | calling invert_jump. | |
7138 | ||
62f7f1f5 GK |
7139 | 2000-09-18 Geoff Keating <geoffk@cygnus.com> |
7140 | ||
7141 | * combine.c (can_combine_p): Don't substitute an ASM_OPERANDS | |
7142 | into anything. | |
7143 | ||
3f80e6ac KG |
7144 | 2000-09-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
7145 | ||
7146 | * Makefile.in (c-common.o): Depend on diagnostic.h. | |
7147 | ||
7148 | * c-common.c: Include diagnostic.h. | |
7149 | (tfaff): Delete. | |
7150 | (status_warning): New function. | |
7151 | (check_format_info, maybe_read_dollar_number, check_format_types, | |
7152 | finish_dollar_format_checking, check_function_format): Accept a | |
7153 | `status' parameter. All callers changed. | |
7154 | ||
7155 | * c-common.h (check_function_format): Accept a `status' parameter. | |
7156 | ||
7157 | * c-typeck.c: Update call to `check_function_format'. | |
7158 | ||
cfbd829c RH |
7159 | 2000-09-18 Richard Henderson <rth@cygnus.com> |
7160 | ||
7161 | * c-decl.c (c_expand_body): Call mark_varargs before | |
7162 | expand_function_start. | |
7163 | ||
c21d86e1 GK |
7164 | 2000-09-18 Geoff Keating <geoffk@cygnus.com> |
7165 | ||
7166 | * config/rs6000/eabi-cn.asm: Use /**/ to delimit comments, not #. | |
7167 | * config/rs6000/eabi-ci.asm: Likewise. | |
7168 | ||
f0417c82 RH |
7169 | 2000-09-18 Richard Henderson <rth@cygnus.com> |
7170 | ||
7171 | * emit-rtl.c (init_emit_once): Initialize const_tiny_rtx | |
7172 | for BImode. | |
7173 | ||
226ed43f JW |
7174 | 2000-09-18 Jim Wilson <wilson@cygnus.com> |
7175 | ||
5c3c320e JW |
7176 | * unroll.c (loop_iterations): Pass increment to extend_for_giv_value |
7177 | before passing it to fold_rtx_mult_add. | |
7178 | ||
ec919c98 JW |
7179 | * unroll.c (final_giv_value): Pass increment through |
7180 | extend_value_for_giv before passing it to emit_iv_add_mult. | |
7181 | ||
226ed43f JW |
7182 | * function.c (fixup_var_refs_1, case ZERO_EXTRACT): If we have a |
7183 | paradoxical subreg, then directly substitute the replacement and | |
7184 | return. | |
7185 | ||
b542c0fb NB |
7186 | Mon 18-Sep-2000 22:12:44 BST Neil Booth <NeilB@earthling.net> |
7187 | ||
b4f75276 | 7188 | * cpp.texi: Update documentation, including some clarifications, |
b542c0fb NB |
7189 | the treatment of various newline combinations, and space between |
7190 | backslash and newline. | |
7191 | ||
800a6a0c R |
7192 | Mon Sep 18 21:00:47 2000 J"orn Rennecke <amylaar@redhat.co.uk> |
7193 | ||
7194 | * sdbout.c (PUT_SDB_DEF, PUT_SDB_TAG, PUT_SDB_EPILOGUE_END): | |
7195 | Replace ASM_OUTPUT_LABELREF with assemble_name. | |
7196 | ||
50ceefc2 R |
7197 | Mon Sep 18 20:26:50 2000 J"orn Rennecke <amylaar@redhat.co.uk> |
7198 | ||
7199 | * sh.c (addsubcosts): CONST is not cheap. | |
7200 | (find_barrier): For Sh1, take alignment after jumps into account. | |
7201 | ||
659e47fb AH |
7202 | 2000-09-15 Andrew Haley <aph@redhat.com> |
7203 | ||
7204 | * toplev.c (rest_of_compilation): Call purge_hard_subreg_sets to | |
7205 | remove all SETs of SUBREGs of hard registers. | |
7373064a | 7206 | * function.c (purge_hard_subreg_sets): New function. |
659e47fb AH |
7207 | (purge_single_hard_subreg_set): New function. |
7208 | * rtl.h: (purge_hard_subreg_sets): New function. | |
7209 | ||
f2f90c63 RH |
7210 | 2000-09-18 Richard Henderson <rth@cygnus.com> |
7211 | ||
7212 | * config/ia64/ia64-protos.h: Update. | |
7213 | * config/ia64/ia64.c (signed_inequality_operator): New. | |
7214 | (ia64_expand_compare): New. | |
7215 | (ia64_register_move_cost): Handle PR_REGS moves. | |
7216 | (ia64_secondary_reload_class): Require a GR when moving to a PR. | |
7217 | (struct reg_write_state): Add written_by_and/or. | |
7218 | (struct reg_flags): Add is_and/or. | |
7219 | (rws_update): Set them. | |
7220 | (rws_access_regno): Test them to allow parallel comparisons. | |
7221 | (rtx_needs_barrier): Recognize parallel comparisons. | |
7222 | (emit_insn_group_barriers): Set prev_insn after a call stop bit. | |
7223 | Call recog_memoized; ignore pred_rel_mutex. | |
7224 | (emit_predicate_relation_info): Don't call find_basic_blocks here. | |
7225 | (ia64_reorg): Do it here instead. | |
7226 | * config/ia64/ia64.h: s/CCmode/BImode/g | |
7227 | (MODES_TIEABLE_P): Don't tie BImode. | |
7228 | (PREFERRED_RELOAD_CLASS): Do not reload operations into AR regs. | |
7229 | (CONST_COSTS): Pick sensible values for CONST_INT based on context. | |
7230 | (RTX_COSTS): Make multiply 4 insns. | |
7231 | (MEMORY_MOVE_COST): New. | |
7232 | (PREDICATE_CODES): Update. | |
7233 | * config/ia64/ia64.md: s/CCmode/BImode/g | |
7234 | (movcci, movbi): New. | |
7235 | (andbi3, andcmbi3, iorbi3, iorcmbi3, one_cmplbi2): New. | |
7236 | (cmpsi_and_0, cmpsi_and_1, cmpsi_andnot_0, cmpsi_andnot_1): New. | |
7237 | (cmpdi_and_0, cmpdi_and_1, cmpdi_andnot_0, cmpdi_andnot_1): New. | |
7238 | (tbit_and_0, tbit_and_1, tbit_and_2, tbit_and_3): New. | |
7239 | (cmpsi_or_0, cmpsi_or_1, cmpsi_orcm_0, cmpsi_orcm_1): New. | |
7240 | (cmpdi_or_0, cmpdi_or_1, cmpdi_orcm_0, cmpdi_orcm_1): New. | |
7241 | (tbit_or_0, tbit_or_1, tbit_or_2, tbit_or_3): New. | |
7242 | (mulsi, muldi): Use xmpy not xma. | |
7243 | (cmpbi): New. | |
7244 | (movcc, movcc_internal): Remove. | |
7245 | (branch expanders): Use ia64_expand_compare. | |
7246 | (setcc expanders): Likewise. | |
7247 | (cmov insns): Use move_operand and ia64_move_ok. | |
7248 | (pred_rel_mutex): Use unspec not unspec_volatile. Prevent the | |
7249 | scheduler from moving it past a use. | |
7250 | * config/ia64/build.hacks: Remove. | |
7251 | ||
0d9f234d NB |
7252 | Mon 18-Sep-2000 19:21:35 BST Neil Booth <NeilB@earthling.net> |
7253 | ||
7254 | * cpphash.h (HASHSTEP): Take character rather than pointer | |
7255 | to character. | |
7256 | (_cpp_check_directive, _cpp_check_linemarker): Update prototypes. | |
7257 | ||
7258 | * cpphash.c (cpp_loookup): Update for new HASHSTEP. | |
7259 | ||
7260 | * cpplex.c (auto_expand_name_space, trigraph_replace, | |
7261 | backslash_start, handle_newline, parse_name, INIT_TOKEN_STR, | |
7262 | IMMED_TOKEN, PREV_TOKEN_TYPE, PUSH_TOKEN, REVISE_TOKEN, | |
7263 | BACKUP_TOKEN, BACKUP_TRIGRAPH, MIGHT_BE_DIRECTIVE, | |
7264 | KNOWN_DIRECTIVE): Delete. | |
7265 | ||
7266 | (handle_newline, check_long_token, skip_escaped_newlines, | |
7267 | unterminated): New functions. | |
7268 | (ACCEPT_CHAR, SAVE_STATE, RESTORE_STATE): New macros. | |
7269 | ||
7270 | (parse_identifier): Was parse_name, new implementation. | |
7271 | (skip_line_comment, skip_block_comment, skip_whitespace, | |
7272 | parse_number, parse_string, trigraph_ok, save_comment, | |
7273 | adjust_column, _cpp_get_line): New implementations. | |
7274 | ||
7275 | (lex_token): New function. Lexes a token at a time, looking | |
7276 | forwards. Contains most of the guts of the old lex_line. | |
7277 | (lex_line): New implementation, using lex_token to obtain | |
7278 | individual tokens. | |
7279 | (cpp_scan_buffer): Use the token's line, not the list's line. | |
7280 | ||
7281 | * cpplib.c (_cpp_check_directive, _cpp_check_linemarker): | |
7282 | New implementations. | |
7283 | (do_assert): Don't bother setting the answer's list's line. | |
7284 | (cpp_push_buffer): Initialise new pfile and read_ahead members | |
7285 | of struct cpp_buffer. | |
7286 | ||
7287 | * cpplib.h (cppchar_t): New typedef. | |
7288 | (struct cpp_buffer): read_ahead, pfile and col_adjust are | |
7289 | new members. | |
7290 | (struct lexer_state): New structure that determines the state | |
7291 | and behaviour of the lexer. | |
7292 | (IN_DIRECTIVE, KNOWN_DIRECTIVE): New macros. | |
7293 | (struct cpp_reader): New member "state". Rename | |
7294 | multiline_string_line and multiline_string_column. Delete | |
7295 | col_adjust, in_lex_line members. | |
7296 | (CPP_BUF_COLUMN): Update. | |
7297 | ||
a191f0ee RH |
7298 | 2000-09-18 Richard Henderson <rth@cygnus.com> |
7299 | ||
9f8e169e RH |
7300 | * combine.c (simplify_comparison): Shift a NOT out of a single |
7301 | bit test. | |
7302 | ||
1f3f36d1 RH |
7303 | * combine.c (if_then_else_cond): Canonicalize BImode true to |
7304 | STORE_FLAG_VALUE. | |
7305 | * explow.c (trunc_int_for_mode): Likewise. | |
7306 | ||
5bd60ce6 RH |
7307 | * combine.c (combine_simplify_rtx): Use gen_unary to distribute |
7308 | the NOT for De Morgan's rule. | |
7309 | * simplify-rtx.c (simplify_unary_operation): Simplify a BImode NOT | |
7310 | of a comparison to the reverse comparison. | |
7311 | ||
d340408c RH |
7312 | * combine.c (try_combine): Allow split to create a single insn. |
7313 | ||
a191f0ee RH |
7314 | * machmode.def: Add BImode. Add a column for bitsize. |
7315 | * machmode.h (DEF_MACHMODE): Adjust for extra column. | |
7316 | (GET_MODE_BITSIZE): Use it. | |
7317 | * rtl.c (DEF_MACHMODE): Adjust for extra column. | |
7318 | (mode_bitsize): New. | |
7319 | (mode_mask_array): Use bitsize. | |
7320 | * combine.c (combine_simplify_rtx): Require inner and outer | |
7321 | modes to match on nonzero_bits optimizations. | |
7322 | ||
5d77a50c BS |
7323 | 2000-09-18 Bernd Schmidt <bernds@redhat.co.uk> |
7324 | ||
7325 | * reload1.c (forget_old_reloads_1): If a hard reg is stored, clear | |
7326 | its entry in spill_reg_store. | |
0fb8cb90 | 7327 | * config/sh/lib1funcs.ams (movstr_i4 functions): Always compile in. |
2e361e59 BS |
7328 | * sh.c (reg_no_subreg_operand): New function. |
7329 | * sh-protos.h (reg_no_subreg_operand): Declare it. | |
7330 | * sh.h (PREDICATE_CODES): Add it. | |
7331 | * sh.md (floatsisf2_i4, floatsidf2_i, extendsfdf2_i4): Use it for | |
7332 | input operand that needs to be in fpul. | |
7333 | (fix_truncsfsi2, fix_truncsfsi2_i4): Use register_operand for output. | |
42d5d0f1 BS |
7334 | * sh.c (find_barrier): Take into account that machine_dependent_reorg |
7335 | might add new insns. | |
5d77a50c | 7336 | |
55eec660 AO |
7337 | 2000-09-18 Alexandre Oliva <aoliva@redhat.com> |
7338 | ||
40fc375d AO |
7339 | * config/sh/sh.c (sh_expand_prologue): Mark GOTaddr2picreg as |
7340 | MAYBE_DEAD. | |
7341 | (sh_expand_epilogue): Take the PIC register into account when | |
7342 | computing the frame size. | |
7343 | ||
55eec660 AO |
7344 | * config/sh/sh.c (nonpic_symbol_mentioned_p): Check LABEL_REFs. |
7345 | * config/sh/sh.md (sym_label2reg, symPLT_label2reg): Protect | |
7346 | LABEL_REFs with a PIC-safe unspec. | |
7347 | ||
fc6df7e1 JM |
7348 | 2000-09-18 Joseph S. Myers <jsm28@cam.ac.uk> |
7349 | ||
7350 | * c-common.c (check_format_info): Properly save the argument | |
7351 | number and parameter for $ operand number formats in case width | |
7352 | and precision arguments are also used. Allow printf width and | |
7353 | precision arguments to have operand numbers even if none was | |
7354 | specified for the main format, since this is OK for %*.*m. Only | |
7355 | object to missing $ operand number if the format used requires an | |
7356 | argument. | |
7357 | ||
effa5541 JM |
7358 | 2000-09-18 Joseph S. Myers <jsm28@cam.ac.uk> |
7359 | ||
7360 | * c-common.c (format_char_info): Add 'W' flag to comment. | |
7361 | (print_char_table, scan_char_table): Use it. | |
7362 | (check_format_info): Use the 'W' flag to determine whether a | |
7363 | format argument is written into. | |
7364 | ||
99303ae4 JM |
7365 | 2000-09-18 Joseph S. Myers <jsm28@cam.ac.uk> |
7366 | ||
7367 | * c-common.c (check_format_types): Reorganise and clean up, | |
7368 | checking earlier for ERROR_MARKs and making cur_type into its | |
7369 | TYPE_MAIN_VARIANT where convenient. | |
7370 | ||
9231abf2 JM |
7371 | 2000-09-18 Joseph S. Myers <jsm28@cam.ac.uk> |
7372 | ||
7373 | * gcc.c (cpp_options): Add specs for __STDC_HOSTED__. | |
7374 | ||
cf67d231 BS |
7375 | 2000-09-18 Bernd Schmidt <bernds@redhat.co.uk> |
7376 | ||
7377 | * optabs.c (emit_libcall_block): Set CONST_CALL_P for the call. | |
7378 | ||
bd793c65 BS |
7379 | * i386-protos.h (ix86_init_builtins, ix86_expand_builtin): Declare. |
7380 | * i386.c (struct builtin_description): New. | |
7381 | (bdesc_comi, bdesc_2arg, bdesc_1arg): New arrays. | |
7382 | (mmx_reg_operand): Declare MODE arg as unused. | |
7383 | (ix86_expand_sse_comi, ix86_expand_sse_compare, safe_vector_operand, | |
7384 | ix86_expand_unop1_builtin, ix86_expand_unop_builtin, | |
7385 | ix86_expand_binop_builtin, ix86_expand_store_builtin, | |
7386 | ix86_init_builtins, ix86_expand_builtin): New functions. | |
7387 | * i386.h (ix86_builtins): New enumeration. | |
7388 | (MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): New macros. | |
7389 | * i386.md (attr length_immediate): 0 for mmx/sse types. | |
7390 | (attr prefix_0f): 1 for mmx/sse types. | |
7391 | (setcc_2): Remove "*" so we get gen_setcc_2. | |
7392 | (emms): Account for changed register numbering. Set "memory" attr | |
7393 | to unknown. | |
7394 | (sfence): Set "memory" attr to unknown. | |
7395 | ||
4070d885 AJ |
7396 | 2000-09-18 Andreas Jaeger <aj@suse.de> |
7397 | ||
7398 | * configure.in: Define _GNU_SOURCE only when using the GNU C | |
7399 | Library. | |
a191f0ee RH |
7400 | * configure: Regenerated. |
7401 | * config.in: Regenerated. | |
4070d885 | 7402 | |
2ac86f90 MM |
7403 | 2000-09-17 Mark Mitchell <mark@codesourcery.com> |
7404 | ||
31a1fdad MM |
7405 | * cppinit.c (cpp_init): Don't use ANSI prototypes. |
7406 | * flow.c (flow_dump_loop): Likewise. | |
7407 | (flow_loops_dump): Likewise. | |
7408 | ||
2ac86f90 MM |
7409 | * c-typeck.c (c_start_case): Fix typo. |
7410 | ||
60e9d01c JM |
7411 | 2000-09-17 Joseph S. Myers <jsm28@cam.ac.uk> |
7412 | ||
7413 | * c-decl.c (grokdeclarator): Don't give a warning about defaulting | |
7414 | to int for plain complex which defaults to complex double. Do | |
7415 | warn about defaulting to complex double if pedantic. Warn about | |
7416 | complex integer types if pedantic. Warn about complex types if | |
7417 | pedantic and not in C99 mode. | |
7418 | * c-typeck.c (build_unary_op): If pedantic, warn about use of ~ | |
7419 | for complex conjugation. | |
7420 | ||
bc5006c7 JM |
7421 | 2000-09-17 Joseph S. Myers <jsm28@cam.ac.uk> |
7422 | ||
7423 | * contrib.texi: Update my entry. | |
7424 | ||
7e3bd81e DC |
7425 | Sun Sep 17 18:48:32 2000 Denis Chertykov <denisc@overta.ru> |
7426 | ||
23cb1766 RK |
7427 | * config/avr/avr.md (mcu_enhanced): New attribute. |
7428 | (mcu_mega): Likewise. | |
7429 | (extendhisi2): Use mcu_enhanced. | |
7430 | (zero_extendhisi2): Likewise. | |
7431 | (call_insn): Use mcu_enhanced and mcu_mega. | |
7432 | (call_value_insn): Likewise. | |
7433 | (*sbrx_branch): Use mcu_mega. | |
7434 | (*sbrx_and_branchsi): Likewise. | |
7435 | (*sbrx_and_branchhi): Likewise. | |
7436 | (*tablejump_lib): Likewise. | |
7e3bd81e | 7437 | |
6a51f4a0 RK |
7438 | Sun Sep 17 10:46:17 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
7439 | ||
ec569656 RK |
7440 | * alias.c (true_dependence): Allow non-unchanging read to conflict |
7441 | with unchanging write. | |
7442 | ||
23cb1766 RK |
7443 | * expr.c (store_constructor_field): Accept ALIAS_SET arg. |
7444 | (store_constructor): Pass alias_set to it. | |
7445 | ||
a52fb89b RK |
7446 | * c-decl.c (grokdeclarator): Reorder tests to avoid looking at |
7447 | TYPE_MAIN_VARIANT of ERROR_MARK. | |
7448 | * c-lex.c (readescape): Avoid using printf syntax we don't recognize. | |
7449 | ||
6a51f4a0 RK |
7450 | * simplify-rtx.c (simplify_unary_operation): Add cases |
7451 | FLOAT_EXTEND and FLOAT_TRUNCATE to ones that return 0. | |
7452 | ||
ebb1b59a BS |
7453 | 2000-09-17 Bernd Schmidt <bernds@redhat.co.uk> |
7454 | ||
a191f0ee | 7455 | * expr.h (emit_library_call, emit_library_call_value): Delete |
ebb1b59a BS |
7456 | declarations. |
7457 | * rtl.h (enum libcall_type): New. | |
7458 | (emit_library_call, emit_library_call_value): Change fn_type arg to | |
a191f0ee | 7459 | be of type enum libcall_type. |
ebb1b59a BS |
7460 | * calls.c: Likewise for the function definitions. Several callers |
7461 | throughout changed to use the new enumeration appropriately. | |
7462 | (emit_library_call_value_1): Likewise. Put back code to make libcall | |
a191f0ee | 7463 | blocks of equal form, but only use it for the two new higher |
ebb1b59a BS |
7464 | enumeration values. |
7465 | ||
8f17b5c5 MM |
7466 | 2000-09-16 Mark Mitchell <mark@codesourcery.com> |
7467 | ||
7468 | Convert the C front-end to use function-at-a-time mode. | |
7469 | * c-common.h: Include splay-tree.h. | |
7470 | (C_DECLARED_LABEL_FLAG): New macro. | |
7471 | (struct language_function): Add x_scope_stmt_stack and | |
7472 | x_function_name_declared_p. | |
7473 | (RECHAIN_STMTS): Move definition. | |
7474 | (lang_statment_code_p): Likewise. | |
7475 | (lang_expand_stmt): Likewise. | |
7476 | (lang_expand_decl_stmt): New variable. | |
7477 | (lang_expand_function_end): Likewise. | |
7478 | (current_scope_stmt_stack): New function. | |
7479 | (add_decl_stmt): Likewise. | |
7480 | (add_scope_stmt): Likewise. | |
7481 | (mark_stmt_tree): Likewise. | |
7482 | (struct c_lang_decl): New structure. | |
7483 | (DECL_SAVED_TREE): Define. | |
7484 | (c_mark_lang_decl): New function. | |
7485 | (c_expand_start_cond): Change prototype. | |
7486 | (c_finish_then): New function. | |
7487 | (c_finish_else): Likewise. | |
7488 | (current_function_name_declared): Remove. | |
7489 | (set_current_function_name_declared): Likewise. | |
7490 | (mark_c_language_function): Declare. | |
7491 | (case_compare): Likewise. | |
7492 | (c_add_case_label): Likewise. | |
7493 | (c_expand_expr): Likewise. | |
7494 | (c_safe_from_p): Likewise. | |
7495 | * c-common.c (lang_expand_function_end): New variable. | |
7496 | (struct if_elt): Add if_stmt. | |
7497 | (c_expand_start_cond): Add the if-statement to the statement-tree, | |
7498 | rather than generating RTL. | |
7499 | (c_finish_then): New function. | |
7500 | (c_expand_start_else): Don't generate RTL. | |
7501 | (c_finish_else): New function. | |
7502 | (c_expand_expr_stmt): Don't generate RTL. | |
7503 | (statement_code_p): Add SCOPE_STMT. | |
7504 | (case_compare): New function. | |
7505 | (c_add_case_label): Likewise. | |
7506 | (mark_stmt_tree): Likewise. | |
7507 | (c_mark_lang_decl): Likewise. | |
7508 | (mark_c_language_function): Likewise. | |
7509 | (c_expand_expr): Likewise. | |
7510 | (c_safe_from_p): Likewise. | |
7511 | * c-decl.c (c_stmt_tree): New variable | |
7512 | (c_scope_stmt_stack): Likewise. | |
7513 | (c_function_name_declared_p): Likewise. | |
7514 | (lang_expand_expr_stmt): Remove. | |
7515 | (poplevel): Don't call output_inline_function for nested | |
7516 | functions. | |
7517 | (pushdecl): Don't set DECL_CONTEXT for a local declaration of an | |
7518 | `extern' function. | |
7519 | (redeclaration_error_message): Change means of computing whether | |
7520 | or not a function is nested. | |
7521 | (lookup_label): Don't call label_rtx. | |
7522 | (init_decl_processing): Add more GC roots. | |
7523 | (start_decl): Add DECL_STMTs to the statement-tree, rather than | |
7524 | calling rest_of_decl_compilation. | |
7525 | (finish_decl): Don't call expand_decl. | |
7526 | (store_parm_decls): Begin the statement-tree, but don't generate | |
7527 | RTL. | |
7528 | (finish_function): Tie off the statement-tree. Call c_expand_body | |
7529 | if appropriate. | |
7530 | (c_expand_body): New function. | |
7531 | (push_c_function_context): Save more information. | |
7532 | (pop_c_function_contxt): Likewise. | |
7533 | (copy_lang_decl): Now that we use DECL_LANG_SPECIFIC, copy it. | |
7534 | (lang_mark_tree): Mark it. | |
7535 | (current_stmt_tree): Adjust. | |
7536 | (current_scope_stmt_stack): New function. | |
7537 | (do_case): Remove. | |
7538 | (set_current_name_declared): Likewise. | |
7539 | (c_begin_compound_stmt): Define. | |
7540 | (c_expand_decl_stmt): Likewise. | |
7541 | * c-lang.c: Include rtl.h and expr.h. | |
7542 | (lang_init): Set more language-specific hooks. | |
7543 | * c-lex.c: Include expr.h. | |
7544 | * c-parse.in: Changes throughout to add statements to the | |
7545 | statement-tree, rather than generating RTL after every statement. | |
7546 | * c-semantics.c (lang_expand_decl_stmt): Define. | |
7547 | (add_decl_stmt): New function. | |
7548 | (add_scope_stmt): Likewise. | |
7549 | (finish_stmt_tree): Tweak. | |
7550 | (genrtl_expr_stmt): Likewise. | |
7551 | (genrtl_decl_stmt): Handle local labels, and call | |
7552 | lang_expand_decl_stmt if required. | |
7553 | (genrtl_for_stmt): Fix line-number handling. | |
7554 | (genrtl_case_label): Handle cleanups. | |
7555 | (genrtl_asm_stmt): Don't call combine_strings. | |
7556 | (genrtl_compound_stmt): Simplify. | |
7557 | (expand_stmt): Handle SCOPE_STMTs. | |
7558 | * c-tree.h (struct lang_decl): New structure. | |
7559 | (C_DECLARED_LABEL_FLAG): Remove. | |
7560 | (c_begin_compound_stmt): Declare. | |
7561 | (c_expand_decl_stmt): Likewise. | |
7562 | (c_expand_start_case): Rename to c_start_case. | |
7563 | (c_finish_case): New function. | |
7564 | * c-typeck.c (start_init): Tweak setting of | |
7565 | constructor_incremental. | |
7566 | (c_expand_asm_operands): Tweak error-handling. Add to the | |
7567 | statement-tree. | |
7568 | (c_expand_return): Add to the statement-tree. | |
7569 | (c_expand_start_case): Rename to ... | |
7570 | (c_start_case): ... this. | |
7571 | (struct c_switch): New type. | |
7572 | (switch_stack): New variable. | |
7573 | (do_case): Simplify. | |
7574 | (c_finish_case): New function. | |
7575 | * dependence.c: Include expr.h. | |
7576 | (enum dependence_type): Change spelling of enumerals. | |
7577 | (check_node_dependence): Adjust. | |
7578 | * expr.h (lang_safe_from_p): Declare. | |
7579 | (safe_from_p): Likewise. | |
7580 | * expr.c (lang_safe_from_p): New variable. | |
7581 | (safe_from_p): Give it external linkage. Use lang_safe_from_p. | |
7582 | * stmt.c (expand_expr_stmt): Avoid clobberring of last_expr_type. | |
7583 | * toplev.c (rest_of_decl_compilation): Robustify. | |
7584 | * tree.c (contains_placeholder_p): Likewise. | |
7585 | * Makefile.in: Update dependencies. | |
7586 | * objc/objc-act.h: Adjust calculation of value for dummy_tree_code. | |
7587 | * objc/objc-act.c: Include rtl.h, expr.h, and c-common.h. | |
7588 | (objc_expand_function_end): New function. | |
7589 | (finish_method_def): Use it. | |
7590 | (init_objc): Initialize more language-specific hooks. | |
7591 | * objc/Make-lang.in: Update dependencies. | |
7373064a | 7592 | |
4797e955 GK |
7593 | 2000-09-16 Geoffrey Keating <geoffk@cygnus.com> |
7594 | ||
7595 | * configure.in: Define macros that affect features before | |
7596 | testing for features. Don't define _XOPEN_SOURCE. | |
7597 | * configure: Regenerated. | |
7598 | * config.in: Regenerated. | |
7599 | ||
ae0fb1b9 JW |
7600 | Sat Sep 16 19:42:50 EDT 2000 John Wehle (john@feith.com) |
7601 | ||
7602 | * rtlanal.c (rtx_varies_p): Volatile asms vary. | |
7603 | (rtx_unstable_p): Restructure code. Volatile asms | |
7604 | are unstable. | |
7605 | ||
5748b2cb | 7606 | Sat Sep 16 14:35:55 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
ae0f4dee | 7607 | |
87c31d6b RK |
7608 | * function.h (no_debugging_symbols): New field. |
7609 | * integrate.c (save_for_inline): Renamed from save_for_inline_nocopy. | |
7610 | Initialize no_debugging_symbols. | |
7611 | (output_inline_function): Save and restore write_symbols and set from | |
7612 | no_debugging_symbols. | |
7613 | * toplev.c (rest_of_compilation): Call save_for_inline. | |
7614 | * tree.h: Update comment. | |
7373064a | 7615 | |
5748b2cb RK |
7616 | * stor-layout.c (place_field): Don't do anything if field or |
7617 | its type are ERROR_MARK. | |
7618 | ||
7619 | Sat Sep 16 19:14:00 2000 Laurynas Biveinis <lauras@softhome.net> | |
7620 | ||
7621 | * cppfiles.c (purge_cache): Use munmap only if MMAP_THRESHOLD defined. | |
7622 | (read_include_file): Ensure inc->mmaped is initialized. | |
ae0f4dee | 7623 | |
6f84c9bd RH |
7624 | 2000-09-16 Richard Henderson <rth@cygnus.com> |
7625 | ||
7626 | * cppiles.c (purge_cache): Use PTR not caddr_t. | |
7627 | ||
50c57e7b HPN |
7628 | 2000-09-16 Hans-Peter Nilsson <hp@axis.com> |
7629 | ||
7630 | * gcc.c: In description for %{<S}, say the option removed is -S. | |
7631 | * invoke.texi (Spec Files): Ditto. | |
7632 | ||
dd745546 AJ |
7633 | 2000-09-16 Andreas Jaeger <aj@suse.de> |
7634 | ||
7635 | * configure.in: Always define _GNU_SOURCE to make interfaces | |
7636 | visible that were hidden by only defining _GNU_SOURCE. | |
7637 | * configure: Regenerated. | |
7638 | ||
08ebc1c5 NB |
7639 | Sat 16-Sep-2000 08:13:45 BST Neil Booth <NeilB@earthling.net> |
7640 | ||
7641 | * cpplex.c (push_macro_context): Set an argument's level after | |
7642 | calling parse_args. We could loop infinitely otherwise. | |
7643 | ||
16abe34a TT |
7644 | 2000-09-15 Tom Tromey <tromey@cygnus.com> |
7645 | ||
7646 | * configure, config.in: Rebuilt. | |
7647 | * configure.in: Check for iconv.h. Define _XOPEN_SOURCE. | |
7648 | ||
61c16b10 GM |
7649 | 2000-09-15 Greg McGary <greg@mcgary.org> |
7650 | ||
7651 | * cppmacro.c (check_trad_stringification): Check token | |
7652 | text pointers against limit before dereferencing. | |
7653 | ||
6a357625 JM |
7654 | 2000-09-15 Joseph S. Myers <jsm28@cam.ac.uk> |
7655 | ||
7656 | * c-common.c (format_wanted_type): New structure. | |
7657 | (check_format_types): New function. | |
7658 | (check_format_info): Pass all checking of types of format | |
7659 | arguments, including width and precision arguments, to this new | |
7660 | function. | |
7661 | ||
6a1d1088 GP |
7662 | 2000-09-15 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
7663 | ||
7664 | * BUGS: Remove file. | |
7665 | ||
a3b815cb JJ |
7666 | 2000-09-15 Jakub Jelinek <jakub@redhat.com> |
7667 | ||
54f5c4b0 JJ |
7668 | * config/alpha/alpha.c (override_options): ev6 cache latencies |
7669 | from Richard Henderson. Don't allow -mmemory-latency=L0. | |
7670 | ||
a3b815cb JJ |
7671 | * config/alpha/alpha.h (TARGET_CPU_EV5, TARGET_CPU_EV6): Define. |
7672 | (TARGET_OPTIONS): Add tune=. | |
7673 | (alpha_tune_string): Declare. | |
7674 | * config/alpha/alpha.c (override_options): Add cpu_table. | |
7675 | Use alpha_cpu_string first to set both alpha_cpu and target_flags | |
7676 | and then alpha_tune_string to set alpha_cpu only. | |
7677 | Replace tests for PROCESSOR_EV* with TARGET_CPU_EV* tests. | |
7678 | * config/alpha/elf.h (ASM_FILE_START): Likewise. | |
7679 | * config/alpha/osf.h (ASM_FILE_START): Likewise. | |
7680 | * config/alpha/openbsd.h (ASM_FILE_START): Likewise. | |
7681 | ||
9076b9c1 JH |
7682 | Fri Sep 15 19:45:55 MET DST 2000 Jan Hubicka <jh@suse.cz> |
7683 | ||
7684 | * i386-protos.h (no_comparison_operator, uno_comparison_operator): | |
7685 | Remove. | |
7686 | (ix86_comparison_operator, ix86_cc_mode): Declare | |
7687 | * i386.h (CCGC, CCGCO): New modes. | |
7688 | (SELECT_CC_MODE): Move offline to .... | |
7689 | * i386.c (ix86_cc_mode): .... here; use new modes. | |
7690 | (ix86_comparison_operator): New. | |
7691 | (fcmov_comparison_operator): Ensure proper mode. | |
7692 | (put_condition_mode): More sanity checking. | |
7693 | (ix86_match_ccmode): Handle new modes. | |
7694 | (ix86_expand_fp_compare): GEU requires CCmode. | |
7695 | (ix86_expand_strlensi_unroll_1): Use emit_cmp_and_jump_insn instead of | |
7696 | doing it by hand. | |
7697 | * i386.md (cmp?i_ccz_1): Remove | |
7698 | (cmp?i_ccno_1): Use ix86_match_ccmode. | |
7699 | (cmp?i_minus_1): New. | |
7700 | (cmpsi_1): New expander. | |
7701 | (cmpqi_ext_1): Use match_ccmode | |
7702 | (cmpqi_ext_3): New expander. | |
7703 | (cmpqi_ext_3_insn): Rename from cmpqi_ext_3. | |
7704 | (cmpqi_ext_4): Use match_ccmode. | |
7705 | (add?i_?): Use match_ccmode. | |
7706 | (add?i_6): New. | |
7707 | (test?i_ccz_1): Remove | |
7708 | (test?i_1): New. | |
7709 | (testsi_ccno_1, testqi_ccz_1, testqi_ext_ccno_0): New expander. | |
7710 | (testqi_ext_0): Use ix86_match_ccmode. | |
7711 | (*xorqi_cc_ext_1): Use ix86_match_ccmode. | |
7712 | (xorqi_cc_ext_1): New expander. | |
7713 | (shift patterns): Use CCGOCmode for all shifts except for sar. | |
7714 | (setcc_?, jcc_?, miv?icc_nic): Use ix86_comparison_operator. | |
7715 | (setcc_3, jcc_3, miv?icc_c): Remove. | |
7716 | ||
3724ec07 WC |
7717 | 2000-09-15 Will Cohen <wcohen@redhat.com> |
7718 | ||
7719 | * dwarf2out.c (add_const_value_attribute): Changed array into a | |
7720 | xmalloced object, so it exists after function exit. | |
7721 | (free_AT): Added case for dw_val_class_float to free allocated | |
7722 | memory. | |
7723 | ||
182a4620 KH |
7724 | 2000-09-15 Kazu Hirata <kazu@hxi.com> |
7725 | ||
7726 | * config/i386/i386.md: Fix a comment typo. | |
d25a45d4 | 7727 | * gcc.c: Fix formatting. |
182a4620 | 7728 | |
aff2c2d3 BS |
7729 | 2000-09-15 Bernd Schmidt <bernds@redhat.co.uk> |
7730 | ||
7731 | * optabs.c (emit_libcall_block): If target is a user variable, | |
7732 | copy to a temporary first. | |
642dfa8b BS |
7733 | * expr.c (convert_move): When generating a libcall, make a libcall |
7734 | block. | |
188c5e6c BS |
7735 | * calls.c (emit_library_call_value_1): Don't create a libcall |
7736 | sequence here; our caller will in most cases do it. | |
aff2c2d3 | 7737 | |
0c4c9b16 BS |
7738 | * sh.h (SECONDARY_INPUT_RELOAD_CLASS): Handle moving T, MACL or |
7739 | MACH into FPUL. | |
7740 | (SECONDARY_OUTPUT_RELOAD_CLASS): Similar case. | |
7741 | * sh.md (reload_outsf): Generate recognizable patterns for | |
7742 | TARGET_SH3E. | |
7743 | (floatsisf2, floatsisf2_ie, floatsisf2_i4, fix_truncsfsi2, | |
7744 | fix_truncsfsi2_i4, fixsfsi, floatsidf2, floatsidf2_i, fix_truncdfsi2, | |
7745 | fix_truncdfsi2_i, extendsfdf2, extendsfdf2_i4, truncdfsf2, | |
7746 | truncdfsf2_i4): Change not to use explicit references to fpul. | |
7747 | (floatsisf2_ie): Remove USE of fpscr. | |
7748 | (floatsisf2): Change default expansion to match this. | |
7749 | (fix_truncsfsi2_i4_2, fix_truncdfsi2_i4 & splitters): Comment out | |
7750 | unused patterns. | |
7751 | ||
308ecea0 RH |
7752 | 2000-09-15 Richard Henderson <rth@cygnus.com> |
7753 | ||
7754 | * expmed.c (store_bit_field): Consider naturally aligned | |
7755 | memory for direct reference. | |
7756 | ||
e01acbb1 RH |
7757 | 2000-09-15 Richard Henderson <rth@cygnus.com> |
7758 | ||
7759 | * config/alpha/alpha.c (alpha_expand_unaligned_load): Force all | |
7760 | AND addresses into alias set 0. | |
7761 | (alpha_expand_unaligned_store): Likewise. | |
7762 | (alpha_expand_unaligned_load_words): Likewise. | |
7763 | (alpha_expand_unaligned_store_words): Likewise. | |
7764 | ||
c363a0c0 BS |
7765 | 2000-09-15 Bernd Schmidt <bernds@redhat.co.uk> |
7766 | ||
7767 | * config/sh/sh.h (CPP_SPEC): For -m4-nofpu, define __SH4_NOFPU__. | |
7768 | * config/sh/lib1funcs.asm (movstr_i4): Also compile if __SH4_NOFPU__ | |
7769 | is defined. | |
dd193c79 BS |
7770 | * config/mips/mips.c (mips_va_arg): Args passed by reference have a |
7771 | rsize of UNITS_PER_WORD. | |
c363a0c0 | 7772 | |
ff94c747 NB |
7773 | Fri 15-Sep-2000 06:49:07 BST Neil Booth <NeilB@earthling.net> |
7774 | ||
7775 | * cpplex.c (ON_REST_ARG): Correct the test. | |
7776 | (maybe_paste_with_next): Duplicate a token that fail pasting, | |
7777 | and clear its PASTE_LEFT flag, so that nested pasting attempts | |
7778 | do not occur. | |
7779 | ||
b437f1a7 RH |
7780 | 2000-09-14 Richard Henderson <rth@cygnus.com> |
7781 | ||
7782 | * calls.c (precompute_register_parameters): Use COSTS_N_INSNS, not 2. | |
7783 | * cse.c (rtx_cost): Likewise. | |
7784 | * optabls.c (expand_binop): Likewise. | |
7785 | (expand_twoval_binop, prepare_cmp_insn): Likewise. | |
7786 | * regclass.c (copy_cost): Likewise. | |
7787 | * reload1.c (reload_cse_move2add): Likewise. | |
7788 | ||
d9dbd9b1 JM |
7789 | 2000-09-14 Joseph S. Myers <jsm28@cam.ac.uk> |
7790 | ||
7791 | * c-parse.in (reswords): Add _Complex. | |
7792 | ||
9207d3b1 DA |
7793 | 2000-09-14 J. David Anglin <dave@hiauly1.hia.nrc.ca> |
7794 | ||
7795 | * gcc.1: Delete documentation for -undef preprocessor option. | |
7796 | ||
395a451c AO |
7797 | 2000-09-14 Alexandre Oliva <aoliva@redhat.com> |
7798 | ||
7799 | * config/sh/sh.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP, | |
7800 | STARTFILE_SPEC, ENDFILE_SPEC): Remove define. | |
7801 | * config/sh/elf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP): | |
7802 | Remove undefine before config/elfos.h. | |
7803 | * config/sh/t-sh (EXTRA_MULTILIB_PARTS): Comment out. | |
7804 | ||
17f0f8fa KH |
7805 | 2000-09-14 Kazu Hirata <kazu@hxi.com> |
7806 | ||
7807 | * invoke.texi (H8/300 Options): Add -ms2600. | |
7808 | * config/h8300.c (h8300_init_once): Output an error when -ms2600 | |
7809 | is used without -ms. | |
7810 | * config/h8300.h (TARGET_MAC): New. | |
7811 | (TARGET_SWITCHES): Add -ms2600 and -mno-s2600. | |
7812 | (CONDITIONA_REGISTER_USAGE): Disable the mac register on any | |
7813 | machine other than H8/S2600. | |
7814 | * config/h8300.md: Accept mac instructions on the H8/S2600 instead | |
7815 | of the H8/S2000. | |
7816 | ||
9e8f528c AO |
7817 | 2000-09-14 Alexandre Oliva <aoliva@redhat.com>, Bernd Schmidt <bernds@redhat.co.uk> |
7818 | ||
7819 | * reload.c (find_reloads_address_1): Generate reloads for auto_inc | |
7820 | pseudos that refer to the original pseudos, not only to their | |
7821 | equivalent memory locations. | |
7822 | ||
9985f210 RK |
7823 | Thu Sep 14 12:10:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
7824 | ||
fe7a8445 RK |
7825 | * expr.c (expand_expr, case COMPONENT_EXPR): Copy memory attributes |
7826 | when making new MEM. | |
7827 | ||
9985f210 RK |
7828 | * Makefile.in (LN): Remove duplicate definition. |
7829 | ||
2f93c5c3 BS |
7830 | 2000-09-12 Bernd Schmidt <bernds@redhat.co.uk> |
7831 | ||
7832 | From Joern Rennecke: | |
7833 | * local-alloc.c (update_equiv_regs): If there is no REG_EQUAL note | |
7834 | on an insn and function_invariant_p returns nonzero for the source, | |
7835 | add a REG_EQUAL note. | |
7836 | ||
b24ea077 JW |
7837 | Thu Sep 14 00:51:57 EDT 2000 John Wehle (john@feith.com) |
7838 | ||
7839 | * alias.c (memrefs_conflict_p): An ADDRESSOF doesn't | |
7840 | conflict with frame_pointer_rtx. | |
7841 | ||
fd5d5b07 KH |
7842 | 2000-09-13 Kazu Hirata <kazu@hxi.com> |
7843 | ||
7844 | * loop.c: Fix formatting. | |
7845 | * loop.h: Likewise. | |
7846 | ||
26102535 RH |
7847 | 2000-09-13 Richard Henderson <rth@cygnus.com> |
7848 | ||
7849 | * config/ia64/ia64.md (divsf3): New. | |
7850 | (divsf3_internal_lat, divsf3_internal_thr): New. | |
7851 | (divdf3, divdf3_internal_lat, divdf3_internal_thr): New. | |
7852 | (divtf3, divtf3_internal_lat, divtf3_internal_thr): New. | |
7853 | (adddf3_trunc, subdf3_trunc, muldf3_trunc): New. | |
7854 | (madddf4_trunc, msubdf4_trunc, nmuldf3_trunc): New. | |
7855 | (nmadddf4_alts, nmadddf4_trunc): New. | |
7856 | (addtf3_truncsf, addtf3_truncdf, subtf3_truncsf): New. | |
7857 | (subtf3_truncdf, multf3_truncsf, multf3_truncdf): New. | |
7858 | (multf3_truncsf_alts, multf3_truncdf_alts): New. | |
7859 | (maddtf4_truncsf, maddtf4_truncdf, maddtf4_alts_truncdf): New. | |
7860 | (msubtf4_truncsf, msubtf4_truncdf, nmultf3_truncsf): New. | |
7861 | (nmultf3_truncdf, nmaddtf4_truncsf, nmaddtf4_truncdf): New. | |
7862 | (nmaddtf4_truncdf_alts): New. | |
7863 | (recip_approx): Don't predicate. | |
7864 | ||
938566fb RH |
7865 | 2000-09-13 Richard Henderson <rth@cygnus.com> |
7866 | ||
7867 | * config/ia64/lib1funcs.asm (__divsf3): Protect fnorm.s with p6. | |
7868 | ||
c349e40b SC |
7869 | 2000-09-13 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
7870 | ||
7871 | * flags.h (flag_dump_rtl_in_asm): Declare. | |
7872 | * toplev.c (flag_dump_rtl_in_asm): Define. | |
7873 | (decode_d_option): Set flag_dump_rtl_in_asm and flag_print_asm_name | |
7874 | if -dP is specified. | |
7875 | * rtl.h (print_rtx_head): Declare. | |
7876 | * print-rtl.c (print_rtx_head): Define. | |
7877 | (print_rtx): Print the string pointed to by print_rtx_head | |
7878 | at beginning of each dump line. | |
7879 | (print_rtl): Likewise. | |
7880 | (print_rtl_single): Likewise. | |
7881 | * final.c (final_scan_insn): Dump the insn in the assembly | |
7882 | file for debugging. | |
7883 | * gcc.1: Document -dP option. | |
7884 | * invoke.texi (Debugging Options): Likewise. | |
7885 | ||
2856c3e3 SC |
7886 | 2000-09-13 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
7887 | ||
7888 | * md.texi (Machine Constraints): Document the 68HC11 constraints. | |
7889 | * install.texi (Configurations): Document the 68HC11&68HC12 port. | |
7890 | * invoke.texi (Option Summary, M68hc1x Options): Document the options. | |
7891 | ||
1ca04dc8 DC |
7892 | Tue Sep 12 13:51:13 2000 Denis Chertykov <denisc@overta.ru> |
7893 | ||
7894 | * config/avr/avr.h (ASSEMBLER_DIALECT): New macro declared. | |
7895 | * config/avr/avr.md (*movstrqi_insn): Cleanup output template. | |
7896 | (*clrstrqi): Likewise. | |
7897 | (xorhi3,xorsi3,absqi2): Likewise. | |
7898 | (one_cmplhi2,one_cmplsi2): Likewise. | |
7899 | (addsi3): Two stupid constraint alternatives removed. | |
7900 | (extendhisi2): Use `movw' for enhanced avr cores. | |
7901 | (zero_extendhisi2): Likewise. | |
7902 | ||
bb07060a JW |
7903 | Wed Sep 13 02:31:23 EDT 2000 John Wehle (john@feith.com) |
7904 | ||
7905 | * alias.c (find_base_term): Use frame_pointer_rtx | |
7906 | when handling an ADDRESSOF. | |
7907 | ||
7908 | * cse.c (canon_hash): Handle USE of BLKmode memory. | |
7909 | (cse_insn): Outgoing arguments for a libcall don't | |
7910 | affect any recorded expressions. | |
7911 | ||
d21445e7 TT |
7912 | 2000-09-12 Tom Tromey <tromey@cygnus.com> |
7913 | ||
7914 | * configure, config.in: Rebuilt. | |
7915 | * configure.in: Check for iconv, nl_langinfo, langinfo.h. | |
7916 | ||
5c80f6e6 JJ |
7917 | 2000-09-12 Jakub Jelinek <jakub@redhat.com> |
7918 | ||
7919 | * c-lex.c (lex_string): Use charwidth to compute bytemask. | |
7920 | * expr.c (expand_expr): Don't optimize constant array references | |
7921 | initialized with wide string constants. | |
7922 | ||
635a2a90 MH |
7923 | 2000-09-13 Michael Hayes <mhayes@cygnus.com> |
7924 | ||
a191f0ee | 7925 | * loop.c (note_set_pseudo_multiple_uses): Correct. |
635a2a90 | 7926 | |
cc2999aa JW |
7927 | 2000-09-12 Jim Wilson <wilson@cygnus.com> |
7928 | ||
7929 | * ifcvt.c (noce_process_if_block): If A and B are the same, and no | |
7930 | else block, and X has side-effects, then fail. | |
7931 | ||
a0b6cdee GM |
7932 | 2000-09-12 Greg McGary <greg@mcgary.org> |
7933 | ||
7934 | * config/mips/mips-protos.h | |
7935 | (trap_cmp_op, mips_gen_conditional_trap): New func decls. | |
7936 | * config/mips/mips.h (ISA_HAS_COND_TRAP): New macro. | |
7937 | (PREDICATE_CODES): Add "trap_cmp_op". | |
7938 | * config/mips/mips.c | |
7939 | (trap_cmp_op, mips_gen_conditional_trap): New functions. | |
7940 | * config/mips/mips.md (trap, conditional_trap): New patterns. | |
7941 | ||
24948ccc BS |
7942 | 2000-09-12 Bernd Schmidt <bernds@redhat.co.uk> |
7943 | ||
7944 | * flow.c (try_pre_increment_1): Don't do anything to sets of the stack | |
7945 | pointer. | |
7946 | ||
3ff5f682 KG |
7947 | 2000-09-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
7948 | ||
7949 | * builtins.c (built_in_decls): New array. | |
7950 | (expand_builtin_fputs): New function. | |
7951 | (expand_builtin): Handle BUILT_IN_FPUTC and BUILT_IN_FPUTS. | |
7952 | ||
7953 | * builtins.def (BUILT_IN_FPUTC, BUILT_IN_FPUTS): New members. | |
7954 | ||
7955 | * c-common.c (c_common_nodes_and_builtins): Handle fputc/fputs. | |
7956 | ||
7957 | * tree.h (built_in_decls): New array. | |
7958 | ||
208b0ab1 JL |
7959 | Tue Sep 12 08:53:57 2000 Jeffrey A Law (law@cygnus.com) |
7960 | ||
7961 | * convex.md: Use "+" instead of "=" for outputs wrapped in a | |
7962 | STRICT_LOW_PART. | |
7963 | * i370.md, i386.md, ns32k.md, sh.md, vax.md: Likewise. | |
7964 | ||
a86dc4a3 KH |
7965 | 2000-09-12 Kazu Hirata <kazu@hxi.com> |
7966 | ||
7a403706 KH |
7967 | * haifa-sched.c: Fix formatting. |
7968 | ||
c9541287 KH |
7969 | * genattrtab.c: Fix formatting. |
7970 | ||
a86dc4a3 KH |
7971 | * unroll.c: Fix formatting. |
7972 | ||
3af556f7 BK |
7973 | 2000-09-12 Bruce Korb <bkorb@gnu.org> |
7974 | ||
7975 | * fixinc/fixfixes.c: make a type for the fix procedure & use it, | |
7976 | remove obsolete code | |
7977 | * fixinc/fixincl.c: Use PARAMS, not _P_. Add no-op default to switch. | |
7978 | * fixinc/fixincl.tpl: make non-exported arrays static scope | |
7979 | * fixinc/fixincl.x: regenerate | |
7980 | * fixinc/fixlib.h: Use PARAMS, not _P_ | |
7981 | * fixinc/fixtests.c: make a type for the test proc & use it | |
7982 | * fixinc/server.h: Use PARAMS, not _P_ | |
7983 | ||
32892c52 KG |
7984 | 2000-09-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
7985 | ||
7986 | * c-typeck.c (process_init_element): Avoid union init warnings on | |
7987 | floating point zero. Don't crash on unions containing structs. | |
7988 | ||
ae0a1c23 AO |
7989 | 2000-09-12 Alexandre Oliva <aoliva@redhat.com> |
7990 | ||
7991 | * config/sh/sh.h (PREDICATE_CODES): Add CONST_DOUBLE to | |
7992 | general_movsrc_operand, and remove CONST_INT from | |
7993 | general_movdst_operand. | |
7994 | ||
f1c1dfc3 BS |
7995 | 2000-09-12 Bernd Schmidt <bernds@redhat.co.uk> |
7996 | ||
7997 | * cse.c (approx_reg_cost): If SMALL_REGISTER_CLASSES, return INT_MAX | |
7998 | if a reference to non-fixed hardreg is seen. Otherwise, count hard | |
7999 | regs with a higher cost. | |
8000 | (preferrable): Deal with cases where either cost or regcost is | |
8001 | MAX_COST. | |
8002 | (cse_insn): Use MAX_COST rather than 10000. Always initialize | |
8003 | regcost values. | |
8004 | (COSTS_N_INSNS): Move definition... | |
8005 | * rtl.h: ...here. | |
8006 | (MAX_COST): New macro. | |
8007 | * loop.c (init_loop): Use COSTS_N_INSNS macro instead of hardcoded | |
8008 | constant. | |
8009 | ||
f444e36b MM |
8010 | 2000-09-11 Mark Mitchell <mark@codesourcery.com> |
8011 | ||
8012 | * c-common.h (genrtl_clear_out_block): Remove. | |
8013 | * c-semantics.c (genrtl_clear_out_block): Remove. | |
8014 | (genrtl_while_stmt): Don't call it. | |
8015 | (genrtl_for_stmt): Likewise. | |
8016 | ||
a58d32c2 ZW |
8017 | 2000-09-11 Zack Weinberg <zack@wolery.cumb.org> |
8018 | ||
8019 | * cppfiles.c: Move all default-#defines to top of file. | |
8020 | (open_include_file): Replace by lookup_include_file. | |
8021 | (read_with_read, read_file): Merged into read_include_file. | |
8022 | (stack_include_file, purge_cache): New functions. | |
8023 | (close_cached_fd): Delete. | |
dd745546 | 8024 | (lookup_include_file, read_include_file, _cpp_pop_file_buffer): |
a58d32c2 ZW |
8025 | Cache the in-memory buffer, not the file descriptor. |
8026 | ||
8027 | * cpphash.h (struct include_file): Add buffer, st, refcnt, | |
8028 | mapped fields. | |
8029 | (xcnew): New utility macro. | |
8030 | (DO_NOT_REREAD, NEVER_REREAD): Move up by struct include_file. | |
8031 | * cpplib.h (struct cpp_buffer): Remove mapped field. | |
8032 | ||
8033 | 2000-09-11 Zack Weinberg <zack@wolery.cumb.org> | |
8034 | ||
8035 | * cpplex.c (parse_string): Accept backslash space newline as a | |
8036 | line continuation. | |
8037 | (lex_line): Likewise. | |
8038 | (_cpp_get_token): Remove hard limit on macro nesting. | |
8039 | ||
bfa29b63 PT |
8040 | 2000-09-12 Philipp Thomas <pthomas@suse.de> |
8041 | ||
8042 | * aclocal.m4 (AM_WITH_NLS): Don't force use of included gettext. | |
8043 | * configure: Rebuilt. | |
8044 | ||
97ca9316 MH |
8045 | 2000-09-13 Michael Hayes <mhayes@cygnus.com> |
8046 | ||
8047 | * flow.c (split_block): Fix update of registers live at | |
8048 | end of split block. | |
8049 | ||
d90ffc8d JH |
8050 | Tue Sep 12 01:51:38 MET DST 2000 Jan Hubicka <jh@suse.cz> |
8051 | ||
8052 | * i386.md (add?i_3, add?i_5): New. | |
8053 | (add?i_4): Rename from add?i_3; Fix compare pattern. | |
8054 | (sub?i_3, xor?i_3, ior?i_3): New. | |
8055 | ||
8056 | * genrecog.c (write_tree): Output code to clear insn_extract cache. | |
8057 | * genattrtab.c (write_attr_case): Gen call to extract_insn_cache | |
8058 | instead of extract_insn and extract_constrain_insn_cache instead of | |
8059 | extract_insn and constrain_operands. | |
8060 | * recog.c (extract_insn_cached, extract_constrain_insn_cached): | |
8061 | New functions. | |
8062 | (extract_insn): Clear which_alternative. | |
8063 | (constrain_operands): Set which_alternative to -1 when failed. | |
8064 | * recog.h (extract_constrain_insn_cached, extract_insn_cached): | |
8065 | Declare. | |
8066 | ||
4843bda9 MH |
8067 | 2000-09-11 Matthew Hiller <hiller@redhat.com> |
8068 | ||
8069 | * config/h8300/h8300.md (movstrictqi): Changed constraint modifier | |
8070 | on operand 0 to '+'. | |
8071 | (movstricthi): Likewise. | |
8072 | ||
ed5bb68d MH |
8073 | 2000-09-12 Michael Hayes <mhayes@cygnus.com> |
8074 | ||
8075 | * loop.h (LOOP_IVS): New macro. | |
8076 | (REG_IV_TYPE, REG_IV_INFO): Add ivs argument. | |
8077 | (struct loop_ivs): New. | |
8078 | (struct loop_info): Add ivs field. | |
8079 | (reg_iv_type, reg_iv_info): Delete prototype. | |
8080 | (reg_biv_class, loop_iv_list): Likewise. | |
8081 | * loop.c (record_biv, find_life_end): Pass loop argument. | |
8082 | (reg_iv_type): Remove global array and use | |
8083 | field in loop_regs structure within loop_ivs structure. | |
8084 | (reg_iv_info, reg_biv_class, loop_iv_list): Likewise. | |
8085 | (first_increment_giv, last_increment_giv): Use entry in | |
8086 | loop_ivs structure. | |
8087 | (record_initial): Pass ivs pointer. | |
8088 | * unroll.c (copy_loop_body, remap_split_bivs): Add loop argument. | |
8089 | ||
1ecd860b MH |
8090 | 2000-09-12 Michael Hayes <mhayes@cygnus.com> |
8091 | ||
8092 | * loop.h (LOOP_REGS): New macro. | |
8093 | (struct loop_regs): New. | |
8094 | (struct loop_info): Add regs field. | |
dd745546 | 8095 | * loop.c (set_in_loop): Remove global array and store |
1ecd860b MH |
8096 | in loop_regs structure as part of loop_info structure. |
8097 | (n_times_set, may_not_optimize): Likewise. | |
8098 | (reg_single_usage, moved_once): Likewise. | |
8099 | (count_one_set): Add regs argument. | |
8100 | (combine_movables, rtx_equal_for_loop_p, combine_givs): Likewise. | |
8101 | (set_pseudo_multiple_uses): Pass regs pointer. | |
8102 | ||
0a5b41f2 MH |
8103 | 2000-09-12 Michael Hayes <mhayes@cygnus.com> |
8104 | ||
8105 | * unroll.c (iteration_info): Subsume into loop_iterations. | |
8106 | * loop.h (loop_info): New field iv. | |
8107 | ||
5d6a16e2 MH |
8108 | 2000-09-12 Michael Hayes <mhayes@cygnus.com> |
8109 | ||
8110 | * basic-block.h (LOOP_TREE, LOOP_PRE_HEADER, LOOP_EDGES): New. | |
8111 | (LOOP_EXITS_DOMS, LOOP_ALL): Likewise. | |
8112 | (flow_loops_update): New prototype. | |
8113 | (flow_loops_find): Add flags to prototype. | |
8114 | (struct loop): Add `pre_header_root' and `pre_header_trace' fields. | |
8115 | * flow.c (flow_loop_pre_header_scan): New. | |
8116 | (flow_loop_dump): Dump pre-header root and trace and exit dominators. | |
8117 | (flow_loop_free): Free pre-header root and trace and exit dominators. | |
8118 | (flow_loops_find): New argument flags. | |
8119 | (flow_loops_update): New function. | |
8120 | * toplev.c (rest_of_compilation): Add flag argument to flow_loops_find. | |
8121 | ||
c586192c MH |
8122 | 2000-09-12 Michael Hayes <mhayes@cygnus.com> |
8123 | ||
8124 | * basic-block.h (split_block, update_bb_for_insn): New prototypes. | |
8125 | * flow.c (split_block, update_bb_for_insn): New functions. | |
8126 | ||
a5e5cf67 RH |
8127 | 2000-09-11 Richard Henderson <rth@cygnus.com> |
8128 | ||
8129 | * cse.c (fold_rtx): Honor NO_FUNCTION_CSE. | |
8130 | ||
655f2eb9 RH |
8131 | 2000-09-11 Richard Henderson <rth@cygnus.com> |
8132 | ||
8133 | * config/ia64/ia64-protos.h (fr_nonimmediate_operand): Declare. | |
8134 | * config/ia64/ia64.c (fr_nonimmediate_operand): New. | |
8135 | (ia64_override_options): Prevent optimizing division for both | |
8136 | latency and throughput. | |
8137 | (rtx_needs_barrier): Handle frcpa. | |
8138 | * config/ia64/ia64.h (MASK_INLINE_DIV_LAT): New. | |
8139 | (MASK_INLINE_DIV_THR, TARGET_INLINE_DIV_LAT): New. | |
8140 | (TARGET_INLINE_DIV_THR, TARGET_INLINE_DIV): New. | |
8141 | (TARGET_SWITCHES): Add -minline-divide-min-latency and | |
8142 | -minline-divide-max-throughput. | |
8143 | (PREDICATE_CODES): Update. | |
8144 | * config/ia64/ia64.md (extendsidi2): Remove * from f case. | |
8145 | (zero_extendsidi2): Likewise. Fix typo in f case insn. | |
8146 | (extendsfdf2): Add cases for gr<->fr and fr<->mem. | |
8147 | (extendsftf2): Likewise. | |
8148 | (extenddftf2): Likewise. | |
8149 | (fix_trunctfdi2_alts): New. | |
8150 | (fixuns_trunctfdi2_alts): New. | |
8151 | (madd*4): Rename from madd*3. | |
8152 | (divsi3, modsi3, udivsi3, umodsi3): New. | |
8153 | (divsi3_internal): New. | |
8154 | (divdi3, moddi3, udivdi3, umoddi3): New. | |
8155 | (divdi3_internal_lat, divdi3_internal_thr): New. | |
8156 | (multf3_alts, maddtf4_alts, nmaddtf4_alts): New. | |
8157 | (recip_approx): New. | |
8158 | ||
b5d7770c AO |
8159 | 2000-09-11 Alexandre Oliva <aoliva@redhat.com> |
8160 | ||
8161 | * print-rtl.c (debug_call_placeholder_verbose): New variable. | |
8162 | (print_rtx) [CALL_PLACEHOLDER]: Dump all call sequences if it is | |
8163 | set. | |
8164 | * integrate.c (copy_rtx_and_substitute): Don't share | |
8165 | LEAF_REG_REMAPpable registers with the inlined function. Don't | |
8166 | share the function value with calling sequences. | |
8167 | ||
6ff85fd8 JJ |
8168 | 2000-09-11 Jakub Jelinek <jakub@redhat.com> |
8169 | ||
2a1da89b JJ |
8170 | * c-decl.c (do_case): Fix a typo. |
8171 | ||
6ff85fd8 JJ |
8172 | * combine.c (simplify_if_then_else): Don't convert a == b ? b : a |
8173 | to a if the comparison is floating mode and not -ffast-math. | |
8174 | * simplify-rtx.c (simplify_ternary_operation): Likewise. | |
8175 | ||
4102c782 R |
8176 | Mon Sep 11 20:07:48 2000 J"orn Rennecke <amylaar@redhat.co.uk> |
8177 | ||
8178 | * sh.h (INITIALIZE_TRAMPOLINE): Remove stray call to | |
8179 | gen_ic_invalidate_line. | |
8180 | ||
52a21fc6 PB |
8181 | 2000-09-11 Philip Blundell <pb@futuretv.com> |
8182 | ||
8183 | * config/arm/elf.h (SUBTARGET_CPP_SPEC): Don't define `arm_elf'. | |
8184 | ||
669ed2b1 UD |
8185 | Mon Sep 11 10:48:41 2000 Ulrich Drepper <drepper@redhat.com> |
8186 | ||
8187 | * install.texi (LANGUAGES): Update to include new languages. | |
8188 | * INSTALL: Rebuilt. | |
8189 | ||
50936d27 DD |
8190 | 2000-09-11 DJ Delorie <dj@redhat.com> |
8191 | ||
8192 | * gcc.c (main): Don't warn about unused -B prefixes | |
8193 | (unused_prefix_warnings): remove | |
8194 | ||
00174bdf KH |
8195 | 2000-09-11 Kazu Hirata <kazu@hxi.com> |
8196 | ||
f5d927c0 KH |
8197 | * final.c: Fix formatting. |
8198 | ||
00174bdf KH |
8199 | * integrate.c: Fix formatting. |
8200 | ||
b14066a9 GK |
8201 | 2000-09-11 Geoff Keating <geoffk@cygnus.com> |
8202 | ||
8203 | * alias.c (memrefs_conflict_p): An ADDRESSOF does conflict, sorry. | |
8204 | ||
e695931e BS |
8205 | 2000-09-11 Bernd Schmidt <bernds@redhat.co.uk> |
8206 | ||
8207 | * reload.c (regno_clobbered_p): Fix thinko in previous change. | |
8208 | ||
456aadaa SC |
8209 | 2000-09-10 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
8210 | ||
8211 | * gcc.1: Document 68hc11 specific options. | |
8212 | ||
9cb8fcaf GK |
8213 | 2000-09-10 Geoff Keating <geoffk@cygnus.com> |
8214 | ||
e0f7170a GK |
8215 | * config/rs6000/sysv4.h (MASK_LONG_DOUBLE_128): Define. |
8216 | (TARGET_LONG_DOUBLE_128): Define. | |
8217 | (SUBTARGET_SWITCHES): Add -mlong-double-64 and -mlong-double-128. | |
8218 | (LONG_DOUBLE_TYPE_SIZE): Redefine. | |
8219 | (MAX_LONG_DOUBLE_TYPE_SIZE): Define. | |
8220 | (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on definition | |
8221 | of __LONG_DOUBLE_128__. | |
8222 | (CPP_SYSV_SPEC): Define __LONG_DOUBLE_128__ if -mlong-double-128 | |
8223 | passed. | |
8224 | (CPP_LONGDOUBLE_DEFAULT_SPEC): Define. | |
8225 | (CPP_SYSV_DEFAULT_SPEC): Define. | |
8226 | (SUBTARGET_EXTRA_SPECS): Add cpp_longdouble_default. | |
8227 | (INIT_TARGET_OPTABS): Define. | |
8228 | ||
9cb8fcaf GK |
8229 | * config/rs6000/aix.h (RS6000_ITRUNC): Moved from rs6000.h. |
8230 | (RS6000_UITRUNC): Likewise. | |
8231 | (INIT_TARGET_OPTABS): New macro. | |
8232 | * config/rs6000/rs6000.c (rs6000_trunc_used): Delete. | |
8233 | (trunc_defined): Delete. | |
8234 | (output_prolog): Don't output .extern definitions for fp->int | |
8235 | conversion routines, ASM_OUTPUT_EXTERNAL_LIBCALL will do it. | |
8236 | * config/rs6000/rs6000.h (rs6000_trunc_used): Delete. | |
8237 | (trunc_defined): Delete. | |
8238 | (RS6000_ITRUNC): Moved to aix.h. | |
8239 | (RS6000_UITRUNC): Likewise. | |
8240 | * config/rs6000/rs6000.md (fix_truncdfsi2): Fail if it would | |
8241 | only emit a libcall. | |
8242 | (fixuns_truncdfsi2): Delete. | |
8243 | (trunc_call): Delete. | |
8244 | (trunc_call_rtl): Delete. | |
8245 | ||
8f820299 ZW |
8246 | 2000-09-10 Zack Weinberg <zack@wolery.cumb.org> |
8247 | ||
8248 | * varasm.c (make_decl_rtl): Restore leading star on | |
dd745546 | 8249 | DECL_ASSEMBLER_NAME set for decls with an asmspec. |
8f820299 | 8250 | |
4337bc93 ZW |
8251 | 2000-09-10 Zack Weinberg <zack@wolery.cumb.org> |
8252 | ||
8253 | * c-pragma.c (handle_pragma_pack): Correct parsing logic so it | |
8254 | won't give a spurious error for '#pragma pack()'. Simplify | |
8255 | control flow for readability. 'reset' action is not necessary. | |
8256 | ||
d8ea8f28 ZW |
8257 | 2000-09-10 Zack Weinberg <zack@wolery.cumb.org> |
8258 | ||
8259 | * defaults.h: Provide default definitions for: CHAR_TYPE_SIZE, | |
8260 | SHORT_TYPE_SIZE, INT_TYPE_SIZE, LONG_TYPE_SIZE, | |
8261 | LONG_LONG_TYPE_SIZE, WCHAR_TYPE_SIZE, FLOAT_TYPE_SIZE, | |
8262 | DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE, and WCHAR_UNSIGNED. | |
8263 | ||
8264 | * cppexp.c, dwarfout.c, dwarf2out.c, emit-rtl.c, final.c, optabs.c, | |
8265 | profile.c, sdbout.c, tradcif.y, tree.c: | |
8266 | Include defaults.h if not already included. | |
8267 | Don't define the above macros. | |
8268 | ||
8269 | * Makefile.in: Update dependencies. | |
8270 | ||
56cb9733 MM |
8271 | 2000-09-10 Mark Mitchell <mark@codesourcery.com> |
8272 | ||
8273 | * c-common.h (add_stmt): Change prototype. | |
8274 | (RECHAIN_STMTS): New macro. | |
8275 | (CASE_LABEL_DECL): Likewise. | |
8276 | (genrtl_case_label): Change prototype. | |
8277 | (c_expand_start_case): Remove prototype. | |
8278 | (build_case_label): Change prototype. | |
8279 | (decl_constant_value): Declare. | |
8280 | * c-common.c (check_case_value): Handle C++'s extensions to C | |
8281 | semantics. | |
8282 | * c-commnon.def (CASE_LABEL): Add room for the CASE_LABEL_DECL | |
d8ea8f28 | 8283 | field. |
56cb9733 MM |
8284 | * c-parse.in (stmt): Adjust handling of return statements and case |
8285 | laels. | |
8286 | * c-semantics.c (add_stmt): Return the new statement. | |
8287 | (genrtl_return_stmt): Take the RETURN_STMT as input, not the | |
8288 | returned expression. Directly generate RTL, rather than calling | |
8289 | c_expand_return. | |
8290 | (genrtl_switch_stmt): Don't call c_expand_start_case. | |
8291 | (build_case_label): Take the LABEL_DECL as input, too. | |
8292 | (genrtl_case_label): Just call add_case_node. | |
8293 | (expand_stmt): Adjust calls to genrtl_return_stmt and | |
8294 | genrtl_case_label. | |
8295 | * c-tree.h (c_expand_start_case): Declare. | |
8296 | * c-typeck.c (decl_constant_value): Give it external linkage. | |
8297 | (c_expand_return): Don't call expand_return or expand_null_return; | |
8298 | use genrtl_return_stmt instead. | |
8299 | * stmt.c (struct nesting): Remove num_ranges field. | |
8300 | (add_case_node): Give it external linkage. | |
8301 | (expand_start_case): Don't set num_ranges. | |
8302 | (expand_start_case_dummy): Don't clear it. | |
8303 | (pushcase): Rely on add_case_node to handle `default' labels. | |
8304 | (add_case_node): Handle `default' labels. | |
8305 | * tree.c (tree_int_cst_compare): New function. | |
8306 | * tree.h (tree_int_cst_compare): Declare. | |
8307 | (add_case_node): Likewise. | |
8308 | ||
aac02f4e RH |
8309 | 2000-09-10 Richard Henderson <rth@cygnus.com> |
8310 | ||
8311 | * c-parse.in: Revert last change. | |
8312 | (init_reswords): Do not enter disabled keywords into the ridpointers | |
8313 | table, modulo objc weirdness. | |
8314 | (_yylex): Return the canonical spelling for a keyword. | |
8315 | ||
75d8aea7 PB |
8316 | 2000-09-10 Philip Blundell <philb@gnu.org> |
8317 | ||
8318 | * config/arm/arm.h (CPP_ISA_SPEC): Don't define `arm' or `thumb'. | |
8319 | * config/arm/linux-elf.h (CPP_PREDEFINES): Don't define `__arm__'. | |
8320 | ||
d982e46e JW |
8321 | Sun Sep 10 14:30:28 EDT 2000 John Wehle (john@feith.com) |
8322 | ||
8323 | * alias.c (find_base_term): Handle ADDRESSOF. | |
8324 | (memrefs_conflict_p): An ADDRESSOF doesn't conflict. | |
8325 | ||
212d447c DC |
8326 | 2000-09-10 Denis Chertykov <denisc@overta.ru> |
8327 | ||
8328 | * genoutput.c (output_insn_data): Translate <NEWLINE> to \n\ while | |
8329 | outputting templates with many lines. | |
8330 | ||
a746dbf5 SC |
8331 | 2000-09-10 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
8332 | ||
8333 | * libgcc2.h: Use LONG_LONG_TYPE_SIZE instead of MIN_UNITS_PER_WORD | |
8334 | to decide whether 64-bit support must be generated. | |
8335 | ||
1d0f6d89 RH |
8336 | 2000-09-10 Richard Henderson <rth@cygnus.com> |
8337 | ||
8338 | * c-parse.in (asm patterns): Fix volatile check. | |
8339 | ||
e1aa5140 KG |
8340 | 2000-09-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
8341 | ||
8342 | * cppmacro.c (check_trad_stringification): New function. | |
8343 | (save_expansion): If -Wtraditional, warn about stringification of | |
8344 | macro arguments. | |
8345 | ||
afa1738b MH |
8346 | 2000-09-11 Michael Hayes <mhayes@cygnus.com> |
8347 | ||
8348 | * loop.h (struct loop_mem_info): Move from loop.c | |
8349 | (struct loop_info): Add fields store_mems, mems, mems_idx, | |
8350 | mems_allocated, unknown_address_altered, | |
8351 | unknown_constant_address_altered, num_mem_sets, and | |
8352 | first_loop_store_insn. | |
8353 | ||
8354 | * loop.c (loop_store_mems): Replace with field in loop_info struct. | |
8355 | (loop_mems, loop_mems_idx, loop_mems_allocated): Likewise. | |
8356 | (unknown_address_altered, unknown_constant_address_altered): Likewise. | |
8357 | (num_mem_sets): Likewise. | |
dd745546 | 8358 | (replace_loop_mems, replace_loop_regs): New. |
afa1738b MH |
8359 | (struct loop_replace_args): New. |
8360 | (load_mems): Use replace_loop_mems. | |
8361 | (try_copy_prop): Use replace_loop_regs. | |
8362 | (replace_loop_reg, replace_loop_mem): Use loop_replace_args structure. | |
8363 | ||
63883fc3 SC |
8364 | 2000-09-09 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
8365 | ||
8366 | * configure.in: Recognize m6811-elf and m6812-elf. | |
8367 | * configure: Regenerate. | |
8368 | ||
808788fe GK |
8369 | 2000-09-09 Geoff Keating <geoffk@cygnus.com> |
8370 | ||
8371 | * recog.c (validate_replace_rtx_1): Correct MODE parameter in call | |
8372 | to operand_subword. | |
8373 | ||
02055ad6 MH |
8374 | 2000-09-10 Michael Hayes <mhayes@cygnus.com> |
8375 | ||
8376 | * loop.c (struct movables): New. | |
8377 | (num_movables): Move into struct movables. | |
8378 | (the_movables): Change type to struct movables. | |
8379 | (ignore_some_movables): Change struct movable arg to struct movables. | |
dd745546 | 8380 | (force_movables, combine_movables, regs_match_p): Likewise. |
02055ad6 MH |
8381 | (rtx_equal_for_loop_p, move_movables): Likewise. |
8382 | (scan_loop): Change movables to be of type struct movables. | |
8383 | Replace last_movable with field in movables structure. | |
8384 | ||
ae54392b ZW |
8385 | 2000-09-08 Zack Weinberg <zack@wolery.cumb.org> |
8386 | ||
8387 | * c-pragma.c: Don't elide entire file if !HANDLE_GENERIC_PRAGMAS. | |
8388 | (init_pragma): Avoid warning if pfile happens to be unused. | |
8389 | * c-pragma.h: Never define HANDLE_GENERIC_PRAGMAS. Never | |
8390 | define init_pragma to nothing. Always prototype | |
8391 | init_pragma. Prototype dispatch_pragma if !USE_CPPLIB. | |
8392 | ||
8393 | * c-lex.c (process_directive): Always call dispatch_pragma. | |
8394 | Initialize entering_c_header to 0. | |
8395 | ||
385c9217 SC |
8396 | 2000-09-08 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
8397 | ||
8398 | * config/m68hc11/m68hc11.md: New file, machine description for | |
8399 | 68HC11 & 68HC12. | |
8400 | * config/m68hc11/m68hc11.h: New file, definitions for 68HC11 & 68HC12. | |
8401 | * config/m68hc11/m68hc11.c: New file, functions for 68HC11 & 68HC12. | |
8402 | * config/m68hc11/m68hc12.h: New file, definitions for 68HC12. | |
8403 | * config/m68hc11/m68hc11-protos.h: New file. | |
8404 | * config/m68hc11/m68hc11-crt0.S: New file, startup code. | |
8405 | * config/m68hc11/t-m68hc11-gas: New file, makefile fragment. | |
8406 | * config/m68hc11/xm-m68hc11.h: New file, target defs. | |
8407 | * config/m68hc11/larith.asm: New file, libgcc routines. | |
8408 | ||
dfaf3cdb SC |
8409 | 2000-09-08 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
8410 | ||
8411 | * Makefile.in (DPBIT_FUNCS): Add _usi_to_df. | |
8412 | (FPBIT_FUNCS): Add _usi_to_sf. | |
8413 | * config/fp-bit.c (usi_to_float): New function. | |
8414 | * config/fp-bit.h (L_usi_to_sf, L_usi_to_df): Define. | |
8415 | (usi_to_float): Add appropriate #define. | |
8416 | ||
915119a5 BS |
8417 | 2000-09-08 Bernd Schmidt <bernds@redhat.co.uk> |
8418 | ||
8419 | * i386-protos.h (sse_comparison_operator, mmx_reg_operand): Declare | |
8420 | new functions. | |
8421 | * i386.c (sse_comparison_operator, mmx_reg_operand): New functions. | |
8422 | * i386.md (attr "type"): Add sse and mmx types. | |
8423 | (attr "memory"): Handle them without a crash. | |
8424 | (movsi_1, movdi_2): Allow MMX regs. | |
8425 | (movdi splits): Don't split moves involving MMX regs. | |
8426 | (setcc_4): Remove '*' from pattern name so we get a gen_setcc4. | |
8427 | (movv4sf_internal, movv4si_internal, movv8qi_internal, | |
8428 | movv4hi_internal, movv2si_internal, movv8qi, movv4hi, movv2si, | |
8429 | movv4sf, movv4si, pushv4sf, pushv4si, pushv8qi, pushv4hi, pushv2si, | |
8430 | sse_movaps, sse_movups, sse_movmskps, mmx_pmovmskb, mmx_maskmovq, | |
8431 | sse_movntv4sf, sse_movntdi, sse_movhlps, sse_movlhps, sse_movhps, | |
8432 | sse_movlps, sse_loadss, sse_movss, sse_storess, sse_shufps, | |
8433 | addv4sf3, vmaddv4sf3, subv4sf3, vmsubv4sf3, mulv4sf3, vmmulv4sf3, | |
8434 | divv4sf3, vmdivv4sf3, rcpv4sf2, vmrcpv4sf2, rsqrtv4sf2, vmrsqrtv4sf2, | |
8435 | sqrtv4sf2, vmsqrtv4sf2, sse_andti3, sse_nandti3, sse_iorti3, | |
dd745546 AJ |
8436 | sse_xorti3, maskcmpv4sf3, maskncmpv4sf3, vmmaskcmpv4sf3, |
8437 | vmmaskncmpv4sf3, sse_comi, sse_ucomi, sse_unpckhps, sse_unpcklps, | |
915119a5 BS |
8438 | smaxv4sf3, vmsmaxv4sf3, sminv4sf3, vmsminv4sf3, cvtpi2ps, cvtps2pi, |
8439 | cvttps2pi, cvtsi2ss, cvtss2si, cvttss2si, addv8qi3, addv4hi3, | |
8440 | addv2si3, ssaddv8qi3, ssaddv4hi3, usaddv8qi3, usaddv4hi3, subv8qi3, | |
8441 | subv4hi3, subv2si3, sssubv8qi3, sssubv4hi3, ussubv8qi3, ussubv4hi3, | |
8442 | mulv4hi3, smulv4hi3_highpart, umulv4hi3_highpart, mmx_pmaddwd, | |
8443 | mmx_iordi3, mmx_xordi3, mmx_anddi3, mmx_nanddi3, mmx_uavgv8qi3, | |
8444 | mmx_uavgv4hi3, mmx_psadbw, mmx_pinsrw, mmx_pextrw, mmx_pshufw, | |
8445 | eqv8qi3, eqv4hi3, eqv2si3, gtv8qi3, gtv4hi3, gtv2si3, umaxv8qi3, | |
8446 | smaxv4hi3, uminv8qi3, sminv4hi3, ashrv4hi3, ashrv2si3, lshrv4hi3, | |
8447 | lshrv2si3, mmx_lshrdi3, ashlv4hi3, ashlv2si3, mmx_ashldi3, | |
8448 | mmx_packsswb, mmx_packssdw, mmx_packuswb, mmx_punpckhbw, | |
8449 | mmx_punpckhwd, mmx_punpckhdq, mmx_punpcklbw, mmx_punpcklwd, | |
8450 | mmx_punpckldq, emms, sfence, ldmxcsr, prefetch, stmxcsr, sse_clrti, | |
8451 | mmx_clrdi): New patterns. | |
8452 | ||
8e49e00a RE |
8453 | 2000-09-08 Richard Earnshaw <rearnsha@arm.com> |
8454 | ||
8455 | * arm.c: Don't include tm.h directly. | |
8456 | ||
bd5621a3 JH |
8457 | Fri Sep 8 14:34:56 MET DST 2000 Jan Hubicka <jh@suse.cz> |
8458 | ||
8459 | * recog.c (validate_replace_rtx_1): Fix confusion about equality | |
8460 | testing; simplify subregs of constants and nested subregs. | |
e65d02cf | 8461 | |
6b3783de AO |
8462 | 2000-09-08 Alexandre Oliva <aoliva@redhat.com> |
8463 | ||
8464 | * config/sh/sh.md (symPLT_label2reg): Use operand3 for PIC reg. | |
8465 | ||
82be40f7 BS |
8466 | 2000-09-08 Bernd Schmidt <bernds@redhat.co.uk> |
8467 | ||
8468 | * combine.c (combine_simplify_rtx): Try to simplify VEC_SELECT of a | |
8469 | VEC_CONCAT. | |
9af354b7 BS |
8470 | * rtl.texi (description of USE): Add note about possible pitfalls |
8471 | with this rtx. | |
ce701d1b BS |
8472 | From Richard Henderson: |
8473 | * reload1.c (choose_reload_regs): Compute need_mode properly. | |
82be40f7 | 8474 | |
4287b5f1 RH |
8475 | 2000-09-07 Richard Henderson <rth@cygnus.com> |
8476 | ||
8477 | * config/ia64/lib1funcs.asm (__divsi3): Use .s1 for frcpa. | |
8478 | (__modsi3, __umodsi3): Likewise. | |
8479 | (__udivsi3): Likewise. Normalize the TFmode values. | |
8480 | ||
c5d71f39 GK |
8481 | 2000-09-07 Geoff Keating <geoffk@cygnus.com> |
8482 | ||
8483 | * config/rs6000/sol-c0.c (_start): Declare `termfunc' parameter | |
8484 | with a prototype. | |
8485 | * config/rs6000/rs6000.h (RS6000_ARG_SIZE): Use cast to suppress | |
8486 | warning. | |
8487 | ||
712646d0 R |
8488 | Fri Sep 8 03:26:38 2000 J"orn Rennecke <amylaar@redhat.co.uk> |
8489 | ||
8490 | * sh.md (cmpeqsi_ior_t, cmpeqsi_and_t): Remove. | |
8491 | (cmpeqdi_t): Add output pattern. | |
8492 | (cmpeqdi_t+1): Don't split when not optimizing. | |
8493 | Restore proper splitting operation. | |
8494 | ||
30acbc3e RH |
8495 | 2000-09-07 Richard Henderson <rth@cygnus.com> |
8496 | ||
8497 | * c-lex.c (process_directive): If not HANDLE_GENERIC_PRAGMAS, | |
8498 | do not call dispatch_pragma. | |
8499 | ||
46146529 JW |
8500 | 2000-09-07 Jim Wilson <wilson@cygnus.com> |
8501 | ||
8502 | * reload.c (push_reload): Use CLASS_CANNOT_CHANGE_MODE_P in addition | |
8503 | to CLASS_CANNOT_CHANGE_MODE. | |
8504 | * config/ia64/ia64.h (CLASS_CANNOT_CHANGE_MODE_P): True only if the | |
8505 | mode classes are different. | |
8506 | ||
6db83155 ZW |
8507 | 2000-09-07 Zack Weinberg <zack@wolery.cumb.org> |
8508 | ||
8509 | * cpplib.h (struct cpp_options): Add user_label_prefix member, | |
8510 | left out of commit which removed cppulp.c. | |
8511 | ||
0d45144b RH |
8512 | 2000-09-07 Richard Henderson <rth@cygnus.com> |
8513 | ||
8514 | * bb-reorder.c (fixup_reorder_chain): Add jump in new block | |
8515 | after switch for CASE_DROPS_THROUGH. | |
8516 | ||
e8cb4873 RH |
8517 | 2000-09-07 Richard Henderson <rth@cygnus.com> |
8518 | ||
8519 | * loop.c (strength_reduce): Call check_ext_dependant_givs. | |
8520 | Properly extend the biv initial value for the giv. | |
8521 | (record_biv): Zero ext_dependant. | |
8522 | (record_giv): New argument ext_val. Update all callers. | |
8523 | (general_induction_var): Likewise. | |
8524 | (consec_sets_giv): Likewise. | |
8525 | (simplify_giv_expr): Likewise. Fill in ext_val if we find | |
8526 | a sign-extend, zero-extend, or truncate. | |
8527 | (combine_givs_p): Make sure modes are compatible. | |
8528 | (check_ext_dependant_givs): New. | |
8529 | (extend_value_for_giv): New. | |
8530 | * loop.h (struct induction): Add ext_dependant. | |
8531 | * unroll.c (iteration_info): Extend the biv initial value for the giv. | |
8532 | (find_splittable_givs): Likewise. | |
8533 | (final_giv_value): Likewise. | |
8534 | ||
8b97c5f8 ZW |
8535 | 2000-09-07 Zack Weinberg <zack@wolery.cumb.org> |
8536 | ||
8537 | * c-pragma.h: Define HANDLE_GENERIC_PRAGMAS if | |
8538 | REGISTER_TARGET_PRAGMAS is defined. Duplicate some | |
8539 | definitions from cpplib.h. | |
8540 | * cpplib.h: Don't typedef struct cpp_reader if c-pragma.h has | |
8541 | already done it. | |
8542 | * tm.texi: Document HANDLE_PRAGMA as no longer supported. Add | |
8543 | documentation for REGISTER_TARGET_PRAGMAS. | |
8544 | ||
8545 | * c-lex.c: Include cpplib.h before c-pragma.h. Define a | |
8546 | default-pragma callback to implement -Wunknown-pragmas if | |
8547 | USE_CPPLIB. | |
8548 | * c-parse.in: Move all includes to top of file. | |
8549 | * c-pragma.c: Include cpplib.h before c-pragma.h. Include | |
8550 | tm_p.h. | |
8551 | (dispatch_pragma): Put the namespace in the -Wunknown-pragmas | |
8552 | warning. | |
8553 | (init_pragma): If REGISTER_TARGET_PRAGMAS is defined, call it. | |
8554 | ||
8555 | * arm.h, arm-protos.h, arm.c, | |
8556 | c4x.h, c4x-protos.h, c4x.c, | |
8557 | h8300.h, h8300-protos.h, h8300.c, | |
8558 | i370.h, i370-protos.h, i370.c, | |
8559 | i960.h, i960-protos.h, i960.c, | |
d8ea8f28 | 8560 | sh.h, sh-protos.h, sh.c, |
8b97c5f8 ZW |
8561 | v850.h, v850-protos.h, v850.c: Convert HANDLE_PRAGMA-based |
8562 | pragmata scheme to use REGISTER_TARGET_PRAGMAS instead. | |
8563 | ||
8564 | * d30v.h: Don't mention HANDLE_PRAGMA in comment. Add | |
8565 | multiple include guard. | |
8566 | * i370.md (untyped_call): Use GEN_CALL. | |
8567 | (umodsi3): Remove unused variable. | |
8568 | * sh/elf.h: Don't undef HANDLE_SYSV_PRAGMA. | |
8569 | * v850.c (output_move_single, output_move_double): Constify | |
8570 | return value. | |
8571 | (print_operand): Constify a char *. | |
8572 | * v850.h (struct small_memory_info): Constify name member. | |
8573 | ||
1898584f KH |
8574 | 2000-09-07 Kazu Hirata <kazu@hxi.com> |
8575 | ||
8576 | * config/h8300.h: Fix comment typos. | |
8577 | * config/h8300/h8300.md: Likewise. | |
8578 | * config/h8300/lib1funcs.asm: Likewise. | |
8579 | ||
771c4df3 NB |
8580 | Thu 07-Sep-2000 21:29:00 BST Neil Booth <NeilB@earthling.net> |
8581 | ||
8582 | * Makefile.in: Remove references to cppulp.{c,o}. | |
8583 | * cppinit.c (initialize_builtins, cpp_start_read, | |
8584 | cpp_handle_option): Update to use cpp_options structure. | |
8585 | * cppulp.c: Remove. | |
8586 | ||
2496f0b5 JM |
8587 | 2000-09-07 Joseph S. Myers <jsm28@cam.ac.uk> |
8588 | ||
8589 | * c-common.c (time_char_table): Allow %#b and %#h. | |
8590 | ||
bf6302f0 HB |
8591 | 2000-09-07 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
8592 | ||
8593 | * reorg.c (find_end_label): If the basic block reorder pass moves the | |
8594 | return insn to some other place try to locate it again and put our | |
8595 | end_of_function_label there. | |
8596 | * reorg.c (relax_delay_slots): Check if find_end_label created a | |
8597 | new label that invalidates the current optimazation. | |
8598 | ||
4598ffe9 CM |
8599 | 2000-09-07 Catherine Moore <clm@redhat.com> |
8600 | ||
e8cb4873 RH |
8601 | * unroll.c (unroll_loop): Check for unconditional jumps |
8602 | to loop continuation. Delete if n_iterations is 1. | |
8603 | (ujump_to_loop_cont): New routine. | |
4598ffe9 | 8604 | |
ff427764 BS |
8605 | 2000-09-07 Bernd Schmidt <bernds@redhat.co.uk> |
8606 | ||
8607 | * rtl.c (class_narrowest_mode): Add entries for MODE_VECTOR_INT and | |
8608 | MODE_VECTOR_FLOAT. | |
8441bc30 BS |
8609 | * reload.c (regno_clobbered_p): Accept new arg, MODE, and use it |
8610 | to handle multiword modes correctly. All callers and the declaration | |
8611 | changed. | |
d8ea8f28 | 8612 | |
54f7877c MM |
8613 | 2000-09-06 Mark Mitchell <mark@codesourcery.com> |
8614 | ||
8615 | * c-common.h (prep_stmt): Declare. | |
8616 | (lang_expand_stmt): Likewise. | |
8617 | * c-decl.c (lang_expand_stmt): Remove. | |
8618 | * c-semantics.c (lang_expand_stmt): Define. | |
8619 | (prep_stmt): New function. | |
8620 | (expand_stmt): Handle common statement types here. | |
d8ea8f28 | 8621 | |
93ca1662 NY |
8622 | 2000-09-07 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com> |
8623 | ||
8624 | * configure.in (sh-*-linux*): Added. | |
8625 | * configure: Rebuilt. | |
8626 | * config/sh/t-linux: New file. | |
8627 | * config/sh/sh.h (USERMODE_BIT): Define. | |
8628 | (TARGET_USERMODE): Likewise. | |
8629 | (TARGET_SWITCHES): New switches for the bits above. | |
8630 | (INITIALIZE_TRAMPOLINE): Call __ic_invalidate in USERMODE. | |
8631 | * config/sh/linux.h: New file. | |
8632 | * config/sh/lib1funcs.asm (GLOBAL): Don't prefix symbols with | |
8633 | underscore on linux. | |
8634 | (L_sdivsi3, L_udivsi3): Define for linux. | |
8635 | (L_ic_invalidate): Define. | |
8636 | * invoke.texi (SH Options): Document -musermode. | |
8637 | ||
71105114 AO |
8638 | 2000-09-07 Alexandre Oliva <aoliva@redhat.com> |
8639 | ||
4979c2a9 AO |
8640 | * config/sh/sh.h (OVERRIDE_OPTIONS): Don't disable function |
8641 | CSE unless generating PIC. | |
8642 | ||
71105114 AO |
8643 | * config/sh/sh.md (symPLT_label2reg): Force the initialization of |
8644 | the PIC register. | |
8645 | ||
d5cfb451 L |
8646 | 2000-09-06 H.J. Lu (hjl@gnu.org) |
8647 | ||
8648 | * Makefile.in (clean_s1): Depend on stage_b. | |
8649 | (clean_s2): Depend on stage_d. Don't remove $(VOL_FILES) in | |
8650 | stage2. They are used for "make compare". | |
8651 | ||
ae499cce MM |
8652 | 2000-09-06 Mark Mitchell <mark@codesourcery.com> |
8653 | ||
8654 | Move statement-tree facilities from C++ to C front-end. | |
8655 | * c-common.h (c_tree_index): Add CTI_VOID_ZERO. | |
8656 | (void_zero_node): New macro. | |
8657 | (struct stmt_tree_s): New type. | |
8658 | (stmt_tree): New typedef. | |
8659 | (struct language_function): New type. | |
8660 | (last_tree): New macro. | |
8661 | (last_expr_type): Likewise. | |
8662 | (walk_tree_fn): New typedef. | |
8663 | (current_stmt_tree): New function. | |
8664 | (begin_stmt_tree): Likewise. | |
8665 | (add_stmt): Likewise. | |
8666 | (finish_stmt_tree): Likewise. | |
8667 | (statement_code_p): Likewise. | |
8668 | (lang_statement_code_p): New variable. | |
8669 | (walk_stmt_tree): New function. | |
8670 | (STMT_IS_FULL_EXPR_P): New macro. | |
8671 | * c-common.c (lang_statement_code_p): New variable. | |
8672 | (c_common_nodes_and_builtins): Initialize void_zero_node. | |
8673 | (statement_code_p): New function. | |
8674 | (walk_stmt_tree): Likewise. | |
8675 | * c-decl.c (language_function): Rename to ... | |
8676 | (c_language_function): ... this. Include language_function. | |
8677 | (push_c_function_context): Adjust accordingly. | |
8678 | (pop_c_function_context): Likewise. | |
8679 | (mark_c_function_context): Likewise. | |
8680 | (current_stmt_tree): Define. | |
8681 | * c-semantics.c (begin_stmt_tree): New function. | |
8682 | (add_stmt): Likewise. | |
8683 | (prune_unused_decls): Likewise. | |
8684 | (finish_stmt_tree): Likewise. | |
8685 | ||
4f4b88d0 HB |
8686 | 2000-09-06 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
8687 | ||
e8cb4873 | 8688 | * flow.c (insn_dead_p): Detect dead memory stores with auto increments. |
4f4b88d0 | 8689 | |
f725a3ec KH |
8690 | 2000-09-06 Kazu Hirata <kazu@hxi.com> |
8691 | ||
8692 | * calls.c: Fix formatting. | |
8693 | ||
0806f95f GS |
8694 | 2000-09-06 Graham Stott <grahams@cygnus.co.uk> |
8695 | ||
e8cb4873 | 8696 | * config/i386/i386.h (ADDRESS_COST): Fix typo. |
0806f95f | 8697 | |
0e5921e8 ZW |
8698 | 2000-09-06 Zack Weinberg <zack@wolery.cumb.org> |
8699 | ||
8700 | Integrated preprocessor. | |
8701 | ||
8702 | * Makefile.in: Remove all references to c-parse.gperf, | |
8703 | c-gperf.h, and c-parse.h. Remove -d from yacc command line | |
8704 | generating c-parse.c. Update dependencies. | |
8705 | * c-parse.gperf, c-gperf.h: Delete. | |
8706 | ||
8707 | * c-common.c: Don't define parse_options, cpp_token, yy_cur, | |
8708 | yy_lim, or yy_get_token. Don't define get_directive_line if | |
8709 | USE_CPPLIB. | |
8710 | * c-common.h: Add multiple include guard. Define RID values | |
8711 | for every keyword in C, C++, and Objective C. Put all the | |
8712 | modifiers first. | |
8713 | (struct c_fileinfo, get_fileinfo, dump_time_statistics): New. | |
8714 | * c-decl.c (c_decode_option): Handle -lang-objc here. | |
8715 | (print_lang_identifier): Handle C_IS_RESERVED_WORD case. | |
8716 | (grokdeclarator): Adjust for new RID scheme. | |
8717 | (extract_interface_info): New stub. | |
8718 | * c-lang.c: Don't declare yy_cur or parse_options. | |
8719 | (lang_init_options): Call cpp_init. Don't call | |
8720 | cpp_options_init. | |
8721 | (lang_init): Don't call check_newline if USE_CPPLIB. | |
8722 | ||
8723 | * c-lex.c: Don't include c-parse.h. Do include timevar.h. | |
8724 | Elide lots of unnecessary code if USE_CPPLIB. Delete code | |
8725 | rendered unnecessary by new architecture. Move routines not | |
8726 | shared with C++ to c-parse.in. Maintain a local idea of the | |
8727 | line number. Handle C++ as well as C. | |
8728 | [USE_CPPLIB]: Declare and register callbacks for #ident and | |
8729 | for entering/leaving files. | |
8730 | (init_c_lex, c_lex): Are now the entry points to this file. | |
8731 | (check_newline): Break out directive handling to | |
8732 | process_directive. | |
8733 | (read_ucs, is_extended_char, utf8_extend_token): Moved here | |
8734 | from C++ front end. | |
8735 | (readescape, parse_float): Overhaul. | |
8736 | (lex_number, lex_string, lex_charconst): Break out of c_lex | |
8737 | (n'ee yylex). | |
8738 | (get_fileinfo, update_header_times, dump_one_header, | |
8739 | dump_time_statistics): New and/or moved here from C++. | |
8740 | Support per-file data needed by C++ and per-header timing | |
8741 | statistics (C++ only, at the moment). | |
8742 | * c-lex.h: Update prototypes. Add multiple include guard. | |
8743 | * c-tree.h (struct lang_identifier): Add rid_code field. | |
8744 | (C_IS_RESERVED_WORD, C_RID_CODE): New. | |
8745 | ||
8746 | * c-parse.in: Include c-pragma.h. Remove unnecesary calls to | |
8747 | reinit_parse_for_function and/or position_after_white_space. | |
8748 | (save_filename, save_lineno): Look ahead before saving. | |
8749 | (label -> identifier ':'): Save file and line before shifting ':'. | |
8750 | (reservedwords): No need to call get_identifier. | |
8751 | (init_parse, finish_parse, yyerror, yylex, yyprint, | |
8752 | make_pointer_declarator): Are now here for C/ObjC. | |
8753 | (rid_to_yy): Conversion table from RID constants to Yacc codes. | |
8754 | ||
8755 | * c-pragma.c: Rewrite parsing logic to fit with cpplib's | |
8756 | #pragma registry. Provide dummy implementation of that | |
8757 | interface if !USE_CPPLIB. | |
8758 | * c-pragma.h: Update to match. | |
8759 | ||
8760 | * flags.h: Add multiple include guard. | |
8761 | (flag_detailed_statistics): Moved here from C++. | |
8762 | * toplev.c: Define flag_detailed_statistics. | |
8763 | ||
8764 | * gcc.c (C specs): Use %(trad_capable_cpp) for -E|-M|-MM case | |
8765 | #if USE_CPPLIB. | |
8766 | * timevar.def (TV_CPP, TV_LEX): New. | |
8767 | * timevar.h: Add multiple include guard. | |
8768 | ||
8769 | * objc/lang-specs.h: Use %(trad_capable_cpp) for -E|-M|-MM case | |
8770 | #if USE_CPPLIB. | |
8771 | * objc/objc-act.c: Don't mention yy_cur or parse_options. | |
8772 | Initialize cpplib properly. Force lineno to 0 after first | |
8773 | call to check_newline. Don't handle -lang-objc here. | |
8774 | Move forget_protocol_qualifiers and remember_protocol_qualifiers here. | |
8775 | ||
5638268e DE |
8776 | 2000-09-06 David Edelsohn <edelsohn@gnu.org> |
8777 | ||
8778 | * rs6000.md: Correct function unit definitions for cr_logical and | |
8779 | mtjmpr. | |
8780 | (sCOND): Additionally fail for sgt, slt, sge, sle if !TARGET_POWER | |
8781 | and use portable method for >=0 and floating point >=. Remove | |
8782 | associated matchers. | |
8783 | ||
44835fdd MM |
8784 | 2000-09-06 Mark Mitchell <mark@codesourcery.com> |
8785 | ||
8786 | * extend.texi: Mark named return value extension as deprecated. | |
8787 | ||
bab6226b GK |
8788 | 2000-09-06 Geoff Keating <geoffk@cygnus.com> |
8789 | ||
8790 | * config/rs6000/rs6000.c (rs6000_reverse_condition): Return | |
8791 | the result. | |
8792 | ||
e6513023 GDR |
8793 | 2000-09-06 Gabriel Dos Reis <gdr@codesourcery.com> |
8794 | ||
8795 | * toplev.c (display_help): Fix thinko in documentation. | |
8796 | ||
8797 | * diagnostic.h (output_buffer::indent_skip): New fields. | |
8798 | (output_indentation): New macro. | |
8799 | ||
8800 | * diagnostic.c (output_indent): New function. | |
8801 | (output_set_prefix, clear_diagnostic_info): Use. | |
8802 | (output_emit_prefix): Predict future indentation. | |
8803 | ||
112c7aea DD |
8804 | 2000-09-06 DJ Delorie <dj@redhat.com> |
8805 | ||
8806 | * Makefile.in (stage_*): add more dependencies to ensure parallel | |
8807 | builds build correctly | |
8808 | ||
1bac0fb4 MH |
8809 | 2000-09-06 Manfred Hollstein <manfredh@redhat.com> |
8810 | ||
8811 | * Makefile.in (bootstrap-lean): Depend on bootstrap-lean_g, | |
8812 | not bootstrap-lean_f. | |
8813 | ||
f472a17c AS |
8814 | 2000-09-06 Andreas Schwab <schwab@suse.de> |
8815 | ||
8816 | * mklibgcc.in: Emit rule for libgcc-stage-start. | |
8817 | * Makefile.in (stage1-start, stage2-start, stage3-start, | |
8818 | stage4-start): Don't handle libgcc here, use libgcc.mk instead. | |
8819 | ||
630c79be | 8820 | 2000-09-06 Bernd Schmidt <bernds@redhat.co.uk> |
611bbf2a BS |
8821 | |
8822 | * local-alloc.c (local_alloc): Ignore CLASS_LIKELY_SPILLED. | |
8823 | (update_equiv_regs): Likewise, except for the mn10200 kludge. | |
8824 | (combine_regs): Likewise. | |
8825 | ||
630c79be BS |
8826 | * Makefile.in (cse.o): Depend on $(BASIC_BLOCK_H). |
8827 | * cse.c: Include "basic-block.h". | |
8828 | (struct table_elt): New field REGCOST. | |
8829 | (CHEAP_REG): Delete macro. | |
8830 | (COST): Return 0 for REGs. | |
8831 | (approx_reg_cost_1, approx_reg_cost, preferrable): New functions. | |
8832 | (notreg_cost): Return 0 for appropriate SUBREGs. | |
8833 | (COSTS_N_INSNS): Return N * 2. | |
8834 | (rtx_cost): Return 0 for REGs, and use cost of nested rtx for cheap | |
8835 | SUBREGs. | |
8836 | (CHEAPER): Use new function preferrable. | |
8837 | (insert): Initialize REGCOST member. | |
8838 | (find_best_addr): Use approx_reg_cost for estimation of register | |
8839 | usage. | |
8840 | (cse_insn): Likewise. | |
8841 | * loop.c (iv_add_mult_cost): New function. | |
8842 | (add_cost, shift_cost, mult_cost): Delete variables. | |
8843 | (init_loop): Don't initialize add_cost; reduce copy_cost by half. | |
8844 | (strength_reduce): Use iv_add_mult_cost instead of fixed add_cost. | |
8845 | Make code that detects autoinc opportunities slightly less optimistic. | |
8846 | (simplify_giv_expr): If expression contains other reg that is also a | |
8847 | giv, only increment benefit if this is the only use of that reg. | |
8848 | (consec_sets_giv): Take that change into account. | |
8849 | (combine_givs): Slightly more verbose output. | |
8850 | ||
8851 | * i386.h (RTX_COSTS): For MULT, return true cost of multiplication, | |
8852 | not the cost of an equivalent shift. | |
8853 | * sh-protos.h (addsubcosts): Declare. | |
8854 | * sh.c (addsubcosts): New function. | |
8855 | * sh.h (CONST_COSTS): If CONST_OK_FOR_I, then return 0. | |
8856 | (RTX_COSTS): Tweak. Use addsubcosts. | |
8857 | (ADDRESS_COST): Return higher cost for reg+reg addressing. | |
8858 | ||
39a10a29 GK |
8859 | 2000-09-06 Geoff Keating <geoffk@cygnus.com> |
8860 | ||
8861 | * config/rs6000/rs6000.c (validate_condition_mode): New function. | |
8862 | (branch_comparison_operator): Call validate_condition_mode to | |
8863 | abort rather than returning 0. | |
8864 | (branch_positive_comparison_operator): New function. | |
8865 | (scc_comparison_operator): Call validate_condition_mode to abort | |
8866 | rather than returning 0. | |
8867 | (ccr_bit): Call validate_condition_mode. Update for | |
8868 | new branch scheme. | |
8869 | (print_operand): Delete %C modifier. Update %E case | |
8870 | to use EQ bit not SO bit. | |
8871 | (rs6000_reverse_condition): New function. | |
8872 | (rs6000_generate_compare): New function. | |
8873 | (rs6000_emit_sCOND): New function. | |
8874 | (rs6000_emit_cbranch): New function. | |
8875 | (output_cbranch): The length of a long branch insn is | |
8876 | now only 8 bytes. Add validate_condition_mode. Use | |
8877 | rs6000_reverse_condition. Remove cror generation. | |
bab6226b | 8878 | |
39a10a29 GK |
8879 | * config/rs6000/rs6000.h: Update comments. |
8880 | (PREDICATE_CODES): Add new predicate. Update codes used | |
8881 | by branch_comparison_operator and scc_comparison_operator. | |
8882 | * config/rs6000/rs6000-protos.h: Add prototypes for | |
8883 | new external functions. | |
8884 | * config/rs6000/rs6000.md: Add new scheduling parameters | |
8885 | for cr_logical instructions. Change length of branch | |
8886 | instructions. | |
8887 | (bCOND patterns): Call rs6000_emit_cbranch. | |
8888 | (sCOND patterns): Call rs6000_emit_sCOND. | |
8889 | (branch patterns): Change lengths to 4. | |
8890 | (cr logical patterns): New. | |
8891 | ||
2a4bbffa RH |
8892 | 2000-09-06 Richard Henderson <rth@cygnus.com> |
8893 | ||
8894 | * config/i386/i386.md (call_pop): Fix test for setting | |
8895 | current_function_uses_pic_offset_table. | |
8896 | (call, call_value_pop, call_value): Likewise. | |
8897 | ||
eab828ba ZW |
8898 | 2000-09-06 Zack Weinberg <zack@wolery.cumb.org> |
8899 | ||
8900 | * timevar.c (timevar_add): Delete. | |
8901 | (timevar_get): Also count time since the selected timer was | |
8902 | last updated. Do not examine the timevar stack if the | |
8903 | selected timer is standalone. | |
8904 | ||
f1d6a533 DA |
8905 | 2000-09-05 J. David Anglin <dave@hiauly1.hia.nrc.ca> |
8906 | ||
8907 | * gthr-dce.h (__gthread_objc_mutex_deallocate): Free mutex->backend. | |
8908 | ||
53c5b5d7 JM |
8909 | 2000-09-05 Jason Merrill <jason@redhat.com> |
8910 | ||
8911 | * c-decl.c (finish_incomplete_decl): Don't call complete_array_type | |
8912 | for 'extern' arrays. | |
8913 | ||
3392dafc RH |
8914 | 2000-09-05 Richard Henderson <rth@cygnus.com> |
8915 | ||
8916 | * config/ia64/lib1func.asm (__divtf3): Rebundle for Itanium. | |
8917 | Eliminate final copy from non-trapping case. | |
8918 | (__divdf3, __divsf3): Likewise. | |
8919 | ||
2a7ffc85 RH |
8920 | 2000-09-05 Richard Henderson <rth@cygnus.com> |
8921 | ||
8922 | * config/ia64/ia64.md (mulhi3): Fix typo last change. | |
8923 | * config/ia64/lib1func.asm (__divdi3, __udivdi3, __umodsi3): Likewise. | |
8924 | ||
204093e6 DT |
8925 | 2000-09-03 Donn Terry <donn@interix.com>, Laurynas Biveinis <lauras@softhome.net> |
8926 | ||
8927 | * Makefile.in: Restructure bootstrap stages to allow clean | |
8928 | restart after failure. | |
8929 | ||
514f96e6 RH |
8930 | 2000-09-05 Richard Henderson <rth@cygnus.com> |
8931 | ||
8932 | * config/ia64.md (movsi and movdi patterns): Allow moves from | |
8933 | 8-bit constants to AR registers. | |
8934 | ||
cf1f6ae3 RH |
8935 | 2000-09-05 Richard Henderson <rth@cygnus.com> |
8936 | ||
8937 | * config/ia64/ia64.md (mulhi3): New. | |
8938 | ||
d8d7a286 RH |
8939 | 2000-09-05 Richard Henderson <rth@cygnus.com> |
8940 | ||
8941 | * config/ia64/ia64.h (INIT_TARGET_OPTABS): Remove. | |
8942 | * config/ia64/lib1funcs.asm (__divdi3): Update from Intel IA-64 | |
8943 | Optimization Guide, minimum latency alternative. | |
8944 | (__moddi3, __udivdi3, __umoddi3): Likewise. | |
8945 | (__divsi3, __modsi3, __udivsi3, __umodsi3): Likewise. | |
8946 | ||
a6efbece BK |
8947 | 2000-09-05 Bruce Korb <bkorb@gnu.org> |
8948 | ||
0e5921e8 ZW |
8949 | * fixinc/fixincl.c (load_file): always read header files |
8950 | with sizes that are a multiple of the page size. | |
dc46505a | 8951 | & use libiberty's getpagesize for determining that. |
a6efbece | 8952 | |
c0712acb AO |
8953 | 2000-09-05 Alexandre Oliva <aoliva@redhat.com> |
8954 | ||
8955 | * gcse.c (hash_string_1): Add prototype. | |
8956 | * cse.c (canon_hash_string): Likewise. | |
8957 | ||
af7f0fde CN |
8958 | 2000-09-04 Craig Newell <CraigN@ieee.org> |
8959 | ||
8960 | * gcc.c: Undefine "__WCHAR_TYPE__" before redefining it. | |
8961 | ||
4993ddc1 AS |
8962 | 2000-09-04 Andreas Schwab <schwab@suse.de> |
8963 | ||
8964 | * Makefile.in (STAGESTUFF): Remove libgcc. | |
8965 | (stage1-start, stage2-start, stage3-start): Copy the contents of | |
8966 | the libgcc directory explicitly. | |
8967 | (mostlyclean): Clean libgcc. | |
8968 | ||
5e640c56 AH |
8969 | 2000-09-04 Andrew Haley <aph@redhat.com> |
8970 | ||
8971 | * dwarf2out.c: (stack_adjust_offset): New prototype. | |
8972 | ||
25ffb1f6 JH |
8973 | Wed Jan 1 00:23:59 MET 1997 Jan Hubicka <jh@suse.cz> |
8974 | ||
8975 | * combine.c (make_extraction): Fix rtx_cost comparison to | |
8976 | match the comment. | |
8977 | ||
8978 | Wed Jan 1 00:17:32 MET 1997 Jan Hubicka <jh@suse.cz> | |
8979 | ||
0e5921e8 | 8980 | * i386.md (pushsi2, pushhi2, pophi2, swapsf, swapdf, |
25ffb1f6 JH |
8981 | umulsi3_highpart, smulsi3_highpart, testqi_ccno_1, xorqi_ext_1): |
8982 | Add '*' to insn pattern name. | |
8983 | ||
29844fa7 JJ |
8984 | 2000-09-04 Jakub Jelinek <jakub@redhat.com> |
8985 | ||
8986 | * cpplex.c (ON_REST_ARG): Check VAR_ARGS flag of current context, | |
8987 | use posn - 1 to index into tokens array. | |
8988 | (maybe_paste_with_next): Adjust caller. | |
8989 | ||
0d86f538 GK |
8990 | 2000-09-03 Geoff Keating <geoffk@cygnus.com> |
8991 | ||
bff46771 GK |
8992 | * invoke.texi: Document the -mvxworks option for rs6000 ELF. |
8993 | ||
0d86f538 GK |
8994 | * config/rs6000/rs6000.h: Update various comments about XER_REGNO. |
8995 | (REGNO_REG_CLASS): Use symbolic register | |
8996 | names. | |
8997 | ||
4e67550b RE |
8998 | 2000-09-03 Richard Earnshaw <rearnsha@arm.com> |
8999 | ||
0e5921e8 | 9000 | * arm.c (final_prescan_insn): If the form of a jump insn isn't |
4e67550b RE |
9001 | recognized, don't try to conditionally execute it. |
9002 | ||
150f4100 DC |
9003 | Sun Sep 3 13:10:56 2000 Denis Chertykov <denisc@overta.ru> |
9004 | ||
9005 | * config/avr/avr.md ("*tablejump_lib"): New pattern. | |
9006 | (call_value_insn): Right length claculation. | |
9007 | (call_insn): Likewise. | |
9008 | ||
5fecfd8d MM |
9009 | 2000-09-02 Marek Michalkiewicz <marekm@linux.org.pl> |
9010 | ||
9011 | * config/avr/avr-protos.h, config/avr/avr.c (unique_section, | |
9012 | gas_output_limited_string, gas_output_ascii, output_movqi, | |
9013 | output_movhi, out_movqi_r_mr, out_movqi_mr_r, out_movhi_r_mr, | |
9014 | out_movhi_mr_r, out_movsi_r_mr, out_movsi_mr_r, output_movsisf, | |
9015 | out_tstsi, out_tsthi, ret_cond_branch, ashlqi3_out, ashlhi3_out, | |
9016 | ashlsi3_out, ashrqi3_out, ashrhi3_out, ashrsi3_out, lshrqi3_out, | |
9017 | lshrhi3_out, lshrsi3_out, output_reload_inhi, output_reload_insisf, | |
9018 | out_shift_with_cnt, ptrreg_to_str, cond_string, encode_section_info): | |
9019 | Add "const" as needed to remove warnings. | |
9020 | ||
9021 | * config/avr/avr.c (avr_override_options, avr_init_once, | |
9022 | function_prologue, function_epilogue, frame_pointer_required_p, | |
9023 | class_likely_spilled_p, order_regs_for_local_alloc, | |
9024 | avr_address_cost, avr_ret_register): Use K&R style arguments. | |
9025 | (initial_elimination_offset, gas_output_limited_string): | |
9026 | Remove ATTRIBUTE_UNUSED from the used arguments. | |
9027 | (output_mov*, out_mov*_r_mr, out_mov*_mr_r, output_reload_insisf): | |
9028 | Use local variables src, dest, base to access operands[]. | |
9029 | Rename reg_dest to reg_src if that's what it is. | |
9030 | (output_movhi, output_movsisf): Optimize loading 8-bit immediate | |
9031 | constants to LD_REGS if reg_was_0. | |
9032 | (output_reload_insisf): Change arg 3 to insn length and set it. | |
9033 | (out_movhi_r_mr, out_movhi_mr_r): Use in/out for more efficient | |
9034 | access to 16-bit I/O register pairs. | |
9035 | (avr_address_cost): Lower cost for the above case. | |
9036 | (out_tsthi): Use "or" (faster) instead of "sbiw" if the operand | |
9037 | may be clobbered, also for LD_REGS. | |
9038 | (adjust_insn_length): Correct insn length for iorhi3 and iorsi3 | |
9039 | with a CONST_INT. | |
9040 | ||
9041 | * config/avr/avr.h (PTRDIFF_TYPE): Make signed. | |
9042 | ||
9043 | * config/avr/avr.md: Change all uses of the TEST_HARD_REG_CLASS | |
9044 | macro to test_hard_reg_class function. | |
9045 | (*movsi, *movsf): Change "cc" attribute from "clobber" to "none" | |
9046 | for loading immediate constants to LD_REGS. | |
9047 | (andsi3, cmphi, cmpsi): Add return statements to avoid warnings. | |
9048 | ||
9049 | ||
bad3869a MM |
9050 | Sat Sep 2 13:58:23 2000 Marek Michalkiewicz <marekm@linux.org.pl> |
9051 | ||
9052 | * config/avr/avr.md ("*negsi2"): substitute %@ to __zero_reg__ | |
9053 | * config/avr/libgcc.S: Lost part of the previous patch. | |
9054 | ||
802a8181 DA |
9055 | 2000-08-31 J. David Anglin <dave@hiauly1.hia.nrc.ca> |
9056 | ||
9057 | * gthr-dce.h (__gthread_objc_mutex_allocate): Create a pthread_mutex_t | |
9058 | object before calling pthread_mutex_init. | |
9059 | ||
1a66cd67 AO |
9060 | 2000-09-02 Alexandre Oliva <aoliva@redhat.com> |
9061 | ||
9062 | * config/sh/t-elf, config/sh/crt1.asm, config/sh/crti.asm, | |
9063 | config/sh/crtn.asm: New files. | |
9064 | * config/sh/t-sh (EXTRA_MULTILIB_PARTS): Set. | |
9065 | (crt1.o, crti.o, crtn.o): New targets. | |
9066 | * configure.in [sh-*-elf*, sh-*-rtemself*] (tmake_file): Added | |
9067 | sh/t-elf. | |
9068 | * configure: Rebuilt. | |
9069 | * config/sh/sh.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP, | |
9070 | STARTFILE_SPEC, ENDFILE_SPEC, CRT_CALL_STATIC_FUNCTION): Define. | |
9071 | * config/sh/elf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP): | |
9072 | Undefine for config/elfos.h to redefine. | |
9073 | (STARTFILE_SPEC, ENDFILE_SPEC): Redefine after config/elfos.h. | |
9074 | ||
9075 | 2000-09-02 Alexandre Oliva <aoliva@redhat.com>, Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp> | |
9076 | ||
9077 | * config/sh/sh-protos.h (nonpic_symbol_mentioned_p, | |
9078 | legitimize_pic_address, output_pic_addr_const): Declare. | |
9079 | * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Fix PIC register. | |
9080 | (PREFERGOT_BIT, TARGET_PREFERGOT): Likewise. | |
9081 | (TARGET_SWITCHES): New switch -mprefergot. | |
9082 | (OVERRIDE_OPTIONS): Set flag_no_function_cse unless -mprefergot. | |
9083 | (PIC_OFFSET_TABLE_REGNUM): Define. | |
9084 | (GOT_SYMBOL_TABLE): Likewise. | |
9085 | (LEGITIMIZE_ADDRESS): Use legitimize_pic_address. | |
9086 | (ENCODE_SECTION_INFO): Define. | |
9087 | (FINALIZE_PIC): New macros. | |
9088 | (LEGITIMATE_PIC_OPERAND_P, SYMBOLIC_CONST_P): New macro. | |
9089 | (ASM_OUTPUT_INT, ASM_OUTPUT_SHORT): Use output_pic_addr_const. | |
9090 | * config/sh/sh.c (print_operand_address): Use output_pic_addr_const. | |
9091 | (prepare_move_operands): Call emit_pic_move or | |
9092 | emit_pic_const_move if appropriate. | |
9093 | (output_far_jump): For PIC, use braf and output long offset. | |
0e5921e8 | 9094 | (machine_dependent_reorg): |
1a66cd67 AO |
9095 | (sh_expand_prologue): Save and initialize the PIC register. |
9096 | (sh_expand_epilogue): Restore it. | |
9097 | (initial_elimination_offset): Account for it. | |
9098 | (nonpic_symbol_mentioned_p): New function. | |
9099 | (legitimize_pic_address): Likewise. | |
9100 | (output_pic_addr_const): Likewise. | |
9101 | * config/sh/sh.md (calli_pcrel, call_valuei_pcrel): New insns. | |
9102 | (call, call_value): Use them. | |
9103 | (GOTaddr2picreg, sym_label2reg, symGOT2reg, symGOTOFF2reg, | |
9104 | symPLT_label2reg): New expands. | |
9105 | * invoke.texi (SH Options): Document -mprefergot. | |
9106 | ||
6462bb43 AO |
9107 | 2000-09-01 Alexandre Oliva <aoliva@redhat.com> |
9108 | ||
9109 | * rtl.h (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): New macro. | |
9110 | * gcse.c (hash_string_1): New function. | |
9111 | (hash_expr_1) <ASM_OPERANDS>: Disregard filename and line number. | |
9112 | (expr_equiv_p) <ASM_OPERANDS>: Likewise. | |
9113 | * cse.c (rtx_cost): Don't increase the cost of ASM_OPERANDS. | |
9114 | (canon_hash_string): New function. | |
9115 | (canon_hash) <ASM_OPERANDS>: Disregard filename and line number. | |
9116 | (exp_equiv_p) <ASM_OPERANDS>: Likewise. | |
9117 | (fold_rtx): Use ASM_OPERANDS accessor macros. | |
9118 | * emit-rtl.c (copy_insn_1): Likewise. | |
9119 | * integrate.c (copy_rtx_and_substitute): Likewise. | |
9120 | * stmt.c (expand_asm_operands): Likewise. Give an | |
9121 | ASM_OPERANDS rtx the mode of the output reg being set from it. | |
9122 | ||
1b4f90cd FF |
9123 | 2000-09-01 Fred Fish <fnf@be.com> |
9124 | ||
9125 | * fix-header.c (write_rbrac): Add putc and getc to list of | |
9126 | functions to protect against prior definition as a macro. | |
0e5921e8 | 9127 | |
3c786c69 JM |
9128 | 2000-09-01 Joseph S. Myers <jsm28@cam.ac.uk> |
9129 | ||
9130 | * c-common.h (enum c_tree_index): Add CTI_C_SIZE_TYPE. | |
9131 | (c_size_type_node): Define. | |
9132 | * c-decl.c (init_decl_processing): Initialize c_size_type_node. | |
9133 | * c-common.c (enum format_lengths, enum format_std_version, | |
9134 | format_length_info, format_type_detail, BADLEN, NOLENGTHS, | |
9135 | format_kind_info, printf_length_specs, scanf_length_specs, T89_I, | |
9136 | T99_I, T89_L, T99_LL, TEX_LL, T89_S, T89_UI, T99_UI, T89_UL, | |
9137 | T99_ULL, TEX_ULL, T89_US, T89_F, T99_F, T89_D, T99_D, T89_LD, | |
9138 | T99_LD, T89_C, T99_SC, T99_UC, T89_V, T94_W, TEX_W, T94_WI, | |
9139 | TEX_WI, T99_ST, T99_SST, T99_PD, T99_UPD, T99_IM, T99_UIM, | |
9140 | format_types): Define. | |
9141 | (format_char_info, print_char_table, scan_char_table, | |
9142 | time_char_table): Rearrange for new organization of information | |
9143 | about format length modifiers and standard versions. | |
9144 | (T_ST): Redefine to use c_size_type_node. | |
9145 | (check_format_info): Obtain information about length modifiers and | |
9146 | standard versions from tables. Adjust warning message wordings. | |
9147 | Use the name from the user's program for `ll' and `hh' length | |
9148 | modifiers in warning messages. Use more informative names for | |
9149 | wanted types where available (for wchar_t, wint_t, size_t, signed | |
9150 | size_t, ptrdiff_t, unsigned ptrdiff_t, intmax_t and uintmax_t). | |
9151 | ||
8a09bb27 JW |
9152 | 2000-09-01 Jim Wilson <wilson@cygnus.com> |
9153 | ||
ca3920ad JW |
9154 | * calls.c (emit_call_1): Add REG_NORETURN note to call if ECF_NORETURN. |
9155 | * combine.c (distribute_notes): Handle REG_NORETURN. | |
9156 | * rtl.c (reg_note_name): Add REG_NORETURN. | |
9157 | * rtl.h (enum reg_note): Likewise. | |
9158 | ||
9159 | * config/ia64/ia64-protos.h (emit_safe_across_calls): Renamed from | |
9160 | ia64_file_start. | |
9161 | * config/ia64/ia64.c (emit_safe_across_calls): Likewise. | |
9162 | (rtx_needs_barrier): Handle unspec_volatile 8 and 9. | |
9163 | (emit_predicate_relation_info): Handle conditional calls with | |
9164 | REG_NORETURN. | |
9165 | * config/ia64/ia64.h (ASM_FILE_START): Call emit_safe_across_calls | |
9166 | instead of ia64_file_start. | |
9167 | * config/ia64/sysv4.h (ASM_FILE_START): Likewise. | |
9168 | * config/ia64/ia64.md (safe_across_calls_all, | |
9169 | save_across_calls_normal): New patterns. | |
9170 | ||
8a09bb27 JW |
9171 | * loop.c (check_final_value): Check for biv use before checking for |
9172 | giv use. Check for both biv and giv uses. Always set last_giv_use | |
9173 | if there is a giv use. | |
9174 | ||
11a13704 RH |
9175 | 2000-09-01 Richard Henderson <rth@cygnus.com> |
9176 | ||
9177 | * config/ia64/ia64.md (mulsi3): Use grfr_register_operand. | |
9178 | (madddi3): Likewise. | |
9179 | (maddsi3): New. | |
9180 | ||
6324d2bb RK |
9181 | Fri Sep 1 10:59:47 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
9182 | ||
fcf1b822 RK |
9183 | * expr.c (clear_storage): Don't use emit_move_insn unless |
9184 | either BLKmode or proper size. | |
9185 | (store_constructor): Don't call clear_storage if REG of wrong size. | |
9186 | ||
6324d2bb RK |
9187 | * flow.c (init_propagate_block_info): Don't mark frame dead at end |
9188 | of function if returns wiht stack pointer depressed. | |
9189 | ||
1ba5ae8f AH |
9190 | 2000-09-01 Andrew Haley <aph@redhat.com> |
9191 | ||
0e5921e8 ZW |
9192 | * dwarf2out.c (stack_adjust_offset): New function. |
9193 | (dwarf2out_stack_adjust): Break out stack adjust logic into | |
9194 | new stack_adjust_offset function. Look inside parallels and | |
9195 | sequences for stack adjustments. | |
1ba5ae8f | 9196 | |
893f3d5b JL |
9197 | 2000-08-31 Jeff Law <law@cygnus.com> |
9198 | ||
94c51f7a JL |
9199 | * arm.md: Use no_new_pseudos to determine when it is safe |
9200 | to create new pseudo registers. | |
9201 | ||
0e5921e8 ZW |
9202 | * arm.c (legitimize_pic_address): Use no_new_pseudos to determine |
9203 | when we can safely allocate new registers. | |
893f3d5b | 9204 | |
1b3d8f8a GK |
9205 | 2000-08-31 Geoffrey Keating <geoffk@cygnus.com> |
9206 | ||
9207 | * stmt.c (expand_asm_operands): Twiddle generating_concat_p | |
9208 | so that CONCATs are not generated for ASMs. | |
9209 | * emit-rtl.c (gen_reg_rtx): Don't generate CONCATs when | |
9210 | not generating_concat_p. | |
9211 | * function.c (pop_function_context_from): Reset | |
9212 | generating_concat_p. | |
9213 | (prepare_function_start): Likewise. | |
9214 | * rtl.c (generating_concat_p): Define. | |
9215 | * rtl.h (generating_concat_p): Declare. | |
9216 | * toplev.c (rest_of_compilation): No CONCATs after RTL generation. | |
9217 | ||
4e8bd75f | 9218 | 2000-08-22 Philipp Thomas <pthomas@suse.de> |
0e5921e8 | 9219 | Masanobu Yuhara <yuhara@flab.fujitsu.co.jp> |
4e8bd75f PT |
9220 | |
9221 | * gmicro.h (TARGET_SWITCHES): Add descriptions and mark them | |
9222 | for translation. | |
9223 | ||
b145ee27 GM |
9224 | 2000-08-30 Greg McGary <greg@mcgary.org> |
9225 | ||
9226 | * Makefile.in (fixinc.sh): Pass CC, CFLAGS and LDFLAGS to mkfixinc.sh | |
9227 | * fixinc/Makefile.in (fixincl): Pass $(LDFLAGS) to $(CC). | |
9228 | * fixinc/mkfixinc.sh: Pass $CC, $CFLAGS and $LDFLAGS to $MAKE. | |
9229 | ||
2afaa41c GM |
9230 | 2000-08-30 Greg McGary <greg@mcgary.org> |
9231 | ||
9232 | * tree.h (struct tree_int_cst): Wrap low and high in a sub-struct. | |
9233 | (TREE_INT_CST_LOW, TREE_INT_CST_HIGH): Access through sub-struct. | |
9234 | (TREE_INT_CST): New macro. | |
9235 | * varasm.c (const_hash, compare_constant_1, record_constant_1): | |
9236 | Use new macro TREE_INT_CST. | |
9237 | ||
1d92b3e1 NB |
9238 | Wed 30-Aug-2000 23:18:59 BST Neil Booth <NeilB@earthling.net> |
9239 | ||
9240 | * contrib.texi: Add self. | |
9241 | ||
b23ca156 AO |
9242 | 2000-08-30 Alexandre Oliva <aoliva@redhat.com> |
9243 | ||
9244 | * config/sh/sh.md (cmpeqsi_ior_t, cmpeqsi_and_t): New insns. | |
9245 | (cmpeqdi_t splitter): Use cmpeqsi_and_t instead of emitting jumps | |
9246 | and labels. | |
9247 | ||
aef9fbbf DA |
9248 | 2000-08-30 J. David Anglin <dave@hiauly1.hia.nrc.ca> |
9249 | ||
9250 | * fixinc/gnu-regex.c: Don't define `const'. | |
9251 | ||
85f3d674 RK |
9252 | Tue Aug 29 22:09:59 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
9253 | ||
9254 | * expr.c (store_constructor): Allow variable bounds of array type. | |
9255 | (expand_expr): Don't blow up if type is ERROR_MARK. | |
9256 | * varasm.c (output_constructor): Don't access lower bound of array | |
9257 | type unless need it if index is supplied (so it can be a variable | |
9258 | if no index is supplied). | |
9259 | Use tree_low_cst; use HOST_WIDE_INT for sizes; change BITPOS to POS. | |
9260 | Other minor cleanups. | |
9261 | ||
5b67ad6f DA |
9262 | 2000-08-29 J. David Anglin <dave@hiauly1.hia.nrc.ca> |
9263 | ||
9264 | * Makefile.in: Revamp handling of cflags to allow different WARN_CFLAGS | |
9265 | for compilations in stage 1 and subsequent stages, respectively. | |
9266 | * configure.in (vax): Add compiler-dependent CFLAGS for stage 1. | |
9267 | * configure: Rebuilt. | |
9268 | * x-vax, x-vax-gcc: Deleted. | |
9269 | ||
63ad61ed ZW |
9270 | 2000-08-29 Zack Weinberg <zack@wolery.cumb.org> |
9271 | ||
9272 | * c-common.c (declare_function_name): Use func_id_node, | |
9273 | function_id_node, and pretty_function_id_node. Do not make | |
0e5921e8 | 9274 | __func__ visible at file scope. |
63ad61ed ZW |
9275 | * c-common.h (c_tree_index): Add CTI_FUNCTION_ID, |
9276 | CTI_PRETTY_FUNCTION_ID, and CTI_FUNC_ID. | |
9277 | (function_id_node, pretty_function_id_node, func_id_node): New | |
9278 | macros. | |
9279 | * c-decl.c (init_decl_processing): Initialize function_id_node, | |
9280 | pretty_function_id_node, and func_id_node. | |
9281 | (c_make_fname_decl): Correct comment. | |
9282 | ||
9283 | * tree.h (struct tree_identifier): Constify pointer member. | |
9284 | ||
9285 | * c-decl.c (pushdecl, implicit_decl_warning): Constify a char *. | |
9286 | * c-pragma.h (struct weak_syms): Constify name and value members. | |
0e5921e8 | 9287 | (add_weak): Constify arguments. |
63ad61ed ZW |
9288 | |
9289 | * calls.c (special_function_p): Constify a char *. | |
9290 | (expand_call): Remove variable which is initialized and then | |
9291 | never used. | |
9292 | * dependence.c (struct def_use, struct induction, struct subscript): | |
9293 | Constify 'variable' member. | |
9294 | (get_low_bound, have_induction_variable): Constify char * argument. | |
9295 | (find_induction_variable): Add braces to avoid dangling else. | |
9296 | (classify_dependence): Constify char * arrays. | |
9297 | * profile.c (output_func_start_profiler): Constify a char *. | |
9298 | * stor-layout.c (finalize_record_size): Constify a char *. | |
9299 | * tree.c (is_attribute_p): Constify a char *. | |
9300 | * varasm.c (add_weak, remove_from_pending_weak_list): Constify argument. | |
9301 | ||
9302 | * varasm.c (make_function_rtl, make_decl_rtl): Rearrange code | |
9303 | for comprehensibility. Do not call get_identifier if we did | |
9304 | not change the DECL_ASSEMBLER_NAME of the decl. Use alloca to | |
9305 | create temporary string constants, not ggc_alloc_string. No | |
9306 | need to copy result of ASM_FORMAT_PRIVATE_NAME. Use const | |
9307 | char * to hold IDENTIFIER_POINTERs. | |
9308 | ||
cee58bc0 RH |
9309 | 2000-08-29 Richard Henderson <rth@cygnus.com> |
9310 | ||
9311 | * config/ia64/ia64.md (muldi3): Use grfr_register_operand | |
9312 | for the inputs. | |
9313 | ||
94aaab7a RH |
9314 | 2000-08-29 Richard Henderson <rth@cygnus.com> |
9315 | ||
9316 | * reload.c (push_secondary_reload): Allow class == reload_class | |
9317 | if we're using a reload_in/out pattern. | |
9318 | ||
60a3c181 RH |
9319 | * config/ia64/ia64.md (reload_inti): Use a TImode scratch. Use |
9320 | the half that does not conflict with the reload register. | |
9321 | (reload_outti): Likewise. | |
9322 | ||
9218435e KH |
9323 | 2000-08-29 Kazu Hirata <kazu@hxi.com> |
9324 | ||
4381f7c2 KH |
9325 | * reload.c: Fix formatting. |
9326 | ||
9327 | * stmt.c: Fix formatting. | |
9328 | ||
9218435e KH |
9329 | * gcc.c: Fix formatting. |
9330 | ||
fba0bfd4 ZW |
9331 | 2000-08-29 Zack Weinberg <zack@wolery.cumb.org> |
9332 | ||
9333 | * flags.h (time_report, mem_report): New global flags. | |
9334 | * toplev.c: Define time_report and mem_report. | |
9335 | (f_options): Add -ftime-report and -fmem-report. | |
9336 | (compile_file): Turn on time_report if quiet_flag is off. | |
9337 | Call ggc_print_statistics at very end if mem_report is on. | |
9338 | * timevar.c (TIMEVAR_ENABLE): Examine time_report, not quiet_flag. | |
9339 | ||
9340 | * ggc-common.c (ggc_print_statistics): Rename to | |
9341 | ggc_print_common_statistics; all callers changed. Scale | |
9342 | quantities above 10K to kilobytes and above 10M to megabytes. | |
9343 | * ggc-page.c (ggc_page_print_statistics): Rename to | |
9344 | ggc_print_statistics. Report memory consumed by internal data | |
9345 | structures for each allocation bucket. Scale quantities above | |
9346 | 10K to kilobytes and above 10M to megabytes. | |
9347 | * ggc-simple.c: Prototype debug_ggc_tree to avoid warning. | |
9348 | Cast PTR_KEY(p) to unsigned long in fprintf call to avoid warning. | |
9349 | Define tally_leaves always. | |
9350 | (ggc_print_statistics): New function. | |
9351 | * ggc.h: Adjust for renamed functions. | |
9352 | ||
612105a6 DC |
9353 | Wed Aug 30 00:11:42 2000 Denis Chertykov <denisc@overta.ru> |
9354 | ||
9355 | * config/avr/avr.md ("*movsf","*movsi"): Pass NULL to | |
9356 | output_movsisf instead of which_alternative. | |
9357 | ||
9358 | * config/avr/avr.c (output_reload_inhi): Check for NULL ponter. | |
9359 | ||
6bec29c9 DC |
9360 | Tue Aug 29 22:29:58 2000 Denis Chertykov <denisc@overta.ru> & Marek Michalkiewicz <marekm@linux.org.pl> |
9361 | ||
9362 | * config/avr/avr-protos.h: (avr_output_ascii) Removed. | |
9363 | (avr_progmem_p): New prototype. | |
9364 | (output_movsisf): Prototype declaration changed. | |
9365 | (output_movqi): New prototype. | |
9366 | (output_movhi): New prototype. | |
9367 | (call_insn_operand): Likewise. | |
0e5921e8 | 9368 | (final_prescan_insn): Likewise. |
6bec29c9 DC |
9369 | (avr_simplify_comparision_p): Likewise. |
9370 | (avr_normalize_condition): Likewise. | |
9371 | (compare_eq_p): Likewise. | |
9372 | (out_shift_with_cnt): Likewise. | |
9373 | (const_int_pow2_p): Likewise. | |
9374 | (output_reload_inhi): Prototype declaration changed. | |
9375 | ||
9376 | * config/avr/avr.c: (debug_hard_reg_set): Prototype declared. | |
9377 | (ldi_reg_rtx): New. rtx for r31. | |
9378 | (avr_init_stack): Initialize as "__stack". | |
9379 | (function_prologue): Use it. | |
9380 | Replace all TARGET_ENHANCED with AVR_ENHANCED. | |
9381 | (avr_mcu_name): Initialize as "avr2". | |
9382 | (avr_enhanced_p, avr_mega_p): New variables. | |
9383 | (mcu_types, avr_override_options): Handle all known MCU types. | |
9384 | Also handle avr1 (only preprocess, assemble and link). | |
9385 | (print_operand): Using of `%K' in output template removed. | |
9386 | (out_movqi_r_mr): Optimized. | |
9387 | (out_movhi_r_mr): Likewise. | |
9388 | (output_movqi): New function. | |
9389 | (output_movhi): Likewise. | |
9390 | (out_movsi_r_mr): Optimized. | |
9391 | (output_movsisf): Compute insn length for `adjust_insn_length' | |
9392 | (out_movqi_mr_r): Optimized. | |
9393 | (out_movhi_mr_r): Optimized. | |
9394 | (adjust_insn_length): Use output_movsisf, output_movqi, | |
9395 | output_movhi for insn length adjusting. | |
9396 | (reg_unused_after): Use dead_or_set_p. | |
9397 | (preferred_reload_class): Now havn't any restriction. | |
9398 | (reg_was_0): New function. | |
9399 | (io_address_p): Likewise. | |
9400 | (const_int_pow2_p): Likewise. | |
9401 | (output_reload_inhi): Likewise. | |
9402 | (output_reload_insisf): Likewise. | |
9403 | ||
9404 | * config/avr/avr.h (MULTILIB_DEFAULTS): Define. | |
9405 | (LIB_SPEC): Use -lc for all supported devices. | |
9406 | (LIBGCC_SPEC): Use -lgcc for all supported devices. | |
9407 | (AVR_MEGA): Define as avr_mega_p. | |
9408 | (AVR_ENHANCED): New, define as avr_enhanced_p. | |
9409 | (TARGET_SWITCHES): Remove -menhanced, now handled by -mmcu=... | |
9410 | (CPP_SPEC, LINK_SPEC): Handle all known MCU types. | |
9411 | (CRT_BINUTILS_SPECS): Handle all known MCU types. | |
9412 | Rename gcrt1-*.o to make file names unique on 8.3 filesystems. | |
9413 | (EXTRA_SPECS): Add CPP_AVR[1-5]_SPEC. | |
9414 | (ASM_SPEC): Pass -mmcu=... to the assembler. | |
9415 | Change all -DAVR_* to -D__AVR_*__. | |
9416 | (INIT_TARGET_OPTABS), config/avr/libgcc.S: | |
9417 | Rename library functions to start with two underscores. | |
9418 | (ASM_OUTPUT_COMMON): Outputs `.comm VAR,VAR-SIZE,1' to avoid | |
9419 | alignment. | |
9420 | (ASM_WEAKEN_LABEL): Declared for __attribute__((weak)). | |
9421 | (SUPPORTS_WEAK): Likewise. | |
9422 | (LDI_REG_REGNO): New. Register r31 will be used as temporary | |
9423 | register for loading constants to r0-r14. | |
9424 | ||
9425 | * config/avr/avr.md: Replace all TARGET_ENHANCED with | |
9426 | AVR_ENHANCED. | |
9427 | (*mov_r_sp): Removed. Handled by output_movhi. | |
9428 | (*mov_sp_r): Likewise. | |
9429 | (*mov_sp_r_no_interrupts): Likewise | |
9430 | (*mov_sp_r_tiny): Likewise. | |
9431 | (*movqi): Use output_movqi. | |
9432 | (*reload_inqi): New. | |
9433 | (*movhi): Use output_movhi. | |
9434 | (*reload_inhi): New. | |
9435 | (*negsi2): Optimized. | |
9436 | (*negsf2): Likewise. | |
9437 | Added peepholes (define_peephole2) for loading constants to r0-r14 | |
9438 | and for using `cpse' command. | |
9439 | ||
9440 | * config/avr/libgcc.S: Rename library functions to start with two | |
9441 | underscores. | |
9442 | Add support for enhanced core. | |
9443 | (_moqhi3): Fix typo, now _modqi3. | |
9444 | (__divsi_raw): Use __zero_reg__ as loop counter, smaller by 1 word. | |
9445 | (__prologue_saves__): Remove test for stack adjust by 0. | |
9446 | (__tablejump__): New. | |
9447 | ||
9448 | * config/avr/t-avr: Build libgcc2 with -mcall-prologues. | |
9449 | Add multilib support. | |
9450 | ||
20bd7bfa JW |
9451 | Tue Aug 29 15:17:54 EDT 2000 John Wehle (john@feith.com) |
9452 | ||
9453 | * loop.c (prescan_loop): Don't check unknown_address_altered | |
9454 | when deciding if insert_loop_mem is safe. Add BLKmode MEMs | |
9455 | to loop_store_mems as necessary. | |
9456 | (loop_invariant_p): Don't check unknown_address_altered | |
9457 | or unknown_constant_address_altered. | |
9458 | ||
76f941a8 DA |
9459 | 2000-08-29 J. David Anglin <dave@hiauly1.hia.nrc.ca> |
9460 | ||
9461 | * vax.md (sltu, sgeu): Delete sltu and sgeu insn patterns. | |
9462 | ||
2c8f0515 ZW |
9463 | 2000-08-29 Zack Weinberg <zack@wolery.cumb.org> |
9464 | ||
9465 | * cpperror.c (print_file_and_line): If line is (unsigned int)-1, | |
9466 | print just the filename. | |
9467 | * cpplex.c (_cpp_run_directive): Add additional argument, the | |
9468 | name to give the synthetic buffer. This defaults to | |
9469 | translated "<command line>". | |
9470 | * cpplib.c (cpp_define, cpp_undef, cpp_assert, cpp_unassert): | |
9471 | Adjust to match. | |
9472 | (_cpp_define_builtin): New function. | |
9473 | * cppinit.c (initialize_builtins): Use _cpp_define_builtin. | |
9474 | * cpphash.h: Update prototypes. | |
9475 | ||
9476 | * tradcpp.c (main): Process -D and -U simultaneously, in the | |
9477 | order they appeared on the command line. | |
9478 | ||
6ad79f1b KG |
9479 | 2000-08-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
9480 | ||
9481 | * c-decl.c (define_label): Call warning_with_file_and_line and | |
9482 | error_with_file_and_line instead of plain warning or error. | |
9483 | ||
9484 | * c-parse.in (label): Use save_filename/save_lineno to ensure | |
9485 | correct values for calls to define_label. | |
9486 | ||
4361b41d MM |
9487 | 2000-08-29 Mark Mitchell <mark@codesourcery.com> |
9488 | ||
9489 | * calls.c (expand_call): Don't create a VAR_DECL just to throw it | |
9490 | away. | |
9491 | * expr.c (expand_expr, case TARGET_EXPR): Don't call | |
9492 | mark_addressable. | |
9493 | * tree.h (get_file_function_name): Remove two duplicate | |
9494 | declarations. | |
9495 | ||
abf9af02 KH |
9496 | 2000-08-28 Kazu Hirata <kazu@hxi.com> |
9497 | ||
dc478a5d KH |
9498 | * tree.c: Fix formatting. |
9499 | ||
abf9af02 KH |
9500 | * xcoffout.c: Fix formatting. |
9501 | ||
5f632b5e JM |
9502 | 2000-08-28 Jason Merrill <jason@redhat.com> |
9503 | ||
9504 | * dwarf2out.c (attr_checksum): Also ignore DW_AT_producer. | |
9505 | ||
9506 | 2000-08-28 Daniel Berlin <dberlin@redhat.com> | |
9507 | ||
9508 | * dwarf2out.c (dwarf2out_finish): Don't bother calling | |
9509 | break_out_includes if it won't do anything. | |
9510 | ||
38323cc3 RH |
9511 | 2000-08-28 Richard Henderson <rth@cygnus.com> |
9512 | ||
9513 | * reload.c (push_secondary_reload): Revert 2000-08-16 change. | |
9514 | (find_reloads): Likewise. | |
9515 | * config/alpha/alpha.md (reload_inqi): Revert 2000-08-11 change. | |
9516 | (reload_inhi): Likewise. | |
9517 | ||
e1ff012c RH |
9518 | 2000-08-28 Richard Henderson <rth@cygnus.com> |
9519 | ||
9520 | * config/i386/i386.c: Don't error on EXTRA_CONSTRAINT defined. | |
9521 | (call_insn_operand): Don't expect a surrounding mem. | |
9522 | (constant_call_address_operand): Likewise. | |
9523 | * config/i386/i386.h (PREDICATE_CODES): Update. | |
9524 | * config/i386/i386.md (call patterns): Move the match_operand | |
9525 | for the call destination inside the mem. | |
9526 | ||
c2cba7a9 RH |
9527 | 2000-08-28 Richard Henderson <rth@cygnus.com> |
9528 | ||
9529 | * local-alloc.c (requires_inout): Don't use reserved range for | |
9530 | EXTRA_CONSTRAINTS; use anything not matched by REG_CLASS_FROM_LETTER. | |
9531 | * recog.c (asm_operand_ok): Likewise. | |
9532 | (preprocess_constraints, constrain_operands): Likewise. | |
9533 | * regclass.c (record_reg_classes): Likewise. | |
9534 | * reload.c (find_reloads): Likewise. | |
9535 | * reload1.c (maybe_fix_stack_asms): Likewise. | |
9536 | (reload_cse_simplify_operands): Likewise. | |
9537 | * stmt.c (expand_asm_operands): Likewise. | |
9538 | ||
9539 | * md.texi: Update constraints documentation. | |
9540 | * tm.texi (EXTRA_CONSTRAINT): Update. | |
9541 | ||
5f632b5e JM |
9542 | 2000-08-28 Daniel Berlin <dberlin@redhat.com> |
9543 | ||
9544 | * dwarf2out.c (DIE_LABEL_PREFIX): Remove leading "__". | |
9545 | (print_die): If we don't know the offset of the | |
9546 | target die, try the symbol. Add a trailing newline. | |
9547 | (reverse_all_dies): New fn. | |
9548 | (dwarf2out_finish): Call it. | |
9549 | (break_out_includes): Reorganize for clarity. | |
9550 | (add_sibling_attributes): Don't call reverse_die_lists. | |
9551 | (output_comp_unit): Rename from output_comdat_comp_unit. Use for | |
9552 | primary CU, too. | |
9553 | * flags.h: Add flag_eliminate_dwarf2_dups. | |
9554 | * toplev.c (f_options): Support -feliminate-dwarf2-dups. | |
9555 | ||
5de0e8d4 JM |
9556 | 2000-08-28 Jason Merrill <jason@redhat.com> |
9557 | ||
5f632b5e JM |
9558 | * dwarf2.h (DW_TAG_GNU_BINCL, DW_TAG_GNU_EINCL): New tags. |
9559 | * dwarf2out.c: #include "md5.h". | |
9560 | (DIE_LABEL_PREFIX): New macro. | |
9561 | (dw_val_struct): Add 'external' flag to val_die_ref. | |
9562 | (add_AT_die_ref, AT_ref): Adjust. | |
9563 | (AT_ref_external, set_AT_ref_external): New fns. | |
9564 | (build_abbrev_table): Call set_AT_ref_external. | |
9565 | (value_format): Call AT_ref_external. | |
9566 | (die_struct): Add die_symbol field. | |
9567 | (new_die): Clear it. | |
9568 | (dwarf_tag_name): Handle BINCL/EINCL. | |
9569 | (dwarf2out_start_source_file): Add BINCL DIE. | |
9570 | (dwarf2out_end_source_file): Add EINCL DIE. | |
9571 | (push_new_compile_unit, pop_compile_unit, clear_die_sizes): New fns. | |
9572 | (loc_checksum, attr_checksum, die_checksum): New fns. | |
9573 | (is_type_die, is_comdat_die, is_symbol_die): New fns. | |
9574 | (compute_section_prefix, assign_symbol_names): New fns. | |
9575 | (gen_internal_sym, output_die_symbol, output_symbolic_ref): New fns. | |
9576 | (output_die): Call output_die_symbol and AT_ref_external. | |
9577 | (output_comdat_comp_unit): New fn, split out from... | |
0e5921e8 | 9578 | (dwarf2out_finish): ...here. Also call add_sibling_attributes for |
5f632b5e JM |
9579 | secondary CUs. |
9580 | (output_pubnames, output_aranges): Abort if we see entries from | |
9581 | secondary CUs. | |
9582 | * toplev.h: Declare file_name_nondirectory. | |
9583 | * toplev.c (file_name_nondirectory): New fn, moved from C++ frontend. | |
9584 | (rest_of_type_compilation): Call dwarf2out_decl if at toplevel. | |
9585 | (debug_start_source_file): Call dwarf2out_start_source_file | |
9586 | regardless of debug verbosity. | |
9587 | (debug_end_source_file): Similarly. | |
9588 | * tree.h: Declare clean_symbol_name. | |
9589 | * tree.c (clean_symbol_name): Split out from... | |
9590 | (get_file_function_name_long): ...here. | |
9591 | ||
5de0e8d4 JM |
9592 | * dwarf2out.c (new_loc_descr): Use calloc. |
9593 | (splice_child_die): Remove the die from the right parent. | |
9594 | (gen_struct_or_union_die): Don't add AT_name to a specification DIE. | |
9595 | ||
04324727 RK |
9596 | Mon Aug 28 19:02:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
9597 | ||
9598 | * toplev.c (decode_g_option): Don't give warning for unknown -g | |
9599 | option; return 0 instead. | |
9600 | (main): If -g option is not recognized by front end or | |
9601 | language-independent code, give warning. | |
9602 | ||
9e3e266c GM |
9603 | 2000-08-28 Greg McGary <greg@mcgary.org> |
9604 | ||
9605 | * config/i386/i386-protos.h (ix86_expand_compare): Add extern decl. | |
9606 | * config/i386/i386.c (ix86_expand_compare): Remove `static'. | |
9607 | * config/i386/i386.md (trap, conditional_trap): New insn & expand. | |
9608 | ||
a0bff95f GM |
9609 | 2000-08-27 Greg McGary <greg@mcgary.org> |
9610 | ||
9611 | * cpplex.c (parse_string): Don't look for backslash | |
9612 | before first char in `namebuf'. | |
9613 | * loop.c (strength_reduce): Skip NOTEs. | |
9614 | ||
edb4c415 JM |
9615 | 2000-08-27 Jason Merrill <jason@redhat.com> |
9616 | ||
9617 | * c-decl.c (duplicate_decls): Don't set TREE_STATIC or clear | |
9618 | DECL_EXTERNAL on a local extern. Don't set DECL_IGNORED_P or | |
9619 | TREE_ASM_WRITTEN, either. | |
9620 | (finish_decl): Adjust. | |
9621 | ||
6e88e75c PT |
9622 | 2000-08-28 Philipp Thomas <pthomas@suse.de> |
9623 | ||
9624 | * ABOUT-GCC-NLS: Remove gettext patches from Paul Eggert as | |
9625 | they have been incorporated into the gettext CVS. Change the text to | |
9626 | reflect the current status of NLS. Add instructions for accessing | |
9627 | the gettext CVS and add the patch from Martin v. Loewis. | |
9628 | ||
e53ca51f GK |
9629 | 2000-08-27 Geoff Keating <geoffk@cygnus.com> |
9630 | ||
9631 | * config/rs6000/rs6000.md (movdi_internal64+5): Make SUBREG-safe | |
9632 | by using gen_lowpart_common. | |
9633 | (movdi_internal64+6): Likewise. | |
9634 | ||
a0a6fdc8 AO |
9635 | 2000-08-26 Alexandre Oliva <aoliva@redhat.com> |
9636 | ||
1b2dd04a AO |
9637 | * tm.texi (FINI_SECTION_ASM_OP, CRT_CALL_STATIC_FUNCTION): |
9638 | Document. | |
9639 | ||
a0a6fdc8 AO |
9640 | * config/mn10300/mn10300.h (DBX_REGISTER_NUMBER): Remap register |
9641 | numbers to the ranges used by GDB. | |
9642 | ||
26a110f5 RH |
9643 | 2000-08-25 Richard Henderson <rth@cygnus.com> |
9644 | ||
9645 | * config/ia64/ia64.h (struct machine_function): Add n_varargs. | |
9646 | * config/ia64/ia64.c (ia64_compute_frame_size): Use it. | |
9647 | (ia64_expand_prologue): Likewise. | |
9648 | (ia64_setup_incoming_varargs): Set it. Properly skip the current | |
9649 | argument for stdargs. | |
9650 | ||
ecff20d4 JM |
9651 | 2000-08-25 Jason Merrill <jason@redhat.com> |
9652 | ||
9653 | * integrate.c (expand_inline_function): Pull out the original decl. | |
9654 | ||
caa511fd JW |
9655 | 2000-08-25 Jim Wilson <wilson@cygnus.com> |
9656 | ||
d51ff7cb JW |
9657 | * cse.c (cse_insn): Don't pass label subtraction to force_const_mem. |
9658 | ||
caa511fd JW |
9659 | * function.c (gen_mem_addressof): Clear MEM_ALIAS_SET if no decl. |
9660 | ||
9a56f4f6 GM |
9661 | 2000-08-25 Greg McGary <greg@mcgary.org> |
9662 | ||
9663 | * flow.c (dump_edge_info): Use ARRAY_SIZE. | |
9664 | * config/alpha/alpha.c (alpha_expand_block_move): Likewise. | |
9665 | ||
31448271 RE |
9666 | 2000-08-25 Richard Earnshaw <rearnsha@arm.com> |
9667 | ||
9668 | * arm.h (STRUCT_VALUE): Define to 0, not NULL. | |
9669 | ||
b949ea8b JW |
9670 | Fri Aug 25 12:52:49 EDT 2000 John Wehle (john@feith.com) |
9671 | ||
9672 | * i386.c (ix86_find_base_term): New. | |
9673 | * i386-protos.h (ix86_find_base_term): Prototype. | |
9674 | * i386.h (FIND_BASE_TERM): Define. | |
9675 | * alias.c (find_base_term): Use it. | |
9676 | * tm.texi (FIND_BASE_TERM): Document it. | |
9677 | ||
9678 | * alias.c (true_dependence, write_dependence_p): Unchanging | |
9679 | memory can't conflict with non-unchanging memory. | |
9680 | ||
9681 | * alias.c (memrefs_conflict_p): A BLKmode reference | |
9682 | to a symbol (or CONST_INT address) always conflicts | |
9683 | with a reference to another symbol. | |
9684 | ||
343b7260 JM |
9685 | 2000-08-25 Joseph S. Myers <jsm28@cam.ac.uk> |
9686 | ||
9687 | * c-common.c (time_char_table): Don't allow width and flags with | |
9688 | "z" format. | |
9689 | ||
1f9124e4 JJ |
9690 | 2000-08-25 Jakub Jelinek <jakub@redhat.com> |
9691 | ||
9692 | * config/i386/i386.c (ix86_expand_branch): Treat GE and GEU the same | |
9693 | way as LT and LTU when the second operand has 0 in low word. | |
9694 | ||
6057c0e6 MH |
9695 | 2000-08-26 Michael Hayes <mhayes@cygnus.com> |
9696 | ||
135ebc36 MH |
9697 | * basic-block.h (struct loop): Rename `exits' field to |
9698 | `exit_edges'. Add `entry_edges' and `num_entries' fields. | |
9699 | ||
9700 | * flow.c (flow_loop_exit_edges_find): Rename from flow_loop_exits_find. | |
9701 | (flow_loop_entry_edges_find): Add. | |
9702 | (flow_edge_list_print): Rename from flow_exits_print. | |
9703 | (flow_loops_find): Call flow_loop_entry_edges_find. | |
9704 | (flow_loop_dump): Dump entry_edges list. | |
9705 | (flow_loops_free): Free entry_edges. | |
0e5921e8 | 9706 | |
135ebc36 | 9707 | 2000-08-26 Michael Hayes <mhayes@cygnus.com> |
0e5921e8 | 9708 | |
6057c0e6 MH |
9709 | * loop.c (loop_dump_aux, debug_loop): New functions. |
9710 | (LOOP_BLOCK_NUM_1, LOOP_BLOCK_NUM, LOOP_INSN_UID): New macros. | |
9711 | ||
9712 | * flow.c (flow_loops_dump): Add callback parameter. | |
9713 | (flow_loop_dump): Add callback parameter and call it. Move | |
9714 | loop note debugging code to loop_dump_aux. | |
9715 | ||
9716 | * basic-block.h (flow_loop_dump): Add callback parameter | |
9717 | (flow_loops_dump): Likewise. | |
9718 | ||
9719 | * toplev.c (rest_of_compilation): Add NULL callback function pointer | |
9720 | to call to flow_loops_dump. | |
0e5921e8 | 9721 | |
028fc6e7 MH |
9722 | 2000-08-26 Michael Hayes <mhayes@cygnus.com> |
9723 | ||
9724 | * loop.c (count_loop_regs_set): Replace start and end arguments | |
9725 | with loop argument. All callers udated. | |
0e5921e8 | 9726 | |
371502a8 | 9727 | 2000-08-26 Michael Hayes <mhayes@cygnus.com> |
0e5921e8 | 9728 | |
371502a8 MH |
9729 | * loop.c (constant_high_bytes): Delete. |
9730 | ||
e375c819 MH |
9731 | 2000-08-26 Michael Hayes <mhayes@cygnus.com> |
9732 | ||
9733 | * loop.c (prescan_loop): Move checks for NOTE_INSN_LOOP_CONT | |
9734 | and NOTE_INSN_LOOP_VTOP to... | |
9735 | (find_and_verify_loops) ...here. | |
9736 | ||
036cfb36 AO |
9737 | Fri Aug 25 04:21:13 2000 Alexandre Oliva <aoliva@redhat.com> |
9738 | ||
9739 | * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Define default. | |
9740 | (fini_dummy, init_dummy): Use it. | |
9741 | ||
c2e20542 NB |
9742 | Fri 25-Aug-2000 08:03:27 BST Neil Booth <NeilB@earthling.net> |
9743 | ||
9744 | * cpplex.c (is_macro_disabled): Caller has already checked | |
9745 | that we're not a preprocessed file. | |
9746 | ||
83bab8db MM |
9747 | 2000-08-24 Mark Mitchell <mark@codesourcery.com> |
9748 | ||
9749 | * Makefile.in (C_AND_OBJC_OBJS): Remove c-iterate.o. | |
9750 | (c-iterate.o): Remove target. | |
9751 | * gcc/c-common.h (enum rid): Remove RID_ITERATOR. | |
9752 | * gcc/c-decl.c (init_decl_processing): Remove call to init_iterators. | |
9753 | (finish_decl): Don't handle iterators. | |
9754 | (grokdeclarator): Likewise. | |
9755 | * gcc/c-parse.gperf: Remove __iterator and __iterator__ keywords. | |
9756 | * gcc/c-gperf.h: Regenerated. | |
9757 | * gcc/c-iterate.c: Removed. | |
9758 | * gcc/c-lex.c (init_lex): Don't handle iterators. | |
9759 | * gcc/c-parse.in (primary): Remove pop_iterator_stack call. | |
9760 | (compstmt_primary_start): Remove push_iterator_stack call. | |
9761 | (stmt): Don't allow iterator statements. Replace iterator_expand | |
9762 | with expand_expr_stmt. | |
9763 | (all_iter_stmt): Remove. | |
9764 | (all_iter_stmt_simple): Likewise. | |
9765 | (all_iter_stmt_with_decl): Likewise. | |
9766 | * gcc/c-tree.h (ITERATOR_P): Remove. | |
9767 | (ITERATOR_BOUND_P): Likewise. | |
9768 | (init_iterators): Remove declaration. | |
9769 | (iterator_expand): Likewise. | |
9770 | (iterator_for_loop_start): Likewise. | |
9771 | (iterator_for_loop_end): Likewise. | |
9772 | (iterator_for_loop_record): Likewise. | |
9773 | (push_iterator_stack): Likewise. | |
9774 | (pop_iterator_stack): Likewise. | |
9775 | * gcc/c-typeck.c (decl_constant_value): Don't check ITERATOR_P. | |
9776 | (readonly_warning): Likewise. | |
9777 | * gcc/tree.h (ITERATOR_BOUND_P): Don't mention it. | |
0e5921e8 | 9778 | |
aee3c6b0 JW |
9779 | 2000-08-24 Jim Wilson <wilson@cygnus.com> |
9780 | ||
9781 | * c-common.c (decl_attributes, case A_ALIGN): Revert last change. | |
9782 | Copy type in a TYPE_DECL, just like pushdecl does. | |
9783 | ||
58d8c980 RH |
9784 | 2000-08-24 Richard Henderson <rth@cygnus.com> |
9785 | ||
9786 | * toplev.c (main): Enable flag_reorder_blocks at -O2. | |
9787 | ||
054f5e69 ZW |
9788 | 2000-08-24 Zack Weinberg <zack@wolery.cumb.org> |
9789 | ||
0e5921e8 | 9790 | * ggc-page.c (alloc_page): If HAVE_MMAP_ANYWHERE and we're |
054f5e69 ZW |
9791 | asked for one page, allocate GGC_QUIRE_SIZE of them and put |
9792 | the extras on the free list. | |
9793 | (release_pages): Clean up. | |
9794 | (ggc_set_mark): Don't adjust G.allocated here... | |
9795 | (sweep_pages): ... do it here. | |
9796 | ||
9797 | 2000-08-24 Zack Weinberg <zack@wolery.cumb.org> | |
9798 | ||
9799 | * cppfiles.c (read_include_file): Rearrange initializations. | |
9800 | ||
0551c32d RH |
9801 | 2000-08-24 Richard Henderson <rth@cygnus.com> |
9802 | ||
9803 | * stmt.c (expand_asm_operands): Treat EXTRA_CONSTRAINT like g or X. | |
9804 | ||
9805 | * config/ia64/ia64-protos.h: Update. | |
9806 | * config/ia64/ia64.c (gr_register_operand): New. | |
9807 | (fr_register_operand, grfr_register_operand): New. | |
9808 | (gr_nonimmediate_operand, grfr_nonimmediate_operand): New. | |
9809 | (grfr_reg_or_8bit_operand): New. | |
0e5921e8 | 9810 | (gr_reg_or_0_operand): Rename from reg_or_0_operand and |
0551c32d RH |
9811 | use gr_register_operand. |
9812 | (gr_reg_or_5bit_operand, gr_reg_or_6bit_operand): Likewise. | |
9813 | (gr_reg_or_8bit_operand, gr_reg_or_8bit_adjusted_operand): Likewise. | |
9814 | (gr_reg_or_8bit_and_adjusted_operand): Likewise. | |
9815 | (gr_reg_or_14bit_operand, gr_reg_or_22bit_operand): Likewise. | |
9816 | (fr_reg_or_fp01_operand): Likewise. | |
9817 | (not_postinc_memory_operand): New. | |
9818 | (ia64_split_timode): Remove unused variables. | |
9819 | (rtx_needs_barrier): Check arguments to cmpxchg. | |
9820 | (builtin_description): Remove. | |
9821 | (bdesc_2argsi, bdesc_2argdi): Remove. | |
9822 | (ia64_init_builtins): Declare all builtins directly. | |
9823 | (ia64_expand_fetch_and_op): Rewrite to be called from | |
9824 | ia64_expand_builtin directly. Use expand_binop and co. | |
9825 | (ia64_expand_op_and_fetch): Likewise. | |
9826 | (ia64_expand_compare_and_swap): Likewise. | |
9827 | (ia64_expand_binop_builtin): Remove. | |
9828 | (ia64_expand_lock_test_and_set): New. | |
9829 | (ia64_expand_lock_release): New. | |
9830 | (ia64_expand_builtin): Use them. | |
9831 | * config/ia64/ia64.h (CONSTRAINT_OK_FOR_S): New. | |
9832 | (EXTRA_CONSTRAINT): Use it. | |
9833 | (PREDICATE_CODES): Update. | |
9834 | * config/ia64/ia64.md (*): Use gr_register_operand and co. | |
9835 | (mf): Indicate that we set memory as well as use it. | |
9836 | (fetchadd_acq_si): Show memory being modified as well. | |
0e5921e8 | 9837 | (fetchadd_acq_di, cmpxchg_acq_si, cmpxchg_acq_di): Likewise. |
0551c32d RH |
9838 | (val_compare_and_swap_si, val_compare_and_swap_di): Remove. |
9839 | (lock_test_and_set_si, lock_test_and_set_di): Remove. | |
9840 | (fetch_and_add_si, fetch_and_sub_si, fetch_and_or_si): Remove. | |
9841 | (fetch_and_and_si, fetch_and_xor_si, fetch_and_nand_si): Remove. | |
9842 | (fetch_and_add_di, fetch_and_sub_di, fetch_and_or_di): Remove. | |
9843 | (fetch_and_and_di, fetch_and_xor_di, fetch_and_nand_di): Remove. | |
9844 | (add_and_fetch_di, sub_and_fetch_di, or_and_fetch_di): Remove. | |
9845 | (and_and_fetch_di, xor_and_fetch_di, nand_and_fetch_di): Remove. | |
9846 | (add_and_fetch_si, sub_and_fetch_si, or_and_fetch_si): Remove. | |
9847 | (and_and_fetch_si, xor_and_fetch_si, nand_and_fetch_si): Remove. | |
9848 | * config/ia64/ia64intrin.h (*): Cast result to the appropriate | |
9849 | return type. Pretty print definitions. | |
9850 | ||
7c866fb5 JW |
9851 | 2000-08-24 Jim Wilson <wilson@cygnus.com> |
9852 | ||
9853 | * config/ia64/ia64.md (movdi): Don't call gen_movdi_symbolic if | |
9854 | we have a SYMBOL_REF with SYMBOL_REF_FLAG set. | |
9855 | ||
40e8cc95 JM |
9856 | 2000-08-24 Jason Merrill <jason@redhat.com> |
9857 | ||
9858 | * dwarf2out.c (AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, | |
9859 | AT_loc, AT_addr, AT_lbl): Abort on unsuitable input. | |
0e5921e8 | 9860 | (get_AT_low_pc, get_AT_hi_pc, get_AT_string, get_AT_flag, |
40e8cc95 JM |
9861 | get_AT_unsigned, get_AT_ref): Don't call them if get_AT fails. |
9862 | ||
b6a1cbae GM |
9863 | 2000-08-24 Greg McGary <greg@mcgary.org> |
9864 | ||
9865 | * optabs.c (init_optabs): Initialize fixtab, fixtrunctab, floattab, | |
9866 | and extendtab within their proper array boundaries. | |
9867 | * emit-rtl.c (init_emit_once): Pass `const_tiny_rtx' with bounds | |
9868 | for the entire array. | |
9869 | ||
9870 | * config/arm/arm.c (arm_override_options): Use ARRAY_SIZE. | |
9871 | * config/alpha/alpha.c (alpha_lookup_xfloating_lib_func): Likewise. | |
9872 | * config/avr/avr.c (order_regs_for_local_alloc): Likewise. | |
9873 | * config/fr30/fr30.c (fr30_print_operand): Likewise. | |
9874 | * config/i386/dgux.c (output_options): Likewise. | |
9875 | * config/i386/dgux.h (ASM_FILE_START): Likewise. | |
9876 | * config/m88k/m88k.c (output_options): Likewise. | |
9877 | * config/m88k/m88k.h (ASM_FILE_START): Likewise. | |
9878 | * config/mcore/mcore.c (mcore_output_inline_const_forced, | |
9879 | layout_mcore_frame, handle_structs_in_regs): Likewise. | |
9880 | * config/mips/mips.c (output_block_move): Likewise. | |
9881 | * config/rs6000/rs6000.c (rs6000_override_options, | |
9882 | rs6000_file_start): Likewise. | |
9883 | * config/sparc/sparc.c (sparc_add_gc_roots): Likewise. | |
9884 | * fixinc/fixfixes.c (FIX_TABLE_CT): Likewise. | |
9885 | * fixinc/fixtests.c (TEST_TABLE_CT): Likewise. | |
9886 | * builtins.c (expand_builtin_setjmp): Likewise. | |
9887 | * expr.c (safe_from_p): Likewise. | |
9888 | * flow.c (life_analysis): Likewise. | |
9889 | * fold-const.c (size_int_type_wide): Likewise. | |
9890 | * gcc.c (translate_options, init_spec, set_spec, main): Likewise. | |
9891 | * genattrtab.c (make_length_attrs): Likewise. | |
9892 | * genopinit.c (gen_insn): Likewise. | |
9893 | * genrecog.c (NUM_KNOWN_PREDS, NUM_SPECIAL_MODE_PREDS): Likewise. | |
9894 | * global.c (global_alloc): Likewise. | |
9895 | * local-alloc.c (find_free_reg): Likewise. | |
9896 | * mips-tdump.c (print_symbol): Likewise. | |
9897 | * mips-tfile.c (parse_def, parse_input): Likewise. | |
9898 | * reload1.c (NUM_ELIMINABLE_REGS): Likewise. | |
9899 | * stmt.c (expand_nl_goto_receiver): Likewise. | |
9900 | * stor-layout.c (set_sizetype): Likewise. | |
9901 | * varasm.c (decode_reg_name): Likewise. | |
9902 | * toplev.c (decode_f_option, decode_W_option, | |
9903 | set_target_switch, print_switch_values): Likewise. | |
9904 | (NUM_ELEM): Remove macro. | |
9905 | (display_help, main): s/NUM_ELEM/ARRAY_SIZE/ | |
9906 | ||
5b47282c GM |
9907 | 2000-08-24 Greg McGary <greg@mcgary.org> |
9908 | ||
9909 | * tree.h (enum tree_index): New member `TI_MAIN_IDENTIFIER'. | |
9910 | (MAIN_NAME_P, main_identifier_node): New macros. | |
9911 | * c-common.c (c_common_nodes_and_builtins): Init main_identifier_node. | |
9912 | * c-decl.c (start_decl, grokdeclarator, start_function, | |
9913 | store_parm_decls, finish_function): Use MAIN_NAME_P. | |
9914 | * config/avr/avr.c (function_prologue, function_epilogue): Likewise. | |
9915 | * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise. | |
9916 | * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise. | |
9917 | * config/pdp11/pdp11.c (output_function_prologue): Likewise. | |
9918 | ||
87ae0c74 GM |
9919 | 2000-08-24 Greg McGary <greg@mcgary.org> |
9920 | ||
9921 | * cppfiles.c (actual_directory): Don't write beyond `dir' | |
9922 | when it contains "". | |
9923 | * real.c (asctoeg): Stay within bounds of etens[][]. | |
9924 | ||
b148aeaa KG |
9925 | 2000-08-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
9926 | ||
9927 | * dependence.c (dependence_string, direction_string, | |
9928 | dump_one_node, dump_node_dependence): Hide unused identifiers. | |
9929 | (get_low_bound, normalize_coefficients): Match definition to | |
9930 | static prototype. | |
9931 | (get_one_coefficient): Initialize variables `value0_is_idx' and | |
9932 | `value1_is_idx'. | |
9933 | (ziv_test, gcd_test): Mark parameters with ATTRIBUTE_UNUSED. | |
9934 | (ziv_test): Delete variable `idx', use parameter `sub' instead. | |
9935 | (direction_merge): Avoid automatic aggregate initialization. | |
9936 | (have_dependence_p): Use `src' not `dest' to set `src_idx'. | |
9937 | Initialize variables `dest_idx' and `src_idx'. | |
9938 | (end_dependence_analysis): Avoid C89 style function definition. | |
9939 | ||
4894ecce JM |
9940 | 2000-08-24 Joseph S. Myers <jsm28@cam.ac.uk> |
9941 | ||
9942 | * c-common.c (time_char_table): Don't allow width with %F. | |
9943 | (check_format_info): Don't allow "Z" length with scanf. | |
9944 | ||
2ab99c46 GDR |
9945 | 2000-08-24 Gabriel Dos Reis <gdr@codesourcery.com> |
9946 | ||
9947 | * diagnostic.c (finish_diagnostic): Define. | |
9948 | (output_do_printf): Use wrap_text instead of output_add_string. | |
9949 | (default_print_error_function): Avoid embedded '\n'. | |
9950 | ||
9951 | * diagnostic.h (flush_diagnostic_buffer): Declare. | |
9952 | ||
335e59bd AO |
9953 | 2000-08-23 Alexandre Oliva <aoliva@redhat.com> |
9954 | ||
9955 | * dependence.c: Replace `[][]' with `[][MAX_SUBSCRIPTS]'. | |
9956 | ||
d9fe00bb HPN |
9957 | 2000-08-23 Hans-Peter Nilsson <hp@axis.com> |
9958 | ||
9959 | * Makefile.in (GCC_PASSES): Add specs. | |
9960 | ||
b97644fc JW |
9961 | 2000-08-23 Jim Wilson <wilson@cygnus.com> |
9962 | ||
9963 | * frame.h (IA64_UNW_EHANDLER, IA64_UNW_UHANDLER): New. | |
9964 | * config/ia64/frame-ia64.c (__get_personality): Return zero if neither | |
9965 | EHANDLER nor UHANDLER bit is set. | |
9966 | (__get_except_table): Likewise. | |
9967 | ||
64a7723d NC |
9968 | 2000-08-23 Nick Clifton <nickc@redhat.com> |
9969 | ||
02689e18 NC |
9970 | * config/arm/lib1funcs.asm: Replace upper case condition codes |
9971 | with lower case versions. | |
9972 | ||
64a7723d NC |
9973 | * config/arm/arm.h (STRUCT_VALUE): Define. |
9974 | (STRUCT_VALUE_REGNUM): Delete. | |
9975 | ||
bbdac7d0 ZW |
9976 | 2000-08-23 Zack Weinberg <zack@wolery.cumb.org> |
9977 | ||
9978 | * cpphash.h (IN_I): New flag for directive table. | |
9979 | * cpplib.c (DIRECTIVE_TABLE): Mark #define, #undef, #ident, and | |
9980 | #pragma with IN_I. | |
9981 | (_cpp_check_directive): If -fpreprocessed, execute directives | |
9982 | marked with IN_I. Issue no warnings in this case. | |
9983 | * cpplex.c (_cpp_get_token): Expand no macros if -fpreprocessed. | |
9984 | ||
d8eceea4 JM |
9985 | 2000-08-23 Joseph S. Myers <jsm28@cam.ac.uk> |
9986 | ||
9987 | * c-common.c (print_char_table): Allow 'I' flag with %d, %i and | |
9988 | %u. | |
9989 | (check_format_info): Support printf 'I' flag; warn about it with | |
9990 | -pedantic. | |
9991 | ||
e04c2d6c RE |
9992 | 2000-08-23 Richard Earnshaw (rearnsha@arm.com) |
9993 | ||
9994 | * arm.c (arm_expand_prologue): Ensure that the stack-adjustment | |
9995 | barrier can't be ignored by the alias analysis code. | |
9996 | ||
f4306baa EZ |
9997 | 2000-08-12 Eli Zaretskii <eliz@is.elta.co.il> |
9998 | ||
9999 | * fixinc/inclhack.def (sysv68_string): Fix the Sed script so it | |
10000 | works inside fixincl. | |
10001 | ||
95d0e5f1 AO |
10002 | Wed Aug 23 04:55:48 2000 Alexandre Oliva <aoliva@redhat.com> |
10003 | ||
10004 | * simplify-rtx.c (simplify_rtx): Don't pass VOIDmode to | |
10005 | simplify_relational_operation() unless both operands are of | |
10006 | VOIDmode. | |
10007 | * cse.c (fold_rtx): Likewise. | |
10008 | ||
55efb413 JW |
10009 | Tue Aug 22 23:53:27 EDT 2000 John Wehle (john@feith.com) |
10010 | ||
10011 | * rtlanal.c (rtx_unstable_p): The pic register is stable | |
10012 | (within one function) and the actual rtx should be used | |
10013 | when checking the registers. | |
10014 | (rtx_addr_can_trap_p): Pic memory addresses can't trap. | |
10015 | ||
10016 | * alias.c (true_dependence, write_dependence_p): Fix | |
10017 | bug in previous patch. | |
10018 | ||
10019 | * i386.c (ix86_GOT_alias_set): New. | |
10020 | (legitimize_pic_address): Use it. | |
10021 | ||
10022 | * rtlanal.c (rtx_unstable_p): An unchanging MEM is | |
10023 | only stable if its address is stable. | |
10024 | (rtx_varies_p): An unchanging MEM can't vary if | |
10025 | its address doesn't vary. | |
10026 | ||
aac625ac KG |
10027 | 2000-08-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
10028 | ||
10029 | * c-parse.in (unop +): Restrict -Wtraditional warnings to user code. | |
10030 | ||
62432849 DA |
10031 | 2000-08-22 J. David Anglin <dave@hiauly1.hia.nrc.ca> |
10032 | ||
10033 | * vax.h (ASM_SPEC): Pass `-J' to assembler. | |
10034 | * x-vax-gcc: New file for bootstrapping with gcc. | |
dd745546 | 10035 | * x-vax: Use X_CFLAGS rather than X_CPPFLAGS to pass `-J'. |
62432849 DA |
10036 | * configure.in: Use x-vax-gcc with gcc. |
10037 | * configure: Rebuilt. | |
10038 | ||
1eb994b7 R |
10039 | Tue Aug 22 21:21:05 2000 J"orn Rennecke <amylaar@cygnus.co.uk> |
10040 | ||
10041 | * toplev.c (rest_of_compilation): Rebuild label notes after | |
10042 | post-reload splitting pass if new labels have been created. | |
10043 | ||
f6a542de GDR |
10044 | 2000-08-22 Gabriel Dos Reis <gdr@codesourcery.com> |
10045 | ||
10046 | * diagnostic.h (output_buffer_state): New macro. | |
10047 | * diagnostic.c (diagnostic_for_decl, sorry, | |
10048 | default_print_error_function, output_do_verbatim, | |
10049 | report_diagnostic, report_problematic_module): Use it. | |
10050 | (wrap_text): Tweak. | |
10051 | (output_format): Use wrap_text instead of maybe_wrap_text. | |
10052 | ||
888e552f NC |
10053 | 2000-08-22 Nick Clifton <nickc@redhat.com> |
10054 | ||
10055 | * config/arm/lib1funcs.asm (ARM_DIV_MOD_BODY): New macro. | |
10056 | Common code for ARM divide and modulus functions. | |
10057 | (THUMB_DIV_MOD_BODY): New macro. Thumb equivalent of | |
10058 | ARM_DIV_MOD_BODY. | |
10059 | (FUNC_END): New macro: Common code at the end of the division and | |
10060 | modulo functions. | |
10061 | (THUMB_FUNCTION_START): New macro: Common code at the start of | |
10062 | Thumb functions. | |
10063 | (__divsi3, __udivsi3, __modsi3, __umodsi3): Use new macros. | |
0e5921e8 | 10064 | |
89e43e33 KK |
10065 | Tue Aug 22 20:34:52 2000 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
10066 | ||
10067 | * config/sh/sh.md (cmpeqdi_t splitter): Fix a reverse testing. | |
10068 | ||
10069 | * config/sh/sh.c (prepare_scc_operands): Apply force_reg to | |
10070 | sh_compare_op1 when the mode is DImode and sh_compare_op1 isn't | |
10071 | const0_rtx. | |
10072 | ||
7405dc37 NC |
10073 | 2000-08-22 Nick Clifton <nickc@redhat.com> |
10074 | ||
10075 | * config/arm/lib1funcs.asm (__umodsi3): Before performing any | |
10076 | restorative additions, test for bottom bits of IP being set, | |
10077 | rather than relying upon the RORs not matching. | |
10078 | (__modsi3): Ditto. | |
10079 | ||
9861b0c9 DE |
10080 | 2000-08-22 David Edelsohn <edelsohn@gnu.org> |
10081 | ||
10082 | * aix.h (ASM_DECLARE_FUNCTION_NAME): Call named_section() or | |
60a3c181 | 10083 | text_section() as appropriate instead of emitting text csect |
9861b0c9 DE |
10084 | pseudo-op directly. |
10085 | (TEXT_SECTION_ASM_OP): Only require default 32-bit alignment. | |
10086 | (UNIQUE_SECTION): Define macro. | |
10087 | (ASM_OUTPUT_SECTION_NAME): Define macro. | |
10088 | * rs6000.c (rs6000_override_options): Disable -ffunction-sections | |
60a3c181 | 10089 | on AIX if debugging and -fdata-sections always. |
9861b0c9 DE |
10090 | |
10091 | 2000-08-22 Steven King <sxking@uswest.net> | |
df3a88f0 SK |
10092 | |
10093 | * config/float-i386.h (LDBL_EPSILON): Remove __convert_long_double | |
10094 | machinery. | |
10095 | (LDBL_MAX): Same here. | |
10096 | ||
b578dbd7 RH |
10097 | 2000-08-22 Richard Henderson <rth@cygnus.com> |
10098 | ||
10099 | * flow.c (tidy_fallthru_edge): Update b->end properly. | |
10100 | ||
d061bc1e SC |
10101 | 2000-08-22 Stan Cox <scox@redhat.com> |
10102 | ||
60a3c181 RH |
10103 | * Makefile.in (OBJS): Add dependence.o. |
10104 | * dependence.c: New file. | |
0e5921e8 | 10105 | |
23d16877 | 10106 | 2000-08-22 Alexandre Oliva <aoliva@redhat.com>, John David Anglin <dave.anglin@nrc.ca> |
3cadd778 | 10107 | |
d60eab50 AO |
10108 | * calls.c (check_sibcall_argument_overlap_1): Adjust for |
10109 | ARGS_GROW_DOWNWARD. | |
10110 | (check_sibcall_argument_overlap): Likewise. | |
10111 | ||
23d16877 AO |
10112 | 2000-08-22 Alexandre Oliva <aoliva@redhat.com> |
10113 | ||
3cadd778 AO |
10114 | * invoke.texi (SH Options): Document -m4-nofpu, |
10115 | -m4-single-only, -m4-single, -m4, -mbigtable, -mfmovd, | |
10116 | -mhitachi, -mnomacsave, -misize, -mpadstruct, -mspace. | |
10117 | ||
23e4d028 JM |
10118 | 2000-08-22 Joseph S. Myers <jsm28@cam.ac.uk> |
10119 | ||
10120 | * c-common.c (check_format_info): Give the 'some locales' warning | |
10121 | for strftime %Ey rather than the unconditional 'only last 2 digits | |
10122 | of year' one. | |
10123 | ||
bc82c87c RH |
10124 | 2000-08-22 Richard Henderson <rth@cygnus.com> |
10125 | ||
10126 | * alias.c (init_alias_analysis): Do not register | |
10127 | struct_value_incoming_rtx or static_chain_rtx as pointing | |
10128 | to stack memory. | |
10129 | ||
7db9125f JL |
10130 | Tue Aug 22 01:44:43 2000 Jeffrey A Law (law@cygnus.com) |
10131 | ||
10132 | * protoize.c (munge_compile_params): Fix typo and formatting buglets. | |
10133 | ||
b413d64d GDR |
10134 | 2000-08-22 Gabriel Dos Reis <gdr@codesourcery.com> |
10135 | ||
10136 | * diagnostic.h (report_problematic_module): Declare. | |
10137 | * diagnostic.c (report_problematic_module): New function. | |
10138 | (report_error_function): Tweak. | |
10139 | ||
c4a6c0f3 RK |
10140 | Tue Aug 22 02:31:26 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
10141 | ||
10142 | * stmt.c (expand_goto_internal, fixup_gotos): Only check | |
10143 | TYPE_RETURNS_STACK_DEPRESSED for FUNCTION_TYPE. | |
10144 | ||
770a7feb RH |
10145 | 2000-08-21 Richard Henderson <rth@cygnus.com> |
10146 | ||
10147 | * flow.c (calculate_global_regs_live): Mark frame pointer live | |
10148 | everywhere before reload. | |
10149 | ||
280db205 JW |
10150 | 2000-08-21 Jim Wilson <wilson@cygnus.com> |
10151 | ||
10152 | * real.c (ereal_from_int, ereal_from_uint, significand_size): Handle | |
10153 | INTEL_EXTENDED_IEEE_FORMAT. | |
10154 | (toe64): Delete INTEL_EXTENDED_IEEE_FORMAT support. Unconditionally | |
10155 | clear last two bytes of output FP value. | |
10156 | ||
94c21c17 GS |
10157 | 2000-08-21 Graham Stott <grahams@cygnus.co.uk> |
10158 | ||
10159 | * config/ia64/ia64.h (REDO_SECTION_INFO_P): Change decl to DECL. | |
10160 | ||
6315f068 JJ |
10161 | 2000-08-21 Jakub Jelinek <jakub@redhat.com> |
10162 | ||
10163 | * unroll.c (loop_find_equiv_value): If ret is modified between | |
10164 | insn and loop_start, ret might not be equivalent to reg. | |
10165 | ||
5804a754 JM |
10166 | 2000-08-21 Joseph S. Myers <jsm28@cam.ac.uk> |
10167 | ||
10168 | * c-common.c (init_dollar_format_checking, | |
10169 | maybe_read_dollar_number, finish_dollar_format_checking): New | |
10170 | functions. | |
10171 | (dollar_arguments_used, dollar_arguments_count, | |
10172 | dollar_first_arg_num, dollar_max_arg_used, dollar_format_warned): | |
10173 | New variables. | |
10174 | (check_format_info): Support $ formats for scanf and printf width | |
10175 | and precision. Always increment format_chars to advance past the | |
10176 | '*' of precision, not just when the format parameters are | |
10177 | available to check. | |
10178 | ||
95adab8e KG |
10179 | 2000-08-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
10180 | ||
10181 | * mips.c (block_move_loop, expand_block_move, | |
10182 | function_arg_partial_nregs, save_restore_insns, function_prologue, | |
10183 | mips_expand_prologue, RA_MASK): Avoid using the `U' integer | |
10184 | constant suffix. | |
10185 | (function_arg_advance, function_arg): Match argument to format | |
10186 | specifier `%p'. | |
10187 | ||
49009afd JL |
10188 | 2000-08-21 Nix <nix@esperi.demon.co.uk> |
10189 | ||
10190 | * gcc.c (do_spec_1): Implement %j spec flag. | |
10191 | Remove dead comment. | |
10192 | ||
10193 | * gcc.texi (The Configuration File): Document HOST_BIT_BUCKET. | |
60a3c181 RH |
10194 | * system.h (HOST_BIT_BUCKET): Default to "/dev/null". |
10195 | * config/i386/xm-dos.h (HOST_BIT_BUCKET): Define as "NUL". | |
10196 | * config/i386/xm-os2.h, config/winnt/winnt.h: Likewise. | |
49009afd | 10197 | |
60a3c181 | 10198 | * protoize.c (munge_compile_params): Use HOST_BIT_BUCKET (if |
49009afd JL |
10199 | writable) instead of hardcoded value. |
10200 | ||
10201 | * toplev.c (compile_file): Output to a file even if -fsyntax-only. | |
10202 | ||
60a3c181 RH |
10203 | * gcc.c, config/i386/xm-dos.h, config/i386/xm-os2.h: Kill |
10204 | MKTEMP_EACH_FILE. | |
49009afd | 10205 | |
60a3c181 | 10206 | * gcc.c (cc1_options): Do not process -o or run the assembler if |
49009afd | 10207 | -fsyntax-only. |
05a3d06e | 10208 | * objc/lang-spec.h: Likewise. |
49009afd JL |
10209 | |
10210 | 2000-08-21 Eli Zaretskii <eliz@is.elta.co.il> | |
dc13bad7 EZ |
10211 | |
10212 | * fixinc/fixincl.c (fix_with_system): Pipe the output of | |
10213 | "external" fixes through `cat', to avoid truncating the input | |
10214 | file by redirection. | |
10215 | ||
cb694d2c JJ |
10216 | 2000-08-21 Jakub Jelinek <jakub@redhat.com> |
10217 | ||
10218 | * config/i386/i386.md (lea_general_1): Copy insn condition to split | |
10219 | condition. | |
10220 | (lea_general_2, lea_general_3): Likewise. | |
10221 | ||
cde6e684 KG |
10222 | 2000-08-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
10223 | ||
10224 | * c-decl.c (duplicate_decls, define_label): Restrict -Wtraditional | |
10225 | warnings to user code. | |
10226 | ||
10227 | * c-lex.c (readescape, yylex): Likewise. | |
10228 | ||
10229 | * c-typeck.c (store_init_value, process_init_element): Likewise | |
10230 | (c_expand_start_case): Format. | |
10231 | ||
120dc6cd MR |
10232 | 2000-08-18 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
10233 | ||
10234 | * mips/linux.h (LINK_SPEC): Use %(endian_spec). | |
10235 | ||
10236 | * mips/mips.h: Change LINKER_ENDIAN_SPEC to ENDIAN_SPEC | |
0e5921e8 | 10237 | and linker_endian_spec to endian_spec. |
120dc6cd MR |
10238 | (ENDIAN_SPEC): Add %{EB} and %{EL}. |
10239 | (LINK_SPEC): Remove %{EB} and %{EL}. | |
0e5921e8 | 10240 | (ASM_SPEC): Likewise. Use %(endian_spec). |
120dc6cd | 10241 | |
93e2382f JM |
10242 | 2000-08-21 Joseph S. Myers <jsm28@cam.ac.uk> |
10243 | ||
10244 | * c-tree.h (flag_hosted): Move declaration from here... | |
10245 | * c-common.h (flag_hosted): ... to here. | |
10246 | (flag_noniso_default_format_attributes): New declaration. | |
10247 | * c-decl.c (flag_noniso_default_format_attributes): New variable. | |
10248 | (c_decode_option): Set it appropriately for options choosing | |
10249 | language standard variant. | |
10250 | * c-common.c (init_function_format_info): Only provide default | |
10251 | format attributes if flag_hosted. Only provide the gettext | |
10252 | formats if flag_noniso_default_format_attributes. Update | |
10253 | comments. | |
10254 | (check_format_info): Disable treatment of %a as a scanf flag in | |
10255 | C99 mode. | |
10256 | ||
f3d360aa JM |
10257 | 2000-08-21 Joseph S. Myers <jsm28@cam.ac.uk> |
10258 | ||
10259 | * c-common.c (scan_char_table): Add 'w' to flags for all formats | |
10260 | except 'n'. | |
10261 | (check_format_info): Set 'wide' for scanf format widths. Warn for | |
10262 | a zero scanf width. Make the check for writing into a constant | |
10263 | object at the first level of indirection; at later levels, warn if | |
10264 | any type qualifiers are encountered. | |
10265 | ||
e04ca094 JL |
10266 | Mon Aug 21 07:41:12 2000 Jeffrey A Law (law@cygnus.com) |
10267 | ||
e6ea3b5f JL |
10268 | * reload.c (reload_inner_reg_of_subreg): New function broken out of |
10269 | push_reload. | |
10270 | (push_reload): Use reload_inner_reg_of_subreg. | |
10271 | (combine_reloads): Do not combine reloads if the input reload | |
10272 | is a SUBREG in which the inner part will need reloading. | |
10273 | ||
e04ca094 JL |
10274 | * global.c (global_alloc): Avoid passing dumpfile argument to |
10275 | reload routines. | |
10276 | * toplev.c (rest_of_compilation): Likewise. | |
10277 | * reload.h (reload): Remove dumpfile argument. Callers changed. | |
10278 | (debug_reload, debug_reload_to_stream): Move prototypes here. | |
10279 | * rtl.h (reload): Remove dumpfile argument. | |
10280 | * reload.c (debug_reload): Remove prototype. | |
10281 | (debug_reload_to_stream): Likewise. | |
10282 | * reload1.c: Avoid passing dumpfile around, rely on rtl_dump_file | |
10283 | instead. | |
10284 | ||
24805e80 GDR |
10285 | 2000-08-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com> |
10286 | ||
10287 | * diagnostic.c (context_as_prefix): Export. | |
10288 | (need_error_newline): Remove. | |
10289 | (lang_diagnostic_starter, lang_diagnostic_finalizer): New objects. | |
10290 | (error_module_changed, record_last_error_module, | |
10291 | error_function_changed, record_last_error_function): New functions. | |
10292 | (initialize_diagnostics): Default intialize | |
10293 | lang_diagnostic_starter, lang_diagnostic_finalizer. | |
10294 | (init_output_buffer): Tweak. | |
10295 | (file_name_as_prefix): New function. | |
10296 | (announce_function, default_print_error_function, | |
10297 | report_error_function, set_diagnostic_context): Tweak. | |
10298 | ||
056b6841 RE |
10299 | 2000-08-21 Richard Earnshaw <rearnsha@arm.com> |
10300 | ||
10301 | * flow.c (init_propagate_block_info): Handle SUBREG in a jump | |
10302 | condition expression. | |
10303 | ||
7171b491 RH |
10304 | 2000-08-20 Richard Henderson <rth@cygnus.com> |
10305 | ||
10306 | * flow.c (merge_blocks_nomove): Don't seek back past the bb note. | |
10307 | ||
3cb553b4 ZW |
10308 | 2000-08-20 Zack Weinberg <zack@wolery.cumb.org> |
10309 | ||
10310 | * cppinit.c (cpp_init): Set global flag when called. | |
10311 | (cpp_reader_init): Bomb out if cpp_init hasn't been called. | |
10312 | ||
9861b0c9 | 10313 | Sun Aug 20 01:41:35 2000 Dennis Chernoivanov <cdi@sparc.spb.su> |
3cb553b4 | 10314 | |
60a3c181 RH |
10315 | * cpplex.c (cpp_scan_buffer): Move `output_line_command' just |
10316 | before `process_directive' so that newlines won't be missed | |
10317 | for directives. | |
10318 | (cpp_printf): Increment `print->lineno' when newline is emitted. | |
3cb553b4 | 10319 | |
60a3c181 RH |
10320 | * cppmain.c (cb_ident): Likewise. |
10321 | (cb_define): Likewise. | |
10322 | (cb_undef): Likewise. | |
10323 | (cb_include): Likewise. | |
10324 | (cb_def_pragma): Likewise. | |
10325 | (dump_macros_helper): Likewise. | |
3cb553b4 | 10326 | |
9c668921 RH |
10327 | 2000-08-20 Richard Henderson <rth@cygnus.com> |
10328 | ||
10329 | * config/ia64/ia64.c (emit_insn_group_barriers): Stop if ar.lc | |
10330 | assigned before a loop. | |
10331 | ||
10332 | * config/ia64/ia64.md (ashlsi3): Zero extend the shift count. | |
10333 | (ashrsi3, lshrsi3): Likewise. | |
10334 | ||
4e1e6a01 GDR |
10335 | 2000-08-20 Gabriel Dos Reis <gdr@codesourcery.com> |
10336 | ||
10337 | * c-lang.c: #include diagnostic.h | |
10338 | (c_tree_printer): New function. | |
10339 | (lang_init): Initialize lang_printer. | |
10340 | ||
10341 | * Makefile.in (c-lang.o): Depends on diagnostic.h | |
10342 | ||
e2840263 GDR |
10343 | 2000-08-20 Gabriel Dos Reis <gdr@codesourcery.com> |
10344 | ||
10345 | * c-errors.c (pedwarn_c99): Adjust call to report_diagnostic. | |
10346 | ||
10347 | * diagnostic.c (default_diagnostic_starter, | |
10348 | default_diagnostic_finalizer): New functions. | |
10349 | (diagnostic_for_asm, diagnostic_for_decl): Tweak. | |
10350 | (pedwarn, pedwarn_with_file_and_line, error, | |
10351 | error_with_file_and_line, fatal, warning, | |
10352 | warning_with_file_and_line): Adjust call to report_diagnostic. | |
10353 | (report_diagnostic): Rework. | |
10354 | (set_diagnostic_context): New function. | |
10355 | ||
10356 | * diagnostic.h (struct diagnostic_context): New data structure. | |
10357 | (diagnostic_message, diagnostic_argument_list, | |
10358 | diagnostic_file_location, diagnostic_line_location, | |
10359 | diagnostic_is_warning, diagnostic_starter, diagnostic_finalizer, | |
10360 | diagnostic_finalizer, diagnostic_auxiliary_data): New macros. | |
10361 | (set_diagnostic_context): Declare. | |
10362 | (report_diagnostic): Change prototype. | |
10363 | ||
574f7425 NB |
10364 | Sun 20-Aug-2000 09:25:45 BST Neil Booth <NeilB@earthling.net> |
10365 | ||
10366 | * fix-header.c (main): Initialize cpplib. | |
10367 | ||
f1e42c81 MM |
10368 | 2000-08-19 Michael Meissner <meissner@redhat.com> |
10369 | ||
34c9e848 MM |
10370 | * ifcvt.c (find_if_block): Do not assume that a THEN block has any |
10371 | instructions in it before checking for indirect jumps. | |
10372 | ||
f1e42c81 MM |
10373 | * ifcvt.c (find_if_block): Do not consider a THEN block that ends |
10374 | in a indirect jump as a potential for conditional execution. | |
10375 | ||
10376 | * d30v.h (d30v_init_expanders): Don't declare here. | |
10377 | * d30v-protos.h (d30v_init_expanders): Declare here with a valid | |
10378 | prototype. | |
10379 | ||
9d6c2770 NB |
10380 | Sat 19-Aug-2000 21:11:45 BST Neil Booth <NeilB@earthling.net> |
10381 | ||
10382 | * cpp.texi: Add @section for assertions. | |
10383 | ||
e76d9acb JW |
10384 | Sat Aug 19 12:37:08 EDT 2000 John Wehle (john@feith.com) |
10385 | ||
10386 | * loop.c (scan_loop): Use CONST_CALL_P instead of | |
10387 | checking for REG_LIBCALL / REG_RETVAL. | |
10388 | ||
f49957d6 JL |
10389 | Sat Aug 19 09:18:47 2000 Jeffrey A Law (law@cygnus.com) |
10390 | ||
850aac53 JL |
10391 | * reload1.c (reload_as_needed): Accept dumpfile argument, |
10392 | pass it to emit_reload_insns. | |
10393 | (emit_reload_insns): Add new dumpfile argument. If non-null | |
10394 | then dump the reloads for each insn into the dumpfile. | |
10395 | (reload): Pass dumpfile to reload_as_needed. | |
10396 | ||
f49957d6 JL |
10397 | * invoke.texi: Clean up linux-gnu vs linux comments. |
10398 | ||
041f25e6 RH |
10399 | 2000-08-19 Richard Henderson <rth@cygnus.com> |
10400 | ||
10401 | * config/ia64/ia64.c (reg_or_5bit_operand): New. | |
10402 | (ia64_depz_field_mask): New. | |
10403 | * config/ia64/ia64.h (CONSTRAINT_OK_FOR_R): New. | |
10404 | (PREDICATE_CODES): Update. | |
10405 | * config/ia64/ia64.md: Update commentary. | |
10406 | (depz_internal): New. | |
10407 | (ashlsi3): Implement directly. | |
10408 | (ashrsi3, lshrsi3): Simplify; rely on extv and extzv for constants. | |
10409 | (ashldi3): Use shladd. | |
10410 | * config/ia64/ia64-protos.h: Update. | |
10411 | ||
319ea138 ZW |
10412 | 2000-08-18 Zack Weinberg <zack@wolery.cumb.org> |
10413 | ||
10414 | * toplev.c (independent_decode_option): Always process -g. | |
10415 | Remove third argument, now unused. Adjust caller to match. | |
10416 | ||
8231ad94 RH |
10417 | 2000-08-18 Richard Henderson <rth@cygnus.com> |
10418 | ||
10419 | * combine.c (make_compound_operation): Break after creating | |
10420 | the extraction. | |
10421 | ||
6e19bb38 ZW |
10422 | 2000-08-18 Zack Weinberg <zack@wolery.cumb.org> |
10423 | ||
10424 | * cpplib.c (cpp_register_pragma_space): Just return if the | |
10425 | namespace is already registered. | |
10426 | ||
477d303f RE |
10427 | 2000-08-18 Ray Essick <essick@ddna.labs.mot.com> & Nick Clifton <nickc@redhat.com> |
10428 | ||
10429 | * config/mcore/mcore.md (rotlsi3): Allow allow rotations by a | |
10430 | constant amount. Do not generate ROTL instruction. | |
10431 | ||
ffe51c8a AO |
10432 | Fri Aug 18 16:22:20 2000 Alexandre Oliva <aoliva@redhat.com> |
10433 | ||
10434 | * config/sh/elf.h: Do not include sh/sh.h. | |
10435 | * config/sh/rtems.h: Likewise. | |
10436 | * config/sh/rtemself.h: Do not include sh/elf.h. | |
10437 | * configure.in: Get them included with `tm_file's. | |
10438 | * configure: Rebuilt. | |
10439 | ||
8845e874 AO |
10440 | * config/sh/sh.md (fpu_switch0, fpu_switch1): Simplify. |
10441 | * config/sh/sh.c (fpscr_set_from_mem): Use them. | |
10442 | ||
3f546a53 RK |
10443 | Fri Aug 18 14:23:18 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
10444 | ||
7d2950e5 RK |
10445 | * stor-layout.c (compute_record_type): Don't use mode of single |
10446 | field as mode of record if not integer mode of same type. | |
10447 | ||
a1c1fdd0 RK |
10448 | * regmove.c (perhaps_ends_bb_p): New function. |
10449 | (optimize_reg_copy_1, optimize_reg_copy_2): Call it. | |
10450 | (optimize_reg_copy_3, fixup_match_2, regmove_optimize): Likewise. | |
10451 | (fixup_match_1): Likewise. | |
10452 | (fixup_match_1, combine_stack_adjustments_for_block): Add casts to | |
10453 | avoid signed/unsigned warnings. | |
0e5921e8 | 10454 | |
3f546a53 RK |
10455 | * function.c (fixup_var_refs_1, case MEM): Update CODE after |
10456 | updating X. | |
10457 | ||
61d0346d NB |
10458 | Fri 18-Aug-2000 18:33:45 BST Neil Booth <NeilB@earthling.net> |
10459 | ||
10460 | * cpphash.h: Use HAVE_DESIGNATED_INITIALIZERS. | |
10461 | (_cpp_trigraph_map): Declaration moved from cpplex.c | |
10462 | ||
10463 | * cppinit.c: Define _cpp_trigraph_map. Use UCHAR_MAX + 1 | |
10464 | instead of 256. Use consistent test for designated initializers. | |
10465 | (cpp_init): Initialize trigraph_map. | |
10466 | (initialize_standard_includes, parse_option): Use memcmp | |
10467 | instead of strncmp. | |
10468 | ||
10469 | * cpplex.c (init_trigraph_map): Remove. | |
10470 | (trigraph_ok, trigraph_replace, lex_line): Refer to | |
10471 | _cpp_trigraph_map. | |
10472 | ||
10473 | * cpplib.c (str_match, WARNING, ERROR, ICE): Delete. | |
10474 | (do_unassert): Remove unused "next" local. | |
10475 | ||
10476 | * system.h (HAVE_DESIGNATED_INITIALIZERS): New prototype. | |
10477 | ||
ef42b1dd EM |
10478 | 2000-08-18 Emmanuel Marty <emarty@suntech.fr> |
10479 | ||
10480 | * arm/lib1funcs.asm (_umodsi3 THUMB VARIANT): Restore deleted return | |
10481 | insn. | |
10482 | ||
bc08aefe RH |
10483 | 2000-08-17 Richard Henderson <rth@cygnus.com> |
10484 | ||
10485 | * config/ia64/ia64.c (spill_restore_mem): Handle emitting | |
10486 | the first insn in a sequence. | |
10487 | ||
49982682 JW |
10488 | Thu Aug 17 22:40:05 EDT 2000 John Wehle (john@feith.com) |
10489 | ||
10490 | * alias.c (true_dependence, write_dependence_p): A read | |
10491 | involving a label_ref or the constant pool doesn't create | |
10492 | a dependency. | |
10493 | ||
10494 | * rtl.h (unchanging): Improve documentation. | |
10495 | ||
889e5964 RB |
10496 | 2000-08-17 Rodney Brown <RodneyBrown@mynd.com> |
10497 | ||
10498 | * cse.c (insert_regs): Remove unused `regno'. | |
10499 | ||
dd69c71b NB |
10500 | 2000-08-17 Neil Booth <NeilB@earthling.net> |
10501 | ||
10502 | * (cppinit.c) merge_include_chains: Use remove_dup_dir, | |
10503 | remove_dup_dirs. If qtail == brack, remove brack not | |
10504 | qtail. | |
10505 | (remove_dup_dir, remove_dup_dirs): New functions. | |
10506 | ||
709e9e50 NB |
10507 | 2000-08-17 Neil Booth <NeilB@earthling.net> |
10508 | ||
10509 | * cppinit.c (cpp_cleanup): Free include dir chains. | |
10510 | * cpplib.c (do_undef): Let _cpp_free_definition make the node void. | |
10511 | (do_unassert): Free the assert with _cpp_free_definition. | |
10512 | * cppmacro.c (_cpp_free_definition): Free memory allocated for | |
10513 | assertions. Make the node a T_VOID node. | |
10514 | ||
e33f6253 NB |
10515 | 2000-08-17 Neil Booth <NeilB@earthling.net> |
10516 | ||
10517 | * cppinit.c (path_include, append_include_chain): | |
10518 | Remove 2nd parameter (struct cpp_pending *). | |
10519 | (path_include, initialize_standard_includes, cpp_handle_option): | |
10520 | Update callers appropriately. | |
10521 | (cpp_handle_option): Use pend. | |
10522 | ||
c154ba66 NB |
10523 | 2000-08-17 Neil Booth <NeilB@earthling.net> |
10524 | ||
10525 | * cppinit.c (sort_options): Remove, put functionality in | |
10526 | cpp_init. | |
10527 | (cpp_init): New. | |
10528 | (initialize_builtins): Free memory. | |
10529 | (cpp_start_read): Move init_IStable to cpp_init. | |
10530 | ||
10531 | * cpplib.h (cpp_init): New prototype. | |
10532 | * cppmain.c (main): Call cpp_init. | |
10533 | ||
9c82ac6b JW |
10534 | Thu Aug 17 13:20:32 EDT 2000 John Wehle (john@feith.com) |
10535 | ||
10536 | * rtlanal.c (rtx_unstable_p): Use CONSTANT_P. | |
10537 | (rtx_unstable_p, rtx_varies_p): Process vectors. | |
10538 | ||
acd50a92 NY |
10539 | 2000-08-16 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp> |
10540 | ||
10541 | * config/sh/lib1funcs.asm (GLOBAL): Define. Use for all | |
10542 | references to GLOBAL symbols. Use LOCAL where appropriate. | |
10543 | ||
cfedbb1f KG |
10544 | 2000-08-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
10545 | ||
10546 | * configure.in (*-ibm-aix4.[12]*): Delete test for gnu ld. Always | |
10547 | use t-aix41 when host == target. | |
10548 | ||
31989264 RH |
10549 | 2000-08-16 Richard Henderson <rth@cygnus.com> |
10550 | ||
10551 | * reload.c (push_secondary_reload): Revert last change. | |
10552 | If we use a reload_in/out pattern, make the when the same | |
10553 | as the primary reload. | |
10554 | (find_reloads): Likewise. | |
10555 | ||
d84c5634 MH |
10556 | 2000-08-16 Manfred Hollstein <manfredh@redhat.com> |
10557 | ||
10558 | * configure.in (libstdcxx-v3): Fix test. | |
10559 | * configure: Regenerate. | |
10560 | ||
43db0363 RK |
10561 | Wed Aug 16 08:10:32 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
10562 | ||
10563 | * calls.c (calls_function_1, expand_call): Only test | |
10564 | TYPE_RETURNS_STACK_DEPRESSED for FUNCTION_TYPE. | |
10565 | * function.c (thread_prologue_and_epilogue_insns): Likewise. | |
10566 | ||
853d8828 RH |
10567 | 2000-08-16 Richard Henderson <rth@cygnus.com> |
10568 | ||
10569 | * combine.c (simplify_shift_const): Revert previous two | |
10570 | changes. If SHIFT_COUNT_TRUNCATED, crop the shift count | |
10571 | before the main loop. | |
10572 | ||
3e626beb RH |
10573 | 2000-08-15 Richard Henderson <rth@cygnus.com> |
10574 | ||
10575 | * combine.c (simplify_shift_const): Bound shift count when | |
10576 | combining shifts. | |
10577 | ||
f507188a RK |
10578 | Tue Aug 15 17:33:05 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
10579 | ||
7393c642 RK |
10580 | * calls.c (ECF_SP_DEPRESSED): New macro. |
10581 | (calls_function_1): Treat calling sp-depressed function as alloca. | |
10582 | (emit_call_1): Don't adjust SP if calling sp-depressed function. | |
10583 | (expand_call): Set ECF_SP_DEPRESSED if TYPE_RETURNS_STACK_DEPRESSED. | |
10584 | If sp-depressed, ensure block saves and restores SP. | |
10585 | * fold-const.c (extract_muldiv): Only check TYPE_IS_SIZETYPE | |
10586 | for INTEGER_TYPE. | |
10587 | * function.c (keep_stack_depressed): New function. | |
10588 | (thread_prologue_and_epilogue_insns): Call it. | |
10589 | * print-tree.c (print_node): Use HOST_WIDE_INT_PRINT_UNSIGNED | |
10590 | to print DECL_OFFSET_ALIGN. | |
10591 | Print no-force-blk and transparent-union flags properly. | |
10592 | * stmt.c (expand_goto_internal): Don't restore stack if last block | |
10593 | and function returns with sp depressed. | |
10594 | (fixup_gotos): Likewise. | |
10595 | (save_stack_pointer): New function, from code in expand_decl. | |
10596 | (expand_decl): Call new function. | |
10597 | * tree.h (TYPE_IS_SIZETYPE): Call INTEGER_TYPE_CHECK. | |
10598 | (TYPE_RETURNS_STACK_DEPRESSED): New macro. | |
10599 | (save_stack_pointer): New declaration. | |
10600 | ||
f507188a RK |
10601 | * diagnostic.c (fatal_function): New variable. |
10602 | (set_fatal_function): New function. | |
10603 | (fatal): Call it. | |
10604 | * diagnostic.h (set_fatal_function): New declaration. | |
10605 | ||
56847207 WC |
10606 | 2000-08-15 William Cohen <wcohen@redhat.com> |
10607 | ||
10608 | * config/sh/elf.h (DWARF2_DEBUGGING_INFO): Defined. | |
10609 | (PREFERRED_DEBUGGING_TYPE): Set to dwarf2 info. | |
10610 | (DWARF2_ASM_LINE_DEBUG_INFO): Defined. | |
10611 | ||
7791b7f9 RH |
10612 | 2000-08-15 Richard Henderson <rth@cygnus.com> |
10613 | ||
10614 | * flow.c (mark_used_reg): Set reg_cond_reg appropriately. | |
10615 | ||
f99fce0c RE |
10616 | 2000-08-15 Richard Earnshaw <rearnsha@arm.com> |
10617 | ||
10618 | * arm.c (arm_function_ok_for_sibcall): New function. | |
10619 | * arm.h (FUNCTION_OK_FOR_SIBCALL): Define. | |
10620 | * arm.md (call expanders): Don't check here for calls that can't | |
10621 | be sibling calls. | |
10622 | ||
74da3101 RE |
10623 | 2000-08-15 Richard Earnshaw <rearnsha@arm.com> |
10624 | ||
10625 | * arm.md (splits generating cond_exec): Disable. | |
10626 | ||
2c210617 RE |
10627 | 2000-08-15 Richard Earnshaw <rearnsha@arm.com> |
10628 | ||
10629 | * arm/linux-elf.h (text_section): Delete declaration. | |
10630 | ||
05ed98a1 RE |
10631 | 2000-08-15 Richard Earnshaw <rearnsha@arm.com> |
10632 | ||
10633 | ARM support for unordered FP operations. | |
10634 | * arm-protos.h (arm_comparison_operator): Declare. | |
10635 | * arm.c (arm_comparison_operator): New function. | |
10636 | (arm_select_cc_mode): Add unordered comparison codes. | |
10637 | (get_arm_condition_code): Likewise. | |
10638 | (arm_final_prescan_insn): Can't handle unordered jumps that can't | |
10639 | be done in one insn. | |
10640 | * arm.h (PREDICATE_CODES): Add arm_comparison_operator. | |
10641 | * arm.md (all uses of comparison_operator): Replace with | |
10642 | arm_comparison_operator. | |
10643 | (bunordered, bordered, bugt, bunlt, bunge, bunle, buneq, bltgt): New | |
10644 | expands. | |
10645 | (arm_buneq, arm_bltgt, arm_buneq_reversed, arm_bltgt_reveresed): New | |
10646 | patterns. | |
0e5921e8 | 10647 | |
ed78c862 OP |
10648 | Tue Aug 15 00:36:36 2000 Ovidiu Predescu <ovidiu@cup.hp.com> |
10649 | ||
10650 | * gthr-posix.h: Conditionally include <sched.h>; include | |
10651 | <config.h> from libobjc/. | |
10652 | ||
4859dd36 RH |
10653 | 2000-08-14 Richard Henderson <rth@cygnus.com> |
10654 | ||
10655 | * config/i386/i386.c (legitimize_pic_address): Use Pmode | |
10656 | for all CONSTs. | |
10657 | ||
3f622353 RH |
10658 | 2000-08-14 Richard Henderson <rth@cygnus.com> |
10659 | ||
10660 | * configure.in (ia64-*): Set float_format for i386 long double. | |
10661 | ||
10662 | * real.c (GET_REAL): Treat 128-bit INTEL_EXTENDED_IEEE_FORMAT | |
10663 | as we would for i386 XFmode. | |
10664 | (PUT_REAL): Likewise. | |
10665 | (endian, ereal_atof, real_value_truncate): Likewise. | |
10666 | (ereal_isneg, toe64, etens, make_nan): Likewise. | |
10667 | * real.h (REAL_VALUE_TO_TARGET_LONG_DOUBLE): Likewise. | |
10668 | ||
10669 | * config/ia64/ia64-protos.h: Update. | |
10670 | * config/ia64/ia64.c (general_tfmode_operand): New. | |
10671 | (destination_tfmode_operand): New. | |
10672 | (tfreg_or_fp01_operand): New. | |
10673 | (ia64_split_timode): New. | |
10674 | (spill_tfmode_operand): New. | |
10675 | (ia64_expand_prologue): Use TFmode not XFmode. | |
10676 | (ia64_expand_epilogue): Likewise. | |
10677 | (ia64_function_arg): Likewise. | |
10678 | (ia64_function_arg_advance): Likewise. | |
10679 | (ia64_return_in_memory): Likewise. | |
10680 | (ia64_function_value): Likewise. | |
10681 | (ia64_print_operand): Likewise. | |
10682 | (ia64_register_move_cost): Set GR<->FR to 5. | |
10683 | (ia64_secondary_reload_class): Get GR for TImode memory op. | |
10684 | * config/ia64/ia64.h (ROUND_TYPE_SIZE): Remove. | |
10685 | (ROUND_TYPE_ALIGN): Remove. | |
10686 | (LONG_DOUBLE_TYPE_SIZE): Set to 128. | |
10687 | (INTEL_EXTENDED_IEEE_FORMAT): Define. | |
10688 | (HARD_REGNO_NREGS): Use TFmode, not XFmode. | |
10689 | (HARD_REGNO_MODE_OK): Likewise. Disallow TImode in FRs. | |
10690 | (MODES_TIEABLE_P): Use TFmode, not XFmode. | |
10691 | (CLASS_MAX_NREGS): Likewise. | |
10692 | (ASM_OUTPUT_LONG_DOUBLE): Output by 4 byte hunks. | |
10693 | (PREDICATE_CODES): Update. | |
10694 | * config/ia64/ia64.md (movti): New. | |
10695 | (movti_internal): Use a clobber for memory alternatives. | |
10696 | (reload_inti, reload_outti): New. | |
10697 | (movsfcc_astep): Predicate properly. | |
10698 | (movdfcc_astep): Likewise. | |
10699 | (movxf): Remove. | |
10700 | (movtf): New. | |
10701 | (extendsftf2, extenddftf2): New. | |
10702 | (trunctfsf2, trunctfdf2): New. | |
10703 | (floatditf2, fix_trunctfdi2): New. | |
10704 | (floatunsditf2, fixuns_trunctfdi2): New. | |
10705 | (addtf3, subtf3, multf3, abstf2): New. | |
10706 | (negtf2, nabstf2, mintf3, maxtf3): New. | |
10707 | (maddtf3, msubtf3, nmultf3, nmaddtf3): New. | |
10708 | (cmptf): New. | |
10709 | (fr_spill): Use TFmode, not XFmode. | |
10710 | (fr_restore): Likewise. | |
10711 | * config/ia64/lib1funcs.asm (__divtf3): New. | |
10712 | * config/ia64/t-ia64 (LIB1ASMFUNCS): Add it. | |
10713 | ||
e49a1d2e KG |
10714 | 2000-08-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
10715 | ||
10716 | * cse.c (fold_rtx): Avoid empty body in an if-statement. | |
0e5921e8 | 10717 | |
e49a1d2e KG |
10718 | * doloop.c (doloop_iterations_max, doloop_modify): Avoid using the |
10719 | `U' integer constant suffix. | |
10720 | ||
10721 | * dwarf2out.c (add_subscript_info): Avoid empty body in an | |
10722 | else-statement. | |
10723 | ||
10724 | * sparc/sol2.h (__enable_execute_stack): Prototype. | |
10725 | ||
78fbdbf7 DE |
10726 | 2000-08-14 David Edelsohn <edelsohn@gnu.org> |
10727 | ||
10728 | * collect2.c: Remove use of AIX import file. | |
10729 | ||
10730 | * longlong.h: Test ARCH_PWR not ARCH_POWER. | |
10731 | ||
10732 | * rs6000.c (print_operand, case 'E'): Add else. | |
10733 | ||
9a89adb8 RH |
10734 | 2000-08-14 Richard Henderson <rth@cygnus.com> |
10735 | ||
10736 | * config/ia64/ia64.md (movdi): Delay calling ia64_expand_load_address. | |
10737 | (movdi_symbolic): New. | |
10738 | ||
00e149c7 JW |
10739 | 2000-08-14 Jim Wilson <wilson@cygnus.com> |
10740 | ||
10741 | * config/ia64/ia64.h (ASM_SPEC): Pass -mconstant-gp and -mauto-pic | |
10742 | to GNU as. For Intel as, pass -M const_gp and -M no_plabel. | |
10743 | * config/ia64/linux.h (ASM_SPEC): Pass -mconstant-gp and -mauto-pic | |
10744 | to GNU as. | |
10745 | ||
2ee5437b RH |
10746 | 2000-08-14 Richard Henderson <rth@cygnus.com> |
10747 | ||
10748 | * expr.c (emit_group_load): Don't force constants into registers. | |
10749 | Special case source already in the correct mode. | |
10750 | ||
57119aa9 ZW |
10751 | 2000-08-14 Zack Weinberg <zack@wolery.cumb.org> |
10752 | ||
10753 | * configure.in: Accept *-*-linux* not just *-*-linux-gnu*. | |
10754 | * fixinc/inclhack.def: Likewise. | |
0e5921e8 | 10755 | * fixinc/mkfixinc.sh: Likewise. |
57119aa9 ZW |
10756 | * configure: Regenerate. |
10757 | * fixinc/fixincl.x: Regenerate. | |
10758 | * install.texi: Document equivalence of linux and linux-gnu. | |
10759 | ||
d9f20424 R |
10760 | Mon Aug 14 18:51:44 2000 J"orn Rennecke <amylaar@cygnus.co.uk> |
10761 | ||
10762 | * cse.c (insert_regs): Also in REG case: When finding an invalid | |
10763 | value, and we make a new quantity, make sure that it won't be | |
10764 | mistaken by for a valid one by mention_regs. | |
10765 | ||
c8fa6556 RG |
10766 |