aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2008-02-18* BASE-VER: Set to 4.4.0.Jakub Jelinek2-1/+5
From-SVN: r132393
2008-02-18Daily bump.GCC Administrator1-1/+1
From-SVN: r132387
2008-02-17re PR ada/15479 (Ada manual problems)Ralf Wildenhues3-45/+59
gcc/ada/: PR documentation/15479 * gnat_ugn.texi: In non-code, avoid space before colon. (Regular Expressions in gnatfind and gnatxref): Fix indentation. (Examples of gnatxref Usage): Use @command{vi} instead of @file{vi}. (Character Set Control): Do not use @code for UTF-8. (Validity Checking): Fix typo "NaNs" instead of "NaN's". Do not use @code for IEEE. * gnat_rm.texi (Aggregates with static bounds): Fix typo in code sample. * gnat_rm.texi, gnat_ugn.texi: Fix typos. Bump copyright years. From-SVN: r132382
2008-02-17c-tree.texi: Use @dots{} and @enddots{} where appropriate.Ralf Wildenhues13-38/+53
* doc/c-tree.texi: Use @dots{} and @enddots{} where appropriate. * doc/cfg.texi: Likewise. * doc/extend.texi: Likewise. * doc/gty.texi: Likewise. * doc/invoke.texi: Likewise. * doc/loop.texi: Likewise. * doc/md.texi: Likewise. * doc/passes.texi: Likewise. * doc/rtl.texi: Likewise. * doc/sourcebuild.texi: Likewise. * doc/tm.texi: Likewise. * doc/tree-ssa.texi: Likewise. From-SVN: r132381
2008-02-17re PR middle-end/35227 (gcc ICEs for functions with unused complex argument)Richard Guenther4-7/+26
2008-02-17 Richard Guenther <rguenther@suse.de> PR middle-end/35227 * tree-complex.c (init_parameter_lattice_values): Handle parameters without default definition. * gcc.dg/torture/pr35227.c: New testcase. From-SVN: r132379
2008-02-17re PR tree-optimization/35231 (VRP miscompiles libX11)Richard Guenther4-1/+32
2008-02-17 Richard Guenther <rguenther@suse.de> PR tree-optimization/35231 * tree-vrp.c (register_edge_assert_for): Do not assume A == 0 if A | B != 1. * gcc.c-torture/execute/pr35231.c: New testcase. From-SVN: r132378
2008-02-17Revert:Uros Bizjak4-7/+21
2008-02-15 Uros Bizjak <ubizjak@gmail.com> * config/i386/sfp-machine.h (CMPtype): Define as typedef using libgcc_cmp_return mode. testsuite/ChangeLog: * gcc.target/i386/pr32268.c (test_lt): Add noinline attribute. (test_gt): Ditto. From-SVN: r132377
2008-02-17Daily bump.GCC Administrator1-1/+1
From-SVN: r132375
2008-02-16encode-2.mm: XFAIL.Kaveh R. Ghazi3-3/+8
* obj-c++.dg/encode-2.mm: XFAIL. * obj-c++.dg/encode-3.mm: Likewise. From-SVN: r132370
2008-02-16has_nothrow_assign.C: Skip some tests when __PIC__.Kaveh R. Ghazi4-0/+21
2008-02-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> Paolo Carlini <pcarlini@suse.de> * g++.dg/ext/has_nothrow_assign.C: Skip some tests when __PIC__. * g++.dg/ext/has_nothrow_constructor.C: Likewise. * g++.dg/ext/has_nothrow_copy.C: Likewise. Co-Authored-By: Paolo Carlini <pcarlini@suse.de> From-SVN: r132369
2008-02-16re PR c/28368 (-std=c89 doesn't warn about gcc's "?:" extension)Manuel López-Ibáñez2-19/+34
2008-02-16 Manuel Lopez-Ibanez <manu@gcc.gnu.org> PR c/28368 * doc/invoke.texi (-std): Clarify description of -std= and -ansi. From-SVN: r132367
2008-02-16re PR fortran/34952 (Document lack of support for ENCODE/DECODE)Francois-Xavier Coudert2-43/+220
PR fortran/34952 * gfortran.texi: Create new section for unimplemented extensions. Add "STRUCTURE and RECORD" and "ENCODE and DECODE statements". Remove "smaller projects" list. Fix a few typos. From-SVN: r132366
2008-02-16fastcall-sseregparm.c: Include sse-check.h.Uros Bizjak6-11/+36
* 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
2008-02-16t-rtems (M68K_MLIB_CPU): Add 5208, 5307, 5407, 5475 multilibs.Ralf Corsepius2-1/+10
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
2008-02-16c-tree.texi: Use `@.' where appropriate.Ralf Wildenhues11-43/+56
* 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
2008-02-16Daily bump.GCC Administrator1-1/+1
From-SVN: r132358
2008-02-15intrinsic.texi: Rename INDEX node to avoid clashing with index.html on ↵Francois-Xavier Coudert2-5/+10
case-insensitive systems. * intrinsic.texi: Rename INDEX node to avoid clashing with index.html on case-insensitive systems. From-SVN: r132355
2008-02-15trans-expr.c (gfc_conv_function_call): Force evaluation of se->expr.Francois-Xavier Coudert4-0/+50
* trans-expr.c (gfc_conv_function_call): Force evaluation of se->expr. * gfortran.dg/c_loc_tests_12.f03: New test. From-SVN: r132353
2008-02-15re PR middle-end/35196 (lastprivate broken for static non-ordered loops)Jakub Jelinek2-26/+18
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
2008-02-15sfp-machine.h (CMPtype): Define as typedef using libgcc_cmp_return mode.Uros Bizjak2-9/+14
* config/i386/sfp-machine.h (CMPtype): Define as typedef using libgcc_cmp_return mode. From-SVN: r132350
2008-02-15re PR middle-end/35130 (OpenMP: Private variable passed to subroutine)Jakub Jelinek2-1/+8
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
2008-02-15re PR c++/35023 (ICE with parameter pack in variable declaration)Douglas Gregor7-34/+80
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
2008-02-15va-arg-25.x: Remove.Uros Bizjak2-16/+7
* gcc.c-torture/execute/va-arg-25.x: Remove. From-SVN: r132347
2008-02-15re PR tree-optimization/35164 (Unable to coalesce ab SSA_NAMEs)Richard Guenther7-1/+134
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
2008-02-15re PR target/35119 (FAIL: g++.dg/template/spec35.C scan-assembler)Dominique d'Humieres2-4/+11
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
2008-02-15pragma-pop_macro-1.c: Fix dg-do directive.Uros Bizjak2-1/+5
* gcc.dg/cpp/pragma-pop_macro-1.c: Fix dg-do directive. From-SVN: r132343
2008-02-15re PR target/35088 (ICE: in def_cfa_1, at dwarf2out.c:804)Joseph Myers2-0/+7
PR target/35088 * config/m68k/m68k.h (DWARF_CIE_DATA_ALIGNMENT): Define. From-SVN: r132341
2008-02-15pr35160.c: Skip if !nonpic for 32bit x86 targets.Uros Bizjak2-2/+7
* gcc.target/i386/pr35160.c: Skip if !nonpic for 32bit x86 targets. From-SVN: r132339
2008-02-15re PR middle-end/35149 (ICE: in expand_call_inline, at tree-inline.c:2653)Jan Hubicka2-0/+6
PR middle-end/35149 * ipa.c (cgraph_remove_unreachable_nodes): Clear local.inlinable flag. From-SVN: r132337
2008-02-15re PR middle-end/34621 (gcc.c-torture/execute/va-arg-25.c:32: internal ↵Uros Bizjak2-3/+9
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
2008-02-15* lib/dejapatches.exp: New file.Hans-Peter Nilsson2-0/+39
From-SVN: r132334
2008-02-15i386.h (CLEAR_RATIO): Use MIN macro.Uros Bizjak4-12/+17
* 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
2008-02-15re PR c++/34050 (ICE derived classes and variadic templates)Douglas Gregor4-30/+62
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
2008-02-15Daily bump.GCC Administrator1-1/+1
From-SVN: r132328
2008-02-14re PR c++/5645 (gcc warns that pure virtual class not explicitly initialized)Manuel López-Ibáñez7-5/+108
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
2008-02-14re PR preprocessor/35061 (#pragma pop_macro causes ICE if no macro value on ↵Danny Smith4-3/+27
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
2008-02-14re PR middle-end/35136 (ICE caused by address calculation with loop variable ↵Eric Botcazou3-21/+48
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
2008-02-14re PR target/34930 (ICE in instantiate_virtual_regs_in_insn with vector ↵Michael Matz2-0/+20
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
2008-02-14re PR c++/28743 (ICE with invalid specialization)Paolo Carlini5-7/+24
/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
2008-02-14s390.c (s390_mainpool_start): Emit the pool before the first section switch ↵Andreas Krebbel2-9/+9
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
2008-02-14bugreport.texi: Update copyright years.Ralf Wildenhues22-22/+50
* 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
2008-02-14extend.texi: Use @: or add comma where appropriate.Ralf Wildenhues4-13/+19
* doc/extend.texi: Use @: or add comma where appropriate. * doc/invoke.texi: Likewise. * doc/tm.texi: Likewise. From-SVN: r132312
2008-02-14Daily bump.GCC Administrator1-1/+1
From-SVN: r132308
2008-02-14re PR target/34393 (ICE: in extract_insn, at recog.c:1990)Alan Modra2-0/+7
PR target/34393 * config/rs6000/rs6000.md (restore_stack_block): Force operands[1] to a reg. From-SVN: r132304
2008-02-13md.texi (clz, ctz): Add reference.Jesper Nilsson3-6/+15
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
2008-02-13Fix compile on 64bit platforms.Michael Matz1-4/+7
From-SVN: r132300
2008-02-13re PR c++/35138 (g++ rejects valid code)Jakub Jelinek4-12/+51
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
2008-02-13PR c++/34962, c++/34937, c++/34939Jason Merrill3-0/+36
PR c++/34962, c++/34937, c++/34939 * decl2.c (is_late_template_attribute): Always defer attributes vector_size and weak. From-SVN: r132297
2008-02-13re PR other/35148 (make pdf has missing file in 4.3-20080208)Ralf Wildenhues2-1/+7
PR other/35148 * Makefile.in (gcc-vers.texi): Use abs_srcdir for the value of srcdir. From-SVN: r132295
2008-02-13re PR ada/35143 (Serious regression on ACATS results since 4.2.3)Joel Sherrill8-12/+423
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