Jakub Jelinek
3817707ec3
gcc.c (version_compare_spec_function): Use '%s' rather than %qs in fatal format string.
...
* gcc.c (version_compare_spec_function): Use '%s' rather than %qs in
fatal format string.
From-SVN: r107226
2005-11-19 21:18:31 +01:00
Richard Guenther
452b5b1e53
re PR ada/23717 ([Ada] Wrong ICE diagnostic formatting)
...
2005-11-19 Richard Guenther <rguenther@suse.de>
Roger Sayle <roger@eyesopen.com>
PR ada/23717
* misc.c (internal_error_function): Don't use vsprintf to format
the error message text, instead use pp_format_text and the new
pretty printer APIs. This allows handling of %qs, %w, etc.
Co-Authored-By: Roger Sayle <roger@eyesopen.com>
From-SVN: r107223
2005-11-19 17:24:33 +00:00
Joseph Myers
756191b7c5
combine.c (make_compound_operation): Swap operands of commutative operation if necessary before returning.
...
* combine.c (make_compound_operation): Swap operands of
commutative operation if necessary before returning.
From-SVN: r107219
2005-11-19 12:32:23 +00:00
Richard Guenther
0ed9a3e314
re PR middle-end/23294 (fold does not fold a*C+a to a*(C+1) or a*C-a to a*(C-1))
...
2005-11-19 Richard Guenther <rguenther@suse.de>
PR middle-end/23294
* fold-const.c (fold_plusminus_mult_expr): New function.
(fold_binary): Use to canonicalize PLUS_EXPR and MINUS_EXPR
cases, remove now unnecessary code.
* gcc.dg/tree-ssa/pr23294.c: New testcase.
From-SVN: r107218
2005-11-19 11:29:10 +00:00
Eric Botcazou
0e32f9bcd5
Add comment.
...
From-SVN: r107217
2005-11-19 10:00:42 +00:00
Hans-Peter Nilsson
cdd07c4b25
* gcc.dg/fold-overflow-1.c: Adjust for float output for mmix-*-*.
...
From-SVN: r107216
2005-11-19 08:39:25 +00:00
Paolo Bonzini
ebce9df70b
gensupport.c (old_preds): Rename to std_preds, add special field.
...
2005-11-19 Paolo Bonzini <bonzini@gcc.gnu.org>
* gensupport.c (old_preds): Rename to std_preds, add special field.
(struct old_pred_table): Rename to struct std_pred_table, add special
field.
(NUM_KNOWN_OLD_PREDS): Rename to NUM_KNOWN_STD_PREDS.
(NUM_OLD_SPECIAL_MODE_PREDS): Remove.
(init_predicate_table): Adjust, and set along the way whether a
predicate is special.
From-SVN: r107215
2005-11-19 08:36:57 +00:00
Hans-Peter Nilsson
8273ee9f13
Remove conflict markers
...
From-SVN: r107214
2005-11-19 08:35:22 +00:00
Mark Mitchell
4801f7ed6f
* crontab: Add 4.1 branch entry.
...
From-SVN: r107213
2005-11-19 05:10:19 +00:00
Mark Mitchell
040a473fc7
* BASE-VER: Change to 4.2.0.
...
From-SVN: r107212
2005-11-19 05:09:00 +00:00
Mark Mitchell
abc088aad7
re PR c++/8355 (befriending a template specialization in another namespace)
...
PR c++/8355
* decl.c (grokfndecl): Set up DECL_TEMPLATE_INFO before calling
set_decl_namespace.
* name-lookup.c (set_decl_namespace):
PR c++/8355
* g++.dg/template/friend39.C: New test.
From-SVN: r107207
2005-11-19 02:25:55 +00:00
James E Wilson
817f9ef2e5
Fix spurious warning for strstr (s, "").
...
* builtins.c (fold_builtin_strstr): Pass s1 through fold_convert before
returning it.
* gcc.dg/builtin-strstr.c: New.
From-SVN: r107206
2005-11-18 18:25:25 -08:00
Richard Henderson
7b767e311d
20010423-1.c, [...]: Move from gcc.dg/.
...
* gcc.target/ia64/20010423-1.c, gcc.target/ia64/20020313-1.c,
gcc.target/ia64/20020326-1.c, gcc.target/ia64/20030225-2.c,
gcc.target/ia64/20030405-1.c, gcc.target/ia64/20030811-1.c,
gcc.target/ia64/20040303-1.c: Move from gcc.dg/.
* gcc.target/ia64/asm-1.c, gcc.target/ia64/float80-1.c,
gcc.target/ia64/float80-2.c, gcc.target/ia64/got-1.c,
gcc.target/ia64/postinc-1.c, gcc.target/ia64/types-1.c,
gcc.target/ia64/types-2.c, gcc.target/ia64/visibility-1.c,
gcc.target/ia64/visibility-2.c: Move from gcc.dg/, with
renaming to remove initial "ia64-".
From-SVN: r107205
2005-11-18 18:19:43 -08:00
GCC Administrator
8d50f13900
Daily bump.
...
From-SVN: r107202
2005-11-19 00:17:23 +00:00
Mike Stump
7bbd0aab4c
c-common.c (handle_cleanup_attribute): Use a lang hook for lookup_name.
...
* c-common.c (handle_cleanup_attribute): Use a lang hook for lookup_name.
* config/darwin-c.c (darwin_pragma_unused): Likewise.
* c-decl.c (lookup_name_two) Remove.
* c-tree.h (lookup_name_two): Remove.
* c-objc-common.h (LANG_HOOKS_LOOKUP_NAME): Add.
* langhooks-def.h (LANG_HOOKS_LOOKUP_NAME): Add.
(LANG_HOOKS_DECLS): Add initializer for LANG_HOOKS_LOOKUP_NAME.
* langhooks.h (lang_hooks_for_decls): Add lookup_name.
cp:
* cp-objcp-common.h (LANG_HOOKS_LOOKUP_NAME): Add.
* name-lookup.c (lookup_name_two): Remove.
(lookup_name_one): Add.
* name-lookup.h (lookup_name_two): Remove.
(lookup_name_one): Add.
From-SVN: r107196
2005-11-18 23:40:29 +00:00
Andreas Tobler
186abafe49
ltcf-c.sh (whole_archive_flag_spec): Remove '-all_load $convenience' to match upstream libtool for darwin.
...
2005-11-18 Andreas Tobler <a.tobler@schweiz.ch>
* ltcf-c.sh (whole_archive_flag_spec): Remove '-all_load $convenience'
to match upstream libtool for darwin.
From-SVN: r107192
2005-11-18 23:53:08 +01:00
Eric Botcazou
4c63a5845d
run_all.sh (target_run): Revert 2005-11-17 patch.
...
* ada/acats/run_all.sh (target_run): Revert 2005-11-17 patch.
From-SVN: r107190
2005-11-18 21:09:05 +00:00
Richard Earnshaw
a6a5de0428
re PR target/24914 (gcc fails when built with --with-cpu=ep9312 --with-fpu=maverick)
...
PR target/24914
* arm.c (arm_hard_regno_mode_ok): Co-processor registers aren't ok
when not generating code to use that co-processor.
From-SVN: r107187
2005-11-18 17:59:37 +00:00
James A. Morrison
e5e0238e33
tree-flow.h (reserve_phi_args_for_new_edge, [...]): Mention that these functions are now in tree-phinodes.c.
...
2005-11-18 James A. Morrison <phython@gcc.gnu.org>
* tree-flow.h (reserve_phi_args_for_new_edge, create_phi_node,
add_phi_arg, remove_phi_args, remove_phi_node phi_reverse): Mention that these functions are now in tree-phinodes.c.
From-SVN: r107185
2005-11-18 16:48:31 +00:00
Jie Zhang
3d33a0563a
* config/bfin/bfin.md (trap): New pattern.
...
From-SVN: r107184
2005-11-18 14:15:11 +00:00
Richard Kenner
4d14c1f401
tree-ssa-dom.c (extract_range_from_cond): Deal with variable bounds on types.
...
* tree-ssa-dom.c (extract_range_from_cond): Deal with variable bounds
on types.
From-SVN: r107182
2005-11-18 08:32:05 -05:00
Richard Kenner
e259b3c2b2
Fix typo in last change.
...
From-SVN: r107181
2005-11-18 08:25:20 -05:00
Richard Kenner
c48dc958ed
expr.c (expand_expr_real): Don't look at EXPR_HAS_LOCATION unless ib_boundaries_block is non-null
...
* expr.c (expand_expr_real): Don't look at EXPR_HAS_LOCATION unless
ib_boundaries_block is non-null
From-SVN: r107180
2005-11-18 08:22:55 -05:00
Richard Kenner
032e2f5085
* postreload.c (reload_cse_move2add): Don't try to work with BImode.
...
From-SVN: r107179
2005-11-18 08:14:39 -05:00
Richard Kenner
438090c372
fold-const.c (build_range_check): Use proper type for subtraction when merging lower bound.
...
* fold-const.c (build_range_check): Use proper type for subtraction
when merging lower bound.
From-SVN: r107178
2005-11-18 08:07:06 -05:00
Paolo Carlini
7697e6c66a
rc_string_base.h (__rc_string_base<>::_Rep): Avoid the anonymous struct extension, adjust everywhere.
...
2005-11-18 Paolo Carlini <pcarlini@suse.de>
* include/ext/rc_string_base.h (__rc_string_base<>::_Rep): Avoid the
anonymous struct extension, adjust everywhere.
* include/ext/rc_string_base.h (__rc_string_base<>::_S_empty_rep()):
Just use a static member.
(__rc_string_base<>::__rc_string_base(), _S_construct): Adjust.
* include/ext/rc_string_base.h (__rc_string_base<>::_Rep): Use anonymous
union together with _CharT to fix alignment issues, rebind to _Rep and
rename _Raw_alloc to _Rep_alloc_type.
(__rc_string_base<>::_Rep::_S_create, _M_destroy): Adjust consistently.
* include/ext/vstring_util.h (__is_null_p): Move inside struct
__vstring_utility as static _S_is_null_pointer.
* include/ext/sso_string.h
(__sso_string_base<>::_M_construct(std::forward_iterator_tag): Adjust.
* include/ext/rc_string_base.h
(__rc_string_base<>::_S_construct(std::forward_iterator_tag): Likewise.
Implement Option 3 of DR 431 for ext/vstring - both available bases.
* include/bits/cpp_type_traits.h (struct __is_empty): Add.
* include/ext/vstring.h (__versa_string<>::swap): Delegate to
this->_M_swap.
* include/ext/vstring.tcc (__versa_string<>::swap): Remove.
* include/ext/vstring_util.h (struct __vstring_utility<>): Add struct
_Alloc_hider<>, augmented of allocator swapping facility, specialized
to nop for empty allocators.
* include/ext/rc_string_base.h (__rc_string_base<>::_M_swap): Use it.
(__rc_string_base<>::_M_is_leaked, _M_set_sharable): Change to private.
* include/ext/sso_string_base.h (__sso_string_base<>::_M_swap):
Likewise.
(__sso_string_base<>::_M_is_leaked, _M_set_sharable): Remove, unused.
* include/ext/rc_string_base.h (__rc_string_base<>::_M_data(_CharT*):
Return void.
* include/ext/sso_string_base.h (__sso_string_base<>::_M_data(_CharT*):
Likewise.
From-SVN: r107176
2005-11-18 11:50:22 +00:00
Laurent GUERBY
e0709888ef
re PR ada/24857 (ada/s-auxdec.ads alignment issue for arm-rtems)
...
2005-11-18 Laurent GUERBY <laurent@guerby.net>
PR ada/24857
* Makefile.in: Use s-auxdec-empty for RTEMS.
From-SVN: r107175
2005-11-18 11:44:20 +00:00
Joseph Myers
ce5bf41cc2
* g++.dg/cpp/string-2.C: New test.
...
From-SVN: r107174
2005-11-18 11:06:56 +00:00
Francois-Xavier Coudert
eda4ed4719
configure.ac: Add "-I ." to the AM_FCFLAGS.
...
* configure.ac: Add "-I ." to the AM_FCFLAGS.
* configure: Regenerate.
From-SVN: r107172
2005-11-18 10:51:57 +00:00
Zdenek Dvorak
21f868a26a
re PR rtl-optimization/24497 (internal compiler error: in apply_opt_in_copies, at loop-unroll.c:2122)
...
PR rtl-optimization/24497
* loop-unroll.c (apply_opt_in_copies): Do not verify equality of
the copied insn.
From-SVN: r107171
2005-11-18 10:31:45 +00:00
Zdenek Dvorak
925196ed52
tree-scalar-evolution.c (expression_expensive_p): New function.
...
* tree-scalar-evolution.c (expression_expensive_p): New function.
(scev_const_prop): Use compute_overall_effect_of_inner_loop.
* gcc.dg/tree-ssa/loop-14.c: New test.
From-SVN: r107170
2005-11-18 10:27:50 +00:00
Bernd Schmidt
d087f5fe31
Add missing file.
...
From-SVN: r107165
2005-11-18 09:09:24 +00:00
James A. Morrison
a5ddbe56e4
run_all.sh (target_run): Kill long running tests.
...
2005-11-17 James A. Morrison <phython@gcc.gnu.org>
Michael Chamberlain <michael@chamberlain.net.au>
* ada/acats/run_all.sh (target_run): Kill long running tests.
Co-Authored-By: Michael Chamberlain <michael@chamberlain.net.au>
From-SVN: r107161
2005-11-18 06:13:07 +00:00
John David Anglin
9fb1c9dbc8
re PR target/24348 (bootstrap failure building libgcc)
...
PR target/24348
* config.gcc (hppa*-*-hpux*): Add pa/t-slibgcc-elf-ver to tmake config
when not using sjlj exceptions.
* config/pa/pa64-hpux.h (LIB_SPEC): Add -lpthread in static links.
* config/pa/pa-hpux11.h (LIB_SPEC): Likewise.
* config/pa/som.h (ASM_PREFERRED_EH_DATA_FORMAT): Delete define.
* config/pa/linux-unwind.h (pa32_fallback_frame_state): Use
DWARF_ALT_FRAME_RETURN_COLUMN instead of column 0 as return column.
* config/pa/pa-hpux.h (MD_UNWIND_SUPPORT): New define.
* config/pa/pa-linux.h (INCOMING_RETURN_ADDR_RTX,
DWARF_FRAME_RETURN_COLUMN, ASM_PREFERRED_EH_DATA_FORMAT,
ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Delete defines.
* config/pa/pa.h (ARG_POINTER_CFA_OFFSET): Delete.
(FRAME_POINTER_CFA_OFFSET, INCOMING_RETURN_ADDR_RTX,
DWARF_FRAME_RETURN_COLUMN, DWARF_ALT_FRAME_RETURN_COLUMN,
ASM_PREFERRED_EH_DATA_FORMAT, ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): New
defines.
* config/pa/hpux-unwind.h: New file.
* testsuite/gcc.dg/cleanup-8.c: Enable test on hppa*-*-hpux*.
* testsuite/gcc.dg/cleanup-9.c: Likewise.
* testsuite/gcc.dg/cleanup-10.c: Likewise.
* testsuite/gcc.dg/cleanup-11.c: Likewise.
From-SVN: r107157
2005-11-18 03:22:18 +00:00
Alexandre Oliva
ff2d10c1e4
rs6000.h (ASM_OUTPUT_WEAKREF): Define.
...
* config/rs6000/rs6000.h (ASM_OUTPUT_WEAKREF): Define.
* defaults.h (ASM_OUTPUT_WEAKREF): Add decl argument.
* varasm.c (do_assemble_alias): Adjust call.
(weak_finish): Don't use ASM_WEAKEN_LABEL if ASM_WEAKEN_DECL
is defined.
* doc/tm.texi (ASM_OUTPUT_WEAKREF): Document it.
From-SVN: r107156
2005-11-18 01:55:34 +00:00
James E Wilson
ebb23329cd
Fix confusing comment typo reported by Rafael Espindola.
...
* tree.def (FUNCTION_DECL): Correct typo in comment.
From-SVN: r107155
2005-11-17 17:29:16 -08:00
Richard Henderson
f6672e8e52
dwarf2out.c (dw_cfi_oprnd_struct): Reduce dw_cfi_reg_num to int.
...
* dwarf2out.c (dw_cfi_oprnd_struct): Reduce dw_cfi_reg_num to int.
(lookup_cfa_1): Apply data alignment to DW_CFA_def_cfa_offset_sf
and DW_CFA_def_cfa_sf.
(def_cfa_1): Use DW_CFA_def_cfa_offset_sf with negative values.
(dbx_reg_number): Don't assert particular registers here.
(based_loc_descr): ... do it here instead. Fold in ...
(eliminate_reg_to_offset): ... this function.
(compute_frame_pointer_to_cfa_displacement): Fold in the effects
of eliminate_reg_to_offset; use FRAME_POINTER_CFA_OFFSET.
* unwind-dw2.c (execute_cfa_program): Apply data align factor
to DW_CFA_def_cfa_offset_sf and DW_CFA_def_cfa_sf.
* function.c (instantiate_new_reg): Use FRAME_POINTER_CFA_OFFSET.
(instantiate_virtual_regs): Likewise.
* var-tracking.c (adjust_stack_reference): Likewise.
* doc/tm.texi (FRAME_POINTER_CFA_OFFSET): New.
From-SVN: r107154
2005-11-17 17:19:10 -08:00
Mark Wielaard
ca9e049bc1
Imported GNU Classpath gcj-import-20051117.
...
* gnu/java/net/protocol/file/Connection.java: Removed, fully merged.
* sources.am: Regenerated.
* Makefile.in: Likewise.
From-SVN: r107153
2005-11-18 00:59:33 +00:00
GCC Administrator
fb3a09c214
Daily bump.
...
From-SVN: r107150
2005-11-18 00:17:22 +00:00
Hans-Peter Nilsson
eaa9c6bdb4
fpu-glibc.h (set_fpu): Only call fedisableexcept for nonzero FE_ALL_EXCEPT.
...
* config/fpu-glibc.h (set_fpu): Only call fedisableexcept for
nonzero FE_ALL_EXCEPT.
From-SVN: r107145
2005-11-18 00:09:09 +00:00
Bernd Schmidt
9976dec829
elf.h (STARTFILE_SPEC): Add "crtlibid%O%s"
...
* config/bfin/elf.h (STARTFILE_SPEC): Add "crtlibid%O%s"
* config/bfin/uclinux.h (STARFILE_SPEC): Likewise.
* config/bfin/t-bfin-elf (EXTRA_PARTS, EXTRA_MULTILIB_PARTS): Add
crtlibid.o.
($(T)crtlibid.o): New rule.
From-SVN: r107138
2005-11-17 22:04:42 +00:00
Richard Kenner
115a82d3f1
re PR ada/22333 (ACATS FAIL c34007p c34007r c45282b spurious discriminant CONSTRAINT_ERROR)
...
PR ada/22333
* trans.c (gnat_gimplify_expr, case ADDR_EXPR): Always make
a temporary if taking the address of something that is neither
reference, declaration, or constant, since the gimplifier
can't handle that case.
From-SVN: r107134
2005-11-17 21:03:50 +00:00
Mark Wielaard
f4e1433a02
[multiple changes]
...
2005-11-17 Mark Wielaard <mark@klomp.org>
* gnu/java/net/protocol/file/Handler.java: Removed, fully merged now.
* java/net/ServerSocket.java: Likewise.
* sources.am: Regenerated.
* Makefile.in: Regenerated.
2005-11-17 Mark Wielaard <mark@klomp.org>
Fixes bug #24006
* java/net/ServerSocket.java (implAccept): Set Socket.bound to true.
2005-11-17 Tom Tromey <tromey@redhat.com>
* java/net/ServerSocket.java (accept): Use correct security manager
call.
2005-11-17 Jeroen Frijters <jeroen@frijters.net>
* java/net/ServerSocket.java
(bound): Removed.
(local): New field.
(bind): Cache local socket address.
(getInetAddress, getLocalPort, getLocalSocketAddress, isBound):
Use cached local socket address.
(close): bound field was removed.
2005-11-17 Tom Tromey <tromey@redhat.com>
* java/net/URLConnection.java (setDoInput): Javadoc fix.
(setDoOutput): Likewise.
(setContentHandlerFactory): Likewise.
(setFileNameMap): Likewise.
2005-11-17 Mark Wielaard <mark@klomp.org>
* java/net/URLClassloader.java (addURLs): Add comment about jboss.
2005-11-17 Mark Wielaard <mark@klomp.org>
* java/net/URLClassLoader.java (addURLs): Don't call addURL(), but
call urls.add() and addURLImpl() directly on each URL.
2005-11-17 Tom Tromey <tromey@redhat.com>
* java/net/URLClassLoader.java (definePackage): Javadoc fixes.
2005-11-17 Jeroen Frijters <jeroen@frijters.net>
* java/net/URLClassLoader.java
(Resource.name): Removed field.
(JarURLResource.name): Added field.
(FileResource.getURL): Use File.toURL() instead of doing it in
a way that breaks on Windows.
2005-11-17 Roman Kennke <roman@kennke.org>
Reported by: Ingo Proetel <proetel@aicas.com>
* java/net/URLClassLoader.java
(findClass): Added null check to avoid NullPointerException.
2005-11-17 David Gilbert <david.gilbert@object-refinery.com>
* java/net/URLClassLoader.java: reordered some API doc comments to
suppress Eclipse warnings, and fixed API doc link.
2005-11-17 Tom Tromey <tromey@redhat.com>
* java/net/URLClassLoader.java (URLClassLoader): Removed
unused constructor.
2005-11-17 Jeroen Frijters <jeroen@frijters.net>
* java/net/URLClassLoader (findClass): Close InputStream after we're
done with it.
From-SVN: r107133
2005-11-17 20:38:40 +00:00
Bryce McKinlay
11922361e4
Implement -Xss.
...
* include/jvm.h (gcj::stack_size): Declare.
(_Jv_StackSize): Declare.
* posix-threads.cc (_Jv_InitThreads): Validate gcj::stack_size.
(_Jv_ThreadStart): Set stack size if specified.
* prims.cc (gcj::stack_size): Define.
(parse_memory_size): Renamed from parse_heap_size.
(_Jv_SetStackSize): Parse stack size argument and set
gcj::stack_size.
From-SVN: r107132
2005-11-17 20:25:57 +00:00
Geoffrey Keating
f9314d012c
/Network/Servers/hills/Volumes/capanna/gkeating/l
...
From-SVN: r107131
2005-11-17 20:10:51 +00:00
Mark Wielaard
035db16b87
[multiple changes]
...
2005-11-17 Mark Wielaard <mark@klomp.org>
* java/text/SimpleDateFormat.java: Removed, fully merged now.
* sources.am: Regenerated.
* Makefile.in: Regenerated.
2005-11-17 Sven de Marothy <sven@physto.se>
* java/text/SimpleDateFormat.java
(computeOffset): Allow timezone to be first in the parsed String.
2005-11-17 Mark Wielaard <mark@klomp.org>
* java/text/SimpleDateFormat.java (field, size): Make package private.
2005-11-17 Tom Tromey <tromey@redhat.com>
* java/text/SimpleDateFormat.java (compileFormat): Correctly
handle quoted single quotes. PR classspath/23183.
2005-11-17 Tom Tromey <tromey@redhat.com>
* java/text/SimpleDateFormat.java (compileFormat): Reformatted.
2005-11-17 Tom Tromey <tromey@redhat.com>
* java/text/DateFormat.java (serialVersionUID): New field.
2005-11-17 Mark Wielaard <mark@klomp.org>
* java/text/DateFormat.java (equals): Reimplement.
2005-11-17 David Gilbert <david.gilbert@object-refinery.com>
* java/text/Collator.java: API doc fixes,
* java/text/DateFormat.java: likewise,
* java/text/DecimalFormatSymbols.java: likewise,
* java/text/DateFormatSymbols.java: likewise,
* java/text/SimpleDateFormat.java: likewise.
2005-11-17 Jeroen Frijters <jeroen@frijters.net>
* java/text/Collator.java (getInstance(Locale)):
Added default collation pattern to handle case when resource
is missing and throw InternalError instead of returning null
should parsing fail.
From-SVN: r107121
2005-11-17 14:03:22 +00:00
Francois-Xavier Coudert
b424a57253
re PR fortran/20811 (gfortran include problem (regression from g77))
...
PR fortran/20811
* scanner.c (gfc_open_included_file): Add an extra include_cwd
argument. Only include files in the current working directory if
its value is true.
* gfortran.h: Change prototype for gfc_open_included_file.
(load_file): Don't search for include files in the current working
directory.
* options.c (gfc_post_options): Add the directory of the source file
to the list of paths for included files.
* module.c (gfc_use_module): Look for module files in the current
directory.
From-SVN: r107120
2005-11-17 12:51:41 +00:00
Francois-Xavier Coudert
1c2e7a3ab3
re PR libfortran/24892 (ACCESS argument to the OPEN statement)
...
PR fortran/24892
* io/io.h (unit_access): Add ACCESS_APPEND.
* io/open.c (access_opt): Add APPEND value for ACCESS keyword.
(st_open): Use that new value to set the POSITION accordingly.
* gfortran.dg/open_access_append_1.f90: New test.
* gfortran.dg/open_access_append_2.f90: New test.
From-SVN: r107119
2005-11-17 12:46:57 +00:00
Richard Guenther
0bc52d42a8
re PR middle-end/24851 (f2c miscompilation)
...
2005-11-16 Richard Guenther <rguenther@suse.de>
PR middle-end/24851
* fold-const.c (extract_array_ref): Return byte offset
in all cases.
(fold_binary): Fold &x[a] CMP &x[b] to
a*sizeof(*x) CMP b*sizeof(*x) to get correct overflow
behavior.
* gcc.c-torture/execute/pr24851.c: New testcase.
From-SVN: r107117
2005-11-17 11:35:00 +00:00
Laurent GUERBY
f92af60724
re PR ada/24857 (ada/s-auxdec.ads alignment issue for arm-rtems)
...
2005-11-17 Laurent GUERBY <laurent@guerby.net>
PR ada/24857
* s-auxdec-empty.ads, s-auxdec-empty.adb: New files.
From-SVN: r107116
2005-11-17 11:13:18 +00:00