]> gcc.gnu.org Git - gcc.git/blame - gcc/ChangeLog
* config-lang.in (lang_requires): Define.
[gcc.git] / gcc / ChangeLog
CommitLineData
c874ab11
AM
12001-03-07 Andrew MacLeod <amacleod@redhat.com>
2
3 * config/a29k/a29k.c (print_operand): Free a29k_last_prologue_insn
4 after its emitted.
5 (output_prologue): Use xmalloc not oballoc.
6 (output_epilog): Free a29k_first_epilogue_insn when finished.
7 * confif/a29k/a29k.h (PREDICATE_CODES): Remove shift_constant_operand.
8
de6c5979
BL
92001-03-07 Brad Lucier <lucier@math.purdue.edu>
10
11 * builtins.c (expand_builtin_mathfn): Check
12 flag_unsafe_math_optimizations, not flag_fast_math.
13 (expand_builtin): Likewise
14 * combine.c (combine_simplify_rtx): Likewise.
15 (simplify_if_then_else): Likewise.
16 * cse.c (fold_rtx): Likewise.
17 * flags.h: Remove flag_fast_math. Add
18 flag_unsafe_math_optimizations and flag_trapping_math.
19 * fold-const.c (negate_expr): Check
20 flag_unsafe_math_optimizations, not flag_fast_math.
21 (invert_truthvalue): Likewise.
22 (fold): Likewise. Before associating operands, check that
23 code == MULT_EXPR, not code != MULT_EXPR.
24 * ifcvt.c (noce_try_minmax): Check
25 flag_unsafe_math_optimizations, not flag_fast_math.
26 (noce_operand_ok): Check flag_trapping_math, not flag_fast_math.
27 * invoke.texi: Document -funsafe-math-optimizations and
28 -fno-trapping-math. Change documentation for -ffast-math.
29 * jump.c (reversed_comparison_code_parts): Likewise.
30 (rtx_equal_for_thread_p): Likewise.
31 * optabs.c (emit_conditional_move): Likewise.
32 * simplify-rtx.c (simplify_binary_operation): Likewise.
33 (simplify_relational_operation): Likewise.
34 (simplify_ternary_operation): Likewise.
35 * toplev.c: Remove flag_fast_math. Add flag_trapping_math and
36 flag_unsafe_math_optimizations. Remove fast-math entry from f_options.
37 Add trapping-math and unsafe-math-optimizations entries to f_options.
38 (set_fast_math_flags): New, sets flags for -ffast-math.
39 (set_no_fast_math_flags): New, sets flags for -fno-fast-math.
40 (decode_f_option): Add code to handle -ffast-math and -fno-fast-math.
41 * toplev.h: Declare set_fast_math_flags and set_no_fast_math_flags.
42
43 * config/alpha/alpha.c (alpha_emit_conditional_branch): Likewise.
44 (alpha_emit_conditional_move): Initialize local_fast_math to
45 flag_unsafe_math_optimizations, not flat_fast_math.
46 * config/c4x/c4x.c (c4x_override_options): Call set_fast_math_flags
47 instead of setting flag_fast_math to 1.
48 * config/convex/convex.md: Check flag_unsafe_math_optimizations,
49 not flag_fast_math.
50 * config/i386/i386.c (override_options): Likewise
51 * config/i386/i386.md: Likewise.
52 * config/m68k/m68k.md: Likewise.
53 * config/mips/mips.md: Likewise.
54 * config/rs6000/rs6000.c (validate_condition_mode): Likewise.
55 (rs6000_generate_compare): Likewise.
56
6822468a
LB
572001-03-07 Laurynas Biveinis <lauras@softhome.net>
58
59 * Makefile.in: Set RANLIB to @RANLIB@.
60 Remove RANLIB_TEST.
61
622001-03-07 Laurynas Biveinis <lauras@softhome.net>
63
64 * fixinc/inclhack.def (djgpp_wchar_h): New test.
65 * fixinc/fixincl.x: Regenerated.
66
6e487492
RH
672001-03-07 Richard Henderson <rth@redhat.com>
68
69 * config/alpha/alpha.md (call_osf_1_noreturn): New pattern.
70
542d73ae
RH
712001-03-07 Richard Henderson <rth@redhat.com>
72
73 * emit-rtl.c (remove_unnecessary_notes): Verify proper nesting
74 of block notes and exception handling notes.
75
232f749b
RH
76 * lists.c (init_EXPR_INSN_LIST_cache): Don't check initialized.
77 * toplev.c (rest_of_compilation): Call init_EXPR_INSN_LIST_cache ...
78 (compile_file): ... here.
79
ed173cc9
KG
802001-03-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
81
82 * fixinc/Makefile.in (FIXINC_DEFS): Add -DHAVE_CONFIG_H.
83
84 * fixinc/gnu-regex.c: Don't include auto-host.h since we get
85 config.h now. Include libiberty.h to handle alloca.
86
cc937581
ZW
872001-03-06 Zack Weinberg <zackw@stanford.edu>
88
89 * c-parse.in (yylexname): New function, split out of _yylex.
90 (objc_rid_sans_at): New table.
91 (init_reswords): Initialize it.
92 (_yylex): Give labels clearer names. Handle CPP_ATSIGN by
93 retrieving the next token and checking it for significance as
94 an ObjC keyword or string constant.
95
96 * cpplex.c (_cpp_lex_token): Just return CPP_ATSIGN for '@'.
97 * cpplib.h (TTYPE_TABLE): Add CPP_ATSIGN, drop CPP_OSTRING.
98
99 * c-lex.c, c-parse.in, cppmacro.c, cpplex.c: Remove references
100 to CPP_OSTRING.
101
07ed7ecf
SM
1022001-03-06 Stephen L Moshier <moshier@mediaone.net>
103
104 * config/m68k/m68k.c (const_uint32_operand): Accept any
105 const_int on a 32-bit host.
106
805c6c57
NP
1072001-03-06 Nicola Pero <n.pero@mi.flashnet.it>
108
109 * objc/objc-act.c (init_objc): Set save_lang_status,
110 restore_lang_status, and mark_lang_status.
111
d2f65b7b
KW
1122001-03-06 Krister Walfridsson <cato@df.lth.se>
113
114 * dwarf2asm.c (dw2_asm_output_delta): Fix smallest_mode_for_size call.
115
a867b80c
NB
1162001-03-06 Neil Booth <neil@daikokuya.demon.co.uk>
117
118 * cppinternals.texi: Update.
119
68527d81
KG
1202001-03-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
121
122 * config/a29k/xm-a29k.h, config/a29k/xm-unix.h,
123 config/alpha/xm-alpha.h, config/arc/xm-arc.h, config/arm/xm-arm.h,
124 config/c4x/xm-c4x.h, config/clipper/xm-clix.h,
125 config/convex/xm-convex.h, config/d30v/xm-d30v.h,
126 config/dsp16xx/xm-dsp16xx.h, config/elxsi/xm-elxsi.h,
127 config/h8300/xm-h8300.h, config/i370/xm-i370.h,
128 config/i370/xm-linux.h, config/i370/xm-mvs.h, config/i370/xm-oe.h,
129 config/i386/xm-i386.h, config/i860/xm-i860.h,
130 config/i960/xm-i960.h, config/ia64/xm-ia64.h,
131 config/m32r/xm-m32r.h, config/m68k/xm-m68k.h,
132 config/m88k/xm-m88k.h, config/mcore/xm-mcore.h,
133 config/mips/xm-mips.h, config/mn10200/xm-mn10200.h,
134 config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h,
135 config/pa/xm-linux.h, config/pa/xm-pa.h, config/pa/xm-pa64hpux.h,
136 config/pa/xm-pahpux.h, config/pa/xm-papro.h, config/pj/xm-pj.h,
137 config/romp/xm-romp.h, config/rs6000/xm-beos.h,
138 config/rs6000/xm-lynx.h, config/rs6000/xm-rs6000.h,
139 config/rs6000/xm-sysv4.h, config/sh/xm-sh.h,
140 config/sparc/xm-sparc.h, config/sparc/xm-sysv4.h,
141 config/v850/xm-v850.h, config/vax/xm-vax.h, config/vax/xm-vms.h,
142 config/we32k/xm-we32k.h: Delete HOST_BITS_PER_* definitions which
143 match the defaults provided in hwint.h.
144
145 * config/i386/xm-lynx.h, config/m68k/xm-lynx.h,
146 config/sparc/xm-lynx.h, config/xm-std32.h: Delete files.
147
148 * config.gcc (xm_file): Don't set to files which are deleted.
149
150 * hwint.h: Provide default values for HOST_BITS_PER_*. No longer
151 guard this file against these macros being undefined.
152
69f8cbfa
ZW
1532001-03-06 Zack Weinberg <zackw@stanford.edu>
154
155 * objc/objc-act.c (objc_add_static_instance): Set DECL_INITIAL
156 and DECL_DEFER_OUTPUT on the decl we create, before calling
157 rest_of_decl_compilation.
158
1f50aafb
ZW
1592001-03-06 Zack Weinberg <zackw@stanford.edu>
160
161 * aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE
162 AC_FUNC_ALLOCA.
163 * configure, config.in: Regenerate.
164 * config.gcc: Remove references to deleted files.
165
166 * genattr.c, genattrtab.c, genextract.c, genoutput.c,
167 genrecog.c, rtl.c: Do not use alloca anywhere.
168
169 * Makefile.in, build-make, system.h, config/x-interix,
170 config/x-svr4, config/xm-interix.h, config/xm-openbsd.h,
171 config/alpha/xm-alpha.h, config/alpha/xm-vms.h,
172 config/arc/xm-arc.h, config/arm/xm-arm.h,
173 config/d30v/xm-d30v.h, config/dsp16xx/xm-dsp16xx.h,
174 config/h8300/xm-h8300.h, config/i370/x-oe,
175 config/i370/xm-linux.h, config/i386/x-aix, config/i386/x-beos,
176 config/i386/x-ncr3000, config/i386/x-sco5,
177 config/i386/xm-dgux.h, config/i860/x-sysv4,
178 config/i960/xm-i960.h, config/m32r/xm-m32r.h,
179 config/m68k/x-crds, config/m68k/x-dpx2, config/m68k/x-hp320,
180 config/m68k/x-hp320g, config/m69k/x-mot3300,
181 config/m68k/x-mot3300-gas, config/m68k/xm-amix.h,
182 config/m68k/xm-hp320.h, config/m68k/xm-m68kv.h,
183 config/m68k/xm-mot3300.h, config/m88k/x-dolph,
184 config/m88k/x-sysv4, config/m88k/x-tekXD88,
185 config/m88k/xm-m88k.h, config/mcore/xm-mcore.h,
186 config/mips/x-iris, config/mips/x-iris3,
187 config/mips/x-sni-svr4, config/mips/x-sysv,
188 config/mips/xm-iris6.h, config/mips/xm-mips.h,
189 config/mips/xm-nws3250v4.h, config/pa/x-hpux,
190 config/pa/x-pa-mpeix, config/pa/xm-pa.h,
191 config/pa/xm-pa64hpux.h, config/pa/xm-pahpux.h,
192 config/pa/xm-papro.h, config/romp/xm-romp.h,
193 config/rs6000/x-aix31, config/rs6000/x-aix41,
194 config/rs6000/x-beos, config/rs6000/x-lynx,
195 config/rs6000/x-mach, config/rs6000/x-rs6000,
196 config/rs6000/x-sysv4, config/rs6000/xm-rs6000.h,
197 config/rs6000/xm-sysv4.h, config/sh/xm-sh.h,
198 config/sparc/x-sysv4, config/sparc/xm-linux.h,
199 config/sparc/xm-pbd.h, config/sparc/xm-sparc.h,
200 config/vax/xm-vms.h: Eradicate all references to alloca and
201 related stuff.
202
203 * config/xm-alloca.h, config/clipper/x-clix,
204 config/i386/xm-sysv4.h, config/i860/x-fx2800,
205 config/i860/x-sysv3, config/m88k/x-sysv3,
206 config/sparc/xm-sol2.h, config/we32k/x-we32k: Delete
207 (contained only alloca related hacks).
208
209 * config/i386/xm-beos.h, config/rs6000/xm-beos.h: Just define
210 USE_C_ALLOCA.
211
d97b75be
BL
2122001-03-05 Brad Lucier <lucier@math.purdue.edu>
213
214 * invoke.texi: Document __FAST_MATH__.
215
1b5640cd
KG
2162001-03-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
217
218 * crtstuff.c: Restore include of auto-host.h.
219
aa5b94de
FH
2202001-03-05 Fergus Henderson <fjh@cs.mu.oz.au>
221
222 Put main() in a separate file, so that the language
223 front-end can use a different main().
224
225 * main.c: New.
226 * toplev.c: (main): Rename as toplev_main.
227 * toplev.h: Declare toplev_main.
228 * Makefile.in (OBJS): add toplev.o.
229 (BACKEND): remove toplev.o, add main.o.
230
04c8d9b9
NB
2312001-03-04 Neil Booth <neil@daikokuya.demon.co.uk>
232
233 * cppfiles.c (search_from): Special case the empty string.
234
7868b4a2
NB
2352001-03-04 Neil Booth <neil@daikokuya.demon.co.uk>
236
237 * cppfiles.c (_cpp_execute_include): Don't make a null-terminated
238 copy of the filename. Don't use CPP_PREV_BUFFER. Don't call
239 strlen or strcpy; we already know the length.
240 (_cpp_compare_file_date): Similarly.
241 * cpphash.h (struct cpp_reader): Delete done_initialising.
242 (CPP_PREV_BUFFER): Delete.
243 * cppinit.c (cpp_start_read): Don't set done_initialising.
244 * cpplex.c (parse_string): Guarantee null-termination.
245 (_cpp_equiv_toklists): Remove.
246 * cpplib.c (glue_header_name): Null-terminate.
247 (do_line): Don't leak memory.
248 * cpplib.h (BT_WEAK): Delete.
249 * cppmain.c (cb_ident): Strings are now null-terminated.
250
2512001-03-04 Laurynas Biveinis <lauras@softhome.net>
252
253 * gcc.c (convert_filename): Append executable suffix
254 if NO_AUTO_EXE_SUFFIX is not defined.
255 * gcc.texi: Document NO_AUTO_EXE_SUFFIX.
256 * config/i386/djgpp.h: Define NO_AUTO_EXE_SUFFIX.
91c704c4 257
7e7be827 2582001-03-03 David O'Brien <obrien@FreeBSD.org>
1f50aafb 259
7e7be827
DB
260 from 2000-09-06 Zack Weinberg <zack@wolery.cumb.org>
261 * c-parse.gperf, c-gperf.h: Delete.
69f8cbfa
ZW
262 (c-gperf.h was accidently re-added to the CVS repo in the rev
263 1.16 commit by tromey)
7e7be827 264
e8408f25
NB
2652001-03-03 Neil Booth <neil@daikokuya.demon.co.uk>
266
267 * cpplex.c (_cpp_lex_token): Don't warn about directives in
268 macro arguments when looking for the '('.
269 * cppmacro.c (funlike_invocation_p): Set parsing_args to
270 2 when really parsing arguments; 1 when looking for '('.
271 Always restore the lexer position.
272
1d67c69a
NB
2732001-03-03 Neil Booth <neil@daikokuya.demon.co.uk>
274
275 * longlong.h (umul_ppmm): Don't use a multiline string.
276
f6242907
JDA
2772001-03-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
278
279 * fixinc/fixlib.h (t_bool): Add identifier `t_bool' in typedef.
280 * fixinc/server.c (read_pipe_timeout): Use enum t_bool instead of
281 t_bool in declaration because pcc can't combine volatile with typedef
282 types.
283
bf71a4f8
JH
284Sat Mar 3 19:47:13 CET 2001 Jan Hubicka <jh@suse.cz>
285
286 * i386.c (ix86_expand_fp_compare): Delay creating of scratch register
287 until when it is really needed.
288 (ix86_expand_compare): Update call of ix86_expand_fp_compare.
289 * i386.h (PREDICATE_CODES): Add all codes for sse_comparison_operator
290 * i386.md (float?i?f splitter): Don't force source operand to memory
291 for SSE.
292 (sse_movdfcc): Fix constraint.
293 (sse_movdfcc splitter): Handle properly the second alternative.
294
795a25f4
NB
2952001-03-03 Neil Booth <neil@daikokuya.demon.co.uk>
296
20f9202d 297 * cpplex.c (parse_string): Unconditionally pedwarn.
795a25f4 298
c691145a
NB
2992001-03-03 Neil Booth <neil@daikokuya.demon.co.uk>
300
20f9202d 301 * cpp.texi: Update.
1f50aafb 302 * cppexp.c (parse_number): Update.
20f9202d
DB
303 * cpplex.c (parse_string): Pedwarn if multiline string does not
304 result from a system header's macro.
305 * cpplib.h (sys_objmacro_p): Rename sys_macro_p.
306 * cppmacro.c (sys_objmacro_p): Rename sys_macro_p. Return true
307 for function-like macros too.
c691145a
NB
308 * c-lex.c (lex_number): Update.
309
e7f4d38a
RH
3102001-03-03 Richard Henderson <rth@redhat.com>
311
312 * dwarf2out.c (output_call_frame_info): Fix augmentation length.
313
5dd3e650
R
314Sat Mar 3 04:17:17 2001 J"orn Rennecke <amylaar@redhat.com>
315
316 * combine.c (try_combine): If split with mode-changed scratch
317 register didn't work, try the original mode.
318
31a02448
R
319Sat Mar 3 03:46:47 2001 J"orn Rennecke <amylaar@redhat.com>
320
321 * tm.texi: Change STRUCT_FORCE_BLK to MEMBER_TYPE_FORCES_BLK.
322 * config/c4x/c4x.h: Likewise.
323 * stor-layout.c (compute_record_mode): Likewise.
324 (layout_type, case ARRAY_TYPE): Use MEMBER_TYPE_FORCES_BLK.
325
eaf4e618
ZW
3262001-03-02 Zack Weinberg <zackw@stanford.edu>
327
328 * configure.in: Kill tm.h. Include the files in the $tm_file
329 list in all three of config.h, hconfig.h, tconfig.h, after the
330 relevant set of xm_files. Put TARGET_CPU_DEFAULT in all
331 three, include insn-codes.h in all three (#ifndef GENERATOR_FILE).
332 * configure: Regenerate.
333 * Makefile.in (clean): Don't delete tm.h.
334
335 * system.h: If SUCCESS_EXIT_CODE and FATAL_EXIT_CODE are not
336 defined, set them from EXIT_SUCCESS and EXIT_FAILURE. If
337 those are not defined, set SEC and FEC to 0 and 1.
338 * gcc.texi: Update to match.
339
340 * crtstuff.c: Include tconfig.h, not auto-host.h and tm.h.
341 * config/fp-bit.c, config/m68k/aux-crt2.asm,
342 config/m68k/aux-crtn.asm, config/m68k/aux-mcount.c:
343 Include tconfig.h, not tm.h.
344
345 * config/xm-lynx.h, config/xm-std32.h,
346 config/a29k/xm-a29k.h, config/a29k/xm-unix.h,
347 config/alpha/xm-alpha.h, config/arc/xm-arc.h,
348 config/avr/xm-avr.h, config/c4x/xm-c4x.h,
349 config/clipper/xm-clix.h, config/convex/xm-convex.h,
350 config/d30v/xm-d30v.h, config/dsp16xx/xm-dsp16xx.h,
351 config/elxsi/xm-elxsi.h, config/fr30/xm-fr30.h,
352 config/h8300/xm-h8300.h, config/i370/xm-linux.h,
353 config/i386/xm-i386.h, config/i860/xm-i860.h,
354 config/i960/xm-i960.h, config/ia64/xm-ia64.h,
355 config/m32r/xm-m32r.h, config/m68hc11/xm-m68hc11.h,
356 config/m88k/xm-m88k.h, config/mcore/xm-mcore.h,
357 config/mips/xm-mips.h, config/mn10200/xm-mn10200.h,
358 config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h,
359 config/pa/xm-linux.h, config/pa/xm-pa.h,
360 config/pa/xm-pa64hpux.h, config/pa/xm-pahpux.h,
361 config/pa/xm-papro.h, config/pdp11/xm-pdp11.h,
362 config/pj/xm-pj.h, config/romp/xm-romp.h,
363 config/rs6000/xm-beos.h, config/rs6000/xm-rs6000.h,
364 config/rs6000/xm-sysv4.h, config/sh/xm-sh.h,
365 config/sparc/xm-sparc.h, config/sparc/xm-sysv4.h,
366 config/v850/xm-v850.h, config/vax/xm-vax.h,
367 config/we32k/xm-we32k.h:
368 Don't include tm.h.
369 Don't define SUCCESS_EXIT_CODE or FATAL_EXIT_CODE.
370
371 * config/i370/xm-i370.h, config/i370/xm-mvs.h,
372 config/i370/xm-oe.h: Don't include tm.h. Don't define
373 SUCCESS_EXIT_CODE.
374 * config/vax/xm-vms.h: Don't include tm.h.
375
376 * config/xm-lynx.h, config/avr/xm-avr.h,
377 config/fr30/xm-fr30.h, config/pdp11/xm-pdp11.h,
378 Delete; made empty by above changes.
379 * config/i386/xm-lynx.h, config/m68k/xm-lynx.h,
380 config/rs6000/xm-lynx.h, config/sparc/xm-lynx.h:
381 Don't include config/xm-lynx.h or tm.h.
382
383 * config/xm-gnu.h: Don't include fcntl.h.
384 * config/sparc/xm-lynx.h: Don't include sys/types.h and
385 sys/wait.h.
386 * config/clipper/xm-clix.h, config/vax/xm-vax.h: Don't define isinf.
387
1a7519ff
RH
3882001-03-02 Richard Henderson <rth@redhat.com>
389
390 * tm.texi (File Framework): Document UNALIGNED_SHORT_ASM_OP,
391 UNALIGNED_INT_ASM_OP, and UNALIGNED_DOUBLE_INT_ASM_OP.
392
2e4b9b8c
RH
3932001-03-02 Richard Henderson <rth@redhat.com>
394
395 * Makefile.in (OBJS): Add dwarf2asm.o.
396 * dwarf2asm.c, dwarf2asm.h: New files.
397 * dwarf2out.c (*): Use them.
398 (size_of_uleb128, size_of_sleb128): Remove.
399 (output_uleb128, output_sleb128): Remove.
400 (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP): Remove.
401 (UNALIGNED_DOUBLE_INT_ASM_OP, ASM_BYTE_OP): Remove.
402 (UNALIGNED_OFFSET_ASM_OP, UNALIGNED_WORD_ASM_OP): Remove.
403 (FDE_LABEL, LINE_NUMBER_BEGIN_LABEL, LINE_NUMBER_END_LABEL): New.
404 (ASM_OUTPUT_DWARF_DATA1, ASM_OUTPUT_DWARF_DELTA1): Remove.
405 (ASM_OUTPUT_DWARF_DATA2, ASM_OUTPUT_DWARF_DELTA2): Remove.
406 (ASM_OUTPUT_DWARF_DATA4, ASM_OUTPUT_DWARF_DELTA4): Remove.
407 (ASM_OUTPUT_DWARF_DATA, ASM_OUTPUT_DWARF_DELTA): Remove.
408 (ASM_OUTPUT_DWARF_ADDR, ASM_OUTPUT_DWARF_ADDR_DATA): Remove.
409 (ASM_OUTPUT_DWARF_ADDR_DELTA, ASM_OUTPUT_DWARF_ADDR_CONST): Remove.
410 (ASM_OUTPUT_DWARF_OFFSET4, ASM_OUTPUT_DWARF_OFFSET): Remove.
411 (ASM_OUTPUT_DWARF_CONST_DOUBLE): Remove.
412 (ASM_OUTPUT_DWARF_NSTRING, ASM_OUTPUT_DWARF_STRING): Remove.
413 (dwarf2out_frame_debug): Remove unused variables.
414 (output_loc_operands): Don't abort on 8 byte constants if
415 host integers are wide enough.
416 (output_symbolic_ref): Remove.
417 (size_of_die): Don't assume 4 byte host integers.
418 (output_line_info): Use ASM_GENERATE_INTERNAL_LABEL for begin
419 and end labels.
420 (add_const_value_attribute) [CONST_INT]: Verify we're not doing
421 something stupid with HOST_WIDE_INT to long truncation.
422 [CONST_DOUBLE]: Likewise.
423
424 * config/arm/conix-elf.h (UNALIGNED_WORD_ASM_OP): Remove.
425 (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_OUTPUT_DWARF_ADDR_CONST): Remove.
426 * config/arm/unknown-elf.h: Likewise.
427 * config/rs6000/aix.h (UNALIGNED_SHORT_ASM_OP): New.
428 (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): New.
429 (ASM_OUTPUT_DWARF_ADDR_VAR, ASM_OUTPUT_DWARF_DELTA_VAR): Remove.
430 (ASM_OUTPUT_DWARF_DELTA2, ASM_OUTPUT_DWARF_DELTA4): Remove.
431 (ASM_OUTPUT_DWARF_DELTA, ASM_OUTPUT_DWARF_ADDR_DELTA): Remove.
432 (ASM_OUTPUT_DWARF_ADDR, ASM_OUTPUT_DWARF_DATA4): Remove.
433 (ASM_OUTPUT_DWARF_DATA2, ASM_OUTPUT_DWARF_OFFSET4): Remove.
434 (ASM_OUTPUT_DWARF_OFFSET): Remove.
435 * config/rs6000/sysv4.h (ASM_OUTPUT_DWARF_ADDR): Remove.
436 * config/sparc/sp64-elf.h (UNALIGNED_DOUBLE_INT_ASM_OP): New.
437 (UNALIGNED_LONGLONG_ASM_OP, ASM_OUTPUT_DWARF_ADDR): Remove.
438 (ASM_OUTPUT_DWARF_ADDR_CONST, ASM_OUTPUT_DWARF_REF): Remove.
439
dc76f41c
JDA
4402001-03-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
441
442 * cselib.c (hash_rtx): Cast enums to unsigned int.
443
dbbbbf3b
JDA
4442001-03-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
445
446 * print-rtl.c (print_rtx): Cast enums to int for comparison.
447 * c-decl.c (grokdeclarator): Cast enums to int for comparison and
448 shifts.
449 * c-format.c (C_STD_VER): Cast to int for comparisons.
450 (check_function_format): Cast various enums to int for &.
451 (maybe_read_dollar_number): Likewise.
452 (check_format_info): Likewise.
453 (check_format_info_main): Likewise.
454 * expr.c (emit_move_insn_1): Cast enums to unsigned int for comparison.
455 (safe_from_p): Likewise.
456 * varasm.c (const_hash): Cast enum to int for %.
457 * emit-rtl.c (init_emit_once): Use int loop variable to work around
458 pcc enum problems with < and ++ operators.
459 * regclass.c (init_reg_sets_1): Cast enums for comparison.
460 (choose_hard_reg_mode): Use unsigned int to iterate over CCmodes.
461 (regclass_init): Change enum class to int to iterate over reg_classes.
462 * genrecog.c (merge_trees): Cast enums for comparison.
463 * rtl.h (GET_CODE): Cast to enum rtx_code.
464 (PUT_CODE): Cast to ENUM_BITFIELD(rtx_code).
465 (GET_MODE): Cast to enum machine_mode.
466 (PUT_MODE): Cast to ENUM_BITFIELD(machine_mode).
467 (GET_NOTE_INSN_NAME): Cast enum to int.
468 * tree.h (TREE_CODE): Cast to enum tree_code.
469 (TREE_SET_CODE): Cast VALUE to ENUM_BITFIELD(tree_code).
eaf4e618 470 * timevar.c (timevar_print): Change loop variable id from enum to
dbbbbf3b
JDA
471 unsigned int.
472 * fixinc/fixincl.c (VLEVEL): Cast enums in comparison to unsigned int.
473 * config/i386/i386.md: Use PUT_MODE for mode assignment.
474 * toplev.c (compile_file): Cast enum DFI to int.
475 (decode_d_option): Likewise.
476
4737b274
CF
477Fri Mar 2 12:18:13 2001 Christopher Faylor <cgf@cygnus.com>
478
479 * cppinit.c (append_include_chain): Mark "after" include file name list
480 as a system directory.
481 * cpp.texi: Document new behavior.
482
68af29ce
JH
483Fri Mar 2 11:59:43 CET 2001 Jan Hubicka <jh@suse.cz>
484
485 * ifcvt.c (noce_operand_ok): Handle properly unarry operations.
486
591e15a1
NB
4872001-03-02 Neil Booth <neil@daikokuya.demon.co.uk>
488
eaf4e618
ZW
489 * cppfiles.c (struct include_file): Update.
490 (stack_include_file): Use search_from.
491 (cpp_included, find_include_file): Update.
492 (cpp_execute_include): Update. ptr->name may not be
493 null terminated. Use the new search_from member variable
494 of cpp_buffer.
495 (_cpp_compare_file_date): Similarly.
496 (search_from): New function, similiar to actual_directory.
497 (actual_directory): Delete.
498 (remap_filename): Update. loc->name may not be null terminated.
499 (struct file_name_list): Rename search_path. Update.
500 * cpphash.h (struct cpp_buffer): Delete actual_dir. New members
501 search_from and dir.
502 (struct cpp_reader): Remove actual_dirs.
503 * cppinit.c (struct cpp_pending): Update for renamed objects.
504 (append_include_chain, remove_dup_dir, remove_dup_dirs,
505 merge_include_chains, cpp_destroy, cpp_start_read): Similarly.
506 * cpplib.h (struct cpp_options): Similarly.
591e15a1 507
d6edb99e
ZW
5082001-03-01 Zack Weinberg <zackw@stanford.edu>
509
510 * config/xm-lynx.h, config/xm-std32.h, config/a29k/xm-a29k.h,
511 config/a29k/xm-unix.h, config/alpha/xm-alpha.h,
512 config/arc/xm-arc.h, config/arm/xm-arm.h, config/c4x/xm-c4x.h,
513 config/clipper/xm-clix.h, config/convex/xm-convex.h,
514 config/d30v/xm-d30v.h, config/dsp16xx/xm-dsp16xx.h,
515 config/elxsi/xm-elxsi.h, config/fr30/xm-fr30.h,
516 config/h8300/xm-h8300.h, config/i370/xm-i370.h,
517 config/i370/xm-linux.h, config/i370/xm-mvs.h,
518 config/i370/xm-oe.h, config/i386/xm-aix.h,
519 config/i386/xm-i386.h, config/i386/xm-osf.h,
520 config/i860/xm-i860.h, config/i960/xm-i960.h,
521 config/ia64/xm-ia64.h, config/m32r/xm-m32r.h,
522 config/m68k/xm-m68k.h, config/m88k/xm-m88k.h,
523 config/mcore/xm-mcore.h, config/mips/xm-mips.h,
524 config/mn10200/xm-mn10200.h, config/mn10300/xm-mn10300.h,
525 config/ns32k/xm-ns32k.h, config/pa/xm-linux.h,
526 config/pa/xm-pa.h, config/pa/xm-pa64hpux.h,
527 config/pa/xm-pahpux.h, config/pa/xm-papro.h,
528 config/pj/xm-pj.h, config/romp/xm-romp.h,
529 config/rs6000/xm-beos.h, config/rs6000/xm-rs6000.h,
530 config/rs6000/xm-sysv4.h, config/sh/xm-sh.h,
531 config/sparc/xm-sparc.h, config/sparc/xm-sysv4.h,
532 config/v850/xm-v850.h, config/vax/xm-vax.h,
533 config/vax/xm-vms.h, config/we32k/xm-we32k.h:
534 Do not define TRUE or FALSE.
535
536 * config/i386/xm-aix.h, config/i386/xm-osf.h: Delete; made
537 empty by above change.
538 * config.gcc: Remove references to these files.
539
540 * configure.in: Detect stdbool.h.
541 * configure, config.in: Regenerate.
eaf4e618 542 * system.h: Include stddef.h here if available.
d6edb99e
ZW
543 Set HAVE__BOOL based on GCC_VERSION and __STDC_VERSION__.
544 Then set up a sensible boolean type at the very end.
545
546 * combine.c, cse.c, expr.c, fold-const.c, gensupport.c,
547 config/mcore/mcore.c: Rename variables named 'true' and/or 'false'.
548
549 * hash.h: Delete 'boolean' typedef and related #undefs.
550
551 * function.c, ggc-common.c, hash.h, hash.c, tlink.c: Replace
552 all uses of 'boolean' with 'bool'.
553
37b8524c
JDA
5542001-03-01 John David Anglin <dave@hiauly1.hia.nrc.ca>
555
556 * cpplib.c (_cpp_init_stacks): Cast enum for comparison.
557 * cppexp.c (lex): Cast enums for comparison.
558 * cppinit.c (parse_option): Cast enum for comparison.
559 * cpplex.c (cpp_spell_token): Cast enums to int for minus.
560 (cpp_output_token): Likewise.
561 (cpp_can_paste): Cast enums for comparsion and plus/minus.
562 (cpp_avoid_paste): Cast enums for minus and comparison.
563
f7143427
ZW
5642001-03-01 Zack Weinberg <zackw@stanford.edu>
565
566 * gcc.c, objc/lang-specs.h: Add zero initializer for cpp_spec
567 field to all array elements.
568
cb773845
ZW
5692001-03-01 Zack Weinberg <zackw@stanford.edu>
570
571 * cpphash.h (struct cpp_reader): Add print_version field.
572 * cppinit.c (cpp_handle_option): For -v, -version, and --version,
573 just set print_version and other flags as appropriate.
574 (cpp_post_options): Print version here if print_version is set.
575
576 * toplev.c (exit_after_options): New flag.
577 (independent_decode_option): Don't exit here; just set
578 exit_after_options.
579 (main): Exit after calling lang_hooks.post_options if
580 exit_after_options is true.
581
582 * cppinit.c (append_include_chain): Drop never-used case QUOTE.
583 (merge_include_chains): Adjust comment to match code.
584
71b7be38
ZW
5852001-03-01 Zack Weinberg <zackw@stanford.edu>
586
587 * stringpool.c (set_identifier): New function.
588 * tree.h: Prototype it.
589
590 * c-parse.in: Kill D_YES. If compiled for objc, call
591 save_and_forget_protocol_qualifiers from init_reswords.
592 * objc/objc-act.c (remember_protocol_qualifiers,
593 forget_protocol_qualifiers): Don't diddle C_IS_RESERVED_WORD.
594 Swap out the non-keyword IDENTIFIER_NODEs for keyword ones, or
595 vice versa.
596 (save_and_forget_protocol_qualifiers): New function.
597 * c-lex.h: Prototype save_and_forget_protocol_qualifiers.
598
5aa709ad
DN
5992001-03-01 Diego Novillo <dnovillo@redhat.com>
600
601 * c-semantics.c (prune_unused_decls): Return error_mark_node
602 instead of (tree) 1 to stop traversing the tree chain.
603
791f5e8d
BS
6042001-03-01 Bernd Schmidt <bernds@redhat.com>
605
606 Fix a problem introduced by Kenner's Feb 18 change.
607 * toplev.c (rest_of_compilation): Disable flag_cse_follow_jumps and
608 flag_cse_skip_blocks only temporarily, not for ever.
609
9c1eed37
JL
610Thu Mar 1 09:49:58 2001 Jeffrey A Law (law@cygnus.com)
611
913553ce
JL
612 * config/pa/som.h (ASM_IDENTIFY_GCC): Define.
613 (ASM_IDENTIFY_GCC_AFTER_SOURCE): Likewise.
614
9c1eed37
JL
615 * pa.c (emit_move_sequence): Verify operand0 is a hard register
616 before determining its register class.
617
21e4c9a8
BS
6182001-03-01 Bernd Schmidt <bernds@redhat.com>
619
8cb71435
BS
620 * config/ia64/ia64.c (ia64_hard_regno_rename_ok): Disallow renaming
621 from reg 4 if current_function_calls_setjmp.
7a87c39c
BS
622 (gen_nop_type): New function.
623 (ia64_emit_nops): New function.
624 (ia64_reorg): Call it.
2d1b811d 625 (ia64_sched_reorder): Move code that rotates bundles up a bit.
8cb71435 626
1abdf5e7
BS
627 * reload1.c (eliminate_regs_in_insn): Restrict the special case
628 code not to try to optimize adds with anything but a REG destination.
629
21e4c9a8
BS
630 * sched-int.h (struct haifa_insn_data): Add new member priority_known.
631 (INSN_PRIORITY_KNOWN): New accessor macro.
632 * haifa-sched.c (priority): Use it instead of testing priority against
633 zero.
634
d676911f
DD
6352001-02-28 DJ Delorie <dj@redhat.com>
636
637 * config/m68k/m68k.h (MOVE_BY_PIECES_P): Avoid pushing bytes,
638 since that doesn't work the way gcc wants on a generic m68k.
639
d448e3e9
RH
6402001-02-28 Richard Henderson <rth@redhat.com>
641
642 * caller-save.c (save_call_clobbered_regs): Fix typo in
643 comparison last change.
644
b4e89e2d
JH
645Wed Feb 28 19:31:42 CET 2001 Jan Hubicka <jh@suse.cz>
646
647 * i386.c (pentium4_cost): New.
648 (m_PENT4): New macro.
649 (x86_push_memory, x86_movx,x86_cmove, x86_deep_branch, x86_use_sahf
650 x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8
651 x86_integer_DFmode_moves, x86_partial_reg_dependency,
652 x86_memory_mismatch_stall): Add Pentium4
653 (x86_use_q_reg, x86_use_any_reg): Kill.
654 (override_options): Add pentium4.
655 (incdec_operand): Return 0 for pentium4.
656 (ix86_issue_rate): Add PROCESSOR_PENTIUM4 and PROCESSOR_ATHLON.
657 * i386.h (x86_use_q_reg, x86_use_any_reg): Kill.
658 (TARGET_PENTIUM4): Define.
659 (enum processor_type): Add PROCESSOR_PENTIUM4.
660 (CPP_CPU_DEFAULT_SPEC): Add pentium4 support.
661 * i386.md (attribute "cpu"): Add pentium4.
662 * invoke.texi (march): Add pentium4.
663
0073023d
JH
664Wed Feb 28 19:28:06 CET 2001 Jan Hubicka <jh@suse.cz>
665
666 * i386.md (sse_mov?fcc*): New patterns and splitters.
667 * i386.c (ix86_expand_movcc): Work post-reload; recognize
668 the SSE based conditional moves.
669
2b04e52b
JH
670Wed Feb 28 19:18:23 CET 2001 Jan Hubicka <jh@suse.cz>
671
672 * i386.md (attribute mode): Add "TI".
673 (movsf_1): Add pxor support; remove constant propagation splitter.
674 (movdf_integer): Likewise.
675 (movdf_nointeger): Likewise.
676 (movxf constant prop splitter): Handle all modes; update for SSE.
677 * i386.h (CONST_DOUBLE_OK_FOR_LETTER): Add 'H' for SSE constants.
678 * i386.c (standard_80387_constant_p): Rewrite.
679 (standard_sse_constant_p): New.
680 * i386-protos.h (standard_sse_constant_p): New.
681
a46d1d38
JH
682Wed Feb 28 19:05:37 CET 2001 Jan Hubicka <jh@suse.cz>
683
684 * i386.md (sse_setccsf, sse_setccdf): New.
685 (sse_cmp* patterns): Use '%D' instead of outputtting condition
686 flag directly.
687 * i386.c (sse_comparison_operator): Accept the supported unordered
688 comparses; be ready for fast_math.
689 (print_operand): Support 'D'.
690
91afe941
JH
691Wed Feb 28 18:54:51 CET 2001 Jan Hubicka <jh@suse.cz>
692
693 * jump.c (reversed_comparison_code): Kill.
694
6f45f005
JH
695Wed Feb 28 18:50:15 CET 2001 Jan Hubicka <jh@suse.cz>
696
697 * toplev.c (rest_of_compilation): Do post-reload splitting unconditionally
698 for STACK_REGS
699
c679d048
JH
700Wed Feb 28 18:47:37 CET 2001 Jan Hubicka <jh@suse.cz>
701
702 * i386.md (sse_andti3, sse_nandti_3, sse_xorti3): Add SSE2 versions;
703 add missing '%' in constraints.
704
4ae31003
JH
705Wed Feb 28 17:24:24 CET 2001 Jan Hubicka <jh@suse.cz>
706
707 * c-common.c (build_common_tree_nodes): Build intTI_type_nodes
708 for HOST_BITS_PER_WIDE_INT == 32 too.
709
787dc842
JH
710Wed Feb 28 17:22:35 CET 2001 Jan Hubicka <jh@suse.cz>
711
712 * caller-save.c (reg_save_code, reg_restore_code): Index by mode, not
713 NREGS.
714 (insert_save, insert_restore): New parameter save_mode.
715 (init_caller_save): Update initialization of reg_save_code
716 and reg_restore_code.
717 (save_call_clobbered_regs): Compute save_modes and update calls to
718 reg_save_code and reg_restore_code.
719 (insert_restore): Unsignetize numbers; use save_modes to choose mode
720 of spill; update use of reg_restore_code.
721 (insert_save): Likewise.
722 * i386.h (HARD_REGNO_CALLER_SAVE_MODE): Update.
723 * c4x.h (HARD_REGNO_CALLER_SAVE_MODE): Update.
724 * regs.h (HARD_REGNO_CALLER_SAVE_MODE): Likewise.
725
726Wed Feb 28 17:19:28 CET 2001 Jan Hubicka <jh@suse.cz>
dc2698bc
JH
727
728 * ifcvt.c (noce_emit_store_flag, noce_try_store_flag_constants,
729 noce_try_store_flag_inc, noce_try_store_flag_mask,
730 noce_try_cmove_arith):
731 Use reversed_comparison_code instead of reverse_comparison and
732 can_reverse_comparison_p.
733
2450703c
JH
734Wed Feb 28 17:17:29 CET 2001 Jan Hubicka <jh@suse.cz>
735
736 * jump.c (reversed_comparison_code_parts): Allow reversal of
737 unordered compares in -ffast-math mode; reverse ordered compares
738 for FP even w/o -ffast-math.
739
25cff714
RH
7402001-02-27 Richard Henderson <rth@redhat.com>
741
742 * print-rtl.c (print_rtx) [i]: Don't print field five on
743 NOTEs other than NOTE_INSN_DELETED_LABEL.
744
26029fe2
ZW
7452001-02-27 Zack Weinberg <zackw@stanford.edu>
746
747 * mips/xm-iris4.h: Delete #if 0 block (there since before 1997).
748 * pa/xm-linux.h, pa/xm-pa.h, pa/xm-papro.h: Don't declare errno.
749
87aee676
DN
7502001-02-27 Diego Novillo <dnovillo@redhat.com>
751
752 * c-common.c (walk_stmt_tree): Visit the chain of the current tree
753 even if walk_subtrees is 0.
754 * c-semantics.c (prune_unused_decls): Return a non-null value to
755 stop traversing the tree chain.
756
67935d3f
DD
7572001-02-27 DJ Delorie <dj@redhat.com>
758
759 * config/m68k/m68k.c (output_function_prologue): Save the new CFA
760 register, *then* define it as the new CFA.
761
7ee72796
JL
762Tue Feb 27 16:49:13 2001 Jeffrey A Law (law@cygnus.com)
763
764 * pa.c (override_options): Promote -fpic to -fPIC.
765 (legitimize_pic_address): Simplify due to removal of
766 small PIC as a code generation option.
767 (secondary_reload_class): Similarly.
768 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Similarly.
769 (PRINT_OPERAND_ADDRESS): Similarly.
770 * pa.md (various patterns): Similarly.
771 (small pic lo_sum pattern): Remove.
772
b71b019a
JH
773Tue Feb 27 16:01:13 CET 2001 Jan Hubicka <jh@suse.cz>
774 Fergus Henderson
775
776 * md.texi (min, max): Document
d6edb99e 777
79005df5
JH
778Tue Feb 27 15:51:35 CET 2001 Jan Hubicka <jh@suse.cz>
779
780 * i386.md (movsf, movdf): Use movaps for reg-reg moves if
781 TARGET_PARTIAL_REG_DEPENDENCY.
782 (truncdfsf2_1_sse, truncdfsf2_2): Penalize the fpreg->mem case.
783
7ada6625
JH
784Tue Feb 27 15:36:48 CET 2001 Jan Hubicka <jh@suse.cz>
785
786 * i386.md (mins*, maxs*): New patterns, expanders and splitters.
787
8bb3dc77
JO
7882001-02-26 Jeffrey Oldham <oldham@codesourcery.com>
789
790 * mips.c (mips_make_temp_file): Fix thinko in last change.
791
ac4cdf40
JE
7922001-02-26 Jason Eckhardt <jle@redhat.com>
793
794 * combine.c (known_cond): Do not reverse the condition when
d6edb99e 795 SMAX/UMAX is being considered and the condition is for equality
ac4cdf40
JE
796 or inequality.
797
798 * testsuite/gcc.c-torture/execute/20010221-1.c: New test.
799
14879e76
PB
8002001-02-26 Philip Blundell <philb@gnu.org>
801
802 * config.gcc: Remove obsolete targets "arm*-*-linuxoldld" and
803 "armv2-*-linux".
804 * config/arm/linux-elf.h: Remove historical relics related to
805 above configurations.
806 * config/arm/linux-oldld.h: Delete.
807 * config/arm/linux-elf26.h: Delete.
808
8cf8d8a2
JM
8092001-02-26 Jason Merrill <jason@redhat.com>
810
811 * c-decl.c (finish_decl): Set DECL_DEFER_OUTPUT on tentative file-scope
812 definitions.
813 * toplev.c (rest_of_decl_compilation): Check DECL_DEFER_OUTPUT to
814 recognize a tentative definition. Lose obsolete code.
815
816 * toplev.c (wrapup_global_declarations): Don't emit DECL_COMDAT
817 variables unless necessary, either.
818
05cc23e8
RH
8192001-02-25 Richard Henderson <rth@redhat.com>
820
821 * ifcvt.c (struct noce_if_info): Add test_bb.
822 (noce_get_alt_condition): New.
823 (noce_try_minmax, noce_try_abs): New.
824 (noce_operand_ok): New.
825 (noce_process_if_block): Use them.
826 * rtlanal.c (may_trap_p): NEG and ABS can never trap.
827
052d4b6c
CF
828Sun Feb 25 14:26:17 2001 Christopher Faylor <cgf@cygnus.com>
829
830 * config/i386/cygwin.h (CPP_SPEC): Add missing space before w32api
831 include.
832
e1b71de9
ZW
8332001-02-25 Zack Weinberg <zackw@stanford.edu>
834
835 * config.gcc: Put back pa/t-openbsd and rs6000/t-openbsd.
836 * config/mips/mips.c (mips_make_temp_file): Set temp_filename
837 properly.
838 (mips_asm_file_end): Free temp_filename here.
839
4ddb47b3
RK
840Sun Feb 25 08:34:23 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
841
397be6cf
RK
842 * config/i386/i386-protos.h (ix86_set_move_mem_attrs): Move decl.
843 * config/i386/i386.c (ix86_set_move_mem_attrs_1): Fix typo.
844
4ddb47b3
RK
845 * config/i386/i386.md (movstrsi): Handle FAIL case.
846
618cdda7
NB
8472001-02-25 Neil Booth <neil@daikokuya.demon.co.uk>
848
05cc23e8
RH
849 * cppinit.c (builtin_array): Update.
850 (init_builtins): Flag builtins to warn if redefined or
851 undefined. Define __GXX_WEAK as a normal macro.
852 * cpplib.c (do_undef): Warn if flagged NODE_WARN.
853 * cpplib.h (NODE_WARN): New flag.
854 * cppmacro.c (builtin_macro): Remove handling of __GXX_WEAK__.
855 Handle __STDC__ as a builtin only on Solaris.
856 (warn_of_redefinition): Renamed from check_macro_definition.
857 Reverse sense of test. Always warn if NODE_WARN.
858 (_cpp_create_definition): Use warn_of_redefinition. Flag
859 any macro beginning with "__STDC_" to require a mandatory
860 warning if redefined or undefined.
618cdda7 861
000b5f54
ZW
8622001-02-24 Zack Weinberg <zackw@stanford.edu>
863
864 * xm-interix.h, xm-lynx.h, alpha/xm-vms.h, convex/xm-convex.h,
865 i370/xm-i370.h, i370/xm-linux.h, i370/xm-mvs.h, i370/xm-oe.h,
866 i386/xm-beos.h, i386/xm-dos.h, i386/xm-mingw32.h,
867 i860/xm-i860.h, m68k/xm-3b1.h, m68k/xm-amix.h, m68k/xm-aux.h,
868 m68k/xm-crds.h, m68k/xm-mot3300.h, m88k/xm-sysv3.h,
869 mips/xm-mips.h, rs6000/xm-beos.h, vax/xm-vms.h:
870 Don't define any of:
871 USE_PROTOTYPES, vfork, mktemp, SVR3, NO_SYS_PARAMS_H,
872 P_tmpdir, MVS, NO_DBX_FORMAT, USE_STDARGS, STDC_HEADERS,
873 NO_PRECOMPILES, i860, __PTR_TO_INT, __INT_TO_PTR, rindex,
874 index, FULL_PROTOTYPES, AUX, R_OK, W_OK, X_OK, F_OK,
875 STACK_DIRECTION, MIPS, MAX_READ_LEN, MAX_WRITE_LEN.
876
877 * alpha/xm-alpha.h, clipper/xm-clix.h, d30v/xm-d30v.h,
878 fr30/xm-fr30.h, i370/xm-linux.h: Remove commented-out macro
879 definitions.
880
881 * m68k/xm-3b1.h, m68k/xm-crds.h, m88k/xm-sysv3.h:
882 Delete now-empty file.
883
884 * alpha/vms.h: Define NEED_ATEXIT here...
885 * alpha/xm-vms.h: ...not here.
886
887 * i386/cygwin.h: Don't define PARAMS.
888 * mips/mips.c: Don't prototype mktemp. Don't define
889 P_tmpdir. Use make_temp_file to create temporary files.
890 Don't be clever and delete temporary files early.
891 * config.gcc: Drop references to deleted files. Don't define
892 FULL_PROTOTYPES.
893 * gcc.texi: Don't mention USE_PROTOTYPES.
894
0e4970d7
RK
895Sat Feb 24 20:25:29 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
896
897 * config/i386/i386.c (ix86_set_move_mem_attrs): New function.
898 (ix86_set_move_mem_attrs_1): Likewise.
899 * config/i386/i386-protos.h (ix86_set_move_mem_attrs): New declaration.
900 * config/i386/i386.md (movstrsi): Call it.
901
a59b81be
ZW
9022001-02-24 Zack Weinberg <zackw@stanford.edu>
903
904 * config.gcc: Expunge references to alpha/t-pe, pa/t-openbsd,
905 x-linux-aout, i386/t-go32, t-osf, m68k/x-m68kv,
906 ns32k/xm-netbsd.h, rs6000/t-openbsd, rs6000/t-xnewas,
907 rs6000/x-aix41-gld. These are nonexistent, empty, or obsolete.
908
909 (i750a-*-*): Error here if hosting on i750a.
910 (alpha*-*-winnt*, ix86-*-winnt3*): Remove stanzas entirely.
911
912 * x-linux-aout, xm-freebsd.h, i386/beos-pe.h, ns32k/xm-netbsd.h:
913 Remove (empty modulo comments).
914
915 * 1750a/xm-1750a.h, alpha/config-nt.sed, alpha/win-nt.h,
916 alpha/xm-winnt.h, i386/config-nt.sed, i386/os2.h,
917 i386/t-winnt, i386/win-nt.h, i386/xm-freebsd.h, i386/xm-os2.h,
918 i386/xm-winnt.h, m68k/x-alloca-c, m88k/x-dguxbcs,
919 mips/x-netbsd, mips/x-nws3250v4, rs6000/t-xnewas,
920 rs6000/t-xrs6000, rs6000/xm-cygwin.h: Remove (obsolete)
921
922 * i386/crtdll.h, i386/cygwin.h, i386/mingw32.h:
923 Remove reference to winnt.h in comment.
924 * rs6000/t-newas, rs6000/t-rs6000: Override LIBGCC1_TEST to null.
925
c7b30677
FS
9262001-02-24 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
927
928 * loop.c (check_dbra_loop): A biv has uses besides counting if it is
929 used to set another biv.
930
f900ecd8
RK
931Sat Feb 24 06:45:21 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
932
bd015d37
RK
933 * tree.h (BLOCK_DEAD): New macro.
934 (struct tree_block): New flag, dead_flag.
935 * print-tree.c (print_node, case 'b'): Print missing fields.
936 * emit-rtl.c (remove_unnecessary_notes): Set BLOCK_DEAD.
937 * function.c (identify_blocks): Enable test for misplaced notes.
938 (all_blocks): Skip BLOCK_DEAD blocks.
939 * integrate.c (integrate_decl_tree): Likewise.
940
f900ecd8
RK
941 * errors.c (internal_error, trim_filename): New functions.
942 (fancy_abort): Call internal_error.
943 * errors.h (internal_error, trim_filename): New declarations.
944
0651fbc0
AO
9452001-02-24 Alexandre Oliva <aoliva@redhat.com>
946
947 * config/mn10300/mn10300.h (DBX_REGISTER_NUMBER): Reverted
948 2000-08-26's patch.
949 (EXTRA_CONSTRAINT): Formatting changes.
950
5ea1bc0e
KG
9512001-02-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
952
953 * rtl.c (rtl_check_failed_code2): Fix typo in last change.
954
1aed31b6
PB
9552001-02-23 Per Bothner <per@bothner.com>
956
957 * gcc.c (record_temp_file, pfatal_with_name, error): Make non-static,
958 so they can be called from java/jvspec.c.
959 * gcc.h (record_temp_file, pfatal_with_name, error): Declare.
960
4dd2ac2c
JH
961Sat Feb 24 03:32:50 CET 2001 Jan Hubicka <jh@suse.cz>
962
963 * i386.c (ix86_frame): New structure.
964 (ix86_compute_frame_size): Kill.
965 (ix86_compute_frame_layout): New.
966 (ix86_save_reg): New.
967 (ix86_can_use_return_insn_p): Use frame layout stuff.
968 (ix86_expand_prologue): Likewise.
969 (ix86_expand_epilogue): Likewise.
970 (ix86_initial_elimination_offset): Likewise.
971 (ix86_nsaved_regs): Use ix86_save_reg.
972 (ix86_emit_save_regs): Likewise.
973
a686dbf8
JH
974Sat Feb 24 03:30:38 CET 2001 Jan Hubicka <jh@suse.cz>
975
976 * flow.c (find_sub_basic_blocks): New function.
977 (split_block): Be ready for basic block introduced by CODE_LABEL.
978 (commit_one_edge_insertion): Call find_sub_basic_block.
979
980 * flow.c (make_edges): Add edge from entry for blocks starting with
981 label having ALTERNATE_NAME
982
016030fe
JH
983Sat Feb 24 03:19:42 CET 2001 Jan Hubicka <jh@suse.cz>
984
985 * function.c (epilogue_done): Be ready for first basic block not
986 containing PROLOGUE_END note.
987 (reposition_prologue_and_epilogue_notes): Avoid placing
988 PROLOGUE_END note between BASIC_BLOCK.
989
c9212f33
JH
990Sat Feb 24 03:17:09 CET 2001 Jan Hubicka <jh@suse.cz>
991
992 * loop.c (canonicalize_condition): Move to reversed_comparison_code.
993
4f0a3098
DD
9942001-02-21 DJ Delorie <dj@redhat.com>
995
996 * config/i960/i960.h (FRAME_POINTER_REQUIRED): Revert removal of
997 check for current_function_has_nonlocal_goto from 1999-11-12.
998
e82a84c4
RK
999Fri Feb 23 15:28:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1000
fce687f8
RK
1001 * diagnostic.c (trim_filename): No longer static.
1002 * toplev.h (trim_filename): Declare.
1003 * rtl.c (rtl_check_failed_bounds): Call internal_error.
1004 (rtl_check_failed_type1, rtl_check_failed_type2): Likewise.
1005 (rtl_check_failed_code1, rtl_check_failed_code2): Likewise.
1006 (rtvec_check_failed_bounds): Likewise.
1007 * tree.c (tree_check_failed, tree_class_check_failed): Likewise.
1008
3cc247a8
RK
1009 * convert.c (convert_to_integer): Don't do unsigned unless result or
1010 both inputs are unsigned.
1011
ac50176d
RK
1012 * fold-const.c (fold_convert): Don't call size_int_type_wide if
1013 input overflows.
1014
9b58f739
RK
1015 * c-decl.c (set_block): Set NAMES and BLOCKS from BLOCK.
1016
e82a84c4
RK
1017 * varasm.c (output_constant): Recompute CODE after lang-specific fn.
1018
d5d063d7
JO
10192001-02-23 Jeffrey Oldham <oldham@codesourcery.com>
1020
1021 * Makefile.in (resource.o): Add params.h dependence.
1022 * params.def (MAX_DELAY_SLOT_LIVE_SEARCH): New parameter.
1023 * params.h (MAX_DELAY_SLOT_LIVE_SEARCH): Likewise.
1024 * resource.c: Add dependence on params.h.
1025 (current_live_regs): Fix explanatory comment.
1026 (find_basic_block): Add new parameter to permit limiting search
1027 for a BARRIER.
1028 (mark_target_live_regs): Add new argument to find_basic_block call.
1029 (incr_ticks_for_insn): Likewise.
1030
3d7c9b7e
GDR
10312001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1032
1033 * diagnostic.c (output_to_stream): Rename to
1034 output_buffer_to_stream. Loses the stream parameter.
1035 (init_output_buffer): Set diagnosic_buffer's stream.
1036 (flush_diagnostic_buffer): Adjust.
1037 (default_print_error_function): Likewise.
1038 (finish_diagnostic): Likewise.
1039 (verbatim): Likewise.
1040
1041 * diagnostic.h (struct output_buffer): Add `stream' field.
1042 (output_buffer_attached_stream): New macro.
1043
fba2c0cd
JJ
10442001-02-23 Jakub Jelinek <jakub@redhat.com>
1045
1046 * fold-const.c (extract_muldiv) [case PLUS_EXPR]: If not MULT_EXPR,
1047 check if either operand is divisible by C.
1048 (multiple_of_p): Handle LSHIFT_EXPR with small constant shift.
1049 If type is signed, consider negative numbers as well.
1050
515edc9b
RH
10512001-02-22 Richard Henderson <rth@redhat.com>
1052
1053 * config/ia64/crtbegin.asm (.fini): Use pc-relative relocs to
1054 reach .text instead of gp-relative relocs.
1055 * config/ia64/crtend.asm (.init): Likewise.
1056
3844cd2e
AJ
10572001-02-22 Andreas Jaeger <aj@suse.de>
1058
1059 * extend.texi (C++ Attributes): Fix typo.
1060
3f67ac08
DM
10612001-02-21 David Mosberger <davidm@hpl.hp.com>
1062
1063 * config/ia64/ia64.c (ia64_epilogue_uses): For syscall_linkage
1064 functions, drop current_function_args_info.words test.
1065 (ia64_compute_frame_size): Mark syscall_linkage functions as
1066 using eight input registers.
1067
89647e8a
LR
10682001-02-21 Loren J. Rittle <ljrittle@acm.org>
1069 Bruce Korb <bkorb@gnu.org>
1070
1071 * fixinc/inclhack.def (freebsd_gcc3_breakage): new fix
1072 * fixinc/README: Document how to convert sed substitutions
1073 to format style c_fix-es.
1074 * fixinc/fixincl.x: regen
1075
e889f41a
JO
10762001-02-21 Jeffrey D. Oldham <oldham@codesourcery.com>
1077
1078 * gcc.c: Add comment explaining how to add a command-line option.
1079 Add title to specs language comment.
1080
7521b913
JO
10812001-02-21 Jeffrey Oldham <oldham@codesourcery.com>
1082
1083 * gcc.c (cc1_options): Add "-param".
1084 (DEFAULT_WORD_SWITCH_TAKES_ARG): Likewise.
1085 (option_map): Likewise.
1086 * toplev.c (display_help): Add entry for "--param".
1087 (independent_decode_option): Fix typographical error.
1088
82a127a9
CM
1089Wed Feb 21 18:57:28 CET 2001 Catherine Moore <clm@redhat.com>
1090 Bernd Schmidt <bernds@redhat.com>
1091 Jan Hubicka <jh@suse.cz>
1092
a59b81be 1093 * i386.c (function_arg_advance): Pass SSE arguments in registers.
82a127a9
CM
1094 (function_arg): Likewise.
1095
2b71bf37
JH
1096Wed Feb 21 18:12:41 CET 2001 Jan Hubicka <jh@suse.cz>
1097
1098 * i386.md (mmx_lshrdi3, mmx_ashldi3): Guard by unspec.
1099
eb57ffec
KH
11002001-02-21 Kazu Hirata <kazu@hxi.com>
1101
1102 * config/h8300/h8300.md (iorsi3): Do not output an extra newline
1103 character.
1104 (xorsi3): Likewise.
1105
ccfce8d2
JH
1106Wed Feb 21 17:35:24 CET 2001 Jan Hubicka <jh@suse.cz>
1107
1108 * flow.c (init_propagate_block_info): Canon address and use single_set
1109 for killing dead memory stores.
1110
0443f602
JO
11112001-02-21 Jeffrey Oldham <oldham@codesourcery.com>
1112
1113 * Makefile.in (reorg.o): Add params.h dependence.
1114 * params.def: Fix typographical error in comment.
1115 (MAX_DELAY_SLOT_INSN_SEARCH): New parameter.
1116 * params.h: Modify introductory comment.
1117 (MAX_DELAY_SLOT_INSN_SEARCH): New parameter.
1118 * reorg.c: Add dependence on params.h.
1119 (redundant_insn): Add parameterized throttle for search.
1120 (fill_simple_delay_slots): Add a comment explaining a variable.
1121 Move conditional out of loop, simplifying code.
1122 (fill_eager_delay_slots): Fix typographical error in comment.
1123
7e6d8ba1
AH
11242001-02-20 Aldy Hernandez <aldyh@redhat.com>
1125
a59b81be 1126 * tm.texi (REVERSE_CONDEXEC_PREDICATES_P): New macro documentation.
7e6d8ba1 1127
a59b81be
ZW
1128 * flow.c (ior_reg_cond): Use REVERSE_CONDEXEC_PREDICATES_P macro.
1129 (REVERSE_CONDEXEC_PREDICATES_P): Define macro.
7e6d8ba1 1130
5daf7c0a
JM
11312001-02-21 Jason Merrill <jason@redhat.com>
1132
1133 * tree.h (DECL_UNINLINABLE): Move from C++ frontend.
1134 (struct tree_decl): Add uninlinable bitfield.
1135 * c-decl.c (duplicate_decls): Set it.
1136 * integrate.c (function_cannot_inline_p): Check it.
1137
3844cd2e 1138 * dwarf2out.c (add_name_and_src_coords_attributes): Don't add
5daf7c0a
JM
1139 DW_AT_MIPS_linkage_name to abstract methods.
1140 (dwarf2out_abstract_function): Emit class context before calling
1141 set_decl_abstract_flags. Don't clear DECL_ABSTRACT.
1142 (gen_subprogram_die): Remove obsolete code.
1143 (gen_member_die): Don't include clones in the member list.
1144 (gen_decl_die): Emit abstract info for clone origin.
1145 * dwarfout.c (output_type): Don't include clones in the member list.
1146 * dbxout.c (dbxout_type_methods): Ignore abstract methods.
1147 * toplev.c (note_deferral_of_defined_inline_function): Don't clear
1148 DECL_ABSTRACT on a function that already has it set.
1149
1150 * dwarf2out.c (gen_formal_types_die): Also accept a FUNCTION_DECL.
1151 (get_subprogram_die): Pass it in.
1152
3c88f366
RE
11532001-02-21 Richard Earnshaw <rearnsha@arm.com>
1154
1155 * flow.c (mark_set_1): Make not_dead unsigned long. For
3844cd2e 1156 non-pseudos, use it as a bitmask of the hard regs that
3c88f366
RE
1157 don't die.
1158
373e2177
NB
11592001-02-21 Neil Booth <neil@daikokuya.demon.co.uk>
1160
a59b81be
ZW
1161 * cppfiles.c: Update comments.
1162 (_cpp_read_file): Don't check for NULL filenames any more.
1163 * cppinit.c (cpp_start_read): Don't do canonicalization of
1164 in_fname and out_fname. Use the passed file name exclusively.
1165 (_cpp_handle_options): Don't treat "-" as a command line option,
1166 but as a normal filename.
1167 (_cpp_post_options): Canonicalize in_fname and out_fname.
1168 * cppmain.c (printer_init): Don't check out_fname for NULL.
1169 * c-lex.c (orig_filename): Rename cpp_filename for clarity.
1170 (init_c_lex): Update, and use "" to represent stdin to CPP.
1171 (yyparse): Update.
373e2177 1172
75beacf8 11732001-02-20 Will Cohen <wcohen@redhat.com>
3844cd2e 1174
75beacf8
WC
1175 * config/pa/quadlib.c (_U_Qfcnvfxt_quad_to_usgl): New function.
1176 * config/pa/long_double.h (FIXUNS_TRUNCTFSI2_LIBCALL): Added.
1177 (INIT_TARGET_OPTABS): Use FIXUNS_TRUNCTFSI2_LIBCALL for
1178 fixunstfsi_libfunc.
1179
33011c35
SS
11802001-02-20 Stan Shebs <shebs@apple.com>
1181
1182 * config/rs6000/rs6000.c (output_cbranch): Output branches
1183 on separate lines instead of using ';' to separate.
1184
c740cee2
NB
11852001-02-20 Neil Booth <neil@daikokuya.demon.co.uk>
1186
a59b81be 1187 * cppinit.c (set_lang): Move builtin handling to...
c740cee2
NB
1188 (init_builtins): ...here.
1189 (_cpp_create_reader): Move call to set_lang.
1190
c9407e4c
MM
11912001-02-20 Mark Mitchell <mark@codesourcery.com>
1192
1193 * stmt.c (expand_return): If an attempt is made to return the
1194 error_mar_node, treat the return like a return without a value.
1195
cd5a58e5
ZW
11962001-02-19 Zack Weinberg <zackw@stanford.edu>
1197
1198 * sibcall.c (skip_copy_to_return_value): Call
1199 identify_call_return_value here, and return orig_insn if it
1200 returns zero. Hardret and softret arguments now unnecessary.
1201 (call_ends_block_p): Don't call identify_call_return_value here.
1202
1203 * ggc-common.c (ggc_mark_rtx_children): No need to mark 'S' or
1204 's' slots in RTXen.
1205 * ggc-page.c, ggc-simple.c (ggc_mark_if_gcable): Delete function.
1206 * ggc.h (ggc_mark_if_gcable): Delete prototype.
1207
f8eb41cc
JL
1208Mon Feb 19 20:30:16 2001 Jeffrey A Law (law@cygnus.com)
1209
1210 * pa.c (move_operand): Accept code to load the address of a
1211 symbol out of the DLT as a valid move operand.
1212 (print_operand, case 'A'): New to handle generating a DLT
1213 reference for a LO_SUM expression.
1214 * pa.h (EXTRA_CONSTRAINT): Handle 'A' for DLT LO_SUM references.
1215 * pa.md (movsi, movdi patterns): Allow DLT LO_SUM references.
1216
75393169
JM
12172001-02-19 Joseph S. Myers <jsm28@cam.ac.uk>
1218
1219 * README, cpp.texi, gcc.texi, version.c: Update version number to
1220 3.1.
1221 * cpp.1, gcov.1, gcc.1: Regenerate.
1222
51d0f328
NB
12232001-02-19 Neil Booth <neil@daikokuya.demon.co.uk>
1224
a59b81be
ZW
1225 * cppfiles.c (stack_include_file): Generate dependencies
1226 here, and manage include_count here too.
1227 (PRINT_THIS_DEP): Delete.
1228 (_cpp_execute_include): Do not generate dependencies here,
1229 apart from the case of a missing header. Do not manage
1230 include_count.
1231 (_cpp_read_file): Leave dependency generation to
1232 stack_include_file.
51d0f328 1233
c81460e4
JL
1234Mon Feb 19 10:17:47 2001 Jeffrey A Law (law@cygnus.com)
1235
1236 * config.gcc (hppa*64*-*-hpux11*): Add MASK_GAS to
1237 target_cpu_default. Remove dead assignment to
1238 target_cpu_default.
1239
6df26b8f
JH
1240Mon Feb 19 16:47:39 CET 2001 Jan Hubicka <jh@suse.cz>
1241
1242 * regclass.c (contains_reg_of_mode): Make global.
1243 (init_reg_sets): Remove contains_reg_of_mode; take into account
1244 CLASS_MAX_NREGS when looking for the proper mode.
1245 (dump_regclass): Dump only classes considered for the pseudo.
1246 (regclass): Use contains_reg_of_mode.
1247
4a88a060
JH
1248Mon Feb 19 16:45:42 CET 2001 Jan Hubicka <jh@suse.cz>
1249
1250 * gcc.c (do_spec_1): 'n' for printing notices.
1251 * i386.h (CC1_CPU_SPEC): Notice deprecated options as deprecated.
1252
0eac0e81
JH
1253Mon Feb 19 15:51:30 CET 2001 Jan Hubicka <jh@suse.cz>
1254
1255 * reg-stack.c (next_flags_user): Use current_block->end
1256 (swap_rtx_condition): Look for next user if flags don't die;
1257 give up on CALL_INSNs; use current_block->end.
1258
e5c617ff
RK
1259Mon Feb 19 08:27:21 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1260
1261 * sibcall.c (call_ends_block_p): New function.
1262 (optimize_sibling_and_tail_recursive_call): Use it.
1263
55de49e3
KH
12642001-02-18 Kazu Hirata <kazu@hxi.com>
1265
63a262f1
KH
1266 * config/h8300/h8300.md: Update copyright.
1267 (andsi3): Do not output an extra newline character.
55de49e3 1268
48aba75b
RK
1269Sun Feb 18 15:45:17 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1270
1271 * toplev.c (note_deferral_of_defined_inlined_function): Argument
1272 FNDECL may be unused.
1273
1274 * toplev.c (rest_of_compilation): Don't have CSE skip blocks or
1275 follow jumps after first run.
1276 If -fexpensive-optimizations rerun CSE after GCSE and iterate until
1277 it doesn't change any jumps.
1278
3335f1d9
JL
1279Sun Feb 18 17:05:50 2001 Jeffrey A Law (law@cygnus.com)
1280
1281 * Makefile.in (rtlanal.o): Depend on hard-reg-set.h.
1282 ($HOST_PREFIX_1)rtlanal.o: Remove rules for building
1283 (mostlyclean): Corresponding changes.
1284 * rtlanal.c (hard-reg-set.h): Include.
1285 (rtx_unstable_p): Do not treat the argument pointer specially
1286 if it is not a fixed register.
1287 (rtx_varies_p, rtx_addr_can_trap_p): Similarly.
1288
651a788e
RK
1289Sun Feb 18 15:45:17 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1290
021921d0
RK
1291 * sibcall.c (optimize_sibling_and_tail_recursive_call): Compare
1292 against last real insn in basic block.
1293 Rework to avoid gotos.
1294
fb0c0a12
RK
1295 * Makefile.in (gcse.o): Now includes ggc.h.
1296 * gcse.c: Include ggc.h.
1297 (want_to_gcse_p): Verify expression can be in SET as valid insn.
1298 (try_replace_reg): Remove warning of uninitialize variable.
1299 (process_insert_insn): Call invalid_insn_p to validate insn.
1300 * recog.c (insn_invalid_p): Now global.
1301 See if can make valid by adding CLOBBERs of SCRATCH only and do if so.
1302 * recog.h (insn_invalid_p): New declaration.
1303
d659de97
RK
1304 * jump.c (jump_optimize_1): Only define reversed_code #ifdef HAVE_trap.
1305
3ec6f1a9 1306 * config/sparc/sparc.c (eligible_for_epilogue_delay): Don't put
20636516 1307 assignments from FP constants since 'Y' output code can't handle it.
3ec6f1a9
RK
1308 (eligible_for_sibcall_delay): Likewise.
1309
63c499dc
RK
1310 * flow.c (print_rtl_and_abort_fcn): Renamed from print_rtl_and_abort.
1311 Call fancy_abort directly, passing args.
1312 (print_rtl_and_abort): Now a macro, like fancy_abort.
1313
651a788e
RK
1314 * final.c (output_operand_lossage): Use internal_error, not error.
1315
71641c15
RH
13162001-02-18 Shane Nay <shane@agendacomputing.com>
1317
3844cd2e 1318 * mips.c (mips_expand_prologue) Add REG_MAYBE_DEAD to
71641c15
RH
1319 structure shift insns.
1320
13212001-02-18 Mark Mitchell <mark@codesourcery.com>
8fa33dfa
MM
1322
1323 * invoke.texi (-fsquangle): Remove documentation.
1324 (-fname-mangling-version): Likewise.
1325
e1078cfc
LB
13262001-02-18 Lars Brinkhoff <lars@nocrew.org>
1327
1328 * optabs.c (expand_abs): Remove reference to
1329 HAVE_contitional_arithmetic.
1330 * combine.c (simplify_set): Likewise.
1331
3bd24117
RH
13322001-02-18 Richard Henderson <rth@redhat.com>
1333
1334 * ifcvt.c (dead_or_predicable): Don't move code if eh regions
1335 would be disrupted.
1336
5cada064
RH
13372001-02-18 Richard Henderson <rth@redhat.com>
1338
31189758
RH
1339 * config/ns32k/ns32k.h (ADJSP): Upcase arguments.
1340
e491fe9a
RH
1341 * config/alpha/alpha.md (movsi_fix): Fix typo in pattern name.
1342
5cada064
RH
1343 * reload1.c (reload_cse_simplify_set): Fix typo.
1344
751aa7cc
RK
1345Sun Feb 18 09:30:09 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1346
e28a09a4
RK
1347 * diagnostic.c (_fatal_insn): Decrement errorcount.
1348
d0a5eb32
RK
1349 * invoke.texi (-I): Add note avoiding use for system header files.
1350
751aa7cc
RK
1351 * rtl.h (add_clobbers): Remove duplicate declaration.
1352 * recog.h (added_clobbers_hard_reg_p): New declaration.
1353 * genemit.c (struct clobber_pat): New field has_hard_reg.
1354 (gen_insn): Record if added clobbers clobber hard reg.
1355 (gen_split): Avoid unused warning if number of operands is 0.
1356 (output_added_clobbers_hard_reg_p): New function.
1357 (main): Call it.
1358
4096479e
AM
13592001-02-18 Alan Modra <alan@linuxcare.com.au>
1360
3844cd2e
AJ
1361 * pa.c (hppa_expand_prologue): Simplify code storing return
1362 pointer. For large (>=8k) frames with a post_store, adjust stack
1363 pointer by 8k-64 first rather than by 64. When testing with
1364 VAL_14_BITS_P, always use the actual value rather than the value
1365 negated. Add blockage to prevent scheduling of spills before
1366 stack frame has been created.
1367 (hppa_expand_epilogue): Simplify code loading return pointer.
1368 Allow a slightly larger range for merge_sp_adjust_with_load case.
1369 When testing with VAL_14_BITS_P, always use the actual value.
31d68947 1370
4096479e
AM
1371 * pa.c (pa_adjust_insn_length): Check that block move
1372 pattern is a set before looking at operands.
1373
9c2c54dc
MM
13742001-02-17 Mark Mitchell <mark@codesourcery.com>
1375
68626d4f
MM
1376 * fold-const.c (fold_binary_op_with_conditional_arg): New
1377 function, split out from ...
1378 (fold): ... here.
1379 * tree.def (COND_EXPR): Document the use of VOID_TYPE for
1380 conditional arms that throw exceptions.
1381
9c2c54dc
MM
1382 * print-tree.c (print_node): Do not use BLOCK_CHAIN when we're not
1383 looking at a BLOCK.
1384
7afe8c41
KG
13852001-02-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1386
1387 * aclocal.m4 (gcc_AC_CHECK_DECL): Before attempting the test,
1388 define HAVE_DECL_* to 1 to mask potential backup declarations.
1389 * configure: Regenerated.
1390
3747f3dc
MM
13912001-02-17 Mark Mitchell <mark@codesourcery.com>
1392
1393 * invoke.texi (-Woverloaded-virtual): Clarify documentation.
1394
78adc5a0
RH
13952001-02-17 Richard Henderson <rth@redhat.com>
1396
1397 * reload1.c (reload_cse_simplify_set): Respect LOAD_EXTEND_OP
1398 when replacing a memory load with a register.
1399
e2373f95
RK
1400Sat Feb 17 14:48:30 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1401 Jan Hubicka <jh@suse.cz>
1402
1403 * recog.c (validate_replace_src_1): New.
1404 (validate_replace_src_data): Likewise.
1405 (validate_replace_src): Use note_uses.
1406 * rtl.h (note_uses): Declare.
1407 * rtlanal.c (note_uses): New.
1408
b00b2cc2
JH
1409Sat Feb 17 10:52:34 CET 2001 Jan Hubicka <jh@suse.cz>
1410
1411 * reg-stack.c (stack_def): Make field reg unsigned.
1412 (remove_regno_note): Unsignetize parameter.
1413
f5bbdc0c
JS
14142001-02-16 Jes Sorensen <jes@linuxcare.com>
1415
1416 * ia64.c (errata_emit_nops): Add VOIDmode as second argument to
1417 shladd_operand() call.
1418
6ee71e49 14192001-02-16 Bruce Korb <bkorb@gnu.org>
a59b81be 1420 Rodney Brown <RodneyBrown@mynd.com>
6ee71e49
BK
1421
1422 * fixinc/mkfixinc.sh: Use C fixincludes for UnixWare 7.
1423 * fixinc/inclhack.def: Add fixinc.svr4 patterns with matching
1424 machine restrictions
1425 * fixinc/fixincl.x: regen
1426
f85cc4cb
RK
1427Fri Feb 16 12:41:30 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1428
172890a2
RK
1429 * gcse.c (hash_scan_set): If cprop, see if REG_EQUAL or REG_EQUIV.
1430 Don't CSE a nop.
1431 (hash_scan_insn): Clean up calls to hash_scan_set.
1432 (compute_kill_rd): REGNO now unsigned.
1433 (try_replace_reg): Rework to use simplify_replace_rtx.
1434 (cprop_jump, cprop_cc0_jump): Likewise.
1435 (cprop_insn): Call find_reg_equal_equiv_note.
1436 Reflect changes to cprop_jump and cprop_cc0_jump.
1437
d6447708 1438 * recog.c (validate_replace_src): Replace in operands of
b71e8e84
RK
1439 ZERO_EXTRACT in SET_DEST.
1440
f85cc4cb
RK
1441 * cse.c (new_label_ref): New variable.
1442 (insert): Set it instead of recorded_label_ref.
1443 (cse_basic_block): Set recorded_label_ref if new_label_ref use, has
1444 CODE_LABEL for this function, and not already in REG_LABEL note.
1445
f5df2e8c
JO
14462001-02-16 Jeffrey Oldham <oldham@codesourcery.com>
1447
1448 * resource.c (mark_referenced_resources): Fix typo in introductory
1449 comment.
1450 * config/mips/abi64.h (SUBTARGET_TARGET_OPTIONS): Fix typo in
1451 string constant.
1452
a901fa64
JM
14532001-02-16 Jason Merrill <jason@redhat.com>
1454
1edf43d6
JM
1455 * dwarf2out.c (add_bound_info): Don't crash if SAVE_EXPR_RTL is
1456 NULL.
3844cd2e 1457 (gen_subprogram_die): Don't abort on seeing a second definition if
1edf43d6
JM
1458 the previous one was abstract. Don't replace an abstract instance
1459 in the lookup table.
1460
1461 * dwarf2out.c (dwarf2out_abstract_function): Rename from
1462 gen_abstract_function.
1463 * dwarf2out.h: Declare it.
1464 * toplev.c (note_outlining_of_inline_function): New fn.
1465 * toplev.h: Declare it.
1466 * integrate.c (output_inline_function): Call it.
1467 * c-decl.c (duplicate_decls): Call it when redefining an extern
1468 inline. Don't inline the new defn.
1469
a901fa64
JM
1470 * tree.h (BLOCK_CHAIN): Use BLOCK_CHECK.
1471
cc06d68c
GP
14722001-02-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1473
1474 * .gdbinit: Rename to gdbinit.in.
3844cd2e 1475 * gdbinit.in: New file,
cc06d68c
GP
1476 * configure.in: Generate .gdbinit from gdbinit.in.
1477 * configure: Regenerated.
1478 * Makefile.in (distclean): Always remove .gdbinit.
1479
4f6bcad0
JJ
14802001-02-16 Jakub Jelinek <jakub@redhat.com>
1481
1482 * objc/objc-act.c (start_class): Register implemented_classes with
1483 GC.
1484
e4a345f8
NB
14852001-02-16 Neil Booth <neil@daikokuya.demon.co.uk>
1486
a59b81be
ZW
1487 * cppfiles.c (_cpp_make_system_header): Generate a file
1488 change callback.
e4a345f8 1489
fd48c9b5 14902001-02-15 Jim Meyering <meyering@lucent.com>
e658449e 1491
fd48c9b5
DD
1492 * Makefile.in (install-common): Don't depend on installdirs here.
1493 Instead, make each of the lang.install-common targets (e.g.,
1494 c++.install-common in cp/Make-lang.in) depend on it.
e658449e
JM
1495 (install-driver): Depend on installdirs.
1496
d64236b4
RK
1497Thu Feb 15 21:30:26 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1498
a8b94b40
RK
1499 * flow.c (tidy_fallthru_edge): Never end block on line number NOTE.
1500
d64236b4
RK
1501 * function.c (assign_parms): Set RTX_UNCHANGING_P in pseudo when we
1502 do in memory.
1503
3af64fd6
MM
15042001-02-15 Mark Mitchell <mark@codesourcery.com>
1505
1506 * invoke.texi (--param): Document.
1507
ba21a8a8
AO
1508Thu Feb 15 15:16:38 2001 Alexandre Oliva <aoliva@redhat.com>
1509
1510 * config/sh/sh.h (BOOL_TYPE_SIZE): Don't define.
1511
ff78d082
JH
1512Thu Feb 15 10:52:31 CET 2001 Jan Hubicka <jh@suse.cz>
1513
1514 * i386.md (extendsfdf2_2): Fix constraints.
1515
2b66da3c
JH
1516Thu Feb 15 09:46:21 CET 2001 Jan Hubicka <jh@suse.cz>
1517
1518 * i386.md (fop_df_3 splitter): Fix operand number.
1519
266da7a2
JH
1520Wed Feb 14 12:37:37 CET 2001 Jan Hubicka <jh@suse.cz>
1521
1522 * invoke.texi (-mreg-alloc): Nuke.
1523 * i386.c (ix86_reg_alloc_order, regs_allocated,
1524 order_regs_for_local_alloc): Nuke.
1525 (override_options): Kill reg_alloc code.
1526 * i386.h (TARGET_OPTIONS): Kill reg-alloc.
1527 (REG_ALLOC_ORDER): SSE goes before I387.
1528 (ORDER_REGS_FOR_LOCAL_ALLOC): Kill.
1529 (ix86_reg_alloc_order): Likewise.
1530 * i386-protos.h (ix86_reg_alloc_order): Kill.
1531
121bc96b
RH
15322001-02-14 Richard Henderson <rth@redhat.com>
1533
1534 * toplev.c (f_options): Clarify -fschedule-insns2 documentation.
1535
04b1a223
JH
1536Wed Feb 14 11:59:58 CET 2001 Jan Hubicka <jh@suse.cz>
1537
1538 * i386.h (RETURN_IN_MEMORY): Fix formating; reject TFmodes
1539
fa79946e
JH
1540Wed Feb 14 11:12:38 CET 2001 Jan Hubicka <jh@suse.cz>
1541
1542 * i386-protos.h (ix86_memory_move_cost): Move offline.
1543 * i386.c (ix86_register_move_cost): Compute properly cost of
1544 SSE, MMX and i387 instructions.
1545 (*_cost): Add costs of SSE/MMX moves.
1546 (ix86_memory_move_cost): Move offline from ....; Likewise.
1547 * i386.h (MEMORY_MOVE_COST): .... here;
1548 (struct processor costs): Add new fields to represent costs
1549 of SSE/MMX moves.
1550
6836e024
JH
1551Wed Feb 14 10:08:26 CET 2001 Jan Hubicka <jh@suse.cz>
1552
1553 * regclass.c (init_reg_sets_1): Reinstall the optimization of
1554 move_cost together with Matt Kraai's fix.
1555
d3fb92b8
JO
15562001-02-14 Jeffrey Oldham <oldham@codesourcery.com>
1557
1558 * Makefile.in (OBJS): Add params.o.
1559
8e0b124e
RH
15602001-02-14 Richard Henderson <rth@redhat.com>
1561 DJ Delorie <dj@redhat.com>
1562
1563 * jump.c (jump_optimize_1): When we delete a conditional jump
1564 preceeding a non-conditional jump to effectively the same place,
1565 make sure that the combined jump skips any clobber insns between
1566 the two labels.
1567
55bd9f24
JO
15682001-02-14 Jeffrey Oldham <oldham@codesourcery.com>
1569
1570 * gcc.c (do_spec_1): Fix off-by-one error for '%M' case.
1571
c6d9a88c
MM
15722001-02-14 Mark Mitchell <mark@codesourcery.com>
1573
1574 * Makefile.in (toplev.o): Depend on params.h.
1575 (intergate.o): Likewise.
1576 (params.o): New target.
1577 * flags.h (inline_max_insns): Remove.
1578 * integrate.c: Include params.h.
1579 Use MAX_INLINE_INSNS instead of inline_max_insns.
1580 * params.c: New file.
1581 * params.h: Likewise.
1582 * params.def: Likewise.
1583 * toplev.c: Include params.h.
1584 (lang_independent_params): New variable.
3844cd2e 1585 (decode_f_option): Use the param machinery instead of setting
c6d9a88c
MM
1586 max_inline_insns.
1587 (independent_decode_option): Handle "--param name=value".
1588 (main): Register language-independent parameters.
1589
c6e95f34
JH
1590Wed Feb 14 11:13:45 CET 2001 Jan Hubicka <jh@suse.cz>
1591
1592 * i386.md (pushsf, pushdf_nointeger): Fix constraint.
1593
c7c0ae3d
RH
15942001-02-14 Richard Henderson <rth@redhat.com>
1595
1596 * regclass.c (init_reg_sets_1): Revert last two changes.
1597
fe375cf1
JJ
15982001-02-14 Jakub Jelinek <jakub@redhat.com>
1599
1600 * stor-layout.c (is_pending_size, put_pending_size): New functions.
1601 (variable_size): Call put_pending_size.
1602 * tree.h (is_pending_size, put_pending_size): Add prototypes.
1603 * fold-const.c (extract_muldiv): If SAVE_EXPR is on the pending
1604 sizes list, put newly created SAVE_EXPR there as well.
1605
16062001-02-14 Jakub Jelinek <jakub@redhat.com>
1607
1608 * config/ia64/ia64.c (last_group): Only 2 entries are needed.
1609 (errata_find_address_regs): load_group has only 2 entries.
1610 (errata_emit_nops): Likewise. shladd is not problematic.
1611 Clear last_group if nop was emitted.
1612 (fixup_errata): load_group has only 2 entries.
1613 Optimize.
1614
7065e130
NB
16152001-02-14 Neil Booth <neil@daikokuya.demon.co.uk>
1616
fe375cf1
JJ
1617 * c-lex.c (lex_number): Only warn traditionally for U suffix
1618 outside system macros.
1619 * cppexp.c (parse_number): Similarly.
1620 * cpplib.h (NODE_SYSHDR, cpp_sys_objmacro_p): New.
1621 * cppmacro.c (struct cpp_macro): New member node.
1622 (parse_args): Only warn about missing rest args if not
1623 a system macro.
1624 (funlike_invocation_p): Similarly for uninvoked funlike macros.
1625 (cpp_sys_objmacro_p): New.
1626 (_cpp_create_definition): Store the node with the macro defn.
1627 Remember if the macro is defined in a system header.
7065e130 1628
cbc59f01
DD
16292001-02-13 DJ Delorie <dj@redhat.com>
1630
1631 * configure.in (check_languages): determine languages to check
1632 * Makefile.in (check-c++): alias for check-g++
1633 (check-f77): alias for check-g77
1634 (CHECK_TARGETS): depend on configured languages
1635
ca9a9b12
JH
1636Wed Feb 14 01:13:59 CET 2001 Jan Hubicka <jh@suse.cz>
1637
1638 * i386.md (fixsfsi2, fixdfdi2): Fix previous patch again.
1639 (sqrtsf2): Use TARGET_SSE instead of TARGET_SSE2)
1640 (sqrtsf2 patterns): Use 'x' instead of 'Y'.
1641 (sqrtextendsfdf2): Disable for SSE2.
1642
1643Wed Feb 14 00:19:28 CET 2001 Jan Hubicka <jh@suse.cz>
1644
1645 * i386.md (fixsfsi2, fixdfdi2): Fix previous patch again.
1646 (sqrtsf2): Use TARGET_SSE instead of TARGET_SSE2)
1647 (sqrtsf2 patterns): Use 'x' instead of 'Y'.
1648 (sqrtextendsfdf2): Disable for SSE2.
1649
7093c9ea
JH
1650Wed Feb 14 00:11:20 CET 2001 Jan Hubicka <jh@suse.cz>
1651
1652 * i386.md (movsfcc_1): Support integer cmove instruction.
1653 (movdfcc_1): Likewise; new splitter.
1654
0644b628
JH
1655Tue Feb 13 23:19:27 CET 2001 Jan Hubicka <jh@suse.cz>
1656
1657 * i386.c (output_fp_compare): Support SSE.
1658 (prepare_fp_compare_args): SSE comparisons always support memory.
1659 * i386.h (TARGET_CMOVE): SSE imply cmove.
1660 * i386.md (cmp?f2): Enable for SSE too.
1661 (cmpfp_i*): Support SSE.
1662 (cmpfp_i_sse): New.
1663 (cmpfp_i_sse_only): New.
1664 (s*, b* fp expanters): Enable for SSE too.
1665 (fp_jcc_1_sse, fp_jcc_1_sse_only, fp_jcc_2_sse, fp_jcc_2_sse_only):
1666 New patterns.
1667
1464632b
JH
1668Tue Feb 13 23:05:42 CET 2001 Jan Hubicka <jh@suse.cz>
1669
a901fa64 1670 * regclass.c (init_reg_sets_1): Silence warning.
1464632b 1671
a8083431
JH
1672Tue Feb 13 22:03:07 CET 2001 Jan Hubicka <jh@suse.cz>
1673
1674 * i386.md (sqrt?f2): Change to expander.
1675 (sqrt?f2_1, sqrt?f2_sse_only, sqrt?f2_i387): New.
1676
d9c695ff
RK
1677Tue Feb 13 15:42:05 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1678
1679 * rtlanal.c (find_reg_equal_equiv_note): New function.
1680 * simplify-rtx.c (simplify_gen_unary, simplify_gen_ternary): New fns.
1681 (simplify_gen_relational, simplify_replace_rtx): Likewise.
1682 * rtl.h: Add declarations for above functions.
1683
848e0190
JH
1684Tue Feb 13 21:09:11 CET 2001 Jan Hubicka <jh@suse.cz>
1685
1686 * cse.c (cse_main): Converts ifdefs on PIC_OFFSET_TABLE_REGNUM to
1687 conditionals.
1688 * defaults.h (PIC_OFFSET_TABLE_REGNUM): Default to INVALID_REGNUM.
1689 * emit-rtl.c (init_emit_once): Convert ifdefs to conditionals.
1690 * flow.c (mark_regs_live_at_end): Likewise.
1691 (calculate_global_regs_live): Likewise.
1692 * gcse.c (compute_hash_table): Likewise.
1693 (compute_kill_rd): Likewise.
1694 * resource.c (mark_target_live_regs): Likewise.
1695 * rtl.h (INVALID_REGNUM): New macro.
1696
b1675dbd
JH
1697Tue Feb 13 20:59:22 CET 2001 Jan Hubicka <jh@suse.cz>
1698
1699 * i386.md (fixsfsi2, fixdfdi2): Fix previous patch.
1700
1698bba1
JH
1701Tue Feb 13 16:32:20 CET 2001 Jan Hubicka <jh@suse.cz>
1702
1703 * i386.md (fixsfsi2, fixdfdi2): Force operand to register
1704 for SSE.
1705
1deaa899
JH
1706Tue Feb 13 14:53:16 CET 2001 Jan Hubicka <jh@suse.cz>
1707
1708 * i386.md (add?f3, sub?f3, mul?f3, dif?f3): Enable for TARGET_SSE(2)
1709 too.
1710 (fop_sf_comm, fop_df_comm, fop_sf_1, fop_df_1): Support SSE.
1711 (fop_sf_comm_sse, fop_df_comm_sse): New patterns.
1712 (fop_sf_1_sse, fop_df_1_sse): New patterns
1713 (fop_*): Disable float_extend and float patterns for SSE compilation.
1714 * i386.c (output_387_binary_op): Support SSE.
1715
42a0aa6f
JH
1716Tue Feb 13 14:16:34 CET 2001 Jan Hubicka <jh@suse.cz>
1717
1718 * i386.md (dummy_extendsfdf2): Support SSE2
1719 (extendsfdf2): Enable if 80387 or SSE2.
1720 (extendsfdf2_1): Support SSE2. Disable if SSE2 is avialble
1721 and no MIX_I387_SSE2
1722 (extendsfdf2_1_sse_only): New pattern.
1723 (truncdfsf2): Enable if SSE2 or 80387; Always use SSE only version
1724 of SSE.
1725 (truncdfsf2_1): Support SSE.
1726 (truncdfsf2_2): Support SSE.
1727 (truncdfsf2_2_1_sse): New pattern.
1728 (fixtruncsfsi2): Always use SSE if available.
1729 (fix_truncsfsi_sse): New pattern.
1730 (fix_truncdfsi_sse): New pattern.
1731 (floatsis?f2): Support SSE.
1732 (floatsidf2_i387): New pattern.
1733 (floatsidf2_sse): Likewise.
1734
8a7199ad
RK
1735Tue Feb 13 07:52:04 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1736
1ffc5c6e
RK
1737 * configure.in: Use "have_gnat" variable, not "gnat".
1738 * configure: Regenerated.
1739
8a7199ad
RK
1740 * config/sparc/sparc.c (function_value): Treat all non-record
1741 aggregate types like used to treat UNION_TYPE.
1742
446988df
JH
1743Tue Feb 13 13:31:33 CET 2001 Jan Hubicka <jh@suse.cz>
1744
1745 * i386.c (print_reg): Use ANY_FP_REG instead of FP_REG
1746 * i386.h (MASK_128BIT_LONG_DOUBLE): Renumber
1747 (MASK_SSE2): New.
1748 (MASK_MIX_SSE_I387): New.
1749 (TARGET_SSE): SSE2 imply SSE.
1750 (TARGET_SSE2, TARGET_MIX_SSE_I387): New.
1751 (TARGET_SWITCHES): Add "sse2", "mix-sse-i387".
1752 (enum reg_class): Add new classes.
1753 (REG_CLASS_NAMES): Likewise.
1754 (REG_CLASS_CONTENTS): Likewise.
1755 (ANY_FP_REG_P, ANY_FP_REGNO_P, SSE_REG_P, SSE_FLOAT_MODE): New macros.
1756 (REG_CLASS_FROM_LETTER): 'x' and 'y' is SSE_REGS only when SSE is
1757 supported. Add 'Y' to be SSE_REGS when SSE2 is supported.
1758 (CLASS_MAX_NREGS): Use new macros.
1759 (REGISTER_MOVE_COST): Rewrite using SECONDARY_MEMORY_MAYBE_NEEDED.
1760 * i386.md (pushsf, movsf): Support SSE.
1761 (pushdf_nointeger, pushdf_integer, pushdf): Support SSE, update
1762 splitters to use ANY_FP_REGNO_P.
1763 (movdf_nointeger, movdf_integer): Likewise.
1764
42a6ff51
AO
17652001-02-13 Alexandre Oliva <aoliva@redhat.com>
1766
1767 * combine.c (UWIDE_SHIFT_LEFT_BY_BITS_PER_WORD): New macro.
1768 (try_combine): Use it.
1769
f84aa48a
JH
1770Tue Feb 13 11:37:06 CET 2001 Jan Hubicka <jh@suse.cz>
1771
1772 * i386.h (SSE_CLASS_P, MMX_CLASS_P, MAYBE_FLOAT_CLASS_P,
1773 MAYBE_SSE_CLASS_P, MAYBE_MMX_CLASS_P): New macros.
1774 (PREFERRED_RELOAD_CLASS, SECONDARY_MEMORY_NEEDED): Move offline.
1775 (REGISTER_MOVE_COST): Likewise.
1776 * i386-protos.h (ix86_secondary_memory_needed,
1777 ix86_preferred_reload_class, ix86_register_move_cost): Declare.
1778 * i386.c (ix86_secondary_memory_needed,
1779 ix86_preferred_reload_class, ix86_register_move_cost): New function.
1780
a946dd00
JH
1781Die Feb 13 11:04:25 CET 2001 Jan Hubicka <jh@suse.cz>
1782
1783 * i386.h (VALID_FP_MODE_P, VALID_INT_MODE_P): New.
1784 (HARD_REGNO_MODE_OK): Move offline to ....
1785 * i386.c (ix86_hard_regno_mode_ok) ... here;
1786 refuse all incorrect modes.
1787 * i386-protos.h (ix86_hard_regno_mode_ok): Declare.
1788
1b9ea8eb
RH
17892001-02-13 Richard Henderson <rth@redhat.com>
1790
1791 * sparc.md (cmp_cc_arith_op_set): Don't use match_dup on the
1792 entire operator; replicate that and match_dup the operands.
1793 (cmp_ccx_arith_op_set): Likewise.
1794 (cmp_cc_arith_op_not_set): Likewise.
1795 (cmp_ccx_arith_op_not_set): Likewise.
1796
5b0d91c3
AO
17972001-02-13 Alexandre Oliva <aoliva@redhat.com>
1798
1799 * explow.c (trunc_int_for_mode): Sign-extend value to mode.
1800
9a155f91
GK
18012001-02-12 Geoffrey Keating <geoffk@redhat.com>
1802
1803 * config/rs6000/sysv4.h (MASK_NO_BITFIELD_WORD): New macro.
1804 (TARGET_NO_BITFIELD_WORD): New macro.
1805 (SUBTARGET_SWITCHES): Add -mbit-word, -mno-bit-word options.
1806 (BITFIELD_NBYTES_LIMITED): Define based on TARGET_NO_BITFIELD_WORD.
1807
fa49fd0f
RK
1808Mon Feb 12 18:13:26 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1809
1810 * cselib.c: New file, from simplify-rtx.c.
1811 * simplify-rtx.c: Remove cselib parts.
1812 * Makefile.in: Add cselib.o.
1813
c36ae96c
GK
18142001-02-12 Geoffrey Keating <geoffk@redhat.com>
1815
ca5adc63
GK
1816 * config/rs6000/rs6000.c (rs6000_float_const): Remove warning.
1817 (setup_incoming_varargs): Remove warning.
1818
1819 * config/rs6000/rs6000.c (validate_condition_mode): When
1820 flag_fast_math, allow floating-point conditionals to be reversed.
1821 (rs6000_generate_compare): When flag_fast_math, don't generate
1822 cror operations for FP conditionals.
1823
c36ae96c
GK
1824 * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Handle
1825 -mcall-i960.
1826 (ASM_SPEC): Likewise.
1827 (CC1_ENDIAN_LITTLE_SPEC): Likewise.
1828 (CC1_SPEC): Likewise.
1829 (LINK_TARGET_SPEC): Likewise.
1830 (CPP_ENDIAN_SPEC): Likewise.
1831 * Makefile.in (check-consistency): New target.
1832
f43b2795
JM
18332001-02-12 Joseph S. Myers <jsm28@cam.ac.uk>
1834
1835 * c-decl.c (grokdeclarator): In C99 mode, give the more specific
1836 "return type defaults" warning for functions with return type
1837 defaulting to int.
1838 * c-lang.c (c_init): In C99 mode, enable warnings for implicit
1839 function declarations by default rather than only when pedantic.
1840
7004b11b
JH
1841Mon Feb 12 17:28:48 CET 2001 Jan Hubicka <jh@suse.cz>
1842
1843 * regclass.c (init_reg_sets_1): Optimize calculation of move_cost
1844 arrays.
1845
82c18d5c
NS
18462001-02-12 Nathan Sidwell <nathan@codesourcery.com>
1847
1848 * extend.texi (Deprecated): Deprecate new initializer lists.
1849
48ce6bbb
NS
18502001-02-12 Nathan Sidwell <nathan@codesourcery.com>
1851
1852 * mkdeps.c (deps_add_default_target): Robustify. Add
1853 basename component only.
1854 * cpp.texi (-M): Describe how default target is generated.
1855 * invoke.texi (-M): Likewise.
1856
823a9919
KH
18572001-02-12 Kazu Hirata <kazu@hxi.com>
1858
1859 * toplev.c (push_float_handler): Remove.
1860 (pop_float_handler): Remove.
1861 * toplev.h: Remove prototypes for the above functions.
1862
d02b54f6
JJ
18632001-02-12 Jakub Jelinek <jakub@redhat.com>
1864
1865 * c-common.c (constant_fits_type_p): New function.
1866 (convert_and_check): Use it.
1867
b1012f1b
MM
18682001-02-11 Mark Mitchell <mark@codesourcery.com>
1869
1870 * Makefile.in (GXX_ABI_FLAG): Don't define.
1871 * configure.in (--enable-new-gxx-abi): Remove option.
1872 * config.in: Regenerated.
1873 * configure: Likewise.
1874
e8eacc3f
AO
18752001-02-12 Alexandre Oliva <aoliva@redhat.com>
1876
1877 * lcm.c (compute_earliest): Let EXIT_BLOCK be handled as a regular
1878 basic block.
1879 (optimize_mode_switching) [NORMAL_MODE]: Set up EXIT_BLOCK as a
1880 regular basic block, and arrange for all edges into it to switch
1881 to normal mode.
1882
e065341b
GP
18832001-02-11 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1884
1885 * Makefile.in (distclean): Do not remove .gdbinit.
1886
8c310e3f
MM
18872001-02-11 Mark Mitchell <mark@codesourcery.com>
1888
1889 * Makefile.in (gcc.o): Fix typos.
1890 (protize.o): Likewise.
1891 (unprotoize.o): Likewise.
1892
258835c7
RH
18932001-02-11 Richard Henderson <rth@redhat.com>
1894
1895 * tree.c (build1): Check for null operand in last change.
1896
1796dff4
RH
18972001-02-11 Richard Henderson <rth@redhat.com>
1898
1899 * fold-const.c (split_tree): Don't assume a constant isn't splittable.
1900 (fold): Don't assume a constant isn't foldable.
1901 * tree.c (build): Set TREE_CONSTANT for an expression with no
1902 side-effects and constant operands.
1903 (build1): Likewise.
1904
7f437481
RH
19052001-02-10 Richard Henderson <rth@redhat.com>
1906
1907 * jump.c (squeeze_notes): Revert 2000-05-12 change.
1908
3220116f
AG
19092001-02-10 Anthony Green <green@redhat.com>
1910
1911 * cpp.texi (Standard Predefined): Add documentation for
1912 __OPTIMIZE_SIZE__.
1913
1914 * c-common.c (combine_strings): Improve warning message.
1915
36b8ffbe
GK
19162001-02-10 Geoffrey Keating <geoffk@redhat.com>
1917
1918 * config/rs6000/sysv4.h (LINK_TARGET_SPEC): Use two dashes for
1919 --oformat.
1920 * config/rs6000/sysv4le.h (LINK_TARGET_SPEC): Likewise.
1921
ce675456
CF
1922Fri Feb 9 15:05:27 2001 Christopher Faylor <cgf@cygnus.com>
1923
1924 * config/i386/t-cygwin (T_CPPFLAGS): Use correct location for
1925 CYGWIN_CROSS_DIR.
1926
cc0744d1
AO
19272001-02-09 Alexandre Oliva <aoliva@redhat.com>
1928
1929 * config/sh/sh.md (sibcalli, sibcalli_pcrel, sibcalli): Set
1930 fp_mode attribute.
1931
ab51eb25
NC
19322001-02-09 Nick Clifton <nickc@redhat.com>
1933
1934 * config/arm/arm.md: Change output contraint on post inc
1935 load/store multiple patterns to be a read/write contraint.
1936
58e31b83
NB
19372001-02-09 Neil Booth <neil@daikokuya.demon.co.uk>
1938
1b9ea8eb
RH
1939 * gcc.c (cpp_options): Delete .d files on error. Don't delete
1940 .o files when using the -M options.
58e31b83 1941
db9473af 19422001-02-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
02a4ec28
FS
1943 David Edelsohn <edelsohn@gnu.org>
1944
1945 * config/rs6000/rs6000.c (output_toc): Allow 32-bit targets to
1946 handle DImode constants. Use one TOC entry for SImode and smaller
1947 constants, aligned properly.
1948
34ce3d7b
JM
19492001-02-08 Jason Merrill <jason@redhat.com>
1950
1951 * config/arm/arm.c (arm_expand_prologue): Do tell the dwarf2 backend
1952 about the SP adjustment for saving the static chain pointer.
1953 * dwarf2out.c (dwarf2out_frame_debug_expr): Use the specified
1954 offset when setting a temporary CFA register.
1955
8da6d80e
CC
19562001-02-08 Chandrakala Chavva <cchavva@redhat.com>
1957
1958 * config.gcc : New targets, i386-*-chorusos*, sparc-*-chorusos*,
1959 powerpc-*-chorusos* .
1960 * config/rs6000/chorus.h : New file.
1961 * config/i386/chorus.h : New file.
1962 * config/sparc/chorus.h : New file.
1963 * config/sparc/t-chorus-elf : New file.
1964
7841642f
DE
19652001-02-08 David Edelsohn <edelsohn@gnu.org>
1966
1967 * config/rs6000/rs6000.h (ASM_OUTPUT_SYMBOL_REF): Move from here ...
1968 * config/rs6000/aix.h (ASM_OUTPUT_SYMBOL_REF): ... to here.
1969 * config/rs6000/aix51.h (CPLUSCPLUS_CPP_SPEC): Define it.
1970 (__WCHAR_TYPE__): Correct macro name.
3844cd2e 1971
6fca22eb
RH
19722001-02-08 Richard Henderson <rth@redhat.com>
1973
1974 * config/i386/i386.c (ix86_frame_pointer_required): New.
1975 (ix86_setup_frame_addresses): New.
1976 (struct machine_funciton): Add accesses_prev_frame.
1977 * config/i386/i386.h (FRAME_POINTER_REQUIRED): Call
1978 ix86_frame_pointer_required.
1979 (SUBTARGET_FRAME_POINTER_REQUIRED): New.
1980 (SETUP_FRAME_ADDRESSES): New.
1981 * config/i386/i386-protos.h: Update.
1982 * config/i386/sco5.h (SUBTARGET_FRAME_POINTER_REQUIRED): Rename
1983 from FRAME_POINTER_REQUIRED.
1984 * config/i386/svr3gas.h: Likewise.
1985 * config/i386/sysv3.h: Likewise.
1986 * config/i386/v3gas.h: Likewise.
1987
0020b823
RH
19882001-02-08 Richard Henderson <rth@redhat.com>
1989
1990 * config/sparc/sparc.c (function_arg_record_value_3): Fix
1991 calculation of the number of integer registers required.
1992 (function_arg_record_value): Likewise.
1993
00a42e21
JM
19942001-02-08 Jason Merrill <jason@redhat.com>
1995
33c4f174
JM
1996 * diagnostic.c (internal_error): Say "confused" after 1 error, not
1997 two. Print file and line with "confused" message.
1998
00a42e21
JM
1999 * dwarf2out.c (dwarf2out_line): Include filename in -dA output.
2000
dd248abd
RK
2001Thu Feb 8 11:21:28 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2002
2003 * rtlanal.c (remove_node_from_expr_list): Correctly update PREV.
2004
04337620
BS
20052001-02-08 Bernd Schmidt <bernds@redhat.com>
2006
2007 * final.c (cleanup_subreg_operands): The address of a MEM can
2008 contain SUBREGs.
2009
0c1cf241
BS
2010 * config/ia64/ia64.c (ia64_variable_issue): Call group_barrier_needed_p
2011 for asms, too.
2012
14baf6b5
JM
20132001-02-08 Joseph S. Myers <jsm28@cam.ac.uk>
2014
2015 * gcc.texi (Incompatibilities): Update documentation of
2016 preprocessing numbers.
2017
1ada4cd0
JJ
20182001-02-07 Jakub Jelinek <jakub@redhat.com>
2019
2020 * c-decl.c (finish_enum): Revert part of 2000-01-05 change.
2021
a9374841
MM
20222001-02-07 Mark Mitchell <mark@codesourcery.com>
2023
830a95f8
MM
2024 * config/rs6000/aix43.h (CPLUSCPLUS_CPP_SPEC): Define it.
2025
a9374841
MM
2026 * defaults.h (CPLUSPLUS_CPP_SPEC): New macro.
2027 * gcc.c (struct compiler): Add cpp_spec field.
2028 (input_file_compiler): New variable.
3844cd2e 2029 (do_spec_1): Allow a particular compiler to handle `%C'
a9374841
MM
2030 specially.
2031 (main): Store the current compiler in input_file_compiler.
2032 * tm.texi (CPLUSPLUS_CPP_SPEC): Document.
3844cd2e 2033
7d4918a2
ZW
20342001-02-07 Zack Weinberg <zack@wolery.stanford.edu>
2035
2036 * cpphash.h (struct spec_nodes): Add n_true and n_false.
2037 * cppinit.c (cpp_create_reader): Initialize them.
2038 (append_include_chain): cxx_aware arg might be unused.
2039 * cppexp.c (lex): In C++ mode, recognize 'true' and 'false'
2040 keywords and give them their phase 7 meaning. Pedwarn about
2041 this unless '__bool_true_false_are_defined' is defined.
2042
09d84e04
AO
20432001-02-07 Alexandre Oliva <aoliva@redhat.com>
2044
2045 * lcm.c (optimize_mode_switching): Emit mode_set before the
2046 JUMP_INSN of an abnormal edge.
2047
bcd7edfe
BS
20482001-02-07 Bernd Schmidt <bernds@redhat.com>
2049
2050 * builtins.c (expand_builtin_setjmp_receiver): Emit an ASM_INPUT as
2051 a scheduling barrier at the end.
2052
4a1d48f6
BS
2053 * tm.texi (MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): Document.
2054
3dbd1134
AO
20552001-02-07 Alexandre Oliva <aoliva@redhat.com>
2056
c2d10707
AO
2057 * config/sh/sh.md (reload_outsf): Removed.
2058 (movsf_ie): Introduce constraints for FPUL loads and stores.
2059 (reload_insf): Broaden the output constraint.
2060
3dbd1134
AO
2061 * config/elfos.h (INT_ASM_OP): Don't define it if it's already
2062 defined.
2063 * config/sh/sh.h (INT_ASM_OP, ASM_OUTPUT_CONSTRUCTOR,
2064 ASM_OUTPUT_DESTRUCTOR): Copy definitions from config/elfos.h.
2065
8480e480
CC
20662001-02-06 Chandrakala Chavva <cchavva@redhat.com>
2067
8da6d80e 2068 * final.c: Revert my previous changes.
8480e480
CC
2069 * output.h: Make profile_label_no extern.
2070 * config/rs6000/rs6000.c (output_profile_hook): Use standard functions
2071 for generating label.
2072
df447210
LB
20732001-02-06 Laurynas Biveinis <lauras@softhome.net>
2074
2075 * config/i386/djgpp.h: Add comments about standard paths.
2076 (MD_EXEC_PREFIX): Undefine before defining.
2077 (MD_STARTFILE_PREFIX): New.
2078
ca21b4a5
BK
20792001-01-30 Bruce Korb <bkorb@gnu.org>
2080
6fca22eb
RH
2081 fixinc/fixincl.c(process): Emit error message only if appropriate :)
2082 (load_file): do not rely on load_file_data() to close file pointer
2083 fixinc/fixlib.c(load_file_data): do not close passed in file pointer
ca21b4a5
BK
2084 fixinc/inclhack.def(irix_limits_const): add test_text
2085
3c8465d0
NB
20862001-02-06 Neil Booth <neil@daikokuya.demon.co.uk>
2087
6fca22eb
RH
2088 * cppexp.c (parse_defined): Improve diagnostics for invalid
2089 syntax.
3c8465d0 2090
b7a0a5fa
NB
20912001-02-06 Neil Booth <neil@daikokuya.demon.co.uk>
2092
6fca22eb 2093 * cppmacro.c (cpp_get_token): Avoid pasting after a builtin.
b7a0a5fa 2094
28e510bd
MM
20952001-02-06 Mark Mitchell <mark@codesourcery.com>
2096
2097 * config/rs6000/rs6000.h (ASM_OUTPUT_SYMBOL_REF): Define.
2098 * config/rs6000/rs6000-protos.h (rs6000_output_symbol_ref): Declare.
2099 * config/rs6000/rs6000.c (VTABLE_NAME_P): New macro.
2100 (rs6000_output_symbol_ref): New function.
2101 (output_toc): Use VTABLE_NAME_P.
3844cd2e 2102
05bd3d41
RK
2103Tue Feb 6 07:54:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2104
df10e9ec
RK
2105 * print-tree.c (print_node, case PARM_DECL):
2106 Print DECL_ARG_TYPE and DECL_ARG_TYPE_AS_WRITTEN.
2107
b5d6a2ff
RK
2108 * stor-layout.c (reference_types_internal): New variable.
2109 (internal_reference_types): New function.
2110 (layout_type, case REFERENCE_TYPE): Make Pmode if internal.
2111 * tree.h (internal_reference_types): New declaration.
2112
05bd3d41
RK
2113 * cse.c (find_best_addr): Fix typo in computing cost.
2114
d1405722
RK
2115Mon Feb 5 21:56:16 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2116
2117 * combine.c (nonzero_bits, case PLUS): If pointers extend unsigned
2118 and this is the sum of a pointer and a constant, we know the result
2119 did not overflow.
2120 (num_sign_bit_copies, case PLUS): Likewise.
2121 * explow.c (convert_memory_address): Remove opposite SUBREG.
2122 * function.c (instantiate_new_reg): New function (from common code).
2123 (instantiate_virtual_regs_1): Call it.
2124 For PLUS, handle if (plus (subreg (virt-reg) (const_int))
2125 if pointers sign- or zero-extend.
2126 * simplify-rtx.c (simplify_unary_operation, case ZERO_EXTEND):
2127 If pointers extend unsigned, use inside of SUBREG.
2128 (simplify_unary_operation, case SIGN_EXTEND): Likewise, if sign extend.
2129
3e897b66
BK
21302001-02-05 Benjamin Kosnik <bkoz@redhat.com>
2131
2132 * Makefile.in (-DGPLUSPLUS_TOOL_INCLUDE_DIR): Change to target
2133 subdir of gcc_gxx_include_dir.
2134 (gcc_gxx_target_include_dir): Remove.
2135
a401107d
JO
21362001-02-05 Jeffrey Oldham <oldham@codesourcery.com>
2137
2138 * dwarf2out.c: Revise DWARF2 Abbreviation Glossary comments.
2139 (dwarf2out_frame_debug_expr): Revise introductory comments to add
2140 a high-level description.
2141
411707f4
CC
21422001-02-05 Chandrakala Chavva <cchavva@redhat.com>
2143
d6706c51 2144 * final.c: Move the declaration of profile_label_no to ...
6fca22eb
RH
2145 * output.h: ... here.
2146 * function.c (expand_function_start): Call PROFILE_HOOK.
2147 * config/rs6000/aix.h: Define PROFILE_HOOK.
2148 * config/rs6000/rs6000-protos.h: output_profile_hook new.
2149 * config/rs6000/rs6000.c (output_profile_hook): Define.
2150 (output_prolog): Do nothing for ABI_AIX as it is taken care by
2151 output_profile_hook.
411707f4
CC
2152 tm.texi : Explain new macro PROFILE_HOOK.
2153
8720914b
HPN
21542001-02-06 Hans-Peter Nilsson <hp@axis.com>
2155
2156 * extend.texi (Extended Asm): Do not say that semicolon is always
2157 a valid line-breaking character for GNU assemblers. Use
2158 newline-tab as the most commonly supported syntax. Use
2159 newline-tab rather than semicolon in multi-insn examples.
2160
56cf87e7
FS
21612001-02-05 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2162
2163 * Makefile.in (gcc_gxx_target_include_dir): Use $(target_alias).
2164
9638617e 21652001-02-05 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6fca22eb 2166 David Edelsohn <edelsohn@gnu.org>
9638617e 2167
3844cd2e 2168 * config/rs6000/rs6000.c (rs6000_return_addr): Use PIC
9638617e
FS
2169 code for AIX, even without flag_pic.
2170
2f4e8f2b
JJ
21712001-02-05 Jakub Jelinek <jakub@redhat.com>
2172
2173 * c-typeck.c (common_type): push and pop binding level around
2174 calling common_type on function parameters.
2175
45677496
CF
2176Mon Feb 5 14:30:37 2001 Christopher Faylor <cgf@cygnus.com>
2177
2178 * config/i386/cygwin.h (CPP_SPEC): Add missing space after -idirafter.
2179
789c026d
RK
2180Mon Feb 5 11:23:16 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2181
2182 * config/mips/mips.c (override_options): Fix typo in last change.
e2bbb660
RK
2183 (mips_make_temp_file): Call fatal_io_error, not pfatal_with_name.
2184 (mips_asm_file_end): Likewise; also pass more args to fatal_io_error.
789c026d 2185
9965d119
NS
21862001-02-05 Nathan Sidwell <nathan@codesourcery.com>
2187
2188 * invoke.texi (-fdump-class-layout): Document.
2189 (-fdump-translation-unit): Use `=' as filename separator.
2190
39d6f2e8
MM
21912001-02-05 Mark Mitchell <mark@codesourcery.com>
2192
2193 * Makefile.in (s-mlib): Don't build multilibs if
2194 --disable-multilib.
2195 (DRIVER_DEFINES): Adjust accordingly.
2196 (gcc.o): Likewise.
2197 (protoize.o): Likewise.
2198 (unprotoize.o): Likewise.
2199 * configure.in: Recognize --enable-multilib.
3844cd2e 2200
22fdd65e
MM
22012001-02-04 Mark Mitchell <mark@codesourcery.com>
2202
9f8bf073
MM
2203 * Makefile.in (DRIVER_DEFINES): Fix quoting.
2204
22fdd65e
MM
2205 * Makefile.in (site.exp): Always set HAVE_LIBSTDCXX_V3.
2206 * configure.in: Remove --enable-libstdcxx_v3 support.
2207 * configure: Regenerated.
2208
400500c4
RK
2209Sun Feb 4 15:52:44 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2210
c4636dd1
RK
2211 * config/avr/avr.h (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP):
2212 Call abort instead of fatal.
2213 (TRAMPOLINE_TEMPLATE): Call internal_error instead of fatal.
2214 * config/dsp16xx/dsp16xx.h (FUNCTION_PROFILER): Likewise.
2215 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Likewise.
2216 (TRAMPOLINE_TEMPLATE, INITIALIZE_TRAMPOLINE): Likewise.
2217 (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Likewise.
2218 * config/rs6000/rs6000.h (RETURN_ADDRESS_OFFSET): Likewise.
2219
400500c4
RK
2220 * diagnostic.h (set_internal_error_function): Renamed.
2221 * toplev.h (internal_error): Renamed from fatal.
2222 (pfatal_with_name): Deleted.
2223 (fatal_io_error): Now has printf-style arguments.
2224 * diagnostic.c (pfatal_with_name): Deleted.
2225 (fatal_io_error): Rework to have args in printf-style.
2226 (set_internal_error_function): Renamed from set_fatal_function.
2227 (internal_error): Renamed from fatal.
2228 (error_recursion, fancy_abort): Call internal_error instead of fatal.
2229 * dwarf2out.c (get_cfa_from_loc_descr): Likewise.
2230 * emit-rtl.c (gen_realpart, gen_imagpart): Likewise.
2231 * expr.c (check_max_integer_computation_mode, expand_expr): Likewise.
2232 * flow.c (verify_flow_info): Likewise.
2233 * config/arm/arm.c (thumb_unexpanded_epilogue): Likewise.
2234 * config/mips/mips.c (save_restore_insns): Likewise.
2235
2236 * except.c (duplicate_eh_handlers): Call abort instead of fatal.
3844cd2e 2237 * flow.c (verify_flow_info): Likewise.
400500c4
RK
2238 * config/arm/arm.c (thumb_load_double_from_address): Likewise.
2239 * config/avr/avr.c (pttreg_to_str, unique_section): Likewise.
2240 (avr_normalize_condition): Likewise.
2241 * config/c4x/c4x.c (c4x_emit_libcall, c4x_valid_operands): Likewise.
2242 * config/dsp16xx/dsp16xx.c (dsp16xx_reg_class_from_letter): Likewise.
2243 (limit_reload_class, double_reg_to_memory): Likewise.
2244 (print_operand_address, emit_1600_code_shift): Likewise.
2245 (gen_tst_reg, gen_compare_reg): Likewise.
2246 * config/m68hc11/m68hc11.c (m68hc11_emit_libcall): Likewise.
2247 * config/dsp16xx/dsp16xx.c (dsp16xx_invalid_register_for_compare):
2248 Deleted.
2249 * config/dsp16xx/dsp16xx.md (unnamed cmphi): Call abort instead of it.
2250
2251 * c-parse.in (methoddef): Call fatal_error instead of fatal.
2252 * objc/objc-act.c (build_ivar_chain): Likewise.
2253 * dwarfout.c (dwarfout_init): Call fatal_io_error instead of
2254 pfatal_with_name.
2255 * graph.c (clean_graph_dump_file): Likewise.
2256 * profile.c (init_branch_prob): Likewise.
2257 * objc/objc-act.c (objc_init): Likewise.
3844cd2e 2258
400500c4 2259 * config/arm/arm.c (arm_override_options): Make errors non-fatal.
3844cd2e 2260 * config/avr/avr.c (avr_override_options): Likewise.
400500c4
RK
2261 * config/c4x/c4x.c (c4x_expand_prologue): Likewise.
2262 * config/dsp16xx/dsp16xx.c (function_prologue): Likewise.
2263 * config/h8300/h8300.c (h8300_init_once): Likewise.
2264 * config/mips/mips.c (override_options): Likewise.
2265 * config/i386/i386.c (override_options): Likewise, rework.
2266 * config/m68k/m68k.c (override_options): Likewise.
2267
2268 * config/dsp16xx/dsp16xx.c (print_operand): Call output_operand_lossage
2269 instead of fatal.
2270 * config/mips/mips.c (print_operand): Likewise.
2271 * hash.c (hash_allocate): Don't check for failure returns from
2272 obstack functions that can't fail.
2273 (hash_table_init_n, hash_table_init): Likewise; also now return void.
2274 * hash.h (hash_table_init_n, hash_table_init): Now return void.
2275 * objc/objc_act.c (objc_check_decl): Remove unneeded fatal call.
2276 (get_object_reference): Likewise.
2277
eab4abeb
NC
22782001-02-04 Nick Clifton <nickc@redhat.com>
2279
2280 * config/arm/arm.c (all_cores): Add 710T, 720T, 740T, 940T, 9e,
2281 StrongARM1110, 10TDMI, and 1020T.
2282
7ce2fcb9
KG
22832001-02-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2284
2285 * mips.h (MULTILIB_ISA_DEFAULT): Don't use #elif.
2286
b6c02328
AO
22872001-02-04 Alexandre Oliva <aoliva@redhat.com>
2288
2289 * config/sh/sh.md (movdf load split): Pass register number to
2290 FP_OR_XD_REGISTER_P.
2291
1ca894a0
MM
22922001-02-04 Mark Mitchell <mark@codesourcery.com>
2293
2294 * cppinit.c (BC): New macro.
2295 (builtin_array): Add __GXX_WEAK__.
2296 * cpplib.h (builtin_type): Add BT_WEAK.
2297 * cppmacro.c (builtin_macro): Handle BT_WEAK.
2298 * defaults.h (SUPPORTS_ONE_ONLY): Define.
2299 * varasm.c (SUPPORTS_ONE_ONLY): Do not define.
2300
52b357ea
JJ
23012001-02-03 Jakub Jelinek <jakub@redhat.com>
2302
2303 * cppinit.c (append_include_chain): Honor NO_IMPLICIT_EXTERN_C.
2304
269592a8
NB
23052001-02-03 Neil Booth <neil@daikokuya.demon.co.uk>
2306
6fca22eb 2307 * cpphash.h: Rename _ALIGN POOL_ALIGN.
3844cd2e 2308 * cpplex.c (new_chunk, _cpp_pool_reserve): Update.
269592a8 2309
2da6090f
NB
23102001-02-03 Neil Booth <neil@daikokuya.demon.co.uk>
2311
6fca22eb 2312 * cpphash.h: Rename ALIGN _ALIGN.
3844cd2e 2313 * cpplex.c (new_chunk, _cpp_pool_reserve): Update.
2da6090f 2314
4e190cf3
CF
2315Fri Feb 2 23:15:29 2001 Christopher Faylor <cgf@cygnus.com>
2316
2317 * config/i386/cygwin.h (CPP_SPEC): Reorganize YA to better handle cross
2318 compilation environment.
2319 * config/i386/t-cygwin (T_CPPFLAGS): Define CYGWIN_CROSS_DIR to allow
2320 control over location of cygwin includes and libs.
2321
c98f0cdb
MH
23222001-02-03 Michael Hayes <m.hayes@elec.canterbury.ac.nz)
2323
2324 * c4x.h (HARD_REGNO_CALL_PART_CLOBBERED): Fix typo.
2325
39ed8974
LB
23262001-02-02 lars brinkhoff <lars@nocrew.org>
2327
2328 * md.texi (Standard Names): remove reference to spur.md.
2329
0b53f039
MH
23302001-02-03 Michael Hayes <m.hayes@elec.canterbury.ac.nz)
2331
2332 * c4x.h (IS_INT_CALL_SAVED_REG, IS_FLOAT_CALL_SAVED_REG): Define.
2333 (HARD_REGNO_CALL_PART_CLOBBERED): Use IS_FLOAT_CALL_SAVED_REG.
2334 (INITIAL_FRAME_POINTER_OFFSET, INITIAL_ELIMINATION_OFFSET): Likewise.
2335 * c4x.c (c4x_hard_regno_rename_ok): Use IS_XXX_CALL_SAVED_REG.
2336 (c4x_expand_prologue, c4x_expand_epilogue): Likewise.
2337
d001969e
HB
23382001-02-03 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2339
2340 * c4x.c (group1_reg_operand, group1_mem_operand, arx_reg_operand,
2341 c4x_arn_reg_operand, c4x_arn_mem_operand): Do not check register
2342 number before reload.
2343 (c4x_adjust_cost): Return zero before reload.
2344 * c4x.md (load_immed_address+1, load_immed_address+2): Do not
2345 split before reload.
2346
40eef757
HB
23472001-02-03 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2348
2349 * c4x.c (c4x_hard_regno_rename_ok): New.
2350 * c4x-protos.h (c4x_hard_regno_rename_ok): New.
2351 * c4x.h (HARD_REGNO_RENAME_OK): Define.
2352
0d6882a0
RK
2353Fri Feb 2 20:03:50 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2354
2355 * diagnostic.h: Add missing "extern" in all declarations.
2356
362f2295
AS
23572001-02-02 Alex Samuel <samuel@codesourcery.com>
2358
2359 * Makefile.in (gcc_gxx_target_include_dir): Generate dynamically
2360 as for gcc_gxx_include_dir.
2361
da312b55
NB
23622001-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
2363
2364 * cpp.texi, invoke.texi: Update -Wtraditional documentation.
2365
38df95a4
AO
23662001-02-02 Alexandre Oliva <aoliva@redhat.com>
2367
e6dfd05f
AO
2368 * config/sh/sh.c (output_far_jump): Don't use braf on SH1. Emit
2369 label before alignment to be used as the braf base address.
2370 * config/sh/sh.md (length): Use longer lengths for SH1 PIC far
2371 branches.
2372 (casesi_jump_2): Require at least TARGET_SH2.
2373
38df95a4
AO
2374 * config/float-sh.h (LDBL_EPSILON, LDBL_MIN, LDBL_MAX): Prevent
2375 truncation to 32-bit doubles on -m3e and -m4-single-only.
2376
049f6ec9
MM
23772001-02-02 Mark Mitchell <mark@codesourcery.com>
2378
3844cd2e 2379 * gcc.c (init_gcc_specs): New function. Make -shared-libgcc
049f6ec9
MM
2380 the default when building a shared object.
2381 (init_spec): Use it.
2382 * testsuite/lib/g++.exp: Include the directory where libgcc
2383 is located to the LD_LIBRARY_PATH list.
1ca894a0 2384 * invoke.texi (-shared-libgcc): Document the cases in which
049f6ec9 2385 GCC defaults to using the shared libgcc.
3844cd2e 2386
483b9fd0
AO
23872001-02-02 Alexandre Oliva <aoliva@redhat.com>
2388
2389 * config/fp-bit.h (MAX_USI_INT, MAX_SI_INT): Don't assume
2390 unsigned is wide enough.
2391 (BITS_PER_SI): New.
2392 * config/fp-bit.c (_fpmul_parts): Don't assume 32-bits SI.
2393 (si_to_float): Likewise.
2394 (float_to_si, float_to_usi): Use BITS_PER_SI.
2395
770ca8c6
JO
23962001-02-01 Jeffrey Oldham <oldham@codesourcery.com>
2397
2398 * dwarf2out.c: Added explanation of abbreviations.
2399 (def_cfa_1): Added comments listing DWARF2 instructions.
2400 (cfa_temp_reg): Removed in favor of cfa_temp.
2401 (cfa_temp_value): Removed in favor of cfa_temp.
2402 (cfa_temp): New global variable.
2403 (dwarf2out_frame_debug_expr): Added extensive introductory
2404 comments explaining the function's transformations. Revised to
2405 use cfa_temp. Added some rtx checking. Generalize IOR case.
2406 (dwarf2out_frame_debug): Revised to use cfa_temp.
2407 (output_aranges): Cast as "unsigned" to avoid warning.
2408 * rtl.texi (RTX_FRAME_RELATED_P): Revise entry to emphasize better
2409 explain which instructions must be marked.
2410
cad33336
RH
24112001-02-01 Richard Henderson <rth@redhat.com>
2412
2413 * local-alloc.c (update_equiv_regs): Copy INSN_CODE to the
2414 new instruction.
2415
8a5d897f
AO
24162001-02-01 Alexandre Oliva <aoliva@redhat.com>
2417
2418 * config/sh/crt1.asm (main_k): Modified so that start calls
2419 ___setup_argv_and_call_main.
2420
bd969772
NB
24212001-02-01 Neil Booth <neil@daikokuya.demon.co.uk>
2422
6fca22eb
RH
2423 * cpphash.h (struct cpp_buffer): Move saved_flags from cpp_reader.
2424 * cpplex.c (_cpp_lex_token): New token picks up the saved flags,
2425 and AVOID_LPASTE is cleared on meeting an unescaped newline.
2426 * cppmacro.c (builtin_macro): Set builtin flags here.
2427 (paste_all_tokens): Preserve AVOID_LPASTE on pasted token.
2428 (replace_args): Clarify intent.
2429 (cpp_get_token): Macro expansion tokens get the saved flags.
2430 Update.
2431 * cppmain.c (scan_buffer): Remove now-redundant print.printed
2432 check.
bd969772 2433
8c0abc88
JO
24342001-02-01 Jeffrey Oldham <oldham@codesourcery.com>
2435
2436 * config/mips/iris6.h (SUPPORTS_INIT_PRIORITY): Reverse change of
2437 2001-Jan-29.
2438
fcbfaa65
RK
2439Thu Feb 1 07:22:41 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2440
d5457140
RK
2441 * builtins.c (expand_builtin_alloca): allocate_dynamic_stack_space
2442 returns Pmode pseudo, but we need ptr_mode.
2443 * explow.c (allocate_dynamic_stack_space): Use plus_constant.
2444 Remove bogus conversions; use HOST_WIDE_INT for size.
2445 Don't use TARGET if wrong mode.
2446
fcbfaa65
RK
2447 * config/i386/i386.c (ix86_compute_frame_size): Allow
2448 stack_alignment_needed to be non-default even if size is zero.
2449
10d17cb7
AM
24502001-01-31 Alan Modra <alan@linuxcare.com.au>
2451
824e7605
AM
2452 * (hppa_init_pic_save): Emit the pic offset table
2453 reg save after last_parm_insn.
2454 * pa.c (hppa_init_pic_save): New function.
2455 * pa.h (hppa_init_pic_save): Declare.
2456 * pa.md (call, call_value, sibcall, sibcall_value): Use
2457 the above instead of duplicated code.
2458
10d17cb7
AM
2459 * pa.c (hppa_encode_label): Correct size of alloca buffer
2460 so we don't overrun it. Correct leading `*' case.
2461 * pa.h (STRIP_NAME_ENCODING): Simplify now that we don't
2462 need to handle `*@'.
2463 (FUNCTION_NAME_P): Likewise.
2464
b9e6ebe9
RH
24652001-01-31 Richard Henderson <rth@redhat.com>
2466
c3e5f9fa
RH
2467 * config.gcc (alpha-osf5): Use float-i128.h.
2468
b9e6ebe9
RH
2469 * config/float-i128.h (FLT_EVAL_METHOD, DECIMAL_DIG): Define.
2470 * config/float-i32.h: Likewise.
2471 * config/float-i64.h: Likewise.
2472 * config/float-sh.h: Likewise.
2473 * config/float-sparc.h: Likewise.
2474
dbac5d0d 24752001-01-31 DJ Delorie <dj@redhat.com>
aac280fb
DD
2476
2477 * expmed.c (extract_bit_field): allow non-integral modes if we
2478 want to extract a whole register from itself.
2479
ce662d4c
JJ
24802001-01-31 Jakub Jelinek <jakub@redhat.com>
2481
2482 * c-typeck.c (set_init_index): If first is equal to last, assume as
2483 if it was not a range at all.
2484
8b1065f1
AO
24852001-01-31 Alexandre Oliva <aoliva@redhat.com>
2486
3cb95a7d 2487 * config/fp-bit.c: Include tm.h.
8b1065f1
AO
2488 (float_to_si): Don't assume SImode is 32-bits wide.
2489 (float_to_usi): Likewise.
2490
0aca1a4f
JM
24912001-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
2492
2493 * c-parse.in (structsp): Pedwarn when "enum foo" refers to an
2494 incomplete type.
2495 (typename): Call pending_xref_error after parsing typed_typespecs.
2496 * c-decl.c (lookup_tag): Give error immediately rather than
2497 leaving it pending if the tag of the wrong type is in the same
2498 binding level.
2499 (xref_tag): Don't pedwarn for forward declarations of enum types
2500 here.
2501 * gcc.texi (Actual Bugs): Remove entry for misuse of struct, union
2502 and enum tags.
2503
92fa350a
AO
25042001-01-31 Alexandre Oliva <aoliva@redhat.com>
2505
2506 * config/float-sparc.h (LDBL_MAX) [sparc32]: Fix typo.
2507
f000294d
NB
25082001-01-31 Neil Booth <neil@daikokuya.demon.co.uk>
2509
6fca22eb
RH
2510 * cpplib.c (T_ELIF): Move to STDC89, not that it matters.
2511 (_cpp_handle_directive): Suggest not using #elif with -Wtraditional.
f000294d 2512
ec1a23e6
NB
25132001-01-31 Neil Booth <neil@daikokuya.demon.co.uk>
2514
6fca22eb
RH
2515 * cpphash.h (struct cpp_reader): New saved_flags.
2516 * cppmacro.c (cpp_get_token): Use saved_flags to remember
2517 to avoid a paste after a pasted token.
3844cd2e 2518
5d0e6486
AO
25192001-01-31 Alexandre Oliva <aoliva@redhat.com>
2520
2521 * libgcc2.h (Wtype_MAX, Wtype_MIN): Define.
2522 * libgcc2.c (__fixunssfSI, __fixunsdfSI, __fixunsxfSI): Use
2523 Wtype_MIN instead of LONG_MIN.
2524
b2321b26
JO
25252001-01-30 Jeffrey Oldham <oldham@codesourcery.com>
2526
2527 * fixinc/fixincl.tpl: Add 2001 to copyright. Change name of
2528 README file.
2529 * fixinc/fixincl.x: Regenerated.
2530 * fixinc/inclhack.def (irix_limits_const): New definition to
2531 convert "const" to "__const" in limits.h.
2532
4989b020
JO
25332001-01-30 Jeffrey Oldham <oldham@codesourcery.com>
2534
2535 * fixinc/genfixes (AG): Fix "autogen4" thinko.
2536
2f33c635
HB
25372001-01-30 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2538
2539 * regmove.c (try_auto_increment): Change REG_DEAD into REG_UNUSED
2540 when register dies in the insn.
2541
bdda3325
NB
25422001-01-30 Neil Booth <neil@daikokuya.demon.co.uk>
2543
2544 * diagnostic.c (fatal): Fix word wrap.
2545
48b4d901
AO
25462001-01-30 Alexandre Oliva <aoliva@redhat.com>
2547
2548 * combine.c (try_combine): Fix SUBREG setting for
2549 HOST_BITS_PER_WIDE_INT >= 2 * BITS_PER_WORD.
2550
1e738f74
FS
25512001-01-30 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2552
2553 * jump.c (comparison_dominates_p): Don't try to handle UNKNOWN
2554 comparison codes.
2555
e9770d51
NB
25562001-01-30 Neil Booth <neil@daikokuya.demon.co.uk>
2557
6fca22eb
RH
2558 * c-decl.c (c_expand_body): Check TYPE_SIZE_UNIT (ret_type)
2559 is not NULL.
2560 * toplev.c (decode_W_option): Update warn_larger_than
2561 unconditionally for each processed switch.
e9770d51 2562
d966ae60
JDA
25632001-01-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
2564
2565 * pa.c (pa_init_machine_status): Initialize pic_offset_table_save_rtx
2566 to NULL_RTX.
2567 (hppa_expand_prologue): Delete code to save pic offset table register
2568 in the function prologue.
2569 * pa.h (PIC_OFFSET_TABLE_SAVE_RTX): Correct type in comment.
2570 * pa.md (call, call_value, sibcall, sibcall_value): Save the pic offset
2571 table register at the beginning of the function after the prologue.
2572
f25561bb
LB
25732001-01-29 lars brinkhoff <lars@nocrew.org>
2574
6fca22eb 2575 * tm.texi (PUSH_ROUNDING): Remove duplicate lines.
f25561bb 2576
7ea9fcc6
JDA
25772001-01-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
2578 Jeff Law <law@redhat.com>
2579
2580 * pa.md (return): Revise comment for trivial return.
2581 (return_internal): Non-trivial return pattern for non-PIC code.
2582 (return_internal_pic): Non-trivial return pattern for PIC code.
2583 It uses the PIC register to ensure it is restored after
2584 function calls.
2585 (epilogue): Generate appropriate return for PIC and non-PIC code.
2586
05d9f8b0
CF
2587Mon Jan 29 23:53:14 2001 Christopher Faylor <cgf@cygnus.com>
2588
2589 * config/i386/cygwin.h: Fix -mno-cygwin search path for link.
2590
80c8b1aa
DD
25912001-01-29 DJ Delorie <dj@redhat.com>
2592
2593 * combine.c (if_then_else_cond): Pass the correct mode to
2594 operand_subword() for constants.
2595
f6fc3552
CF
2596Mon Jan 29 20:38:19 2001 Christopher Faylor <cgf@cygnus.com>
2597
2598 * config/i386/cygwin.h: Add w32api to include search. Search different
2599 directories in a cross-build environment.
2600
2b5f2501
RH
26012001-11-29 Tim Josling <tej@melbpc.org.au>
2602
2603 * tree.h (TYPE_STUB_DECL): Add documentation.
2604
26052001-11-29 Laurynas Biveinis <lauras@softhome.net>
1270a9b3
LB
2606
2607 * sdbout.c (sdbout_one_type): Skip types with indeterminate size.
2608 (sdbout_field_types): Likwise. Fix use of host_integerp.
2609
9c7c6e6c
TP
26102001-01-29 Thomas Pfaff <tpfaff@gmx.net>
2611
2612 * mingw32.h: Override STARTFILE_SPEC and LINK_SPEC declared in
2613 cygwin.h.
2614
f1e9980a
JO
26152001-01-29 Jeffrey Oldham <oldham@codesourcery.com>
2616
2617 * config/mips/iris6.h (SUPPORTS_INIT_PRIORITY): Revise definition
2618 to use flag_gnu_linker.
2619
766ee681
NB
26202001-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
2621
6fca22eb
RH
2622 * cpplib.c (T_BAD_DIRECTIVE): Remove.
2623 (_cpp_init_stacks): Loop from 0 to N_DIRECTIVES - 1.
766ee681 2624
718b8ea5
JM
26252001-01-29 Joseph S. Myers <jsm28@cam.ac.uk>
2626
2627 * tree.c, tree.h (build_parse_node): Remove; was identical to
2628 build_nt.
2629 * c-lang.c (start_cdtor), objc/objc-act.c
2630 (build_module_descriptor): Use build_nt instead of
2631 build_parse_node.
2632
adc88131
JJ
26332001-01-29 Jakub Jelinek <jakub@redhat.com>
2634
2635 * config/i386/i386.md (addqi_1_lea): Fix mode (QI instead of HI).
2636 (testqi_1, andqi_2): If widening to SImode, make sure CONST_INT does
2637 not have any upper bits set.
2638
42c0c80a
PE
26392001-01-29 Phil Edwards <pme@sources.redhat.com>
2640
2641 * COPYING.LIB: Update to LGPL 2.1 from the FSF.
2642
f2d1f0ba
KG
26432001-01-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2644
2645 * stmt.c (estimate_case_costs): Use integer_minus_one_node.
2646
2647 * tree.c (build_common_tree_nodes_2): Set integer_minus_one_node.
2648
2649 * tree.h (tree_index): Add new element TI_INTEGER_MINUS_ONE.
2650 (integer_minus_one_node): Define.
2651
4f92461a
AO
26522001-01-28 Alexandre Oliva <aoliva@redhat.com>
2653
2654 * Makefile.in (bootstrap2-lean): Fix typo.
2655
26ec42ee
NB
26562001-01-28 Neil Booth <neil@daikokuya.demon.co.uk>
2657
6fca22eb
RH
2658 * cpphash.c (_cpp_cleanup_hashtable, _cpp_lookup_with_hash)
2659 : Don't set fe_value.
3844cd2e 2660 * cpplib.h (AVOID_LPASTE): New flag.
6fca22eb
RH
2661 (struct cpp_hashnode): Remove fe_value.
2662 * cpplex.c (cpp_avoid_paste): Don't paste '.' with a number.
2663 * cppmacro.c (builtin_macro): Don't set flags here.
2664 (replace_args): Set AVOID_LPASTE flag on first token of an
2665 argument, and the token following it.
2666 (cpp_get_token): Set AVOID_LPASTE flag on first token of a
2667 macro expansion, and on the token following it. Do it for
2668 builtins too.
2669 * cppmain.c (scan_buffer): Avoid pasting only flagged tokens.
26ec42ee 2670
0be25992
RH
26712001-01-27 Richard Henderson <rth@redhat.com>
2672
2673 * config/alpha/t-ieee: Remove multilibbing.
2674 (TARGET_LIBGCC2_CFLAGS): Add -mieee.
2675
c913b6f1
KG
26762001-01-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2677
2678 * configure.in: Arrange to include defaults.h in [ht]config.h/tm.h.
2679
2680 * Makefile.in: Remove all dependencies on defaults.h.
2681 * builtins.c: Don't include defaults.h.
2682 * c-common.c: Likewise.
2683 * c-decl.c: Likewise.
2684 * c-pragma.c: Likewise.
2685 * c-typeck.c: Likewise.
2686 * combine.c: Likewise.
2687 * i386.c: Likewise.
2688 * frame-ia64.c: Likewise.
2689 * cppexp.c: Likewise.
2690 * crtstuff.c: Likewise.
2691 * dbxout.c: Likewise.
2692 * dwarf2out.c: Likewise.
2693 * dwarfout.c: Likewise.
2694 * emit-rtl.c: Likewise.
2695 * except.c: Likewise.
2696 * expr.c: Likewise.
2697 * final.c: Likewise.
2698 * frame-dwarf2.c: Likewise.
2699 * libgcc2.c: Likewise.
2700 * optabs.c: Likewise.
2701 * profile.c: Likewise.
2702 * sdbout.c: Likewise.
2703 * toplev.c: Likewise.
2704 * tradcif.y: Likewise.
2705 * tree.c: Likewise.
2706 * varasm.c: Likewise.
2707
013dea40
KG
27082001-01-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2709
2710 * builtins.c (expand_builtin_fputs): Use size_one_node when
2711 transforming into fwrite.
2712
2c5e91d2
JM
27132001-01-27 Joseph S. Myers <jsm28@cam.ac.uk>
2714
2715 * extend.texi (Attribute Syntax): New section.
2716
825ac704
MS
27172001-01-27 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2718
2719 * fixproto: Correctly install synthesised unistd.h and stdlib.h when
2720 they didn't need fixing.
2721
70305f2b
RH
27222001-01-27 Janis Johnson <janis@us.ibm.com>
2723
2724 * config.gcc (i[34567]86-sequent-{ptx4*,sysv4*}): Use usegas.h
2725 if appropriate.
2726 * config/ptx4.h: Several fixes to build on DYNIX/ptx v4.[456], and
2727 to remove macro definitions that are duplicated from elfos.h.
2728
27292001-01-27 Richard Henderson <rth@redhat.com>
2730
2731 * config/i386/sco5gas.h: Move ...
2732 * config/usegas.h: ... here.
2733 * config.gcc (i[34567]86-*-sco3.2v5) [tm_file]: Update.
2734
940ff66d
JJ
27352001-01-27 Jakub Jelinek <jakub@redhat.com>
2736
2737 * c-typeck.c (struct constructor_stack): Add range_stack member.
2738 (really_start_incremental_init): Clear it.
2739 (push_init_level): Save constructor_range_stack and clear it if
2740 pushing explicit braces.
2741 (pop_init_level): abort if constructor_range_stack is non-zero at
2742 explicit closing brace. Restore saved constructor_range_stack if
2743 not implicit.
2744
de1b33dd
AO
27452001-01-27 Alexandre Oliva <aoliva@redhat.com>
2746
2747 * expr.c (emit_move_insn): Add REG_EQUAL note when constant loaded
2748 into register was forced into memory.
2749
3d84f80f
AO
27502001-01-27 Alexandre Oliva <aoliva@redhat.com>
2751
2752 * Makefile.in: Remove uses of + before $(MAKE).
2753
2a2137c4
RH
27542001-01-26 Richard Henderson <rth@redhat.com>
2755
2756 * stmt.c (cost_table): Remove.
2757 (COST_TABLE, cost_table_initialized): New.
2758 (estimate_case_costs): Use the later instead of the former.
2759 (balance_case_nodes): Likewise.
2760
66cce54d
RH
27612001-01-26 Richard Henderson <rth@redhat.com>
2762
2763 * alias.c (objects_must_conflict_p): Read-only slots may not
2764 conflict despite having the same type.
2765
616fde53
MH
27662001-01-27 Michael Hayes <mhayes@redhat.com>
2767
2768 * loop.c (loop_giv_reduce_benefit): Copy mode size into
2769 int variable.
2770 (check_ext_dependant_givs): Initialise u_start_val and
2771 u_end_val.
2772 (load_mems): Make last_max_reg unsigned.
2773 (try_swap_copy_prop): Use INSN_P and initialise set.
2774
b63471e9
DC
2775Fri Jan 26 23:22:58 2001 Denis Chertykov <denisc@overta.ru>
2776
2777 * README.AVR : Removed.
2778
d1ebd58d
JL
2779Fri Jan 26 11:37:26 2001 Jeffrey A Law (law@cygnus.com)
2780
2781 * pa-64.h (text_section): Remove declaration.
2782
2783 * pa.md (return_internal): Remove mode on PIC register use.
2784
a8d1550a
LB
27852001-01-25 lars brinkhoff <lars@nocrew.org>
2786
2787 * tm.texi (DATA_ALIGNMENT, LOCAL_ALIGNMENT, ASM_OPEN_PAREN,
2788 ASM_CLOSE_PAREN): fix typos.
2789
78e0ba39
MM
27902001-01-25 Mark Mitchell <mark@codesourcery.com>
2791
2792 * acconfig.h: Define `const' to the empty string if neither
2793 __STDC__ nor __cplusplus is defined.
2794 * config.in: Regenerated.
2795
05dba9ee
DE
27962001-01-25 David Edelsohn <edelsohn@gnu.org>
2797
2798 * config.gcc (rs6000-ibm-aix[5-9]*): Change to aix51.h.
2799 * collect2.c (main): Delete importf. Add ".obj" file extension.
2800 (GCC_CHECK_HDR): Handle AIX V5 new magic number.
2801 (aix_std_libs): Add additional AIX libraries to skip.
2802 * config/rs6000/aix.h (MY_ISCOFF): Add AIX V5 new magic number.
2803 * config/rs6000/aix51.h: New file.
2804
86e21212
MH
28052001-01-25 Michael Hayes <mhayes@redhat.com>
2806
2807 * loop.c (loop_call_insn_emit_before, loop_call_insn_hoist): New.
2808 (loop_insn_emit_before): No longer static.
2809 (move_movables): Replace emit_insn_after with loop_insn_emit_after.
2810 (loop_givs_rescan, load_mems): Likewise.
2811 (check_dbra_loop): Replace emit_insn_before with loop_insn_emit_before.
2812 (maybe_eliminate_biv_1):
2813 (move_movables): Replace emit_call_insn_before with
2814 loop_call_insn_hoist.
2815 * loop.h (loop_insn_emit_before): Add.
3844cd2e 2816 * unroll.c (copy_loop_body): Replace emit_insn_before with
86e21212
MH
2817 loop_insn_emit_before.
2818
7fa531a6
NB
28192001-01-25 Neil Booth <neil@daikokuya.demon.co.uk>
2820
70305f2b 2821 * diagnostic.c (fatal): Request preprocessed source.
7fa531a6 2822
91239b93
R
2823Thu Jan 25 02:01:16 2001 J"orn Rennecke <amylaar@redhat.com>
2824
2825 * c-decl.c (duplicate_decls): If different_binding_level is nonzero,
2826 olddecl has argument types and newdecl has none, use the argument
2827 types from olddecl.
2828
e57cabac
UD
28292001-01-24 Ulrich Drepper <drepper@redhat.com>
2830
2831 * dwarf2out.c (prefix_of): New function. Determine longest common
2832 prefix of the two arguments. The units are whole path components.
2833 (output_file_names): When adding a new directory find the one entry
2834 with the longest common prefix already in the list. Artificially
2835 generate entry if there is none for this prefix.
2836 Fix test to check whether the zeroth directory entry is used.
2837
304a22dd
R
2838Wed Jan 24 23:51:55 2001 J"orn Rennecke <amylaar@redhat.com>
2839
2840 * reload1.c (reload_reg_free_for_value_p): New parameter start_regno.
2841 Changed all callers. Take it into account when deciding if a
2842 previously loaded value matches.
2843
0a28aef9
RH
28442001-01-24 Richard Henderson <rth@redhat.com>
2845
2846 * reload.c (find_reloads_subreg_address): Fail the substitution
2847 if the resulting address is insufficiently aligned.
2848
1cac8785
DD
28492001-01-24 DJ Delorie <dj@redhat.com>
2850
2851 * combine.c (combine_simplify_rtx): If the modes are all VOIDmode,
2852 check the original operand's mode also.
2853 * simplify-rtx.c (simplify_ternary_operation): Ditto.
2854
cedd825f
JM
28552001-01-24 Joseph S. Myers <jsm28@cam.ac.uk>
2856
2857 * c-parse.in (cast_expr): Move compound literals from here ...
2858 (primary): ... to here. Use standard terminology "compound
2859 literal" instead of "constructor expression".
2860
445c435a
JM
28612001-01-24 Joseph S. Myers <jsm28@cam.ac.uk>
2862
2863 * gcc.1, cpp.1: Regenerate.
2864
4cfc6042
AO
28652001-01-24 Alexandre Oliva <aoliva@redhat.com>
2866
2867 * calls.c (emit_library_call_value_1): Memory slot for
2868 pass-by-reference argument should have the mode of the argument,
2869 not of the pointer to it.
2870
597dba19
TT
28712001-01-24 Tom Tromey <tromey@redhat.com>
2872
2873 * gcc.texi (G++ and GCC): Mention gcj manual.
2874 (Standards): Link to section of manual mentioning gcj/Java
2875 compatibility.
2876
7855db7c
JJ
28772001-01-24 Jakub Jelinek <jakub@redhat.com>
2878
2879 * cppfiles.c (_cpp_read_file): Add to dependencies if requested.
2880 * cppinit.c (cpp_start_read): Remove deps_add_dep call.
2881 * tradcpp.c (main): Add -imacros or -include'd dependencies
2882 for -M*.
2883 * cpp.texi (-M, -MM): Document -M -include behaviour.
2884
6a40fc2b 28852001-01-24 Roger Collins <roger@ProProject.com>
e57cabac 2886
70305f2b 2887 * config/i386/xm-i386.h: Make __i386__ a boolean macro.
6a40fc2b 2888
2f3fdc52
WC
28892001-01-24 Will Cohen <wcohen@redhat.com>
2890
2891 * config/mips/abi64.h (RETURN_IN_MEMORY): Always take into account
2892 whether registers are 32 bits or 64 bits in size.
2893
a941b588
BE
28942001-01-24 Ben Elliston <bje@redhat.com>
2895
2896 * config/m32r/m32r.h (PREDICATE_CODES): Remove m32r_not_same_reg.
2897
64b4ab5a
RH
28982001-01-24 Richard Henderson <rth@redhat.com>
2899
2900 * config/alpha/alpha.md (builtin_longjmp_internal): New.
2901 (builtin_longjmp): Use it instead of emit_indirect_jump.
2902
b0cc7919
JDA
29032001-01-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
2904
2905 * bb-reorder.c (make_reorder_chain_1): Handle case where
2906 jump edge goes to the same block as the fallthru edge.
e57cabac 2907
0024a804
JW
29082001-01-23 Jim Wilson <wilson@redhat.com>
2909
2910 * dwarf2out.c (dwarf2out_line): Make last_file_num be unsigned.
2911 * frame.h (__ia64_personality_v1): Add prototype.
2912 * libgcc2.c (ia64_throw_helper): Change personality declaration to
2913 prototype form. Add void * cast to first argument to personality
2914 call.
2915 * real.c (e113toe): Surround with INTEL_EXTENDED_IEEE_FORMAT ifdefs.
2916 (asctoe113): Likewise.
2917 * config/ia64/frame-ia64.c: Include eh-common.h.
2918 * config/ia64/ia64-protos.h (sdata_section, sbbs_section): Add
2919 prototypes.
2920 * config/ia64/ia64.c (emit_insn_group_barriers): Add ATTRIBUTE_UNUSED
2921 to dump parameter.
2922 (itanium_split_issue): Add prototype.
2923 (gen_nop_type): Ifdef out.
2924 (find_best_packet): Initialize best_packet.
2925 (ia64_encode_section_info): New local string. Use for ggc_alloc_string
2926 result.
2927 * config/ia64/ia64.h (ASM_OUTPUT_LONG_DOUBLE): Use 0L not 0.
2928 * config/ia64/ia64.md (bsp_value): Add explicit stop bit at start.
2929 (flushrs): Add explicit stop bit at end.
2930 * config/ia64/lib1funcs.asm (__ia64_restore_stack_nonlocal): Change
2931 trailing \ to >.
e57cabac 2932
8a1894ac
CD
29332001-01-23 Chris Demetriou <cgd@broadcom.com>
2934
2935 * libgcc-std.ver (GCC_3.0): Add __terminate_func_set to list
2936 of EH symbols.
2937 * libgcc2.c (__terminate_func): Make variable static.
2938 (__terminate_set_func): New function to set __terminate_func.
2939 * libgcc2.h (__terminate_func_ptr): New typedef.
2940 (__terminate_set_func): New function.
2941
240f9c2b
RH
29422001-01-23 Richard Henderson <rth@redhat.com>
2943
2944 * flow.c (init_propagate_block_info): Don't consider unchanging
2945 memories for dead frame store elimination.
2946
fc9f395a
RH
29472001-01-23 Richard Henderson <rth@redhat.com>
2948
2949 * varasm.c (UNIQUE_SECTION): Move default implementation ...
2950 * defaults.h: ... here.
2951
860b3499
MH
29522001-01-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2953
2954 * c4x.h (TARGET_LOAD_DIRECT_MEMS): Define.
2955
955dc84a
NB
29562001-01-23 Neil Booth <neil@daikokuya.demon.co.uk>
2957
70305f2b 2958 * c-lex.c (lex_charconst): Fix typo: s/p/str.
955dc84a 2959
608ab802
FS
29602001-01-23 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2961
2962 * rs6000.h (rs6000_return_addr): Move prototype from here...
2963 * rs6000-protos.h (rs6000_return_addr): ...to here.
2964 (rs6000_init_expanders): Delete prototype.
2965
371e300b
NC
29662001-01-23 Nick Clifton <nickc@redhat.com>
2967
2968 * invoke.texi: Replace , with \, inside @gccoptlist macros.
2969 (Spec Files): Document %B and %j and %. and %v3 and %M and
2970 %{S*&T} spec switches.
2971
4a1f52a8
HB
29722001-01-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2973
2974 * c4x.c (c4x_r11_set_p): Calculate rtx code correctly.
2975
c933c209
CD
29762001-01-23 Chris Demetriou <cgd@sibyte.com>
2977 Neil Booth <neil@daikokuya.demon.co.uk>
2978
70305f2b
RH
2979 * cpperror.c: Merge handlers of PEDWARN and WARNING.
2980 Have -Werror make pedantic warnings errors, like the
2981 rest of GCC.
c933c209 2982
3fb74b82
PE
29832001-01-23 Phil Edwards <pme@sources.redhat.com>
2984
2985 * c-tree.texi (IDENTIFIER_LENGTH): Fix typo.
2986
96e60f0c
JJ
29872001-01-23 Jakub Jelinek <jakub@redhat.com>
2988
2989 * integrate.h (struct inline_remap): Add compare_src, compare_mode.
2990 * integrate.c (expand_inline_function): Initialize them.
2991 (subst_constants): If changing COMPARE so that both its arguments
2992 will be VOIDmode and the comparison mode will be lost, note
2993 compare_mode. Use the recorded compare_mode to optimize
2994 IF_THEN_ELSE.
2995
3f4907a6
JM
29962001-01-23 Jason Merrill <jason@redhat.com>
2997
2998 * dwarf2out.c (new_die): Use xcalloc.
2999 (output_die): Abort rather than emit a local reference to offset 0.
3000
44f715c8
AH
30012001-01-17 Andrew Haley <aph@redhat.com>
3002
3003 * libgcc2.c (get_reg_addr): Don't abort if we haven't got a copy
3004 of a saved register; return NULL instead.
3005 (copy_reg): Take a pointer to a source register rather than a
3006 frame_state.
3007 (next_stack_level): Remember the address in the stack frame of all
3008 saved registers.
3009 Use the saved register pointer array as the source of the CFA.
3010 (throw_helper): Rewrite. Unwind once rather than twice and keep
3011 track of saved registers as we go.
e57cabac 3012
eb253d90
HB
30132001-01-23 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
3014
3015 * c4x-protos.h (c4x_legitimize_reload_address): Remove.
3016 * c4x.c (c4x_legitimize_reload_address): Remove.
3017 * c4x.h (LEGITIMIZE_RELOAD_ADDRESS): Rewrite to generate correct
3018 reload address for ldp(k) insn.
3019
2caa0ddf
JL
3020Mon Jan 22 20:53:47 2001 Jeffrey A Law (law@cygnus.com)
3021
3022 * pa.md (return_internal): Add a USE of the PIC register to ensure
3023 it is restored after each call.
3024 (return expander): Corresponding changes.
3025
71f123ca
FS
30262001-01-22 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3027
3028 * rs6000.h (INIT_EXPANDERS): Delete.
3029 (RETURN_ADDR_RTX): Call rs6000_return_addr().
3030 * rs6000.c (rs6000_override_options): Call *_machine_status from
3031 here...
3032 (rs6000_init_expanders): ...instead of here. Delete.
3033 (rs6000_mark_machine_status): New function.
3034 (rs6000_init_machine_status): Use xcalloc.
3035 (rs6000_return_addr): Generate RTX for the return address.
3036 (rs6000_ra_ever_killed): New, check if LR was ever destroyed.
3037 (rs6000_stack_info): Use it.
3038
5dab7f92
TP
30392001-01-22 Thomas Pfaff <tpfaff@gmx.net>
3040
3041 * gthr-win32.h: Include errno.h to get a declaration for
3042 EINVAL and _mingw.h if the target is mingw32.
3043
586964a7
AFV
30442001-01-22 Andres Felipe Vargas <avargas@teletulua.com.co>
3045
3046 * cpp.texi: Correct typos.
3047
f5f5363f
RK
3048Mon Jan 22 13:59:09 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3049
3050 * explow.c (probe_stack_range): Ensure value passed to
3051 stack_check_libfunc is ptr_mode, not Pmode.
3052
44e4159d
R
3053Mon Jan 22 16:53:06 2001 J"orn Rennecke <amylaar@redhat.com>
3054
3055 * recog.c (validate_replace_rtx_1): In ZERO_EXTEND / SIGN_EXTEND
3056 case, don't use operand_subword to calculate a SUBREG that is
3057 wider than a word.
3058
3059 * rtl.texi: Comparisons yield 0 or STORE_FLAG_VALUE.
3060
0bbcfbaf
HB
30612001-01-22 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
3062
3063 * c4x.c (c4x_valid_rptb_p, c4x_label_ref_used_p): New functions.
3064 (c4x_rptb_insert): Call c4x_valid_rptb_p to check if repeat block is
3065 valid. If not replace it by equivalent insns.
3066
5078f5eb
HB
30672001-01-22 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
3068
3069 * c4x.c (c4x_check_legit_addr): Only check CONST. Not if CONST
3070 contains SYMBOL_REF, LABEL_REF and CONST_INT.
3071 (c4x_U_constraint, symbolic_address_operand): Likewise.
3072 (c4x_immed_float_constant): Do not check if CONST_DOUBLE is in
3073 memory.
3074 (c4x_r11_set_p, c4x_check_laj_p): New functions.
3075 * c4x-protos.h (c4x_check_laj_p): Add prototype.
e57cabac 3076 * c4x.md (in_annul_slot_3): Do not allow auto-increment in last
5078f5eb
HB
3077 anulling slot because of silicon bug.
3078 (laj, lajv): Call c4x_check_laj_p to check for silicon bug.
3079
6dc0d164
AM
30802001-01-22 Alan Modra <alan@linuxcare.com.au>
3081
70305f2b
RH
3082 * cppexp.c (parse_charconst): Change `mask' type to agree
3083 with parse_escape.
6dc0d164 3084
c7f0da1d
RH
30852001-01-21 Richard Henderson <rth@redhat.com>
3086
3087 * config/i386/i386.c (ix86_asm_file_end): Disable putting
3088 pic_label_name in a linkonce section.
3089
380a627a
PT
30902001-01-17 Philipp Thomas <pthomas@suse.de>
3091
3092 * aclocal.m4 (AM_WITH_NLS): Add -lintl to LIBS if gettext was
3093 found in libintl.
3094 * configure: Regenerate.
3095
02a65aef
R
3096Sun Jan 21 02:38:56 2001 J"orn Rennecke <amylaar@redhat.com>
3097
3098 * expmed.c (synth_mult, expand_mult_highpart, expand_divmod): Guard
3099 uses of shift_cost, shiftadd_cost and shiftsub_cost with bound checks.
3100
56b871c1
DC
3101Sun Jan 21 09:44:17 2001 Denis Chertykov <denisc@overta.ru>
3102
3103 * config/avr/avr.c (ret_cond_branch): New argument (reverse) added.
3104 If REVERSE nonzero then condition code in X must be reversed.
3105 (encode_section_info): Optimise if/else.
3106 (avr_function_value): Fix formatting.
3107
3108 * config/avr/avr.md (branch): Call to ret_cond_branch changed.
3109 (difficult_branch): Likewise.
3110 (rvbranch): Likewise.
3111 (difficult_rvbranch): Likewise.
3112
3113 * config/avr/avr-protos.h (ret_cond_branch): Prototype changed.
3114
3115 * config/avr/libgcc.S: Fix comment.
3116
04e91ffb
MS
31172001-01-20 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3118
3119 * sdbout.c (PUT_SDB_DEF): Fix after last bogus change.
3120
3943e756
MS
31212001-01-20 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3122
3123 * cppinit.c (INO_T_EQ): Don't use #elif, fix formatting.
3124
b3e1e64f
MS
31252001-01-20 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3126
3127 * aclocal.m4 (gcc_AC_FUNC_STRSTR): New macro.
3128 * configure.in (gcc_AC_FUNC_STRSTR): Add invokation.
3129 * configure, config.in: Regenerate.
3130 * Makefile.in (STRSTR, HOST_STRSTR, USE_HOST_STRSTR): New variables.
3131 (LIBDEPS, HOST_LIBDEPS, LIBS, HOST_LIBS): Add strstr handling.
3132 (strstr.o, $(HOST_PREFIX_1)strstr.o): New rules.
3133 (doprint.o): New rule.
3134
47f8b473
JM
31352001-01-20 Joseph S. Myers <jsm28@cam.ac.uk>
3136
3137 * c-typeck.c (digest_init): Handle boolean types as scalars.
3138
2954d7db
RK
3139Sat Jan 20 12:46:57 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3140
3141 * stmt.c (expand_return): Don't return anything if size is zero.
3142 Delete redundant assignment to BYTES.
3143 * expr.c (move_block_from_reg): Do nothing if NREGS is zero.
3144
1d26ac96
MM
31452001-01-20 Marek Michalkiewicz <marekm@linux.org.pl>
3146
3147 * config/avr/avr.h (INIT_TARGET_OPTABS): Remove most of it, was
3148 the same as the default library function names.
3149 * config/avr/avr.md: Document special characters after '%'.
3150 (mulqi3, mulhi3, mulsi3): Call libgcc.S functions ourselves,
3151 knowing which of the call-used registers are really clobbered.
3152 (divmodqi4, udivmodqi4, divmodhi4, udivmodhi4, divmodsi4, udivmodsi4):
3153 New. Both quotient and remainder from one libgcc.S call.
3154 * config/avr/libgcc.S: Optimize mul/divmod for the new insns above,
3155 clobber as few registers as possible.
3156 * config/avr/t-avr (LIB1ASMFUNCS): Adjust for the above changes.
3157
673b13e2
NB
31582001-01-20 Neil Booth <neil@daikokuya.demon.co.uk>
3159
70305f2b
RH
3160 * cppmacro.c (funlike_invocation_p): Don't move back up to the
3161 context of the top of the stack.
673b13e2 3162
a42a5f59
ZW
31632001-01-20 Jakub Jelinek <jakub@redhat.com>
3164
3165 * function.c (fixup_var_refs): Move CALL_PLACEHOLDER handling...
3166 (fixup_var_refs_insns): ...here.
3167
a42a5f59
ZW
31682001-01-20 Zack Weinberg <zack@wolery.stanford.edu>
3169
3170 * function.c (fixup_var_refs_insns): Break up into
3171 fixup_var_refs_insn [body of loop], fixup_var_refs_insns
3172 [loop over entire insn list], and fixup_var_refs_insns_with_hash
3173 [loop over hash table entries].
3174 (fixup_var_refs): Adjust calls to fixup_var_refs_insns and/or
3175 fixup_var_refs_insns_with_hash, to match above changes.
3176
03bbd83f
JDA
31772001-01-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
3178
3179 * Makefile.in (ORDINARY_FLAGS_TO_PASS): Add MAKEOVERRIDES variable.
3180 (libgcc.a): Likewise.
3181 (stmp-multilib): Likewise.
3182 (STAGE2_FLAGS_TO_PASS): Likewise.
3183
68c37dc9
AO
31842001-01-19 Alexandre Oliva <aoliva@redhat.com>
3185
3186 * config/sh/sh.c (prepare_move_operands) [PIC]: Use operands[0] as
3187 temporary if no_new_pseudos.
3188
111e0469
NB
31892001-01-19 Neil Booth <neil@daikokuya.demon.co.uk>
3190
a42a5f59 3191 * cppinternals.texi: Update.
111e0469 3192
55cf7bb9
RE
31932001-01-19 Richard Earnshaw <rearnsha@arm.com>
3194
3195 * arm.c (arm_init_builtins): Re-enable builtins.
3196
831ecbd4
RK
3197Fri Jan 19 13:02:56 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3198
7193d1dc
RK
3199 * rtl.texi (SET, CLOBBER): Document PARALLEL as SET_DEST possibility.
3200 * flow.c (mark_set_1, case PARALLEL): Don't require BLKmode, allow
3201 element to be null, and always expect an EXPR_LIST.
3202 * rtlanal.c (reg_overlap_mentioned_p, note_stores): Likewise.
3203 * sched-deps.c (sched_analyze_1): Likewise.
3204 * sched-rgn.c (check_live_1, update_live_1): Likewise.
3205
79b9ec0d
RK
3206 * regclass.c (max_set_parallel): New variable.
3207 (reg_scan): Take it into account in computation of max_parallel.
3208 (reg_scan_mark_refs, case SET): Compute it.
3209
831ecbd4
RK
3210 * alias.c (rtx_equal_for_memref_p, case ADDRESSOF): Don't assume
3211 args are REG.
3212 * expr.c (store_constructor): Don't look at MEM_ALIAS_SET unless MEM.
3213 * function.c (assign_parms): Use INTVAL for a CONST_INT.
3214
cb9e9d8d
JM
32152001-01-19 Jason Merrill <jason@redhat.com>
3216
3217 * dwarf2out.c (gen_subprogram_die): Don't reuse the in-class decl
3218 for the abstract instance of an inline function.
3219
831ecbd4
RK
3220Fri Jan 19 14:31:35 2001 Alexandre Oliva <aoliva@redhat.com>
3221 J"orn Rennecke <amylaar@redhat.com>
61f5625b 3222
20342a6b
AO
3223 * reload1.c (move2add_note_store): Treat all registers directly or
3224 indirectly derived from a base register as members of the same set
3225 of values.
3226 (reload_cse_move2add): Adjust accordingly. Take mode and offset
3227 of base register into account.
61f5625b 3228
61f0131c
R
3229Fri Jan 19 09:18:42 2001 J"orn Rennecke <amylaar@redhat.com>
3230
3231 * alias.c (find_base_value): Recognize TRUNCATE.
3232 (record_set): In PLUS case, invalidate if other summand is also a
3233 base value.
3234
8eeb855e
RK
3235Thu Jan 18 06:43:04 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3236
831ecbd4 3237 * flow.c (mark_set_1, case PARALLEL): New case; rework to allow
90d036a0
RK
3238 entry to be EXPR_LIST.
3239 * rtlanal.c (reg_overlap_mentioned_p): Allow PARALLEL in SET to
3240 be an EXPR_LIST (but not null, which other code doesn't allow).
3241 (note_stores): Properly handle PARALLEL in SET.
3242 Recursively call for top-level PARALLEL.
3243 * sched-deps.c (sched_analyze_1): Handle EXPR_LIST in PARALLEL in SET.
3244 * sched-rgn.c (check_live_1, update_live_1): Likewise.
3245
8eeb855e
RK
3246 * config.gcc (rs6000-ibm-aix*, rs6000-bull-bosx): Add rs6000/aix.h.
3247
6fe349a9
NB
32482001-01-18 Neil Booth <neil@daikokuya.demon.co.uk>
3249
a42a5f59
ZW
3250 * cpplib.c (_cpp_handle_directive): Use buffer->was_skipping,
3251 not pfile->skipping (== 0).
6fe349a9 3252
988144ce
NC
32532001-01-17 Nick Clifton <nickc@redhat.com>
3254
3255 * config/rs6000/rs6000.c: Add prototypes for {init|free}_
3256 machine_status.
3257
15d3a111
JW
32582001-01-17 Jim Wilson <wilson@redhat.com>
3259
3260 * invoke.texi (IA-64 options): Improve.
3261
2bab2366
TT
32622001-01-17 Tom Tromey <tromey@redhat.com>
3263
3264 * invoke.texi (Optimize Options): Use `{}' to around @samp
3265 argument.
3266
454d0cc7
AH
32672001-01-17 Aldy Hernandez <aldyh@redhat.com>
3268
a42a5f59 3269 * invoke.texi (-fno-guess-branch-probability): New option.
454d0cc7 3270
c7be4f66
RK
3271Wed Jan 17 13:26:34 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3272
3273 * combine.c (try_combine): Don't set i3_subst_into_i2 for
3274 case of making new double-word constant.
3275 Revert last change: instead just test i3_subst_into_i2.
3276
5efdd890
JJ
32772001-01-17 Jakub Jelinek <jakub@redhat.com>
3278
3279 * config/i386/i386.md (cmpqi_minus_1): Use {b} for QImode operation.
d70401eb 3280 Use q constraints instead of r.
5efdd890 3281
5dfcd8e1
AM
3282Tue Jan 16 22:23:04 2001 Alan Modra (alan@linuxcare.com.au)
3283
3284 * config/pa/pa.h (PIC_OFFSET_TABLE_REGNUM_SAVED): Remove.
3285 (machine_function): Define.
3286 (PIC_OFFSET_TABLE_SAVE_RTX) : Define.
3287 * config/pa/pa.c (pa_init_machine_status, pa_mark_machine_status,
3288 pa_free_machine_status): New functions.
3289 (override_options): Set {init,mark,free}_machine_status to above.
3290 (hppa_expand_prologue): Use PIC_OFFSET_TABLE_SAVE_RTX instead of
3291 PIC_OFFSET_TABLE_REGNUM_SAVED.
3292 * config/pa/pa.md: Use PIC_OFFSET_TABLE_SAVE_RTX instead of
3293 PIC_OFFSET_TABLE_REGNUM_SAVED throughout.
3294 * config/pa/pa32-regs.h (CONDITIONAL_REGISTER_USAGE): Remove
3295 references to PIC_OFFSET_TABLE_REGNUM_SAVED.
3296 * config/pa/pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Likewise.
3297
ce3b8848
DD
32982001-01-15 DJ Delorie <dj@redhat.com>
3299
3300 * Makefile.in (gcov.1): Protect against texi2pod/pod2man failing.
3301 (cpp.1): Ditto.
3302 (gcc.1): Ditto.
3303
6953fdb4
RK
3304Tue Jan 16 17:20:43 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3305
50e9b3f1
RK
3306 * flow.c (propagate_on_insn): Make trying to delete a prologue
3307 or epilogue insn an ICE, not a warning. Allow doing this if
3308 the current function returns with stack pointer depressed.
3309
6953fdb4
RK
3310 * combine.c (try_combine): If i3_subst_into_i2, properly check for
3311 I3 having more than one SET.
3312
aebf2462
JW
33132001-01-16 Jim Wilson <wilson@redhat.com>
3314
df6194d4
JW
3315 * invoke.texi: Document IA-64 options.
3316
aebf2462
JW
3317 * config/ia64/ia64.c (ia64_print_operand_address): Delete 'B' support.
3318 (fixup_errata): Delete TARGET_A_STEP use.
3319 * config/ia64/ia64.h (MASK_A_STEP, TARGET_A_STEP): Delete.
3320 (TARGET_SWITCHES): Delete -ma-step option.
3321 * config/ia64/ia64.md (all FP patterns): Delete %B0.
3322 (movqicc_astep, movqi_internal_astep, movhicc_astep,
3323 movhi_internal_astep, movsicc_astep, movsi_internal_astep, movdi+1,
3324 movdi_internal_astep, movsfcc_astep, movsf_internal_astep,
3325 movdfcc_astep, movdf_internal_astep, movtfcc_astep,
3326 movtf_internal_astep, cmovdi_internal_astep, cmovsi_internal_astep):
3327 Delete.
3328 (movqi_internal, movhi_internal, movsi_internal, movdi_internal,
3329 movsf_internal, movdf_internal, movtf_internal, cmovdi_internal,
3330 cmovsi_internal): Delete ! TARGET_A_STEP check.
a42a5f59 3331
aebb127a
GP
33322001-01-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3333
3334 * gcc.texi (Bug Lists): Do not mention newsgroups nor the
3335 possibility to report bugs via postal mail. Change a URL and
3336 merge in a nearly duplicate statement...
3337 (Bug Reporting): ...from here.
3338 (Service): Refer to the Bug Reporting section instead of
3339 duplicating an URL.
3340 (Contributing): Remove trivial explanations concerning snapshots.
3341
95f4ac8b
AM
33422001-01-16 Alan Modra <alan@linuxcare.com.au>
3343
a42a5f59 3344 * cppmain.c (general_init): Don't use ANSI prototype.
95f4ac8b 3345
c32ee81e
TT
33462001-01-16 Tom Tromey <tromey@redhat.com>
3347
3348 * gcc.c (cpp_options): Added `*' to specs for -MF, -MQ, and -MT.
3349
2c873473
RH
33502001-01-16 Richard Henderson <rth@redhat.com>
3351
3352 * config/i386/i386.h: Fix comment typo.
3353 * config/i386/i386.md (shift+compare pattern names): s/cmpno/cmp/
3354 (ashr+compare patterns): Match CCGOCmode not CCNOmode.
3355
76e5b312
PE
33562001-01-16 Phil Edwards <pme@sources.redhat.com>
3357
3358 * gcc.c: Revert previous -fsyntax-only-related change; move
20f9202d 3359 to cp/g++spec.c.
76e5b312 3360
b62d22a2
JJ
33612001-01-16 Jakub Jelinek <jakub@redhat.com>
3362
3363 * config/i386/i386.c (fcmov_comparison_operator): Only initialize
3364 inmode after checking GET_CODE (op).
3365
0875baa0
RH
33662001-01-16 Richard Henderson <rth@redhat.com>
3367
3368 * flow.c (struct propagate_block_info): Add mem_set_list_len.
3369 (MAX_MEM_SET_LIST_LEN): New.
3370 (propagate_one_insn): Update mem_set_list_len.
3371 (invalidate_mems_from_autoinc): Likewise.
3372 (invalidate_mems_from_set): Likewise.
3373 (mark_used_regs): Likewise.
3374 (init_propagate_block_info): Likewise. Stop collecting memories
3375 when we reach MAX_MEM_SET_LIST_LEN.
3376 (mark_set_1): Likewise.
3377
c55fa4d6
RH
33782001-01-16 Richard Henderson <rth@redhat.com>
3379
3380 * unroll.c (precondition_loop_p): Fail if no iteration
3381 variable found.
3382
6488ac06
PE
33832001-01-16 Phil Edwards <pme@sources.redhat.com>
3384
3385 * gcc.c: When -fsyntax-only is given, do not complain about
20f9202d 3386 unused libraries.
6488ac06 3387
4cf12e7e
RH
33882001-01-15 Richard Henderson <rth@redhat.com>
3389
3390 * config/i386/i386.c (asm_output_function_prefix): Remove.
3391 (ix86_asm_file_end): New.
3392 (load_pic_register): Generate pic_label_name into a
3393 staticly allocated buffer.
3394 * config/i386/i386-protos.h: Update.
3395 * config/i386/i386.h (ASM_OUTPUT_FUNCTION_PREFIX): Remove.
3396 (ASM_FILE_END): New.
3397 * config/i386/i386afe.h: New file.
3398 * config.gcc (i?86-*-elf) [tm_file]: Use it.
3399 (i?86-*-{freebsd,linux*,moss*}): Likewise.
3400 * config/elfos.h (ASM_FILE_END): Undef before redefinition.
3401 * config/i386/cygwin.h (ASM_FILE_END): Likewise.
3402 * config/i386/osfrose.h (ASM_FILE_END): Invoke ix86_asm_file_end.
3403 * config/i386/sco5.h (ASM_FILE_END): Likewise.
3404 * config/i386/winnt.c (i386_pe_asm_file_end): Likewise.
3405
3f896fc2
JM
34062001-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
3407
ad3b5aff
JM
3408 * Makefile.in (install-man): Remove explicit dependency on
3409 $(srcdir)/gcc.1.
3410
3f896fc2
JM
3411 * configure.in, configure: Revert previous patch requiring perl
3412 5.6.0.
3413
3ff51205
AH
34142001-01-12 Aldy Hernandez <aldyh@redhat.com>
3415
3416 * toplev.c (flag_guess_branch_prob): New.
3417 (f_options): Add guess-branch-probability option.
3418 (rest_of_decl_compilation): Only estimate branch probability if
3419 flag set.
3420 (main): set flag_guess_branch_prob.
3421
3422 * flags.h (flag_guess_branch_prob): New.
3423
b8dea7e0
DD
34242001-01-15 DJ Delorie <dj@redhat.com>
3425
3426 * gcc.texi (Makefile): Add documentation for Makefile targets.
3427
c1163e75
PB
34282001-01-15 Philip Blundell <philb@gnu.org>
3429
3430 * config/arm/arm.c (arm_finalize_pic): New arg "prologue".
3431 (is_pic): Delete.
3432 * config/arm/arm-protos.h (arm_finalize_pic): Update prototype.
3433 (is_pic): Delete declaration.
3cf96b52 3434 * config/arm/arm.h (FINALIZE_PIC): Update call to arm_finalize_pic.
c1163e75 3435 (OUTPUT_INT_ADDR_CONST): Remove special handling of PIC address.
3cf96b52 3436 * config/arm/arm.md (builtin_setjmp_receiver): New.
c1163e75 3437
9b598fa0
RE
34382001-01-15 Richard Earnshaw <rearnsha@arm.com>
3439
3440 * arm.c (use_return_insn): Don't try to determine the function type
3441 until after reload has completed.
3442 (arm_output_epilogue): Don't adjust the sp value recovered from the
3443 stack.
3444 (emit_multi_reg_push): Don't record dwarf information for the pc.
3445 * arm.md (eh_epilogue): The function type may have changed, so it
3446 needs to be recalculated.
a42a5f59 3447 * arm/netbsd.h (DWARF2_UNWIND_INFO): Delete. Can now use dwarf2
9b598fa0
RE
3448 unwind tables on arm/netbsd.
3449
6c98269c
RE
34502001-01-15 Richard Earnshaw <rearnsha@arm.com>
3451
3452 * arm.md (cbranchsi4): Correct calculation of branch ranges.
3453 (negated_cbranchsi4): Likewise.
3454
fa13446b
RE
34552001-01-15 Richard Earnshaw <rearnsha@arm.com>
3456
3457 * config/arm/semi.h (SUBTARGET_EXTRA_SPECS): Define.
3458 (SUBTARGET_EXTRA_ASM_SPEC): Define to empty string.
b3c5b2be
RE
3459 (ASM_SPEC): Call subtarget_extra_asm_spec. Don't
3460 pass -mapcs-* options to assembler.
fa13446b
RE
3461 * config/arm/elf.h (SUBTARGET_EXTRA_SPECS): Define.
3462 (SUBTARGET_EXTRA_ASM_SPEC): Define to empty string.
3463 (ASM_SPEC): Call subtarget_extra_asm_spec.
3464
77ebd435
AJ
34652001-01-15 Andreas Jaeger <aj@suse.de>
3466
a42a5f59 3467 * config/i386/i386.c (ix86_init_builtins): Make i size_t to remove
fa13446b 3468 warnings.
77ebd435
AJ
3469 (ix86_expand_builtin): Likewise.
3470
3471 * gencodes.c (output_predicate_decls): Make i size_t to avoid
3472 warning about comparison between signed and unsigned.
3473
998a298e
GK
34742001-01-14 Geoffrey Keating <geoffk@redhat.com>
3475
3476 * expr.c (do_jump): Treat VOIDmode CONST_DOUBLEs like CONST_INTs.
3477
1b26cad7
RB
34782001-01-14 Ralf Baechle <ralf@gnu.org>
3479
a42a5f59
ZW
3480 * config/mips/linux.h (SUBTARGET_CPP_SPEC): Default ABI is 32; change
3481 SUBTARGET_CPP_SPEC apropriatly.
1b26cad7 3482
e3406b2a
MM
34832001-01-12 Mark Mitchell <mark@codesourcery.com>
3484
3485 * varasm.c (make_decl_rtl): Fix typo in last change.
3486
ea4f1fce
JO
34872001-01-14 Jeffrey Oldham <oldham@codesourcery.com>
3488
3489 * defaults.h (SUPPORTS_INIT_PRIORITY): New macro to indicate the
3490 linker supports the init_priority C++ attribute.
3491 * tm.texi (SUPPORTS_INIT_PRIORITY): Documentation for new macro.
3492 * config/mips/iris6.h (SUPPORTS_INIT_PRIORITY): Indicate Irix
3493 linker does not support init_priority C++ attribute.
3494
3e854cf7
R
3495Sun Jan 14 22:31:30 2001 J"orn Rennecke <amylaar@redhat.com>
3496
3497 * Makefile.in (libgcc1-test.o): Depends on stmp-int-hdrs.
3498
400023a3
NB
34992001-01-14 Neil Booth <neil@daikokuya.demon.co.uk>
3500
a42a5f59
ZW
3501 * c-parse.in (finish_parse): Add comment about cpp_destroy.
3502 * cp/lex.c (finish_parse): Similarly.
3503 * cppinit.c (cpp_cleanup): Rename cpp_destroy for clarity.
3504 Return the number of errors encountered.
3505 * cpplib.h (cpp_cleanup): Rename cpp_destroy, return int.
3506 * cppmain.c (main): Don't call cpp_destroy.
400023a3 3507
150d3c00
JM
35082001-01-14 Joseph S. Myers <jsm28@cam.ac.uk>
3509
3510 * configure.in: Require at least perl 5.6.0 to regenerate
3511 manpages.
3512 * configure: Regenerate.
3513
521b9224
RH
35142001-01-14 Richard Henderson <rth@redhat.com>
3515
3516 * genrecog.c (DT_veclen_ge): New.
3517 (add_to_sequence) [MATCH_PARALLEL]: Generate one.
3518 (maybe_both_true_2): Simplify DT_veclen vs DT_veclen_ge.
3519 (nodes_identical_1): Handle DT_veclen_ge.
3520 (write_cond, debug_decision_2): Likewise.
3521
d6c5a763
RE
35222001-01-14 Richard Earnshaw <rearnsha@arm.com>
3523
3524 * arm.md (ldmsi_postinc, ldmsi, stmsi_postinc, smsi): Delete. Replace
3525 with ...
3526 (ldmsi_postinc[432], ldmsi[432], stmsi_postinc[432], stmsi[432]): New.
3527
6de8f7fc
NB
35282001-01-14 Neil Booth <neil@daikokuya.demon.co.uk>
3529
a42a5f59
ZW
3530 * cppmain.c (do_preprocessing): New function; most of the old
3531 main.
3532 (main): Call it to do most of the work.
3533 (cb): Move from global scope to set_callbacks ().
3534 (setup_callbacks): Get the callback pointer.
3535 (general_init, printer_init): Clean up code and comments.
6de8f7fc 3536
17879734
RE
35372001-01-14 Richard Earnshaw <rearnsha@arm.com>
3538
1b26cad7 3539 * config/arm/semi.h (ASM_SPEC): Pass -k to the assembler when
17879734
RE
3540 compiling PIC.
3541
c009a745
KH
35422001-01-14 Kazu Hirata <kazu@hxi.com>
3543
3544 * config/h8300/h8300.c (get_shift_alg): Update comments.
3545
bd0f0717
RK
3546Sun Jan 14 06:20:49 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3547
3548 * ggc-page.c (alloc_annon): Call perror and correctly call exit.
3549 (alloc_page, ggc_alloc): Add casts to remove warnings.
3550
aa6683f7
GK
35512001-01-14 Geoffrey Keating <geoffk@redhat.com>
3552
3553 * combine.c (simplify_comparison): Don't change `code' when
3554 can't reverse comparison.
3555
fce7e199
RH
35562001-01-14 Richard Henderson <rth@redhat.com>
3557
3558 * rtlanal.c (computed_jump_p_1): Rename from jmp_uses_reg_or_mem;
3559 update all call sites. Return true for all non-label constants.
3560
a1b8572c
JH
3561Sun Jan 14 10:09:48 MET 2001 Jan hubicka <jh@suse.cz>
3562
3563 * i386.c (ix86_expand_compare): Add bypass_test and second_test
3564 parameters.
3565 (ix86_expand_branch): Update.
3566 (ix86_expand_setcc): Update to handle multiple test conditions.
3567 (expand_int_movcc): Likewise.
3568 (expand_fp_movcc): Likewise.
3569 * i386-protos.h (ix86_expand_compare): New.
3570 * i386.md (andqi_?_slp, orqi_?_slp): New.
3571 (conditional trap expander): Update call to ix86_expand_compare.
3572
17ad4377
RH
35732001-01-14 Richard Henderson <rth@redhat.com>
3574
3575 * config/vax/vax.md: Use nonimmediate_operand instead of
3576 general_operand in destinations.
3577
5b9b177a
RH
3578 * config/vax/vax.md (indirect_jump): Use register_operand.
3579
264ddbaa
RH
3580 * config/vax/vax.h (RETURN_POPS_ARGS): Max at 255 arguments.
3581 * config/vax/vax.md (call_pop): Turn into an expander.
3582 (call_value_pop): Likewise.
3583 (call, call_value): New.
3584
8752c357
AJ
35852001-01-14 Andreas Jaeger <aj@suse.de>
3586
3587 * config/i386/i386.c (ix86_split_fp_branch): Remove unused
3588 variables.
3589 (ix86_fp_compare_mode): Add unused attribute.
3590 (ix86_expand_fp_movcc): Remove unused variable.
3591 (ix86_expand_builtin): Make fcode unsigned.
3592
3593 * expr.c (MOVE_BY_PIECES_P): Cast MOVE_RATIO to unsigned.
3594 (expand_expr): Add cast to avoid signed warning.
3595 (store_field): Likewise.
3596 (store_constructor_field): Likewise.
3597 (store_constructor): Likewise.
3598 (store_expr): Likewise.
3599 (clear_storage): Likewise.
3600 (emit_group_store): Likewise.
3601 (emit_group_load): Likewise.
3602
1312c143
JM
36032001-01-13 Joseph S. Myers <jsm28@cam.ac.uk>
3604
3605 * c-common.c: Move format checking code to ...
3606 * c-format.c: ... here. New file. Reorder some functions and
3607 declarations.
3608 (decl_handle_format_attribute, decl_handle_format_arg_attribute):
3609 New functions.
3610 * c-common.h (decl_handle_format_attribute,
3611 decl_handle_format_arg_attribute): Declare.
3612 * Makefile.in (C_AND_OBJC_OBJS): Add c-format.o.
3613 (c-common.o): Adjust dependencies.
3614 (c-format.o): New list of dependencies.
3615
9e2adb2a
JJ
36162001-01-13 Jakub Jelinek <jakub@redhat.com>
3617
3618 * unroll.c (loop_iterations): If we cannot prove iteration variable
3619 is set once in each iteration, punt.
3620
63eaee71
DC
3621Sun Jan 14 00:23:15 2001 Denis Chertykov <denisc@overta.ru>
3622
3623 * config/avr/avr.md ("strlenhi"): Remove clobber of input address.
3624 (*strlenhi): Remove clobber (which was buggy) of output address.
3625
4bc1997b
JM
36262001-01-13 Joseph S. Myers <jsm28@cam.ac.uk>
3627
3628 * Makefile.in (generated-manpages): Add gcc.1
3629 ($(srcdir)/gcc.1): New target.
3630 (maintainer-clean): Delete $(srcdir)/gcc.1.
3631 * gcc.texi: Add macros @gccoptlist and @gol.
3632 * invoke.texi: Include option summary in manpage. Mark up option
3633 summary with @gccoptlist and @gol. Use @r in one place where
3634 appropriate.
3635 * texinfo.tex: Update to version 2000-12-11.07 from ftp.gnu.org.
3636 * gcc.1: Generate from invoke.texi.
3637
130fadbb
RH
36382001-01-13 Richard Henderson <rth@redhat.com>
3639
3640 * ggc-page.c (USING_MALLOC_PAGE_GROUPS): New; set if not using mmap.
3641 (struct page_entry): Add group member.
3642 (struct page_group): New.
3643 (struct globals): Add page_groups member.
3644 (alloc_anon): Only define for using mmap; remove valloc call.
3645 (page_group_index): New.
3646 (set_page_group_in_use): New.
3647 (clear_page_group_in_use): New.
3648 (alloc_page): Implement USING_MALLOC_PAGE_GROUPS.
3649 (free_page, release_pages): Likewise.
3650 * configure.in (with-gc): Default to ggc-page always.
3651
086fef9e
AO
36522001-01-13 Alexandre Oliva <aoliva@redhat.com>
3653
3654 * reload1.c (replace_pseudos_in_call_usage): Use
3655 reg_equiv_constant and reg_equiv_address, and don't try
3656 regno_reg_rtx first.
3657
ca79429a
RH
36582001-01-13 Richard Henderson <rth@redhat.com>
3659
3660 * ggc-page.c (alloc_page): Round up allocation size to one page.
3661 Set e->order on extra pages.
3662
2cec75a1
RH
36632001-01-13 Richard Henderson <rth@redhat.com>
3664
3665 * genrecog.c (nodes_identical): Expand commentary.
3666 (write_switch): Watch out for identical nodes.
3667
d6d52dd6
NB
36682001-01-13 Neil Booth <neil@daikokuya.demon.co.uk>
3669
a42a5f59
ZW
3670 * cppfiles.c (_cpp_fake_include): New function.
3671 * cpphash.h (_cpp_fake_include): New.
3672 * cpplib.c (do_line): Call _cpp_fake_include when entering
3673 header files in preprocessed input.
3674 * cppmain.c (cb_pragma_implementation): Remove handling.
d6d52dd6
NB
3675 (setup_callbacks): Don't register pragmas.
3676
ccd96f0a
NB
36772001-01-13 Neil Booth <neil@daikokuya.demon.co.uk>
3678
3679 * extend.texi: Udate for CPP.
3680
174fa2c4
AJ
36812001-01-13 Andreas Jaeger <aj@suse.de>
3682
3683 * reload1.c: Add prototype for replace_pseudos_in_call_usage.
3684
3685 * regmove.c: Add prototype for replace_in_call_usage.
3686
8121d2c3
NB
36872001-01-13 Neil Booth <neil@daikokuya.demon.co.uk>
3688
a42a5f59
ZW
3689 * cpplib.h (cpp_pool, mi_state, mi_ind, struct cpp_macro,
3690 struct cpp_chunk, struct htab, struct toklist,
3691 struct cpp_context, CPP_STACK_MAX, struct lexer_state,
3692 struct spec_nodes, struct cpp_reader, CPP_OPTION, CPP_BUFFER,
3693 CPP_BUF_LINE, CPP_BUF_COL, CPP_BUF_COLUMN, U, ustrcmp, ustrncmp,
3694 ustrlen, uxstrdup, ustrchr, ufputs): Move to cpphash.h.
3695 (struct macro_args): Delete.
3696 * cpphash.h: See above.
8121d2c3 3697
620ef26c
NB
36982001-01-13 Neil Booth <neil@daikokuya.demon.co.uk>
3699
a42a5f59
ZW
3700 * cppmain.c (struct printer): Remove no_line_dirs.
3701 (options, cb): New.
3702 (main, setup_callbacks, scan_buffer, printer_init, cb_define)
3703 : Use options rather than CPP_OPTION.
3704 (setup_callbacks): Use cb rather than pfile->cb.
3705 (main): No need to check for a buffer. Use cpp_errors.
3706 (printer_init): Don't set no_line_dirs.
3707 (maybe_print_line): Use options not no_line_dirs.
3708 (cb_file_change): Don't call print_line if -P.
620ef26c 3709
b61c5ed0
NB
37102001-01-13 Neil Booth <neil@daikokuya.demon.co.uk>
3711
a42a5f59
ZW
3712 * c-lex.c (init_c_lex): Use cpp_get_callbacks to set
3713 callbacks.
3714 * c-parse.in (finish_parse): Use cpp_errors.
3715 (__yylex): Use return value of cpp_pop_buffer.
3716 * cp/lex.c (finish_parse): Use cpp_errors.
3717 * cp/spew.c (read_token): Use return value of cpp_pop_buffer.
b61c5ed0 3718
f14269a0
DC
3719Sat Jan 13 16:57:40 2001 Denis Chertykov <denisc@overta.ru>
3720
3721 * README.AVR: URLs corrected.
3722
757e6639
RK
3723Sat Jan 13 07:30:02 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3724
3725 * c-decl.c (start_function): Don't warn if old prototype is builtin
3726 that's not in C's namespace.
3727 * libgcc2.c (_varargs): Update definition of __builtin_saveregs.
3728 (_bb): Add prototype for ctime.
3729 * config/alpha/osf.h (TRANSFER_FROM_TRAMPOLINE): Add missing protos.
3730
9e7adcb3
JH
3731Sat Jan 13 09:53:32 MET 2001 Jan Hubicka <jh@suse.cz>
3732
3733 * i386.c (ix86_fp_comparison_arithmetics_cost,
3734 ix86_fp_comparison_fcomi_cost, ix86_fp_comparison_sahf_cost,
3735 ix86_fp_comparison_cost): New functions.
3736 (ix86_expand_fp_compare): Use the costs to choose best bethod; add
3737 two new parameters SECOND_TEST and BYPASS_TEST; allow generating
3738 two-branch sequences; make static.
3739 (ix86_use_fcomi_compare): Do decision according to the costs.
3740 (split_fp_branch): New.
3741 * i386.md (compare-and-branch patterns): Use split_fp_branch.
3742 * i386-protos.h (ix86_expand_fp_compare): Remove
3743 (ix86_split_fp_branch): Declare.
3744
3745 * i386.h (PREDICATE_CODES): Update codes from fcmov_comparison_operand
3746 and ix86_comparison_operator.
3747
3748 * i386.c (ix86_prepare_fp_compare_args): Try to rearange the comparison
3749 to make it cheaper.
3750
3751 * i386.c (put_condition_code): Output properly the unordered/ordered
3752 compares in fp case.
3753 (ix86_expand_fp_movcc): Use ix86_expand_compare infrastructure.
3754
3755 * tm.texi (REVERSE_CONDITION): Document.
3756 * i386.c (ix86_fp_compare_mode): Simplify; return always CCFPmode
3757 in -ffast-math mode.
3758 * i386.h (REVERSE_CONDITION, REVERSIBLE_CC_MODE): New macro.
3759
35ef2880
AO
37602001-01-13 Alexandre Oliva <aoliva@redhat.com>
3761
89d4bc35
AO
3762 * config/sh/sh.c (sh_expand_epilogue): Use PR explicitly.
3763
b90dbca6
AO
3764 * config/sh/sh.c (sh_expand_prologue): Let the second toggle_sz be
3765 optimized away.
3766
35ef2880
AO
3767 * config/sh/sh.c (mova_p): Fix test for mova_const.
3768
f85c14ee
NB
37692001-01-13 Neil Booth <neil@daikokuya.demon.co.uk>
3770
a42a5f59
ZW
3771 * fix-header.c (read_scan_file): Use cpp_get_callbacks and
3772 cpp_get_options rather than dereferencing pfile and using
3773 CPP_OPTION.
3774 * scan-decls.c (scan_decls): Use return value of
3775 cpp_pop_buffer rather than CPP_BUFFER.
174fa2c4 3776
7e96d768
NB
37772001-01-13 Neil Booth <neil@daikokuya.demon.co.uk>
3778
a42a5f59
ZW
3779 * cppinit.c (cpp_handle_option): help_only is now part of the
3780 cpp_options structure.
3781 * cpplib.c (cpp_errors, cpp_get_options, cpp_get_callbacks,
3782 cpp_set_callbacks): New functions.
3783 * cpplib.h (cpp_callbacks): Break out as a named structure.
3784 (cpp_options): Move help_only here from cpp_reader.
3785 (CPP_FATAL_ERRORS): Update to use cpp_errors.
3786 (cpp_errors, cpp_get_options, cpp_get_callbacks,
3787 cpp_set_callbacks): New prototypes.
3788 * cppmain.c (main): Update for help_only.
7e96d768 3789
23de1fbf
JM
37902001-01-13 Joseph S. Myers <jsm28@cam.ac.uk>
3791
3792 * Makefile.in (info, maintainer-clean, install-info, uninstall):
3793 Also build and remove and install and uninstall c-tree.info and
3794 cppinternals.info.
3795 ($(srcdir)/gcc.info): Add dependency on contrib.texi.
3796 ($(srcdir)/cppinternals.info): New target.
3797 * c-tree.texi: Change file name used when makeinfo used without -o
3798 from ir.info to c-tree.info. Add info directory entry.
3799 * cppinternals.texi: Add info directory entry.
3800 * .cvsignore: Update.
3801
8b6a5902
JJ
38022001-01-12 Jakub Jelinek <jakub@redhat.com>
3803
3804 * c-typeck.c (store_init_value): Don't require constant initializer
3805 elements with -pedantic -std=c99.
3806 (digest_init): Change error about non-constant initializer elements
3807 into pedwarn.
3808 (constructor_range_end): Remove.
3809 (constructor_incremental, designator_depth,
3810 designator_errorneous): New variables.
3811 (struct constructor_stack): Remove range_end, add incremental.
3812 (struct constructor_range_stack, constructor_range_stack): New.
3813 (struct initializer_stack): Add constructor_range_stack.
3814 (finish_init): Set it.
3815 (start_init): Likewise. require_constant_elements for non-static
3816 trees only if not flag_isoc99.
3817 (really_start_incremental_init): Remove constructor_range_end, add
3818 constructor_incremental.
3819 (pop_init_level): Likewise.
3820 (push_init_level): Likewise. If implicit and the subobject had some
3821 value set already, preinitialize the level with it.
3822 Warn about missing braces only if not pushing due to designators.
3823 (set_designator, push_range_stack): New functions.
3824 (set_init_label): Use them.
3825 (set_init_index): Likewise. Remove constructor_range_end.
3826 Error if designator index is outside of array bounds.
3827 (add_pending_init): Compare values of purpose index trees, not the
3828 trees themselves. Allow overwriting of already initialized element.
3829 Issue a warning if it had side-effects.
3830 (set_nonincremental_init, set_nonincremental_init_from_string): New
3831 functions.
3832 (pending_init_member): Rename to...
3833 (find_init_member): ...this function. Call set_nonincremental_init
3834 if necessary. Compare values of purpose index trees, not the trees
3835 themselves. Return the actual value, not just non-zero if something
3836 is found.
3837 (output_init_element): Remove checks for duplicates.
3838 If field has zero size, only check the initializer for correctness.
3839 Call set_nonincremental_init if necessary. Push RECORD/ARRAY into AVL
3840 if constructor_incremental is zero. Change error about initializers
3841 not computable at load time into pedwarn.
3842 (output_pending_init_elements): Compare bit positions, not
3843 FIELD_DECLs to take into account zero-sized fields.
3844 (process_init_element): Use constructor_range_stack to fill all
3845 ranges in the designator lists from current level up.
3846 * extend.texi: Update documentation for labeled elements.
3847
7dd232a8
AO
38482001-01-12 Alexandre Oliva <aoliva@redhat.com>
3849
f474c6f8
AO
3850 * calls.c (emit_library_call_value_1): Add USEs and CLOBBERs
3851 to function usage for arguments passed by reference. Optimize
3852 callee-copied arguments.
ec7c0481 3853 * regmove.c (replace_in_call_usage): New function.
f474c6f8
AO
3854 (fixup_match_1): Call it.
3855 * cse.c (cse_insn): Canonicalize registers in function usage.
3856 * reload1.c (replace_pseudos_in_call_usage): New function.
3857 (reload): Call it.
3858
7dd232a8
AO
3859 * Makefile.in: Reverted yesterday's wrong patch. Installed the
3860 right version.
3861
d0285326
JJ
38622001-01-12 Jakub Jelinek <jakub@redhat.com>
3863
3864 * config/alpha/alpha.c (alpha_expand_block_move): GET_MODE of tmp,
3865 not XEXP (tmp, 0).
3866
770861f3
DD
38672001-01-12 DJ Delorie <dj@redhat.com>
3868
3869 * Makefile.in (bootstrap): rename stages to be mnemonic. Add
3870 restageN, unstageN, bubblestrap, quickstrap, and cleanstrap
3871 targets.
3872
5490d604
JM
38732001-01-12 Joseph S. Myers <jsm28@cam.ac.uk>
3874
3875 * cpp.texi, extend.texi, gcc.texi, install.texi, invoke.texi,
3876 tm.texi: Consistently refer to ISO C instead of ANSI C. Refer to
3877 -std options alongside references to -ansi. Update some
3878 documentation for C99.
3879 * cpp.1: Regenerate.
3880
d24b8f53
AJ
38812001-01-12 Andreas Jaeger <aj@suse.de>
3882
14052b68
AJ
3883 * haifa-sched.c (restore_line_notes): Remove argument block B
3884 since it's unused.
3885 * sched-ebb.c (schedule_ebb): Change caller.
3886 * sched-rgn.c (schedule_region): Likewise.
3887 * sched-int.h (restore_line_notes): Adjust prototype.
3888
d24b8f53
AJ
3889 * loop.h: Remove wrong declaration of doloop_condition_get.
3890
e6f3b89d
PE
38912001-01-12 Phil Edwards <pme@sources.redhat.com>
3892
3893 * extend.texi: Move C++-extension-related node from the C section
20f9202d 3894 into the C++ section.
e6f3b89d 3895
89aed483
JM
38962001-01-12 Joseph S. Myers <jsm28@cam.ac.uk>
3897
3898 * extend.texi: Refer to an array of pointers to functions instead
3899 of one of functions.
3900
c3ffea50
AJ
3901Fri Jan 12 12:08:12 MET 2001 Andreas Jaeger <aj@suse.de>
3902 Jan Hubicka <jh@suse.cz>
3903
d24b8f53 3904 * combine.c (reversed_comparison): Fix typo in last patch.
c3ffea50 3905 Check X for NULL.
d24b8f53
AJ
3906 (combine_reversed_comparison_code): Make static to follow
3907 prototype declaration.
c3ffea50 3908
159227d5
PE
39092001-01-12 Phil Edwards <pme@sources.redhat.com>
3910
3911 * install.texi: Remove misplaced duplicate entry.
3912
ac70ce21
UD
39132001-01-11 Ulrich Drepper <drepper@redhat.com>
3914
3915 * config/float-i386.h: Define FLT_EVAL_METHOD and DECIMAL_DIG for C99.
3916
b660f82f
JW
3917Thu Jan 11 17:06:30 EST 2001 John Wehle (john@feith.com)
3918
3919 * final.c: (leaf_function_p): Fix typo.
3920
825b6926
ZW
39212001-01-11 Zack Weinberg <zack@wolery.stanford.edu>
3922
3923 * aclocal.m4 (AC_FUNC_MMAP_ANYWHERE): Completely rewritten.
3924 Now defines HAVE_MMAP_DEV_ZERO and/or HAVE_MMAP_ANON depending
3925 which you have.
3926 (AC_FUNC_MMAP_FILE): Don't AC_REQUIRE AC_FUNC_MMAP_ANYWHERE.
3927 * configure.in: Set GGC to ggc-page if any of mmap_dev_zero,
3928 mmap_anon, and valloc is available.
3929 * ggc-page.c: Restructure ifdef logic to match new autoconf
3930 spec. Don't throw away the test page in init_ggc.
3931
3932 * configure, config.in: Regenerate.
3933
099f0f3f
MH
39342001-01-12 Michael Hayes <mhayes@redhat.com>
3935
3936 * loop.h (total_biv_increment): Constify iv_class pointer.
3937 (struct induction): Replace `mem_mode' with `mem' rtx.
3938 * unroll.c (total_biv_increment): Constify iv_class pointer.
3939 * loop.c (loop_giv_reduce_benefit): Derive mem mode from mem rtx.
3940 (find_mem_givs, combine_givs_p): Likewise.
3941 (debug_ivs, debug_iv_class, loop_ivs_dump, loop_iv_class_dump): New.
3942
69e905c8
TP
39432001-01-10 Thomas Pfaff <tpfaff@gmx.net>
3944
3945 * gthr-win32.h (__gthread_objc_thread_get_data): Save and restore Win32
3946 LastError.
3947 (__gthread_getspecific): Ditto.
3948
9a915772
JH
3949Fri Jan 12 00:04:00 MET 2001 Jan Hubicka <jh@suse.cz>
3950
3951 * i386.c (ix86_comparison_operator, fcmov_comparison_operator,
3952 put_condition_code): Convert fp comparison codes to integer
3953 before handling.
3954 (ix86_expand_fp_compare): Postnote the fp comparison code converison
3955 to final.
3956
3957 * i386.c (unsigned_comparison, no_comparison_operator): Kill.
3958 * i386-protos.h (no_comparison_operator): Kill.
3959
3960 * i386.c (ix86_expand_fp_compare): Fix ordered/unordered confussion.
3961
3962 * combine.c (REVERSIBLE_CC_MODE): Remove.
3963 (reversible_comparison_p): Remove.
3964 (combine_reversed_comparison_code): New.
3965 (reversed_comparison): New.
3966 (combine_simplify_rtx): Use
3967 combine_reversed_comparison_code/reversed_comparison instead
3968 of reversible_comparison_p.
3969 (simplify_if_then_else): Likewise.
3970 (simplify_set): Likewise.
3971 (simplify_logical): Likewise.
3972 (if_then_else_cond): Likewise.
3973 (known_cond): Likewise.
3974 (simplify_comparison): Likewise.
3975
bbc7fda9
AL
39762001-01-11 Alan Lehotsky <lehotsky@tiac.net>
3977
3978 * builtins.c (std_expand_builtin_va_start): Handle varargs when
3979 sizeof (int) is larger than sizeof(__word__).
825b6926 3980
a4299d07
NB
39812001-01-11 Neil Booth <neil@daikokuya.demon.co.uk>
3982
825b6926 3983 * cppinit.c (do_includes): Fix typo.
a4299d07 3984
76028b1f
SC
39852001-01-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3986
3987 * config/m68hc11/m68hc11.md (cmphi_1): Make sure reloading
3988 in S_REGS does not occur because not all sources are possible
3989 when a S_REGS is a destination (sometimes needs a clobber).
3990 (movqi_const0, zero_extendhisi2, zero_extendqisi2): Likewise.
3991 (zero_extendhidi2, extendqisi2, extendqihi2, extendhisi2): Likewise.
3992 (anddi3, iordi3, xordi3, negqi2, one_cmplhi2, one_cmplqi2: Likewise.
3993 (ashldi3_const32, ashldi3_const1, ashlsi3_const16): Likewise.
3994 (ashlsi3_const1, ashlhi3_2, ashlqi3_const1, ashrhi3): Likewise.
3995 (ashrqi3_const1, lshrdi3_const32, lshrdi3_const63): Likewise.
3996 (lshrdi_const1, lshrsi3_const16): Likewise.
3997 (*addhi3, lshrsi3_const1, lshrqi3_const1): Likewise.
3998 (*movhi_68hc12, *movqi_68hc12): Likewise.
825b6926 3999 (movstrictqi): Make sure reloading in D_REGS as a destination
76028b1f
SC
4000 does not happen.
4001
d3956766
NB
40022001-01-11 Neil Booth <neil@daikokuya.demon.co.uk>
4003
825b6926 4004 * cppspec.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Add -MQ.
d3956766 4005
05e81724
NB
40062001-01-11 Neil Booth <neil@daikokuya.demon.co.uk>
4007
825b6926
ZW
4008 * cppinit.c (cpp_start_read): If -fpreprocessed, ignore
4009 -D, -U and -A, and don't initialize the builtins.
a4299d07 4010 (do_includes): Error if -include or -imacros with -fpreprocessed.
825b6926
ZW
4011 * cppmain.c (cb_define, cb_undef): Unconditionally process
4012 the callback.
4013 * tradcpp.c (main): Fix typo.
05e81724
NB
4014
40152000-01-11 Mark Elbrecht <snowball3@bigfoot.com>
825b6926 4016
20f9202d
DB
4017 * cppfiles.c (cpp_included, find_include_file, _cpp_execute_include)
4018 (read_name_map): Use IS_ABSOLUTE_PATH.
4019 * tradcpp.c (get_filename): Likewise.
05e81724 4020
76d06edc
SC
40212001-01-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4022
4023 * config/m68hc11/m68hc11.md (*adcq, *subcq): Fix operand numbers.
4024 (*ashlsi3_const16_zexthi, *ashlsi3_const1): Likewise.
4025 (*lshrsi3_const, *lshrsi3_const1, *lshrsi3_const16): Likewise.
4026 (*ashrsi3, *ashrsi3_const, *ashlsi3, *ashlsi3_const): Likewise.
4027 (*ashlsi3_const1, *lshrsi3, *ashlsi3_const16): Likewise.
4028 (cmphi_z_used): Don't use '@' for the output.
4029 (tstqi_z_used): Likewise.
4030 (cmpqi_z_used): Likewise.
4031 (one_cmplsi2): Likewise.
4032
1594c6bc
AO
40332001-01-11 Alexandre Oliva <aoliva@redhat.com>
4034
4035 * config/sh/sh.c (barrier_align): Recognize branch around far
4036 branch and redundant insn.
4037
7da723ef
NB
40382001-01-11 Neil Booth <neil@daikokuya.demon.co.uk>
4039
825b6926 4040 * invoke.texi: Restore documentation of the drivers' switches -MD
7da723ef
NB
4041 and -MMD.
4042
a738a85c
AO
40432001-01-11 Alexandre Oliva <aoliva@redhat.com>
4044
f6f1dc95
AO
4045 * config/sh/sh.h (LABEL_ALIGN): Use UNSPECV_ALIGN instead of 1.
4046
a738a85c
AO
4047 * Makefile.in (check-gcc//%, check-g++//%, check-g77//%,
4048 check-objc//%): Support parallel testing of multilibs.
4049 (TESTSUITEDIR): Set to testsuite by default, but override for
4050 parallel testing.
4051 (check-gcc, check-g++, check-g77, check-objc): Enter
4052 $(TESTSUITEDIR).
4053
fb6754f0
BS
40542001-01-11 Bernd Schmidt <bernds@redhat.com>
4055
4056 * alias.c (throughout): Use REGNO, rather than ORIGINAL_REGNO.
4057 * sched-deps.c (deps_may_trap_p): Likewise.
4058 * basic-block.h: Remove a comment.
4059 * flow.c (PROP_POSTRELOAD): Remove.
4060 (update_life_info): Don't add it to prop_flags.
4061 (mark_set_1): Lose the code that was enabled by it.
4062
0ab409ed
MH
40632001-01-11 Michael Hayes <mhayes@redhat.com>
4064
4065 * flow.c (flow_call_edges_add): New.
4066 * basic_block.h (flow_call_edges_add): New.
4067
ada6635f
R
40682001-01-11 J"orn Rennecke <amylaar@redhat.com>
4069
4070 * reload1.c (move2add_note_store): Update reg_set_luid even if
4071 base reg remains the same.
4072
73d771f0
NC
40732001-01-10 Nick Clifton <nickc@redhat.com>
4074
4075 * config/d30v/d30v.c (d30v_init_machine_status): Initialise
4076 machine_function structure to zero.
4077 Add prototypes for machine_status functions.
4078
cbd5937a
MM
40792001-01-10 Mark Mitchell <mark@codesourcery.com>
4080
4081 * c-common.h (CTI_VOID_LIST): Remove.
4082 (void_list_node): Likewise.
4083 * tree.h (TI_VOID_LIST_NODE): New enumeral.
4084 (void_list_node): New macro.
4085 * config/arm/arm.c (arm_init_builtins): Use void_list_node.
4086 * config/i386/i386.c (ix86_init_builtins): Likewise.
4087 * config/ia64a/ia64.c (ia64_init_builtins): Likewise.
4088
2f638f96
NB
40892001-01-10 Neil Booth <neil@daikokuya.demon.co.uk>
4090
825b6926
ZW
4091 * Makefile.in (tradcpp0): Depend on mkdeps.h. Link mkdeps.o
4092 * cppinit.c (cpp_start_read): Update comment, remove unneeded
4093 if statement.
4094 * tradcpp.c: Include mkdeps.h.
4095 (deps, print_deps_phony_targets, deps_append, output_deps,
4096 init_dependency_output, output_deps): New.
4097 (deps_buffer, deps_allocated_size, deps_size, deps_column,
4098 deps_output): Delete.
4099 (print_deps_missing_files): Rename deps_missing_files.
4100 (inhibit_output): Make global.
4101 (main): Delete inhibit_output, deps_stream, deps_target.
4102 Use mkdeps functionality in the same way as cpplib. Remove
4103 -g3 handling. Handle -MF, -MP, -MQ, -MT. Update handling of
4104 -M and -MM. Remove old handling of deps via deps_out, and
4105 old reading of environment variables.
4106 (get_filename): Update to use deps_add_dep.
2f638f96 4107
6c418184
MM
41082001-01-10 Mark Mitchell <mark@codesourcery.com>
4109
4110 * output.h (make_function_rtl): Remove prototype.
4111 (make_decl_rtl): Likewise.
4112 * varasm.c (make_function_rtl): Remove.
4113 (make_decl_rtl): Determine top-levelness from DECL_CONTEXT, rather
4114 than from a third parameter.
4115 * tree.h (make_decl_rtl): Remove last parameter.
4116 * c-decl.c (builtin_function): Remove last argument in call to
4117 make_decl_rtl; use make_function_rtl instead of make_decl_rtl.
4118 (start_function): Likewise.
4119 * except.c (call_get_eh_context): Likewise.
4120 * expr.c (emit_block_move): Likewise.
4121 (clear_storage): Likewise.
4122 * profile.c (output_func_start_profiler): Likewise.
4123 * toplev.c (rest_of_decl_compilation): Likewise.
4124 * objc/objc-act.c (create_builtin_decl): Likewise.
4125 (synth_module_prologue): Likewise.
4126 (generate_static_reference): Likewise.
4127 (build_selector_reference_decl): Likewise.
4128 (build_class_reference_decl): Likewise.
4129 (build_objc_string_decl): Likewise.
4130 (build_protocol_reference): Likewise.
4131
4621c640
RH
41322001-01-10 Richard Henderson <rth@redhat.com>
4133
4134 * hwint.h: Revert yesterday's change.
4135
414c4dc4
NC
41362001-01-10 Nick Clifton <nickc@redhat.com>
4137
4138 * function.h (save_machine_status): Delete.
4139 (restore_machine_status): Delete.
4140 Amend comment describing {init|mark|free}_machine_status.
4141
4142 * function.c (save_machine_status): Delete.
4143 (restore_machine_status): Delete.
4144 Amend comment describing {init|mark|free}_machine_status.
4145 (push_function_context_to): Remove invocation of
4146 save_machine_status.
4147 (pop_function_context_from): Remove invocation of
4148 restore_machine_status.
4149
4150 * emit-rtl.c (init_emit_once): Amend comment describing
825b6926 4151 {init|mark|free}_machine_status.
414c4dc4
NC
4152
4153 * tm.texi (Per-Function Data): New node. Describe the
4154 INIT_EXPANDERS macro and the {init|mark|free}_machine_status
4155 function pointers.
4156
5c5d1ea0
NB
41572001-01-10 Neil Booth <neil@daikokuya.demon.co.uk>
4158
825b6926
ZW
4159 * cppinit.c (OPT_g): Remove.
4160 (cpp_handle_option): Update for removed -g3.
4161 (print_help): Update.
4162 * cpplib.h (struct cpp_options): Remove debug_output.
4163 * cppmain.c (setup_callbacks, cb_define): Update.
4164 * gcc.c (cpp_options): Translate -g3 to -dD.
5c5d1ea0 4165
d9271ccc
AH
41662001-01-10 Aldy Hernandez <aldyh@redhat.com>
4167
4168 * config/i960/i960.md: Change modifier to + on the zero_extract
825b6926 4169 pattern after the (rotate -2 reg) canonicalization pattern.
d9271ccc 4170
37b15744
RH
41712001-01-10 Richard Henderson <rth@redhat.com>
4172
4173 * config/alpha/alpha.c (alpha_free_machine_status): New.
4174 (override_options): Install it.
4175 (alpha_mark_machine_status): Verify machine non-null.
4176 * config/i386/i386.c (ix86_free_machine_status): New.
4177 (override_options): Install it.
4178 (ix86_init_machine_status): Use xcalloc.
4179 (ix86_mark_machine_status): Verify machine non-null.
4180 * config/ia64/ia64.c (ia64_free_machine_status): New.
4181 (ia64_override_options): Install it.
4182 (ia64_mark_machine_status): Verify machine non-null.
4183
87c61e2d
JL
4184Wed Jan 10 11:34:39 2001 Jeffrey A Law (law@cygnus.com)
4185
4186 * function.c (instantiate_virtual_regs): Instantiate virtual
4187 registers found in CALL_INSN_FUNCTION_USAGE.
4188
930bbdd2
JM
41892001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
4190
4191 * i386.h (CPP_CPU_SPEC): Allow for -std=c* and -std=i* as
4192 equivalent to -ansi in disabling -Di386.
4193
c0c102a9
JH
4194Wed Jan 10 16:38:31 MET 2001 Jan Hubicka <jh@suse.cz>
4195
4196 * i386.c (ix86_fp_compare_code_to_integer, ix86_fp_comparison_codes):
4197 new functions.
4198 (ix86_expand_fp_compare): Make trivial use of new infrastructure.
4199
78053907
RE
42002001-01-10 Richard Earnshaw <rearnsha@arm.com>
4201
4202 * arm.c (arm_init_builtins): Temporarily disable xscale builtins.
4203
a7537031
JM
42042001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
4205
4206 * invoke.texi: Document that -fcond-mismatch isn't supported for
4207 C++.
4208
2642624b
JM
42092001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
4210
4211 * gcc.texi: Define macro gcctabopt.
4212 * invoke.texi: Add manpage sections BUGS and AUTHOR. Use
4213 @command, @env and @option in some places where appropriate. Use
4214 @gcctabopt where appropriate. Put URLs and email addresses inside
4215 @w.
4216
11972f66 42172001-01-10 Nathan Sidwell <nathan@codesourcery.com>
825b6926
ZW
4218
4219 * gcc.c (cpp_options): Set MD file name from output
4220 filename, if specified.
4221 (suffix_subst): New static variable.
4222 (do_spec): Clear it.
4223 (do_spec_1, case '.'): Handle new `%.suffix' spec.
4224 Clear it.
4225 (give_switch): Handle suffix_subst.
11972f66 4226
0a75e5c3
PE
42272001-01-10 Phil Edwards <pme@sources.redhat.com>
4228
4229 * invoke.texi: Fix another typo.
4230
9169269f
PE
42312001-01-10 Phil Edwards <pme@sources.redhat.com>
4232
4233 * invoke.texi: Fix typo.
4234
ee811cfd
NB
42352001-01-10 Neil Booth <neil@daikokuya.demon.co.uk>
4236
825b6926
ZW
4237 * c-lang.c (lang_hooks): Update.
4238 (lang_decode_option): Remove.
4239 (lang_init_options): Rename c_init_options.
4240 * toplev.c (main): Use lang_hooks for lang_init_options
4241 and lang_decode_option.
4242 * toplev.h (lang_hooks): Add 2 new hooks.
4243 * tree.h: Remove lang_init_options and lang_decode_option.
4244 * cp/cp-tree.h (lang_decode_option): Rename cxx_decode_option.
4245 * cp/decl2.c: Similarly.
4246 * cp/lex.c (lang_init_options): Rename cxx_init_options.
4247 (lang_hooks): Update.
4248 * f/com.c (f_init, f_finish): Rename ffe_init, ffe_finish
4249 for consistency.
4250 (lang_init_options): Rename ffe_init_options.
4251 (lang_hooks): Update.
4252 (lang_decode_option): Remove.
4253 * java/lang.c (lang_init_options): Rename java_init_options.
4254 (lang_decode_option): Rename java_decode_option.
4255 (lang_hooks): Update.
4256 * objc/objc-act.c (lang_init_options): Rename objc_init_options.
4257 (lang_decode_option): Rename objc_decode_option.
4258 (lang_hooks): Update.
ee811cfd 4259
8541c24b
NC
42602001-01-09 Nick Clifton <nickc@redhat.com>
4261
4262 * config/d30v/d30v.c (d30v_eh_epilogue_sp_ofs): Delete.
4263 (d30v_return_addr_rtx): Delete.
4264 (d30v_expand_epilogue): Use eh_epilogue_sp_ofs field in the
4265 cfun->machine structure.
4266 (struct machine_function): Move to d30v.h
4267 (d30v_save_machine_status): Delete.
4268 (d30v_restore_machine_status): Delete.
4269 (d30v_init_machine_status): New Function.
4270 (d30v_mark_machine_status): New Function.
4271 (d30v_free_machine_status): New Function.
4272 (d30v_init_expanders): Use new functions.
4273 (d30v_return_addr): Use ra_rtx field in cfun->machine.
4274 (d30v_add_gc_roots): Remove d30v_eh_epilogue_sp_ofs and
4275 d30v_return_addr_rtx.
4276
4277 * config/d30v/d30v.h (struct_machine): Move here.
4278 Add eh_epilogue_sp_ofs field.
4279
4280 *config/d30v/d30v.md (epilogue): Initialise eh_epilogue_sp_ofs
4281 field in cfun->machine structure.
4282
4d5a6f78
JDA
4283Tue Jan 9 21:34:57 2001 John David Anglin <dave@hiauly1.hia.nrc.ca>
4284
4285 * pa32-regs.h (CONDITIONAL_REGISTER_USAGE): When generating pic code,
4286 PIC_OFFSET_TABLE_REGNUM_SAVED is a call_used register.
4287 * pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Likewise.
4288
ecb7e784
JL
4289Tue Jan 9 21:25:19 2001 Jeffrey A Law (law@cygnus.com)
4290
4291 * objc/lang-options.h: Remove bogus reference to
4292 Java trademark.
4293
35fb3d1f
KH
42942001-01-09 Kazu Hirata <kazu@hxi.com>
4295
4296 * config/h8300/h8300.c (get_shift_alg): Use a struct shift_info to
4297 return the result.
4298
4971426b
AL
42992001-01-09 Alan Lehotsky <lehotsky@tiac.net>
4300
4301 * reload.c (find_reloads_address): Check for eliminable registers
20f9202d 4302 when substituting a constant expression for a pseudo.
825b6926 4303
10a4c7ac
JM
43042001-01-09 Joseph S. Myers <jsm28@cam.ac.uk>
4305
4306 * c-common.c (enum format_type): Add format_type_error.
4307 (decode_format_type): New function.
4308 (decl_attributes): Use it.
4309 (format_kind_info): Adjust comment.
4310
f6e0c56c
DB
43112001-01-09 David O'Brien <obrien@BSDi.com>
4312
4313 * config.gcc (*-*-gnu*, i[34567]86-*-elf*, i[34567]86-*-linux*libc1,
4314 i[34567]86-*-linux*, i[34567]86-*-moss*): Specify needed platform specific
4315 files in tm_file.
4316 * config/i386/gnu.h: Don't include required platform specific .h files,
4317 tm.h will do it instead.
4318 * config/i386/i386elf.h: Likewise.
4319 * config/i386/linux.h: Likewise.
4320 * config/i386/moss.h: Likewise.
4321 * config/mips/gnu.h: Likewise.
4322
e556ad19
FS
43232001-01-09 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4324
4325 * config.gcc (powerpc-*-beos*): Include ${tm_file} and rs6000/aix.h.
4326 (rs6000-ibm-aix3.[01]*): Likewise.
4327 (rs6000-ibm-aix3.2.[456789]*, powerpc-ibm-aix3.2.[456789]*): Likewise.
4328 (rs6000-ibm-aix4.[12]*, powerpc-ibm-aix4.[12]*): Likewise.
4329 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Likewise.
4330 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
4331 (powerpc-*-sysv*): Include {tm_file}. svr4.h and rs6000/sysv4.h.
4332 (powerpc-*-eabiaix*): Likewise.
4333 (powerpc-*-eabisim*): Likewise.
4334 (powerpc-*-elf*): Likewise.
4335 (powerpc-*-eabi*): Likewise.
4336 (powerpc-*-rtems*): Likewise.
4337 (powerpc-*-linux*libc1): Likewise.
4338 (powerpc-*-linux*): Likewise.
4339 (powerpc-wrs-vxworks*): Likewise.
4340 (powerpcle-wrs-vxworks*): Likewise.
4341 (powerpcle-*-sysv*): Likewise.
4342 (powerpcle-*-elf*): Likewise.
4343 (powerpcle-*-eabisim*): Likewise.
4344 (powerpcle-*-eabi*): Likewise.
4345 (powerpcle-*-solaris2*): Likewise.
4346 * config/rs6000/aix31.h: Delete includes.
4347 * config/rs6000/aix3newas.h: Likewise.
4348 * config/rs6000/aix41.h: Likewise.
4349 * config/rs6000/aix43.h: Likewise.
4350 * config/rs6000/beos.h: Likewise.
4351 * config/rs6000/rtems.h: Likewise.
4352 * config/rs6000/sysv4.h: Likewise.
4353
9789584b
KH
43542001-01-09 Kazu Hirata <kazu@hxi.com>
4355
4356 * config/h8300/h8300.c (get_shift_alg): Remove an argument cpu.
4357 Change an argument mode of machine_mode to shift_mode of
4358 shift_mode. Remove an extra error check.
4359 (emit_a_shift): Adopt to the new calling prototype of
4360 get_shift_alg.
46d00fef
KH
4361 (function_prologue): Fix code for a monitor
4362 function. Support H8/S.
4363 (function_epilogue): Do not output pop for a monitor function.
9789584b 4364
a2e11fd9
NC
43652001-01-09 Nick Clifton <nickc@redhat.com>
4366
4367 * config/rs6000/rs6000.c (rs6000_sysv_varargs_p): Delete.
4368 (setup_incoming_varargs): Use sysv_varargs_p field of the
4369 cfun->machine structure.
4370 (struct machine_function): Move to rs6000.h
4371 (rs6000_save_machine_status): Delete.
4372 (rs6000_restore_machine_status): Delete.
4373 (rs6000_init_machine_status): New Function.
4374 (rs6000_free_machine_status): New Function.
4375 (rs6000_init_expanders): Use new functions.
4376
4377 * config/rs6000/rs6000.h (rs6000_sysv_varargs_p): Delete
4378 export.
4379 (struct machine_function): Move here.
4380
4381 * config/rs6000/sysv4.h (RS6000_VARARGS_AREA): Use
4382 sysv_varargs_p field of the cfun->machine structure.
4383
4384 * config/rs6000/rs6000-protos.h (rs6000_save_machine_status):
4385 Remove prototype.
4386 (rs6000_restore_machine_status): Remove prototype.
4387
4ba478b8
RH
43882001-01-09 Richard Henderson <rth@redhat.com>
4389
4390 * sched-int.h (struct deps): Add max_reg, reg_last_in_use; merge
4391 reg_last_uses, reg_last_sets, reg_last_clobbers into struct deps_reg.
4392 * sched-deps.c (sched_analyze_1): Update uses of struct deps.
4393 (sched_analyze_2, sched_analyze_insn): Likewise.
4394 (sched_analyze, init_deps): Likewise.
4395 (free_deps): Likewise. Iterate with EXECUTE_IF_SET_IN_REG_SET.
4396 * sched-rgn.c (propagate_deps): Likewise. Remove max_reg argument.
4397 (compute_block_backward_dependences): Update propagate_deps call.
4398
9c1fcbfb
ME
43992001-01-09 Mark Elbrecht <snowball3@bigfoot.com>
4400
4401 * gcc.c (process_command): Set switches[n_switches].ordering to 0.
4402
e582248c
NB
44032001-01-09 Neil Booth <neil@daikokuya.demon.co.uk>
4404
825b6926
ZW
4405 * cppinit.c (OPT_MD, OPT_MMD): Restore.
4406 (cpp_handle_option): Handle them.
4407 (cpp_post_options): Ensure one of -M or -MM is specified with
4408 any other -M? option.
4409 (init_dependency_output): Suppress output with -MG.
e582248c
NB
4410
44112001-01-09 Neil Booth <neil@daikokuya.demon.co.uk>
4412
825b6926
ZW
4413 * cpp.texi: Update.
4414 * invoke.texi: Update.
e582248c 4415
7894cb27
BS
44162001-01-09 Bernd Schmidt <bernds@redhat.com>
4417
4418 * sh.md (reload_outsf): Generate recognizable patterns for
4419 TARGET_SH3E.
4420
9f56ed15
NB
44212001-01-09 Neil Booth <neil@daikokuya.demon.co.uk>
4422
4423 * c-lang.c (lang_hooks): Update.
825b6926
ZW
4424 (lang_init): Rename c_init.
4425 (lang_finish): Remove.
4426 * toplev.c (compile_file): Use lang_hooks for lang_init ()
4427 and lang_finish ().
4428 * toplev.h (lang_hooks): Add init () and finish ().
4429 * tree.h (lang_init, lang_finish): Remove.
4430 * cp/tree.h (lang_init, lang_finish): Remove.
4431 * cp/decl2.c (cxx_post_options, lang_hooks): Move to cp/lex.c.
4432 * cp/lex.c (cxx_init, cxx_finish, cxx_post_options,
4433 lang_hooks): New.
4434 (lang_init, lang_finish): Remove.
4435 * f/com.c (lang_init, lang_finish): Rename f_init, f_finish.
4436 (lang_hooks): Update.
4437 * java/lang.c (lang_init): Rename java_init.
4438 (lang_finish): Remove.
4439 (lang_hooks): Update.
4440 * objc/objc-act.c (lang_init): Rename objc_init.
4441 (lang_finish): Remove.
4442 (lang_hoooks): Update.
9f56ed15 4443
fb83deef
GS
444420001-01-09 Graham Stott <grahams@redhat.com>
4445
4446 * cppfiles.c (_cpp_execute_include): Move `len` initialisation
4447 after `ptr` is initialised.
4448
ec4ad0f9
AO
44492001-01-09 Alexandre Oliva <aoliva@redhat.com>
4450
4451 * config/sh/sh.h (STATIC_CHAIN_REGNUM): Change from r13 to r3.
4452 (INITIALIZE_TRAMPOLINE): Adjust accordingly.
4453 * config/sh/sh.c (sh_expand_prologue): Use r1 as temporary for
4454 stack adjusts, instead of r3.
4455
eab02feb
MH
44562001-01-09 Michael Hayes <mhayes@redhat.com>
4457
4458 * flow.c (flow_loop_scan): Break out of ...
4459 (flow_loops_find) ... here.
4460 * basic-block.h (flow_loop_scan): New.
4461 (LOOP_ENTRY_EDGES, LOOP_EXIT_EDGES): Add.
4462 (LOOP_EDGES, LOOP_EXITS_DOMS, LOOP_ALL): Redefine.
4463
bad48d7e
AO
44642001-01-09 Alexandre Oliva <aoliva@redhat.com>
4465
4b49c365
AO
4466 * cppinit.c (cpp_cleanup): NULLify macro_buffer and zero
4467 macro_buffer_len.
4468 * cppmacro.c (cpp_macro_definition): Reset macro_buffer_len when
4469 realloc()ing macro_buffer.
4470
bad48d7e
AO
4471 * hwint.h (HOST_BITS_PER_WIDE_INT, HOST_WIDE_INT): Use long long
4472 if it's wider than long and the target's long is wider than the
4473 host's.
4474
34fa3e7d
MM
44752001-01-09 Mark Mitchell <mark@codesourcery.com>
4476
4477 Remove support for using UWIN as a host machine.
4478 * configure.in: Issue an error message.
4479 * configure: Regenerated.
4480 * config.gcc: Remove xm_* UWIN configury.
4481 * config/i386/xm-uwin.h: Remove.
4482
61db4608
NC
44832001-01-08 Nick Clifton <nickc@redhat.com>
4484
4485 * config/v850/v850.c (ra_rtx): Delete.
825b6926 4486 (v850_save_machine_status): Delete.
61db4608
NC
4487 (v850_restore_machine_status): Delete.
4488 (v850_init_machine_status): New function.
4489 (v850_mark_machine_status): New function.
4490 (v850_free_machine_status): New function.
4491 (v850_return_addr): Use ra_rtx field in machine structure.
4492 (v850_init_expanders): Use new functions.
4493
4494 * config/v850/v850-protos.h: Fix prototypes for v850_output_*
4495 * config/v850/v850.c: Change arguments to v850_output+* functions
4496 to take a const char *, to avoid compile time warning.
4497 * config/v850/v850.h (ASM_OUTPUT_LABELREF): Undefine, not needed.
4498 (USER_LABEL_PREFIX): Redefine.
825b6926 4499
9c8fad33
JW
45002000-01-08 Jim Wilson <wilson@redhat.com>
4501
4502 * sched-rgn.c (BITSET_ADD, BITSET_REMOVE, bitset_member): Cast
4503 1 to unsigned HOST_WIDE_INT before left shift.
4504
f7a80099
NC
45052001-01-08 Nick Clifton <nickc@redhat.com>
4506
4507 * config/arm/arm.c (arm_mark_machine_status): Check to see if
4508 the machine structure has been allocated.
4509 (arm_free_machine_status): New function: Free the machine
4510 specific function structure.
4511
3c74f8f9
RH
45122001-01-08 Richard Henderson <rth@redhat.com>
4513
4514 * jump.c (simplejump_p): Revert last change.
4515
674c3b40
NB
45162001-01-08 Neil Booth <neil@daikokuya.demon.co.uk>
4517
825b6926
ZW
4518 * cppinit.c (init): Rename init_library.
4519 (cpp_create_reader): Update.
4520 * gcc.c (cpp_options): If -o given, use it as the target of
4521 any -M options.
674c3b40 4522
b15bca31
RE
45232001-01-08 Richard Earnshaw <rearnsha@arm.com>
4524
4525 * arm.c (arm_arch5e): New variable.
4526 (all_cores): XScale is a 5TE device.
4527 (arm_override_options): Set arm_arch5e.
4528 (arm_init_builtins): __builtin_prefetch is in arch5e.
4529 * arm.h (arm_arch5e): Declare it.
4530
4531 * arm.h (PREDICATE_CODES): Add arm_hard_register_operand.
4532
4533 * arm.md (define_constants): Add defines for UNSPEC and
4534 UNSPEC_VOLATILE insns. Update all users.
4535 (define_constants): Add constants for IP_REGNUM, SP_REGNUM, PC_REGNUM.
4536 * arm.c (multi_register_push, note_invalid_constants)
4537 (emit_multi_reg_push, emit_sfm, expand_prologue): Use constants.
4538 * arm.h (SP_REGNUM, IP_REGNUM, PC_REGNUM): Delete defines.
4539 (STACK_POINTER_REGNUM): Define in terms of SP_REGNUM.
825b6926 4540
261efdef
JH
4541Mon Jan 8 16:14:56 MET 2001 Jan Hubicka <jh@suse.cz>
4542
4543 * jump.c (jump_optimize_1): Use reversed_comparison_code
4544 instead of can_reverse_comparison_p.
4545 (jump_back_p): Likewise.
4546 (invert_exp_1): Likewise.
4547 (thread_jumps): Likewise.
4548 * simplify-rtx.c (simplify_unary_operation): Likewise.
4549 (simplify_ternary_operation): Likewise.
4550 * cse.c (find_comparison_args): Convert to use
4551 can_reverse_comparison_p.
4552 (record_jump_equiv): Likewise.
4553
c7861455
RE
45542001-01-08 Richard Earnshaw <rearnsha@arm.com>
4555
4556 * arm.h (HARD_REGNO_RENAME_OK): Delete.
4557 (EPILOGUE_USES): Define.
825b6926 4558 (INITIAL_ELIMINATION_OFFSET): Current prologue code does not
c7861455
RE
4559 automatically stack the LR if it isn't live.
4560
734dba19
JH
4561Mon Jan 8 13:46:02 MET 2001 Jan Hubicka <jh@suse.cz>
4562
4563 * i386.c (ix86_expand_int_movcc): Take care to reverse fp conditions
4564 properly.
4565
b1095f9c
MM
4566Sun Jan 7 18:37:43 2001 Mark P Mitchell <mark@codesourcery.com>
4567
4568 * ggc-page.c (max_alignment): New structure.
4569 (MAX_ALIGNMENT): New macro.
4570 (init_ggc): Use it to round up the sizes in the
4571 extra_order_size_table.
4572
a701949a
FS
45732001-01-07 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4574
4575 * config/rs6000/rs6000.h (EPILOGUE_USES): New, mark link register
4576 after reload.
4577
18f988a0
KG
45782001-01-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4579
4580 * builtins.def (BUILT_IN_FPRINTF): New entry.
4581
4582 * c-common.c (c_expand_builtin_fprintf): New function.
4583 (init_function_format_info): Handle __builtin_fprintf.
4584 (c_common_nodes_and_builtins): Declare fprintf/__builtin_fprintf.
4585 (c_expand_builtin): Handle BUILT_IN_FPRINTF.
4586
4587 * c-decl.c (duplicate_decls): Adjust comment.
4588
4589 * extend.texi (fprintf): Document new builtin.
4590
8cd0792f
RH
45912001-01-07 Richard Henderson <rth@redhat.com>
4592
4593 * jump.c (simplejump_p): Recognize any single_set jump
4594 of the proper form.
4595
5b15f277
RH
45962001-01-07 Richard Henderson <rth@redhat.com>
4597
4598 * configure.in (slibdir): Accept an --with-slibdir option.
4599 Use "test" not "[" in configure. Default to $(libdir).
4600
9c2e06d9
RH
4601 * config/t-linux (SHLIB_INSTALL): Double quote slibdir;
4602 fix typo in rm -f.
4603 * config/t-aix43 (SHLIB_INSTALL): Likewise.
4604 * config/alpha/t-osf4 (SHLIB_INSTALL): Likewise.
4605 (SHLIB_LINK): Create links for the soname.
4606 * config/mips/t-iris6: Likewise.
4607 * config/sparc/t-slibgcc: Likewise.
4608 * config/sparc/t-slibgcc-sld: Likewise.
4609
eaf19aba
JJ
46102001-01-07 Jakub Jelinek <jakub@redhat.com>
4611
4612 * config/i386/i386.c (constant_call_address_operand): Accept
4613 (const (plus (symbol_ref) (const_int))).
4614 * config/i386/i386.h (PREDICATE_CODES): Add CONST for
4615 constant_call_address_operand.
4616
a8b462be
MH
46172001-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4618
4619 * libgcc2.h (W_TYPE_SIZE): Fix case where MIN_UNITS_PER_WORD == 1
4620 and LONG_LONG_TYPE_SIZE > 32.
4621
3799607a
GP
46222001-01-07 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
4623
4624 * jump.c (reversed_comparison_code_parts): Fix typo introduced by
4625 the previous change.
4626
ab94bc48
JH
4627Sun Jan 7 19:37:48 MET 2001 Jan Hubicka <jh@suse.cz>
4628
4629 * jump.c (reversed_comparison_code_parts, reversed_comparison_code):
4630 New.
4631 (can_reverse_comparison_p): Rewrite to use reversed_comparison_code.
4632 (reverse_condition_maybe_unordered): Abort on unsigned comparisons.
4633 * rtl.h (reversed_comparison_code_parts, reversed_comparison_code):
4634 Declare.
4635
f6a13bff
NB
46362001-01-07 Neil Booth <neil@daikokuya.demon.co.uk>
4637
825b6926 4638 * fix-header.c (read_scan_file): s/pfile/scan_in/.
f6a13bff 4639
96302433
NB
46402001-01-07 Neil Booth <neil@daikokuya.demon.co.uk>
4641
825b6926 4642 * c-lang.c (c_post_options): Call cpp_post_options.
96302433
NB
4643 * objc/objc-act.c (objc_post_options): Similarly.
4644 * cppmain.c (main): Similarly.
825b6926
ZW
4645 * fix-header.c (read_scan_file): Similarly.
4646 * cppinit.c (cpp_start_read): Move option consistency checks
4647 to cpp_post_options. Don't call init_dependency_output.
4648 If needed, add default target and main file dependency.
4649 (OPT_MD, OPT_MMD): Remove.
4650 (OPT_MF): New.
4651 (cpp_handle_option): Update for OPT_* changes.
4652 (cpp_post_options): New.
4653 (init_dependency_output): Command line -MF overrides environment
4654 variables. Don't set default target etc. Suppress output
4655 if dependencies are going to stdout.
4656 (print_help): Update.
4657 * cpplib.h (cpp_post_options): New.
4658 * gcc.c (cpp_options): Update for -MD, -MMD, -MF.
4659
b34878a3
JH
4660Sun Jan 7 14:44:19 MET 2001 Jan Hubicka <jh@suse.cz>
4661
4662 * jump.c (comparison_dominates_p): Support unordered compares.
4663
1f36a2dd
JH
4664Sun Jan 7 14:39:07 MET 2001 Jan Hubicka <jh@suse.cz>
4665
4666 * simplify-rtx.c (simplify_relational_operation): Always simplify
4667 ORDERED and UNORDERED when FLAG_FAST_MATH. Handle properly UNLE
4668 and UNGE.
4669
69bc0a1f
JH
4670Sun Jan 7 14:35:13 MET 2001 Jan Hubicka <jh@suse.cz>
4671
4672 * combine.c (combine_simplify_rtx): Recognize the unordered compares.
4673 (nonzero_bits): Likewise.
4674 (simplify_comparison): Likewise.
4675 (num_sign_bit_copies): Likewise; return more sane value depending
4676 on STORE_FLAG_VALUE.
4677 (known_cond): Do not assume EQ to be always true for equivalent
4678 operands.
4679
fd13313f
JH
4680Sun Jan 7 14:31:57 MET 2001 Jan Hubicka <jh@suse.cz>
4681
4682 * cse.c (fold_rtx): Handle unordered comparisons.
4683
91b2d119
JH
4684Sun Jan 7 13:49:19 MET 2001 Jan Hubicka <jh@suse.cz>
4685
4686 * rtlanal.c (set_of_1): New static function.
4687 (reg_set_last_1, reg_set_p_1, reg_set_reg, reg_set_flag,
4688 reg_set_last_unknown, reg_set_last_value, reg_set_last_first_regno,
4689 reg_set_last_last_regno): Remove.
4690 (set_of): New global function.
4691 (set_of_data): New structure.
4692 (reg_set_p, reg_set_last): Revamp for set_of.
4693 * rtl.h (set_of): New.
4694
796cdb65
JM
46952001-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
4696
4697 * c-common.c (c_common_nodes_and_builtins): Add _Exit builtin.
4698 * extend.texi: Document _Exit builtin.
4699
7ca3d2b1
NB
47002001-01-07 Neil Booth <neil@daikokuya.demon.co.uk>
4701
825b6926
ZW
4702 * (initialize, initialize_builtins,
4703 initialize_dependency_output, initialize_standard_includes):
4704 Rename s/initialize/init. Update.
4705 (init_dependency_output): Move to after
4706 cpp_handle_options, the correct location temporally at least.
4707 (opt_comp): Move next to init (), its caller. Fix prototype.
4708 (init): Make "initialized" local scope.
4709 (cpp_create_reader): Always call init ().
4710 (cpp_start_read): Update.
4711 (output_deps): New function, broken out of cpp_finish.
4712 (cpp_finish): Break out output_deps.
7ca3d2b1 4713
34445094
RH
47142001-01-07 Richard Henderson <rth@redhat.com>
4715
4716 * collect2.c (COFF specific stuff): Revert 12-06 patch
4717 to prototype system functions.
4718
96a45535
MH
47192001-01-07 Michael Hayes <mhayes@redhat.com>
4720
4721 * hard-reg-set.h: Add multiple include guard.
4722 * basic-block.h (struct loop): Add `sink' field.
4723 * loop.h: Include sbitmap.h, hard-reg-set.h, and basic-block.h.
4724 (emit_iv_add_mult): Delete.
4725 (loop_iv_add_mult_hoist, loop_iv_add_mult_sink): Define.
4726 (loop_iv_add_mult_emit_before, loop_insn_sink): Define.
4727 (unroll_loop): Remove end_insert_before argument.
4728 * loop.c (loop_givs_rescan): Remove end_insert_before argument.
4729 (maybe_eliminate_biv_1): Likewise.
4730 (emit_iv_add_mult): Delete.
4731 (gen_add_mult, loop_regs_update): New.
4732 (loop_insn_emit_after, loop_insn_emit_before): New.
4733 (loop_insn_sink, loop_insn_sink_or_swim): New.
4734 (emit_iv_add_mult): Delete.
4735 (scan_loop): Set loop->sink.
4736 (loop_givs_reduce): Use loop_insn_sink and its ilk.
4737 (loop_givs_rescan, strength_reduce, check_dbra_loop): Likewise.
4738 (maybe_eliminate_biv_1): Likewise.
4739 (maybe_eliminate_biv_1): Add basic block argument.
4740 * unroll.c (unroll_loop): Remove end_insert_before argument.
4741 (find_splittable_regs): Likewise.
4742 (find_splittable_regs): Use loop_insn_sink and its ilk.
4743 (find_splittable_givs, final_biv_value, final_giv_value): Likewise.
4744
804a718a
MH
47452001-01-07 Michael Hayes <mhayes@redhat.com>
4746
4747 * loop.h (loop_insn_hoist): New prototype.
4748 * loop.c (loop_insn_hoist, loop_insn_emit_before): New.
4749 (move_movables, loop_givs_rescan): Use loop_insn_hoist.
4750 (check_dbra_loop, load_mems): Likewise.
4751 * unroll.c (unroll_loop, find_splittable_regs): Likewise.
4752 (find_splittable_givs): Likewise.
4753
30a1181a
MH
47542001-01-07 Michael Hayes <mhayes@redhat.com>
4755
4756 * loop.c (emit_iv_add_mult): Use single_set to examine new insn.
4757
cabf3891
RH
47582001-01-07 Richard Henderson <rth@redhat.com>
4759
4760 * sched-rgn.c (is_cfg_nonregular): Fix thinko's last change.
4761
9db0819e
RH
47622001-01-07 Richard Henderson <rth@redhat.com>
4763
4764 * Makefile.in (DRIVER_DEFINES): Define ENABLE_SHARED_LIBGCC and
4765 NO_SHARED_LIBGCC_MULTILIB as required for the target.
4766 * gcc.c (init_spec): Massage the existing libgcc_spec into a
4767 variant that handles a shared libgcc.
4768 (process_command): Always validate -{static,shared}-libgcc.
4769 (do_spec_1): New 'M' case.
4770 * invoke.text (Link Options): Document -{static,shared}-libgcc.
4771
2bbea3a6
RH
47722001-01-07 Richard Henderson <rth@redhat.com>
4773
4774 * Makefile.in (slibdir): New variable.
4775 (libgcc.mk): Pass SHLIB_INSTALL to mklibgcc.
4776 (installdirs): Create slibdir.
4777 (install-libgcc, install-multilib): Defer to libgcc.mk.
4778 * configure.in (slibdir): Substitute.
4779 * mklibgcc.in (install): New target.
4780
4781 * config/t-linux (SHLIB_LINK): Create links for the soname.
4782 (SHLIB_INSTALL): New.
4783 * config/alpha/t-osf4 (SHLIB_INSTALL): New.
4784 * config/mips/t-iris6 (SHLIB_INSTALL): New.
4785 * config/rs6000/t-aix43 (SHLIB_INSTALL): New.
4786 * config/sparc/t-slibgcc (SHLIB_INSTALL): New.
4787 * config/sparc/t-slibgcc-sld (SHLIB_INSTALL): New.
4788
fc51424c
RH
47892001-01-07 Richard Henderson <rth@redhat.com>
4790
4791 * config/rs6000/aix.h (LINK_LIBGCC_SPECIAL_1): New.
4792 * config/rs6000/rs6000.h (LIBGCC_SPEC): Remove.
4793 * config/rs6000/sysv4.h (LIBGCC_SPEC): Remove.
4794
1d7ae250
MH
47952001-01-07 Michael Hayes <mhayes@redhat.com>
4796
4797 * loop.c (count_loop_regs_set): Delete.
4798 (load_mems_and_recount_loop_regs_set): Delete.
4799 (loop_regs_scan): Merge common code from count_loop_regs_set,
4800 scan_loop, and load_mems_and_recount_loop_regs_set.
4801 (scan_loop): Call load_mems directly and loop_regs_scan
4802 again if new registers created.
4803
cd2a3ba2
NB
48042001-01-07 Neil Booth <neil@daikokuya.demon.co.uk>
4805
825b6926
ZW
4806 * toplev.c (main): Call the front-end specific post_options
4807 hook if one is given.
4808 * toplev.h (struct_lang_hooks, lang_hooks): New.
4809 * c-lang.c (c_post_options, lang_hooks): Implement lang_hooks
4810 for the C front end.
4811 * cp/decl2.c (cxx_post_options, lang_hooks): Implement
4812 lang_hooks for the C++ front end.
4813 * objc/objc-act.c (objc_post_options, lang_hooks): Implement
4814 lang_hooks for the ObjC front end.
4815 * f/com.c (lang_hooks): Hooks for the Fortran front end.
4816 * java/lang.c (lang_hooks): Hooks for the Java front end.
cd2a3ba2 4817
65289a3a
NB
48182001-01-07 Neil Booth <neil@daikokuya.demon.co.uk>
4819
825b6926
ZW
4820 * c-lex.c (init_c_lex): Request #define / #undef callbacks
4821 for verbose DWARF[2] debugging.
4822 (cb_define, cb_undef): The new callbacks.
4823 * toplev.h (debug_define, debug_undef): Make const correct.
4824 * toplev.c (debug_define, debug_undef): Similarly. Do not
4825 perform the verbosity tests here anymore.
65289a3a 4826
f759eb8b
AO
48272001-01-07 Alexandre Oliva <aoliva@redhat.com>
4828
4829 * reload.c (subst_reloads): Take INSN argument. When
4830 replacing a LABEL_REF in a JUMP_INSN, add a REG_LABEL note.
4831 * reload.h (subst_reloads): Adjust prototype.
4832 * reload1.c (reload_as_needed): Pass INSN to subst_reloads.
4833 * jump.c (mark_all_labels): Canonicalize any REG_LABEL notes
4834 present in JUMP_INSNs and copy them to JUMP_LABEL.
4835 * flow.c (find_label_refs, find_basic_blocks_1): Skip
4836 JUMP_INSNs and insns with REG_LABELs that are followed by
4837 JUMP_INSNs with the same REG_LABEL.
4838 * sched-rgn.c (is_cfg_nonregular): Likewise.
4839 * rtlanal.c (computed_jump_p): Make it false if a REG_LABEL
4840 note is available.
4841 * unroll.c (unroll_loop): Look for REG_LABEL notes in
4842 JUMP_INSNs too.
4843 * rtl.texi (REG_LABEL): Document usage in JUMP_INSNs.
4844
587f56c2
RH
48452001-01-06 Richard Henderson <rth@redhat.com>
4846
4847 * loop.c (scan_loop): Use xcalloc for the regs array.
4848 (load_mems_and_recount_loop_regs_set): Zero the new memory
4849 received from xrealloc.
4850
fa6f74f6
NB
48512001-01-06 Neil Booth <neil@daikokuya.demon.co.uk>
4852
4853 * mkdeps.c (deps_add_dep): Fix vector re-allocation.
4854
ea55fa7a
R
4855Sat Jan 6 00:09:34 2001 J"orn Rennecke <amylaar@redhat.com>
4856
4857 * integrate.c (copy_rtx_and_substitute): When copying
4858 an ignored return value, strip REG_FUNCTION_VALUE_P.
4859
c804f3f8
MH
48602001-01-06 Michael Hayes <mhayes@redhat.com>
4861
4862 * loop.c (debug_biv, debug_giv): New.
4863 (loop_biv_dump): Break out from ...
4864 (record_biv): ... here.
4865 (loop_giv_dump): Break out from ...
4866 (record_giv): ... here.
4867 (loop_bivs_check): Use print_simple_rtl.
4868 * unroll.c (loop_iterations): Use print_simple_rtl.
4869
d492b096
JDA
48702000-01-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
4871
4872 * pa.md (return, return_internal): Modify patterns to prevent regrename
4873 mucking with the return pointer.
4874
f7d2b0ed
RH
48752001-01-05 Richard Henderson <rth@redhat.com>
4876
4877 * dwarf2out.c (mem_loc_descriptor) [case MEM]: Revert 10-31 change.
4878
0426e049
NC
4879Fri Jan 5 16:34:18 2001 Nick Clifton <nickc@redhat.com>
4880
4881 * config/v850/lib1funcs.asm: Replace __mulsi3 routine with faster
4882 version supplied by Matteo Frigo.
4883
f7114e17
NB
48842001-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
4885
825b6926
ZW
4886 * cpp.texi: Update for -MQ.
4887 * cppinit.c (cpp_create_reader): Always create pfile->deps.
4888 (cpp_cleanup): Always free pfile->deps.
4889 (initialize_dependency_output): Don't create pfile->deps.
4890 (cpp_handle_option): Similarly.
4891 (OPT_MQ): New.
4892 * gcc.c (cpp_options): Handle -MQ.
4893 (DEFAULT_WORD_SWITCH_TAKES_ARG): Add -MQ.
4894 * mkdeps.c (base_name): Remove.
4895 (deps_init): Don't allocate vector space until it's needed.
4896 (deps_free): Only free vectors if allocated.
4897 (deps_add_target, deps_add_dep): Update for initial allocation.
4898 (deps_add_default_target): Don't strip to the base_name.
f7114e17 4899
a64761a3
DD
49002001-01-05 DJ Delorie <dj@redhat.com>
4901
4902 * config/v850/v850.h (RETURN_ADDR_RTX): Define.
4903 (INIT_EXPANDERS): Define.
4904
4905 * config/v850/v850.c (struct machine_function): Define.
4906 (v850_save_machine_status): New function.
4907 (v850_restore_machine_status): New function.
4908 (v850_return_addr): New function.
4909 (v850_init_expanders): New function.
4910
4911 * config/v850/v850-protos.h: Add prototypes for v850_return_addr
4912 and v850_init_expanders.
825b6926 4913
f4cdc368
ZW
49142001-01-05 Zack Weinberg <zack@wolery.stanford.edu>
4915
4916 * cpplib.h (struct cpp_reader): Add help_only field.
4917 * cppinit.c (COMMAND_LINE_OPTIONS): Add OPT_version.
4918 (cpp_handle_option): Set pfile->help_only if we see -h,
4919 --help, -target-help, or --version. Print version string but
4920 do not set help_only if we see -v or -version. Make text
4921 printed by -v match that printed by (-)-version.
4922
4923 * cppmain.c (main): Exit after option parsing if
4924 pfile->help_only is true.
4925
4926 * toplev.c (independent_decode_option): Call print_version,
4927 then exit, if we see --version (but not -version).
4928 (print_version): Split lengthy message into two lines.
4929
3326b760
NC
49302001-01-05 Nick Clifton <nickc@redhat.com>
4931
4932 * config/v850/v850.c (v850_encode_data_area): Use alloca to create
4933 temporary string for initialisation before calling ggc_alloc_string.
4934
75b7557d
MH
49352001-01-06 Michael Hayes <mhayes@redhat.com>
4936
4937 * rtl.h (print_simple_rtl): New.
4938 * print-rtl.c (print_simple_rtl): New.
4939 (flag_simple): New.
4940 (print_rtx): Disable printing of flags and modes, etc.,
825b6926 4941 if `flag_simple` nonzero.
75b7557d 4942
b05467dc
ZW
49432001-01-05 Zack Weinberg <zack@wolery.stanford.edu>
4944
4945 * function.c (fixup_var_refs): Use push_to_full_sequence where
4946 possible.
4947
b883f801
MM
49482001-01-05 Michael Meissner <meissner@redhat.com>
4949
4950 * flags.h (flag_reorder_blocks): Add declaration.
4951 (flag_rename_block): Ditto.
4952
cc1fe44f
DD
49532001-01-05 DJ Delorie <dj@redhat.com>
4954
4955 * function.c (reorder_blocks): Make sure the flags are all reset
4956 before using them to mark blocks, else a second invocation will
4957 corrupt the block chain.
4958 (reorder_blocks_0): New, resets the flags.
4959
8b03b984
R
4960Fri Jan 5 20:34:06 2001 J"orn Rennecke <amylaar@redhat.com>
4961
4962 * cse.c (find_comparison_args): Stop if the argument is known to
4963 be constant.
4964
18a7c2a7
AO
49652001-01-05 Alexandre Oliva <aoliva@redhat.com>
4966
4967 * config/sh/sh.md (movdf): When splitting load into pair of
4968 registers, don't clobber the register used in the address too
4969 early.
4970
fcbd8ef2
JO
49712001-01-05 Jeffrey Oldham <oldham@codesourcery.com>
4972
4973 * varasm.c (mark_constant_pool): Improve initial comments.
4974 (mark_constants): Move marking of constants to mark_constant.
4975 (mark_constant): New function to recursively mark all constants
4976 referred to by a constant.
4977
ebb0cdf3
CM
49782001-01-05 Catherine Moore <clm@redhat.com>
4979
4980 * dbxout.c ((dbxout_parms): Handle invisible ref where decl is a REG.
4981
3b4e6a16
PE
49822001-01-05 Phil Edwards <pme@sources.redhat.com>
4983
4984 * cp/lang-options.h: Bring comment in line with reality.
4985 * f/lang-options.h: Likewise.
4986 * java/lang-options.h: Likewise.
4987 * objc/lang-options.h: Likewise.
4988 * ch/lang-options.h: Likewise.
4989 * f/g77.texi: And update the manual.
4990
dcfb1a36
MM
49912001-01-05 Marek Michalkiewicz <marekm@linux.org.pl>
4992 Denis Chertykov <denisc@overta.ru>
4993
4994 * config/avr/avr-protos.h (avr_peep2_scratch_safe): Prototype.
4995 * config/avr/avr.c (avr_peep2_scratch_safe): New function.
4996 * config/avr/avr.md (all peepholes that request a scratch register):
4997 Call it, FAIL the peephole if not safe (in interrupt functions).
4998
cef3d50c
MM
49992001-01-05 Mark Mitchell <mark@codesourcery.com>
5000
5001 * ggc-page.c (NUM_EXTRA_ORDERS): Hardwire to zero for now.
5002
341e3d11
JM
50032001-01-05 Joseph S. Myers <jsm28@cam.ac.uk>
5004
5005 * builtins.def (BUILT_IN_CONJ, BUILT_IN_CREAL, BUILT_IN_CIMAG):
5006 Define.
5007 * builtins.c (expand_builtin): Abort on BUILT_IN_CONJ,
5008 BUILT_IN_CREAL and BUILT_IN_CIMAG.
5009 * c-common.c (c_common_nodes_and_builtins): Create builtin conjf,
5010 conj, conjl, crealf, creal, creall, cimagf, cimag and cimagl.
5011 (expand_tree_builtin): Handle BUILT_IN_CONJ, BUILT_IN_CREAL and
5012 BUILT_IN_CIMAG.
5013 * extend.texi: Document these builtins.
5014
604bb87d
DB
50152001-01-05 Daniel Berlin <dberlin@redhat.com>
5016
5017 * c-common.c (lang_get_alias_set): Say we know nothing of
825b6926 5018 VECTOR_TYPE aliasing.
604bb87d
DB
5019
5020 * dwarf2out.c (is_base_type): Handle VECTOR_TYPE properly.
5021
15fe1a7e
BK
50222001-01-05 Bruce Korb <bkorb@gnu.org>
5023
5024 * fixinc/mkfixinc.sh(vax-*-bsd): convert exit and atexit calls to
5025 their x* equivalent versions for atexit-less systems
5026 * fixinc/fixincl.c(main): do not return from main() on atexit-less
5027 systems (or any other system any more).
5028
b0888988
RE
50292001-01-05 Richard Earnshaw <rearnsha@arm.com>
5030
5031 * arm.md (ldmsi_postinc): Avoid use of match_dup between input and
5032 output operands. Use arm_hard_register_operand for operand 4.
5033 (stmsi_postinc): Similarly.
5034 (ldmsi): Use arm_hard_register_operand for opernand 2.
5035 (stmsi): Similarly.
5036 * arm.c (arm_hard_register_operand): New function.
5037 * arm-protos.h (arm_hard_register_operand): Prototype it.
5038
5039 * arm.h (HARD_REGNO_RENAME_OK): Define.
5040
90a74703
JH
5041Fri Jan 5 16:29:49 MET 2001 Jan Hubicka <jh@suse.cz>
5042
5043 * simplify-rtx.c (cfc_args): add "unordered" field.
5044 (check_fold_consts): Set unordered field.
5045 (simplify_relational_operation): Simplify the unordered
5046 comparisons.
5047
5048 * reg-stack.c (swap_rtx_condition): Ensure that the transformation
5049 is valid.
5050
5051 * emit-rtl.c (try_split): Fix code to mark labels.
5052 * jump.c (mark_jump_label): Make global.
5053 * rtl.h (mark_jump_label): Declare.
5054
5055 * predict.c (estimate_probability): Handle unordred comparisons.
5056
a5a4ce3c
NB
50572001-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
5058
825b6926
ZW
5059 * cpp.texi: Update for -MP. Clarify behaviour of -MT.
5060 * cppinit.c (initialize_dependency_output): Update.
5061 (cpp_finish): Output dummy targets for -MP.
5062 (OPT_MP): New.
5063 (cpp_handle_option): Handle -MP. Don't quote -MT options.
5064 * cpplib.h (struct cpp_options): Add deps_phony_targets.
5065 * gcc.c (cpp_options): Update to handle -MP.
5066 * mkdeps.c (deps_add_target, deps_add_default_target): Update
5067 to quote only the default target.
5068 (deps_phony_targets): Insert a preceding newline. Rename from
5069 deps_dummy_targets for consistency.
5070 * mkdeps.h: Update
a5a4ce3c 5071
97fc4caf
AO
50722001-01-05 Alexandre Oliva <aoliva@redhat.com>
5073
5074 * calls.c (emit_library_call_value_1): Support
5075 INIT_CUMULATIVE_LIBCALL_ARGS.
5076 * tm.texi (INIT_CUMULATIVE_LIBCALL_ARGS): Document it.
5077
ffc5c6a9
RH
50782001-01-04 Richard Henderson <rth@redhat.com>
5079
5080 * c-decl.c (finish_struct): Detect flexible array members
5081 used in an inappropriate context.
5082 * c-typeck.c (really_start_incremental_init): Special case
5083 constructor_max_index for zero length arrays.
5084 (pop_init_level): Allow initialization of flexible array
5085 members. Deprecate initialization of zero length arrays.
5086 Don't issue missing initializer warning for flexible array
5087 members or zero length arrays.
5088 (process_init_element): Don't dereference null DECL_SIZE.
5089 * varasm.c (array_size_for_constructor): Return a HOST_WIDE_INT.
5090 Don't abort for empty constructors. Use size_binop
825b6926 5091 (output_constructor): Add commentary regarding zero length
ffc5c6a9
RH
5092 array futures. Abort if we try to initialize an array of
5093 unspecified length with a non-empty constructor in the middle
5094 of a structure.
5095
5096 * extend.texi (Zero Length): Update and clarify documentation
5097 on static initialization.
5098
69f6e760
MH
50992001-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5100
5101 * config/c4x/c4x.c (c4x_expand_prologue): Don't compile an ISR
5102 with more than 32767 words of local storage.
5103
06dd70c6
MH
51042001-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5105
5106 * config/c4x/c4x.c (c4x_init_builtins): Remove builtin support
5107 for 'abs', 'labs', and 'fabs'.
5108 (c4x_expand_builtin): Likewise.
5109 * config/c4x/c4x.h (enum c4x_builtins): Likewise.
5110
99e87c10
AO
51112001-01-05 Alexandre Oliva <aoliva@redhat.com>
5112
5113 * config/sh/sh.md (prget, prset): New insn types.
5114 (return delay slot): Dont' allow prset.
5115 (call, sfunc delay slot): Don't allow prget.
5116 (movsi_i, movsi_ie, movsi_i_lowpart): Create separate alternatives
5117 for prset and prget.
5118
576d0b54 51192001-01-05 Michael Hayes <mhayes@redhat.com>
825b6926 5120
f1d4ac80
MH
5121 * loop.h (struct loop_reg): New.
5122 (struct loop_regs): Change to use array of `struct loop_reg'.
5123 * loop.c: Replace assortment of varrays with single regs array.
5124 (count_one_set): Delete may_not_move array argument
5125 and use regs array instead. All caller's changed.
5126 (count_loop_regs_set): Delete may_not_move and single_usage
5127 arguments and use regs array instead. All caller's changed.
5128 (find_single_use_in_loop): Replace usage array argument with pointer
5129 to regs structure. All caller's changed.
5130 (loop_optimize): Delete `moved_once' array.
5131
51322001-01-05 Michael Hayes <mhayes@redhat.com>
825b6926 5133
576d0b54
MH
5134 * loop.c (prescan_loop): Set loop_info->has_nonconst_call.
5135 Use it instead of loop_info->has_call for scanning loop mems.
5136 (check_dbra_loop): Replace loop_info->has_call test with
5137 loop_info->has_nonconst_call.
5138
616af7ee
MH
51392000-01-04 Matthew Hiller <hiller@redhat.com>
5140
5141 * config/sh/sh.h (EPILOGUE_USES): Recognize fpscr as epilogue-used
5142 for TARGET_SH3E.
5143
32812a40
JM
51442001-01-04 Joseph S. Myers <jsm28@cam.ac.uk>
5145
5146 * fold-const.c (fold): When folding a CONJ_EXPR of a COMPLEX_CST,
5147 use TREE_REALPART and TREE_IMAGPART instead of TREE_OPERAND.
5148
eaa7c03f
JM
51492001-01-04 Joseph S. Myers <jsm28@cam.ac.uk>
5150
5151 * c-common.c (SIZE_TYPE, WCHAR_TYPE): Define.
5152 (flag_short_double, flag_short_wchar): Define.
5153 (c_common_nodes_and_builtins): Create many tree nodes shared
5154 between C and C++ here instead of in cp/decl.c and ...
5155 * c-decl.c (init_decl_processing): ... here.
5156 (SIZE_TYPE, WCHAR_TYPE): Don't define.
5157 (flag_short_double, flag_short_wchar): Don't define.
5158 (record_builtin_type): New function.
5159 (build_void_list_node): New function.
5160 * c-common.h (flag_short_double, flag_short_wchar,
5161 record_builtin_type, build_void_list_node): Declare.
5162
e2a5f96b
R
5163Thu Jan 4 21:09:47 2001 J"orn Rennecke <amylaar@redhat.com>
5164
5165 * integrate.c (expand_inline_function): Don't put a virtual
5166 register into the reg map.
5167
5168 * function.c (fixup_var_refs_1): If force_operand didn't put
5169 the address into the target, move it there.
5170
2be510b8
MM
51712001-01-04 Mark Mitchell <mark@codesourcery.com>
5172
5173 Special-case tree_decl/tree_list allocations.
5174 * ggc-page.c (OBJECT_PER_PAGE): Reimplement.
5175 (OBJECT_SIZE): New macro.
5176 (NUM_EXTRA_ORDER): Likewise.
5177 (extra_order_size_table): New variable.
5178 (NUM_ORDERS): New macro.
5179 (objects_per_page_table): New variable.
5180 (object_size_table): New variable.
5181 (G.pages): Use NUM_ORDERS to bound the array.
5182 (G.page_tails): Likewise.
5183 (DIV_ROUND_UP): Remove.
5184 (BITMAP_SIZE): Use CEIL, instead of DIV_ROUND_UP.
5185 (alloc_page): Use OBJECT_SIZE.
5186 (size_lookup): Don't make it const.
5187 (ggc_alloc): Use OBJECT_SIZE.
5188 (ggc_set_mark): Likewise.
5189 (ggc_get_size): Likewise.
5190 (init_ggc): Set up the object_size_table, objects_per_page_table,
5191 and adjust size_lookup.
5192 (ggc_recalculate_in_use_p): Use CEIL, not DIV_ROUND_UP.
5193 (ggc_pop_context): Use NUM_ORDERS.
5194 (clear_marks): Likewise.
5195 (sweep_pages): Likewise.
5196 (poison_pages): Likewise.
5197 (ggc_print_statistics): Use OBJECT_SIZE.
5198
bf1aaf0a
RK
5199Thu Jan 4 15:54:05 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5200
5201 * varasm.c (output_constructor): Use HOST_WIDE_INT for sizes.
5202 Only call array_size_for_constructor if last field and array type
5203 with no upper bound.
5204
ceebdb09
PB
52052001-01-04 Philip Blundell <philb@gnu.org>
5206
5207 * config/arm/arm.c (arm_gen_constant): Prefer to emit constants
5208 from bit 31 downwards, if this requires no more insns.
5209 (count_insns_for_constant): New helper function for above.
5210
1fd4f141
AO
52112001-01-04 Alexandre Oliva <aoliva@redhat.com>
5212
5213 * gencodes.c (output_predicate_decls): Remove empty initializer.
5214
3af4c257
MM
52152001-01-04 Mark Mitchell <mark@codesourcery.com>
5216
5217 * tree.c (copy_node): Remove documentation about obstacks.
5218 (buidl1): Check that nobody tries to build 2-argument nodes this
5219 way.
5220
30472f46
KG
52212001-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5222
a41d0855
KG
5223 * sparc.h (PREDICATE_CODES): Delete fp_sethi_p, fp_mov_p and
5224 fp_high_losum_p.
5225
30472f46
KG
5226 * gencodes.c (output_predicate_decls): Fill empty initializer
5227 braces.
5228
c3843cea
JJ
52292001-01-04 Jakub Jelinek <jakub@redhat.com>
5230
5231 * tradcpp.c (deps_file, print_deps_missing_files): New variables.
5232 (main): Handle -MG, -MD, -MMD. Bail out if -MG is given without -M
5233 or -MM.
5234 (do_include): Handle missing headers like cpp0.
5235 * cppfiles.c (_cpp_execute_include): Don't prefix absolute header
5236 paths with first include pathname. Don't strcat to uninitialized
5237 string.
5238
f4d578da
BS
52392001-01-04 Bernd Schmidt <bernds@redhat.com>
5240
5241 * regrename.c (regrename_optimize): Don't rename from frame pointer
5242 if frame_pointer_needed.
5243 (do_replace): Don't set ORIGINAL_REGNO to a hard register number.
5244 * config/ia64/ia64.c (emit_all_group_insn_barriers): New function.
5245 (ia64_reorg): Use it instead of scheduling if ! optimize.
5246 (errata_emit_nops): Properly call asm_noperands.
5247 (ia64_sched_reorder): Finish cycle if we see an asm.
5248 (ia64_variable_issue): Clear scheduling state after asms.
5249
03b9ab42
NB
52502001-01-04 Neil Booth <neil@daikokuya.demon.co.uk>
5251
825b6926
ZW
5252 * cpp.texi: Update for -MT.
5253 * cppinit.c (initialize_dependency_output): Add a default
5254 target if none has been given already.
5255 (no_tgt, OPT_MT): New.
5256 (cpp_handle_option): Handle -MT. Update -M etc.
5257 * cpplib.h (struct cpp_options): Remove deps_target.
5258 * gcc.c (cpp_options): Handle -MT.
5259 * mkdeps.c (struct deps): Move from mkdeps.h.
5260 (deps_calc_target): Rename deps_add_default_target. Add a
5261 default target if none has been specified already.
5262 * mkdeps.h (struct deps): Move to mkdeps.c.
5263 (deps_calc_target): Rename deps_add_default_target.
03b9ab42 5264
584ef5fe
RH
52652000-01-03 Richard Henderson <rth@redhat.com>
5266
5267 * c-decl.c (grokdeclarator): Give zero-length arrays size zero.
5268 Remove dead code.
5269 * c-typeck.c (push_init_level): Move checks for flexible array
5270 members and zero length arrays ...
5271 (pop_init_level): ... here. Silently discard empty initializations.
5272 Remove dead code.
5273 * varasm.c (output_constructor): Update for sizeof change to
5274 zero-length arrays.
5275
5276 * extend.texi (Zero Length): Clarify semantics.
5277
04d430b8
AO
52782001-01-03 Alexandre Oliva <aoliva@redhat.com>
5279
5280 * configure.in (tm.h): Include isns-codes.h last.
5281 * configure: Rebuilt.
5282
e55a9a6e
RH
52832001-01-03 Richard Henderson <rth@redhat.com>
5284
5285 * config/alpha/alpha.md (addvsi3, addvdi3): New.
5286 (negvsi2, negvdi2, subvsi3, subvdi3, mulvsi3, mulvdi3): New.
825b6926 5287
fa5db828
FS
52882001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5289
5290 * tradcpp.c (main): Make sure finclude() is called with a valid
5291 indepth value while handling -include.
5292
975d393a
AO
52932001-01-03 Alexandre Oliva <aoliva@redhat.com>
5294
5295 * gencodes.c (output_predicate_decls): New function.
5296 (main): Call it.
5297 * machmode.h (GET_MODE_MASK): Arrange for it to be defined
5298 even if it is not the first time machmode.h is #included.
5299 * config/sh/sh.c (fpul_operand): Declare MODE argument.
5300 * tm.texi (PREDICATE_CODES): Document predicate declarations.
5301 * gcc.texi (Copyright): Added 2001.
5302
03dc0325
JM
53032001-01-03 Joseph S. Myers <jsm28@cam.ac.uk>
5304
5305 * c-common.c (c_common_lang_init): New function. Warn if format
5306 warning options which only have effects when used with -Wformat
5307 are used without -Wformat.
5308 * c-common.h (c_common_lang_init): Declare.
5309 * c-lang.c (lang_init): Call c_common_lang_init.
5310 * objc/objc-act.c (lang_init): Call c_common_lang_init.
5311
955be633
JM
53122001-01-03 Joseph S. Myers <jsm28@cam.ac.uk>
5313
5314 * configure.in: Check for the mktemp command.
5315 * configure: Regenerate.
5316 * gccbug.in: Use a separate temporary file $TEMP0 for one use of
5317 $TEMP. Create temporary files with mktemp, if available at
5318 configure time; otherwise use set -C. Remove temporary files
5319 before exit.
5320
fd939e46
JM
53212001-01-03 Joseph S. Myers <jsm28@cam.ac.uk>
5322
5323 * configure.in: Require at least texinfo 4.0. Check for whether
5324 Pod::Man is sufficiently recent to regenerate GCC manpages.
5325 * configure: Regenerate.
5326 * Makefile.in (TEXI2POD): Call perl explicitly rather than relying
5327 on #!.
5328 (GENERATED_MANPAGES): Define.
5329 (generated-manpages): New target. Depend on cpp.1 as well as
5330 gcov.1.
5331 (install-man): Depend on $(GENERATED_MANPAGES) (defined by
5332 configure to generated-manpages or empty) rather than on the
5333 manpages directly. Remove execute permission from installed
5334 gcov.1 as well as cpp.1.
5335 * cpp.1, gcov.1: Regenerate.
5336
819c1488
KG
53372001-01-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5338
5339 * builtins.c (expand_builtin_strncmp): Use host_integerp and
5340 tree_low_cst. Allow using cmpstrsi in more cases.
5341
f07d22aa
RK
5342Wed Jan 3 10:48:43 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5343
5344 * config/sparc/sparc.h (RETURN_IN_MEMORY): Return 0 for variable
5345 sized types.
5346
7ccb4206
AO
5347Wed Jan 3 12:22:32 2001 Alexandre Oliva <aoliva@redhat.com>
5348
5349 * build-make (HOST_CFLAGS): Added `-DGENERATOR_FILE'.
5350 * Makefile.in (HOST_CFLAGS): Mention build-make.
5351
a338321e
RK
5352Wed Jan 3 08:53:50 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5353
5354 * config/sparc/sparc.md (nonlocal_goto): Emit goto_handler_and_restore
5355 as JUMP_INSN.
5356
432fd734
BS
53572001-01-01 Bernd Schmidt <bernds@redhat.com>
5358
5359 * builtins.c (expand_builtin_return_addr): Don't use MEM_ALIAS_SET on
5360 a REG rtx.
5361
2be28ee2
BS
5362 * cse.c (cse_rtx_varies_p): Accept additional FROM_ALIAS arg. All
5363 callers changed.
5364
713f41f9
BS
5365 * alias.c (throughout): Use ORIGINAL_REGNO when accessing
5366 reg_base_value and reg_known_value arrays.
5367 (init_alias_analysis): Add more cases to detect known values.
5368 * sched-deps.c (deps_may_trap_p): New function.
5369 (sched_analyze_2): Use it.
5370
8f8d8d6e
AO
53712001-01-03 Alexandre Oliva <aoliva@redhat.com>
5372
5373 * combine.c (simplify_shift_const): Even if we're sign-extracting,
5374 don't discard an ASHIFTRT if we're shifting in a wider mode.
5375
232a132f
JDA
53762000-01-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
5377
5378 * toplev.c (rest_of_compilation): Don't print basic block information
5379 when CFG isn't up to date.
5380
19723541
ME
53812001-01-02 Mark Elbrecht <snowball3@bigfoot.com>
5382
5383 * config/i386/djgpp.h (DWARF2_DEBUGGING_INFO): Define.
5384 (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_ASM_OP): Define.
5385 (UNALIGNED_SHORT_ASM_OP): Define.
5386 (CPP_PREDEFINES): Remove defines for GO32 and DJGPP.
5387
55560b9d
MM
53882001-01-02 Mark Mitchell <mark@codesourcery.com>
5389
5390 * fold-const.c (fold_convert): Fix typo.
5391
4f78b9a8
RH
53922001-01-02 Richard Henderson <rth@redhat.com>
5393
5394 * c-common.h (ASM_INPUT_P): New.
5395 * c-parse.in (asm): Set it when needed.
825b6926 5396 * c-semantics.c (genrtl_asm_stmt): Test it instead of the
4f78b9a8
RH
5397 existance of an operand.
5398
e2134eea
JH
5399Tue Jan 2 20:27:07 MET 2001 Jan Hubicka <jh@suse.cz>
5400
5401 * dwarf2out.c (stack_adjust_offset): Handle PRE_MODIFY.
5402 (dwarf2out_frame_debug_expr): Likewise.
5403 (mem_loc_descriptor): Handle PRE and POST_MODIFY.
5404
2b589241
JH
5405Tue Jan 2 20:21:31 MET 2001 Jan Hubicka <jh@suse.cz>
5406
5407 * i386.c (ix86_split_to_parts): Return number of part required;
5408 handle TFmodes.
5409 (print_operand, ix86_expand_branch, ix86_expand_fp_movcc): Handle
5410 TFmodes.
5411 (ix86_split_long_move): Use number of part returned
5412 by ix86_split_to_parts
5413 * i386.h (MASK_128BIT_LONG_DOUBLE, TARGET_128BIT_LONG_DOUBLE):
5414 New macros.
5415 (TARGET_SWITCHES): Add 128bit-long-double and 96bit-long-double
5416 (LONG_DOUBLE_TYPE_SIZE): Change from constant.
5417 (MAX_LONG_DOUBLE_TYPE_SIZE): New macro.
5418 (INTEL_EXTENDED_IEEE_FORMAT): Likewise.
5419 (ALIGN_MODE_128): Add TFmode.
5420 (IS_STACK_MODE): Likewise.
5421 (HARD_REGNO_NREGS): TFmode needs 3 registers.
5422 (HARD_REGNO_OK): Support TFmodes.
5423 (ASM_OUTPUT_LONG_DOUBLE): Handle TFmodes.
5424 * i386.md (scheduler definitions): Use memory operand to determine
5425 fst/fld instructions; use mode attribute to determine real mode of
5426 the instruction.
5427 (*tf): New patterns, expanders and splitters; based on XFmode patterns.
5428 * invoke.texi (128bit-long-double, 96bit-long-double): Document.
5429
330aa9a3
MM
54302001-01-02 Mark Mitchell <mark@codesourcery.com>
5431
5432 * tree.def (TRUTH_NOT_EXPR): Improve documentation.
5433
e0339ef7
RK
5434Tue Jan 2 10:47:38 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.
5435
5436 * expr.c (store_constructor_field): Update ALIGN before calling
5437 store_constructor.
5438
d07bec95
JO
54392001-01-02 Jeffrey Oldham <oldham@codesourcery.com>
5440
5441 * config/mips/mips.c (function_arg): Don't pass NULL_TREE to
5442 host_integerp.
5443
3719d27b
JO
54442001-01-02 Jeffrey Oldham <oldham@codesourcery.com>
5445
5446 * tm.texi (FUNCTION_ARG): Document that @var{type} can be an
5447 incomplete type.
5448
6d1c15cc
RK
5449Tue Jan 2 10:47:38 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.
5450
5451 * c-decl.c (start_function): Don't warn on third parameter to main.
5452
16b97540
KG
54532001-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5454
5455 * tsystem.h: Define HAVE_DECL_GETOPT.
5456
8515dc81
PB
54572001-01-02 Philip Blundell <pb@futuretv.com>
5458
825b6926 5459 * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Avoid illegal clobber
8515dc81
PB
5460 of input operand.
5461
6f85e02b
RH
54622001-01-02 Richard Henderson <rth@redhat.com>
5463
5464 * alpha.md (*ze_and_ne): Duplicate insn condition to split.
5465
21c7361e
AJ
54662001-01-02 Andreas Jaeger <aj@suse.de>
5467
5468 * c-decl.c (c_decode_option): Remove support of
5469 -Wmissing-noreturn.
5470
5471 * toplev.c (documented_lang_options): Remove -Wmissing-noreturn.
5472 (W_options): Add -Wmissing-noreturn here.
5473
5474 * flow.c: Define lang_missing_noreturn_ok_p.
5475 (check_function_return_warnings): Use it.
5476
5477 * c-common.h: Declare lang_missing_noreturn_ok_p.
5478
5479 * c-lang.c (c_missing_noreturn_ok_p): New function.
5480 (lang_init): Set lang_missing_noreturn_ok_p.
5481
5482 * invoke.texi (Warning Options): Document this.
5483
5c25e11d
PE
54842000-12-27 Phil Edwards <pme@sources.redhat.com>
5485
5486 * extend.texi (C++ Extensions): New node for C++ attributes;
20f9202d 5487 describe init_priority and com_interface.
5c25e11d
PE
5488 * invoke.texi: Remove -finit-priority as it now has zero effect.
5489 * install.texi: Fix xref syntax.
5490 * md.texi: Likewise.
5491
d1608933
RK
5492Mon Jan 1 21:28:29 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5493
e428b937
RK
5494 * config.gcc (sparc64-wrs-vxworks*): New case.
5495 * config/sparc/vxsparc64.h, config/sparc/t-vxsparc64: New files.
5496
3276910d
RK
5497 * config/sparc/sparc.c (sparc_override_options): Do support different
5498 pointer and architecture size.
5499 * config/sparc/sparc.h (MIN_UNITS_PER_WORD): Always 4.
5500 (POINTERS_EXTEND_UNSIGNED): Define.
5501 (Pmode): Test TARGET_ARCH64, not TARGET_PTR64.
5502 (FUNCTION_MODE): Define to be Pmode.
5503 * config/sparc/sparc.md (64-bit call patterns): FUNCTION_MODE now DI.
5504
d1608933
RK
5505 * function.c (expand_function_end): Properly handle DECL_RESULT
5506 and copy when ptr_mode != Pmode.
5507 * expmed.c (make_tree): Convert X from Pmode to ptr_mode, if needed.
5508
c2e42aab
KG
55092001-01-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5510
5511 * c-common.c (c_common_nodes_and_builtins): Set prototype
5512 parameters for __builtin_fputs, __builtin_fputc and
5513 __builtin_fwrite. Don't declare plain fputc as a builtin.
5514
5b1ef594
JDA
55152001-01-01 John David Anglin <dave@hiauly1.hia.nrc.ca>
5516
825b6926
ZW
5517 * loop.c (add_label_notes): Increment the label usage count when
5518 a note is added to an insn which refers to a CODE_LABEL.
5519 * gcse.c (add_label_notes): Likewise.
5b1ef594 5520
021d7b26
AJ
55212001-01-01 Andreas Jaeger <aj@suse.de>
5522
5523 * loop.c (scan_loop): Use xmalloc to allocate movables.
5524
cf011243
AO
55252001-01-01 Alexandre Oliva <aoliva@redhat.com>
5526
5527 * tm.texi (REGISTER_MOVE_COST): Add a mode argument.
5528 * reload.c (REGISTER_MOVE_COST): Likewise. Adjust all callers.
5529 * reload1.c (REGISTER_MOVE_COST): Likewise.
5530 * regclass.c (REGISTER_MOVE_COST): Likewise.
5531 (move_cost, may_move_in_cost, may_move_out_cost): Add mode
5532 dimension. Adjust all users.
5533 (init_reg_sets_1): Iterate on all modes.
5534 * config/1750a/1750a.h (REGISTER_MOVE_COST): Adjust.
5535 * config/a29k/a29k.h (REGISTER_MOVE_COST): Adjust.
5536 * config/alpha/alpha.h (REGISTER_MOVE_COST): Adjust.
5537 * config/arc/arc.h (REGISTER_MOVE_COST): Adjust.
5538 * config/arm/arm.h (REGISTER_MOVE_COST): Adjust.
5539 * config/avr/avr.h (REGISTER_MOVE_COST): Adjust.
5540 * config/c4x/c4x.h (REGISTER_MOVE_COST): Adjust.
5541 * config/d30v/d30v.h (REGISTER_MOVE_COST): Adjust.
5542 * config/dsp16xx/dsp16xx.h (REGISTER_MOVE_COST): Adjust.
5543 * config/h8300/h8300.h (REGISTER_MOVE_COST): Adjust.
5544 * config/i386/i386.h (REGISTER_MOVE_COST): Adjust.
5545 * config/ia64/ia64.h (REGISTER_MOVE_COST): Adjust.
5546 * config/m32r/m32r.h (REGISTER_MOVE_COST): Adjust.
5547 * config/m68hc11/m68hc11.h (REGISTER_MOVE_COST): Adjust.
5548 * config/m68k/m68k.h (REGISTER_MOVE_COST): Adjust.
5549 * config/mcore/mcore.h (REGISTER_MOVE_COST): Adjust.
5550 * config/mips/mips.h (REGISTER_MOVE_COST): Adjust.
5551 * config/mn10200/mn10200.h (REGISTER_MOVE_COST): Adjust.
5552 * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Adjust.
5553 * config/ns32k/ns32k.h (REGISTER_MOVE_COST): Adjust.
5554 * config/pa/pa.h (REGISTER_MOVE_COST): Adjust.
5555 * config/pdp11/pdp11.h (REGISTER_MOVE_COST): Adjust.
5556 * config/pj/pj.h (REGISTER_MOVE_COST): Adjust.
5557 * config/romp/romp.h (REGISTER_MOVE_COST): Adjust.
5558 * config/rs6000/rs6000.h (REGISTER_MOVE_COST): Adjust.
5559 * config/sh/sh.h (REGISTER_MOVE_COST): Adjust.
5560 * config/sparc/sparc.h (REGISTER_MOVE_COST): Adjust.
5561
e38fe8e0
BS
55622001-01-01 Bernd Schmidt <bernds@redhat.com>
5563
5564 * alias.c (fixed_scalar_and_varying_struct): Adjust prototype of
5565 arg VARIES_P. Call it with extra arg.
5566 (true_dependence): Likewise.
5567 * rtl.h (rtx_addr_can_trap_p): Declare.
5568 (rtx_varies_p, rtx_addr_varies_p, true_dependence): Update
5569 prototypes.
5570 * rtlanal.c (rtx_addr_can_trap_p): No longer static.
5571 (rtx_varies_p): Accept extra arg FOR_ALIAS; only disallow
5572 pic offset table register if it's zero. All callers changed.
5573 (rtx_addr_varies_p): Accept extra arg FOR_ALIAS; all callers changed.
5574
7a2bf7af
RK
5575Mon Jan 1 07:38:33 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5576
7d797311
RK
5577 * explow.c (convert_memory_address, case SYMBOL_REF): Copy
5578 STRING_POOL_ADDRESS_P.
5579
4746e0fe
RK
5580 * config/sparc/sparc.c (input_operand): Properly test for short op.
5581
fbd68e5d
RK
5582 * config.gcc (sparc-*-elf): Include sparc/sol2.h.
5583 (sparc-*-rtems*): Include sparc/sol2.h and sparc/elf.h.
5584 (sparclite-*-elf*, sparc86x-*-elf*): Likewise.
5585 * config/sparc/elf.h: No longer include sol2.h.
5586 * config/sparc/lifeelf.h: No longer include sparc/elf.h.
5587 * config/sparc/rtemself.h, config/sparc/sp86x-elf.h: Likewise.
5588
7a2bf7af
RK
5589 * config/sparc/sparc.md: Test TARGET_ARCH64 instead of TARGET_PTR64.
5590
14be28e5
MH
55912001-01-01 Michael Hayes <mhayes@redhat.com>
5592
86fee241
MH
5593 * loop.c (check_insn_for_bivs): Use ivs->n_regs to check array bounds.
5594 (find_mem_givs, record_biv, maybe_eliminate_biv): Likewise.
5595 (record_initial): Likewise.
5596 * unroll.c (copy_loop_body, loop_iterations): Likewise.
5597 (remap_split_bivs): Likewise.
5598
21c7361e 55992001-01-01 Michael Hayes <mhayes@redhat.com>
86fee241 5600
b2735d9a
MH
5601 * loop.c (loop_ivs_free): New function.
5602 (strength_reduce): Break out from...
5603
56042001-01-01 Michael Hayes <mhayes@redhat.com>
21c7361e 5605
14be28e5
MH
5606 * loop.h (struct iv): New.
5607 (REG_IV_TYPE, REG_IV_CLASS, REG_INFO): Modify to use 'struct iv'.
5608 (struct loop_ivs): Replace 'reg_iv_type', 'reg_iv_info',
5609 'reg_biv_class' fields with 'regs' and 'n_regs'.
5610 (struct ivs): Rename 'loop_iv_list' field to 'list'.
5611 * loop.c (loop_bivs_find, strength_reduce): Use ivs->regs array.
5612 * unroll.c (loop_iterations): Check array bounds with ivs->n_regs.
5613
1d2215fe
AO
56142000-12-31 Alexandre Oliva <aoliva@redhat.com>
5615
5616 * resource.c (mark_referenced_resources): Abort() before
5617 attempting to mark a pseudo register.
5618 (mark_set_resources): Likewise.
5619
8b634749
MH
56202001-01-01 Michael Hayes <mhayes@redhat.com>
5621
5622 * loop.h (REG_IV_CLASS): New accessor macro.
5623 * loop.c (REG_IV_CLASS): Use it instead of reg_iv_class array.
5624 * unroll.c (REG_IV_CLASS): Likewise.
21c7361e 5625
38fd12ea 5626See ChangeLog.4 for earlier changes.
This page took 0.816292 seconds and 5 git commands to generate.