-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathChangeLog-1998
17623 lines (12870 loc) · 639 KB
/
ChangeLog-1998
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Wed Dec 30 23:38:55 1998 Jeffrey A Law ([email protected])
* m68k.md (adddi_dilshr32): Allow all operands to be registers too.
(adddi_dishl32): Similarly.
* cse.c (invalidate_skipped_block): Call invalidate_from_clobbers
for each insn in the skipped block.
* reload1.c (reload_as_needed): Verify that the insn satisfies its
constraints after replacing a register address with an autoincrement
address for reload inheritance purposes.
* i386.md (doubleword shifts): Avoid namespace pollution.
Wed Dec 30 23:00:28 1998 David O'Brien <[email protected]>
* configure.in (FreeBSD ELF): Needs special crt files.
Wed Dec 30 22:50:13 1998 Geoffrey Noer <[email protected]>
* i386/xm-cygwin.h: Change DIR_SEPARATOR to forward slash.
1998-12-30 Andreas Schwab <[email protected]>
* loop.c (check_dbra_loop): While reversing the loop, if the
comparison value has a VOID mode use the mode of the other operand
to compute the mask.
Wed Dec 30 22:24:00 1998 Michael Meissner <[email protected]>
* rs6000.md ({save,restore}_stack_function): Take 2 operands to
avoid warnings in compiling explow.c.
(patch from Ken Raeburn, [email protected])
* rs6000.c (rs6000_stack_info): Force 8-byte alignment of
fpmem_offset. Compute total size after that, and then
rs6000_fpmem_offset using both values.
Mon Dec 28 19:26:32 1998 Gerald Pfeifer <[email protected]>
* gcc.texi (Non-bugs): ``Empty'' loops will be optimized away in
the future; indeed that already happens in some cases.
Tue Dec 29 11:58:53 1998 Richard Henderson <[email protected]>
* sparc.c (input_operand): Recognize (const (constant_p_rtx)).
(arith_operand): Remove constant_p_rtx handling.
(const64_operand, const64_high_operand): Likewise.
(arith11_operand, arith10_operand, arith_double_operand): Likewise.
(arith11_double_operand, arith10_double_operand, small_int): Likewise.
(small_int_or_double, uns_small_int, zero_operand): Likewise.
* sparc.h (PREDICATE_CODES): Likewise.
* rtl.h (CONSTANT_P): Remove CONSTANT_P_RTX.
Tue Dec 29 11:32:54 1998 Richard Kenner <[email protected]>
* rtl.def (CONSTANT_P_RTX): Clarify commentary.
* expr.c (expand_builtin, case BUILT_IN_CONSTANT_P): Rework to
consider constant CONSTRUCTOR constant and to defer some cases
to cse.
* cse.c (fold_rtx, case CONST): Add handling for CONSTANT_P_RTX.
* regclass.c (reg_scan_mark_refs, case CONST): Likewise.
Tue Dec 29 11:30:10 1998 Richard Henderson <[email protected]>
* expr.c (init_expr_once): Kill can_handle_constant_p recognition.
* cse.c (fold_rtx, case 'x'): Remove standalone CONSTANT_P_RTX code.
* alpha.c (reg_or_6bit_operand): Remove CONSTANT_P_RTX handling.
(reg_or_8bit_operand, cint8_operand, add_operand): Likewise.
(sext_add_operand, and_operand, or_operand): Likewise.
(reg_or_cint_operand, some_operand, input_operand): Likewise.
* alpha.h (PREDICATE_CODES): Likewise.
Sat Dec 26 23:26:26 1998 Jeff Law ([email protected])
* version.c: Bump for snapshot.
Sat Dec 26 09:17:04 1998 Jeffrey A Law ([email protected])
* gengenrtl.c (gencode): Always use bzero to clear memory instead
of dangerous casts and stores.
* Makefile.in (compare, gnucompare): Add missing else true clauses.
Fri Dec 25 23:00:56 1998 Jeffrey A Law ([email protected])
* alpha.md (builtin_longjmp): Add missing "DONE".
Thu Dec 24 10:39:57 1998 Stan Cox <[email protected]>
* gcc.c (execute): Enable -pipe with win32.
Wed Dec 23 10:27:44 1998 Nick Clifton <[email protected]>
* config/arm/t-arm-elf: Add multiplib option for leading
underscores.
* config/arm/thumb.h (ASM_OUTPUT_LABELREF): Use variable
'user_label_prefix' rather than macro USER_LABEL_PREFIX.
(thumb_shiftable_const): Use macro 'BASE_REG_CLASS' rather
than variable 'reload_address_base_reg_class'. [Note this
change is unrelated to the others in this patch].
* config/arm/unknown-elf.h (USER_LABEL_PREFIX): Default to no
leading underscore.
Wed Dec 23 09:51:32 1998 Kaveh R. Ghazi <[email protected]>
* alias.c (record_alias_subset): Remove ignored `&'.
(init_alias_once): Likewise.
* c-lex.c (UNGETC): Cast first argument of comma expression to void.
* config/mips/mips.c (mips_asm_file_end): Cast the result of
fwrite to `int' when comparing against one.
* config/mips/mips.h (CAN_ELIMINATE): Add parens around && within ||.
(INITIAL_ELIMINATION_OFFSET): Add braces to avoid ambiguous `else'.
* cse.c (rehash_using_reg): Change type of variable `i' to
unsigned int.
* dwarf2out.c (initial_return_save): Cast -1 to unsigned before
assigning it to one.
* except.c (duplicate_eh_handlers): Remove unused variable `tmp'.
* final.c (final_scan_insn): Likewise for variable `i'.
(output_asm_insn): Cast a char to unsigned char when used as an
array index.
* gcse.c (compute_pre_ppinout): Cast -1 to SBITMAP_ELT_TYPE when
assigning it to one.
* loop.c (strength_reduce): Remove unused variables `count' and `temp'.
* recog.c (preprocess_constraints): Cast a char to unsigned char
when used as an array index.
* regmove.c (find_matches): Likewise.
* reload1.c (calculate_needs): Add default case in switch.
(eliminate_regs_in_insn): Initialize variable `offset'.
(set_offsets_for_label): Change type of variable `i' to unsigned.
(reload_as_needed): Wrap variable `i' in macro check on
AUTO_INC_DEC || INSN_CLOBBERS_REGNO_P.
* scan-decls.c (scan_decls): Mark parameters `argc' and `argv'
with ATTRIBUTE_UNUSED. Cast variable `start_written' to size_t
when comparing against one.
* stor-layout.c (layout_decl): Cast maximum_field_alignment to
unsigned when comparing against one. Likewise for
GET_MODE_ALIGNMENT().
(layout_record): Cast record_align to int when comparing against a
signed value.
(layout_type): Cast TYPE_ALIGN() to int when comparing against a
signed value.
* tree.c (get_identifier): Cast variable `len' to unsigned when
comparing against one.
(maybe_get_identifier): Likewise
Wed Dec 23 00:10:01 1998 Jeffrey A Law ([email protected])
* toplev.c (rest_of_compilation): Do not set reload_completed.
* reload1.c (reload): Set reload_completed before calling
cleanup_subreg_operands.
Tue Dec 22 23:58:31 1998 Richard Henderson <[email protected]>
* reload1.c (emit_reload_insns): Check `set' not null before use.
Tue Dec 22 15:15:45 1998 Nick Clifton <[email protected]>
* rtlanal.c (multiple_sets): Change type of 'found' from 'rtx' to
'int'.
Tue Dec 22 13:55:44 1998 Theodore Papadopoulo <[email protected]>
* halfpic.c (half_pic_encode): Delete redundant code.
Tue Dec 22 13:02:22 1998 Michael Meissner <[email protected]>
* toplev.c (main): Delete handling of -dM as a preprocessor
option.
Mon Dec 21 17:39:38 1998 Michael Meissner <[email protected]>
* toplev.c (main): Don't emit any warnings when using -dD, -dM, or
-dI, which are handled by the preprocessor.
Sun Dec 20 16:13:44 1998 John F. Carr <[email protected]>
* configure.in: Handle Digital UNIX 5.x the same as 4.x.
* i386/sol2.h: Define LOCAL_LABEL_PREFIX as ".".
Sun Dec 20 07:39:52 1998 Jeff Law ([email protected])
* version.c: Bump for snapshot.
Sat Dec 19 22:24:22 1998 Jeff Law ([email protected])
* version.c: Bump for snapshot.
Sat Dec 19 21:41:32 1998 Jeff Law ([email protected])
* version.c: Bump for snapshot.
Sat Dec 19 09:52:27 1998 Kaveh R. Ghazi <[email protected]>
* genattr.c (fatal): Qualify a char* with the `const' keyword.
* genattrtab.c (fatal, attr_printf, attr_string, write_attr_set,
write_unit_name, write_eligible_delay, expand_units,
make_length_attrs, write_attr_case, find_attr,
make_internal_attr): Likewise.
* gencheck.c (tree_codes): Likewise.
* gencodes.c (fatal): Likewise.
* genconfig.c (fatal): Likewise.
* genemit.c (fatal): Likewise.
* genextract.c (fatal, walk_rtx, copystr): Likewise.
* genflags.c (fatal): Likewise.
* genopinit.c (fatal, optabs, gen_insn): Likewise.
* genoutput.c (fatal, error, predicates): Likewise.
* genpeep.c (fatal): Likewise.
* genrecog.c (fatal, decision, pred_table, add_to_sequence,
write_tree_1, write_tree, change_state, copystr, indents): Likewise.
Thu Dec 17 18:21:49 1998 Rainer Orth <[email protected]>
* configure.in (with-fast-fixincludes): Fix whitespace.
* configure: Rebuilt.
* fixincludes (c_asm.h): Wrap Digital UNIX V4.0B DEC C specific
asm() etc. function declarations in __DECC.
Thu Dec 17 13:57:23 1998 Nick Clifton <[email protected]>
* expr.c (emit_move_insn_1): Only emit a clobber if the target
is a pseudo register.
Thu Dec 17 13:50:29 1998 Nick Clifton <[email protected]>
* gcse.c: Include expr.h in order to get the prototype for
get_condition() which is used in delete_null_pointer_checks().
Thu Dec 17 15:58:26 1998 Kaveh R. Ghazi <[email protected]>
* hwint.h: New file to consolidate HOST_WIDE_INT (etc) macros.
Thu Dec 17 12:31:12 1998 Jim Wilson <[email protected]>
* Makefile.in (INTERNAL_CFLAGS): Add SCHED_CFLAGS.
(ALL_CFLAGS): Delete SCHED_CFLAGS.
1998-12-17 Vladimir N. Makarov <[email protected]>
* config/i60/i960.md (extendqihi2): Fix typo (usage ',' instead of
';').
1998-12-17 Michael Tiemann <[email protected]>
* i960.md (extend*, zero_extend*): Don't generate rtl that looks
like (subreg:SI (reg:SI N) 0), because it's wrong, and it hides
optimizations from the combiner.
Thu Dec 17 08:27:03 1998 J"orn Rennecke <[email protected]>
* loop.c (combine_givs_used_by_other): Don't depend on n_times_set.
Wed Dec 16 17:30:35 1998 Nick Clifton <[email protected]>
* toplev.c (main): Disable optimize_size if a specific
optimization level is requested. Always set optimization
level to 2 if -Os is specified.
Wed Dec 16 16:33:04 1998 Dave Brolley <[email protected]>
* objc/lang-specs.h: Pass -MD, -MMD and -MG to cc1obj if configured with
cpplib.
* cpplib.c (cpp_start_read): If in_fname is not initialized, try to
initialize it using fname.
1998-12-16 Zack Weinberg <[email protected]>
* cpplib.c (do_include): Treat #include_next in the
primary source file as #include plus warning. Treat
#include_next in a file included by absolute path as an
error. fp == CPP_NULL_BUFFER is a fatal inconsistency.
Wed Dec 16 12:28:54 1998 Kaveh R. Ghazi <[email protected]>
* cccp.c: Don't define MIN/MAX anymore.
* cpplib.c: Likewise.
* machmode.h: Likewise.
* system.h: Provide definitions for MIN/MAX.
Tue Dec 15 23:47:42 1998 Zack Weinberg <[email protected]>
* fix-header.c: Don't define xstrdup here.
Wed Dec 16 05:11:04 1998 J"orn Rennecke <[email protected]>
* loop.c (consec_sets_giv): New argument last_consec_insn.
(strength_reduce): Provide / use it.
Wed Dec 16 17:24:07 1998 Michael Hayes <[email protected]>
* loop.h (loop_info): New field 'vtop'.
* loop.c (check_dbra_loop): Use loop_info->vtop rather than
scanning loop for vtop.
* unroll.c (subtract_reg_term, find_common_reg_term): New functions.
(loop_iterations): Use them to determine if loop has a constant
number of iterations. Set loop_info->vtop. Don't subtract
common reg term from initial_value and final_value if have a
do-while loop.
Tue Dec 15 13:49:55 1998 Jeffrey A Law ([email protected])
* mn10200.md (addsi3 expander): Use "nonmemory_operand" for operand 2.
* mn10300.md (bset, bclr): Operand 0 is a read/write operand.
* mn10200.md (abssf2, negsf2): New expanders.
* mn10300.md (absdf2, abssf2, negdf2, negsf2): New expanders.
Tue Dec 15 11:55:30 1998 Nick Clifton <[email protected]>
* integrate.c (copy_rtx_and_substitute): If a SUBREG is
replaced by a CONCAT whose components do not have the same
mode as the original SUBREG, use a new SUBREG to restore the
mode.
* emit-rtl.c (subreg_realpart_p): Cope with subregs containing
multiword complex values.
1998-12-15 Zack Weinberg <[email protected]>
* cppalloc.c: Add xstrdup here.
* cpplib.h: Remove savestring prototype.
* cpplib.c: Remove savestring function. s/savestring/xstrdup/
throughout.
* cppfiles.c: s/savestring/xstrdup/ throughout.
1998-12-15 Zack Weinberg <[email protected]>
* cpplib.c: Make all directive handlers read their own
arguments.
(struct directive): Remove last two arguments from FUNC
member prototype. Remove `command_reads_line' member
entirely.
(directive_table): Remove initializations of
command_reads_line flag. Pretty-print.
(eval_if_expression, do_define, do_line, do_include,
do_undef, do_error, do_pragma, do_ident, do_if, do_xifdef,
do_else, do_elif, do_sccs, do_assert, do_unassert,
do_warning): Take only two args.
(cpp_define): Call do_define with two args and the text to
define stuffed into a buffer.
(make_assertion): Call do_assert with two args.
(handle_directive): Call do_line with two args. Call
kt->func with two args. Remove command_reads_line
processing.
(do_define, do_undef, do_error, do_warning, do_pragma,
do_sccs): Read the rest of the line here.
(do_ident): Gobble rest of line, as cccp does.
(cpp_undef): New function.
(cpp_start_read): Call cpp_undef instead of do_undef.
1998-12-15 Zack Weinberg <[email protected]>
* cpphash.h (union hash_value): Remove `keydef' member, add a
`struct hashnode *aschain' member for #assert.
* cpplib.c (struct tokenlist_list, struct
assertion_hashnode): Delete structure definitions.
(assertion_install, assertion_lookup, delete_assertion,
check_assertion, compare_token_lists, reverse_token_list,
read_token_list, free_token_list): Delete functions.
(parse_assertion): New function.
(cpp_cleanup): Don't destroy the assertion_hashtable.
(do_assert): Gut and rewrite. #assert foo (bar) places
entries for `#foo' and `#foo(bar)' in the macro hash table,
type T_ASSERT. The value union's `aschain' member is used
to chain all answers for a given predicate together.
(do_unassert): Also rewritten. Take an un-asserted
answer off the chain from its predicate and call
delete_macro on the hashnode, or walk a predicate chain
calling delete_macro on all the entries.
(cpp_read_check_assertion): Simply call parse_assertion to
get the canonical assertion name, and look that up in the
hash table.
* cpplib.h (ASSERTION_HASHNODE,ASSERTION_HASHSIZE,assertion_hashtab):
Removed.
* cpphash.c (install): Use bcopy instead of an explicit loop
to copy the macro name.
* cppexp.c (cpp_lex): Convert the result of
cpp_read_check_assertion to a `struct operation' directly;
don't go through parse_number.
Tue Dec 15 18:27:39 1998 J"orn Rennecke <[email protected]>
* loop.h (struct induction): Delete times_used member.
* loop.c (n_times_set): Rename to set_in_loop. Changed all users.
(n_times_used): Rename to n_times_set. Changed all users.
(scan_loop): Free reg_single_usage before strength reduction.
(record_giv, combine_givs): Remove handling of times_used member.
(combine_givs_used_once): Rename to:
(combine_givs_used_by_other) . Changed all callers.
Tue Dec 15 01:45:26 1998 Jason Merrill <[email protected]>
* dwarf2out.c (gen_struct_or_union_type_die): Check AGGREGATE_TYPE_P
instead of TREE_CODE_CLASS == 't'.
(gen_type_die): Likewise.
(scope_die_for): Ignore FUNCTION_TYPE "scopes".
Mon Dec 14 16:23:27 1998 Jim Wilson <[email protected]>
* real.c (endian): Disable last change unless
HOST_BITS_PER_WIDE_INT is greater than 32.
Mon Dec 14 17:13:36 1998 Andrew MacLeod <[email protected]>
* output.h (force_data_section): New prototype.
* varasm.c (force_data_section): New function to force the
data section, regardless of what in_section thinks.
* dwarf2out.c (output_call_frame_info): Call force_data_section
since varasm may not realize we've changes sections.
Mon Dec 14 14:09:34 1998 Nick Clifton <[email protected]>
* reload1.c (reload): Delete REG_RETVAL and REG_LIBCALL notes
after completing reload.
* rtl.texi: Document that REG_RETVAL and REG_LIBCALL are
deleted after reload.
Mon Dec 14 01:39:28 1998 Jeffrey A Law ([email protected])
* rtl.h (multiple_sets): Fix prototype.
* rtlanal.c (multiple_sets): Fix return type.
Sun Dec 13 12:43:58 1998 Jeff Law ([email protected])
* version.c: Bump for snapshot.
Sun Dec 13 01:05:22 1998 Jeff Law ([email protected])
* version.c: Bump for snapshot.
1998-12-13 Manfred Hollstein <[email protected]>
* protoize.c (fputs): Wrap extern declaration in #ifndef fputs.
Sun Dec 13 00:24:14 1998 J"orn Rennecke <[email protected]>
* rtl.h (recompute_reg_usage): Add second argument.
* flow.c (recompute_reg_usage): Likewise.
* toplev.c (rest_of_compilation): Supply second argument to
recompute_reg_usage.
* reload1.c (compute_use_by_pseudos): Allow reg_renumber[regno] < 0
after reload.
Sat Dec 12 23:39:10 1998 Jeffrey A Law ([email protected])
* m68k/t-m68kelf (MULTILIB_OPTIONS): Add mcpu32.
(MULTILIB_MATCHES): -m68332 now uses mcpu32 libraries, not m68000.
(MULTILIB_EXCEPTIONS): Don't build 68881 libraries for m68000,
mcpu32 or m5200.
* i386/next.h (ASM_OUTPUT_ALIGN): Use 0x90 for fill character.
* rtlanal.c (multiple_sets): New function.
* rtl.h (multiple_sets): Declare it.
* local-alloc.c (wipe_dead_reg): Use it.
* global.c (global_conflicts): Likewise.
Sat Dec 12 22:13:02 1998 Mark Mitchell <[email protected]>
* global.c (record_conflicts): Don't use an array of shorts to
store an array of ints.
(global_conflicts): Likewise.
Sat Dec 12 16:49:24 1998 Richard Henderson <[email protected]>
* alpha.c (alpha_expand_block_move): mode_for_size expects
bits, not bytes. Infer extra alignment from addressof.
1998-12-11 Michael Meissner <[email protected]>
* rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_LOCAL): Put small data in the
.sbss section, not .sdata.
1998-12-11 Manfred Hollstein <[email protected]>
* cccp.c: Do not #include <sys/stat.h> here; this is already done
by "system.h".
* collect2.c: Likewise.
* cpplib.h: Likewise.
* gcc.c: Likewise.
* gcov.c: Likewise.
* getpwd.c: Likewise.
* protoize.c: Likewise.
* toplev.c: Likewise.
* cpplib.h (HOST_WIDE_INT): Get definition from "machmode.h"
and don't try to define it here.
* Makefile.in (cppmain.o): Depend on machmode.h.
(cpplib.o): Likewise.
(cpperror.o): Likewise.
(cppexp.o): Likewise.
(cppfiles.o): Likewise.
(cpphash.o): Likewise.
(cppalloc.o): Likewise.
(fix-header.o): Likewise.
(scan-decls.o): Likewise.
Fri Dec 11 11:02:49 1998 Stan Cox <[email protected]>
* sh.c (print_operand): Lookup interrupt_handler attribute instead
of relying on static variable.
* (calc_live_regs): Likewise.
* (sh_pragma_insert_attributes): Create interrupt_handler
attribute if a pragma was specified.
* (sh_valid_machine_decl_attribute): Don't set static flag.
* sh.h (PRAGMA_INSERT_ATTRIBUTES): New.
Fri Dec 11 12:56:07 1998 J"orn Rennecke <[email protected]>
* reload1.c (reload_combine): Use BASIC_BLOCK_LIVE_AT_START
to determine if a register is live at a jump destination.
Everything is dead at a BARRIER.
Thu Dec 10 16:02:06 1998 Jim Wilson <[email protected]>
* cse.c (simplify_unary_operation): Sign-extend constants when
they have the most significant bit set for the target.
* real.c (endian): Sign-extend 32 bit output values on a 64 bit
host.
* m32r/m32r.c (m32r_expand_prologue): Store pretend_size in
HOST_WIDE_INT temporary before negating it.
* m32r/m32r.md (movsi_insn+1): Use ~0xffff instead of 0xffff0000.
Thu Dec 10 15:05:59 1998 Dave Brolley <[email protected]>
* objc/objc-act.c (lang_init_options): Enclose cpplib related code in
#if USE_CPPLIB.
Thu Dec 10 13:39:46 1998 Kaveh R. Ghazi <[email protected]>
* collect2.h: New header file for prototypes.
* Makefile.in (collect2.o, tlink.o): Depend on collect2.h.
* collect2.c: Include collect2.h.
* tlink.c: Likewise.
Wed Dec 9 23:55:11 1998 Jeffrey A Law ([email protected])
* flow.c: Update some comments.
Wed Dec 9 15:29:26 1998 Dave Brolley <[email protected]>
* objc/objc-act.c (cpp_initialized): Removed.
(lang_init_options): Initialize cpplib.
(lang_decode_option): Move initialization of cpplib to
lang_init_options.
* c-lang.c (parse_options,parse_in): Added.
(lang_init_options): Initialized cpplib here.
* c-decl.c (parse_options,cpp_initialized): Removed.
(c_decode_option): Move initialization of cpplib to
lang_init_options.
Wed Dec 9 19:36:57 1998 J"orn Rennecke <[email protected]>
* reload1.c (reload_combine, reload_combine_note_store):
Make STORE_RUID always valid.
(reload_combine): Check if BASE is clobbered too early.
Wed Dec 9 09:53:58 1998 Nick Clifton <[email protected]>
* reload.c (find_reloads): Display the insn that cannot be
reloaded.
Wed Dec 9 12:15:26 1998 Dave Brolley <[email protected]>
* cccp.c (create_definition): Fix end of buffer logic.
Wed Dec 9 10:15:45 1998 Kaveh R. Ghazi <[email protected]>
* except.c (duplicate_eh_handlers, rethrow_symbol_map): Function
pointer parameters changed to use the PARAMS() macro.
Wed Dec 9 09:12:40 1998 Andrew MacLeod <[email protected]>
* except.h (struct handler_info): Add handler_number field.
* except.c (gen_exception_label): EH labels no longer need to be
on the permanent obstack.
(get_new_handler): Set the label number field.
(output_exception_table_entry): Regenerate handler label reference
from the label number field.
(init_eh): Remove a blank line.
* integrate.c (get_label_from_map): Labels no longer need to be
on the permanent obstack.
Tue Dec 8 22:04:33 1998 Jim Wilson <[email protected]>
* i960/i960.h (CONST_COSTS, case CONST_INT): Accept power2_operand
only when OUTER_CODE is SET.
Tue Dec 8 22:47:15 1998 J"orn Rennecke <[email protected]>
* loop.c (strength_reduce): If scan_start points to the loop exit
test, be wary of subversive use of gotos inside expression statements.
Don't set maybe_multiple for a backward jump that does not
include the label under consideration into its range.
* unroll.c (biv_total_increment): Make use of maybe_multiple field.
Tue Dec 8 22:33:18 1998 J"orn Rennecke <[email protected]>
* explow.c (plus_constant_wide): Don't immediately return with
result of recursive call.
Tue Dec 8 15:32:56 1998 Andrew MacLeod <[email protected]>
* eh-common.h (struct eh_context): Add table_index for rethrows.
* rtl.h (enum reg_note): Add REG_EH_REGION and REG_EH_RETHROW reg notes.
(SYMBOL_REF_NEED_ADJUST): New flag indicating symbol needs to be
processed when inlined or unrolled (ie duplicated in some way).
* rtl.c (reg_note_name): Add strings for new reg_note enums.
* expr.h (rethrow_libfunc): New library decl.
* optabs.c (rethrow_libfunc): Initialize.
* except.h (struct eh_entry): Add new field 'rethrow_label'.
(new_eh_region_entry): No longer exported from except.c.
(duplicate_handlers): Renamed to duplicate_eh_handlers and
different prototype.
(rethrow_symbol_map, rethrow_used): New exported functions.
(eh_region_from_symbol): New exported function.
* except.c (create_rethrow_ref): New function to create a single
SYMBOL_REF for a rethrow region.
(push_eh_entry): Initialize a rethrow ref.
(func_eh_entry): Add a rethrow_label field.
(new_eh_region_entry): Make static, and initialize the rethrow entry.
(duplicate_eh_handlers): Create a new region, and remap labels/symbols.
(eh_region_from_symbol): Find an EH region based on its rethrow symbol.
(rethrow_symbol_map): Given a label map, maps a rethrow symbol for
a region into an appropriate new symbol.
(rethrow_used): Indicate whether a rethrow symbol has been referenced.
(expand_eh_region_end): Don't issue jump around code for new-exceptions.
(end_catch_handler): Emit a barrier for new-exceptions since
control can never drop through the end of a catch block.
(expand_end_all_catch): new-exceptions never fall through a catch
block.
(expand_rethrow): Use __rethrow routine for new exceptions.
(output_exception_table_entry): Generate rethrow labels, if needed.
(output_exception_table): Generate start and end rethrow labels.
(init_eh): Create rethrow symbols for beginning and end of table.
(scan_region): Don't eliminate EH regions which are the targets of
rethrows.
* flow.c (make_edges): Add different edges for rethrow calls,
identified by having the REG_EH_RETHROW reg label.
(delete_unreachable_blocks): Don't delete regions markers which are
the target of a rethrow.
* integrate.c (save_for_inline_eh_labelmap): New callback routine to
allow save_for_inline_copying to call duplicate_eh_handlers.
(save_for_inline_copying): Call duplicate_eh_handlers instead of
exposing internal details of exception regions.
(copy_for_inline): Check if SYMBOL_REFs need adjustment.
(expand_inline_function_eh_labelmap): New callback routine to
allow expand_inline_function to call duplicate_eh_handlers.
(expand_inline_function): Call duplicate_eh_handlers instead of
exposing internal details of exception regions.
(copy_rtx_and_substitute): Adjust SYMBOL_REFS if SYMBOL_REF_NEED_ADJUST
flag is set.
* libgcc2.c (find_exception_handler): Generalize to enable it to
pick up processing where it left off last time for a rethrow.
(__unwinding_cleanup): New function. debug hook which is called before
unwinding when __throw finds there is nothing but cleanups left.
(throw_helper): Common parts of __throw extracted out for reuse.
(__throw): Common parts moved to throw_helper.
(__rethrow): New function for performing rethrows.
Tue Dec 8 13:11:04 1998 Jeffrey A Law ([email protected])
* reload1.c (current_function_decl): Tweak declaration.
Tue Dec 8 10:23:52 1998 Richard Henderson <[email protected]>
* c-decl.c (flag_isoc9x): Default off.
(c_decode_option): Kill -std=gnu, add -std=gnu89 and -std=gnu9x.
* cccp.c (print_help, main): Likewise.
* gcc.c (default_compilers): Update for -std=gnu*.
Tue Dec 8 01:14:46 1998 Jeffrey A Law ([email protected])
* Makefile.in (DEMANGLE_H): Change location to shared demangle.h.
* demangle.h: Deleted.
* reload1.c (current_function_decl): Declare.
Tue Dec 8 11:58:51 1998 Kaveh R. Ghazi <[email protected]>
* cpplib.c (convert_string): Use `0x00ff', not `0x00ffU'.
Tue Dec 8 09:28:36 1998 Kaveh R. Ghazi <[email protected]>
* dbxout.c: If USG is defined use gstab.h, even if HAVE_STAB_H is set.
1998-12-08 Ulrich Drepper <[email protected]>
* configure.in: Test for availability of putc_unlocked, fputc_unlocked,
and fputs_unlocked.
* configure: Rebuilt.
* system.h: If the *_unlocked functions are available use them
instead of the locked counterparts by defining macros.
* config.in: Regenerated.
Tue Dec 8 00:34:05 1998 Mike Stump <[email protected]>
* i386/bsd.h (ASM_FILE_START): Don't use dump_base_name, it is
wrong and should only be used for dump related things, not
debugging information, instead main_input_filename should be used.
Also, reuse output_file_directive if possible.
* i386/aix386ng.h (ASM_FILE_START): Likewise.
* i386/isc.h (ASM_FILE_START): Likewise.
* i386/win-nt.h (ASM_FILE_START): Likewise.
* i386/sun386.h (ASM_FILE_START): Likewise.
Mon Dec 7 23:56:28 1998 Robert Lipe <[email protected]>
* configure.in (mips*-*-linux*): Handle big and little endian
systems.
* configure: Rebuilt.
Mon Dec 7 23:14:51 1998 Mike Stump <[email protected]>
* emit-rtl.c: Fix typo.
Mon Dec 7 23:07:38 1998 Nathan Sidwell <[email protected]>
* reload1.c (eliminate_regs): Don't do anything, if we're not
generating code.
Mon Dec 7 15:27:09 1998 DJ Delorie <[email protected]>
* mips/mips.h (ENCODE_SECTION_INFO): Handle TARGET_EMBEDDED_DATA.
Add comment.
* mips/mips.c (mips_select_section): Add comment.
Mon Dec 7 17:55:06 1998 Mike Stump <[email protected]>
* cccp.c (ignore_escape_flag): Add support for \ as `natural'
characters in file names in #line to be consistent with #include
handling. We support escape processing in the # 1 "..." version of
the command. See also support in cp/lex.c.
(handle_directive): Likewise.
(do_line): Likewise.
1998-12-07 Zack Weinberg <[email protected]>
* cpplib.c (initialize_char_syntax): Use ISALPHA and ISALNUM
so it'll work on non-ASCII platforms. Always consider $ an
identifier character. Take no arguments.
(cpp_reader_init): Call initialize_char_syntax with no
arguments.
(cpp_start_read): Don't call initialize_char_syntax again.
Clear is_idchar['$'] and is_idstart['$'] if not
opts->dollars_in_ident.
* cpplib.h (struct cpp_reader): Replace void *data element by
cpp_options *opts. Rearrange elements to make gdb printout
less annoying (put buffer stack at end).
(CPP_OPTIONS): Get rid of now-unnecessary cast.
* cppmain.c: s/data/opts/ when initializing cpp_reader
structure.
* c-decl.c: Likewise.
* objc/objc-act.c: Likewise.
* fix-header.c: Likewise.
1998-12-07 Zack Weinberg <[email protected]>
* cpplib.h (struct cpp_buffer): Replace dir and dlen members
with a struct file_name_list pointer.
(struct cpp_reader): Add pointer to chain of `actual
directory' include searchpath entries.
(struct file_name_list): Add *alloc pointer for the sake of
the actual-directory chain.
Move definition of HOST_WIDE_INT here.
(cpp_parse_escape): Change prototype to match changes in
cppexp.c.
* cppfiles.c (actual_directory): New function.
(finclude): Use it to initialize the buffer's actual_dir
entry.
(find_include_file): We don't need to fix up max_include_len
here.
* cpplib.c (do_include): Don't allocate a file_name_list on
the fly for current directory "" includes, use the one that's
been preallocated in pfile->buffer->actual_dir. Hoist out
duplicate code from the search_start selection logic.
(cpp_reader_init): Initialize pfile->actual_dirs.
Remove definition of HOST_WIDE_INT. Change calls
to cpp_parse_escape to match changes in cppexp.c (note
hardcoded MASK, which is safe since this is the source
character set).
* cppexp.c: Bring over changes to cpp_parse_escape from cccp.c
to handle wide character constants in #if directives. The
function now returns a HOST_WIDE_INT, and takes a third
argument which is a binary mask for all legal values (0x00ff
for 8-bit `char', 0xffff for 16-bit `wchar_t', etc.) Define
MAX_CHAR_TYPE_MASK and MAX_WCHAR_TYPE_MASK. Change callers of
cpp_parse_escape to match. [Fixes c-torture/execute/widechar-1.c]
Mon Dec 7 15:38:25 1998 Dave Brolley <[email protected]>
* gcc.c (default_compilers): Fix typo in USE_CPPLIB spec for cc1.
Mon Dec 7 15:38:25 1998 Kaveh R. Ghazi <[email protected]>
* c-aux-info.c (concat): Wrap function definition in !USE_CPPLIB.
* cppalloc.c: Move function `xcalloc' from cpplib.c to here.
* cpplib.c: Move function `xcalloc' from here to cppalloc.c.
Mon Dec 7 11:30:49 1998 Nick Clifton <[email protected]>
* final.c (output_asm_name): Use tabs to separate comments from
assembly text.
Include instruction lengths (if defined) in output.
Mon Dec 7 10:53:38 1998 Michael Hayes <[email protected]>
* loop.c (check_dbra_loop): Fix initial_value and initial_equiv_value
in the loop_info structure.
Mon Dec 7 11:04:40 1998 Catherine Moore <[email protected]>
* configure.in (arm*-*-ecos-elf): New target.
* configure: Regenerated.
* config/arm/elf.h (ASM_WEAKEN_LABEL): Define.
* config/arm/ecos-elf.h: New file.
* config/arm/unknown-elf.h (TARGET_VERSION): Check
for redefinition.
Mon Dec 7 16:15:51 1998 J"orn Rennecke <[email protected]>
* sh.c (output_far_jump): Emit braf only for TARGET_SH2.
Sun Dec 6 04:19:45 1998 Jeff Law ([email protected])
* version.c: Bump for snapshot.
Sun Dec 6 05:16:16 1998 Michael Hayes <[email protected]>
* loop.c (check_dbra_loop): New argument loop_info. Update fields
as needed.
Sun Dec 6 03:40:13 1998 Jeff Law ([email protected])
* version.c: Bump for snapshot.
Sun Dec 6 07:49:29 1998 Alexandre Oliva <[email protected]>
* gcc.texi (Bug Reporting): 40Kb is a soft limit, larger
compressed reports are ok and preferred over URLs.
Sun Dec 6 07:45:33 1998 Alexandre Oliva <[email protected]>
* invoke.texi (Warning Options): Soften the tone of -pedantic.
Sun Dec 6 00:20:44 1998 H.J. Lu ([email protected])
* print-rtl.c (print_rtx): Add prototype.
* unroll.c (iteration_info): Make it static.
Sun Dec 6 01:19:46 1998 Richard Henderson <[email protected]>
* alias.c (memrefs_conflict_p): A second ANDed address
disables the aligned address optimization.
Sat Dec 5 18:48:25 1998 Richard Henderson <[email protected]>
* alpha.c (alpha_emit_set_const_1): Fix parenthesis error
in -c << n case.
Sat Dec 5 15:14:52 1998 Jason Merrill <[email protected]>
* i960.h (BOOL_TYPE_SIZE): Define.
Sun Dec 6 00:28:16 1998 Michael Hayes <[email protected]>
* config/c4x/c4x.c (valid_parallel_load_store): Flog functionality
from old valid_parallel_operands_4.
(valid_parallel_operands_4): Check that operands for 4 operand
parallel insns are valid, excluding load/store insns.
* config/c4x/c4x.h (valid_parallel_load_store): Add prototype.
* config/c4x/c4x.md (*movqf_parallel, *movqi_parallel): Use
valid_parallel_load_store instead of valid_parallel_operands_4.
(*absqf2_movqf_clobber, *floatqiqf2_movqf_clobber,
*negqf2_movqf_clobber, *absqi2_movqi_clobber,
*fixqfqi2_movqi_clobber, *negqi2_movqi_clobber,
*notqi_movqi_clobber): Use valid_parallel_operands_4.
(*subqf3_movqf_clobber, *ashlqi3_movqi_clobber,
*ashrqi3_movqi_clobber, *lshrqi3_movqi_clobber,
*subqi3_movqi_clobber): Use valid_parallel_operands_5.
Sat Dec 5 23:52:01 1998 Michael Hayes <[email protected]>
* config/c4x/c4x.c (iteration_info): Delete extern.
Fri Dec 4 20:15:57 1998 Bernd Schmidt <[email protected]>
* tm.texi (SMALL_REGISTER_CLASSES): Make description match reality.
* final.c (cleanup_subreg_operands): Delete some unused code.
* recog.h (MAX_RECOG_ALTERNATIVES): New macro.
(struct insn_alternative): New structure definition.
(recog_op_alt): Declare variable.
(preprocess_constraints): Declare function.
* recog.c (recog_op_alt): New variable.
(extract_insn): Verify number of alternatives is in range.
(preprocess_constraints): New function.
* reg-stack.c: Include recog.h.
(constrain_asm_operands): Delete.
(get_asm_operand_lengths): Delete.
(get_asm_operand_n_inputs): New function.
(record_asm_reg_life): Delete OPERANDS, CONSTRAINTS, N_INPUTS and
N_OUTPUTS args. All callers changed.
Compute number of inputs and outputs here by calling
get_asm_operand_n_inputs.
Instead of constrain_asm_operands, call extract_insn,
constrain_operands and preprocess_constraints. Use information
computed by these functions throughout.
(record_reg_life): Delete code that is unused due to changes in
record_asm_reg_life.
(subst_asm_stack_regs): Delete OPERANDS, OPERAND_LOC, CONSTRAINTS,
N_INPUTS and N_OUTPUTS args. All callers changed.
Similar changes as in record_asm_reg_life.
(subst_stack_regs): Move n_operands declaration into the if statement
where it's used.
Delete code that is unused due to changes in subst_asm_stack_regs.
* stmt.c (expand_asm_operands): Verify number of alternatives is in
range.
* Makefile.in (reg-stack.o): Depend on recog.h.
Fri Dec 4 02:23:24 1998 Jeffrey A Law ([email protected])
* except.c (set_exception_version_code): Argument is an "int".
Fri Dec 4 01:29:28 1998 Jeffrey A Law ([email protected])
* configure.in (hppa2*-*-*): Handle like hppa1.1-*-* for now.
* configure: Rebuilt.
Fri Dec 4 01:29:28 1998 Robert Lipe <[email protected]>
* configure.in (mipsel-*-linux*): New target.
* mips/linux.h: New file, based on other Linux targets.
Thu Dec 3 11:19:50 1998 Mike Stump <[email protected]>
* gthr-vxworks.h (__ehdtor): Fix memory leak. The delete hook
runs in the context of the deleter, not the deletee, so we must
use taskVarGet to find the correct memory to free.
(__gthread_key_create): Initialize the task
variable subsystem so that the task variable is still active when
the delete hook is run.
1998-12-03 Joseph S. Myers <[email protected]>
* pdp11.h: Use optimize_size for space optimizations.
* pdp11.c: Likewise.