OSDN Git Service

2007-11-26 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 670c0ac..d475e40 100644 (file)
@@ -1,3 +1,120 @@
+2007-11-26  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
+
+       PR c/23722
+       * c-parser.c (struct c_parser): New bit in_if_block.
+       (c_parser_compound_statement_nostart): Handle unexpected 'else'
+       keyword.
+       (c_parser_statement_after_labels): Set in_if_block to false while
+       parsing.
+       (c_parser_if_body): Don't call c_parser_statement_after_labels if
+       a semicolon is found, just consume it. Don't call
+       c_parser_statement_after_labels if an open brace is found, call
+       c_parser_compound_statement instead.
+       (c_parser_else_body): New.
+       (c_parser_if_statement): Set in_if_block to true when parsing the
+       body of the 'if' statement. Use c_parser_else_body.
+
+2007-11-26  Andreas Krebbel  <krebbel1@de.ibm.com>
+
+       PR 34081/C++
+       * c-decl.c (store_parm_decls): Pass 'false' for the new
+       allocate_struct_function parameter.
+       * cgraphunit.c (cgraph_build_static_cdtor): Likewise.
+       * tree-parloops.c (create_loop_fn): Likewise.
+       * function.c (push_function_context_to, push_struct_function,
+       init_function_start): Likewise.
+       (allocate_struct_function): Add boolean parameter.
+       * tree.h (allocate_struct_function): Add boolean parameter.
+       * function.h (struct function): Move returns_struct and
+       returns_pcc_struct to the end of the structure definiton.
+
+2007-11-26  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/34215
+       * config/i386/i386.md (truncdfsf2): Select SLOT_TEMP stack slot if
+       virtual registers are instantiated.
+       (truncxf<mode>2): Ditto.
+       (floatsi<mode>2): Ditto.
+       (floatdisf2): Ditto.
+       (floatdidf2): Ditto.
+
+2007-11-26  Rask Ingemann Lambertsen  <rask@sygehus.dk>
+
+       PR target/34174
+       * config/fr30/fr30.c (fr30_move_double): Sanitize mem->reg case. Copy
+       the address before it is clobbered.
+
+2007-11-26  Nick Clifton  <nickc@redhat.com>
+
+       * config/mn10300/mn10300.md: (call_internal): Remove mode on
+       operand 0 in order to match UNPSEC'ed calls generated in PIC mode.
+        (call_value_internal): Remove mode on operands 0 and 1 in order to
+       match UNPSEC'ed calls generated in PIC mode.
+        (GOTaddr2picreg): Use copy_rtx to prevent sharing an rtx between
+       two insns.
+
+2007-11-26  Richard Guenther  <rguenther@suse.de>
+
+       PR middle-end/34233
+       * builtins.c (expand_builtin_pow): Use expand_expr to expand
+       the result of build_call_expr.
+
+2007-11-26  Steven Bosscher  <stevenb.gcc@gmail.com> 
+           Revital Eres  <eres@il.ibm.com> 
+
+       PR middle-end/34085
+       * bb-reorder.c (insert_section_boundary_note): Clear
+       BLOCK_FOR_INSN in NOTE_INSN_SWITCH_TEXT_SECTIONS.
+
+2007-11-26  Richard Sandiford  <rsandifo@nildram.co.uk>
+
+       * config/mips/elfoabi.h (DRIVER_SELF_SPECS): Add missing comma.
+
+2007-11-26  Alexandre Oliva  <aoliva@redhat.com>
+
+       * dwarf2asm.c (splay_tree_compare_strings): New function.
+       (dw2_force_const_mem): Use it.
+
+2007-11-26  Alexandre Oliva  <aoliva@redhat.com>
+
+       * tree.c (type_hash_add): Don't violate strict aliasing rules.
+
+2007-11-26  Alexandre Oliva  <aoliva@redhat.com>
+
+       PR c/27898
+       * c-typeck.c (tagged_types_tu_compatible_p): Enable exact
+       matches between anonymous union fields.
+
+2007-11-26  Alexandre Oliva  <aoliva@redhat.com>, Jan Hubicka  <jh@suse.cz>
+
+       * tree-ssa-live.c (remove_unused_scope_block_p): Drop
+       declarations and blocks only after inlining.  Check that
+       non-empty blocks are not dropped.
+       * tree-inline.c (expand_call_inline): Check that functions are
+       not inlined too late.
+
+2007-11-26  Ben Elliston  <bje@au.ibm.com>
+
+       * unwind-dw2-fde.c: Fix comment typo.
+       * unwind-generic.h: Likewise, fix comment typos.
+       
+2007-11-25  Richard Sandiford  <rsandifo@nildram.co.uk>
+
+       * tree-sra.c (scalarize_use): Adjust the vpos argument to
+       sra_explode_bitfield_assignment in cases where the type is
+       wider than the bitfield.
+
+2007-11-25  Richard Guenther  <rguenther@suse.de>
+
+       * tree.h (struct tree_block): Move locus member next to flags.
+       * c-decl.c (SCOPE_LIST_APPEND): Use BLOCK_CHAIN.
+       (SCOPE_LIST_CONCAT): Likewise.
+       (pop_scope): Likewise.
+       * function.c (instantiate_decls_1): Likewise.
+       (setjmp_vars_warning): Likewise.
+       * emit-rtl.c (set_used_decls): Likewise.
+       * tree-inline.c (add_lexical_block): Likewise.
+
 2007-11-24  Hans-Peter Nilsson  <hp@axis.com>
 
        * rtlanal.c (label_is_jump_target_p): Return true for a matching
        register that dies there.
 
 2007-11-23  Dirk Mueller  <dmueller@suse.de>
-       Richard Guenther <rguenther@suse.de>
+           Richard Guenther <rguenther@suse.de>
 
        PR middle-end/34197
        * tree-vrp.c (check_array_ref): Move check for valid location..
        outer_code.
 
 2007-11-23  Richard Guenther  <rguenther@suse.de>
-       Michael Matz  <matz@suse.de>
+           Michael Matz  <matz@suse.de>
 
        PR tree-optimization/34176
        * alloc-pool.h (empty_alloc_pool): Declare.
 
 2007-11-23  Richard Guenther  <rguenther@suse.de>
 
-       * tree-ssa-copy.c (may_propagate_copy): Remove redundant
-       checks.
+       * tree-ssa-copy.c (may_propagate_copy): Remove redundant checks.
        (merge_alias_info): Do verification only if checking is
-       enabled.  Merge flow-sensitive alias information in simple
-       cases.
+       enabled.  Merge flow-sensitive alias information in simple cases.
        * tree-ssa-operands.c (get_addr_dereference_operands): Also
        complain about missing NMTs.
 
 
 2007-11-22  Kaz Kojima  <kkojima@gcc.gnu.org>
 
-       * config/sh/sh.md (divsi_inv_m3): Handle zero dividend
-       specially.
+       * config/sh/sh.md (divsi_inv_m3): Handle zero dividend specially.
 
 2007-11-22  Uros Bizjak  <ubizjak@gmail.com>