Uros Bizjak [Sat, 16 Feb 2008 11:04:43 +0000 (12:04 +0100)]
fastcall-sseregparm.c: Include sse-check.h.
* gcc.target/i386/fastcall-sseregparm.c: Include sse-check.h.
(main): Change to void and rename to sse_test.
* gcc.target/i386/pr24306.c: Ditto.
* gcc.target/i386/pr32065-2.c: Ditto.
* gcc.target/i386/
20060512-1.c: Include sse2-check.h.
(main): Change to void and rename to sse2_test.
* gcc.target/i386/
20060512-3.c: Ditto.
From-SVN: r132365
Benjamin Kosnik [Sat, 16 Feb 2008 06:15:39 +0000 (06:15 +0000)]
types.h: Remove enum parallelism.
2008-02-15 Benjamin Kosnik <bkoz@redhat.com>
* include/parallel/types.h: Remove enum parallelism.
From-SVN: r132364
Ralf Corsepius [Sat, 16 Feb 2008 05:52:54 +0000 (06:52 +0100)]
t-rtems (M68K_MLIB_CPU): Add 5208, 5307, 5407, 5475 multilibs.
2008-02-16 Ralf Corsepius <ralf.corsepius@rtems.org>
* config/m68k/t-rtems (M68K_MLIB_CPU): Add 5208, 5307, 5407, 5475
multilibs.
From-SVN: r132363
Ralf Wildenhues [Sat, 16 Feb 2008 03:57:53 +0000 (03:57 +0000)]
re PR libgcj/33085 (liblt_prog_compiler_pic_GCJ='-DDLL_EXPORT' is wrong)
PR libgcj/33085
* libtool.m4 (_LT_COMPILER_PIC) [ mingw, cygwin ] <GCJ>:
Do not use -DDLL_EXPORT. Backport from upstream.
libjava/
PR libgcj/33085
* configure: Regenerate.
From-SVN: r132362
Ralf Wildenhues [Sat, 16 Feb 2008 03:54:54 +0000 (03:54 +0000)]
c-tree.texi: Use `@.' where appropriate.
* doc/c-tree.texi: Use `@.' where appropriate.
* doc/extend.texi: Likewise.
* doc/install.texi: Likewise.
* doc/invoke.texi: Likewise.
* doc/loop.texi: Likewise.
* doc/makefile.texi: Likewise.
* doc/md.texi: Likewise.
* doc/passes.texi: Likewise.
* doc/standards.texi: Likewise.
* doc/tm.texi: Likewise.
From-SVN: r132361
GCC Administrator [Sat, 16 Feb 2008 00:17:24 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r132358
Francois-Xavier Coudert [Fri, 15 Feb 2008 22:56:37 +0000 (22:56 +0000)]
intrinsic.texi: Rename INDEX node to avoid clashing with index.html on case-insensitive systems.
* intrinsic.texi: Rename INDEX node to avoid clashing with
index.html on case-insensitive systems.
From-SVN: r132355
Benjamin Kosnik [Fri, 15 Feb 2008 22:55:14 +0000 (22:55 +0000)]
types.h: Move enum parallelism here.
2008-02-15 Benjamin Kosnik <bkoz@redhat.com>
* include/parallel/types.h: Move enum parallelism here. Use
tr1/cstdint's int16_t, uint16_t, int32_t, uint32_t, int64_t,
uint64_t.
* include/parallel/multiseq_selection.h: Adjust for cstdint.
* include/parallel/compatibility.h: Same.
* include/parallel/tags.h: Just compile-time tags.
* include/parallel/base.h: Put namespace bits here.
* src/Makefile.am (PARALLEL_FLAGS): Use it.
* src/Makefile.in: Regenerate.
* testsuite/25_algorithms/nth_element/1.cc: Add test variable.
From-SVN: r132354
Francois-Xavier Coudert [Fri, 15 Feb 2008 21:12:24 +0000 (21:12 +0000)]
trans-expr.c (gfc_conv_function_call): Force evaluation of se->expr.
* trans-expr.c (gfc_conv_function_call): Force evaluation of
se->expr.
* gfortran.dg/c_loc_tests_12.f03: New test.
From-SVN: r132353
Jakub Jelinek [Fri, 15 Feb 2008 17:42:25 +0000 (18:42 +0100)]
re PR middle-end/35196 (lastprivate broken for static non-ordered loops)
PR middle-end/35196
* omp-low.c (expand_omp_for_generic): Don't initialize fd->v
in entry_bb.
(expand_omp_for_static_nochunk): Initialize fd->v in seq_start_bb
rather than in entry_bb.
* testsuite/libgomp.c/pr35196.c: New test.
From-SVN: r132351
Uros Bizjak [Fri, 15 Feb 2008 17:40:55 +0000 (18:40 +0100)]
sfp-machine.h (CMPtype): Define as typedef using libgcc_cmp_return mode.
* config/i386/sfp-machine.h (CMPtype): Define as typedef using
libgcc_cmp_return mode.
From-SVN: r132350
Jakub Jelinek [Fri, 15 Feb 2008 17:36:43 +0000 (18:36 +0100)]
re PR middle-end/35130 (OpenMP: Private variable passed to subroutine)
PR middle-end/35130
* tree-nested.c (convert_call_expr): Put FRAME.* vars into
OMP_CLAUSE_SHARED rather than OMP_CLAUSE_FIRSTPRIVATE clause.
* testsuite/libgomp.fortran/pr35130.f90: New test.
* testsuite/libgomp.c/pr35130.c: New test.
From-SVN: r132349
Douglas Gregor [Fri, 15 Feb 2008 17:33:02 +0000 (17:33 +0000)]
re PR c++/35023 (ICE with parameter pack in variable declaration)
2008-02-15 Douglas Gregor <doug.gregor@gmail.com>
PR c++/35023
PR c++/35024
PR c++/35026
* pt.c (finish_member_template_decl): If the type in a TYPE_DECL
is error_mark_node, return an error early.
(find_parameter_packs_r): Pass the pointer set along to recursive
calls of cp_walk_subtrees; don't try to manage the pointer set
ourselves.
(uses_parameter_packs): Pass the pointer set to cp_walk_tree.
(make_pack_expansion): Ditto.
(check_for_bare_parameter_packs): Ditto. Also, don't bother taking
a second pass through the tree with find_parameter_packs_r; that
second pass no longer does anything.
(push_template_decl_real): If we have an erroneous declaration,
set its type to error_mark_node before returning an error.
2008-02-15 Douglas Gregor <doug.gregor@gmail.com>
PR c++/35023
PR c++/35024
PR c++/35026
* g++.dg/cpp0x/vt-35026.C: New.
* g++.dg/cpp0x/vt-35023.C: New.
* g++.dg/cpp0x/vt-34055.C: Tweak expected error messages.
* g++.dg/cpp0x/vt-35024.C: New.
From-SVN: r132348
Uros Bizjak [Fri, 15 Feb 2008 16:46:45 +0000 (17:46 +0100)]
va-arg-25.x: Remove.
* gcc.c-torture/execute/va-arg-25.x: Remove.
From-SVN: r132347
Richard Guenther [Fri, 15 Feb 2008 15:24:19 +0000 (15:24 +0000)]
re PR tree-optimization/35164 (Unable to coalesce ab SSA_NAMEs)
2008-02-15 Richard Guenther <rguenther@suse.de>
Zdenek Dvorak <ook@ucw.cz>
PR tree-optimization/35164
* tree-flow.h (stmt_references_abnormal_ssa_name): Declare.
* tree-dfa.c (stmt_references_abnormal_ssa_name): New function.
* tree-ssa-forwprop.c (tree_ssa_forward_propagate_single_use_vars):
Only propagate addresses which do not have abnormal SSA_NAMEs
in their operands.
* g++.dg/torture/pr35164-1.C: New testcase.
* g++.dg/torture/pr35164-2.C: Likewise.
Co-Authored-By: Zdenek Dvorak <ook@ucw.cz>
From-SVN: r132345
Dominique d'Humieres [Fri, 15 Feb 2008 14:33:57 +0000 (15:33 +0100)]
re PR target/35119 (FAIL: g++.dg/template/spec35.C scan-assembler)
PR testsuite/35119
* testsuite/g++.dg/template/spec35.C
Change the regular expressions in dg-final to match the assembly
code generated by Darwin 9.
From-SVN: r132344
Uros Bizjak [Fri, 15 Feb 2008 14:17:41 +0000 (15:17 +0100)]
pragma-pop_macro-1.c: Fix dg-do directive.
* gcc.dg/cpp/pragma-pop_macro-1.c: Fix dg-do directive.
From-SVN: r132343
Andreas Tobler [Fri, 15 Feb 2008 14:08:59 +0000 (14:08 +0000)]
re PR testsuite/35208 (Please apply the patch in comment #19 of PR35035)
2008-02-15 Andreas Tobler <a.tobler@schweiz.org>
PR testsuite/35208
* testsuite/libjava.jvmti/interp/natgetstacktrace.cc
(Java_getstacktrace_natRunner): Increase the usleep time to a value
which prevents OS-X to get into a deadlock.
From-SVN: r132342
Joseph Myers [Fri, 15 Feb 2008 13:41:44 +0000 (13:41 +0000)]
re PR target/35088 (ICE: in def_cfa_1, at dwarf2out.c:804)
PR target/35088
* config/m68k/m68k.h (DWARF_CIE_DATA_ALIGNMENT): Define.
From-SVN: r132341
Uros Bizjak [Fri, 15 Feb 2008 12:19:00 +0000 (13:19 +0100)]
pr35160.c: Skip if !nonpic for 32bit x86 targets.
* gcc.target/i386/pr35160.c: Skip if !nonpic for 32bit x86 targets.
From-SVN: r132339
Jan Hubicka [Fri, 15 Feb 2008 11:15:48 +0000 (12:15 +0100)]
re PR middle-end/35149 (ICE: in expand_call_inline, at tree-inline.c:2653)
PR middle-end/35149
* ipa.c (cgraph_remove_unreachable_nodes): Clear local.inlinable flag.
From-SVN: r132337
Uros Bizjak [Fri, 15 Feb 2008 09:55:36 +0000 (10:55 +0100)]
re PR middle-end/34621 (gcc.c-torture/execute/va-arg-25.c:32: internal compiler error: in expand_call, at calls.c:2785)
PR middle-end/34621
* function.c (pad_to_arg_alignment): Remove test for STACK_BOUNDARY
when calculating alignment_pad.
From-SVN: r132336
Hans-Peter Nilsson [Fri, 15 Feb 2008 09:09:47 +0000 (09:09 +0000)]
* testsuite/config/default.exp: Load gcc dejapatches.exp.
From-SVN: r132335
Hans-Peter Nilsson [Fri, 15 Feb 2008 09:08:32 +0000 (09:08 +0000)]
* lib/dejapatches.exp: New file.
From-SVN: r132334
Uros Bizjak [Fri, 15 Feb 2008 08:12:02 +0000 (09:12 +0100)]
i386.h (CLEAR_RATIO): Use MIN macro.
* config/i386/i386.h (CLEAR_RATIO): Use MIN macro.
(WIDEST_HARDWARE_FP_SIZE): Use LONG_DOUBLE_TYPE_SIZE define.
* config/i386/darwin.h (PREFERRED_STACK_BOUNDARY): Use MAX macro
and STACK_BOUNDARY define.
From-SVN: r132333
Ralf Wildenhues [Fri, 15 Feb 2008 05:50:37 +0000 (05:50 +0000)]
* check_warning_flags.sh: New file.
From-SVN: r132332
Douglas Gregor [Fri, 15 Feb 2008 03:09:18 +0000 (03:09 +0000)]
re PR c++/34050 (ICE derived classes and variadic templates)
2008-02-14 Douglas Gregor <doug.gregor@gmail.com>
PR c++/34050
* pt.c (tsubst_initializer_list): Deal with the use of
VOID_TYPE_NODE to indicate value-initialization of the bases.
2008-02-14 Douglas Gregor <doug.gregor@gmail.com>
PR c++/34050
* g++.dg/cpp0x/vt-34050.C: New.
From-SVN: r132331
GCC Administrator [Fri, 15 Feb 2008 00:17:23 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r132328
Manuel López-Ibáñez [Thu, 14 Feb 2008 23:11:04 +0000 (18:11 -0500)]
re PR c++/5645 (gcc warns that pure virtual class not explicitly initialized)
PR c++/5645
PR c++/11159
* class.c (type_has_user_nondefault_constructor): New fn.
* cp-tree.h: Declare it.
* init.c (emit_mem_initializers): Use it for -W warning about
missing base initializer.
Co-Authored-By: Jason Merrill <jason@redhat.com>
From-SVN: r132324
Danny Smith [Thu, 14 Feb 2008 21:41:40 +0000 (21:41 +0000)]
re PR preprocessor/35061 (#pragma pop_macro causes ICE if no macro value on stack)
PR preprocessor/35061
gcc
* c-pragma.c (handle_pragma_pop_macro): Check that
pushed_macro_table has been allocated.
testsuite
* gcc.dg/cpp/pragma_pop_macro-1.c: New file
From-SVN: r132322
Kaveh R. Ghazi [Thu, 14 Feb 2008 21:41:20 +0000 (21:41 +0000)]
14320-1.cc: Check for "long long" and remove XFAIL.
* testsuite/27_io/fpos/14320-1.cc: Check for "long long" and
remove XFAIL.
From-SVN: r132321
Eric Botcazou [Thu, 14 Feb 2008 19:07:38 +0000 (19:07 +0000)]
re PR middle-end/35136 (ICE caused by address calculation with loop variable when optimization is on)
PR middle-end/35136
* gimplify.c (force_gimple_operand_bsi): Revert 2008-02-12 change.
(force_gimple_operand): Likewise.
* tree-ssa-loop-ivopts.c (may_be_nonaddressable_p): Add new cases
for TARGET_MEM_REF and CONVERT_EXPR/NON_LVALUE_EXPR/NOP_EXPR.
Also recurse on the operand for regular VIEW_CONVERT_EXPRs.
(find_interesting_uses_address): Check addressability and alignment
of the base expression only after substituting bases of IVs into it.
From-SVN: r132320
Benjamin Kosnik [Thu, 14 Feb 2008 17:03:02 +0000 (17:03 +0000)]
error_constants.h (posix_errno): Guard not_supported use of ENOTSUP.
2008-02-14 Benjamin Kosnik <bkoz@redhat.com>
* config/os/generic/error_constants.h (posix_errno): Guard
not_supported use of ENOTSUP.
* acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Add check for ENOTSUP
for OpenBSD.
* aclocal.m4: Regenerate.
* configure: Rengerate.
* config.h.in: Same.
From-SVN: r132319
Michael Matz [Thu, 14 Feb 2008 12:54:30 +0000 (12:54 +0000)]
re PR target/34930 (ICE in instantiate_virtual_regs_in_insn with vector splat load)
PR target/34930
* function.c (instantiate_virtual_regs_in_insn): Reload address
before falling back to reloading the whole operand.
From-SVN: r132317
Paolo Carlini [Thu, 14 Feb 2008 12:34:42 +0000 (12:34 +0000)]
re PR c++/28743 (ICE with invalid specialization)
/cp
2008-02-14 Paolo Carlini <pcarlini@suse.de>
PR c++/28743
* pt.c (determine_specialization): In case of function templates,
when the type of DECL does not match FN there is no match.
/testsuite
2008-02-14 Paolo Carlini <pcarlini@suse.de>
PR c++/28743
* g++.dg/template/nontype17.C: New.
* g++.dg/template/nontype16.C: Add error.
From-SVN: r132316
Andreas Krebbel [Thu, 14 Feb 2008 08:40:40 +0000 (08:40 +0000)]
s390.c (s390_mainpool_start): Emit the pool before the first section switch note.
2008-02-14 Andreas Krebbel <krebbel1@de.ibm.com>
* config/s390/s390.c (s390_mainpool_start): Emit the pool
before the first section switch note.
From-SVN: r132315
Ralf Wildenhues [Thu, 14 Feb 2008 04:56:34 +0000 (04:56 +0000)]
bugreport.texi: Update copyright years.
* doc/bugreport.texi: Update copyright years.
* doc/c-tree.texi: Likewise.
* doc/cfg.texi: Likewise.
* doc/cpp.texi: Likewise.
* doc/cppinternals.texi: Likewise.
* doc/fragments.texi: Likewise.
* doc/frontends.texi: Likewise.
* doc/gcc.texi: Likewise.
* doc/gty.texi: Likewise.
* doc/hostconfig.texi: Likewise.
* doc/implement-c.texi: Likewise.
* doc/libgcc.texi: Likewise.
* doc/loop.texi: Likewise.
* doc/makefile.texi: Likewise.
* doc/options.texi: Likewise.
* doc/passes.texi: Likewise.
* doc/rtl.texi: Likewise.
* doc/sourcebuild.texi: Likewise.
* doc/standards.texi: Likewise.
* doc/tree-ssa.texi: Likewise.
* doc/trouble.texi: Likewise.
From-SVN: r132313
Ralf Wildenhues [Thu, 14 Feb 2008 04:54:32 +0000 (04:54 +0000)]
extend.texi: Use @: or add comma where appropriate.
* doc/extend.texi: Use @: or add comma where appropriate.
* doc/invoke.texi: Likewise.
* doc/tm.texi: Likewise.
From-SVN: r132312
GCC Administrator [Thu, 14 Feb 2008 00:17:10 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r132308
Alan Modra [Thu, 14 Feb 2008 00:14:45 +0000 (00:14 +0000)]
re PR target/34393 (ICE: in extract_insn, at recog.c:1990)
PR target/34393
* config/rs6000/rs6000.md (restore_stack_block): Force operands[1]
to a reg.
From-SVN: r132304
Benjamin Kosnik [Wed, 13 Feb 2008 23:34:10 +0000 (23:34 +0000)]
mainpage.html: Correct links.
2008-02-13 Benjamin Kosnik <bkoz@redhat.com>
* doc/doxygen/mainpage.html: Correct links.
From-SVN: r132302
Jesper Nilsson [Wed, 13 Feb 2008 23:32:57 +0000 (23:32 +0000)]
md.texi (clz, ctz): Add reference.
2008-02-14 Jesper Nilsson <jesper.nilsson@axis.com>
* doc/md.texi (clz, ctz): Add reference.
* doc/rtl.texi (clz, ctz): Likewise.
From-SVN: r132301
Michael Matz [Wed, 13 Feb 2008 23:02:08 +0000 (23:02 +0000)]
Fix compile on 64bit platforms.
From-SVN: r132300
Jakub Jelinek [Wed, 13 Feb 2008 22:30:43 +0000 (23:30 +0100)]
re PR c++/35138 (g++ rejects valid code)
PR c++/35138
* parser.c (cp_parser_pseudo_destructor_name): If next tokens
are not identifier :: ~, return before calling cp_parser_type_name.
* g++.dg/template/member8.C: New test.
Co-Authored-By: Manuel López-Ibáñez <manu@gcc.gnu.org>
From-SVN: r132298
Jason Merrill [Wed, 13 Feb 2008 21:27:16 +0000 (16:27 -0500)]
PR c++/34962, c++/34937, c++/34939
PR c++/34962, c++/34937, c++/34939
* decl2.c (is_late_template_attribute): Always defer attributes
vector_size and weak.
From-SVN: r132297
Ralf Wildenhues [Wed, 13 Feb 2008 19:27:34 +0000 (19:27 +0000)]
re PR other/35148 (make pdf has missing file in 4.3-
20080208)
PR other/35148
* Makefile.in (gcc-vers.texi): Use abs_srcdir for the value of
srcdir.
From-SVN: r132295
Joel Sherrill [Wed, 13 Feb 2008 19:04:53 +0000 (19:04 +0000)]
re PR ada/35143 (Serious regression on ACATS results since 4.2.3)
2008-02-11 Joel Sherrill <joel.sherrill@oarcorp.com>
PR ada/35143
* env.c: Add __rtems__ to if defined.
* s-osinte-rtems.adb: Add To_Target_Priority. Fix formatting.
* s-osinte-rtems.ads: Add To_Target_Priority prototype and
PTHREAD_SCOPE_PROCESS/PTHREAD_SCOPE_SYSTEM constants. Add
pragma Convention as required.
* gsocket.h: Make compile in and out of RTS.
* Makefile.in: Add system-rtems.ads. Build DEC extensions.
Use g-soccon-rtems.ads.
* g-soccon-rtems.ads, system-rtems.ads: New files.
From-SVN: r132294
Ralf Wildenhues [Wed, 13 Feb 2008 18:50:56 +0000 (18:50 +0000)]
* MAINTAINERS (Write After Approval): Add myself.
From-SVN: r132293
Michael Matz [Wed, 13 Feb 2008 16:16:17 +0000 (16:16 +0000)]
* gcc.dg/pr35065.c: Fix testcase warnings.
From-SVN: r132288
Andreas Krebbel [Wed, 13 Feb 2008 16:00:21 +0000 (16:00 +0000)]
s390.c (struct constant_pool): New field emit_pool_after added.
2008-02-13 Andreas Krebbel <krebbel1@de.ibm.com>
* config/s390/s390.c (struct constant_pool): New field
emit_pool_after added.
(s390_mainpool_start): Set the emit_pool_after flag according
to the section switch notes.
(s390_mainpool_finish): Consider emit_pool_after when emitting
the literal pool at the end of the function.
(s390_chunkify_start): Force literal pool splits at section
switch notes.
From-SVN: r132287
Michael Matz [Wed, 13 Feb 2008 14:53:59 +0000 (14:53 +0000)]
re PR debug/35065 (infinite loop while compiling VLC media player in vt_find_locations)
PR debug/35065
* var-tracking.c (clobber_variable_part): Correctly traverse the
list.
* gcc.dg/pr35065.c: New testcase.
From-SVN: r132286
Manuel López-Ibáñez [Wed, 13 Feb 2008 11:15:51 +0000 (11:15 +0000)]
re PR middle-end/29673 (no -fdump-tree-inlined output)
2008-02-13 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
PR 29673
* doc/invoke.texi (Debugging Options): Remove -fdump-tree-inlined.
Add -fdump-ipa-inline.
* tree-dump.c (dump_files): Remove tree-inlined dump.
* tree-pass.h (tree_dump_index): Remove TDI_inlined.
From-SVN: r132284
Jason Merrill [Wed, 13 Feb 2008 07:08:11 +0000 (02:08 -0500)]
re PR c++/34774 (templates, enumerations, overflow, ice)
PR c++/34774
* pt.c (value_dependent_expression_p): Look into DECL_INITIAL
of enumerators, too.
From-SVN: r132283
Jason Merrill [Wed, 13 Feb 2008 04:06:03 +0000 (23:06 -0500)]
re PR c++/34824 (ICE with explicit copy constructor)
PR c++/34824
* call.c (convert_like_real): Pass LOOKUP_ONLYCONVERTING to build_temp
if we're doing conversions to call a user-defined conversion function.
From-SVN: r132282
GCC Administrator [Wed, 13 Feb 2008 00:17:19 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r132280
Richard Guenther [Tue, 12 Feb 2008 21:29:39 +0000 (21:29 +0000)]
re PR tree-optimization/35171 (ICE in vect_recog_dot_prod_pattern)
2008-02-12 Richard Guenther <rguenther@suse.de>
PR tree-optimization/35171
* tree-vect-patterns.c (vect_recog_dot_prod_pattern): Deal with
default defs.
* gcc.c-torture/compile/pr35171.c: New testcase.
From-SVN: r132270
Richard Guenther [Tue, 12 Feb 2008 21:26:49 +0000 (21:26 +0000)]
re PR middle-end/35163 (folding comparison loses cast)
2008-02-12 Richard Guenther <rguenther@suse.de>
PR middle-end/35163
* fold-const.c (fold_widened_comparison): Use get_unwidened in
value-preserving mode. Disallow final truncation.
* gcc.c-torture/execute/pr35163.c: New testcase.
From-SVN: r132269
Uros Bizjak [Tue, 12 Feb 2008 21:04:44 +0000 (22:04 +0100)]
* gcc.target/i386/asm-3.c: Fix dg-skip-if for all 32bit PIC targets.
From-SVN: r132268
Eric Botcazou [Tue, 12 Feb 2008 20:49:21 +0000 (20:49 +0000)]
re PR middle-end/35136 (ICE caused by address calculation with loop variable when optimization is on)
PR middle-end/35136
* gimplify.c (force_gimple_operand_bsi): Move SSA renaming code from
here to...
(force_gimple_operand): ...here.
From-SVN: r132267
Kaveh R. Ghazi [Tue, 12 Feb 2008 19:54:56 +0000 (19:54 +0000)]
bitfield-1.mm: Expect failures.
* obj-c++.dg/bitfield-1.mm: Expect failures.
* obj-c++.dg/bitfield-4.mm: Likewise.
* obj-c++.dg/cxx-ivars-2.mm: Likewise.
* obj-c++.dg/encode-8.mm: Likewise.
* obj-c++.dg/isa-field-1.mm: Likewise.
* obj-c++.dg/layout-1.mm: Likewise.
* obj-c++.dg/lookup-2.mm: Likewise.
* obj-c++.dg/try-catch-2.mm: Likewise.
* obj-c++.dg/try-catch-9.mm: Likewise.
From-SVN: r132266
Jason Merrill [Tue, 12 Feb 2008 19:25:28 +0000 (14:25 -0500)]
re PR c++/29048 ("`x' is private" error duplicated when scope specified)
PR c++/29048
* semantics.c (finish_qualified_id_expr): Avoid duplicate access
check here, too.
From-SVN: r132265
Jakub Jelinek [Tue, 12 Feb 2008 18:35:05 +0000 (19:35 +0100)]
re PR c++/35144 (ICE in generate_element_copy)
PR c++/35144
* tree-sra.c (sra_build_assignment): fold_convert SRC if copying
non-compatible pointers.
(generate_element_copy): If SRC and DST are RECORD_TYPEs with
different FIELD_DECLs, try harder by comparing field offsets, sizes
and types.
* g++.dg/tree-ssa/pr35144.C: New test.
From-SVN: r132264
Jakub Jelinek [Tue, 12 Feb 2008 18:31:53 +0000 (19:31 +0100)]
re PR inline-asm/35160 (local-alloc introduces sharing of the same pseudo/hard reg between different output regs in inline asm)
PR inline-asm/35160
* function.c (match_asm_constraints_1): Don't replace the same input
multiple times.
* gcc.target/i386/pr35160.c: New test.
From-SVN: r132263
Bjoern Koenig [Tue, 12 Feb 2008 17:42:21 +0000 (17:42 +0000)]
configure.ac: Add amd64-*-freebsd* target.
2008-02-12 Bjoern Koenig <bkoenig@alpha-tierchen.de>
Andreas Tobler <a.tobler@schweiz.org>
* configure.ac: Add amd64-*-freebsd* target.
* configure: Regenerate.
Co-Authored-By: Andreas Tobler <a.tobler@schweiz.org>
From-SVN: r132262
Steven Bosscher [Tue, 12 Feb 2008 17:26:34 +0000 (17:26 +0000)]
re PR c++/29048 ("`x' is private" error duplicated when scope specified)
PR c++/29048
* semantics.c (finish_qualified_id_expr): Avoid duplicate access
check here, too.
From-SVN: r132261
Jakub Jelinek [Tue, 12 Feb 2008 17:24:25 +0000 (18:24 +0100)]
Shouldn't be executable.
From-SVN: r132260
Jakub Jelinek [Tue, 12 Feb 2008 17:21:11 +0000 (18:21 +0100)]
Shouldn't be executable.
From-SVN: r132259
Jakub Jelinek [Tue, 12 Feb 2008 16:25:47 +0000 (17:25 +0100)]
re PR c++/34862 (operator new placement variant with reference arg not accepted by g++ 4.3)
PR c++/34862
* init.c (build_new_1): Don't create placement_expr before
constructing alloc_call. Verify that the pointer is passed by
value to operator new.
* g++.dg/init/new27.C: New test.
From-SVN: r132257
Jason Merrill [Tue, 12 Feb 2008 06:34:59 +0000 (01:34 -0500)]
re PR c++/35097 (ICE with attribute and template specialization)
PR c++/35097
* pt.c (tsubst): Don't look up a template typedef in an explicit
specialization.
From-SVN: r132253
Anatoly Sokolov [Tue, 12 Feb 2008 04:08:41 +0000 (07:08 +0300)]
avr.h (AVR_HAVE_RAMPZ): Define.
* config/avr/avr.h (AVR_HAVE_RAMPZ): Define.
* config/avr/avr.c (expand_prologue): Save RAMPZ register.
(expand_epilogue): Restore RAMPZ register.
* config/avr/avr.md (RAMPZ_ADDR): New constant.
From-SVN: r132252
Benjamin Kosnik [Tue, 12 Feb 2008 02:39:33 +0000 (02:39 +0000)]
*: Populate with regenerated files.
2008-02-11 Benjamin Kosnik <bkoz@redhat.com>
* doc/html/*: Populate with regenerated files.
From-SVN: r132251
Benjamin Kosnik [Tue, 12 Feb 2008 02:35:48 +0000 (02:35 +0000)]
*: Remove all but contents of ext/pb_ds.
2008-02-11 Benjamin Kosnik <bkoz@redhat.com>
* doc/html/*: Remove all but contents of ext/pb_ds.
* doc/html/index.html: New.
* doc/html/README: New.
From-SVN: r132250
Benjamin Kosnik [Tue, 12 Feb 2008 02:10:57 +0000 (02:10 +0000)]
mainpage.html: Add in corrected links.
2008-02-11 Benjamin Kosnik <bkoz@redhat.com>
* doc/doxygen/mainpage.html: Add in corrected links.
* README: Edit, move most into...
* doc/xml/manual/appendix_contributing.xml (Directory Layout): ...here.
(Documentation Style): Revise.
* doc/xml/spine.xml: Edit file names.
* doc/Makefile.am: Edit xml_sources.
* doc/Makefile.in: Regenerate.
From-SVN: r132249
GCC Administrator [Tue, 12 Feb 2008 00:17:29 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r132247
George Helffrich [Mon, 11 Feb 2008 19:47:23 +0000 (19:47 +0000)]
* MAINTAINERS (Write After Approval): Add myself.
From-SVN: r132243
Douglas Gregor [Mon, 11 Feb 2008 18:58:16 +0000 (18:58 +0000)]
re PR c++/35113 (g++.dg/ext/vector13.C doesn't work)
2008-02-11 Douglas Gregor <doug.gregor@gmail.com>
PR c++/35113
* tree.c (cp_build_qualified_type_real): When building a
cv-qualified array type, build it as a unique type with
build_cplus_array_type_1 and then adopt the unqualified type's
main variant.
From-SVN: r132242
Bob Wilson [Mon, 11 Feb 2008 17:53:16 +0000 (17:53 +0000)]
xtensa-config.h (XCHAL_HAVE_THREADPTR): Redefine to zero.
* xtensa-config.h (XCHAL_HAVE_THREADPTR): Redefine to zero.
(XCHAL_NUM_AREGS, XCHAL_MAX_INSTRUCTION_SIZE): New.
From-SVN: r132240
Uros Bizjak [Mon, 11 Feb 2008 14:10:34 +0000 (15:10 +0100)]
ChangeLog: Move entry from here ...
* ChangeLog: Move entry from here ...
* gcc/ChangeLog: ... to here.
From-SVN: r132239
Paolo Carlini [Mon, 11 Feb 2008 10:05:33 +0000 (10:05 +0000)]
configure: Regenerate with documented autoconf and automake versions (i.e., 2.59 and 1.9.6).
2008-02-11 Paolo Carlini <pcarlini@suse.de>
* configure: Regenerate with documented autoconf and automake
versions (i.e., 2.59 and 1.9.6).
* Makefile.in: Likewise.
* src/Makefile.in: Likewise.
* doc/Makefile.in: Likewise.
* po/Makefile.in: Likewise.
* libmath/Makefile.in: Likewise.
* include/Makefile.in: Likewise.
* libsupc++/Makefile.in: Likewise.
* testsuite/Makefile.in: Likewise.
* aclocal.m4: Likewise.
From-SVN: r132238
Paolo Carlini [Mon, 11 Feb 2008 09:28:48 +0000 (09:28 +0000)]
re PR c++/35077 (ICE with attribute in broken class declaration)
cp/
2008-02-11 Paolo Carlini <pcarlini@suse.de>
PR c++/35077
* decl.c (groktypename): Check grokdeclarator return.
testsuite/
2008-02-11 Paolo Carlini <pcarlini@suse.de>
PR c++/35077
* g++.dg/template/crash78.C: New.
From-SVN: r132237
Kai Tietz [Mon, 11 Feb 2008 09:02:06 +0000 (09:02 +0000)]
[patch i386]: For target x86_64-pc-mingw32 _alloca and
_stkchk may corrupts stack alignment.
From-SVN: r132236
Uros Bizjak [Mon, 11 Feb 2008 08:54:33 +0000 (09:54 +0100)]
re PR testsuite/35047 (some vectorisation tests fail with --with-arch=core2 or on i386-apple-darwin8.11.1)
PR testsuite/35047
* gcc.dg/compat/vector-2_x.c: Add -mno-mmx for x86 targets.
* gcc.dg/compat/vector-2_y.c: Ditto.
Co-Authored-By: Richard Guenther <rguenther@suse.de>
From-SVN: r132235
Uros Bizjak [Mon, 11 Feb 2008 08:27:00 +0000 (09:27 +0100)]
re PR tree-optimization/33992 (Miscompiles function with inlining, breaks profiledbootstrap)
2008-02-11 Uros Bizjak <ubizjak@gmail.com>
Richard Guenther <rguenther@suse.de>
PR tree-optimization/33992
* tree-ssa-loop-im.c (rewrite_bittest): Fixup the type of
the zero we compare against.
* gcc.c-torture/execute/pr33992.c: New testcase.
Co-Authored-By: Richard Guenther <rguenther@suse.de>
From-SVN: r132234
GCC Administrator [Mon, 11 Feb 2008 00:17:14 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r132230
Benjamin Kosnik [Mon, 11 Feb 2008 00:02:11 +0000 (00:02 +0000)]
Convert documentation to DocBook.
2008-02-10 Benjamin Kosnik <bkoz@redhat.com>
Convert documentation to DocBook.
* doc/Makefile.am (doc-doxygen-html): Changed to doc-html-doxygen.
(doc-doxygen-man): Changed to doc-man-doxygen.
(doc-performance): Changed to doc-html-performance.
(doc-xml-doxygen): New.
(doc-xml-single): New.
(doc-xml-validate): New.
(doc-html): New.
(doc-html-single): New.
(doc-fo): New.
(doc-pdf): New.
(doc-pdf-fop-xml): New.
(doc-pdf-fop-fo): New.
(doc-pdf-xmlto): New.
(doc-pdf-xmlroff): New.
(doc-pdf-prince): New.
* doc/xml: New directory.
* doc/xml/authors.xml: New.
* doc/xml/images: New directory.
* doc/xml/images/confdeps.png: Add.
* doc/xml/images/confdeps.dot: Add.
* doc/xml/faq.xml: New.
* doc/xml/api.xml: New.
* doc/xml/gnu: New directory.
* doc/xml/gnu/gpl-3.0.xml: New.
* doc/xml/gnu/fdl-1.2.xml: New.
* doc/xml/gnu/gpl-2.0.xml: New.
* doc/xml/manual: New directory.
* doc/xml/manual/mt_allocator.xml: New.
* doc/xml/manual/allocator.xml: New.
* doc/xml/manual/ctype.xml: New.
* doc/xml/manual/numerics.xml: New.
* doc/xml/manual/codecvt.xml: New.
* doc/xml/manual/concurrency.xml: New.
* doc/xml/manual/backwards_compatibility.xml: New.
* doc/xml/manual/intro.xml: New.
* doc/xml/manual/shared_ptr.xml: New.
* doc/xml/manual/abi.xml: New.
* doc/xml/manual/status_cxxtr1.xml: New.
* doc/xml/manual/auto_ptr.xml: New.
* doc/xml/manual/build.xml: New.
* doc/xml/manual/internals.xml: New.
* doc/xml/manual/parallel_mode.xml: New.
* doc/xml/manual/status_cxx1998.xml: New.
* doc/xml/manual/containers.xml: New.
* doc/xml/manual/io.xml: New.
* doc/xml/manual/appendix_porting.xml: New.
* doc/xml/manual/utilities.xml: New.
* doc/xml/manual/bitmap_allocator.xml: New.
* doc/xml/manual/support.xml: New.
* doc/xml/manual/configure.xml: New.
* doc/xml/manual/build_hacking.xml: New.
* doc/xml/manual/evolution.xml: New.
* doc/xml/manual/using.xml: New.
* doc/xml/manual/debug.xml: New.
* doc/xml/manual/localization.xml: New.
* doc/xml/manual/strings.xml: New.
* doc/xml/manual/debug_mode.xml: New.
* doc/xml/manual/locale.xml: New.
* doc/xml/manual/extensions.xml: New.
* doc/xml/manual/appendix_contributing.xml: New.
* doc/xml/manual/messages.xml: New.
* doc/xml/manual/diagnostics.xml: New.
* doc/xml/manual/appendix_free.xml: New.
* doc/xml/manual/algorithms.xml: New.
* doc/xml/manual/iterators.xml: New.
* doc/xml/manual/spine.xml: New.
* doc/xml/manual/test.xml: New.
* doc/xml/manual/status_cxx200x.xml: New.
* doc/xml/spine.xml: New.
* doc/xml/book.txml: New. Template file.
* doc/xml/chapter.txml: Same.
* doc/xml/class.txml: Same.
* doc/doxygen/guide.html: Removed, integrated into other docs.
* doc/doxygen/user.cfg.in: Clean up XML generation.
* doc/doxygen/run_doxygen: Move to..
* scripts/run_doxygen: ...here.
* configure: Regenerate.
* Makefile.in: Regenerate.
* src/Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.
* po/Makefile.in: Regenerate.
* libmath/Makefile.in: Regenerate.
* include/Makefile.in: Regenerate.
* libsupc++/Makefile.in: Regenerate.
* testsuite/Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
From-SVN: r132227
Benjamin Kosnik [Mon, 11 Feb 2008 00:01:33 +0000 (00:01 +0000)]
Convert documentation to DocBook.
2008-02-10 Benjamin Kosnik <bkoz@redhat.com>
Convert documentation to DocBook.
* doc/Makefile.am (doc-doxygen-html): Changed to doc-html-doxygen.
(doc-doxygen-man): Changed to doc-man-doxygen.
(doc-performance): Changed to doc-html-performance.
(doc-xml-doxygen): New.
(doc-xml-single): New.
(doc-xml-validate): New.
(doc-html): New.
(doc-html-single): New.
(doc-fo): New.
(doc-pdf): New.
(doc-pdf-fop-xml): New.
(doc-pdf-fop-fo): New.
(doc-pdf-xmlto): New.
(doc-pdf-xmlroff): New.
(doc-pdf-prince): New.
* doc/xml: New directory.
* doc/xml/authors.xml: New.
* doc/xml/images: New directory.
* doc/xml/images/confdeps.png: Add.
* doc/xml/images/confdeps.dot: Add.
* doc/xml/faq.xml: New.
* doc/xml/api.xml: New.
* doc/xml/gnu: New directory.
* doc/xml/gnu/gpl-3.0.xml: New.
* doc/xml/gnu/fdl-1.2.xml: New.
* doc/xml/gnu/gpl-2.0.xml: New.
* doc/xml/manual: New directory.
* doc/xml/manual/mt_allocator.xml: New.
* doc/xml/manual/allocator.xml: New.
* doc/xml/manual/ctype.xml: New.
* doc/xml/manual/numerics.xml: New.
* doc/xml/manual/codecvt.xml: New.
* doc/xml/manual/concurrency.xml: New.
* doc/xml/manual/backwards_compatibility.xml: New.
* doc/xml/manual/intro.xml: New.
* doc/xml/manual/shared_ptr.xml: New.
* doc/xml/manual/abi.xml: New.
* doc/xml/manual/status_cxxtr1.xml: New.
* doc/xml/manual/auto_ptr.xml: New.
* doc/xml/manual/build.xml: New.
* doc/xml/manual/internals.xml: New.
* doc/xml/manual/parallel_mode.xml: New.
* doc/xml/manual/status_cxx1998.xml: New.
* doc/xml/manual/containers.xml: New.
* doc/xml/manual/io.xml: New.
* doc/xml/manual/appendix_porting.xml: New.
* doc/xml/manual/utilities.xml: New.
* doc/xml/manual/bitmap_allocator.xml: New.
* doc/xml/manual/support.xml: New.
* doc/xml/manual/configure.xml: New.
* doc/xml/manual/build_hacking.xml: New.
* doc/xml/manual/evolution.xml: New.
* doc/xml/manual/using.xml: New.
* doc/xml/manual/debug.xml: New.
* doc/xml/manual/localization.xml: New.
* doc/xml/manual/strings.xml: New.
* doc/xml/manual/debug_mode.xml: New.
* doc/xml/manual/locale.xml: New.
* doc/xml/manual/extensions.xml: New.
* doc/xml/manual/appendix_contributing.xml: New.
* doc/xml/manual/messages.xml: New.
* doc/xml/manual/diagnostics.xml: New.
* doc/xml/manual/appendix_free.xml: New.
* doc/xml/manual/algorithms.xml: New.
* doc/xml/manual/iterators.xml: New.
* doc/xml/manual/spine.xml: New.
* doc/xml/manual/test.xml: New.
* doc/xml/manual/status_cxx200x.xml: New.
* doc/xml/spine.xml: New.
* doc/xml/book.txml: New. Template file.
* doc/xml/chapter.txml: Same.
* doc/xml/class.txml: Same.
* doc/doxygen/guide.html: Removed, integrated into other docs.
* doc/doxygen/user.cfg.in: Clean up XML generation.
* doc/doxygen/run_doxygen: Move to..
* scripts/run_doxygen: ...here.
* configure: Regenerate.
* Makefile.in: Regenerate.
* src/Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.
* po/Makefile.in: Regenerate.
* libmath/Makefile.in: Regenerate.
* include/Makefile.in: Regenerate.
* libsupc++/Makefile.in: Regenerate.
* testsuite/Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
From-SVN: r132226
Thomas Koenig [Sun, 10 Feb 2008 20:03:11 +0000 (20:03 +0000)]
streamio_14.f90: New test.
2008-02-10 Thomas Koenig <tkoenig@gcc.gnu.org>
* gfortran.dg/streamio_14.f90: New test.
From-SVN: r132220
Jason Merrill [Sun, 10 Feb 2008 18:12:01 +0000 (13:12 -0500)]
re PR c++/34094 (Undefined static data member in anonymous namespace can acquire a definition anyway)
PR c++/34094
* decl2.c (cp_write_global_declarations): Don't write out static
data members with DECL_IN_AGGR_P set.
From-SVN: r132218
Jerry DeLisle [Sun, 10 Feb 2008 18:06:34 +0000 (18:06 +0000)]
[multiple changes]
2008-02-10 Danny Smith <dannysmith@users.sourceforge.net>
PR gcc/35063
* gthr-win32.h (__gthread_mutex_destroy_function): New function
to CloseHandle after unlocking to prevent accumulation of handle
count.
2008-02-10 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libfortran/35063
* io/unit.c (destroy_unit_mutex): New function that uses
__gthread_mutex_destroy_function or pthread_mutex_destroy after
unlocking and before free_mem for final closure of I/O unit.
(delete_root): Use new function.
(free_internal_unit): Likewise.
(close_unit_1): Likewise.
From-SVN: r132217
Uros Bizjak [Sun, 10 Feb 2008 16:25:37 +0000 (17:25 +0100)]
pr17390.c: Remove ilp32 target requirement.
* gcc.target/i386/pr17390.c: Remove ilp32 target requirement.
Add -mfpmath=387 to dg-options.
From-SVN: r132216
Uros Bizjak [Sun, 10 Feb 2008 16:06:56 +0000 (17:06 +0100)]
re PR testsuite/35047 (some vectorisation tests fail with --with-arch=core2 or on i386-apple-darwin8.11.1)
PR testsuite/35047
* gcc.dg/tree-ssa/gen-vect-2.c: Add -mno-sse for x86 targets.
* gcc.dg/tree-ssa/gen-vect-11.c: Ditto.
* gcc.dg/tree-ssa/gen-vect-11a.c: Ditto.
* gcc.dg/tree-ssa/gen-vect-11b.c: Ditto.
* gcc.dg/tree-ssa/gen-vect-11c.c: Ditto.
* gcc.dg/tree-ssa/gen-vect-25.c: Ditto.
* gcc.dg/tree-ssa/gen-vect-26.c: Ditto.
* gcc.dg/tree-ssa/gen-vect-28.c: Ditto.
* gcc.dg/tree-ssa/gen-vect-32.c: Ditto.
From-SVN: r132215
Paolo Carlini [Sun, 10 Feb 2008 15:48:10 +0000 (15:48 +0000)]
re PR libstdc++/16251 (bogus default constructor for std::basic_iostream)
2008-02-10 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/16251
* include/std/istream (basic_istream<>::basic_istream()): Call
this->init().
(basic_iostream<>::basic_iostream(basic_streambuf<>*)): Don't
do it here, per 27.6.1.5.1/1.
* include/std/ostream (basic_ostream<>::basic_ostream()): Call
this->init().
* testsuite/27_io/basic_iostream/cons/16251.C: New.
* testsuite/27_io/basic_iostream/cons/2020.cc: Minor tweaks.
From-SVN: r132214
Daniel Franke [Sun, 10 Feb 2008 15:01:39 +0000 (10:01 -0500)]
re PR fortran/35019 (Gfortran does not support "-J <dir>" only "-J<dir>")
2008-02-10 Daniel Franke <franke.daniel@gmail.com>
fortran/PR35019
* lang.opt: Allow '-J<dir>' next to '-J <dir>',
likewise '-I <dir>' and '-I<dir>'.
From-SVN: r132213
Kaveh R. Ghazi [Sun, 10 Feb 2008 04:58:03 +0000 (04:58 +0000)]
re PR objc++/34193 (FAIL: obj-c++.dg/gnu-runtime-2.mm (test for excess errors))
PR objc++/34193
* obj-c++.dg/gnu-runtime-2.mm: Fix signature of function main().
From-SVN: r132211
GCC Administrator [Sun, 10 Feb 2008 00:17:18 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r132208
John David Anglin [Sat, 9 Feb 2008 20:34:47 +0000 (20:34 +0000)]
PR middle_end/34150
* pa.c (legitimize_pic_address): Add REG_EQUAL note on sets with a
pic_label_operand source. Similarly, add a REG_LABEL_OPERAND note
and update LABEL_NUSES during and after reload.
From-SVN: r132203
John David Anglin [Sat, 9 Feb 2008 14:52:30 +0000 (14:52 +0000)]
Add missing '*' to log entry.
From-SVN: r132200
Jason Merrill [Sat, 9 Feb 2008 03:40:14 +0000 (22:40 -0500)]
re PR c++/35116 (Fail to compile valid code)
PR c++/35116
* tree.c (build_target_expr_with_type): Handle void initializer.
(bot_manip): Remap slot before recursing.
From-SVN: r132197
Steven Bosscher [Sat, 9 Feb 2008 00:30:13 +0000 (00:30 +0000)]
re PR middle-end/34627 (Incorrect branching with -Ox on hppa)
PR middle-end/34627
combine.c (simplify_if_then_else): Make sure the comparison is
against const0_rtx when simplifying to (abs x) or (neg (abs X)).
From-SVN: r132193
GCC Administrator [Sat, 9 Feb 2008 00:17:33 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r132191