A recent patch increased GCC's memory consumption in some cases!
gcctest@suse.de
gcctest@suse.de
Sat May 12 04:58:00 GMT 2007
Hi,
I am a friendly script caring about memory consumption in GCC. Please
contact jh@suse.cz if something is going wrong.
Comparing memory consumption on compilation of combine.i, insn-attrtab.i,
and generate-3.4.ii I got:
comparing empty function compilation at -O0 level:
Peak amount of GGC memory allocated before garbage collecting increased from 2324k to 2328k, overall 0.17%
Peak amount of GGC memory still allocated after garbage collecting increased from 1997k to 2001k, overall 0.20%
Amount of memory still referenced at the end of compilation increased from 2374k to 2378k, overall 0.16%
Overall memory needed: 7492k -> 7412k
Peak memory use before GGC: 2324k -> 2328k
Peak memory use after GGC: 1997k -> 2001k
Maximum of released memory in single GGC run: 327k
Garbage: 480k -> 480k
Leak: 2374k -> 2378k
Overhead: 516k -> 517k
GGC runs: 3
comparing empty function compilation at -O0 -g level:
Peak amount of GGC memory allocated before garbage collecting increased from 2352k to 2356k, overall 0.17%
Peak amount of GGC memory still allocated after garbage collecting increased from 2025k to 2028k, overall 0.15%
Amount of memory still referenced at the end of compilation increased from 2407k to 2410k, overall 0.16%
Overall memory needed: 7508k -> 7428k
Peak memory use before GGC: 2352k -> 2356k
Peak memory use after GGC: 2025k -> 2028k
Maximum of released memory in single GGC run: 327k -> 328k
Garbage: 482k -> 482k
Leak: 2407k -> 2410k
Overhead: 521k -> 521k
GGC runs: 3
comparing empty function compilation at -O1 level:
Peak amount of GGC memory allocated before garbage collecting increased from 2324k to 2328k, overall 0.17%
Peak amount of GGC memory still allocated after garbage collecting increased from 1997k to 2001k, overall 0.20%
Amount of memory still referenced at the end of compilation increased from 2376k to 2380k, overall 0.16%
Overall memory needed: 7532k -> 7516k
Peak memory use before GGC: 2324k -> 2328k
Peak memory use after GGC: 1997k -> 2001k
Maximum of released memory in single GGC run: 327k
Garbage: 485k -> 485k
Leak: 2376k -> 2380k
Overhead: 517k -> 517k
GGC runs: 3
comparing empty function compilation at -O2 level:
Peak amount of GGC memory allocated before garbage collecting increased from 2325k to 2329k, overall 0.17%
Peak amount of GGC memory still allocated after garbage collecting increased from 1997k to 2001k, overall 0.20%
Amount of memory still referenced at the end of compilation increased from 2376k to 2380k, overall 0.16%
Overall memory needed: 7560k -> 7524k
Peak memory use before GGC: 2325k -> 2329k
Peak memory use after GGC: 1997k -> 2001k
Maximum of released memory in single GGC run: 328k
Garbage: 488k -> 489k
Leak: 2376k -> 2380k
Overhead: 517k -> 518k
GGC runs: 4
comparing empty function compilation at -O3 level:
Peak amount of GGC memory allocated before garbage collecting increased from 2325k to 2329k, overall 0.17%
Peak amount of GGC memory still allocated after garbage collecting increased from 1997k to 2001k, overall 0.20%
Amount of memory still referenced at the end of compilation increased from 2376k to 2380k, overall 0.16%
Overall memory needed: 7560k -> 7524k
Peak memory use before GGC: 2325k -> 2329k
Peak memory use after GGC: 1997k -> 2001k
Maximum of released memory in single GGC run: 328k
Garbage: 488k -> 489k
Leak: 2376k -> 2380k
Overhead: 517k -> 518k
GGC runs: 4
comparing combine.c compilation at -O0 level:
Ovarall memory allocated via mmap and sbrk decreased from 22416k to 17672k, overall -26.84%
Peak amount of GGC memory still allocated after garbage collecting increased from 8231k to 8259k, overall 0.34%
Overall memory needed: 22416k -> 17672k
Peak memory use before GGC: 9018k -> 9019k
Peak memory use after GGC: 8231k -> 8259k
Maximum of released memory in single GGC run: 1595k -> 1874k
Garbage: 38397k -> 37665k
Leak: 7000k -> 7003k
Overhead: 4988k -> 4751k
GGC runs: 280 -> 278
comparing combine.c compilation at -O0 -g level:
Ovarall memory allocated via mmap and sbrk decreased from 24332k to 19576k, overall -24.30%
Overall memory needed: 24332k -> 19576k
Peak memory use before GGC: 10757k -> 10754k
Peak memory use after GGC: 9990k -> 9978k
Maximum of released memory in single GGC run: 1891k -> 1558k
Garbage: 38747k -> 38031k
Leak: 9892k -> 9888k
Overhead: 5694k -> 5457k
GGC runs: 272 -> 269
comparing combine.c compilation at -O1 level:
Ovarall memory allocated via mmap and sbrk decreased from 35296k to 30004k, overall -17.64%
Peak amount of GGC memory allocated before garbage collecting increased from 17829k to 17848k, overall 0.11%
Overall memory needed: 35296k -> 30004k
Peak memory use before GGC: 17829k -> 17848k
Peak memory use after GGC: 17651k -> 17654k
Maximum of released memory in single GGC run: 1344k -> 1450k
Garbage: 53953k -> 52519k
Leak: 7051k -> 7055k
Overhead: 6222k -> 5908k
GGC runs: 362 -> 357
comparing combine.c compilation at -O2 level:
Ovarall memory allocated via mmap and sbrk decreased from 37080k to 34372k, overall -7.88%
Overall memory needed: 37080k -> 34372k
Peak memory use before GGC: 17874k -> 17877k
Peak memory use after GGC: 17667k -> 17670k
Maximum of released memory in single GGC run: 1366k -> 1392k
Garbage: 70449k -> 69088k
Leak: 7171k -> 7175k
Overhead: 8318k -> 7993k
GGC runs: 420 -> 413
comparing combine.c compilation at -O3 level:
Ovarall memory allocated via mmap and sbrk decreased from 43600k to 40688k, overall -7.16%
Overall memory needed: 43600k -> 40688k
Peak memory use before GGC: 18146k -> 18149k
Peak memory use after GGC: 17822k -> 17825k
Maximum of released memory in single GGC run: 3636k -> 3637k
Garbage: 96008k -> 94361k
Leak: 7279k -> 7275k
Overhead: 11660k -> 11260k
GGC runs: 449 -> 443
comparing insn-attrtab.c compilation at -O0 level:
Ovarall memory allocated via mmap and sbrk decreased from 140888k to 92860k, overall -51.72%
Peak amount of GGC memory still allocated after garbage collecting increased from 32792k to 33335k, overall 1.66%
Amount of memory still referenced at the end of compilation increased from 9582k to 9840k, overall 2.69%
Overall memory needed: 140888k -> 92860k
Peak memory use before GGC: 59786k -> 58839k
Peak memory use after GGC: 32792k -> 33335k
Maximum of released memory in single GGC run: 34625k -> 33674k
Garbage: 132107k -> 129129k
Leak: 9582k -> 9840k
Overhead: 14379k -> 13888k
GGC runs: 220 -> 216
comparing insn-attrtab.c compilation at -O0 -g level:
Ovarall memory allocated via mmap and sbrk decreased from 142140k to 94140k, overall -50.99%
Peak amount of GGC memory still allocated after garbage collecting increased from 33953k to 34496k, overall 1.60%
Overall memory needed: 142140k -> 94140k
Peak memory use before GGC: 60948k -> 60001k
Peak memory use after GGC: 33953k -> 34496k
Maximum of released memory in single GGC run: 34626k -> 33675k
Garbage: 132072k -> 129348k
Leak: 11544k -> 11548k
Overhead: 14776k -> 14285k
GGC runs: 218 -> 212
comparing insn-attrtab.c compilation at -O1 level:
Ovarall memory allocated via mmap and sbrk decreased from 153780k to 110296k, overall -39.42%
Overall memory needed: 153780k -> 110296k
Peak memory use before GGC: 63440k -> 63396k
Peak memory use after GGC: 60815k -> 60770k
Maximum of released memory in single GGC run: 24426k -> 24882k
Garbage: 237316k -> 233061k
Leak: 9732k -> 9735k
Overhead: 26779k -> 26099k
GGC runs: 249 -> 245
comparing insn-attrtab.c compilation at -O2 level:
Overall memory needed: 167968k -> 169400k
Peak memory use before GGC: 63584k -> 63531k
Peak memory use after GGC: 61114k -> 61068k
Maximum of released memory in single GGC run: 23381k -> 21237k
Garbage: 271019k -> 269074k
Leak: 9725k -> 9728k
Overhead: 32152k -> 31674k
GGC runs: 273 -> 266
comparing insn-attrtab.c compilation at -O3 level:
Overall memory allocated via mmap and sbrk increased from 178480k to 184588k, overall 3.42%
Overall memory needed: 178480k -> 184588k
Peak memory use before GGC: 75615k -> 75553k
Peak memory use after GGC: 71528k -> 71473k
Maximum of released memory in single GGC run: 25685k -> 21970k
Garbage: 302287k -> 300279k
Leak: 9729k -> 9732k
Overhead: 33409k -> 32921k
GGC runs: 276 -> 267
comparing Gerald's testcase PR8361 compilation at -O0 level:
Ovarall memory allocated via mmap and sbrk decreased from 153972k to 145857k, overall -5.56%
Overall memory needed: 153972k -> 145857k
Peak memory use before GGC: 89181k -> 89184k
Peak memory use after GGC: 88298k -> 88301k
Maximum of released memory in single GGC run: 18129k -> 18130k
Garbage: 209084k -> 206731k
Leak: 51182k -> 51180k
Overhead: 24300k -> 23432k
GGC runs: 411 -> 408
comparing Gerald's testcase PR8361 compilation at -O0 -g level:
Ovarall memory allocated via mmap and sbrk decreased from 174140k to 163565k, overall -6.47%
Overall memory needed: 174140k -> 163565k
Peak memory use before GGC: 101738k -> 101740k
Peak memory use after GGC: 100730k -> 100733k
Maximum of released memory in single GGC run: 18434k -> 18433k
Garbage: 214778k -> 212416k
Leak: 74497k -> 74495k
Overhead: 30197k -> 29328k
GGC runs: 383 -> 381
comparing Gerald's testcase PR8361 compilation at -O1 level:
Ovarall memory allocated via mmap and sbrk decreased from 150328k to 141604k, overall -6.16%
Overall memory needed: 150328k -> 141604k
Peak memory use before GGC: 100526k -> 100521k
Peak memory use after GGC: 99507k -> 99509k
Maximum of released memory in single GGC run: 17478k -> 17480k
Garbage: 345357k -> 342070k
Leak: 51757k -> 51770k
Overhead: 31242k -> 30469k
GGC runs: 530 -> 526
comparing Gerald's testcase PR8361 compilation at -O2 level:
Ovarall memory allocated via mmap and sbrk decreased from 157800k to 147908k, overall -6.69%
Overall memory needed: 157800k -> 147908k
Peak memory use before GGC: 101312k -> 101311k
Peak memory use after GGC: 100302k -> 100306k
Maximum of released memory in single GGC run: 17475k -> 17477k
Garbage: 391971k -> 388860k
Leak: 52844k -> 52848k
Overhead: 36651k -> 35884k
GGC runs: 578 -> 577
comparing Gerald's testcase PR8361 compilation at -O3 level:
Ovarall memory allocated via mmap and sbrk decreased from 160096k to 149100k, overall -7.37%
Overall memory needed: 160096k -> 149100k
Peak memory use before GGC: 102903k -> 102909k
Peak memory use after GGC: 101883k -> 101888k
Maximum of released memory in single GGC run: 17909k -> 17912k
Garbage: 424714k -> 421808k
Leak: 53143k -> 53150k
Overhead: 39165k -> 38432k
GGC runs: 604 -> 599
comparing PR rtl-optimization/28071 testcase compilation at -O0 level:
Ovarall memory allocated via mmap and sbrk decreased from 344480k to 244576k, overall -40.85%
Peak amount of GGC memory allocated before garbage collecting increased from 80312k to 81022k, overall 0.88%
Peak amount of GGC memory still allocated after garbage collecting increased from 58051k to 58761k, overall 1.22%
Amount of memory still referenced at the end of compilation increased from 7532k to 7727k, overall 2.60%
Overall memory needed: 344480k -> 244576k
Peak memory use before GGC: 80312k -> 81022k
Peak memory use after GGC: 58051k -> 58761k
Maximum of released memory in single GGC run: 43619k -> 44134k
Garbage: 144990k -> 144429k
Leak: 7532k -> 7727k
Overhead: 24697k -> 23300k
GGC runs: 74 -> 79
comparing PR rtl-optimization/28071 testcase compilation at -O0 -g level:
Ovarall memory allocated via mmap and sbrk decreased from 345272k to 245396k, overall -40.70%
Peak amount of GGC memory allocated before garbage collecting increased from 80958k to 81668k, overall 0.88%
Peak amount of GGC memory still allocated after garbage collecting increased from 58697k to 59407k, overall 1.21%
Amount of memory still referenced at the end of compilation increased from 9300k to 9496k, overall 2.11%
Overall memory needed: 345272k -> 245396k
Peak memory use before GGC: 80958k -> 81668k
Peak memory use after GGC: 58697k -> 59407k
Maximum of released memory in single GGC run: 43608k -> 44123k
Garbage: 145095k -> 144474k
Leak: 9300k -> 9496k
Overhead: 25193k -> 23796k
GGC runs: 83 -> 87
comparing PR rtl-optimization/28071 testcase compilation at -O1 level:
Ovarall memory allocated via mmap and sbrk decreased from 305296k to 244000k, overall -25.12%
Peak amount of GGC memory allocated before garbage collecting increased from 83378k to 83517k, overall 0.17%
Amount of produced GGC garbage decreased from 232826k to 222967k, overall -4.42%
Overall memory needed: 305296k -> 244000k
Peak memory use before GGC: 83378k -> 83517k
Peak memory use after GGC: 74900k -> 74903k
Maximum of released memory in single GGC run: 39417k -> 39415k
Garbage: 232826k -> 222967k
Leak: 20967k -> 20971k
Overhead: 31896k -> 29139k
GGC runs: 81
comparing PR rtl-optimization/28071 testcase compilation at -O2 level:
Ovarall memory allocated via mmap and sbrk decreased from 317504k to 264200k, overall -20.18%
Amount of produced GGC garbage decreased from 240713k to 229691k, overall -4.80%
Overall memory needed: 317504k -> 264200k
Peak memory use before GGC: 79886k -> 79889k
Peak memory use after GGC: 74900k -> 74903k
Maximum of released memory in single GGC run: 33022k
Garbage: 240713k -> 229691k
Leak: 21057k -> 21061k
Overhead: 34134k -> 31163k
GGC runs: 92 -> 91
comparing PR rtl-optimization/28071 testcase compilation at -O3 -fno-tree-pre -fno-tree-fre level:
Overall memory allocated via mmap and sbrk increased from 1036836k to 1297736k, overall 25.16%
Overall memory needed: 1036836k -> 1297736k
Peak memory use before GGC: 190659k -> 190662k
Peak memory use after GGC: 178175k -> 178178k
Maximum of released memory in single GGC run: 80835k -> 80665k
Garbage: 369016k -> 362948k
Leak: 46424k -> 46428k
Overhead: 46339k -> 43819k
GGC runs: 74 -> 72
Head of the ChangeLog is:
--- /usr/src/SpecTests/sandbox-britten-memory/x86_64/mem-result/ChangeLog 2007-05-10 00:53:33.000000000 +0000
+++ /usr/src/SpecTests/sandbox-britten-memory/gcc/gcc/ChangeLog 2007-05-12 00:46:55.000000000 +0000
@@ -1,20 +1,501 @@
-2007-05-09 Kaz Kojima <kkojima@gcc.gnu.org>
+2007-05-11 Silvius Rus <rus@google.com>
- * df-core.c (df_get_bb_dirty): Return false if df_live is null.
+ * Makefile.in (OBJS-common): Add tree-ssa-alias-warnings.o.
+ * c-common.c (strict_aliasing_warning): Modify -Wstrict-aliasing logic.
+ * c-common.h (strict_aliasing_warning): Change return type.
+ * c-opts.c (c_common_handle_option): Add call to set_Wstrict_aliasing.
+ * c-typeck.c (build_indirect_ref): Add call to strict_aliasing_warning.
+ (build_c_cast): Condition call to strict_aliasing_warning.
+ * doc/invoke.texi: Update description of -Wstrict-aliasing[=n].
+ * flags.h (set_Wstrict_aliasing): Declare.
+ * opts.c (set_Wstrict_alising): Define, add call to.
+ * tree-flow.h (strict_aliasing_warning_backend): Declare.
+ * tree-ssa-alias-warnings.c: New file.
+ * tree-ssa-alias.c (compute_may_aliases): Add call to
+ strict_aliasing_warning_backend.
-2007-05-09 Kaz Kojima <kkojima@gcc.gnu.org>
+2007-05-11 Zdenek Dvorak <dvorakz@suse.cz>
- * config/sh/sh.c (r0_life_regions): New variable.
- (find_r0_life_regions): New static function.
- (sh_md_init_global): Call find_r0_life_regions when
- reload_completed isn't set.
- (R0_MAX_LIVE_LENGTH): Remove.
- (high__pressure): Return 1 if r0_life_regions is over
- the given threshold.
+ * tree-loop-linear.c (gather_interchange_stats, try_interchange_loops):
+ Use loop_depth and loop_outer accessor functions.
+ * tree-ssa-loop-im.c (outermost_invariant_loop, set_level,
+ determine_invariantness_stmt, move_computations_stmt): Ditto.
+ * cfgloopmanip.c (fix_bb_placement, fix_loop_placement, remove_path,
+ add_loop, loopify, unloop, fix_loop_structure): Ditto.
+ * tree-ssa-loop-manip.c (find_uses_to_rename_use): Ditto.
+ * tree-scalar-evolution.c (interpret_loop_phi,
+ compute_scalar_evolution_in_loop, analyze_scalar_evolution_in_loop,
+ instantiate_parameters_1, scev_const_prop): Ditto.
+ * cfghooks.c (make_forwarder_block): Ditto.
+ * cfgloopanal.c (mark_irreducible_loops, mark_loop_exit_edges): Ditto.
+ * modulo-sched.c (loop_canon_p): Ditto.
+ * tree-vectorizer.c (slpeel_tree_duplicate_loop_to_edge_cfg,
+ slpeel_can_duplicate_loop_p): Ditto.
+ * lambda-code.c (invariant_in_loop_and_outer_loops): Ditto.
+ * tree-cfg.c (tree_duplicate_sese_region): Ditto.
+ * cfgloop.c (flow_loop_dump, flow_loop_nodes_find, rescan_loop_exit,
+ cancel_loop, verify_loop_structure): Ditto.
+ (flow_loop_nested_p, superloop_at_depth, flow_loop_free,
+ add_bb_to_loop, remove_bb_from_loops, find_common_loop): Use the
+ superloops vector instead of "pred" array.
+ (establish_preds): Take father loop as an argument. Initialize the
+ superloops vector.
+ (flow_loop_tree_node_add): Pass father loop to establish_preds. Do not
+ initialize loop->outer.
+ (flow_loop_tree_node_remove): Truncate the superloops vector.
+ * cfgloop.h (struct loop): Removed field "outer", fields "depth" and
+ "pred" merged to "superloops" vector.
+ (loop_depth, loop_outer): New.
+ (fel_init): Use loop_outer.
+
+2007-05-11 Jan Hubicka <jh@suse.cz>
+
+ * cgraphunit.c: Include gt-cgraphunit.h
+ (static_ctors, static_dtors): New static vars.
+ (record_cdtor_fn, build_cdtor, cgraph_build_cdtor_fns): New functions,
+ based on implementation in c-common.c
+ (cgraph_finalize_function): Call record_cdtor_fn.
+ (cgraph_optimize): Call cgraph_build_cdtor_fns.
+ * decl.c (finish_function): Do not call c_record_cdtor_fn.
+ (c_write_global_declarations): Do not call c_build_cdtor_fns.
+ * c-common.c (static_ctors, static_dtors, c_record_cdtor_fn,
+ build_cdtor, c_build_cdtor_fns): Remove.
+ * c-common.h (static_ctors, static_dtors, c_record_cdtor_fn,
+ c_build_cdtor_fns): Remove prototype.
+
+2007-05-11 Paolo Carlini <pcarlini@suse.de>
+
+ PR other/31852
+ * builtin-types.def: Add BT_FN_PTR_CONST_PTR_INT_SIZE.
+ * builtins.def: Add BUILT_IN_MEMCHR, use the latter.
+ * builtins.c (fold_builtin_memchr): New.
+ (expand_builtin_memchr): Call the latter.
+ (expand_builtin, fold_builtin_3): Deal with BUILT_IN_MEMCHR.
+ * doc/extend.texi ([Other built-in functions provided by GCC]):
+ Document memchr.
+
+2007-05-11 Andreas Krebbel <krebbel1@de.ibm.com>
+
+ * config/s390/s390.md (GPR0_REGNUM, FPR0_REGNUM, FPR2_REGNUM,
+ PFPO_CONVERT, PFPO_OP_TYPE_SF, PFPO_OP_TYPE_DF, PFPO_OP_TYPE_TF,
+ PFPO_OP_TYPE_SD, PFPO_OP_TYPE_DD, PFPO_OP_TYPE_TD, PFPO_OP0_TYPE_SHIFT,
+ PFPO_OP1_TYPE_SHIFT): Constants added.
+ (DFP_ALL): Mode macro defined.
+ ("*trunc<BFP:mode><DFP_ALL:mode>2", "*trunc<DFP_ALL:mode><BFP:mode>2",
+ "*extend<BFP:mode><DFP_ALL:mode>2", "*extend<DFP_ALL:mode><BFP:mode>2"):
+ Insn definitions added.
+ ("trunc<BFP:mode><DFP_ALL:mode>2", "trunc<DFP_ALL:mode><BFP:mode>2",
+ "extend<BFP:mode><DFP_ALL:mode>2", "extend<DFP_ALL:mode><BFP:mode>2"):
+ Expanders added.
+
+2007-05-10 Zdenek Dvorak <dvorakz@suse.cz>
+
+ PR tree-optimization/31885
+ * tree-chrec.c (chrec_contains_undetermined): Do not consider NULL_TREE
+ to be undetermined.
+ (automatically_generated_chrec_p): Return false for NULL.
+
+2007-05-08 Bernd Schmidt <bernd.schmidt@analog.com>
+
+ * config/bfin/bfin.h (MOVE_RATIO): Define.
+
+2007-05-10 Richard Sandiford <richard@codesourcery.com>
+
+ * config.gcc (sparc-wrs-vxworks): New target.
+ * config/sparc/vxworks.h, config/sparc/t-vxworks: New files.
+ * config/sparc/sparc-protos.h (sparc_emit_call_insn): Declare.
+ * config/sparc/sparc.h: Include vxworks-dummy.h.
+ (PRINT_OPERAND_ADDRESS): Extend SYMBOL_REF handling to
+ include LABEL_REFs too.
+ * config/sparc/sparc.c (sparc_expand_move): Don't assume that
+ _GLOBAL_OFFSET_TABLE_ - label_ref is a link-time constant on
+ VxWorks.
+ (legitimize_pic_address): Handle LABEL_REFs like SYMBOL_REFs
+ on VxWorks.
+ (load_pic_register): Use gen_vxworks_load_got for VxWorks.
+ (sparc_emit_call_insn): New function.
+ (sparc_function_ok_for_sibcall): Restrict sibcalls to locally-binding
+ functions when generating VxWorks PIC.
+ * config/sparc/sparc.md (vxworks_load_got): New pattern.
+ (call, call_value): Use sparc_emit_call_insn instead of
+ emit_call_insn.
+
+2007-05-09 Bob Wilson <bob.wilson@acm.org>
+
+ * config/xtensa/xtensa.c (xtensa_output_literal): Don't use #if.
+
+2007-05-09 Bob Wilson <bob.wilson@acm.org>
+
+ * config/xtensa/xtensa.c (xtensa_output_literal): Mask out high bits
+ for floating-point values if HOST_BITS_PER_LONG > 32. Use split_double
+ instead of operand_subword.
+
+2007-05-08 Bernd Schmidt <bernd.schmidt@analog.com>
+
+ * config/bfin/bfin.h (LOCAL_ALIGNMENT): Define.
+ * config/bfin/bfin.c (bfin_local_alignment): New function.
+ * config/bfin/bfin-protos.h (bfin_local_alignment): Declare it.
+
+2007-05-08 Chao-ying Fu <fu@mips.com>
+
+ * doc/md.texi (msub@var{m}@var{n}4, usub@var{m}@var{n}4): Document.
+ * optabs.h (OTI_smsub_widen, OTI_umsub_widen): New optab_indexes.
+ (smsub_widen_optab, umsub_widen_optab): Define.
+ * optabs.c (init_optabs): Initialize smsub_widen_optab and
+ umsub_widen_optab.
+ * genopinit.c (optabs): Fill in smsub_widen_optab and
+ umsub_widen_optab.
+ * expr.c (expand_expr_real_1): Try to use smsub_widen_optab
+ and umsub_widen_optab to implement multiply-subtract sequences.
+ * config/mips/mips.md (*msac<u>_di): Rename to...
+ (<u>msubsidi4): ...this. Extend condition to include
+ GENERATE_MADD_MSUB and TARGET_DSPR2. Change the constraint
+ of operand 0 to "ka" and use the three-operand form of msub<u>
+ for TARGET_DSPR2.
+ * config/mips/mips-dspr2.md (mips_msub, mips_msubu): Convert
+ to define_expands.
+
+2007-05-08 Kaz Kojima <kkojima@gcc.gnu.org>
+
+ PR rtl-optimization/28011
+ * reload.c (push_reload): Set dont_share if IN appears in OUT
+ also when IN is a PLUS rtx.
+ (reg_overlap_mentioned_for_reload_p): Return true if X and IN
+ are same PLUS rtx.
+
+2007-05-08 Kazu Hirata <kazu@codesourcery.com>
+
+ * emit-rtl.c (unshare_all_rtl_1): Don't copy DECL_RTL. Don't
+ call unshare_all_decls.
+ (unshare_all_rtl): Adjust the call to unshare_all_rtl_1.
+ (unshare_all_decls): Remove.
+
+2007-05-08 Simon Martin <simartin@users.sourceforge.net>
+
+ PR 31847
+ * tree-dump.c (dump_options): Don't use TDF_DIAGNOSTIC in "*-all" tree
+ dumps.
+
+2007-05-08 Sandra Loosemore <sandra@codesourcery.com>
+ Nigel Stephens <nigel@mips.com>
+
+ * config/mips/mips.h (MAX_FPRS_PER_FMT): Renamed from FP_INC.
+ Update comments and all uses.
+ (MIN_FPRS_PER_FMT): Define.
+ * config/mips/mips.c (function_arg): Fix to correctly handle
+ the -mips32r2 -mfp64 -mabi=32 case.
+ (override_options): Enable use of odd-numbered registers for
+ SFmode values on MIPS32.
+ (mips_save_reg_p): Save whole floating-point register pair if
+ either half is used.
+ (compute_frame_size): Fix comment.
+
+2007-05-08 Jie Zhang <jie.zhang@analog.com>
+
+ * config/bfin/bfin-protos.h (bfin_expand_epilogue): Add a third
+ argument of type bool.
+ * config/bfin/bfin.c (add_to_reg): Add epilogue_p as a fourth
+ argument. Safely select temporary P register according to it.
+ (do_link): Change call site of add_to_reg accordingly.
+ (do_unlink): Add epilogue_p as a fourth argument and pass it
+ to add_to_reg.
+ (expand_interrupt_handler_epilogue): Change call of do_unlink
+ accordingly.
+ (bfin_expand_prologue): Add a third argument sibcall_p.
+ * config/bfin/bfin.md (epilogue): Change call of
+ bfin_expand_epilogue accordingly.
+ (sibcall_epilogue): Likewise.
+ (eh_return_internal): Likewise.
+
+ * config/bfin/bfin-protos.h (enum bfin_cpu): Add
+ BFIN_CPU_BF534, BFIN_CPU_BF536 and BFIN_CPU_BF561.
+ * config/bfin/bfin.c (bfin_handle_option): Handle
+ -mcpu=bf534, -mcpu=bf536 and -mcpu=bf561.
+ * config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS):
+ Support bf534, bf536 and bf561.
+ * doc/invoke.texi (Blackfin Options): Document -mcpu and -msim.
+
+2007-05-08 Uros Bizjak <ubizjak@gmail.com>
+
+ PR target/31854
+ * config/i386/i386.c (ix86_function_regparm): Process local
+ functions only when TREE_CODE (decl) equals FUNCTION_DECL.
+
+2007-05-07 Mike Stump <mrs@apple.com>
+
+ * doc/invoke.texi (Warning Options): Document that -Wempty-body
+ also checks for and while statements in C++.
+
+2007-05-07 Nathan Froyd <froydnj@codesourcery.com>
+
+ * gcc.c (at_file_supplied): New variable.
+ (main): Set it if we expanded argv.
+ (do_spec_1): Pass an @-file to the linker if we were called with
+ an @-file argument and HAVE_GNU_LD.
+ * collect2.c (at_file_supplied): New variable.
+ (response_file): New variable.
+ (collect_exit): Unlink response_file if necessary.
+ (handler): Likewise.
+ (do_wait): Likewise.
+ (main): Set at_file_supplied if we expanded argv.
+ (collect_execute): Pass an @-file to subprocesses if we were called
+ with an @-file argument.
+ * configure.ac: Add define for HAVE_GNU_LD.
+ * configure: Regenerate.
+ * config.in: Regenerate.
+
+2007-05-07 Naveen.H.S <naveen.hs@kpitcummins.com>
+
+ * config/m32c/muldiv.md (mulhisi3_c): Limit the mode of the 2nd
+ operand to HI mode.
+ (mulsi3): New.
+ (divsi3): New.
+ (udivsi3): New.
+
+2007-05-07 Jayant Sonar <jayants@kpitcummins.com>
+
+ * config/m32c/m32c.c (SYMBOL_FLAG_FUNCVEC_FUNCTION): Define.
+ (TARGET_ENCODE_SECTION_INFO): Re-define.
+ (m32c_encode_section_info): New
+ (function_vector_handler): New
+ (current_function_special_page_vector): New
+ (m32c_special_page_vector_p): New.
+ * config/m32c/m32c-protos.h (m32c_special_page_vector_p):
+ Prototype.
+ * config/m32c/jump.md: Added instruction JSRS for functions
+ with attribute "function_vector".
+ * doc/extend.texi (function_vector): Added description
+ for M16C, M32C targets.
+
+2007-05-07 DJ Delorie <dj@redhat.com>
+
+ PR 31794
+ * config/m32c/shift.md (ashlpsi3_i, ashrpsi3_i, ashlpsi3,
+ ashrpsi3, lshrpsi3): Update shift count constraint.
+
+2007-05-07 Danny Smith <dannysmith@users.sourceforge.net>
+ Nathan Froyd <froydnj@codesourcery.com>
+
+ PR 22133
+ * c-incpath.c (add_path): Strip trailing path separators.
+
+2007-05-07 Eric Botcazou <ebotcazou@adacore.com>
+
+ * tree-ssa-dom.c (tree_ssa_dominator_optimize): Reset cfg_altered.
+ Free dominance info before purging EH edges.
+ (eliminate_degenerate_phis): Likewise.
+ (propagate_rhs_into_lhs): Set cfg_altered to true instead of 1.
+
+2007-05-07 Jan Hubicka <jh@suse.cz>
+
+ * gimplify.c (gimplify_expr): Do not crash when folding
+ (void *)(int)&a + 4.
+
+2007-05-07 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ PR driver/31694
+ * c-opts.c (lang_fortran): Make it non static.
+ * c-common.h (lang_fortran): New prototype.
+ * c-cppbuiltin.c (c_cpp_builtins): Create a __GFORTRAN__ if the
+ -lang-fortran option was passed by the driver.
+
+2007-05-06 Eric Botcazou <ebotcazou@adacore.com>
+
+ * timevar.c (timevar_print): Test ENABLE_ASSERT_CHECKING instead
+ of ASSERT_CHECKING. Tweak message.
+
+2007-05-06 Revital Eres <eres@il.ibm.com>
+
+ PR 30957
+ * loop-unroll.c (insert_var_expansion_initialization):
+ Initialize the expansions with -zero instead of +zero.
+
+2007-05-05 Aurelien Jarno <aurelien@aurel32.net>
+
+ * config/pa/pa.md: Split tgd_load, tld_load and tie_load
+ into pic and non-pic versions. Mark r19 as used for
+ tgd_load_pic, tld_load_pic and tie_load_pic. Mark r27 as used
+ for tgd_load, tld_load and tie_load .
+ * config/pa/pa.c (legitimize_tls_address): Emit pic or non-pic
+ version of tgd_load, tld_load and tie_load depending on the
+ value of flag_pic.
+
+2007-05-04 Ulrich Drepper <drepper@redhat.com>
+ Jakub Jelinek <jakub@redhat.com>
+
+ * crtstuff.c (HIDDEN_DTOR_LIST_END): New macro.
+ (__do_global_dtors_aux): Use more paranoid loop to run
+ destructors if HIDDEN_DTOR_LIST_END.
+ (__DTOR_END__): Export as a hidden symbol when HIDDEN_DTOR_LIST_END.
+
+2007-05-04 Jakub Jelinek <jakub@redhat.com>
+
+ * varasm.c (align_variable): Don't increase alignment for
+ DECL_THREAD_LOCAL_P variables above BITS_PER_WORD through
+ DATA_ALIGNMENT or CONSTANT_ALIGNMENT.
+
+2007-05-04 Josh Conner <jconner@apple.com>
+
+ * basic-block.h (cdi_direction): Assign values to all enumeration
+ constants.
+ (dom_computed): Remove.
+ (dom_info_state): New.
+ (set_dom_info_availability): New.
+ * tree-ssa-loop-im.c (determine_invariantness): Initialize
+ walk_data.dom_direction.
+ * cfghooks.c (delete_basic_block): Use dom_info_available_p()
+ instead of dom_computed[].
+ (split_edge): Likewise.
+ (create_basic_block): Likewise.
+ (merge_blocks): Likewise.
+ * ifcvt.c (find_if_header): Likewise.
+ * tree-cfgcleanup.c (cleanup_tree_cfg): Likewise.
+ * tree-ssa-dce.c (remove_dead_stmt): Likewise.
+ * tree-ssa.c (verify_ssa): Likewise.
+ * tree-cfg.c (tree_verify_flow_info): Likewise.
+ (remove_edge_and_dominated_blocks): Likewise.
+ * dominance.c (dom_computed): Make static.
+ (calc_dfs_tree_nonrec): Change third param to a bool.
+ (calc_dfs_tree): Change second param to a bool.
+ (calc_idioms): Change second param to a bool. Use
+ dom_convert_dir_to_idx.
+ (init_dom_info): Validate dir before using.
+ (dom_convert_dir_to_idx): New.
+ (calculate_dominance_info): Use dom_convert_dir_to_idx. New
+ variable 'reverse' used for calling calc_dfs_tree and calc_idoms.
+ (free_dominance_info): Use dom_convert_dir_to_idx.
+ (get_immediate_dominator): Likewise.
+ (set_immediate_dominator): Likewise.
+ (get_dominated_by): Likewise.
+ (redirect_immediate_dominators): Likewise.
+ (nearest_common_denominator): Likewise.
+ (dominated_by_p): Likewise.
+ (bb_dom_dfs_in): Likewise.
+ (bb_dom_dfs_out): Likewise.
+ (recount_dominator): Likewise.
+ (iterate_fix_dominators): Likewise.
+ (add_to_dominance_info): Likewise.
+ (delete_from_dominance_info): Likewise.
+ (first_dom_son): Likewise.
+ (next_dom_son): Likewise.
+ (dom_info_available_p): Likewise.
+ (dom_info_state): New.
+ (set_dom_info_availability): New.
+
+2007-05-04 Andreas Krebbel <krebbel1@de.ibm.com>
+
+ * config/s390/s390.md ("fix_trunc<mode>di2", "fix_trunc<mode>si2"):
+ Expander removed.
+ ("fix_trunc<DSF:mode><GPR:mode>2"): Expander added.
+
+2007-05-04 Bob Wilson <bob.wilson@acm.org>
+
+ * config/xtensa/xtensa.md (adddi3, adddi_carry): Delete.
+ (subdi3, subdi_carry): Delete.
+
+2007-05-04 Jan Hubicka <jh@suse.cz>
+ Richard Guenther <rguenther@suse.de>
+
+ * opts.c (decode_options): Do not fiddle with inlining
+ parameters in case of optimizing for size.
+ * ipa-inline.c (cgraph_decide_recursive_inlining): When optimizing
+ for size do nothing.
+ (cgraph_decide_inlining_of_small_function): When optimizing for
+ size never inline functions increasing caller size.
+ (cgraph_early_inlining): Inline for size when optimizing for size.
+
+2007-04-18 Bernd Schmidt <bernd.schmidt@analog.com>
+
+ * config/bfin/bfin.md (<optab>di3): Now a define_expand which expands
+ logical operations piecewise.
+ (<optab>di_zesidi_di, <optab>di_sesidi_di, negdi2, one_cmpldi2,
+ zero_extendsidi2, subdi_di_zesidi, subdi_zesidi_di, subdi_di_sesidi,
+ subdi_sesidi_di): Delete.
+ (add_with_carry): Produce carry in CC instead of a DREG to shorten
+ the generated sequence. Allow three-reg add in constraints. Rewrite
+ the rtl expression for carry to avoid zero_extend of a constant.
+ (sub_with_carry): New pattern.
+ (adddi3, subdi3): Change into define_expand. For subtract, generate a
+ different sequence not involving jumps.
+ (notbi): Now a named pattern.
+
+2007-05-04 Bradley Lucier <lucier@math.purdue.edu>
+
+ * doc/invoke.texi (i386 and x86-64 Options) [-mpc32, -mpc64, -mpc80]:
+ Add the note about a significant loss of accuracy of some
+ mathematical routines when these options are used.
+
+2007-05-04 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
+
+ * haifa-sched.c (rtx_vec_t): New typedef.
+ (contributes_to_priority_p): Extract piece of priority () into new
+ static function.
+ (priority): Use the function. Add assertion.
+ (rank_for_schedule, set_priorities): Add assertion to check that
+ insn's priority is initialized.
+ (clear_priorities, calc_priorities): Change signature. Make it update
+ all relevant insns. Update all callers ('add_to_speculative_block ()'
+ and 'create_block_check_twin ()').
+ * sched-int.h (struct haifa_insn_data): Remove field 'priority_known'.
+ Add new field 'priority_status'.
+ (INSN_PRIORITY_STATUS): New macro.
+ (INSN_PRIORITY_KNOWN): Change to use INSN_PRIORITY_STATUS.
+
+2007-05-04 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
+
+ * sched-ebb.c (debug_ebb_dependencies): New static function.
+ (init_ready_list): Use it.
+
+ * sched-rgn.c (debug_dependencies): Split into 'debug_dependencies ()'
+ with changed signature and 'debug_rgn_dependencies ()'.
+ (debug_rgn_dependencies): New static function.
+ (init_ready_list): Use it.
+
+ * sched-int.h (debug_dependencies): Declare.
+
+2007-05-04 Andreas Krebbel <krebbel1@de.ibm.com>
+
+ * libgcc-std.ver (__ffssi2): Added to GCC_4.3.0 section.
+
+2007-05-04 Dirk Mueller <dmueller@suse.de>
+
+ * c.opt(Wmain,ffreestanding): Enable for C++,ObjC++.
+
+2007-05-03 Jan Hubicka <jh@suse.cz>
+
+ * fold-const.c (fold_unary): Convert (T1)(X op Y) into ((T1)X op (T1)Y),
+ for pointer type in more cases than before.
+
+ * gimplify.c (gimplify_expr): Fold (void *)&a + 4.
+
+ * tree-object-size.c (plus_expr_object_size): When operand size is
+ unknown, return unknown.
+
+2007-05-03 Dirk Mueller <dmueller@suse.de>
+
+ * doc/invoke.texi (-m386,-m486,-mpentium,-mpentiumpro): Remove.
+
+ * config/i386/i386.h (CC1_CPU_SPEC): Remove handling for deprecated
+ options.
+
+ * config/i386/i386.opt (m386,m486,mpentium,mpentiumpro): Remove.
+
+2007-05-03 Janis Johnson <janis187@us.ibm.com>
+
+ * doc/sourcebuild.texi (Test Directives) Clarify dg-excess-errors.
+
+2007-05-03 Joseph Myers <joseph@codesourcery.com>
+
+ * config/soft-fp/double.h, config/soft-fp/extended.h,
+ config/soft-fp/floatundidf.c, config/soft-fp/floatundisf.c,
+ config/soft-fp/floatunsidf.c, config/soft-fp/floatunsisf.c,
+ config/soft-fp/op-2.h, config/soft-fp/op-4.h,
+ config/soft-fp/op-common.h, config/soft-fp/quad.h: Update from
+ glibc CVS.
2007-05-03 Ian Lance Taylor <iant@google.com>
- * config/rs6000/rs6000.c (rs6000_override_options): Don't se
+ * config/rs6000/rs6000.c (rs6000_override_options): Don't set
MASK_PPC_GFXOPT for 8540 or 8548.
2007-05-03 Uros Bizjak <ubizjak@gmail.com>
--- /usr/src/SpecTests/sandbox-britten-memory/x86_64/mem-result/ChangeLog.cp 2007-05-08 21:26:36.000000000 +0000
+++ /usr/src/SpecTests/sandbox-britten-memory/gcc/gcc/cp/ChangeLog 2007-05-12 00:46:07.000000000 +0000
@@ -1,3 +1,38 @@
+2007-05-11 Silvius Rus <rus@google.com>
+
+ * cp/typeck.c (build_indirect_ref): Add call to
+ strict_aliasing_warning.
+ (build_reinterpret_cast_1): Condition call to
+ strict_aliasing_warning.
+
+2007-05-11 Jan Hubicka <jh@suse.cz>
+
+ * semantics.c (expand_or_defer_fn): Do not call c_record_cdtor_fn.
+ * decl2.c (start_objects): ctors and dtors are no longer public.
+ (cp_write_global_declarations): Do not call c_build_cdtor_fns.
+
+2007-05-07 Andrew Pinski <andrew_pinski@playstation.sony.com>
+
+ * typeck.c (build_unary_op): Remove code that used to
+ handle non lvalue increments/decrements.
+
+2007-05-07 Mike Stump <mrs@apple.com>
+
+ * parser.c (check_empty_body): Add.
+ (cp_parser_iteration_statement): Add call to check_empty_body.
+
+2007-05-05 Geoffrey Keating <geoffk@apple.com>
+
+ PR 31775
+ * mangle.c (write_mangled_name): Mangle static variable names.
+ (write_unqualified_name): Use local-source-name for
+ namespace-scope static variables.
+
+2007-05-04 Dirk Mueller <dmueller@suse.de>
+
+ * cp-tree.h (DECL_MAIN_P): only if -ffreestanding is
+ not in effect.
+
2007-05-02 Seongbae Park <seongbae.park@gmail.com>
PR c++/31663
@@ -1087,7 +1122,7 @@
* pt.c: Fix a comment typo.
-2006-01-02 Ian Lance Taylor <iant@google.com>
+2007-01-02 Ian Lance Taylor <iant@google.com>
* semantics.c (maybe_convert_cond): Optionally warn when using an
assignment as a condition.
@@ -1147,7019 +1182,3 @@
canonical reduced type parameter.
(any_template_arguments_need_structural_equality_p): New.
-2006-12-31 Simon Martin <simartin@users.sourceforge.net>
-
- PR c++/29731
- * parser.c (cp_parser_primary_expression): Return error_mark_node when
- a statement-expression is found outside of a function body.
-
-2006-12-28 Kazu Hirata <kazu@codesourcery.com>
-
- * cp-tree.h (TYPE_NAMESPACE_SCOPE_P, TYPE_FUNCTION_SCOPE_P):
- Remove.
-
- * decl2.c: Fix a comment typo.
-
-2006-12-21 Andrew Pinski <pinskia@gmail.com>
-
- PR C++/30225
- * decl.c (cxx_builtin_function): Only copy the decl if adding
- it to the std namespace.
-
-2006-12-21 Andrew Pinski <pinskia@gmail.com>
-
- PR C++/30168
- * optimize.c (update_cloned_parm): Copy DECL_GIMPLE_REG_P also.
-
-2006-12-22 Kazu Hirata <kazu@codesourcery.com>
-
- * decl.c: Fix a coment typo.
-
-2006-12-18 Ian Lance Taylor <iant@google.com>
-
- * decl.c (start_preparsed_function): Add support for
- -Wmissing-declarations.
-
-2006-12-16 Simon Martin <simartin@users.sourceforge.net>
-
- PR c++/29475
- * cp-tree.h (struct deferred_access_check): New structure to represent a
- deferred access check. It replaces the previous representation as a tree.
- (get_deferred_access_checks): Return a vector of struct
- deferred_access_check instead of a tree list.
- (perform_access_checks): Take a vector of struct deferred_access_check
- instead of a tree list.
- * semantics.c (struct deferred_access): Store the deferred access checks
- as a vector of struct deferred_access_check instead of a tree list.
- (push_deferring_access_checks): Handle the change in struct
- deferred_access.
- (get_deferred_access_checks): Likewise.
- (pop_to_parent_deferring_access_checks): Likewise.
- (perform_or_defer_access_check): Likewise.
- (perform_access_checks): Take a vector of struct deferred_access_check
- instead of a tree list.
- * parser.c (struct tree_check): New structure to store various data
- associated with a CPP_NESTED_NAME_SPECIFIER or CPP_TEMPLATE_ID token.
- (struct cp_token): Changed the value field to be a union with a pointer to
- a struct tree_check for CPP_NESTED_NAME_SPECIFIER or CPP_TEMPLATE_ID
- tokens and a tree field for all other tokens.
- (eof_token): Adjusted due to the change in struct cp_token.
- (cp_lexer_get_preprocessor_token): Likewise.
- (cp_lexer_purge_token): Likewise.
- (cp_lexer_purge_tokens_after): Likewise.
- (cp_lexer_print_token): Likewise.
- (cp_parser_error): Likewise.
- (cp_parser_identifier): Likewise.
- (cp_parser_string_literal): Likewise.
- (cp_parser_primary_expression): Likewise.
- (cp_parser_unqualified_id): Likewise.
- (cp_parser_parenthesized_expression_list): Likewise.
- (cp_parser_storage_class_specifier_opt): Likewise.
- (cp_parser_function_specifier_opt): Likewise.
- (cp_parser_type_specifier): Likewise.
- (cp_parser_simple_type_specifier): Likewise.
- (cp_parser_initializer_list): Likewise.
- (cp_parser_member_specification_opt): Likewise.
- (cp_parser_attribute_list): Likewise.
- (cp_parser_objc_expression): Likewise.
- (cp_parser_objc_protocol_qualifiers): Likewise.
- (cp_parser_objc_selector): Likewise.
- (cp_parser_objc_declaration): Likewise.
- (cp_parser_objc_statement): Likewise.
- (cp_parser_omp_clause_name): Likewise.
- (cp_parser_omp_clause_default): Likewise.
- (cp_parser_omp_clause_schedule): Likewise.
- (cp_parser_omp_parallel): Likewise.
- (cp_parser_initial_pragma): Likewise.
- (pragma_lex): Likewise.
- (cp_parser_pre_parsed_nested_name_specifier): Likewise.
- (cp_parser_nested_name_specifier_opt): Likewise.
- Use cp_token::u::tree_check_value to save the token's value, the
- associated deferred checks and its qualifying scope.
- (cp_parser_template_id): Likewise.
- (cp_parser_template_declaration_after_export): Adjusted the call to
- get_deferred_access_checks.
- (cp_parser_init_declarator): Take the access checks as a vector of struct
- deferred_access_check instead of a tree list.
- (cp_parser_single_declaration): Likewise.
- (cp_parser_perform_template_parameter_access_checks): Likewise.
- (cp_parser_simple_declaration): Adjusted the call to
- cp_parser_init_declarator.
- (cp_parser_explicit_specialization): Adjusted the call to
- cp_parser_single_declaration.
-
-2006-12-13 Ian Lance Taylor <iant@google.com>
-
- PR c++/19564
- PR c++/19756
- * parser.c (cp_parser_expression_stack_entry): Add field
- lhs_type.
- (cp_parser_binary_expression): Track tree code of left hand side
- of expression. Use it when calling build_x_binary_op.
- (cp_parser_selection_statement): Add if_p parameter. Change all
- callers. Warn about ambiguous else.
- (cp_parser_statement): Add if_p parameter. Change all callers.
- (cp_parser_implicitly_scoped_statement): Likewise.
- * typeck.c (build_x_binary_op): Add parameters arg1_code and
- arg2_code. Change all callers. Call warn_about_parentheses.
- * cp-tree.h (build_x_binary_op): Update declaration.
-
-2006-12-12 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
-
- * decl.c (build_enumerator): Update error message to match C
- front-end.
-
-2006-12-11 Jan Hubicka <jh@suse.cz>
-
- * decl2.c (var_finalized_p): Update for renamed varpool functions.
-
-2006-12-09 Zack Weinberg <zackw@panix.com>
-
- * parser.c (yydebug, enum pragma_omp_clause): Delete.
-
-2006-12-07 Mark Mitchell <mark@codesourcery.com>
-
- PR c++/29732
- * cp-tree.h (DECL_USE_TEMPLATE): Mention partial specializations.
- (explicit_class_specialization_p): Declare.
- * pt.c (explicit_class_specialization_p): New function.
- * parser.c (cp_parser_init_declarator): Check correct number of
- template parameters for in-class function definitions.
- (cp_parser_check_declrator_template_parameters): Stop looking for
- template classes when we find an explicit specialization.
-
-2006-12-07 Lee Millward <lee.millward@codesourcery.com>
-
- PR c++/29980
- * cp_parser_elaborated_type_specifier: Check
- the return value of check_elaborated_type_specifier.
-
-2006-12-06 Mark Mitchell <mark@codesourcery.com>
-
- PR c++/29730
- * parser.c (cp_parser_init_declarator): Reject initialization of
- functions.
-
-2006-12-05 Mark Mitchell <mark@codesourcery.com>
-
- PR c++/29729
- * decl2.c (check_member_template): Move check for member
- templates in local classes to ...
- * parser.c (cp_parser_template_declaration_after_export):
- ... here.
-
- PR c++/29728
- * decl.c (check_array_designated_initializer): New function.
- (maybe_deduce_size_from_array_init): Use it.
- (reshape_init_array): Likewise.
-
-2006-12-05 Aldy Hernandez <aldyh@redhat.com>
-
- Merge from gimple-tuples-branch.
-
- 2006-10-05 Aldy Hernandez <aldyh@redhat.com>
-
- * cp-gimplify.c (cp_gimplify_expr): Adjust for GIMPLE_MODIFY_STMT.
- (cxx_omp_clause_apply_fn): Adjust for GIMPLE_MODIFY_STMT.
- (cxx_omp_clause_copy_ctor): Same.
- (cxx_omp_clause_assign_op): Same.
-
- 2006-09-28 Aldy Hernandez <aldyh@redhat.com>
-
- * cp-tree.h (union lang_tree_node): Gimple statements do not
- have a TREE_CHAIN.
- (TREE_INDIRECT_USING): Look in base.
-
-2006-12-04 Jan Hubicka <jh@suse.cz>
-
- * cp-objcp-common.c (cp_expr_size): Return NULL in the case
- size is undefined.
-
-2006-12-04 Mark Mitchell <mark@codesourcery.com>
-
- PR c++/29733
- * pt.c (tsubst_decl): Disallow variables of function type.
-
- PR c++/29632
- * call.c (add_builtin_candidate): Do not permit NULL pointer
- constants to be compared with template parameters.
-
-2006-12-04 Eric Botcazou <ebotcazou@adacore.com>
-
- * pt.c (for_each_template_parm_r) <INTEGER_TYPE>: New case.
- Call for_each_template_parm on TYPE_MIN_VALUE and TYPE_MAX_VALUE.
-
-2006-12-03 Richard Henderson <rth@redhat.com>
- Andrew Pinski <pinskia@gmail.com>
-
- PR C++/14329
- * error.c (cp_printer) <'D'>: Handle DECL_DEBUG_EXPR.
-
-2006-12-02 Andrew Pinski <andrew_pinski@playstation.sony.com>
-
- PR C++/30033
- * decl.c (cp_tree_node_structure): Handle STATIC_ASSERT.
-
-2006-12-02 Kazu Hirata <kazu@codesourcery.com>
-
- * name-lookup.c: Follow spelling conventions.
-
-2006-12-01 Geoffrey Keating <geoffk@apple.com>
-
- * decl.c (poplevel): Check DECL_INITIAL invariant.
- (duplicate_decls): Preserve DECL_INITIAL when eliminating
- a new definition in favour of an old declaration.
- (start_preparsed_function): Define and document value of
- DECL_INITIAL before and after routine.
- (finish_function): Check DECL_INITIAL invariant.
- * parser.c
- (cp_parser_function_definition_from_specifiers_and_declarator):
- Skip duplicate function definitions.
-
-2006-12-01 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
-
- PR c++/30022
- * typeck.c (type_after_usual_arithmetic_conversions):
- Fix assertion for vector types.
- (build_binary_op): Use temporary for inner type of vector types.
-
-2006-12-01 Ryan Mansfield <rmansfield@qnx.com>
-
- PR c++/29066
- * typeck.c (build_binary_op): Fix pointer to member function
- comparison for ptrmemfunc_vbit_in_delta targets.
-
-2006-12-01 Dirk Mueller <dmueller@suse.de>
-
- PR c++/18313
- * decl.c (grokdeclarator): Warn for type qualifiers on return
- type for non-dependent types.
- * pt.c (tsubst_function_type): Warn for type qualifiers on
- return type for dependent types.
-
-2006-11-30 Geoffrey Keating <geoffk@apple.com>
-
- * rtti.c (get_tinfo_decl): Handle return value from
- pushdecl_top_level_and_finish.
-
-2006-11-29 Lee Millward <lee.millward@codesourcery.com>
-
- PR c++/29022
- * parser.c (cp_parser_class_head): Move processing
- of any base classes to...
- (cp_parser_class_specifier) ...here. Take an extra
- tree* parameter for any base classes. Only process
- them if the opening brace was found.
-
-2006-11-28 Jakub Jelinek <jakub@redhat.com>
-
- PR c++/29735
- * decl.c (grokfndecl): Check main's type after applying
- attributes, not before.
-
-2006-11-27 Mark Mitchell <mark@codesourcery.com>
-
- * class.c (build_vcall_offset_vtbl_entries): Do not add vcall
- entries for a primary construction virtual table.
-
-2006-11-26 Mark Mitchell <mark@codesourcery.com>
-
- PR c++/29886
- * parser.c (cp_parser): Add in_function_body.
- (cp_parser_new): Initialize it.
- (cp_parser_primary_expression): Use parser->in_function_body
- instead of at_function_scope_p.
- (cp_parser_asm_definition): Likewise.
- (cp_parser_direct_declarator): Likewise.
- (cp_parser_class_specifier): Clear parser->in_function_body.
- (cp_parser_constructor_declarator_p): Use parser->in_function_body
- instead of at_function_scope_p.
- (cp_parser_function_body_after_declarator): Set
- parser->in_function_body.
-
-2006-11-21 Douglas Gregor <doug.gregor@gmail.com>
-
- * cp-tree.def (STATIC_ASSERT): New.
- * cp-objcp-common.c (cp_tree_size): Handle STATIC_ASSERT.
- * error.c (dump_decl): Handle STATIC_ASSERT.
- * cp-tree.h (STATIC_ASSERT_CONDITION): New.
- (STATIC_ASSERT_MESSAGE): New.
- (STATIC_ASSERT_SOURCE_LOCATION): New.
- (struct tree_static_assert): New.
- (enum cp_tree_node_structure_enum): Add TS_CP_STATIC_ASSERT.
- (union lang_tree_node): Add static_assertion.
- (finish_static_assert): Declare.
- * cxx-pretty-print.c (pp_cxx_statement): Handle STATIC_ASSERT.
- (pp_cxx_declaration): Handle STATIC_ASSERT.
- * pt.c (instantiate_class_template): Handle
- STATIC_ASSERT members.
- (tsubst_expr): Handle STATIC_ASSERT statements.
- * semantics.c (finish_static_assert): New.
- * lex.c (D_CPP0X): New.
- (reswords): Add static_assert keyword.
- (init_reswords): If not flag_cpp0x, mask out C++0x keywords.
- * parser.c (cp_parser_block_declaration): Parse static
- assertions.
- (cp_parser_static_assert): New.
- (cp_parser_member_declaration): Parse static assertions.
-
-2006-11-21 Jakub Jelinek <jakub@redhat.com>
-
- PR c++/29570
- * decl.c (cp_finish_decl): Check for value dependent brace enclosed
- scalar initializer.
-
- PR c++/29734
- * cp-tree.h (WANT_VECTOR): Define.
- (WANT_ARITH): Add WANT_VECTOR.
- * cvt.c (build_expr_type_conversion): Handle vector types.
- * typeck.c (build_unary_op): Add WANT_VECTOR to
- build_expr_type_conversion flags.
-
-2006-11-20 Simon Martin <simartin@users.sourceforge.net>
-
- PR c++/29475
- * cp-tree.h (enforce_access, perform_or_defer_access_check): Added an
- extra argument that represents the declaration to use to print
- potential error messages.
- * init.c (build_offset_ref): Adjusted the call to
- perform_or_defer_access_check.
- * class.c (alter_access, resolve_address_of_overloaded_function):
- Likewise.
- * decl.c (make_typename_type, make_unbound_class_template): Likewise.
- * search.c (lookup_member): Likewise.
- * friend.c (add_friend): Likewise.
- * parser.c (cp_parser_template_id,
- cp_parser_pre_parsed_nested_name_specifier): Likewise.
- * semantics.c (finish_non_static_data_member,
- check_accessibility_of_qualified_id, finish_id_expression): Likewise.
- (pop_to_parent_deferring_access_checks, perform_access_checks,
- perform_or_defer_access_check): Adjusted the call to enforce_access.
- * call.c (enforce_access): Use the new extra argument to build the
- error message.
- (build_op_delete_call): Adjusted the call to
- perform_or_defer_access_check.
- (build_over_call): Likewise.
-
-2006-11-16 Dirk Mueller <dmueller@suse.de>
-
- * name-lookup.c (begin_scope): Use GGC_CNEW instead of
- GGC_NEW and memset.
-
-2006-11-13 Roger Sayle <roger@eyesopen.com>
-
- * rtti.c (get_pseudo_ti_init): Ensure that the offset field of the
- base type info initializer has the correct type.
-
-2006-11-13 Mark Mitchell <mark@codesourcery.com>
-
- PR c++/29518
- * pt.c (coerce_template_parms): Do not skip_evaluation while
- substituting template arguments.
-
-2006-11-11 Richard Guenther <rguenther@suse.de>
-
- * typeck.c (build_unary_op): Remove handling of FIX_CEIL_EXPR,
- FIX_FLOOR_EXPR and FIX_ROUND_EXPR.
-
-2006-11-03 Roger Sayle <roger@eyesopen.com>
-
- * call.c (build_op_delete_call): Test user-visible type against
- size_type_node, instead of against the internal type, sizetype.
- * class.c (type_requires_array_cookie): Likewise.
- * mangle.c (write_builtin_type) <INTEGER_TYPE>: Remove special
- handling of TYPE_IS_SIZETYPE.
- * typeck.c (type_after_usual_arithmetic_conversions): Remove
- special case handling of TYPE_IS_SIZETYPE.
- (comptypes): Likewise.
-
-2006-11-01 Danny Smith <dannysmith@users.sourceforge.net>
-
- * decl.c (get_atexit_node): Reference atexit, not __cxa_exit.
- if targetm.cxx.use_atexit_for cxa_atexit.
- (start_cleanup_fn): Likewise.
- (register_dtor_fn): Likewise.
-
-2006-09-25 Geoffrey Keating <geoffk@apple.com>
-
- * decl2.c (cp_write_global_declarations): Rename from
- cp_finish_file.
- * cp-lang.c (finish_file): Don't call cp_finish_file.
- * cp-tree.h (cp_write_global_declarations): Rename from
- cp_finish_file.
- * cp-objcp-common.h (LANG_HOOKS_WRITE_GLOBALS): Define to
- cp_write_global_declarations.
-
-2006-10-31 Geoffrey Keating <geoffk@apple.com>
-
- * name-lookup.c (get_anonymous_namespace_name): New.
- (push_namespace_with_attribs): Use get_anonymous_namespace_name.
- * decl2.c (start_objects): Update for rename of
- get_file_function_name_long.
-
-2006-10-30 Dirk Mueller <dmueller@suse.de>
-
- PR c++/28704
- * decl.c (grokdeclarator): Duplicate diagnostic message
- for easier translation.
- * decl.c (grokdeclarator): Fix line-wrapping.
-
-2006-10-30 Dirk Mueller <dmueller@suse.de>
-
- PR c++/6321
- * decl.c (grokfndecl): Use check_main_parameter_types.
-
-2006-10-30 Dirk Mueller <dmueller@suse.de>
-
- PR c++/28669
- * decl.c (grokfndecl): Duplicate warning message for
- easier translation.
-
-2006-10-30 Dirk Mueller <dmueller@suse.de>
-
- * typeck.c (build_unary_op): Fix indenting. Use G_().
The results can be reproduced by building a compiler with
--enable-gather-detailed-mem-stats targetting x86-64
and compiling preprocessed combine.c or testcase from PR8632 with:
-fmem-report --param=ggc-min-heapsize=1024 --param=ggc-min-expand=1 -Ox -Q
The memory consumption summary appears in the dump after detailed listing
of the places they are allocated in. Peak memory consumption is actually
computed by looking for maximal value in {GC XXXX -> YYYY} report.
Your testing script.
More information about the Gcc-regression
mailing list