summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* PR c++/28370jakub2006-07-164-10/+34
| | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115503 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-07-16 Paolo Carlini <pcarlini@suse.de>paolo2006-07-163-24/+91
| | | | | | | | | | | PR libstdc++/28277 (partial: valarray bits) * include/std/std_valarray.h (valarray<>::shift(int), valarray<>::cshift(int)): Avoid __builtin_alloca with no limit, do the work in place. * testsuite/26_numerics/valarray/28277.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115501 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix fomating on Carlos's last changelog entrypinskia2006-07-161-2/+1
| | | | | | | and fix the email address too. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115500 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-07-16 Paul Thomas <pault@gcc.gnu.org>pault2006-07-168-63/+280
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115499 138bc75d-0d04-0410-961f-82ee72b054a4
* * optabs.c (maybe_encapsulate_block): New function extracted from...ebotcazou2006-07-166-28/+83
| | | | | | | | | | (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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115498 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix latest entry.ebotcazou2006-07-161-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115493 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/invoke.texi (sparc-sun-solaris2*): Add GMP version number.ebotcazou2006-07-162-3/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115492 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2006-07-161-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115490 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-07-15 Paolo Carlini <pcarlini@suse.de>paolo2006-07-153-20/+80
| | | | | | | | | | | | | PR libstdc++/28277 (partial: ostream bits 1) * include/bits/ostream.tcc (operator<<(basic_ostream<_CharT>&, const char*)): Avoid __builtin_alloca with no limit in the widening. * testsuite/27_io/basic_ostream/inserters_character/wchar_t/ 28277-1.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115485 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree-gimple.c (is_gimple_stmt): Sink test of IS_EMPTY_STMT intosayle2006-07-152-3/+9
| | | | | | | | a new NOP_EXPR case of the switch statement. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115480 138bc75d-0d04-0410-961f-82ee72b054a4
* Revert:mrs2006-07-153-26/+1
| | | | | | | | | PR c/28280 * c-parser.c (c_parser_typeof_specifier): Don't use c_finish_expr_stmt, open code desired semantics instead. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115479 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-07-15 Steven G. Kargl <kargls@comcast.net>kargl2006-07-153-23/+6
| | | | | | | | | * intrinsics/etime.c: Remove etime_ * libtool-version: Bump from libgfortran.so.1 to libgfortran.so.2 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115478 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/28269lmillward2006-07-154-0/+15
| | | | | | | | | | | * parser.c (cp_parser_elaborated_type_specifier): Return early if an invalid type was detected. * g++.dg/template/crash54.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115475 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/28292lmillward2006-07-154-3/+30
| | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115474 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix typo in last ChangeLog entry.reichelt2006-07-151-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115472 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/28249reichelt2006-07-154-36/+63
| | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115469 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/28294reichelt2006-07-154-2/+11
| | | | | | | | | | * semantics.c (finish_offsetof): Use TREE_OPERAND for COMPONENT_REFs only. * g++.dg/ext/offsetof1.C: Add test with function pointer arithmetic. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115466 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/28387reichelt2006-07-154-1/+16
| | | | | | | | | * decl2.c (cplus_decl_attributes): Check for invalid decls. * g++.dg/ext/attrib24.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115465 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/28160kkojima2006-07-152-14/+33
| | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115464 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-07-14 Steven G. Kargl <kargls@comcast.net>kargl2006-07-152-3/+10
| | | | | | | | * trans-expr.c (gfc_trans_string_copy): Evaluate the string lengths git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115463 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2006-07-151-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115460 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-07-14 Benjamin Kosnik <bkoz@redhat.com>bkoz2006-07-1411-129/+239
| | | | | | | | | | | | | | | | | | | | | | * acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): New. * configure.ac: Use it. * configure: Regenerated. * config.h.in: Regenerated. * configure.host: Simplify. * include/bits/atomicity.h: Adjust macros. * config/cpu/generic/atomicity.h: Move... * config/cpu/generic/atomicity_mutex: New. * config/cpu/generic/atomicity_mutex/atomicity.h: ...here. * config/cpu/generic/atomic_builtins: Rename... * config/cpu/generic/atomicity_builtins: ...to this. * config/cpu/generic/atomicity_builtins/atomicity.h: Moved. * config/cpu/mips/atomicity.h: Comment MIPS II requirement. * scripts/testsuite_flags.in: Make --cxxflags reflect CXXFLAGS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115456 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-07-14 Anthony Green <green@redhat.com>green2006-07-142-1/+6
| | | | | | | | | * java/io/natFilePosix.cc (performSetLastModified): Return true on success, false otherwise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115452 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-07-14 Eliot Dresselhaus <eliot@sonic.net>dje2006-07-142-4/+11
| | | | | | | | PR target/27287 * config/rs6000/spe.md (frob_di_df_2): Add m->r alternative. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115451 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-07-14 Paolo Carlini <pcarlini@suse.de>paolo2006-07-142-4/+9
| | | | | | | | * include/tr1/random (minstd_rand0, minstd_rand, ranlux3, ranlux4): Use unsigned long as implementation-defined type. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115450 138bc75d-0d04-0410-961f-82ee72b054a4
* * stacktrace.cc (_Jv_StackTrace::GetStackTrace): Unconditionally usermathew2006-07-144-49/+77
| | | | | | | | | | | | | | | | | | | | | _Unwind_Backtrace(). (_Jv_StackTrace::GetCallerInfo): Enable even for targets using SJLJ EH. (_Jv_StackTrace::GetClassContext): Unconditionally use _Unwind_Backtrace(). (_Jv_StackTrace::GetFirstNonSystemClassLoader): Likewise. * sysdep/i386/backtrace.h (HAVE_FALLBACK_BACKTRACE): Do not define. (_Unwind_GetIPInfo): Define macro if SJLJ EH is in use. (_Unwind_GetRegionStart): Likewise. (_Unwind_Backtrace): Likewise. (fallback_backtrace): Accept additional unwind trace function argument. Call it during unwinding. Stop when any of _Jv_RunMain(), _Jv_ThreadStart() or main() is seen during unwinding. * sysdep/generic/backtrace.h (fallback_backtrace): Accept an additional unwind trace function argument. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115449 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/s390/linux-unwind.h (s390_fallback_frame_state): Detectuweigand2006-07-142-10/+27
| | | | | | | | signal frames correctly even when the signal was installed with sa_restorer set. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115448 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/carlos2006-07-143-88/+33
| | | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115444 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-07-14 Gary Benson <gbenson@redhat.com>gary2006-07-142-4/+30
| | | | | | | | | | | | * java/io/File.java (internalExists): New method. (exists): Use internalExists. (internalIsDirectory): New method. (isDirectory): Use internalIsDirectory. (createTempFile): Use internalExists and internalIsDirectory. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115441 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-07-14 Paolo Carlini <pcarlini@suse.de>paolo2006-07-143-28/+65
| | | | | | | | | | | | | | | * include/tr1/random.tcc (struct _To_Unsigned_Type): Add. (subtract_with_carry<>::seed(_Gen&, false_type)): Use an unsigned type in the loop, fix factor multiplier, take g invocations modulo 2^32. * include/tr1/random.tcc (subtract_with_carry<>:: seed(unsigned long)): Fix value == 0 special case. * include/tr1/random (struct _Shift): Fix for large shifts. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115439 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/28343reichelt2006-07-145-2/+21
| | | | | | | | | | * decl.c (cp_finish_decl): Check asmspec_tree for error_mark_node. * decl2.c (grokfield): Likewise. * g++.dg/ext/asmspec1.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115436 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-07-12 Bryce McKinlay <mckinlay@redhat.com>bryce2006-07-141-2/+2
| | | | | | | * gcj.texi (Invocation): Corrections for Invocation API example. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115432 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-07-13 Bryce McKinlay <mckinlay@redhat.com>bryce2006-07-142-1/+4
| | | | | | | * interpret.cc (_Jv_InterpMethod::run): Don't SAVE_PC for fdiv. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115431 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2006-07-141-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115429 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-07-13 Paolo Carlini <pcarlini@suse.de>paolo2006-07-132-0/+65
| | | | | | | * testsuite/performance/21_strings/string_copy_cons_and_dest.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115425 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc:janis2006-07-1312-1/+136
| | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115424 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-07-13 Bryce McKinlay <mckinlay@redhat.com>bryce2006-07-132-5/+29
| | | | | | | | | | * interpret.cc (_Jv_InterpMethod::compile): Add FIXME comment. (_Jv_InterpMethod::run): SAVE_PC before executing any instruction using resolve_pool_entry, as it can throw. Likewise for div/rem ops that can throw ArithmeticException. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115422 138bc75d-0d04-0410-961f-82ee72b054a4
* * cgraphunit.c (cgraph_varpool_analyze_pending_decls): Call align_variable.hubicka2006-07-137-2/+43
| | | | | | | | | | * output.h (align_variable): Declare. * varasm.c (align_variable): Export. * value-prof.c (tree_value_profile_transformations): Recompute iterator when basic block changed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115421 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-07-13 Benjamin Kosnik <bkoz@redhat.com>bkoz2006-07-134-3/+43
| | | | | | | | | | | | | * include/Makefile.am (pch*_output_anchor): Add. (pch*_output): Use. (CLEANFILES): Use. * include/Makefile.in: Regenerate. * scripts/check_performance: Be verbose on compile error. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115419 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-07-12 Bryce McKinlay <mckinlay@redhat.com>bryce2006-07-132-0/+15
| | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115414 138bc75d-0d04-0410-961f-82ee72b054a4
* * MAINTAINERS (Various Maintainers): Add myself as dfp maintainer.bje2006-07-132-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115413 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/sh/sh.c (sh_reorg): Ignore deleted insns whilst walking the nickc2006-07-132-3/+13
| | | | | | | LOG_LINKS chain. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115412 138bc75d-0d04-0410-961f-82ee72b054a4
* Index: ChangeLoggeoffk2006-07-136-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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115411 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-07-13 Paul Thomas <pault@gcc.gnu.org>pault2006-07-137-1/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115410 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-07-12 Eric Christopher <echristo@apple.com>echristo2006-07-132-6/+8
| | | | | | | | * config/t-slibgcc-darwin (SHLIB_LINK): Don't munge stmp-lipo. (stmp-lipo): Depend on libgcc.a. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115409 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2006-07-131-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115406 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-07-12 Benjamin Kosnik <bkoz@redhat.com>bkoz2006-07-133-4/+9
| | | | | | | | | * include/Makefile.am: Revert last change. * include/Makefile.in: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115402 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree.c: Fix a comment typo.kazu2006-07-122-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115401 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/m32c/muldiv.md (umulhisi3_c): Use only registers for dj2006-07-122-6/+12
| | | | | | | | dest. (umulhisi3_r): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115400 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/28217jason2006-07-122-2/+8
| | | | | | | * semantics.c (note_decl_for_pch): Don't premangle templates. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115399 138bc75d-0d04-0410-961f-82ee72b054a4