- 03 Nov, 2007 1 commit
-
-
From-SVN: r129866
GCC Administrator committed
-
- 02 Nov, 2007 16 commits
-
-
PR middle-end/33670 * haifa-sched.c (ok_for_early_queue_removal): Don't walk out of the current sched region. * gcc.dg/pr33670.c: New test. From-SVN: r129863
Jakub Jelinek committed -
PR c++/33516 * parser.c (cp_parser_nested_name_specifier_opt): Use TYPE_MAIN_VARIANT (new_scope) as scope if new_scope is an incomplete typedef of currently open class. * g++.dg/lookup/typedef1.C: New test. From-SVN: r129862
Jakub Jelinek committed -
* config/ia64/ia64.c (struct reg_write_state): Change into unsigned short bitfields rather than unsigned int, decrease first_pred to just 10 bits. (rws_insn): Change into a bitmap or if not ENABLE_CHECKING into two char array. (rws_insn_set, rws_insn_test): New functions. (in_safe_group_barrier): New variable. (rws_update): Remove first argument, always set rws_sum array. (rws_access_regno): Use rws_insn_set macro. Only call rws_update or update rws_sum if !in_safe_group_barrier, adjust rws_update args. (rtx_needs_barrier): Use rws_insn_test macro. (safe_group_barrier_needed): Don't save/restore rws_sum array, instead set/clear in_safe_group_barrier flag. From-SVN: r129861
Jakub Jelinek committed -
PR java/33765: * jcf-parse.c (java_parse_file): Ignore ZIPEMPTYMAGIC files. * zipfile.h (ZIPEMPTYMAGIC): New define. From-SVN: r129860
Tom Tromey committed -
re PR testsuite/32076 ("gcc.dg/tree-ssa/pr17141-1.c scan-tree-dump locp.*->i =" is the same name twice) PR testsuite/32076 * lib/scandump.exp (dump-suffix): New. (scan-dump, scan-dump-times, scan-dump-dem, scan-dump-dem-not): Include dump suffix in pass/fail messages, put regexp in quotes. From-SVN: r129858
Janis Johnson committed -
From-SVN: r129857
Francois-Xavier Coudert committed -
xtensa.c (xtensa_expand_prologue): Put a REG_FRAME_RELATED_EXPR note on the last insn that sets up the stack... * config/xtensa/xtensa.c (xtensa_expand_prologue): Put a REG_FRAME_RELATED_EXPR note on the last insn that sets up the stack pointer or frame pointer. * config/xtensa/xtensa.h (DWARF_UNWIND_INFO): Delete. (MUST_USE_SJLJ_EXCEPTIONS): Define. (DWARF2_UNWIND_INFO): Define. (INCOMING_RETURN_ADDR_RTX): Define. (DWARF_FRAME_RETURN_COLUMN): Define. From-SVN: r129854
Bob Wilson committed -
2007-11-02 Paolo Carlini <pcarlini@suse.de> * include/bits/stl_algo.h (minmax, minmax_element): Add. * include/bits/algorithmfwd.h: Update. * testsuite/25_algorithms/minmax/requirements/ explicit_instantiation/2.cc: New. * testsuite/25_algorithms/minmax/requirements/ explicit_instantiation/pod.cc: Likewise. * testsuite/25_algorithms/minmax/1.cc: Likewise. * testsuite/25_algorithms/minmax_element/check_type.cc: Likewise. * testsuite/25_algorithms/minmax_element/requirements/ explicit_instantiation/2.cc: Likewise. * testsuite/25_algorithms/minmax_element/requirements/ explicit_instantiation/pod.cc: Likewise. * testsuite/25_algorithms/minmax_element/1.cc: Likewise. * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update. From-SVN: r129853
Paolo Carlini committed -
re PR libstdc++/33892 ([libstdc++ v3 parallel mode] Parallel mode algorithms use critical sections with global scope) 2007-11-02 Johannes Singler <singler@ira.uka.de> PR libstdc++/33892 * include/parallel/workstealing.h: Replaced pragma by function call lock. * include/parallel/search.h: Same * include/parallel/partition.h: Same * include/parallel/find.h: Same From-SVN: r129852
Johannes Singler committed -
* varpool.c (dump_varpool): Use 'next', not 'next_needed' when traversing pool. From-SVN: r129851
Tom Tromey committed -
2007-11-02 Paolo Carlini <pcarlini@suse.de> PR c++/33495 * error.c (dump_expr): Deal specially with statements. 2007-11-02 Paolo Carlini <pcarlini@suse.de> PR c++/33495 * g++.dg/other/error19.C: New. From-SVN: r129850
Paolo Carlini committed -
PR rtl-optimization/28062 * gcc.c-torture/compile/20071102-1.c: New test. From-SVN: r129846
Eric Botcazou committed -
langhooks.h (struct lang_hooks_for_callgraph): Remove third argument from function pointer ANALYZE_EXPR. * langhooks.h (struct lang_hooks_for_callgraph): Remove third argument from function pointer ANALYZE_EXPR. Update all users. * cgraph.c (debug_cgraph_node): New. (debug_cgraph): New. From-SVN: r129845
Diego Novillo committed -
PR c++/30897 * pt.c (push_template_decl_real): Set DECL_CONTEXT on template template parms. (lookup_template_class): Use it to get the outer template args for instantiating one. PR c++/29236 * pt.c (reduce_template_parm_level): tsubst the parameters of a template template parm. From-SVN: r129844
Jason Merrill committed -
re PR c++/33955 (internal compiler error: in dependent_type_p, at cp/pt.c:15245 (vararg template problem)) 2007-11-01 Douglas Gregor <doug.gregor@gmail.com> PR c++/33955 * pt.c (find_parameter_packs_r): Handle TYPENAME_TYPE. 2007-11-01 Douglas Gregor <doug.gregor@gmail.com> * g++.dg/cpp0x/pr33955.C: New. From-SVN: r129843
Douglas Gregor committed -
From-SVN: r129841
GCC Administrator committed
-
- 01 Nov, 2007 23 commits
-
-
PR preprocessor/30805: * gcc.dg/cpp/pr30805.c: Use -std=gnu89. From-SVN: r129838
Tom Tromey committed -
re PR rtl-optimization/33648 (ICE in verify_flow_info for -fmodulo-sched -freorder-blocks-and-partition) PR rtl-optimization/33648 * cfgrtl.c (cfg_layout_split_edge): Initialize BB_PARTITION of the newly created basic block. * gcc.dg/pr33648.c: New test. From-SVN: r129837
Jakub Jelinek committed -
PR c++/32384 * parser.c (cp_parser_postfix_dot_deref_expression): If POSTFIX_EXPRESSION is type dependent, try to parse it as pseudo dtor first and if that succeeds and type is SCALAR_TYPE_P, create PSEUDO_DTOR_EXPR. * g++.dg/template/pseudodtor1.C: New test. * g++.dg/template/pseudodtor2.C: New test. From-SVN: r129836
Jakub Jelinek committed -
re PR c++/32260 (too many warning: dereferencing type-punned pointer will break strict-aliasing rules) PR c++/32260 * rtti.c (enum_tinfo_kind): Fix TK_TYPE_INFO_TYPE comment. (typeid_ok_p): Use the same alias set for abi::__type_info_pseudo as for std::type_info. * g++.dg/rtti/typeid7.C: New test. From-SVN: r129835
Jakub Jelinek committed -
2007-11-01 Richard Guenther <rguenther@suse.de> * ggc-page.c (extra_order_size_tab): Add bitmap_head size. From-SVN: r129833
Richard Guenther committed -
PR rtl-optimization/33828 * gcse.c (compute_code_hoist_vbeinout): Fix order of computation of VBEIN and VBEOUT. From-SVN: r129832
Steven Bosscher committed -
* optabs.c (prepare_cmp_insn): Merge a couple of conditional blocks. * sched-rgn.c (compute_trg_info): Zero 'el' local variable. * tree-if-conv.c (process_phi_nodes): Zero 'cond' local variable. From-SVN: r129830
Eric Botcazou committed -
* Make-lang.in (java/jcf-dump.o): Depend on zipfile.h. (java/jcf-parse.o): Depend on jcf-reader.c, zipfile.h, and jcf.h. (java/jcf-io.o): Depend on zipfile.h. From-SVN: r129829
Tom Tromey committed -
libcpp PR preprocessor/30805: * macro.c (paste_tokens): Handle padding token. (paste_tokens): Don't abort unless padding has PASTE_LEFT flag. gcc/testsuite PR preprocessor/30805: * gcc.dg/cpp/pr30805.c: New file. From-SVN: r129827
Tom Tromey committed -
* lang-specs.h: Move translation of -fRTS= after -gnatez switch. From-SVN: r129826
Eric Botcazou committed -
* gcc.c (getenv_spec_function): Escape the environment variable's value. From-SVN: r129825
Nathan Sidwell committed -
invoke.texi (Optimize Options): Under -fcse-follow-jumps, show that CSE means common subexpression elimination. * doc/invoke.texi (Optimize Options): Under -fcse-follow-jumps, show that CSE means common subexpression elimination. Change wording for -fsee and define LCM. Remove capitalization of optimizations for -ftree-reassoc, -ftree-pre, and -ftree-fre. From-SVN: r129824
Janis Johnson committed -
gcc/ PR testsuite/25352 * doc/sourcebuild.texi (Test Directives): Document that xfail has no effect for dg-do except when dg-do-what is "run". libstdc++-v3/ PR testsuite/25352 * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc: Remove xfail from dg-do and add dg-skip-if. gcc/testsuite/ PR testsuite/25352 * gcc.c-torture/compile/20000804-1.c: Remove xfail from dg-do and add dg-skip-if. * gcc.c-torture/compile/20001205-1.c: Ditto. * gcc.c-torture/compile/20001226-1.c: Ditto. * gcc.c-torture/compile/20020312-1.c: Ditto. * gcc.c-torture/compile/20020604-1.c: Ditto. * gcc.c-torture/compile/920501-12.c: Ditto. * gcc.c-torture/compile/920501-4.c: Ditto. * gcc.c-torture/compile/920520-1.c: Ditto. * gcc.c-torture/compile/980506-1.c: Ditto. * gcc.c-torture/compile/990617-1.c: Ditto. * gcc.dg/compare6.c: Ditto. * g++.old-deja/g++.brendan/crash43.C: Ditto. * g++.old-deja/g++.brendan/synth1.C: Ditto. * g++.old-deja/g++.oliva/dwarf2.C: Ditto. * g++.old-deja/g++.oliva/dwarf3.C: Ditto. * g++.old-deja/g++.pt/static6.C: Ditto. * g++.old-deja/g++.pt/crash16.C: Ditto. * g++.old-deja/g++.mike/p10416.C: Ditto. * g++.old-deja/g++.mike/ns15.C: Ditto. * g++.old-deja/g++.mike/eh46.C: Ditto. From-SVN: r129823
Janis Johnson committed -
gcc * c-decl.c (grokdeclarator): Set decl source locations. * c-parser.c (c_parser_enum_specifier): Set location. (c_parser_struct_or_union_specifier): Likewise. gcc/testsuite * gcc.dg/redecl-1.c: Update. * gcc.dg/pr20368-3.c: Update. * gcc.dg/inline-14.c: Update. * gcc.dg/builtins-30.c: Update. * gcc.dg/dremf-type-compat-4.c: Update. * gcc.dg/pr20368-2.c: Update. From-SVN: r129822
Tom Tromey committed -
From-SVN: r129821
Tom Tromey committed -
PR debug/33537 * dwarf2out.c (gen_formal_parameter_die, gen_variable_die, gen_decl_die): Use TREE_TYPE (TREE_TYPE (decl)) as type rather than TREE_TYPE (decl) if DECL_BY_REFERENCE (decl). From-SVN: r129820
Jakub Jelinek committed -
re PR rtl-optimization/33673 (ICE in verify_flow_info, missing barrier, when multiple tree opts disabled) PR rtl-optimization/33673 * gcse.c (cprop_jump): If a conditional jump has been optimized into unconditional jump, make the remaining normal edge fallthru and delete the jump insn. * gcc.dg/pr33673.c: New test. From-SVN: r129819
Jakub Jelinek committed -
* emit-rtl.c (set_reg_attrs_from_mem): Clarify function comment. (set_mem_attrs_from_reg): Likewise. From-SVN: r129818
Ben Elliston committed -
PR tree-optimization/33961 * tree-ssa-phiopt.c (struct name_to_bb.store): New member. (name_to_bb_hash, name_to_bb_eq): Consider and check it. (add_or_mark_expr): New argument 'store', using it to search the hash table. (nt_init_block): Adjust calls to add_or_mark_expr. * gcc.dg/pr33961.c: New test. From-SVN: r129817
Michael Matz committed -
/cp 2007-10-31 Paolo Carlini <pcarlini@suse.de> PR c++/33494 * cxx-pretty-print.c (pp_cxx_typeid_expression, pp_cxx_delete_expression): Change to static linkage. * cxx-pretty-print.h: Adjust declarations. * error.c (dump_expr, case EXPR_PACK_EXPANSION, TYPEID_EXPR, MEMBER_REF, DOTSTAR_EXPR, DELETE_EXPR, VEC_DELETE_EXPR, MODOP_EXPR): Forward to pp_expression. * cxx-pretty-print.c (pp_cxx_expression, case NON_DEPENDENT_EXPR): Fix typo. /testsuite 2007-10-31 Paolo Carlini <pcarlini@suse.de> PR c++/33494 * g++.dg/template/error35.C: New. From-SVN: r129816
Paolo Carlini committed -
/cp 2007-10-31 Paolo Carlini <pcarlini@suse.de> PR c++/33494 * cxx-pretty-print.c (pp_cxx_typeid_expression, pp_cxx_delete_expression): Change to static linkage. * cxx-pretty-print.h: Adjust declarations. * error.c (dump_expr, case EXPR_PACK_EXPANSION, TYPEID_EXPR, MEMBER_REF, DOTSTAR_EXPR, DELETE_EXPR, VEC_DELETE_EXPR, MODOP_EXPR): Forward to pp_expression. * cxx-pretty-print.c (pp_cxx_expression, case NON_DEPENDENT_EXPR): Fix typo. /testsuite 2007-10-31 Paolo Carlini <pcarlini@suse.de> PR c++/33494 * g++.dg/template/error35.C: New. From-SVN: r129815
Paolo Carlini committed -
2007-10-31 Paolo Carlini <pcarlini@suse.de> * include/bits/stl_queue.h (queue<>::push(value_type&&)): Replace with "emplace" version per DR 756. (priority_queue<>::push(value_type&&)): Likewise. * include/bits/stl_stack.h (stack<>::push(value_type&&)): Likewise. From-SVN: r129814
Paolo Carlini committed -
From-SVN: r129811
GCC Administrator committed
-