aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2006-07-18Daily bump.GCC Administrator1-1/+1
From-SVN: r115538
2006-07-17invoke.texi: Remove mention of f77...Toon Moene2-10/+17
2006-07-17 Toon Moene <toon@moene.indiv.nluug.nl> * invoke.texi: Remove mention of f77; Reformat table for inline parameter options correctly; mention that -malign-double is default on x86-64 targets. From-SVN: r115529
2006-07-17tree-chrec.c (avoid_arithmetics_in_type_p): New.Zdenek Dvorak2-21/+31
* tree-chrec.c (avoid_arithmetics_in_type_p): New. (convert_affine_scev, chrec_convert_aggressive): Use avoid_arithmetics_in_type_p. Do not check for the subtypes separately. From-SVN: r115528
2006-07-17re PR c++/28291 (ICE on invalid designated initializer)Steve Ellcey2-0/+18
PR c++/28291 * g++.dg/ext/pr28291.C: New test. From-SVN: r115526
2006-07-17re PR middle-end/28403 (Missed argument pop after doubleword shift)Richard Sandiford4-0/+36
gcc/ PR middle-end/28403 * optabs.c (expand_doubleword_shift): Wrap the call to do_compare_rtx_and_jump with NO_DEFER_POP and OK_DEFER_POP. gcc/testsuite/ PR middle-end/28403 * gcc.c-torture/execute/pr28403.c: New test. From-SVN: r115525
2006-07-17re PR middle-end/28402 (Doubleword shifts implemented using word_mode libcalls)Richard Sandiford4-1/+55
gcc/ PR middle-end/28402 * optabs.c (expand_binop): Pass next_methods rather than methods to expand_doubleword_shift. gcc/testsuite/ PR middle-end/28402 * gcc.dg/pr28402.c: New test. From-SVN: r115524
2006-07-17re PR c++/28291 (ICE on invalid designated initializer)Steve Ellcey2-2/+10
PR c++/28291 * decl.c (reshape_init_class): Return error_mark_node on error. From-SVN: r115523
2006-07-17re PR c++/28304 (ICE looking up invalid member template)Steve Ellcey2-0/+16
PR c++/28304 * g++.dg/other/pr28304.C: New test. From-SVN: r115522
2006-07-17re PR c++/28304 (ICE looking up invalid member template)Steve Ellcey2-2/+10
PR c++/28304 * decl2.c (check_classfn): Return NULL_TREE on error. From-SVN: r115521
2006-07-17ChangeLog: Correct formatting for 2006-07-10 changes, by Carlos O'Donell.Carlos O'Donell1-2/+3
gcc/ 2006-07-17 Carlos O'Donell <carlos@codesourcery.com> * ChangeLog: Correct formatting for 2006-07-10 changes, by Carlos O'Donell. From-SVN: r115520
2006-07-17re PR other/28251 (dumped addresses makes diffing dumps unusable)J"orn Rennecke10-25/+159
gcc: PR other/28251 * tree.h (dump_addr): Declare. * print-tree.c (dump_addr): New function. (print_node_brief, print_node): Use it. * print-rtl.c (print_rtx): Likewise. * common.opt (-fdump-noaddr): New option. * doc/invoke.texi (-fdump-noaddr): Document. * loop-unroll.c (si_info_hash): Make hash independent of addresses. (ve_info_hash): Likewise. gcc/testsuite: PR other/28251 gcc.c-torture/unsorted/dump-noaddr.c: New test. gcc.c-torture/unsorted/dump-noaddr.x: New driver. From-SVN: r115519
2006-07-17re PR tree-optimization/19505 (java bytecode to native ICE in ↵Andrew Haley2-0/+26
remove_unreachable_regions) 2006-07-13 Andrew Haley <aph@redhat.com> PR tree-optimization/19505 * tree-cfgcleanup.c (tree_forwarder_block_p): If we have an EH edge leaving this block, make sure that the destination of this block has only one predecessor. From-SVN: r115518
2006-07-17re PR tree-optimization/28238 (verify_stmts failed (invalid operand to unary ↵Richard Guenther4-0/+42
operator)) 2006-07-17 Richard Guenther <rguenther@suse.de> PR tree-optimization/28238 * tree-inline.c (copy_bb): Check if we produced valid gimple copying and substituting a stmt. If not, gimplify it. * g++.dg/tree-ssa/pr28238.C: New testcase. From-SVN: r115517
2006-07-17re PR c++/28250 (ICE with invalid catch)Volker Reichelt7-12/+41
PR c++/28250 * name-lookup.c (pushdecl_maybe_friend): Return early on error_mark_node. * except.c (expand_start_catch_block): Use error_mark_node instead of NULL_TREE for invalid decls. * parser.c (cp_parser_exception_declaration): Return error_mark_node on invalid catch parameter. Simplify. * g++.dg/eh/catch1.C: New test. * g++.dg/eh/catch2.C: New test. From-SVN: r115516
2006-07-17Daily bump.GCC Administrator1-1/+1
From-SVN: r115509
2006-07-16re PR fortran/28390 (Broken !$omp parallel do lastprivate(iterationvar))Jakub Jelinek2-2/+9
PR fortran/28390 * trans-openmp.c (gfc_trans_omp_do): Look for LASTPRIVATE in code->exp.omp_clauses rather than in the 3rd function argument. * testsuite/libgomp.fortran/pr28390.f: New test. From-SVN: r115504
2006-07-16re PR c++/28370 (undefined reference to template class static variable in an ↵Jakub Jelinek4-10/+34
anonymous namespace) PR c++/28370 * decl2.c (note_vague_linkage_var): Removed. (finish_static_data_member_decl): Add decl to pending_statics vector directly. Do it even for non-public decls. * g++.dg/template/anon3.C: New test. From-SVN: r115503
2006-07-16Fix fomating on Carlos's last changelog entryAndrew Pinski1-2/+1
and fix the email address too. From-SVN: r115500
2006-07-16re PR fortran/28384 (ICE on non-existent COMMON block)Paul Thomas8-63/+280
2006-07-16 Paul Thomas <pault@gcc.gnu.org> PR fortran/28384 * trans-common.c (translate_common): If common_segment is NULL emit error that common block does not exist. PR fortran/20844 * io.c (check_io_constraints): It is an error if an ADVANCE specifier appears without an explicit format. PR fortran/28201 * resolve.c (resolve_generic_s): For a use_associated function, do not search for an alternative symbol in the parent name space. PR fortran/20893 * resolve.c (resolve_elemental_actual): New function t combine all the checks of elemental procedure actual arguments. In addition, check of array valued optional args(this PR) has been added. (resolve_function, resolve_call): Remove parts that treated elemental procedure actual arguments and call the above. 2006-07-16 Paul Thomas <pault@gcc.gnu.org> PR fortran/20844 * gfortran.dg/io_constaints_2.f90: Add the test for ADVANCE specifiers requiring an explicit format tag.. PR fortran/28201 * gfortran.dg/generic_5: New test. PR fortran/20893 * gfortran.dg/elemental_optional_args_1.f90: New test. From-SVN: r115499
2006-07-16optabs.c (maybe_encapsulate_block): New function extracted from...Eric Botcazou6-28/+83
* optabs.c (maybe_encapsulate_block): New function extracted from... (emit_libcall_block): ...here. Invoke it on the block of insns to maybe emit REG_LIBCALL/REG_RETVAL notes around the block. (emit_no_conflict_block): Likewise. From-SVN: r115498
2006-07-16Fix latest entry.Eric Botcazou1-1/+1
From-SVN: r115493
2006-07-16invoke.texi (sparc-sun-solaris2*): Add GMP version number.Eric Botcazou2-3/+7
* doc/invoke.texi (sparc-sun-solaris2*): Add GMP version number. From-SVN: r115492
2006-07-16Daily bump.GCC Administrator1-1/+1
From-SVN: r115490
2006-07-15tree-gimple.c (is_gimple_stmt): Sink test of IS_EMPTY_STMT into a new ↵Roger Sayle2-3/+9
NOP_EXPR case of the switch statement. * tree-gimple.c (is_gimple_stmt): Sink test of IS_EMPTY_STMT into a new NOP_EXPR case of the switch statement. From-SVN: r115480
2006-07-15revert: re PR c/28280 (bogus "statement with no effect" warning with VLA and ↵Mike Stump3-26/+1
typeof) Revert: PR c/28280 * c-parser.c (c_parser_typeof_specifier): Don't use c_finish_expr_stmt, open code desired semantics instead. From-SVN: r115479
2006-07-15re PR c++/28269 (ICE on attribute for invalid template)Lee Millward4-0/+15
PR c++/28269 * parser.c (cp_parser_elaborated_type_specifier): Return early if an invalid type was detected. * g++.dg/template/crash54.C: New test. From-SVN: r115475
2006-07-15re PR c++/28292 (ICE in acceptable_java_type)Lee Millward4-3/+30
PR c++/28292 * decl2.c (acceptable_java_type): Robustify. Use proper Boolean return type instead of return 1. (check_java_method): Don't issue error about type not being an acceptable Java parameter if it's error_mark_node. * g++.dg/other/error12.C: New test. From-SVN: r115474
2006-07-15Fix typo in last ChangeLog entry.Volker Reichelt1-1/+1
From-SVN: r115472
2006-07-15re PR c++/28249 ("long long long" accepted by catch)Volker Reichelt4-36/+63
PR c++/28249 * parser.c (cp_parser_check_decl_spec): New function. (cp_parser_decl_specifier_seq): Factor out check for repeated decl-specifiers into cp_parser_check_decl_spec. Use it. (cp_parser_type_specifier_seq) Use it. * g++.dg/parse/catch1.C: New test. From-SVN: r115469
2006-07-15re PR c++/28294 (ICE with invalid use of __builtin_offsetof)Volker Reichelt4-2/+11
PR c++/28294 * semantics.c (finish_offsetof): Use TREE_OPERAND for COMPONENT_REFs only. * g++.dg/ext/offsetof1.C: Add test with function pointer arithmetic. From-SVN: r115466
2006-07-15re PR c++/28387 (ICE with attribute on invalid declaration)Volker Reichelt4-1/+16
PR c++/28387 * decl2.c (cplus_decl_attributes): Check for invalid decls. * g++.dg/ext/attrib24.C: New test. From-SVN: r115465
2006-07-15re PR middle-end/28160 (Bogus "size of array 'foo' is too large" error with ↵Kaz Kojima2-14/+33
-mms-bitfields) PR middle-end/28160 * stor-layout.c (place_field): Take the bit field with an excessive size into account in the ms-bitfiled case. PR middle-end/28161 * stor-layout.c (place_field): Use DECL_BIT_FIELD_TYPE of the previous bit field. From-SVN: r115464
2006-07-15trans-expr.c (gfc_trans_string_copy): Evaluate the string lengthsSteven G. Kargl2-3/+10
2006-07-14 Steven G. Kargl <kargls@comcast.net> * trans-expr.c (gfc_trans_string_copy): Evaluate the string lengths From-SVN: r115463
2006-07-15Daily bump.GCC Administrator1-1/+1
From-SVN: r115460
2006-07-14re PR target/27287 (returning constant double)Eliot Dresselhaus2-4/+11
2006-07-14 Eliot Dresselhaus <eliot@sonic.net> PR target/27287 * config/rs6000/spe.md (frob_di_df_2): Add m->r alternative. From-SVN: r115451
2006-07-14linux-unwind.h (s390_fallback_frame_state): Detect signal frames correctly ↵Ulrich Weigand2-10/+27
even when the signal was installed with... * config/s390/linux-unwind.h (s390_fallback_frame_state): Detect signal frames correctly even when the signal was installed with sa_restorer set. From-SVN: r115448
2006-07-14dbxout.c (dbxout_begin_prologue): Emit LFBB label at function start.Carlos O'Donell3-88/+33
gcc/ 2006-07-14 Carlos O'Donell <carlos@codesoucery.com> * dbxout.c (dbxout_begin_prologue): Emit LFBB label at function start. (dbxout_function_end): Use local label LFBB. Remove hook DBX_OUTPUT_NFUN. (dbxout_source_line): Use local label LFBB. (dbxout_block): Likewise. (dbx_output_lbrac): Remove hook DBX_OUTPUT_LBRAC. (dbx_output_rbrac): Remove hook DBX_OUTPUT_RBRAC. * config/rs6000/linux64.h: Remove DBX_OUTPUT_LBRAC, DBX_OUTPUT_RBRAC, and DBX_OUTPUT_NFUN. From-SVN: r115444
2006-07-14re PR c++/28343 (ICE with invalid asm specifier for struct member)Volker Reichelt5-2/+21
PR c++/28343 * decl.c (cp_finish_decl): Check asmspec_tree for error_mark_node. * decl2.c (grokfield): Likewise. * g++.dg/ext/asmspec1.C: New test. From-SVN: r115436
2006-07-14gcj.texi (Invocation): Corrections for Invocation API example.Bryce McKinlay1-2/+2
2006-07-12 Bryce McKinlay <mckinlay@redhat.com> * gcj.texi (Invocation): Corrections for Invocation API example. From-SVN: r115432
2006-07-14Daily bump.GCC Administrator1-1/+1
From-SVN: r115429
2006-07-13sourcebuild.texi (Test Directives): Document dg-shouldfail.Janis Johnson12-1/+136
gcc: * doc/sourcebuild.texi (Test Directives): Document dg-shouldfail. gcc/testsuite: * lib/gcc-dg.exp (tool_load): Wrapper to support shouldfail tests. (dg-test): Support shouldfail tests. * lib/target-supports-dg.exp (dg-shouldfail): New. * gcc.test-framework/test-framework.awk: Handle shouldfail tests. * gcc.test-framework/dg-do-run-sf-exp-F.c: New test. * gcc.test-framework/dg-do-run-sf-exp-P.c: New test. * gcc.test-framework/dg-do-run-sft-exp-F.c: New test. * gcc.test-framework/dg-do-run-sft-exp-P.c: New test. * gcc.test-framework/dg-dox-run-sf-exp-XF.c: New test. * gcc.test-framework/dg-dox-run-sf-exp-XP.c: New test. From-SVN: r115424
2006-07-13cgraphunit.c (cgraph_varpool_analyze_pending_decls): Call align_variable.Jan Hubicka7-2/+43
* cgraphunit.c (cgraph_varpool_analyze_pending_decls): Call align_variable. * output.h (align_variable): Declare. * varasm.c (align_variable): Export. * value-prof.c (tree_value_profile_transformations): Recompute iterator when basic block changed. From-SVN: r115421
2006-07-13builtins.c (check_for_builtin): If a builtin could result in a direct call ↵Bryce McKinlay2-0/+15
being generated... 2006-07-12 Bryce McKinlay <mckinlay@redhat.com> * builtins.c (check_for_builtin): If a builtin could result in a direct call being generated, don't use it if flag_indirect_dispatch is set. From-SVN: r115414
2006-07-13sh.c (sh_reorg): Ignore deleted insns whilst walking the LOG_LINKS chain.Nick Clifton2-3/+13
* config/sh/sh.c (sh_reorg): Ignore deleted insns whilst walking the LOG_LINKS chain. From-SVN: r115412
2006-07-13Index: ChangeLogGeoffrey Keating6-6/+52
2006-07-12 Geoffrey Keating <geoffk@apple.com> * doc/invoke.texi (C++ Dialect Options): Explain difference between -fvisibility-inlines-hidden and setting hidden visibility explicitly. Index: cp/ChangeLog 2006-07-12 Geoffrey Keating <geoffk@apple.com> * decl2.c (determine_visibility): Don't change visibility of function locals because of -fvisibility-inlines-hidden. Index: testsuite/ChangeLog 2006-07-12 Geoffrey Keating <geoffk@apple.com> * g++.dg/ext/visibility/fvisibility-inlines-hidden-2.C: New. From-SVN: r115411
2006-07-13re PR fortran/28174 (Corruption of multiple character arrays when passing ↵Paul Thomas7-1/+129
array sections) 2006-07-13 Paul Thomas <pault@gcc.gnu.org> PR fortran/28174 * trans-expr.c (gfc_conv_aliased_arg): Missing formal arg means that intent is INOUT (fixes regression). PR fortran/25097 * check.c (check_present): The only permitted reference is a full array reference. PR fortran/20903 * decl.c (variable_decl): Add error if a derived type is not from the current namespace if the namespace is an interface body. 2006-07-13 Paul Thomas <pault@gcc.gnu.org> PR fortran/25097 * gfortran.dg/present_1.f90: New test. PR fortran/20903 * gfortran.dg/interface_derived_type_1.f90: New test. From-SVN: r115410
2006-07-13t-slibgcc-darwin (SHLIB_LINK): Don't munge stmp-lipo.Eric Christopher2-6/+8
2006-07-12 Eric Christopher <echristo@apple.com> * config/t-slibgcc-darwin (SHLIB_LINK): Don't munge stmp-lipo. (stmp-lipo): Depend on libgcc.a. From-SVN: r115409
2006-07-13Daily bump.GCC Administrator1-1/+1
From-SVN: r115406
2006-07-12* tree.c: Fix a comment typo.Kazu Hirata2-1/+5
From-SVN: r115401
2006-07-12muldiv.md (umulhisi3_c): Use only registers for dest.Naveen.H.S2-6/+12
* config/m32c/muldiv.md (umulhisi3_c): Use only registers for dest. (umulhisi3_r): Likewise. From-SVN: r115400