- 17 Aug, 2009 7 commits
-
-
2009-08-17 Robert Dewar <dewar@adacore.com> * prj-env.adb: Minor reformatting * sem_ch3.adb: Minor reformatting 2009-08-17 Hristian Kirtchev <kirtchev@adacore.com> * sysdep.c (__gnat_localtime_tzoff): VxWorks case - Flip the sign of the time zone since VxWorks chose positive values to represent west time zones and negative for east zones. From-SVN: r150826
Arnaud Charlet committed -
From-SVN: r150825
Arnaud Charlet committed -
2009-08-17 Ed Schonberg <schonberg@adacore.com> * sem_ch3.adb (Access_Definition): Do not create an Itype reference for an anonymous access type whose designated type is generic. 2009-08-17 Arnaud Charlet <charlet@adacore.com> * comperr.adb (Compiler_Abort): Do not generate a bug box when in codepeer mode, friendlier. From-SVN: r150824
Arnaud Charlet committed -
2009-08-17 Janus Weil <janus@gcc.gnu.org> PR fortran/40877 * array.c (gfc_resolve_character_array_constructor): Add NULL argument to gfc_new_charlen. * decl.c (add_init_expr_to_sym,variable_decl,match_char_spec, gfc_match_implicit): Ditto. * expr.c (simplify_const_ref): Fix memory leak. (gfc_simplify_expr): Add NULL argument to gfc_new_charlen. * gfortran.h (gfc_new_charlen): Modified prototype. * iresolve.c (check_charlen_present,gfc_resolve_char_achar): Add NULL argument to gfc_new_charlen. * module.c (mio_charlen): Ditto. * resolve.c (gfc_resolve_substring_charlen, gfc_resolve_character_operator,fixup_charlen): Ditto. (resolve_fl_derived,resolve_symbol): Add argument to gfc_charlen. * symbol.c (gfc_new_charlen): Add argument 'old_cl' (to make a copy of an existing charlen). (gfc_set_default_type,generate_isocbinding_symbol): Fix memory leak. (gfc_copy_formal_args_intr): Add NULL argument to gfc_new_charlen. * trans-decl.c (create_function_arglist): Fix memory leak. From-SVN: r150823
Janus Weil committed -
From-SVN: r150822
Ben Elliston committed -
* gcc.target/mips/mips.exp: Add terminology section to comment at the top of the file. Fix typos. From-SVN: r150821
Adam Nemet committed -
From-SVN: r150820
GCC Administrator committed
-
- 16 Aug, 2009 15 commits
-
-
2009-08-17 Richard Guenther <rguenther@suse.de> * trans-expr.c (gfc_trans_scalar_assign): Replace hack with more proper hack. From-SVN: r150817
Richard Guenther committed -
From-SVN: r150811
H.J. Lu committed -
* doc/invoke.texi (Target options): Add new option list for IA-64/VMS. (menu): Add IA-64/VMS Options. (IA-64/VMS Options): Likewise. From-SVN: r150808
Douglas B Rupp committed -
Make TREE_USED match the [basic.def.odr] concept for FUNCTION_DECL and VAR_DECL, so mark_used only has effect the first time. * decl2.c (mark_used): Just return if TREE_USED is already set. Don't set TREE_USED if cp_unevaluated_operand is set. (tree_used_ok): New fn. * init.c (build_offset_ref): Check it instead of TREE_USED. * call.c (build_call_a): Likewise. * cp-tree.h: Declare it. (DECL_NO_LINKAGE_CHECKED): No longer needed. (struct lang_decl_base): Remove no_linkage_checked bitfield. From-SVN: r150807
Jason Merrill committed -
From-SVN: r150806
Jason Merrill committed -
From-SVN: r150805
Jason Merrill committed -
gcc/ PR target/38599 * config/mips/mips.md (*lwxs): Use :P for pointer values. gcc/testsuite/ PR target/38599 * gcc.target/mips/smartmips-lwxs.c: Remove -mlong32. From-SVN: r150804
Richard Sandiford committed -
gcc/ * config/mips/mips-protos.h (mips_push_asm_switch): New function. (mips_pop_asm_switch): Likewise. * config/mips/mips.c (set_noreorder, set_nomacro, set_noat): Replace with... (mips_noreorder, mips_nomacro, mips_noat): ...these new variables. (mips_push_asm_switch_1, mips_pop_asm_switch_1): New functions. (mips_push_asm_switch, mips_pop_asm_switch): Likewise. (mips_print_operand_punctuation): Use them. Check mips_noreorder instead of set_noreorder. (mips_output_function_prologue): Use the new functions. (mips_output_function_epilogue): Likewise. (mips_need_noat_wrapper_p): New function, split out from... (mips_final_prescan_insn, mips_final_postscan_insn): ...here. Use mips_push_asm_switch and mips_pop_asm_switch. * config/mips/mips.h (FUNCTION_PROFILER): Use mips_push_asm_switch and mips_pop_asm_switch. (ASM_OUTPUT_REG_POP): Likewise. (DBR_OUTPUT_SEQEND): Remove boilerplate comment. Use mips_pop_asm_switch. (mips_asm_switch): New structure. (set_noreorder, set_nomacro): Replace with... (mips_noreorder, mips_nomacro, mips_noat): ...these new variables. * config/mips/mips.md (fix_truncdfsi2_macro): Use mips_nomacro instead of set_nomacro. (fix_truncsfsi2_macro): Likewise. (cprestore): Likewise. (hazard): Use mips_noreorder instead of set_noreorder. * config/mips/sdemtk.h (FUNCTION_PROFILER): As for mips.h. From-SVN: r150803
Richard Sandiford committed -
* config/alpha/alpha.c (alpha_and_function): Handle NULL_RTX returned from prev_active_insn. From-SVN: r150802
Uros Bizjak committed -
* config/avr/avr.h (AVR_HAVE_8BIT_SP): New macros. * config/avr/avr.c (avr_override_options): Initialize avr_current_arch variable. (avr_cpu_cpp_builtins): Define __AVR_HAVE_8BIT_SP__ or __AVR_HAVE_16BIT_SP__ according to the device type. (expand_prologue, output_movhi): Use AVR_HAVE_8BIT_SP instead of TARGET_TINY_STACK. (expand_epilogue): Use correct QI mode frame pointer for tiny stack. Use AVR_HAVE_8BIT_SP instead of TARGET_TINY_STACK. From-SVN: r150801
Anatoly Sokolov committed -
/: Sync from src, merge: 2009-07-02 Tristan Gingold <gingold@adacore.com> * configure.ac: Do not exclude gas for i386-*-darwin. Add a case for x86_64-*-darwin. * configure: Regenerate. From-SVN: r150800
Ralf Wildenhues committed -
From-SVN: r150799
Ralf Wildenhues committed -
From-SVN: r150798
Dodji Seketeli committed -
Fix for PR debug/37801 gcc/ChangeLog: * gcc/dwarf2out.c (gen_inlined_subroutine_die): Concentrate on generating inlined subroutine die only. We shouldn't be called for anything else. (gen_block_die): Don't generate inline subroutine debug info for abstract blocks. gcc/testsuite/ChangeLog: * gcc/testsuite/gcc.dg/debug/20020224-1.c: Adjust the comment. Make sure to trigger inlining optimizations. * gcc/testsuite/gcc.dg/debug/dwarf2/inline2.c: New test. From-SVN: r150796
Dodji Seketeli committed -
From-SVN: r150795
GCC Administrator committed
-
- 15 Aug, 2009 5 commits
-
-
2009-08-15 Tobias Burnus <burnus@net-b.de> PR fortran/41080 * gfortranspec.c (lookup_option): Remove gfortran-specific version of -dumpversion. From-SVN: r150792
Tobias Burnus committed -
2009-08-15 Sebastian Pop <sebastian.pop@amd.com> * graphite-poly.c (print_pbb): Print PBB index. From-SVN: r150790
Sebastian Pop committed -
2009-08-15 Sebastian Pop <sebastian.pop@amd.com> PR middle-end/40981 * graphite-interchange.c (ppl_max_for_le): Moved... * graphite-poly.c (pbb_number_of_iterations): Call ppl_max_for_le. * graphite-ppl.c (ppl_max_for_le): ... here. Correct the use of ppl_Pointset_Powerset_C_Polyhedron_maximize. * graphite-ppl.h (ppl_max_for_le): Declared. From-SVN: r150789
Sebastian Pop committed -
libstdc++-v3/ * configure.ac: Move guarded checks for CC and CXX ... * acinclude.m4 (GLIBCXX_CONFIGURE): ... from here. * configure: Regenerate. From-SVN: r150788
Ralf Wildenhues committed -
From-SVN: r150786
GCC Administrator committed
-
- 14 Aug, 2009 13 commits
-
-
2009-08-14 Edward Smith-Rowland <3dw4rd@verizon.net> Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/41061 * include/bits/random.h (operator<<(std::basic_ostream<>&, const std::lognormal_distribution<>&), operator>>(std::basic_istream<>&, std::lognormal_distribution<>&), operator<<(std::basic_ostream<>&, const std::gamma_distribution<>&), operator>>(std::basic_istream<>&, std::gamma_distribution<>&), operator<<(std::basic_ostream<>&, const std::chi_squared_distribution<>&), operator>>(std::basic_istream<>&, std::chi_squared_distribution<>&), operator<<(std::basic_ostream<>&, const std::fisher_f_distribution<>&), operator>>(std::basic_istream<>&, std::fisher_f_distribution<>&), operator<<(std::basic_ostream<>&, const std::student_t_distribution<>&), operator>>(std::basic_istream<>&, std::student_t_distribution<>&), operator<<(std::basic_ostream<>&, const std::negative_binomial_distribution<>&)): Declare friend. * testsuite/26_numerics/random/uniform_real_distribution/operators/ serialize.cc: New. * testsuite/26_numerics/random/piecewise_constant_distribution/ operators/serialize.cc: Likewise. * testsuite/26_numerics/random/chi_squared_distribution/operators/ serialize.cc: Likewise. * testsuite/26_numerics/random/normal_distribution/operators/ serialize.cc: Likewise. * testsuite/26_numerics/random/uniform_int_distribution/operators/ serialize.cc: Likewise. * testsuite/26_numerics/random/poisson_distribution/operators/ serialize.cc: Likewise. * testsuite/26_numerics/random/bernoulli_distribution/operators/ serialize.cc: Likewise. * testsuite/26_numerics/random/discrete_distribution/operators/ serialize.cc: Likewise. * testsuite/26_numerics/random/weibull_distribution/operators/ serialize.cc: Likewise. * testsuite/26_numerics/random/negative_binomial_distribution/ operators/serialize.cc: Likewise. * testsuite/26_numerics/random/cauchy_distribution/operators/ serialize.cc: Likewise. * testsuite/26_numerics/random/gamma_distribution/operators/ serialize.cc: Likewise. * testsuite/26_numerics/random/fisher_f_distribution/operators/ serialize.cc: Likewise. * testsuite/26_numerics/random/exponential_distribution/operators/ serialize.cc: Likewise. * testsuite/26_numerics/random/lognormal_distribution/operators/ serialize.cc: Likewise. * testsuite/26_numerics/random/binomial_distribution/operators/ serialize.cc: Likewise. * testsuite/26_numerics/random/extreme_value_distribution/operators/ serialize.cc: Likewise. * testsuite/26_numerics/random/piecewise_linear_distribution/ operators/serialize.cc * testsuite/26_numerics/random/student_t_distribution/operators/ serialize.cc: Likewise. * testsuite/26_numerics/random/geometric_distribution/operators/ serialize.cc: Likewise. Co-Authored-By: Paolo Carlini <paolo.carlini@oracle.com> From-SVN: r150783
Edward Smith-Rowland committed -
2009-08-14 Janus Weil <janus@gcc.gnu.org> PR fortran/41070 * resolve.c (resolve_structure_cons): Make sure that ts.u.derived is only used if type is BT_DERIVED. 2009-08-14 Janus Weil <janus@gcc.gnu.org> PR fortran/41070 * gfortran.dg/structure_constructor_10.f90: New. From-SVN: r150781
Janus Weil committed -
2009-08-14 Olatunji Ruwase <tjruwase@google.com> * doc/extend.texi (Symbol-Renaming Pragmas): redefine_extname is supported on all platforms. * target.h (struct gcc_target): Remove handle_pragma_redefine_extname. * c-cppbuiltin.c: Remove use of targetm.handle_pragma_redefine_extname. * c-pragma.c: Likewise. * target-def.h (TARGET_INITIALIZER): Remove TARGET_HANDLE_PRAGMA_REDEFINE_EXTNAME. * config/sol2.h: Remove use of TARGET_HANDLE_PRAGMA_REDEFINE_EXTNAME. 2009-08-14 Olatunji Ruwase <tjruwase@google.com> * gcc.dg/pragma-re-1.c: Supported on all platforms. * gcc.dg/pragma-re-2.c: Likewise. * gcc.dg/pragma-re-3.c: Likewise. * gcc.dg/pragma-re-4.c: Likewise. * g++.dg/other/pragma-re-1.C: Likewise. * g++.dg/other/pragma-re-2.C: Likewise. From-SVN: r150780
Olatunji Ruwase committed -
re PR libfortran/32784 ([win32] Using 'CONOUT$', 'CONIN$', or 'CONERR$' as assigned file generates Fortran runtime error: Bad file descriptor) 2009-08-14 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libfortran/32784 io/unix.c (regular_file): Add support for CONIO on mingw. From-SVN: r150779
Jerry DeLisle committed -
2009-08-14 Douglas B Rupp <rupp@gnat.com> * config/ia64/fde-vms.c: New file. * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Add dummy arg. * config/ia64/unwind-ia64.c (UNW_ accessors): Move to unwind-ia64.h (MD_UNW_COMPATIBLE_PERSONALITY_P): Provide default. (uw_frame_state_for): Only register a personality routine if it is known to be compatible with our expectations. (_Unwind_FindEnclosingFunction, uw_frame_state_for): Declare unw_table_entry stack variable and mod all calls to _Unwind_FindTableEntry to add arg. * config/ia64/unwind-ia64.h (UNW_ accessors): Move here. (_Unwind_FindTableEntry): Add arg to prototype. From-SVN: r150778
Douglas B Rupp committed -
* config/ia64/unwind-ia64.c (struct _Unwind_Context): Add new field 'signal_pfs_loc'. (uw_frame_state_for): Remove duplicate code dealing with leaf procedures without unwind info. If in the frame after unwinding through a signal handler, restore the AR.PFS register instead of the CFM if AR.PFS has not been saved. * config/ia64/linux-unwind.h (ia64_fallback_frame_state): Do not set 'pfs_loc' to the AR.PFS location in the signal context; instead set 'signal_pfs_loc'. Manually generate the unwind info for the AR.PFS register. (ABI_MARKER_OLD_LINUX_SIGTRAMP, ABI_MARKER_OLD_LINUX_INTERRUPT, ABI_MARKER_LINUX_SIGTRAMP, ABI_MARKER_LINUX_INTERRUPT): Define. (ia64_handle_unwabi): Test 'fs->unwabi' against them. Do not set 'pfs_loc' to the AR.PFS location in the signal context; instead set 'signal_pfs_loc'. Remove code preventing the AR.PFS register from being restored from the signal context. From-SVN: r150777
Eric Botcazou committed -
* config.gcc (ia64-hp-*vms*): Insert ia64/t-ia64 in tmake_file. * config/ia64/t-vms: New file. * config/ia64/vms64.h: New file. * config/ia64/vms.h: New file. * config/ia64/vms-crtinit.asm: New file. * config/ia64/vms_symvec_libgcc_s.opt: New file. * config/ia64/vms-unwind.h: New file. Co-Authored-By: Tristan Gingold <gingold@adacore.com> From-SVN: r150776
Douglas B Rupp committed -
string_intrinsics_inc.c (string_len_trim): Use __INTPTR_TYPE__ to cast from pointer to scalar integer... 2009-08-15 Kai Tietz <kai.tietz@onevision.com> * intrinsics/string_intrinsics_inc.c (string_len_trim): Use __INTPTR_TYPE__ to cast from pointer to scalar integer, if __INTPTR_TYPE is defined. From-SVN: r150774
Kai Tietz committed -
* config/alpha/alpha.c (alpha_emit_conditional_move): Handle TFmode compares. From-SVN: r150773
Uros Bizjak committed -
2009-08-14 Edward Smith-Rowland <3dw4rd@verizon.net> * include/bits/stl_tree.h: Make erase return iterator as per DR 130. * include/bits/stl_set.h: Same. * include/bits/stl_multiset.h: Same. * include/bits/stl_map.h: Same. * include/bits/stl_multimap.h: Same. * doc/xml/manual/intro.xml: Document. * testsuite/23_containers/set/dr130.cc: New. * testsuite/23_containers/multiset/dr130.cc: New. * testsuite/23_containers/map/dr130.cc: New. * testsuite/23_containers/multimap/dr130.cc: New. From-SVN: r150768
Edward Smith-Rowland committed -
From-SVN: r150767
Janne Blomqvist committed -
2009-08-14 Kai Tietz <kai.tietz@onevision.com> * gnu/java/security/jce/prng/natVMSecureRandomWin32.cc: Add include of java/lang/UnsupportedOperationException.h file. From-SVN: r150766
Kai Tietz committed -
From-SVN: r150765
Janne Blomqvist committed
-