forked from illumos/gcc
/
ChangeLog.tuples
8231 lines (7082 loc) · 304 KB
/
ChangeLog.tuples
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
2008-07-28 Richard Guenther <rguenther@suse.de>
Merge with mainline @138201.
* configure.ac (ACX_PKGVERSION): Update revision merge string.
* configure: Regenerate.
2008-07-27 Jakub Jelinek <jakub@redhat.com>
* omp-low.c (expand_omp_atomic_fetch_op): Fix a merge glitch.
2008-07-27 Andrew Pinski <andrew_pinski@playstation.sony.com>
* config/spu/spu.c (spu_gimplify_va_arg_expr): Unshare the args
and skip trees.
2008-07-27 Richard Guenther <rguenther@suse.de>
* tree-eh.c (lookup_expr_eh_region): Do not allocate a tree
annotation.
* tree-dfa.c (create_tree_common_ann): Set eh region to -1.
* tree-flow.h (struct tree_ann_common_d): Reorder rn member
to pack with type.
2008-07-26 Richard Guenther <rguenther@suse.de>
Merge with mainline @138159.
* configure.ac (ACX_PKGVERSION): Update revision merge string.
* configure: Regenerate.
2008-07-26 Richard Guenther <rguenther@suse.de>
* gimple.h (CALL_STMT_CANNOT_INLINE_P): Remove.
2008-07-26 Jan Hubicka <jh@suse.cz>
* ipa-inline.c (cgraph_decide_inlining_of_small_function): Use
gimple_call_set_cannot_inline.
(cgraph_decide_inlining): Likewise.
(cgraph_decide_inlining_incrementally): Likewise.
2008-07-26 Richard Guenther <rguenther@suse.de>
Merge with mainline @138092.
* configure.ac (ACX_PKGVERSION): Update revision merge string.
* configure: Regenerate.
2008-07-26 Richard Guenther <rguenther@suse.de>
Merge with mainline @138091.
2008-07-25 Richard Guenther <rguenther@suse.de>
* config/ia64/ia64.c (ia64_gimplify_va_arg): Unshare valist
before reusing it.
2008-07-25 Andreas Krebbel <krebbel1@de.ibm.com>
* tree-tailcall.c (process_assignment): Prevent tail call
optimization if the modes of the return types don't match.
2008-07-24 Aldy Hernandez <aldyh@redhat.com>
* tree-inline.c (expand_call_inline): Allow casts in assert.
2008-07-24 Richard Guenther <rguenther@suse.de>
PR middle-end/36885
* tree.c (walk_tree_1): Also walk CHANGE_DYNAMIC_TYPE_EXPR operands.
* gimple.c (gss_for_code): GIMPLE_CHANGE_DYNAMIC_TYPE is GSS_WITH_OPS.
* gsstruct.def (GSS_CHANGE_DYNAMIC_TYPE): Remove.
2008-07-24 Richard Guenther <rguenther@suse.de>
* tree-sra.c (sra_walk_expr): Also handle CONVERT_EXPR.
(sra_walk_gimple_assign): Correctly detect assigns we can handle.
* expr.c (expand_expr_real_1): Pass MOVE_NONTEMPORAL to
expand_assignment.
2008-07-23 Richard Guenther <rguenther@suse.de>
* tree-ssa-dse.c (get_kill_of_stmt_lhs): Tuplify correct.
* gimple-pretty-print.c (dump_gimple_label): Dump non-local flag.
* tree.h (maybe_fold_stmt_addition): Declare.
* tree-ssa-ccp.c (maybe_fold_stmt_addition): Export.
(fold_gimple_assign): Return the new rhs instead of modifying the stmt.
(fold_stmt): Deal with that.
(fold_stmt_inplace): Only replace the rhs of a statement if
that has enough operand space to hold the new operands.
* tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Fix
POINTER_PLUS_EXPR handling.
2008-07-23 Richard Guenther <rguenther@suse.de>
* tree-eh.c (record_in_goto_queue): Fix bootstrap with
--disable-checking.
2008-07-23 Aldy Hernandez <aldyh@redhat.com>
Merge with mainline @138071.
* configure.ac (ACX_PKGVERSION): Update revision merge string.
* configure: Regenerate.
2008-07-23 Richard Guenther <rguenther@suse.de>
* tree-eh.c (union treemple): Add tree * member.
(find_goto_replacement): Adjust.
(replace_goto_queue_cond_clause): Use the address of the
individual labels as unique identifier.
(replace_goto_queue_1): Use the statement as unique identifier
for GIMPLE_GOTO.
(record_in_goto_queue): Add checking.
(record_in_goto_queue_label): Adjust.
(maybe_record_in_goto_queue): Likewise.
(do_goto_redirection): Get leh_tf_state.
(lower_try_finally_nofallthru): Pass it.
(lower_try_finally_onedest): Likewise.
(lower_try_finally_copy): Likewise.
(lower_try_finally_switch): Likewise.
2008-07-22 Aldy Hernandez <aldyh@redhat.com>
Jakub Jelinek <jakub@redhat.com>
* gimplify.c (gimple_do_not_emit_location_p): New.
(gimple_set_do_not_emit_location): New.
(annotate_one_with_location): Do not annotate if
gimple_do_not_emit_location_p.
(gimplify_cond_expr): Do not optimize if the COND_EXPR and
GOTO_EXPR have different locations.
Do not emit location information for some GIMPLE_COND's.
2008-07-22 Richard Guenther <rguenther@suse.de>
* tree-ssa-ccp.c (ccp_fold): Use gimple_expr_type.
(fold_gimple_assign): Likewise.
* tree-inline.c (remap_gimple_op_r): Do not set TREE_BLOCK on
non-statements. Recurse to copy_tree_body_r with NULL block.
(copy_phis_for_bb): Likewise.
* tree-cfg.c (move_stmt_op): Do not set TREE_BLOCK on
non-statements.
2008-07-22 Diego Novillo <dnovillo@google.com>
Richard Guenther <rguenther@suse.de>
* tree-ssa-dom.c (hashable_expr_equal_p): Do nothing if
either TYPE0 or TYPE1 is NULL.
2008-07-21 Diego Novillo <dnovillo@google.com>
* tree-ssa-alias-warnings.c (struct gimple_tree_map): New.
Change every use of struct tree_map to struct gimple_tree_map.
(gimple_tree_map_eq): New.
(gimple_tree_map_hash): New.
* tree-ssa-ccp.c (evaluate_stmt): Remove stale FIXME note.
* gimplify.c (gimplify_expr): Remove stale FIXME note.
* tree-ssa-pre.c: Remove stale references to GIMPLE_MODIFY_STMT.
* tree-vect-generic.c (expand_vector_operations_1): Change
FIXME tuples to NOTE.
2008-07-21 Richard Guenther <rguenther@suse.de>
* tree-ssa-phiprop.c (propagate_with_phi): Only look through
SSA_NAME copies.
2008-07-21 Richard Guenther <rguenther@suse.de>
* gimplify.c (gimplify_init_constructor): Clear TREE_SIDE_EFFECTS
on the remaining empty constructor.
2008-07-21 Richard Guenther <rguenther@suse.de>
* tree-ssa-ccp.c (fold_gimple_assign): Handle pointer conversions
like fold_stmt_r did.
* gimple-pretty-print.c (dump_gimple_cond): Place semicolons
where trunk did.
* tree-inline.c (copy_bb): Do not insert GIMPLE_NOPs.
2008-07-21 Richard Guenther <rguenther@suse.de>
PR tree-optimization/36826
* tree-ssa-pre.c (eliminate): Do not eliminate in unused
statements.
2008-07-20 Richard Guenther <rguenther@suse.de>
* gimple.h (gimple_expr_type): The expression type is always
the base type of an integral sub-type result type.
* tree-eh.c (replace_goto_queue_cond_clause): Copy the sequence
before handing it off to gsi_insert_seq_after.
* tree-sra.c (insert_edge_copies_seq): Make sure to not keep an
uninserted but marked for update sequence.
2008-07-20 Richard Guenther <rguenther@suse.de>
* gimple.c (DEFTREECODE): Add REALIGN_LOAD_EXPR.
2008-07-19 Richard Guenther <rguenther@suse.de>
* tree-ssa-sccvn.h (get_constant_value_id): Declare.
(vn_constant_eq_with_type): Make sure an integral type is
never equal to a non-integral type.
(vn_hash_constant_with_type): Adjust.
* tree-ssa-sccvn.c (get_constant_value_id): New function.
* tree-ssa-pre.c (get_expr_value_id): For newly created
constant value-ids make sure to add the expression to its
expression-set.
2008-07-18 Jakub Jelinek <jakub@redhat.com>
* gimple.c (gimple_regimplify_operands): Moved to...
* gimplify.c (gimple_regimplify_operands): ... here. Rework using
lower_omp_1 regimplification code, if regimplified LHS of
GIMPLE_ASSIGN or GIMPLE_CALL requires simpler RHS, create a temporary.
* omp-low.c (gimple_regimplify_operands): Use
gimple_regimplify_operands.
2008-07-18 Richard Guenther <rguenther@suse.de>
* tree-ssa-reassoc.c (get_rank): For single rhs process its
operands.
2008-07-18 Richard Guenther <rguenther@suse.de>
* tree-ssa-loop-niter.c (expand_simple_operations): Expand
as much as trunk does.
* tree-ssa-sccvn.c (simplify_binary_expression): For comparisons
always expand the first operand.
2008-07-18 Jakub Jelinek <jakub@redhat.com>
* gimple-pretty-print.c (dump_gimple_cond): Print a semicolon if
goto or else goto has been printed.
(dump_gimple_goto): Print as goto instead of gimple_goto, print
a semicolon at the end.
(dump_gimple_asm): Print a semicolon at the end.
* gimplify.c (gimplify_cond_expr): If COND_EXPR has both non-trivial
THEN and ELSE statements and the THEN sequence can't fallthru, avoid
adding label_cont and jump to it.
2008-07-18 Aldy Hernandez <aldyh@redhat.com>
* Makefile.in. Remove TREE_GIMPLE_H definition.
Rename all TREE_GIMPLE_H uses to GIMPLE_H.
Depend on tree-iterator.h when necessary.
* tree-into-ssa.c: Include gimple.h instead of tree-gimple.h.
* tree-complex.c: Same.
* cgraphbuild.c: Same.
* cgraph.c: Same.
* builtins.c: Same.
* tree-ssa-sccvn.c: Same.
* tree-ssa-copyrename.c: Same.
* tree-nomudflap.c: Same.
* tree-call-cdce.c: Same.
* ipa-pure-const.c: Same.
* ipa-utils.c: Same.
* tree-ssa-alias.c: Same.
* tree-ssa-sink.c: Same.
* langhooks.c: Same.
* function.c: Same.
* ipa-type-escape.c: Same.
* tree-affine.c: Same.
* c-typeck.c: Same.
* tree-dfa.c: Same.
* tree-ssa-pre.c: Same.
* tree-sra.c: Same.
* c-omp.c: Same.
* tree-ssa-dce.c: Same.
* tree-nested.c: Same.
* tree-ssa.c: Same.
* tree-inline.c: Same.
* tree-iterator.c: Same.
* c-gimplify.c: Same.
* tree-vect-generic.c: Same.
* tree-flow.h: Same.
* tree-ssa-structalias.c: Same.
* ipa-struct-reorg.c: Same.
* tree-ssa-reassoc.c: Same.
* config/alpha/alpha.c: Same.
* config/s390/s390.c: Same.
* config/m32c/m32c.c: Same.
* config/spu/spu.c: Same.
* config/sparc/sparc.c: Same.
* config/i386/i386.c: Same.
* config/sh/sh.c: Same.
* config/xtensa/xtensa.c: Same.
* config/stormy16/stormy16.c: Same.
* config/ia64/ia64.c: Same.
* config/rs6000/rs6000: Same.
* config/mips/mips.c: Same.
* varpool.c: Same.
* cgraphunit.c: Same. Include tree-iterator.h
* tree-mudflap.c: Same.
* gimplify.c: Same.
* c-decl.c: Same.
* omp-low.c: Same.
* c-semantics: Same.
* gimple-low.c: Same.
* tree-gimple.c: Merge contents into...
* gimple.c: ...here.
* tree-gimple.h: Merge contents into...
* gimple.h: ...here.
2008-07-17 Jakub Jelinek <jakub@redhat.com>
* omp-low.c (expand_omp_atomic_pipeline): Call
force_gimple_operand_gsi on RHS for IADDR initialization.
* gimplify.c (gimplify_cond_expr): Push statements in between
gimple_push_condition and gimple_pop_condition into a new
gimple_seq, append it after gimple_pop_condition cleanups.
2008-07-17 Richard Guenther <rguenther@suse.de>
* tree-complex.c (init_dont_simulate_again): Handle
{REAL,IMAG}PART_EXPR correctly.
* gimple-pretty-print.c (dump_unary_rhs): Dump VIEW_CONVERT_EXPR
and ASSERT_EXPR the same way as on trunk.
* tree-ssa-dom.c (initialize_hash_element): Do not record
the type for single rhs assigns.
(hashable_expr_equal_p): Deal with NULL types.
(eliminate_redundant_computations): Use print_gimple_expr.
* tree-vrp.c (stmt_interesting_for_vrp): Fix builtin call check.
(vrp_visit_stmt): Likewise.
* tree-ssa-forwprop.c (simplify_gimple_switch): Fix typo.
2008-07-16 Richard Guenther <rguenther@suse.de>
PR tree-optimization/36792
* tree-ssa-pre.c (get_or_alloc_expr_for): Handle unary
expressions inserted by SCCVN.
(do_SCCVN_insertion): Adjust comment.
(execute_pre): Allow insertion for FRE again.
* tree-ssa-sccvn.c (simplify_unary_expression): Deal with
the GIMPLE_SINGLE_RHS statemens we get.
(init_scc_vn): Init VN_INFO->expr to NULL.
2008-07-16 Richard Guenther <rguenther@suse.de>
Revert
2008-07-16 Richard Guenther <rguenther@suse.de>
* tree-ssa-pre.c (get_constant_for_value_id): Only hand out
constants of the correct type.
(fully_constant_expression): Pass the required type to
get_constant_for_value_id.
* tree-ssa-sccvn.h (vn_hash_constant_with_type): New function.
(vn_constant_eq_with_type): Likewise.
* tree-ssa-sccvn.c (vn_constant_eq): Use vn_constant_eq_with_type.
(get_or_alloc_constant_value_id): Use vn_hash_constant_with_type.
* tree-ssa-pre.c (pre_expr_eq): Use vn_constant_eq_with_type.
(pre_expr_hash): Use vn_hash_constant_with_type.
(get_representative_for): Use constants as their representative.
(fully_constant_expression): Use constant parts in expressions
directly.
2008-07-15 Aldy Hernandez <aldyh@redhat.com>
* tree-ssa-propagate.c (valid_gimple_expression_p): Remove.
* tree-ssa-propagate.h (valid_gimple_expression_p): Remove.
* tree-eh.c: Factor out common code in operation_could_trap_p and
stmt_could_throw_1_p into...
(operation_could_trap_helper_p): New.
* gimplify.c (gimplify_expr): Rephrase fixme.
* tree-mudflap.c: Remove fixme.
2008-07-17 Jakub Jelinek <jakub@redhat.com>
* tree-eh.c (collect_finally_tree): Call collect_finally_tree_1
with region as second argument for GIMPLE_TRY_FINALLY's cleanup.
* gimplify.c (gimplify_expr): Call gimple_try_set_catch_is_cleanup
for TRY_CATCH_EXPR.
2008-07-16 Jakub Jelinek <jakub@redhat.com>
* tree-gimple.c (is_gimple_reg_rhs): Don't check for CALL_EXPRs
with side-effects.
* gimple.c (extract_ops_from_tree): Remove assert.
* gimplify.c (is_gimple_reg_or_call_rhs): New function.
(rhs_predicate_for): Return it instead of is_gimple_reg_rhs.
(gimplify_expr): Handle is_gimple_reg_or_call_rhs.
* tree-ssa-threadedge.c (record_temporary_equivalences_for_stmts,
simplify_control_stmt_condition): Pass stmt instead of NULL as second
argument to simplify callback.
* tree-vect-patterns.c (vect_recog_pow_pattern): Don't call
gimple_call_set_lhs with lhs of last_stmt.
* tree-vect-transform.c (vectorizable_call): Build a new dummy
assignment, replace the call with it and move over stmt_info.
* tree-ssa-loop-niter.c (infer_loop_bounds_from_array): Use
is_gimple_assign instead of gimple_code () == GIMPLE_ASSIGN and
is_gimple_call instead of gimple_code () == GIMPLE_CALL.
* tree-ssa-propagate.c (update_call_from_tree, substitute_and_fold):
Likewise.
* tree-ssa-sccvn.c (visit_use): Likewise.
* tree-eh.c (stmt_could_throw_p): Likewise.
* tree-optimize.c (execute_fixup_cfg): Likewise.
* omp-low.c (check_omp_nesting_restrictions, scan_omp_1_stmt,
optimize_omp_library_calls): Likewise.
* tree-ssa-loop-im.c (movement_possibility, stmt_cost,
determine_invariantness_stmt): Likewise.
* tree-ssa-phiprop.c (phivn_valid_p, phiprop_insert_phi,
propagate_with_phi): Likewise.
* tree-ssa-ccp.c (get_default_value, surely_varying_stmt_p,
ccp_fold_builtin, gimplify_and_update_call_from_tree): Likewise.
* ipa-struct-reorg.c (is_result_of_mult, create_general_new_stmt):
Likewise.
* tree-ssa-coalesce.c (build_ssa_conflict_graph): Likewise.
* tree-object-size.c (alloc_object_size, call_object_size,
check_for_plus_in_loops): Likewise.
* tree-ssa.c (verify_ssa): Likewise.
* predict.c (expr_expected_value_1, tree_bb_level_predictions,
tree_estimate_probability): Likewise.
* tree-cfg.c (verify_stmt): Likewise.
* tree-ssa-loop-ch.c (should_duplicate_loop_header_p,
copy_loop_headers): Likewise.
* tree-ssa-ter.c (is_replaceable_p): Likewise.
* ipa-prop.c (ipa_count_arguments, ipa_compute_jump_functions):
Likewise.
* tree-ssa-dom.c (gimple_assign_unary_useless_conversion_p,
record_equivalences_from_stmt, optimize_stmt,
get_lhs_or_phi_result): Likewise.
* tree-ssa-sink.c (is_hidden_global_store): Likewise.
* tree-nrv.c (tree_nrv, execute_return_slot_opt): Likewise.
* value-prof.c (gimple_divmod_fixed_value,
gimple_mod_pow2, gimple_mod_subtract): Likewise.
* tree-predcom.c (name_for_ref, find_looparound_phi,
replace_ref_with, remove_name_from_operation): Likewise.
* tree-ssa-math-opts.c (is_division_by, execute_cse_reciprocals,
execute_cse_sincos, execute_convert_to_rsqrt): Likewise.
* tree-complex.c (expand_complex_move, expand_complex_operations_1):
Likewise.
* tree-outof-ssa.c (identical_copies_p): Likewise.
* tree-ssa-pre.c (is_exception_related): Likewise.
* tree-sra.c (scalarize_use, scalarize_copy): Likewise.
* tree-ssa-alias.c (count_uses_and_derefs, update_alias_info_1,
is_escape_site): Likewise.
* lambda-code.c (can_put_in_inner_loop,
cannot_convert_bb_to_perfect_nest): Likewise.
* tree-tailcall.c (find_tail_calls, eliminate_tail_call): Likewise.
* ipa-type-escape.c (look_for_casts_stmt, is_cast_from_non_pointer):
Likewise.
* tree-vect-transform.c (vectorizable_reduction): Likewise.
* tree-ssa-threadedge.c (record_temporary_equivalences_from_stmts):
Likewise.
* tree-ssa-phiopt.c (nt_init_block): Likewise.
* tree-ssa-structalias.c (find_func_aliases): Likewise.
* tree-ssa-forwprop.c (can_propagate_from,
forward_propagate_comparison, simplify_not_neg_expr,
simplify_gimple_switch, tree_ssa_forward_propagate_single_use_vars):
Likewise.
* tree-ssa-dce.c (eliminate_unnecessary_stmts): Likewise.
* tree-ssa-dse.c (get_kill_of_stmt_lhs, dse_possible_dead_store_p,
dse_optimize_stmt, execute_simple_dse): Likewise.
* tree-ssa-loop-ivopts.c (find_interesting_uses_op,
find_interesting_uses_stmt, rewrite_use_nonlinear_expr): Likewise.
* tree-vrp.c (stmt_overflow_infinity, vrp_stmt_computes_nonzero,
register_edge_assert_for_2, register_edge_assert_for,
find_assert_locations, check_all_array_refs,
remove_range_assertions, stmt_interesting_for_vrp, vrp_visit_stmt,
simplify_stmt_using_ranges): Likewise.
* tree-ssa-loop-prefetch.c (gather_memory_references): Likewise.
* tree-ssa-copy.c (may_propagate_copy_into_stmt,
propagate_tree_value_into_stmt): Likewise.
* tree-inline.c (copy_bb, expand_call_inline,
gimple_expand_calls_inline, fold_marked_statements): Likewise.
* tree-ssa-copyrename.c (rename_ssa_copies): Use
gimple_assign_ssa_name_copy_p.
* tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Check
gimple_assign_rhs_code, type of rhs is TREE_TYPE (lhs), update
rhs_code.
2008-07-16 Richard Guenther <rguenther@suse.de>
* tree-ssa-pre.c (get_constant_for_value_id): Only hand out
constants of the correct type.
(fully_constant_expression): Pass the required type to
get_constant_for_value_id.
2008-07-15 Aldy Hernandez <aldyh@redhat.com>
Merge with mainline @137837.
* configure.ac (ACX_PKGVERSION): Update revision merge string.
* configure: Regenerate.
2008-07-15 Jakub Jelinek <jakub@redhat.com>
* common.opt (-fgimple-conversion=): Remove.
* tree-affine.c (aff_combination_expand): Tuplify.
* cfgexpand.c (gimple_assign_rhs_to_tree): Remove prototype.
* tree-outof-ssa.c (gimple_assign_rhs_to_tree): Likewise.
* tree-gimple.h (gimple_assign_rhs_to_tree): New prototype.
2008-07-15 Aldy Hernandez <aldyh@redhat.com>
* tree.h: Remove gimple_unreachable_1 prototype.
2008-07-15 Aldy Hernandez <aldyh@redhat.com>
* Makefile.in (gimple-dummy.o): Remove.
* gimple-dummy.c: Delete.
* tree-ssa-propagate.c (valid_gimple_expression_p): Change
gimple_unreachable to gcc_unreachable.
* tree-affine.c (aff_combination_expand): Same.
* tree-vect-transform.c (vectorizable_call): Same.
2008-07-15 Richard Guenther <rguenther@suse.de>
* gimplify.c (gimplify_expr): Gimplify an unused volatile load
properly.
2008-07-15 Richard Guenther <rguenther@suse.de>
* tree-ssa-pre.c: Tuplify. Enable FRE and PRE.
(execute_pre): Disable SCCVN insertion even for FRE.
* tree-ssa-sccvn.h (copy_reference_ops_from_call): Declare.
* tree-ssa-sccvn.c (copy_reference_ops_from_call): Export.
(vn_get_expr_for): Handle more expression kinds.
(visit_reference_op_load): Properly set a value id for
inserted names.
(simplify_binary_expression): Use valid_gimple_rhs_p instead of
valid_gimple_expression_p.
(simplify_unary_expression): Likewise.
(process_scc): Clear the cached/simplified expressions at the
start of the iteration.
(free_scc_vn): Do not clear SSA_NAME_VALUE.
(run_scc_vn): Remove broken special case in printing VNs.
* tree-ssa-propagate.c (valid_gimple_rhs_p): Allow
gimple-min-invariants and SSA names.
2008-07-14 Andreas Krebbel <krebbel1@de.ibm.com>
* config/s390/s390.c: (s390_gimplify_va_arg) Unshare the args* tree.
2008-07-14 Richard Guenther <rguenther@suse.de>
* tree-ssa-math-opts.c (execute_cse_reciprocals): Process
SSA_NAME defs of calls.
* gimple-pretty-print.c (dump_unary_rhs): Do not prefix
CONSTRUCTOR with [constructor].
2008-07-14 Aldy Hernandez <aldyh@redhat.com>
* config/alpha/alpha.c (va_list_skip_additions): Change
GIMPLE_STMT_OPERAND to TREE_OPERAND.
2008-07-14 Jakub Jelinek <jakub@redhat.com>
* tree-vect-transform.c (vect_create_data_ref_ptr): Update comment.
* config/s390/s390.c (s390_va_start): Build MODIFY_EXPR instead of
GIMPLE_MODIFY_STMT.
(s390_gimplify_va_arg): Use gimplify_assign.
* config/sh/sh.c (sh_va_start): Build MODIFY_EXPR instead of
GIMPLE_MODIFY_STMT.
(sh_gimplify_va_arg_expr): Use gimplify_assign.
* config/sparc/sparc.c (sparc_gimplify_va_arg): Likewise.
* config/spu/spu.c (spu_va_start): Build MODIFY_EXPR instead of
GIMPLE_MODIFY_STMT.
(spu_gimplify_va_arg_expr): Use gimplify_assign.
* config/stormy16/stormy16.c (xstormy16_expand_builtin_va_start):
Build MODIFY_EXPR instead of GIMPLE_MODIFY_STMT.
(xstormy16_gimplify_va_arg_expr): Likewise. Use gimplify_assign.
* config/xtensa/xtensa.c (xtensa_va_start): Build MODIFY_EXPR
instead of GIMPLE_MODIFY_STMT.
(xtensa_gimplify_va_arg_expr): Use gimplify_assign.
2008-07-14 Aldy Hernandez <aldyh@redhat.com>
* config/alpha/alpha.c (va_list_skip_additions): Rename
GIMPLE_MODIFY_STMT to MODIFY_EXPR.
(alpha_va_start): Same.
(alpha_gimplify_va_arg_1): Use gimplify_assign.
(alpha_gimplify_va_arg): Same.
* config/frv/frv.c (frv_expand_builtin_va_start): Rename
GIMPLE_MODIFY_STMT to MODIFY_EXPR.
* config/ia64/ia64.c (ia64_gimplify_va_arg): Use gimplify_assign.
* config/alpha/mips.c (mips_va_start): Rename GIMPLE_MODIFY_STMT to
MODIFY_EXPR or use gimplify_assign when appropriate.
(mips_gimplify_va_arg_expr): Same.
2008-07-14 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/rs6000.c (rs6000_va_start): Change
GIMPLE_MODIFY_STMT to MODIFY_EXPR.
(rs6000_gimplify_va_arg): Use gimplify_assign.
Build GIMPLE_GOTO directly.
2008-07-14 Aldy Hernandez <aldyh@redhat.com>
* tree-dump.c (dequeue_and_dump): Remove GIMPLE_MODIFY_STMT case.
* tree-ssa-loop-niter.c (simplify_replace_tree): Remove GIMPLE_STMT_P
call.
* tree-pretty-print.c (dump_generic_node): Remove any references to
GIMPLE_MODIFY_STMT, GIMPLE_STMT_P, GIMPLE_TUPLE_P.
(op_prio): Same.
(op_symbol_code): Same.
* java/java-gimplify.c (java_gimplify_expr): Same.
(java_gimplify_modify_expr): Same.
* java/java-tree.h: Rename GENERIC_NEXT to TREE_CHAIN.
* tree-tailcall.c (find_tail_calls): Update comment.
* tree.c (tree_code_class_string): Remove "gimple_stmt".
(tree_node_kind): Remove "gimple statments".
(tree_code_size): Remove tcc_gimple_stmt.
(make_node_stat): Same.
(copy_node_stat): Remove any references to
GIMPLE_MODIFY_STMT, GIMPLE_STMT_P, GIMPLE_TUPLE_P, tcc_gimple_stmt,
TS_GIMPLE_STATEMENT, GENERIC_TREE_OPERAND, GENERIC_TREE_TYPE,
GIMPLE_TUPLE_HAS_LOCUS_P, GIMPLE_STMT_LOCUS, GIMPLE_STMT_BLOCK,
IS_GIMPLE_STMT_CODE_CLASS, GIMPLE_STMT_BLOCK.
(expr_align): Same.
(tree_node_structure): Same.
(build2_stat): Same.
(set_expr_locus): Same.
(walk_tree_1): Same.
(tree_block): Same.
(build_gimple_modify_stmt_stat): Remove.
(expr_location): Remove.
(set_expr_location): Remove.
(expr_hash_location): Remove.
(expr_locus): Remove.
(expr_filename): Remove.
(expr_lineno): Remove.
(generic_tree_operand): Remove.
(generic_tree_type): Remove.
* tree.h (tree_code_class): Remove tcc_gimple_stmt.
(IS_GIMPLE_STMT_CODE_CLASS): Remove.
(struct gimple_stmt): Remove.
(GIMPLE_STMT_CHECK): Remove.
(TREE_OPERAND_CHECK): Remove GIMPLE_TUPLE_P.
(TREE_CHAIN): Same.
(GIMPLE_STMT_OPERAND_CHECK): Remove.
(GIMPLE_STMT_OPERAND_CHECK): Remove.
(GIMPLE_STMT_P): Remove.
(GIMPLE_TUPLE_P): Remove.
(GIMPLE_TUPLE_HAS_LOCUS_P): Remove.
(GENERIC_TREE_OPERAND): Remove.
(GENERIC_TREE_TYPE): Remove.
(GENERIC_NEXT): Remove.
(IS_CONVERT_EXPR_CODE_P): Rename GENERIC_TREE_TYPE to TREE_TYPE.
(MOVE_NONTEMPORAL): Remove GIMPLE_MODIFY_STMT_CHECK.
Remove GIMPLE_STMT_OPERAND, GIMPLE_STMT_LOCUS, GIMPLE_STMT_BLOCK.
(EXPR_LOCATION, SET_EXPR_LOCATION, EXPR_HAS_LOCATION, EXPR_LOCUS,
EXPR_FILENAME, EXPR_LINENO): Do ont call functions.
(CAN_HAVE_LOCATION_P): Remove GIMPLE_STMT_P.
(union tree_node): Remove gstmt.
(build_gimple_modify_stmt*): Remove.
(expr_location, set_expr_location, expr_has_location,
expr_locus, expr_filename, expr_lineno, generic_tree_operand,
generic_tree_type): Remove.
* tree-scalar-evolution.c (follow_ssa_edge): Update comment.
(interpret_condition_phi): Same.
* gimple.h (gimplify_assign): New.
* builtins.c, fold-const.c, omp-low.c, tree-ssa-dse.c, tree-gimple.c,
tree-ssa-math-opts.c, tree-nrv.c, gimple-low.c, dwarf2out.c,
expr.c, tree-parloops.c, matrix-reorg.c, c-decl.c, tree-eh.c,
c-pretty-print.c, langhooks.c, function.c, tree-affine.c,
gimplify.c, tree.def, cfgexpand.c, tree-predcom.c, print-tree.c,
tree-ssa-ter.c, tree-ssa.c, tree-inline.c, gimple.c, gimple.h,
tree-cfg.c, config/i386/i386.c, stmt.c, tree-ssa-operands.c)
Remove any references to
GIMPLE_MODIFY_STMT, GIMPLE_STMT_P, GIMPLE_TUPLE_P, tcc_gimple_stmt,
TS_GIMPLE_STATEMENT, GENERIC_TREE_OPERAND, GENERIC_TREE_TYPE,
GIMPLE_TUPLE_HAS_LOCUS_P, GIMPLE_STMT_LOCUS, GIMPLE_STMT_BLOCK,
IS_GIMPLE_STMT_CODE_CLASS, GIMPLE_STMT_BLOCK.
Call gimplify_assign or generate a GIMPLE_ASSIGN directly when
appropriate.
2008-07-14 Jakub Jelinek <jakub@redhat.com>
* cfgexpand.c (gimple_cond_pred_to_tree): New function.
(gimple_to_tree) <case GIMPLE_COND>: Use it.
(release_stmt_tree): New function.
(expand_gimple_cond): Call just gimple_cond_pred_to_tree
instead of gimple_to_tree, ggc_free pred before returning.
(expand_gimple_tailcall): Call release_stmt_tree.
(expand_gimple_basic_block): Call release_stmt_tree instead
of ggc_free.
* gimplify.c (internal_get_tmp_var, gimplify_decl_expr,
gimplify_init_ctor_eval, gimplify_target_expr): Call ggc_free
on the INIT_EXPR.
2008-07-14 Richard Guenther <rguenther@suse.de>
* tree-ssa-ccp.c (ccp_fold): Move ADDR_EXPR handing to
GIMPLE_SINGLE_RHS case.
* tree-ssa-ifcombine.c (ifcombine_iforif): Fix typo.
2008-07-14 Jakub Jelinek <jakub@redhat.com>
* system.h (CONST_CAST2): Avoid using a union for all GCCs <= 4.0.x.
2008-07-12 Diego Novillo <dnovillo@google.com>
* tree-loop-distribution.c: Tuplify.
* tree-ssa-propagate.c (substitute_and_fold): Remove
stale FIXME tuples note.
2008-07-11 Jakub Jelinek <jakub@redhat.com>
* tree-dump.c (dump_options): Don't set TDF_RHS_ONLY for -all.
* omp-low.c (lower_omp_1): Only use rhs_predicate_for if
GIMPLE_SINGLE_RHS.
* tree-vect-analyze.c (vect_determine_vectorization_factor): Handle
GIMPLE_CALL with non-NULL lhs.
(vect_build_slp_tree): Likewise. Fix reversed check for references.
* tree-vectorizer.c (stmt_vec_info_htab, stmt_vec_info_eq,
stmt_vec_info_hash, init_stmt_vec_info_htab,
free_stmt_vec_info_htab): Remove.
(stmt_vec_info_vec): New variable.
(init_stmt_vec_info_vec, free_stmt_vec_info_vec): New functions.
(new_loop_vec_info): Clear stmt uid before calling
set_vinfo_for_stmt.
(vect_is_simple_use): Handle GIMPLE_CALL with non-NULL lhs.
(vectorize_loops): Call {init,free}_stmt_vec_info_vec instead of
{init,free}_stmt_vec_info_htab.
* tree-parloops.c (parallelize_loops): Likewise.
* tree-ssa-operands.c (get_expr_operands): Handle VEC_COND_EXPR.
* tree-vectorizer.h (stmt_vec_info_htab): Removed.
(init_stmt_vec_info_htab, free_stmt_vec_info_htab): Remove
prototypes.
(stmt_vec_info_vec): New extern decl.
(init_stmt_vec_info_vec, free_stmt_vec_info_vec): New prototypes.
(vinfo_for_stmt, set_vinfo_for_stmt): Rewritten using stmt uid
and vector instead of a hash table.
* tree-vect-patterns.c (vect_recog_pow_pattern): Request
a GIMPLE_CALL with non-NULL lhs instead of GIMPLE_ASSIGN.
(vect_pattern_recog_1): Use is_gimple_call instead of comparing
gimple_code with GIMPLE_CALL.
* gimple.c (gimple_rhs_class_table): Use GIMPLE_SINGLE_RHS for
DOT_PROD_EXPR and VEC_COND_EXPR.
* tree-vect-transform.c (vect_get_slp_vect_defs): Use gimple_get_lhs
instead of gimple_assign_lhs.
(get_initial_def_for_induction): Use build_int_cst even for
pointers. Use POINTER_PLUS_EXPR for POINTER_TYPE_P (scalar_type).
(vect_get_vec_def_for_operand): Use is_gimple_call instead of
comparing gimple_code with GIMPLE_CALL.
(vectorizable_call): Likewise. Use gimple_call_lhs instead of
gimple_assign_lhs. Build a vector of arguments, use
gimple_build_call_vec.
(vect_get_vec_def_for_stmt_copy): Use gimple_get_lhs.
(vectorizable_live_operation): Handle GIMPLE_SINGLE_RHS operands.
2008-07-11 Doug Kwan <dougkwan@google.com>
* gimple-dummy.c (vectorizable_induction, vectorizable_type_promotion,
vectorizable_type_demotion, vectorizable_conversion,
vectorizable_operation, vectorizable_assignment,
vectorizable_load, vectorizable_call, vectorizable_store,
vectorizable_condition, vectorizable_reduction,
vectorizable_live_operation, vectorizable_function,
vect_estimate_min_profitable_iters, vect_model_simple_cost,
vect_model_store_cost, vect_model_load_cost, vect_transform_loop):
Remove DUMMY_FNs.
* tree-ssa-loop.c (gate_tree_vectorize): Reenable vectorizer.
* tree-vectorizer.c (vect_is_simple_use): Fix handling of
GIMPLE_NOP.
* tree-vectorizer.h (vectorizable_load, vectorizable_store,
vectorizable_operation, vectorizable_type_promotion,
vectorizable_type_demotion, vectorizable_conversion,
vectorizable_assignment, vectorizable_call, vectorizable_condition,
vectorizable_live_operation, vectorizable_reduction,
vectorizable_induction): Adjust prototypes.
* tree-vect-transform.c (vectorizable_load, vectorizable_store,
vectorizable_operation, vectorizable_type_promotion,
vectorizable_type_demotion, vectorizable_conversion,
vectorizable_assignment, vectorizable_call, vectorizable_condition,
vectorizable_live_operation, vectorizable_reduction,
vectorizable_induction, vect_transform_stmt,
vect_create_data_ref_ptr, vect_create_addr_base_for_vector_ref,
vect_get_vec_def_for_operand, vect_init_vector,
vect_finish_stmt_generation, vect_create_epilog_for_reduction,
get_initial_def_for_reduction, cost_for_stmt,
vect_estimate_min_profitable_iters, vect_model_reduction_cost,
vect_cost_strided_group_size, vect_model_load_cost, bump_vector_ptr,
vect_get_constant_vectors, vect_get_slp_vect_defs,
vect_get_slp_defs, get_initial_def_for_induction,
vect_get_vec_def_for_stmt_copy, vect_get_vec_defs,
vectorizable_function, vect_gen_widened_results_half,
vect_permute_store_chain, vect_setup_realignment,
vect_permute_load_chain, vect_transform_strided_load,
vect_is_simple_cond, vect_build_loop_niters,
vect_generate_tmps_on_preheader, vect_update_ivs_after_vectorizer,
vect_do_peeling_for_loop_bound, vect_gen_niters_for_prolog_loop,
vect_do_peeling_for_alignment, vect_create_cond_for_align_checks,
vect_create_cond_for_alias_checks, vect_loop_versioning,
vect_remove_stores, vect_schedule_slp_instance,
vect_transform_loop): Tuplify.
2008-07-10 Richard Guenther <rguenther@suse.de>
* gimple.h (gimple_assign_ssa_name_copy_p): Declare.
(gimple_has_lhs): New function.
* gimple.c (gimple_assign_ssa_name_copy_p): New function.
* tree-ssa-copy.c (propagate_tree_value_into_stmt): Remove
redundant gimple_set_location call.
* gimple-iterator.c (gsi_remove): Do not free stmt operands.
* tree-ssa-structalias.c (find_func_aliases): Correctly let
all things with pointers escape.
* tree-pass.h (TDF_RHS_ONLY): New flag.
* diagnostic.h (print_gimple_expr): Declare.
* gimple-pretty-print.c (print_gimple_expr): New function.
(dump_gimple_assign): Dump the RHS as expression if TDF_RHS_ONLY.
(dump_gimple_call): Likewise.
(dump_gimple_cond): Likewise.
* tree-ssa-propagate.c (fold_predicate_in): Use print_gimple_expr.
* tree-ssa-sccvn.c (visit_use): Use gimple_has_lhs.
Use print_gimple_expr. Handle tcc_expression correctly.
2008-07-09 Jakub Jelinek <jakub@redhat.com>
* gimplify.c (struct gimplify_ctx): Move to tree-gimple.h.
(push_gimplify_context): Don't allocate bind_expr_stack,
temp_htab nor c itself here. Add c argument.
(pop_gimplify_context): Allow bind_expr_stack being NULL. Check
c->temp_htab instead of optimize whether htab_delete should be called.
Don't free c.
(gimple_push_bind_expr): Create bind_expr_stack lazily.
(lookup_tmp_var): Create temp_htab lazily.
(gimplify_scan_omp_clauses, gimplify_omp_parallel, gimplify_omp_task,
gimplify_body, force_gimple_operand): Adjust push_gimplify_context
callers.
* omp-low.c (lower_omp_sections, lower_omp_single, lower_omp_master,
lower_omp_ordered, lower_omp_critical, lower_omp_for,
create_task_copyfn, lower_omp_taskreg, execute_lower_omp):
* tree-ssa-ccp.c (gimplify_and_update_call_from_tree): Likewise.
* tree-sra.c (generate_element_init): Likewise.
* tree-mudflap.c (execute_mudflap_function_ops,
execute_mudflap_function_decls): Likewise.
* tree-inline.c (setup_one_parameter, optimize_inline_calls): Likewise.
* tree-gimple.h (struct gimplify_ctx): New type.
(push_gimplify_context): Adjust prototype.
* gimple.h (gimple_rhs_class_table): New extern decl.
(get_gimple_rhs_class): Change into inline.
* gimple.c (get_gimple_rhs_class): Removed.
(gimple_rhs_class_table): New variable.
2008-07-09 Doug Kwan <dougkwan@google.com>
Diego Novillo <dnovillo@google.com>
* tree-ssa-ccp.c (fold_stmt_r): Remove gcc_unreachable
call from COND_EXPR handler.
* tree-if-conv.c: Tuplify.
* gimple.c (gimple_could_trap_p_1): Factor out of ...
(gimple_could_trap_p): ... here.
Call it.
(gimple_assign_rhs_could_trap_p): New.
* gimple.h (gimple_assign_rhs_could_trap_p): Declare.
* tree-ssa-operands.c (get_expr_operands): Handle
COND_EXPR.
2008-07-08 Jakub Jelinek <jakub@redhat.com>
Merge with mainline @137633.
* configure.ac (ACX_PKGVERSION): Update revision merge string.
* configure: Regenerate.
2008-07-08 Jakub Jelinek <jakub@redhat.com>
* tree-cfg.c (remove_useless_stmts_cond): Avoid calling
fold_binary.
2008-07-07 Jakub Jelinek <jakub@redhat.com>
* gimple-pretty-print.c (dump_gimple_return): Don't print space
after return if return has no argument.
(dump_gimple_seq): Don't print newline after last statement in
the sequence.
(dump_gimple_fmt, dump_gimple_try, dump_gimple_omp_for,
dump_gimple_omp_single, dump_gimple_omp_sections,
dump_gimple_omp_block, dump_gimple_omp_critical,
dump_gimple_omp_parallel, dump_gimple_omp_task): Use
newline_and_indent after dump_gimple_seq instead of INDENT.
(dump_gimple_bind): Likewise. If there are no bind vars, don't
print two newlines before the sequence, just one.
* tree-cfg.c (dump_function_to_file): Fix dumping lowered gimple
before CFG is built.
2008-07-07 Diego Novillo <dnovillo@google.com>
* tree-vrp.c (ssa_name_nonnegative_p): Tuplify.
(ssa_name_nonzero_p): Tuplify.
(extract_range_from_comparison): Tidy.
(vrp_evaluate_conditional_warnv_with_ops): Tidy.
(vrp_evaluate_conditional): Change STMT argument to gimple.
Update all users.
(simplify_stmt_for_jump_threading): Change WITHIN_STMT argument
to gimple.
Update all users.
(identify_jump_threads): Tidy.
* tree-tailcall.c (find_tail_calls): Remove stale FIXME note.
* tree.c (tree_node_structure): Likewise.
* tree.h (struct tree_base): Likewise.
(struct gimple_stmt): Likewise.
* builtins.c (expand_builtin_memcpy): Likewise.
(expand_builtin_memset_args): Likewise.
* tree-chrec.h (build_polynomial_chrec): Do not initialize VAL.
* tree-ssa-ccp.c (fold_stmt_r): Do not handle COND_EXPR.
(fold_stmt): Remove #if 0 code.
* tree-ssa-dom.c (EXTRA_DETAILS): Remove.
Update all users.
(hashable_expr_equal_p): Remove stale FIXME note.
(simplify_stmt_for_jump_threading): Convert WITHIN_STMT
argument to gimple. Update all users.
* tree-ssa-propagate.c: Include gimple.h
(get_rhs): Remove.
(set_rhs): Remove.
(fold_predicate_in): Tuplify.
* Makefile.in (tree-ssa-propagate.o): Add dependency on
GIMPLE_H.
* tree-ssa-propagate.h (get_rhs, set_rhs): Remove.
* tree-parloops.c (create_parallel_loop): Remove FIXME
tuples note.
* tree-eh.c (lookup_stmt_eh_region): Remove FIXME tuples
editorial note.
* cfgexpand.c (gimple_to_tree): Likewise.
* tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Tidy.
Do not handle GIMPLE_BIND.
* tree-inline.c (remap_gimple_op_r): Remove stale FIXME notes.
* tree-optimize.c (execute_fixup_cfg): Likewise.
* tree-flow.h (struct tree_ann_common_d): Remove stale
FIXME tuples notes.
(tree_vrp_evaluate_conditional): Change last argument type to
gimple. Update all users.
(thread_across_edge): Likewise.
* gimple.c (gimple_has_side_effects): If any argument has
TREE_SIDE_EFFECTS set, assert that S has volatile operands.
(gimple_rhs_has_side_effects): Likewise.
* gimple.h (gimple_phi_capacity): Remove stale FIXME tuples note.
* tree-cfg.c (group_case_labels): Remove FIXME tuples note.
Assert that the new size is smaller than the old size.
(remove_useless_stmts_warn_notreached): Remove #if 0 code.
(remove_useless_stmts_cond): Remove stale FIXME tuples note.
(remove_useless_stmts_1): Likewise.
(verify_types_in_gimple_assign): Likewise.
* passes.c (init_optimization_passes): Re-enable
pass_ipa_increase_alignment.
* tree-ssa-threadedge.c
(record_temporary_equivalences_from_stmts_at_dest):
Change SIMPLIFY to accept two arguments of type gimple.
Update all users.
(simplify_control_stmt_condition): Likewise.
(thread_accross_edge): Likewise.
* tree-ssa-operands.c (add_call_clobber_ops): Re-enable
calls to ipa_reference_get_not_read_globals and
ipa_reference_get_not_written_global.
2008-07-07 Aldy Hernandez <aldyh@redhat.com>
* tree-ssa-dom.c: Remove FIXME tuples.
2008-07-07 Aldy Hernandez <aldyh@redhat.com>
* tree-cfg.c (verify_types_in_gimple_assign): Remove
FIXME tuples.
2008-07-04 Jakub Jelinek <jakub@redhat.com>
* cfgexpand.c (gimple_to_tree) <case GIMPLE_CALL>: Copy
CALL_EXPR_VA_ARG_PACK.
* gimple.c (gimple_build_bind): Set gimple_bind_block rather
than gimple_block.
(gimple_copy) <case GIMPLE_BIND>: Don't unshare gimple_bind_block.
* gimple.h (GF_ASM_INPUT, GF_ASM_VOLATILE, GF_CALL_CANNOT_INLINE,
GF_CALL_FROM_TRUNK, GF_CALL_RETURN_SLOT_OPT, GF_CALL_TAILCALL,
GF_CALL_VA_ARG_PACK, GF_OMP_PARALLEL_COMBINED, GF_OMP_RETURN_NOWAIT,
GF_OMP_SECTION_LAST, GF_PREDICT_TAKEN): Change from static const ints
into enum values.
(struct gimple_statement_base): Move subcode after flags to make it
16-bit aligned.
* tree-ssa-structalias.c (find_func_aliases): Handle ADDR_EXPR
as GIMPLE_SINGLE_RHS instead of GIMPLE_UNARY_RHS.
* tree-ssa-operands.c (get_expr_operands): Don't handle
OMP_FOR, OMP_PARALLEL, OMP_TASK, OMP_SECTIONS and PREDICT_EXPR
here.
* gimple.def (GIMPLE_PREDICT): New.
* gimple.h: Update comment above GF_* flags.
(GF_PREDICT_TAKEN): New.
(gimple_build_predict): New prototype.
(gimple_predict_predictor, gimple_predict_outcome,