1. 18 Aug, 2009 8 commits
  2. 17 Aug, 2009 32 commits
    • m32c.md (UNS_FSETB, UNS_FREIT): New. · 65655f79
      * config/m32c/m32c.md (UNS_FSETB, UNS_FREIT): New.
      * config/m32c/prologue.md (epilogue_freit): New.
      (fset_b): New.
      * config/m32c/m32c.c (m32c_function_needs_enter): Add prototype.
      (bank_switch_p): Likewise.
      (fast_interrupt_p): Likewise.
      (interrupt_p): Likewise.
      (m32c_conditional_register_usage): Round memregs size up.
      (need_to_save): We only need to save $a0 when we use ENTER.
      (interrupt_p): Check for fast_interrupt too.
      (bank_switch_p): New.
      (fast_interrupt_p): New.
      (m32c_attribute_table): Add bank_switch and fast_interrupt.
      (m32c_emit_prolog): Support bank switching and fast interrupts.
      * doc/extend.texi (Function Attributes): Add bank_switch and
      fast_interrupt.
      
      From-SVN: r150862
      DJ Delorie committed
    • Install gcj.pdf in $(pdfdir)/gcc alongside other manuals. · df15255a
      gcc/java/
      	* Make-lang.in (java.install-pdf): Install gcj.pdf in
      	$(pdfdir)/gcc, alongside the other manuals.
      
      From-SVN: r150859
      Ralf Wildenhues committed
    • re PR fortran/41062 (ICE in gfc_trans_use_stmts, at fortran/trans-decl.c:3438) · 1151ccc9
      2008-08-17  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/41062
      	* trans-decl.c (gfc_trans_use_stmts):  Keep going through use
      	list if symbol is not use associated.
      
      2008-08-17  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/41062
      	* gfortran.dg/use_only_4.f90: New test.
      
      From-SVN: r150858
      Paul Thomas committed
    • typedefs.cc: New. · e83fd9d7
      2009-08-17  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* testsuite/30_threads/packaged_task/requirements/typedefs.cc: New.
      
      From-SVN: r150857
      Benjamin Kosnik committed
    • re PR fortran/37425 (Fortran 2003: GENERIC bindings as operators) · b325faf9
      2009-08-17  Daniel Kraft  <d@domob.eu>
      
      	PR fortran/37425
      	* resolve.c (get_checked_tb_operator_target): New routine to do checks
      	on type-bound operators in common between intrinsic and user operators.
      	(resolve_typebound_intrinsic_op): Call it.
      	(resolve_typebound_user_op): Ditto.
      
      2009-08-17  Daniel Kraft  <d@domob.eu>
      
      	PR fortran/37425
      	* gfortran.dg/typebound_operator_2.f03: Test for error with illegal
      	NOPASS bindings as operators.
      
      From-SVN: r150856
      Daniel Kraft committed
    • re PR preprocessor/41067 (Inconsistency in warnings on invalid \-escapes) · 709a22df
      	PR preprocessor/41067:
      	* charset.c (convert_escape): Add missing ":" to error text.
      
      From-SVN: r150854
      Tom Tromey committed
    • Makefile.am (libgcj_bc_la_LIBADD): Delete. · de383aec
      2009-08-17  Andrew Haley  <aph@redhat.com>
      
              * Makefile.am (libgcj_bc_la_LIBADD): Delete.
              * libgcj.spec.in: (LIBGCJ_BC_SPEC): New spec.
              * configure.ac (LIBGCJ_BC_SPEC): New spec.
      
      From-SVN: r150853
      Andrew Haley committed
    • * lib/target-supports.exp · f32c6a2b
      	(check_effective_target_vect_cmdline_needed):: Add alpha to the list
      	of targets that do not need command line argument to enable SIMD.
      
      From-SVN: r150852
      Uros Bizjak committed
    • target-supports.exp (check_effective_target_mpc_pow): Fix typo in cache name. · 2679ab00
      	* lib/target-supports.exp (check_effective_target_mpc_pow): Fix
      	typo in cache name.
      
      From-SVN: r150851
      Kaveh R. Ghazi committed
    • alpha.c (vms_valid_pointer_mode): New function. · dfe6ba6d
      
      	* config/alpha/alpha.c (vms_valid_pointer_mode): New function.
      	* config/alpha/vms.h (TARGET_VALID_POINTER_MODE): Define.
      
      From-SVN: r150849
      Douglas B Rupp committed
    • inclhack.def (aix_complex): Redefine _Complex_I. · be274b21
              * inclhack.def (aix_complex): Redefine _Complex_I.  Do not
              redefine I.
              * (aix_stdint_[12345]): New fixes.
              * fixincl.x: Regenerate.
              * tests/base/complex.h: Update check.
              * tests/base/stdint.h: Add AIX stdint.h checks.
      
      From-SVN: r150846
      David Edelsohn committed
    • re PR fortran/41075 ([F2008] Implement unlimited format item) · 2d8980b0
      2009-08-17  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR fortran/41075
      	* gfortran.dg/unlimited_fmt_1.f90: New test.
      
      From-SVN: r150845
      Jerry DeLisle committed
    • re PR fortran/41075 ([F2008] Implement unlimited format item) · e2cec2c3
      2009-08-17  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR fortran/41075
      	* io/io.h (enum format_token): Add FMT_STAR.
      	* io/format.c (format_lex): Add case for FMT_STAR.
      	(parse_format_list): Parse FMT_STAR and check for left paren
      	after. (next_format0): Modify helper function to check for
      	unimited format and return the repeated format node.  Update
      	comments to clarify.
      
      From-SVN: r150844
      Jerry DeLisle committed
    • re PR fortran/41075 ([F2008] Implement unlimited format item) · b823d9eb
      2009-08-17  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR fortran/41075
      	* scanner.c (gfc_next_char_literal): Add comment to improve 
      	readability.
      	* io.c (enum format_token): Add FMT_STAR. (format_lex): Add case
      	for '*'. (check_format): Check for left paren after '*'.  Change
      	format checks to use %L to improve format string error locus.
      
      From-SVN: r150843
      Jerry DeLisle committed
    • s-osinte-kfreebsd-gnu.ads (SA_ONSTACK): New constant. · dee28509
      	* s-osinte-kfreebsd-gnu.ads (SA_ONSTACK): New constant.
      	(stack_t): New record type.
      	(sigaltstack): New imported function.
      	(Alternate_Stack): New imported variable.
      	(Alternate_Stack_Size): New constant.
      
      From-SVN: r150840
      Aurelien Jarno committed
    • decl.c (build_ptrmemfunc_type): Keep variant chain intact. · 22521c89
      2009-08-16  Richard Guenther  <rguenther@suse.de>
      
      	* decl.c (build_ptrmemfunc_type): Keep variant chain intact.
      	Avoid useless copy.
      	(finish_enum): Keep variant chain intact.
      	* tree.c (cp_build_reference_type): Likewise.
      
      From-SVN: r150839
      Richard Guenther committed
    • [multiple changes] · 241bea26
      2009-08-17  Vasiliy Fofanov  <fofanov@adacore.com>
      
      	* a-calend-vms.adb: Fix typo.
      
      2009-08-17  Tristan Gingold  <gingold@adacore.com>
      
      	* s-taprop-posix.adb: Round up the stack size to avoid failure on
      	Darwin.
      
      2009-08-17  Gary Dismukes  <dismukes@adacore.com>
      
      	* sem_cat.adb (Validate_Static_Object_Name): Update comment.
      
      2009-08-17  Vincent Celier  <celier@adacore.com>
      
      	* make.adb (Arguments_Collected): Unneeded, removed
      	(Change_To_Object_Directory): Use Project directly. Add pragma Assert to
      	ensure caller does not pass in No_Project.
      	(Compile): Add new parameter Project. Let procedure
      	Collect_Arguments_And_Compile provide the proper value.
      
      	* switch-c.adb: Add documentation for -gnatea and -gnatez
      
      2009-08-17  Ben Brosgol  <brosgol@adacore.com>
      
      	* gnat_ugn.texi: Changed name of package in SAL example, to avoid
      	clash with Ada 2005 reserved word (interface).
      
      From-SVN: r150838
      Arnaud Charlet committed
    • a-crbtgk.adb, [...]: Minor code reorganization (use conditional expressions) · 5f2d216d
      2009-08-17  Robert Dewar  <dewar@adacore.com>
      
      	* a-crbtgk.adb, a-crdlli.adb, a-direct.adb:
      	Minor code reorganization (use conditional expressions)
      
      From-SVN: r150837
      Robert Dewar committed
    • Makefile.in, [...]: Regenerate. · 1257ae4a
      2009-08-17  Andrew Haley  <aph@redhat.com>
      
      	* Makefile.in,
      	include/Makefile.in,
      	testsuite/Makefile.in,
      	gcj/Makefile.in: Regenerate.
      
      From-SVN: r150836
      Andrew Haley committed
    • Unbreak testsuite/gcc.dg/debug/dwarf2/inline2.c · 4ce651ec
      From-SVN: r150835
      Dodji Seketeli committed
    • a-caldel-vms.adb, [...]: Minor code reorganization (use conditional expressions). · 1d5a85bd
      2009-08-17  Robert Dewar  <dewar@adacore.com>
      
      	* a-caldel-vms.adb, a-calend-vms.adb, a-calfor.adb, a-cdlili.adb,
      	a-chahan.adb, a-cidlli.adb, a-coinve.adb, a-comlin.adb: Minor code
      	reorganization (use conditional expressions).
      
      From-SVN: r150834
      Robert Dewar committed
    • [multiple changes] · b01bf852
      2009-08-17  Robert Dewar  <dewar@adacore.com>
      
      	* tbuild.adb: Minor reformatting
      
      2009-08-17  Thomas Quinot  <quinot@adacore.com>
      
      	* exp_ch4.adb (Exp_Ch4.Expand_N_Slice.Make_Temporary): Rename to
      	Make_Temporary_For_Slice to avoid confusion with Tbuild.Make_Temporary.
      	Use Tbuild.Make_Temporary to create entity for the temporary.
      
      From-SVN: r150832
      Arnaud Charlet committed
    • make.adb: Add ??? comment. · 06274cd5
      2009-08-17  Robert Dewar  <dewar@adacore.com>
      
      	* make.adb: Add ??? comment.
      	Code clean up.
      
      From-SVN: r150831
      Robert Dewar committed
    • [multiple changes] · 1def9494
      2009-08-17  Thomas Quinot  <quinot@adacore.com>
      
      	* tbuild.adb: Minor reformatting
      
      2009-08-17  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* sysdep.c (__gnat_localtime_tzoff): Complete previous change.
      
      From-SVN: r150830
      Arnaud Charlet committed
    • make.adb (Process_Multilib, [...]): Refine previous change and ignore -mieee… · 579fab00
      make.adb (Process_Multilib, [...]): Refine previous change and ignore -mieee switch to avoid spawning an extra gcc...
      
      2009-08-17  Arnaud Charlet  <charlet@adacore.com>
      
      	* make.adb (Process_Multilib, Scan_Make_Arg): Refine previous change
      	and ignore -mieee switch to avoid spawning an extra gcc in this case.
      
      From-SVN: r150829
      Arnaud Charlet committed
    • [multiple changes] · 5568b57c
      2009-08-17  Ed Schonberg  <schonberg@adacore.com>
      
      	* exp_ch3.adb (Build_Discriminant_Formals): If the discriminals already
      	exist, as is the case for synchronized types, use the type of the
      	discriminal in the parameter specification, to prevent a spurious
      	subtype mismatch in gigi.
      
      2009-08-17  Robert Dewar  <dewar@adacore.com>
      
      	* prj-env.adb: Minor reformatting
      	* make.adb: Minor reformatting
      	Comment updates
      
      2009-08-17  Javier Miranda  <miranda@adacore.com>
      
      	* exp_ch7.adb (Wrap_Transient_Expression): Update comments.
      
      From-SVN: r150828
      Arnaud Charlet committed
    • 2009-08-17 Emmanuel Briot <briot@adacore.com> · 48eff283
      	* prj-part.adb, prj.adb, prj.ads, prj-nmsc.adb, prj-conf.adb
      	(Processing_Flags.Require_Obj_Dirs): new field, which controls whether
      	object directories must be present. In the case of gprclean at least,
      	these are optional (if they do not exist there is nothing to clean)
      
      From-SVN: r150827
      Emmanuel Briot committed
    • [multiple changes] · 88eb6e62
      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
    • New test. · 23532a92
      From-SVN: r150825
      Arnaud Charlet committed
    • [multiple changes] · 89c273b4
      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
    • re PR fortran/40877 (memory leaks with gfc_charlen?) · b76e28c6
      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
    • * config.sub, config.guess: Update from upstream sources. · e9d9afef
      From-SVN: r150822
      Ben Elliston committed