OSDN Git Service

pf3gnuchains/gcc-fork.git
13 years ago * gfortran.dg/init_flag_3.f90: Add -mieee for sh.
kkojima [Tue, 25 Sep 2007 08:01:42 +0000 (08:01 +0000)]
* gfortran.dg/init_flag_3.f90: Add -mieee for sh.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128745 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * config/mmix/mmix.h (FUNCTION_INCOMING_ARG_REGNO_P): Don't define
hp [Tue, 25 Sep 2007 02:18:37 +0000 (02:18 +0000)]
* config/mmix/mmix.h (FUNCTION_INCOMING_ARG_REGNO_P): Don't define
bogus target macro.
(INCOMING_REGNO, OUTGOING_REGNO): Define.
* config/mmix/mmix.c (mmix_opposite_regno): New function.
* config/mmix/mmix-protos.h (mmix_opposite_regno): Prototype.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128744 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * config/mmix/mmix.md ("*cmpcc_folded"): In condition, gate
hp [Tue, 25 Sep 2007 02:01:24 +0000 (02:01 +0000)]
* config/mmix/mmix.md ("*cmpcc_folded"): In condition, gate
with REG_P tests before REGNO access.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128743 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoPR target/31482
dj [Tue, 25 Sep 2007 01:42:34 +0000 (01:42 +0000)]
PR target/31482
* config/m32c/cond.md (stzx_reversed_<mode>): Add an output
constraint.
(movqicc_<code>_<mode>): Likewise.
(movhicc_<code>_<mode>): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128742 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2007-08-26 Rask Ingemann Lambertsen <rask@sygehus.dk>
dj [Tue, 25 Sep 2007 01:40:30 +0000 (01:40 +0000)]
2007-08-26  Rask Ingemann Lambertsen  <rask@sygehus.dk>
PR target/33184
* config/m32c/m32c.c (m32c_eh_return_data_regno): Leave an address
register for reload.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128741 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR c++/14688
dannysmith [Tue, 25 Sep 2007 00:29:42 +0000 (00:29 +0000)]
PR c++/14688
* config/i386/i386.c (ix86_comp_type_attributes): Check
METHOD_TYPE too.

cp
* search.c (check_final_overrider): Fail if
targetm.comp_type_attributes returns 0.

testsuite
* g++.dg/inherit/override_attribs.C: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128740 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoDaily bump.
gccadmin [Tue, 25 Sep 2007 00:17:13 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128738 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoPR fortran/33269
tobi [Mon, 24 Sep 2007 21:15:00 +0000 (21:15 +0000)]
PR fortran/33269
fortran/
* io.c (check_format_string): Move NULL and constant checks into
this function.
(check_io_constraints): Call gfc_simplify_expr() before calling
check_format_string().  Remove NULL and constant checks.
testsuite/
* gfortran.dg/fmt_error_2.f90: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128732 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * gcc.c-torture/execute/loop-2f.x: New. Disable test for m68k-linux.
zippel [Mon, 24 Sep 2007 21:10:14 +0000 (21:10 +0000)]
* gcc.c-torture/execute/loop-2f.x: New. Disable test for m68k-linux.
* gcc.c-torture/execute/loop-2g.x: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128731 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * config/m68k/m68k.h (ASM_OUTPUT_ALIGN_WITH_NOP): New, use
zippel [Mon, 24 Sep 2007 21:07:08 +0000 (21:07 +0000)]
* config/m68k/m68k.h (ASM_OUTPUT_ALIGN_WITH_NOP): New, use
"move.l %a4,%a4" to produce nops.
* config/m68k/m68k.c (override_options): Reset align options,
if neccessary align macro isn't avaible.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128730 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago config/m68k/linux.h (PREFERRED_STACK_BOUNDARY): New.
zippel [Mon, 24 Sep 2007 21:05:07 +0000 (21:05 +0000)]
config/m68k/linux.h (PREFERRED_STACK_BOUNDARY): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128729 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * config/m68k/m68k.c (strict_low_part_peephole_ok): Don't leave
zippel [Mon, 24 Sep 2007 21:02:40 +0000 (21:02 +0000)]
* config/m68k/m68k.c (strict_low_part_peephole_ok): Don't leave
the basic block.
* config/m68k/m68k.md (movsi_m68k): Allow certain constant when
reload is completed.
(peephole pattern): Convert most of them to RTL peephole pattern.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128728 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * config/m68k/m68k.c (notice_update_cc): Recognize fp compare
zippel [Mon, 24 Sep 2007 21:00:22 +0000 (21:00 +0000)]
* config/m68k/m68k.c (notice_update_cc): Recognize fp compare
(moved from fp compare patterns).
* config/m68k/m68k.md (cmp<mode>, cmp<mode>_68881, cmp<mode>_cf):
Cleanup predicates to relieve reload.
(conditional_trap): Reject conditional trap with fp condition.
* gcc/config/m68k/predicates.md (fp_src_operand): New, reject
certain constants early.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128727 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * gcc/final.c (final_scan_insn): Remove accidentally duplicated code.
zippel [Mon, 24 Sep 2007 20:57:06 +0000 (20:57 +0000)]
* gcc/final.c (final_scan_insn): Remove accidentally duplicated code.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128726 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR c++/33239
jason [Mon, 24 Sep 2007 20:54:34 +0000 (20:54 +0000)]
    PR c++/33239
        * pt.c (resolve_typename_type): Don't look things up in the original
        template if it would mean losing template arguments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128725 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR fortran/33538
fxcoudert [Mon, 24 Sep 2007 20:24:11 +0000 (20:24 +0000)]
PR fortran/33538
* scanner.c, parse.c, gfortran.h: Revert revision 128671.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128724 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agogcc/testsuite/
rsandifo [Mon, 24 Sep 2007 19:57:29 +0000 (19:57 +0000)]
gcc/testsuite/
* lib/target-supports.exp (check_effective_target_mips16_attribute):
Reject hard-float modes unless the ABI is o32 or o64.
* gcc.target/mips/inter/mips16-inter.exp: Load gcc-dg.exp instead
of gcc.exp.  Skip the tests when mips16 code generation is not
supported.
* gcc.target/mips/mips16-attributes.c: Require mips16_attribute
and use dg-add-options mips16_attribute.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128723 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2007-09-24 Andrew Pinski <andrew_pinski@playstation.sony.com>
pinskia [Mon, 24 Sep 2007 17:15:50 +0000 (17:15 +0000)]
2007-09-24  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        * config.gcc (powerpc*-*-*): --with-cpu=cell is a 64bit CPU.
        Allow --with-tune=cell and --with-cpu=cell.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128721 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * MAINTAINERS (Register allocation reviewer): Add myself.
bergner [Mon, 24 Sep 2007 16:55:40 +0000 (16:55 +0000)]
* MAINTAINERS (Register allocation reviewer): Add myself.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128720 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * config/rs6000/rs6000-protos.h (rs6000_emit_swrsqrtsf): Declare.
dje [Mon, 24 Sep 2007 15:39:18 +0000 (15:39 +0000)]
* config/rs6000/rs6000-protos.h (rs6000_emit_swrsqrtsf): Declare.
* config/rs6000/rs6000.opt (swdiv): Change option to ...
(recip): this.
* config/rs6000/rs6000.c (rs6000_builtin_reciprocal): New
function.
(TARGET_BUILTIN_RECIPROCAL): Use it.
(rs6000_builtin_expand): Expand recip, recipf, and rsqrtf.
(rs6000_init_builtins): Initialize recip, recipf, and rsqrtf.
(rs6000_emit_swrsqrtsf): New.
* config/rs6000/rs6000.h (rs6000_builtins): Add recip, recipf, and
rsqrtf.
* config/rs6000/rs6000.md (UNSPEC_RSQRT): Define.
(divsf3): Remove swdiv support.
(recipsf3): New.
(rsqrtsf2): New.
(rsqrt_internal1): New.
(divdf3): Remove swdiv support.
(reciptdf3): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128719 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR c++/33506
jakub [Mon, 24 Sep 2007 15:16:23 +0000 (15:16 +0000)]
PR c++/33506
* langhooks.h (struct lang_hooks_for_types): Add type_hash_eq
field.
* langhooks-def.h (LANG_HOOKS_TYPE_HASH_EQ): Define.
(LANG_HOOKS_FOR_TYPES_INITIALIZER): Add LANG_HOOKS_TYPE_HASH_EQ.
* tree.c (type_hash_eq): For FUNCTION_TYPE use
lang_hooks.type.type_hash_eq in addition to generic tests.

* cp-tree.h (cxx_type_hash_eq): New prototype.
* cp-objcp-common.h (LANG_HOOKS_TYPE_HASH_EQ): Redefine.
* tree.c (cxx_type_hash_eq): New function.

* g++.dg/ext/attrib29.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128718 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2007-09-24 Douglas Gregor <doug.gregor@gmail.com>
dgregor [Mon, 24 Sep 2007 13:46:40 +0000 (13:46 +0000)]
2007-09-24  Douglas Gregor  <doug.gregor@gmail.com>

PR c++/33185
* tree.c (cp_build_qualified_type_real): Build a canonical
ARRAY_TYPE if the original ARRAY_TYPE was not a canonical type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128717 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2006-09-24 Kenneth Zadeck <zadeck@naturalbridge.com>
zadeck [Mon, 24 Sep 2007 13:42:39 +0000 (13:42 +0000)]
2006-09-24  Kenneth Zadeck <zadeck@naturalbridge.com>

    * MAINTAINERS (Register allocation reviewer): Add myself.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128716 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2007-09-24 Pranav Bhandarkar <pranav.bhandarkar@celunite.com>
rguenth [Mon, 24 Sep 2007 13:31:25 +0000 (13:31 +0000)]
2007-09-24  Pranav Bhandarkar  <pranav.bhandarkar@celunite.com>
        Ramana Radhakrishnan  <ramana@hercules.pun.celunite.com>

        * tree-inline.h (eni_weights): Add field target_builtin_cost to
        reflect the cost per call to a target specific builtin.
        * tree-inline.c (estimate_num_insns_1): If it is a CALL_EXPR for
        * a
        call to a target specific builtin, then use
target_builtin_call_cost.
        (init_inline_once): Initialize target_builtin_call_cost field.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128714 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * testsuite/ChangeLog: Fix whitespace.
uros [Mon, 24 Sep 2007 12:36:57 +0000 (12:36 +0000)]
* testsuite/ChangeLog: Fix whitespace.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128713 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * ChangeLog: Fix whitespace.
uros [Mon, 24 Sep 2007 12:35:14 +0000 (12:35 +0000)]
* ChangeLog: Fix whitespace.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128712 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2007-09-24 Douglas Gregor <doug.gregor@gmail.com>
dgregor [Mon, 24 Sep 2007 12:14:57 +0000 (12:14 +0000)]
2007-09-24  Douglas Gregor  <doug.gregor@gmail.com>

PR c++/33112
PR c++/33185
* tree.c (cplus_array_compare): Compare pointers, not types.
(build_cplus_array_type_1): Store new array type into the hash
table before building the canonical type; build the canonical type
correctly.
(cp_build_qualified_type_real): Put all of the array types with
cv-qualified element types into the C++ array hash table, built as
variants of the unqualified versions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128711 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago[patch][Bug middle-end/33472] ICE and invalid rtl sharing with complex on
ktietz [Mon, 24 Sep 2007 09:20:34 +0000 (09:20 +0000)]
[patch][Bug middle-end/33472] ICE and invalid rtl sharing with complex on
x86_64-mingw.

2007-09-24  Kai Tietz  <kai.tietz@onevision.com>

* i386.c: (return_in_memory_ms_64): Handle return types for complex types.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128710 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoDaily bump.
gccadmin [Mon, 24 Sep 2007 00:17:10 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128707 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2007-09-23 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sun, 23 Sep 2007 21:07:27 +0000 (21:07 +0000)]
2007-09-23  H.J. Lu  <hongjiu.lu@intel.com>

* configure.ac (ld_vers): Support GNU linker version xx.xx.*
* configure: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128702 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago gcc/
aaw [Sun, 23 Sep 2007 20:05:40 +0000 (20:05 +0000)]
gcc/
fold-const.c (fold_binary): Fold BIT_AND_EXPR's with a pointer operand.
(get_pointer_modulus_and_residue): New function.

gcc/testsuite/
gcc.dg/fold-bitand-1.c: New test.
gcc.dg/fold-bitand-2.c: New test.
gcc.dg/fold-bitand-3.c: New test.
gcc.dg/fold-bitand-4.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128701 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agogcc/
rsandifo [Sun, 23 Sep 2007 19:20:01 +0000 (19:20 +0000)]
gcc/
* config/mips/mips.c (build_mips16_call_stub): On 64-bit targets,
combine an SC return value into a single register.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128700 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agogcc/
rsandifo [Sun, 23 Sep 2007 19:18:27 +0000 (19:18 +0000)]
gcc/
* opth-gen.awk (target_flags_explicit): Declare.
* toplev.h (target_flags_explicit): Delete declaration.
* toplev.c (target_flags): Likewise.
* config/mips/mips.h (mips_llsc_setting, mips_llsc): Delete.
(GENERATE_SYNC, GENERATE_LL_SC): Redefine using target_explicit_flags.
Never return true for TARGET_MIPS16.
* config/mips/mips.c (mips_llsc): Delete.
(mips_handle_option): Remove -mllsc handling.
(mips_strip_unspec_address): Tweak comment.
* config/mips/mips.opt (mllsc): Use a target mask.

gcc/testsuite/
* gcc.target/mips/gcc-have-sync-compare-and-swap-1.c: Don't expect
any of the macros to be defined for __mips16.
* gcc.target/mips/gcc-have-sync-compare-and-swap-2.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128699 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agogcc/
rsandifo [Sun, 23 Sep 2007 19:11:50 +0000 (19:11 +0000)]
gcc/
* doc/tm.texi (POINTERS_EXTEND_UNSIGNED): Document extensions to
word_mode as well as Pmode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128698 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agogcc/testsuite/
rsandifo [Sun, 23 Sep 2007 19:09:56 +0000 (19:09 +0000)]
gcc/testsuite/
* gcc.dg/vect/pr21591.c: Require vect_int.
* gcc.dg/vect/vect-outer-2.c: Require vect_intfloat_cvt.
* gcc.dg/vect/vect-outer-2a.c: Likewise.
* gcc.dg/vect/vect-outer-2c.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128697 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agogcc/
rsandifo [Sun, 23 Sep 2007 19:08:56 +0000 (19:08 +0000)]
gcc/
* function.c (assign_parm_setup_block): Explicitly convert BLKmode
parameters from word_mode to the subword type if such a truncation
is not a no-op.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128696 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * configure.ac (MAKEINFO): Handle makeinfo version 4.10 and above.
jakub [Sun, 23 Sep 2007 17:42:31 +0000 (17:42 +0000)]
* configure.ac (MAKEINFO): Handle makeinfo version 4.10 and above.
* configure: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128693 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * params.def (INLINE_CALL_COST): Set to 12.
hubicka [Sun, 23 Sep 2007 15:42:06 +0000 (15:42 +0000)]
* params.def (INLINE_CALL_COST): Set to 12.
* invoke.texi (inline-call-cost): Update default value.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128692 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR c++/16370
jason [Sun, 23 Sep 2007 15:27:10 +0000 (15:27 +0000)]
    PR c++/16370
        * decl.c (grokdeclarator): Look through implicit TYPE_DECLs
        for deprecation warnings.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128691 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * config/alpha/alpha.md (movti): Use operand_subword for the split.
ebotcazou [Sun, 23 Sep 2007 14:53:06 +0000 (14:53 +0000)]
* config/alpha/alpha.md (movti): Use operand_subword for the split.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128690 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoMinor cosmetic change
revitale [Sun, 23 Sep 2007 11:58:19 +0000 (11:58 +0000)]
Minor cosmetic change

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128689 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR tree-optimization/32772
jakub [Sun, 23 Sep 2007 09:44:23 +0000 (09:44 +0000)]
PR tree-optimization/32772
* gcc.c-torture/compile/20070905-1.c: New test.

PR tree-optimization/32975
* gcc.dg/pr32975.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128688 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * expr.c (expand_expr_real_1) <case CALL_EXPR>: Use get_callee_fndecl
jakub [Sun, 23 Sep 2007 09:39:39 +0000 (09:39 +0000)]
* expr.c (expand_expr_real_1) <case CALL_EXPR>: Use get_callee_fndecl
instead of checking CALL_EXPR_FN directly to test for builtins.
If error or warning attributes are present, print
error resp. warning.
* c-common.c (handle_error_attribute): New function.
(c_common_attribute_table): Add error and warning
attributes.
* doc/extend.texi: Document error and warning attributes.

* gcc.dg/va-arg-pack-len-1.c: Use error and warning
attributes.
* gcc.dg/va-arg-pack-len-2.c: New test.
* g++.dg/ext/va-arg-pack-len-1.C: Use error and warning
attributes.
* g++.dg/ext/va-arg-pack-len-2.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128687 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * tree.h (block_nonartificial_location): New prototype.
jakub [Sun, 23 Sep 2007 09:36:01 +0000 (09:36 +0000)]
* tree.h (block_nonartificial_location): New prototype.
* tree.c (block_nonartificial_location): New function.
* dwarf2out.c (gen_subprogram_die): Add DW_AT_artificial
if artificial attribute is present on abstract inline decl.
* c-common.c (handle_artificial_attribute): New function.
(c_common_attribute_table): Add artificial attribute.
* final.c (override_filename, override_linenum): New variables.
(final_scan_insn): For DBX_DEBUG or SDB_DEBUG, set override_filename
and override_linenum if inside of a block inlined from
__attribute__((__artificial__)) function.
(notice_source_line): Honor override_filename and override_linenum.
* doc/extend.texi: Document __attribute__((__artificial__)).
* config/i386/emmintrin.h: Add __artificial__ attribute to
all __always_inline__ functions.
* config/i386/mmintrin.h: Likewise.
* config/i386/tmmintrin.h: Likewise.
* config/i386/mm3dnow.h: Likewise.
* config/i386/pmmintrin.h: Likewise.
* config/i386/ammintrin.h: Likewise.
* config/i386/xmmintrin.h: Likewise.
* config/i386/smmintrin.h: Likewise.
* config/i386/bmmintrin.h: Likewise.
* config/i386/mmintrin-common.h: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128686 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR middle-end/28755
jakub [Sun, 23 Sep 2007 09:34:28 +0000 (09:34 +0000)]
PR middle-end/28755
* expr.c (expand_constructor): New function.
(expand_expr_real_1) <case CONSTRUCTOR>: Call it.
(expand_expr_real_1) <case ARRAY_REF>: Call it if VALUE is
CONSTRUCTOR.

* gcc.dg/pr28755.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128685 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agogcc/
rsandifo [Sun, 23 Sep 2007 09:29:02 +0000 (09:29 +0000)]
gcc/
* config/mips/mips.c (dump_constants_1): Generalize to include
fractional and accumulator modes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128684 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agogcc/
rsandifo [Sun, 23 Sep 2007 09:24:21 +0000 (09:24 +0000)]
gcc/
* config/mips/mips.h (ISA_HAS_DSP, ISA_HAS_DSPR2): New macros.
* config/mips/mips.c (mips_set_mips16_mode): Don't clear the DSP
flags for MIPS16.
(override_options): Check TARGET_HARD_FLOAT_ABI instead of
TARGET_HARD_FLOAT when testing whether -mpaired-single is
supported.
(mips_conditional_register_usage): Check ISA_HAS_DSP instead of
TARGET_DSP.
* config/mips/constraints.md (ka): Check ISA_HAS_DSPR2 instead of
TARGET_DSPR2.
* config/mips/mips.md (ANYF): Require TARGET_HARD_FLOAT for V2SF.
(mulv2sf3, movv2sf, movv2sf_hardfloat_64bit): Require
TARGET_HARD_FLOAT.
(<u>mulsidi3_32bit_internal, <u>msubsidi4, <u>maddsidi4): Check
ISA_HAS_DSPR2 instead of TARGET_HAS_DSPR2.
* config/mips/mips-dsp.md: Use ISA_HAS_DSP instead of TARGET_HAS_DSP
throughout.
* config/mips/mips-dspr2.md: Likewise ISA_HAS_DSPR2 and
TARGET_HAS_DSPR2.
* config/mips/mips-fixed.md: Use ISA_HAS_DSP and ISA_HAS_DSPR2
instead of TARGET_HAS_DSP and TARGET_HAS_DSPR2.
* config/mips/mips-ps-3d.md: Add TARGET_HARD_FLOAT to V2SF patterns.

gcc/testsuite/
* lib/target-supports.exp (check_effective_target_nomips16): New
procedure.
* lib/fortran-torture.exp: Check nomips16 as well as mpaired_single
for mipsisa64*-*-*.
* gcc.dg/vect/vect.exp: Likewise.
* g++.dg/vect/vect.exp: Likewise.
* gcc.target/mips/mips.exp (setup_mips_tests): Don't set mips_mips16.
(dg-mips-options): Don't skip -march* and -mips* tests for -mips16.
* gcc.target/mips/branch-cost-1.c (foo): Add NOMIPS16.
* gcc.target/mips/branch-cost-2.c (foo): Likewise.
* gcc.target/mips/clear-cache-1.c (f): Likewise.
* gcc.target/mips/dpaq_sa_l_w.c (f1, f2, f3): Likewise.
* gcc.target/mips/dpsq_sa_l_w.c (f1, f2, f3): Likewise.
* gcc.target/mips/fix-vr4130-1.c (foo): Likewise.
* gcc.target/mips/fix-vr4130-2.c (foo): Likewise.
* gcc.target/mips/fix-vr4130-3.c (foo): Likewise.
* gcc.target/mips/fix-vr4130-4.c (foo): Likewise.
* gcc.target/mips/fixed-scalar-type.c (test1, test2, test3, test4)
(test5, test6, test7, test8, test9, test10, test11, test12, test13)
(test14, test15, test16, test17, test18): Likewise.
* gcc.target/mips/fixed-vector-type.c (test1, test2, test3, test4)
(test5, test6, test7, test8, test9, test10, test11, test12, test13)
(test14, test15, test16, test17, test18, test19, test20, test21)
(test22): Likewise.
* gcc.target/mips/madd-1.c (f1, f2, f3): Likewise.
* gcc.target/mips/madd-2.c (f1, f2, f3): Likewise.
* gcc.target/mips/madd-4.c (f1, f2, f3): Likewise.
* gcc.target/mips/maddu-1.c (f1, f2, f3): Likewise.
* gcc.target/mips/maddu-2.c (f1, f2, f3): Likewise.
* gcc.target/mips/maddu-4.c (f1, f2, f3): Likewise.
* gcc.target/mips/mips-3d-1.c (main): Likewise.
* gcc.target/mips/mips-3d-2.c (main, test0, test1, test2, test3)
(test4, test5, test6, test7, test8, test9, test10, test11, test12)
(test13, test14, test15, test16, test17, test18, test19, test20)
(test21, test22, test23, test24, test25, test26, test27, test28)
(test29, test30, test31): Likewise.
* gcc.target/mips/mips-3d-3.c (main, test0, test1, test2, test3)
(test4, test5, test6, test7, test8, test9, test10, test11, test12)
(test13, test14, test15, test16, test17, test18, test19, test20)
(test21, test22, test23, test24, test25, test26, test27, test28)
(test29, test30, test31, test32, test33, test34, test35, test36)
(test37, test38, test39, test40, test41, test42, test43, test44)
(test45, test46, test47, test48, test49, test50, test51, test52)
(test53, test54, test55, test56, test57, test58, test59, test60)
(test61, test62, test63): Likewise.
* gcc.target/mips/mips-3d-4.c (main, test0, test1, test2, test3)
(test4, test5, test6, test7, test8, test9, test10, test11, test12)
(test13, test14, test15, test16, test17, test18, test19, test20)
(test21, test22, test23, test24, test25, test26, test27, test28)
(test29, test30, test31): Likewise.
* gcc.target/mips/mips-3d-5.c (main, test0, test1, test2, test3)
(test4, test5, test6, test7, test8, test9, test10, test11, test12)
(test13, test14, test15, test16, test17, test18, test19, test20)
(test21, test22, test23, test24, test25, test26, test27, test28)
(test29, test30, test31): Likewise.
* gcc.target/mips/mips-3d-6.c (main, test0, test1, test2, test3)
(test4, test5, test6, test7, test8, test9, test10, test11, test12)
(test13, test14, test15): Likewise.
* gcc.target/mips/mips-3d-7.c (main, test0, test1, test2, test3)
(test4, test5, test6, test7, test8, test9, test10, test11, test12)
(test13, test14, test15): Likewise.
* gcc.target/mips/mips-3d-8.c (main, test0, test1, test2, test3)
(test4, test5, test6, test7, test8, test9, test10, test11, test12)
(test13, test14, test15, test16, test17, test18, test19, test20)
(test21, test22, test23, test24, test25, test26, test27, test28)
(test29, test30, test31): Likewise.
* gcc.target/mips/mips-3d-9.c (matrix_multiply2, matrix_multiply3)
(matrix_multiply4: Likewise.
* gcc.target/mips/mips-ps-1.c (main): Likewise.
* gcc.target/mips/mips-ps-2.c (main): Likewise.
* gcc.target/mips/mips-ps-3.c (main): Likewise.
* gcc.target/mips/mips-ps-4.c (main, test0, test1, test2, test3)
(test4, test5, test6, test7, test8, test9, test10, test11, test12)
(test13, test14, test15, test16, test17, test18, test19, test20)
(test21, test22, test23, test24, test25, test26, test27, test28)
(test29, test30, test31): Likewise.
* gcc.target/mips/mips-ps-5.c (main, test0, test1, test2, test3)
(test4, test5, test6, test7, test8, test9, test10, test11, test12)
(test13, test14, test15, test16, test17, test18, test19, test20)
(test21, test22, test23, test24, test25, test26, test27, test28)
(test29, test30, test31): Likewise.
* gcc.target/mips/mips-ps-5.c (main): Likewise.
* gcc.target/mips/mips-ps-6.c (main): Likewise.
* gcc.target/mips/mips-ps-type.c (init, move, load, store, add, sub)
(neg, mul, madd, msub, nmadd, nmsub, cond_move1, cond_move2): Likewise.
* gcc.target/mips/mips32-dsp-type.c (add_v2hi,add_v4qi, sub_v2hi)
(sub_v4qi): Likewise.
* gcc.target/mips/mips32-dsp.c (test_MIPS_DSP, add_v2q15, add_v4i8)
(sub_v2q15, sub_v4i8, test_MIPS_DSP): Likewise.
* gcc.target/mips/movcc-1.c (sub1, sub2): Likewise.
* gcc.target/mips/movcc-2.c (sub4, sub5): Likewise.
* gcc.target/mips/movcc-3.c (sub3, sub6, sub7, sub8, sub9, suba)
(subb, subc): Likewise.
* gcc.target/mips/msub-1.c (f1, f2): Likewise.
* gcc.target/mips/msub-2.c (f1, f2): Likewise.
* gcc.target/mips/msub-4.c (f1, f2): Likewise.
* gcc.target/mips/msubu-1.c (f1, f2): Likewise.
* gcc.target/mips/msubu-2.c (f1, f2): Likewise.
* gcc.target/mips/msubu-4.c (f1, f2): Likewise.
* gcc.target/mips/nmadd-1.c (sub1, sub2, sub3, sub4): Likewise.
* gcc.target/mips/nmadd-2.c (sub1, sub2, sub3, sub4): Likewise.
* gcc.target/mips/rsqrt-1.c (foo, bar): Likewise.
* gcc.target/mips/rsqrt-2.c (foo, bar): Likewise.
* gcc.target/mips/sb1-1.c (divide, recip, squareroot, rsqrt): Likewise.
* gcc.target/mips/vr-mult-1.c (f1, f2): Likewise.
* gcc.target/mips/vr-mult-2.c (f1, f2): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128683 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR c++/15269
jason [Sun, 23 Sep 2007 04:37:26 +0000 (04:37 +0000)]
    PR c++/15269
        * call.c (build_over_call): Warn about deprecated virtuals.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128682 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR c++/19407
jason [Sun, 23 Sep 2007 02:36:34 +0000 (02:36 +0000)]
    PR c++/19407
        * cp/cp-tree.h (ATTR_IS_DEPENDENT): New macro.
        (MAYBE_TAGGED_TYPE_P): Remove.
        * cp/pt.c (apply_late_template_attributes): Check ATTR_IS_DEPENDENT
        instead of calling is_late_template_attribute again.
        (tsubst_decl) [TYPE_DECL]: Just check if the name is the tag.
        (tsubst): A typedef is a TYPE_NAME != TYPE_MAIN_DECL.
        Don't crash on typedefs from non-template classes.
        * cp/decl2.c (grokfield): Don't sorry about attrs on template parms.
        (is_late_template_attribute): All attributes applied to template
        parms or typename types are dependent.  Static, take decl.
        (splice_template_attributes): Pass decl through.
        (save_template_attributes): Likewise.
        * attribs.c (lookup_attribute_spec): Split out...
        (decl_attributes): From here.
        * tree.h: Declare it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128681 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoDaily bump.
gccadmin [Sun, 23 Sep 2007 00:17:14 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128679 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR fortran/33528
fxcoudert [Sat, 22 Sep 2007 23:48:02 +0000 (23:48 +0000)]
PR fortran/33528
* scanner.c (preprocessor_line): Call linemap_add when exiting
a file.
(gfc_new_file): Adjust debug code for USE_MAPPED_LOCATION.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128676 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR c++/33496
jakub [Sat, 22 Sep 2007 21:19:17 +0000 (21:19 +0000)]
PR c++/33496
* pt.c (tsubst_copy) <case SIZEOF_EXPR>: Handle error_mark_node
returned from tsubst_pack_expansion.
(tsubst_copy_and_build) <case SIZEOF_EXPR>: Likewise.
(tsubst_copy_and_build) <case CONSTRUCTOR>: Likewise.

* g++.dg/cpp0x/variadic76.C: New test.
* g++.dg/cpp0x/variadic77.C: New test.
* g++.dg/cpp0x/variadic78.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128675 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agogcc/
rsandifo [Sat, 22 Sep 2007 20:10:52 +0000 (20:10 +0000)]
gcc/
* doc/sourcebuild.texi: Document dg-add-options mips16_attribute.

gcc/testsuite/
* lib/target-supports.exp (add_options_for_mips16_attribute)
(check_effective_target_mips16_attribute): New functions.
* gcc.target/mips/mips.exp: Define MIPS16 and NOMIPS16 on the
command line.
(dg-mips-options) Remove -mno-mips16 handling.  Add options to
extra_test_flags.
* gcc.target/mips/asm-1.c (NOMIPS16): Delete.
* gcc.target/mips/atomic-memory-1.c (NOMIPS16): Likewise.
* gcc.target/mips/atomic-memory-2.c (NOMIPS16): Likewise.
* gcc.target/mips/branch-1.c (NOMIPS16): Likewise.
* gcc.target/mips/dspr2-MULT.c (NOMIPS16): Likewise.
* gcc.target/mips/dspr2-MULTU.c (NOMIPS16): Likewise.
* gcc.target/mips/fpcmp-1.c (NOMIPS16): Likewise.
* gcc.target/mips/fpcmp-2.c (NOMIPS16): Likewise.
* gcc.target/mips/ins-1.c (NOMIPS16): Likewise.
* gcc.target/mips/madd-3.c (NOMIPS16): Likewise.
* gcc.target/mips/maddu-3.c (NOMIPS16): Likewise.
* gcc.target/mips/mips32-dsp-run.c (NOMIPS16): Likewise.
* gcc.target/mips/mips32-dspr2-type.c (NOMIPS16): Likewise.
* gcc.target/mips/msub-3.c (NOMIPS16): Likewise.
* gcc.target/mips/msubu-3.c (NOMIPS16): Likewise.
* gcc.target/mips/near-far-3.c (NOMIPS16): Likewise.
* gcc.target/mips/near-far-4.c (NOMIPS16): Likewise.
* gcc.target/mips/neg-abs-1.c (NOMIPS16): Likewise.
* gcc.target/mips/smartmips-lwxs.c (NOMIPS16): Likewise.
* gcc.target/mips/smartmips-ror-1.c (NOMIPS16): Likewise.
* gcc.target/mips/smartmips-ror-2.c (NOMIPS16): Likewise.
* gcc.target/mips/smartmips-ror-3.c (NOMIPS16): Likewise.
* gcc.target/mips/smartmips-ror-4.c (NOMIPS16): Likewise.
* gcc.target/mips/pr26765.c: Use dg-mips-options instead of dg-options.
(NOMIPS16): Delete.
* gcc.target/mips/20020620-1.c: Use dg-mips-options instead
of dg-options.
* gcc.target/mips/call-saved-1.c: Remove -mips16 and -mno-abicalls
options.  Require { target mips16_attribute } and use dg-add-options
to add the associated options.
(foo): Use MIPS16.
* gcc.target/mips/call-saved-2.c: As for call-saved-1.c.
* gcc.target/mips/call-saved-3.c: Likewise.
* gcc.target/mips/code-readable-1.c: Require { target
mips16_attribute } and use dg-add-options to add the associated
options.  Remove trailing whitespace.
(NOMIPS16): Delete.
* gcc.target/mips/code-readable-2.c: Likewise.
* gcc.target/mips/code-readable-3.c: Likewise.
* gcc.target/mips/mips16-attributes-2.c: Likewise.
* gcc.target/mips/mips16e-extends.c: Remove -mips16 option.
Require { target mips16_attribute } and use dg-add-options to
add the associated options.
(cksum16, cksum8): Use MIPS16.
* gcc.target/mips/save-restore-1.c: Remove -mips16 option.
Require { target mips16_attribute } and use dg-add-options to
add the associated options.
(foo): Use MIPS16.
* gcc.target/mips/save-restore-2.c: Likewise.
* gcc.target/mips/save-restore-3.c: Likewise.
* gcc.target/mips/save-restore-4.c: Likewise.
* gcc.target/mips/save-restore-5.c: Likewise.  Also remove
-mno-abicalls.
* gcc.target/mips/mips-sched-madd.c: Remove -mno-mips16.
(foo): Use NOMIPS16.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128674 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR fortran/33522
fxcoudert [Sat, 22 Sep 2007 16:54:56 +0000 (16:54 +0000)]
PR fortran/33522
* trans-types.c (gfc_get_desc_dim_type): Mark artificial
variables with TREE_NO_WARNING.
(gfc_get_array_descriptor_base): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128673 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2007-09-22 Paul Thomas <pault@gcc.gnu.org>
pault [Sat, 22 Sep 2007 15:46:41 +0000 (15:46 +0000)]
2007-09-22  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/33337
PR fortran/33376
* trans-decl.c (gfc_create_module_variable): Output
derived type parameters.
* arith.c (gfc_parentheses): Return the argument if
it is a constant expression.
* primary.c (gfc_match_rvalue): Remove the clearing of
the module name and the use_assoc attribute for derived
type parameter expressions.

2007-09-22  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/33337
* gfortran.dg/derived_comp_array_ref_3.f90: New test.

PR fortran/33376
* gfortran.dg/derived_comp_array_ref_4.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128672 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR fortran/33502
fxcoudert [Sat, 22 Sep 2007 15:03:24 +0000 (15:03 +0000)]
PR fortran/33502
* scanner.c (gfc_advance_line): Call debug_hooks->start_source_file
and debug_hooks->end_source_file when entering and exiting
included files.
(gfc_define_undef_line): New function.
(load_file): Ignore #define and #undef preprocessor lines
while reading source files.
* parse.c (next_statement): Handle #define and #undef
preprocessor lines.
(gfc_parse_file): Call debug_hooks->start_source_file and
debug_hooks->end_source_file for the main source file if
requested by the debug format.
* gfortran.h (gfc_define_undef_line): Add prototype.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128671 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2007-09-22 Tobias Burnus <burnus@net-b.de>
burnus [Sat, 22 Sep 2007 14:20:57 +0000 (14:20 +0000)]
2007-09-22  Tobias Burnus  <burnus@net-b.de>

        PR fortran/33445
        * scanner.c (skip_free_comments): Warn if !$OMP& is used
        if no OpenMP directive is to be continued.

2007-09-22  Tobias Burnus  <burnus@net-b.de>

        PR fortran/33445
        * gfortran.dg/gomp/free-2.f90: New.
        * gfortran.dg/gomp/appendix-a/a.31.1.f90: Add missing &.
        * gfortran.dg/gomp/omp_parse1.f90: Add dg-warning.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128670 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * utils2.c (build_unary_op) <ADDR_EXPR> [INDIRECT_REF]: Propagate
ebotcazou [Sat, 22 Sep 2007 13:04:20 +0000 (13:04 +0000)]
* utils2.c (build_unary_op) <ADDR_EXPR> [INDIRECT_REF]: Propagate
the TYPE_REF_CAN_ALIAS_ALL flag to the result.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128669 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * tree-inline.c (remap_type_1): Correctly chain variants.
ebotcazou [Sat, 22 Sep 2007 12:31:22 +0000 (12:31 +0000)]
* tree-inline.c (remap_type_1): Correctly chain variants.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128668 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * gcc.target/i386/sse5-hadduX.c: Remove target selector.
uros [Sat, 22 Sep 2007 10:16:07 +0000 (10:16 +0000)]
    * gcc.target/i386/sse5-hadduX.c: Remove target selector.
        * gcc.target/i386/sse5-haddX.c: Ditto.
        * gcc.target/i386/sse5-hsubX.c: Ditto.
        * gcc.target/i386/sse5-maccXX.c: Ditto.
        * gcc.target/i386/sse5-msubXX.c: Ditto.
        * gcc.target/i386/sse5-nmaccXX.c: Ditto.
        * gcc.target/i386/sse5-nmsubXX.c: Ditto.
        * gcc.target/i386/sse5-permpX.c: Ditto.
        * gcc.target/i386/sse5-fma.c: Remove target selector. Require lp64
        effective target.
        * gcc.target/i386/sse5-fma-vector.c: Ditto.
        * gcc.target/i386/sse5-ima-vector.c: Ditto.
        * gcc.target/i386/sse5-pcmov.c: Ditto.
        * gcc.target/i386/sse5-pcmov2.c: Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128667 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2007-09-22 Richard Guenther <rguenther@suse.de>
rguenth [Sat, 22 Sep 2007 09:39:41 +0000 (09:39 +0000)]
2007-09-22  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/33146
* fold-const.c (fold_binary): Use the original tree
for negating.
* tree.h (STRIP_SIGN_NOPS): Converting from or to pointer
also changes "sign".

* gcc.c-torture/compile/pr33146.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128666 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR target/32325
ebotcazou [Sat, 22 Sep 2007 08:42:57 +0000 (08:42 +0000)]
PR target/32325
* except.c (finish_eh_generation): Call commit_edge_insertions if
there are insns queued on the entry edge.
* config/alpha/alpha.c (alpha_gp_save_rtx): Insert the insns on
the entry edge.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128665 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agogcc/testsuite/
rsandifo [Sat, 22 Sep 2007 08:26:50 +0000 (08:26 +0000)]
gcc/testsuite/
* lib/target-supports.exp (check_cached_effective_target): New
procedure.
(check_no_compiler_messages, check_no_messages_and_pattern): Use it.
(check_effective_target_c99_runtime): New procedure.
* gcc.dg/builtins-20.c (test3f): Wrap cargf check in HAVE_C99_RUNTIME.
(test3l): Likewise cargl.
* gcc.dg/builtins-59.c: Require c99_runtime.
* gcc.dg/builtins-61.c: Likewise.
* gcc.dg/builtins-62.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128664 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agogcc/
rsandifo [Sat, 22 Sep 2007 08:25:43 +0000 (08:25 +0000)]
gcc/
* doc/sourcebuild.texi (dg-add-c99-runtime-options): Document.

gcc/testsuite/
* lib/target-supports.exp (add_options_for_c99_runtime): New procedure.
* lib/target-supports-dg.exp (dg-add-options): Likewise.
* gcc.dg/builtins-18.c: Use { dg-add-options c99_runtime } instead of
target-specific dg-options.
* gcc.dg/builtins-20.c: Likewise.
* gcc.dg/builtins-53.c: Likewise.
* gcc.dg/builtins-55.c: Likewise.
* gcc.dg/single-precision-constant.c: Likewise.
* gcc.dg/torture/builtin-convert-1.c: Likewise.
* gcc.dg/torture/builtin-convert-2.c: Likewise.
* gcc.dg/torture/builtin-convert-3.c: Likewise.
* gcc.dg/torture/builtin-convert-4.c: Likewise.
* gcc.dg/torture/builtin-power-1.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128663 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * warn_summary (srcdirFilter): Add fixincludes, sim,
hp [Sat, 22 Sep 2007 01:19:10 +0000 (01:19 +0000)]
* warn_summary (srcdirFilter): Add fixincludes, sim,
newlib and mpfr.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128662 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * lib/target-supports.exp (check_effective_target_fixed_point): New to
chaoyingfu [Sat, 22 Sep 2007 00:27:56 +0000 (00:27 +0000)]
* lib/target-supports.exp (check_effective_target_fixed_point): New to
check if targets have fixed-point supports.
* gcc.dg/fixed-point/fixed-point.exp: New file.
* gcc.dg/fixed-point/addsub.c, gcc.dg/fixed-point/allconv.c,
* gcc.dg/fixed-point/allop.c, gcc.dg/fixed-point/call-by-value.c,
* gcc.dg/fixed-point/cast-bad.c, gcc.dg/fixed-point/composite-type.c,
* gcc.dg/fixed-point/const-1.c, gcc.dg/fixed-point/constant.c,
* gcc.dg/fixed-point/constants-pedantic.c,
* gcc.dg/fixed-point/convert.c, gcc.dg/fixed-point/define.c,
* gcc.dg/fixed-point/keywords-c89.c, gcc.dg/fixed-point/keywords-c99.c,
* gcc.dg/fixed-point/keywords-ignored-c99.c,
* gcc.dg/fixed-point/keywords-pedantic.c,
* gcc.dg/fixed-point/keywords-reserved.c, gcc.dg/fixed-point/binary.c,
* gcc.dg/fixed-point/modes.c, gcc.dg/fixed-point/noassoc.c,
* gcc.dg/fixed-point/types.c, gcc.dg/fixed-point/typespec.c,
* gcc.dg/fixed-point/unary.c, gcc.dg/fixed-point/func-array.c,
* gcc.dg/fixed-point/func-scalar.c, gcc.dg/fixed-point/func-struct.c,
* gcc.dg/fixed-point/func-vararg-mixed.c,
* gcc.dg/fixed-point/operator-logical.c,
* gcc.dg/fixed-point/struct-union.c,
* gcc.dg/fixed-point/bit-complement.c,
* gcc.dg/fixed-point/operator-bitwise.c,
* gcc.dg/fixed-point/operator-comma.c,
* gcc.dg/fixed-point/struct-layout-1.c,
* gcc.dg/fixed-point/union-init.c,
* gcc.dg/fixed-point/Wbad-function-cast-1.c,
* gcc.dg/fixed-point/func-mixed.c,
* gcc.dg/fixed-point/func-vararg-size0.c,
* gcc.dg/fixed-point/func-vararg.c, gcc.dg/fixed-point/int-warning.c,
* gcc.dg/fixed-point/loop-index.c, gcc.dg/fixed-point/operator-cond.c,
* gcc.dg/fixed-point/operator-unary.c,
* gcc.dg/fixed-point/allop-const.c,
* gcc.dg/fixed-point/muldiv-warning.c,
* gcc.dg/nofixed-point-1.c,
* gcc.target/mips/dpaq_sa_l_w.c, gcc.target/mips/dpsq_sa_l_w.c,
* gcc.target/mips/fixed-vector-type.c,
* gcc.target/mips/fixed-scalar-type.c: New tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128661 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoDaily bump.
gccadmin [Sat, 22 Sep 2007 00:17:10 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128659 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2007-09-21 Seongbae Park <seongbae.park@gmail.com>
spark [Fri, 21 Sep 2007 20:08:22 +0000 (20:08 +0000)]
2007-09-21  Seongbae Park  <seongbae.park@gmail.com>

* MAINTAINERS (Write After Approval): Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128655 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR fortran/31546
fxcoudert [Fri, 21 Sep 2007 19:49:34 +0000 (19:49 +0000)]
PR fortran/31546
* (configure.ac): Add --enable-intermodule for onestep build.
* (Makefile.am): Handle onestep build.
* (configure, Makefile.in): Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128654 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoCommit forgotten ChangeLog entry
meissner [Fri, 21 Sep 2007 17:55:33 +0000 (17:55 +0000)]
Commit forgotten ChangeLog entry

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128652 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2007-09-21 Paul Thomas <pault@gcc.gnu.org>
pault [Fri, 21 Sep 2007 15:02:44 +0000 (15:02 +0000)]
2007-09-21  Paul Thomas  <pault@gcc.gnu.org>

*trans-expr.c (gfc_trans_pointer_assignment): Convert array
descriptor for subref pointer assignements, rather than using
the loop info version.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128651 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2007-09-21 Olivier Hainque <hainque@adacore.com>
hainque [Fri, 21 Sep 2007 14:14:45 +0000 (14:14 +0000)]
2007-09-21  Olivier Hainque  <hainque@adacore.com>

ada/
        * utils.c (type_for_nonaliased_component_p): Return false for
        all AGGREGATE_TYPEs.

testsuite/
        * gnat.dg/nested_subtype_byref.ad[bs]: Part of new test.
        * gnat.dg/test_nested_subtype_byref.adb: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128650 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR fortran/33439
jakub [Fri, 21 Sep 2007 11:17:13 +0000 (11:17 +0000)]
PR fortran/33439
* gfortran.dg/gomp/pr33439.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128649 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR libfortran/26253
fxcoudert [Fri, 21 Sep 2007 10:54:20 +0000 (10:54 +0000)]
PR libfortran/26253
* intrinsics/c99_functions.c (scalbn): Use ldexp if appopriate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128648 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2007-09-21 Tobias Burnus <burnus@net-b.de>
burnus [Fri, 21 Sep 2007 10:44:20 +0000 (10:44 +0000)]
2007-09-21  Tobias Burnus  <burnus@net-b.de>

        PR fortran/33455
        * check.c (check_same_strlen): New function.
        (gfc_check_merge): Use it.

2007-09-21  Tobias Burnus  <burnus@net-b.de>

        PR fortran/33455
        * gfortran.dg/merge_char_3.f90: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128647 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2007-09-21 Tobias Burnus <burnus@net-b.de>
burnus [Fri, 21 Sep 2007 10:21:29 +0000 (10:21 +0000)]
2007-09-21  Tobias Burnus  <burnus@net-b.de>

        PR fortran/33037
        * simplify.c (gfc_simplify_transfer): Warn if source size
        is smaller than result size.

2007-09-21  Tobias Burnus  <burnus@net-b.de>

        PR fortran/33037
        * gfortran.dg/transfer_check_1.f90: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128646 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2007-09-21 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 21 Sep 2007 09:36:52 +0000 (09:36 +0000)]
2007-09-21  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/33508
* tree-ssa-alias.c (mark_aliases_call_clobbered): Avoid
quadratic loop by keeping a bitmap of variables we have
to clobber all subvariables for.
(set_initial_properties): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128645 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoconfig/
rsandifo [Fri, 21 Sep 2007 07:33:31 +0000 (07:33 +0000)]
config/
* mt-sde (CFLAGS_FOR_TARGET): Replace -fno-optimize-sibling-calls
with -minterlink-mips16.
(CXXFLAGS_FOR_TARGET): Likewise.

gcc/
* config/mips/t-sde (TARGET_LIBGCC2_CFLAGS): Delete.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128644 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR fortran/20441
langton [Fri, 21 Sep 2007 02:34:14 +0000 (02:34 +0000)]
PR fortran/20441
        * gfortran.h : Add init_local_* enums and init_flag_* flags to
gfc_option_t.
* lang.opt: Add -finit-local-zero, -finit-real, -finit-integer,
-finit-character, and -finit-logical flags.
* invoke.texi: Document new options.
* resolve.c (build_init_assign): New function.
(apply_init_assign): Move part of function into build_init_assign.
(build_default_init_expr): Build local initializer (-finit-*).
(apply_default_init_local): Apply local initializer (-finit-*).
(resolve_fl_variable): Try to add local initializer (-finit-*).
* options.c (gfc_init_options, gfc_handle_option,
gfc_post_options): Handle -finit-local-zero, -finit-real,
-finit-integer, -finit-character, and -finit-logical flags.

PR fortran/20441
* gfortran.dg/init_flag_1.f90: New.
* gfortran.dg/init_flag_2.f90: New.
* gfortran.dg/init_flag_3.f90: New.
* gfortran.dg/init_flag_4.f90: New.
* gfortran.dg/init_flag_5.f90: New.
* gfortran.dg/init_flag_6.f90: New.
* gfortran.dg/init_flag_7.f90: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128643 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * c-decl.c (finish_declspecs): When _Sat is used without
chaoyingfu [Fri, 21 Sep 2007 00:50:37 +0000 (00:50 +0000)]
* c-decl.c (finish_declspecs): When _Sat is used without
_Fract or _Accum, set the default type to cts_fract.
This avoids a warning of "type defaults to int".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128642 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoDaily bump.
gccadmin [Fri, 21 Sep 2007 00:17:19 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128640 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agocp/
paolo [Thu, 20 Sep 2007 23:05:38 +0000 (23:05 +0000)]
cp/
2007-09-20  Paolo Carlini  <pcarlini@suse.de>

PR c++/33460
* semantics.c (finish_id_expression): Use consistently
context_for_name_lookup.
* decl.c (fixup_anonymous_aggr): Fix error message for
anonymous struct (vs union).

testsuite/
2007-09-20  Paolo Carlini  <pcarlini@suse.de>

PR c++/33460
* g++.dg/ext/anon-struct6.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128637 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR libfortran/23272
fxcoudert [Thu, 20 Sep 2007 22:56:48 +0000 (22:56 +0000)]
PR libfortran/23272

* io/unix.c (id_from_handle, id_from_path, id_from_fd): New
functions.
(compare_file_filename, find_file, find_file0): Use the new
functions above.

* gfortran.dg/inquire_10.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128636 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * acinclude.m4 (LIBGFOR_TARGET_ILP32): Remove test.
fxcoudert [Thu, 20 Sep 2007 22:43:39 +0000 (22:43 +0000)]
* acinclude.m4 (LIBGFOR_TARGET_ILP32): Remove test.
* configure.ac: Don't call LIBGFOR_TARGET_ILP32.
* configure: Regenerate.
* config.h.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128635 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * c-decl.c (check_bitfield_type_and_width): Don't allow _Bool
jsm28 [Thu, 20 Sep 2007 22:15:07 +0000 (22:15 +0000)]
* c-decl.c (check_bitfield_type_and_width): Don't allow _Bool
bit-fields wider than one bit.

testsuite:
* gcc.dg/c99-bool-2.c, gcc.dg/c99-bool-3.c: New tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128634 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR fortran/33221
fxcoudert [Thu, 20 Sep 2007 22:03:22 +0000 (22:03 +0000)]
PR fortran/33221

* gfortran.h (symbol_attribute): Add zero_comp field.
* symbol.c (gfc_use_derived): Handle case of emtpy derived types.
* decl.c (gfc_match_data_decl): Likewise.
(gfc_match_derived_decl): Likewise.
* module.c (ab_attribute, attr_bits): Add AB_ZERO_COMP member.
(mio_symbol_attribute): Write and read AB_ZERO_COMP.
* resolve.c (resolve_symbol): Handle case of emtpy derived types.
* parse.c (parse_derived): Likewise.

* gfortran.dg/used_types_18.f90: Declare variable of empty
derived type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128633 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR fortran/33288
fxcoudert [Thu, 20 Sep 2007 21:58:23 +0000 (21:58 +0000)]
PR fortran/33288

* arith.c (reduce_unary, reduce_binary_ac, reduce_binary_ca,
reduce_binary_aa): Call ourselves recursively if an element of
the constructor is itself a constant array.

* gfortran.dg/array_constructor_19.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128632 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR debug/33316
jakub [Thu, 20 Sep 2007 21:27:39 +0000 (21:27 +0000)]
PR debug/33316
* dwarf2out.c (modified_type_die): Handle TYPE_DECL with NULL
DECL_NAME.
* dbxout.c (dbxout_type): Likewise.

* gcc.dg/debug/pr33316.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128631 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR c++/33496
jakub [Thu, 20 Sep 2007 21:21:03 +0000 (21:21 +0000)]
PR c++/33496
* pt.c (tsubst_copy) <case SIZEOF_EXPR>: Handle error_mark_node
returned from tsubst_pack_expansion.
(tsubst_copy_and_build) <case SIZEOF_EXPR>: Likewise.
(tsubst_copy_and_build) <case CONSTRUCTOR>: Likewise.

* g++.dg/cpp0x/variadic76.C: New test.
* g++.dg/cpp0x/variadic77.C: New test.
* g++.dg/cpp0x/variadic78.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128630 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR c/33238
jakub [Thu, 20 Sep 2007 21:19:36 +0000 (21:19 +0000)]
PR c/33238
PR c/27301
* gimplify.c (gimplify_vla_decl): New function.
(gimplify_decl_expr): Move VLA decl handling to gimplify_vla_decl.
Call it.
(gimplify_target_expr): Handle variable length TARGET_EXPRs.

* gcc.c-torture/execute/20070919-1.c: New test.
* gcc.dg/pr33238.c: New test.
* gcc.dg/pr27301.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128629 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agogcc/testsuite/
rsandifo [Thu, 20 Sep 2007 20:17:45 +0000 (20:17 +0000)]
gcc/testsuite/
* lib/target-supports.exp (check_effective_target_mips64): New
procedure.
* gcc.dg/lower-subreg-1.c: Require !mips64.
* gcc.dg/sibcall-3.c (ATTR): New macro.
(recurser_void1, recurser_void2): Use it.
* gcc.dg/sibcall-4.c: As for gcc.dg/sibcall-3.c.
* gcc.dg/tree-ssa/ssa-fre-3.c: Require !mips64.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128626 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * configure.ac (mipsisa*-*-elfoabi*): New stanza.
rsandifo [Thu, 20 Sep 2007 20:01:34 +0000 (20:01 +0000)]
* configure.ac (mipsisa*-*-elfoabi*): New stanza.
* configure: Regenerate.

config/
* mt-mips-elfoabi: New file.

gcc/
* doc/invoke.texi (-minterlink-mips16): Document.
* config/mips/mips.opt (minterlink-mips16): New option.
* config/mips/mips.c (mips_function_ok_for_sibcall): Handle
-minterlink-mips16

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128625 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agofortran/
tobi [Thu, 20 Sep 2007 18:07:04 +0000 (18:07 +0000)]
fortran/
* io.c (resolve_tag_format): New function using code split out
and simplified from ...
(resolve_tag): ... this function.  Simplify logic.  Unify
IOSTAT, IOLENGTH and SIZE handling.
testsuite/
* gfortran.dg/g77/19981216-0.f: Remove dg-warning annotation.
* gfortran.dg/io_constraints_1.f90: Make a -std=f95 test.  Add
warning annotation.
* gfortran.dg/iostat_3.f90: Make a -std=f95 test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128623 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * doc/extend.texi (Attribute Syntax): Remove old speculative
jsm28 [Thu, 20 Sep 2007 15:55:33 +0000 (15:55 +0000)]
* doc/extend.texi (Attribute Syntax): Remove old speculative
future direction.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128622 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR c++/7586
jason [Thu, 20 Sep 2007 14:13:00 +0000 (14:13 +0000)]
    PR c++/7586
        * pt.c (tsubst): Handle typedefs by looking for the specialization.
        (retrieve_specialization): Only tagged types use
        DECL_TEMPLATE_INSTANTIATIONS.
        (instantiate_class_template): Push nested classes too.
        (tsubst_decl) [TYPE_DECL]: Only check for canonical decl for
        tagged types.
        * cp-tree.h (MAYBE_TAGGED_TYPE_P): New macro.
        * init.c (is_aggr_type): Remove redundant tests.
        * class.c (push_nested_class): Use CLASS_TYPE_P.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128621 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2007-09-20 Christopher D. Rickett <crickett@lanl.gov>
burnus [Thu, 20 Sep 2007 11:50:39 +0000 (11:50 +0000)]
2007-09-20  Christopher D. Rickett  <crickett@lanl.gov>

        PR fortran/33497
        * resolve.c (gfc_iso_c_func_interface): Use information from
        subcomponent if applicable.

2007-09-20  Christopher D. Rickett  <crickett@lanl.gov>

        PR fortran/33497
        * gfortran.dg/c_loc_tests_11.f03: New test case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128620 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2007-09-20 Tobias Burnus <burnus@net-b.de>
burnus [Thu, 20 Sep 2007 11:28:12 +0000 (11:28 +0000)]
2007-09-20  Tobias Burnus  <burnus@net-b.de>

        PR fortran/33325
        * intrinsic.text: Add documentation of the intrinsic modules.
        * gfortran.texi: Link to intrinsic-modules section and to
        the GOMP manual.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128619 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago gcc/
shinwell [Thu, 20 Sep 2007 11:01:18 +0000 (11:01 +0000)]
gcc/
* combine.c: Include cgraph.h.
(setup_incoming_promotions): Rework to allow more aggressive
elimination of sign extensions when all call sites of the
current function are known to lie within the current unit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128618 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2007-09-20 Paul Jarc <prj-bugzilla-gcc@multivac.cwru.edu>
paolo [Thu, 20 Sep 2007 10:20:05 +0000 (10:20 +0000)]
2007-09-20  Paul Jarc  <prj-bugzilla-gcc@multivac.cwru.edu>

PR bootstrap/31906
* libtool-ldflags: Don't prefix arguments with -Xcompiler if
        they're already prefixed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128617 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agocp/
paolo [Thu, 20 Sep 2007 09:49:13 +0000 (09:49 +0000)]
cp/
2007-09-20  Paolo Carlini  <pcarlini@suse.de>

PR c++/33459
* init.c (build_zero_init): If, recursively, build_zero_init
returns a NULL_TREE, do not append it to the VEC of constructors.

testsuite/
2007-09-20  Paolo Carlini  <pcarlini@suse.de>

PR c++/33459
* g++.dg/init/ref14.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128615 138bc75d-0d04-0410-961f-82ee72b054a4