Kaz Kojima
72aeff7c56
re PR middle-end/28160 (Bogus "size of array 'foo' is too large" error with -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-15 06:58:57 +00:00
Steven G. Kargl
5cd8e1235a
trans-expr.c (gfc_trans_string_copy): Evaluate the string lengths
...
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-15 05:11:38 +00:00
GCC Administrator
1321e7aec6
Daily bump.
...
From-SVN: r115460
2006-07-15 00:17:59 +00:00
Benjamin Kosnik
701a3eeeef
acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): New.
...
2006-07-14 Benjamin Kosnik <bkoz@redhat.com>
* 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.
From-SVN: r115456
2006-07-14 22:41:43 +00:00
Anthony Green
8fce9db014
natFilePosix.cc (performSetLastModified): Return true on success, false otherwise.
...
2006-07-14 Anthony Green <green@redhat.com>
* java/io/natFilePosix.cc (performSetLastModified): Return true on
success, false otherwise.
From-SVN: r115452
2006-07-14 18:16:39 +00:00
Eliot Dresselhaus
27714d4372
re PR target/27287 (returning constant double)
...
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-14 13:44:27 -04:00
Paolo Carlini
8d6bd4a791
random (minstd_rand0, [...]): Use unsigned long as implementation-defined type.
...
2006-07-14 Paolo Carlini <pcarlini@suse.de>
* include/tr1/random (minstd_rand0, minstd_rand, ranlux3, ranlux4):
Use unsigned long as implementation-defined type.
From-SVN: r115450
2006-07-14 17:21:03 +00:00
Ranjit Mathew
38b19a9247
stacktrace.cc (_Jv_StackTrace::GetStackTrace): Unconditionally use _Unwind_Backtrace().
...
* stacktrace.cc (_Jv_StackTrace::GetStackTrace): Unconditionally use
_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.
From-SVN: r115449
2006-07-14 17:14:55 +00:00
Ulrich Weigand
47a4949a8e
linux-unwind.h (s390_fallback_frame_state): Detect signal frames correctly 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-14 16:43:27 +00:00
Carlos O'Donell
03471b3fcd
dbxout.c (dbxout_begin_prologue): Emit LFBB label at function start.
...
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-14 15:54:23 +00:00
Gary Benson
1470f196e4
File.java (internalExists): New method.
...
2006-07-14 Gary Benson <gbenson@redhat.com>
* java/io/File.java (internalExists): New method.
(exists): Use internalExists.
(internalIsDirectory): New method.
(isDirectory): Use internalIsDirectory.
(createTempFile): Use internalExists and internalIsDirectory.
From-SVN: r115441
2006-07-14 14:37:46 +00:00
Paolo Carlini
8c2e5f361c
random.tcc (struct _To_Unsigned_Type): Add.
...
2006-07-14 Paolo Carlini <pcarlini@suse.de>
* 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.
From-SVN: r115439
2006-07-14 12:55:15 +00:00
Volker Reichelt
4f543d151e
re PR c++/28343 (ICE with invalid asm specifier for struct member)
...
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-14 09:43:23 +00:00
Bryce McKinlay
a7929aa4bd
gcj.texi (Invocation): Corrections for Invocation API example.
...
2006-07-12 Bryce McKinlay <mckinlay@redhat.com>
* gcj.texi (Invocation): Corrections for Invocation API example.
From-SVN: r115432
2006-07-14 04:54:43 +01:00
Bryce McKinlay
b369a1989c
interpret.cc (_Jv_InterpMethod::run): Don't SAVE_PC for fdiv.
...
2006-07-13 Bryce McKinlay <mckinlay@redhat.com>
* interpret.cc (_Jv_InterpMethod::run): Don't SAVE_PC for fdiv.
From-SVN: r115431
2006-07-14 01:52:18 +01:00
GCC Administrator
11761b31da
Daily bump.
...
From-SVN: r115429
2006-07-14 00:17:37 +00:00
Paolo Carlini
21ded7c71e
string_copy_cons_and_dest.cc: New.
...
2006-07-13 Paolo Carlini <pcarlini@suse.de>
* testsuite/performance/21_strings/string_copy_cons_and_dest.cc: New.
From-SVN: r115425
2006-07-13 23:41:06 +00:00
Janis Johnson
263108e10f
sourcebuild.texi (Test Directives): Document dg-shouldfail.
...
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-13 22:58:07 +00:00
Bryce McKinlay
43e6b77cbb
interpret.cc (_Jv_InterpMethod::compile): Add FIXME comment.
...
2006-07-13 Bryce McKinlay <mckinlay@redhat.com>
* 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.
From-SVN: r115422
2006-07-13 22:13:12 +01:00
Jan Hubicka
88d03811f8
cgraphunit.c (cgraph_varpool_analyze_pending_decls): Call align_variable.
...
* 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-13 20:49:34 +00:00
Benjamin Kosnik
56dbe89df5
Makefile.am (pch*_output_anchor): Add.
...
2006-07-13 Benjamin Kosnik <bkoz@redhat.com>
* include/Makefile.am (pch*_output_anchor): Add.
(pch*_output): Use.
(CLEANFILES): Use.
* include/Makefile.in: Regenerate.
* scripts/check_performance: Be verbose on compile error.
From-SVN: r115419
2006-07-13 19:21:51 +00:00
Bryce McKinlay
0ed431d484
builtins.c (check_for_builtin): If a builtin could result in a direct call 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-13 15:19:04 +01:00
Ben Elliston
18c3f977d0
* MAINTAINERS (Various Maintainers): Add myself as dfp maintainer.
...
From-SVN: r115413
2006-07-13 22:29:12 +10:00
Nick Clifton
6915d7f002
sh.c (sh_reorg): Ignore deleted insns whilst walking the LOG_LINKS chain.
...
* config/sh/sh.c (sh_reorg): Ignore deleted insns whilst walking the
LOG_LINKS chain.
From-SVN: r115412
2006-07-13 07:55:25 +00:00
Geoffrey Keating
7c0de6a544
Index: ChangeLog
...
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-13 06:16:59 +00:00
Paul Thomas
72af9f0b51
re PR fortran/28174 (Corruption of multiple character arrays when passing 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-13 05:07:35 +00:00
Eric Christopher
3fb8727b3b
t-slibgcc-darwin (SHLIB_LINK): Don't munge stmp-lipo.
...
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-13 02:42:49 +00:00
GCC Administrator
b9c828c710
Daily bump.
...
From-SVN: r115406
2006-07-13 00:17:20 +00:00
Benjamin Kosnik
04dc169115
Makefile.am: Revert last change.
...
2006-07-12 Benjamin Kosnik <bkoz@redhat.com>
* include/Makefile.am: Revert last change.
* include/Makefile.in: Same.
From-SVN: r115402
2006-07-13 00:14:06 +00:00
Kazu Hirata
5f89204ee8
* tree.c: Fix a comment typo.
...
From-SVN: r115401
2006-07-12 22:43:27 +00:00
Naveen.H.S
8a01e7d967
muldiv.md (umulhisi3_c): Use only registers for dest.
...
* config/m32c/muldiv.md (umulhisi3_c): Use only registers for
dest.
(umulhisi3_r): Likewise.
From-SVN: r115400
2006-07-12 18:31:32 -04:00
Jason Merrill
ec0897dedd
re PR c++/28217 (ICE in tree_int_cst_sgn)
...
PR c++/28217
* semantics.c (note_decl_for_pch): Don't premangle templates.
From-SVN: r115399
2006-07-12 17:57:58 -04:00
Benjamin Kosnik
f67a67d831
Makefile.am (pch_output): Don't precompile extc++.h.
...
2006-07-12 Benjamin Kosnik <bkoz@redhat.com>
* include/Makefile.am (pch_output): Don't precompile extc++.h.
(pch_output_dirs): Same.
* include/Makefile.in: Regenerate.
* testsuite/lib/libstdc++.exp: Test PCH with stdtr1c++.h.
From-SVN: r115379
2006-07-12 17:07:09 +00:00
Tom Tromey
e9186fbe67
re PR libgcj/27271 (i/o error (java.util.zip.ZipException: Deflated stream ends early.))
...
PR libgcj/27271:
* java/util/zip/ZipFile.java (getInputStream): Call addDummyByte
on PartialInputStream.
(PartialInputStream.dummyByteCount): New field.
(PartialInputStream.fillBuffer): Handle dummy byte.
(PartialInputStream.read): Likewise.
(PartialInputStream.addDummyByte): New method.
From-SVN: r115378
2006-07-12 17:00:49 +00:00
Paolo Carlini
93e890688c
re PR libstdc++/27878 (GCC 4.1.1 build fails on mips-sgi-irix6.5 (libstdc++)/GCC 4.1.0 worked.)
...
2006-07-12 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/27878
* doc/install.texi (mips-sgi-irix6): Add note about IRIX 6.5.x,
x < 19, vs wchar_t support.
From-SVN: r115374
2006-07-12 16:02:46 +00:00
Gary Benson
782bcb9f98
File.java (renameTo): Fix security checks.
...
2006-07-12 Gary Benson <gbenson@redhat.com>
* java/io/File.java (renameTo): Fix security checks.
From-SVN: r115373
2006-07-12 15:25:50 +00:00
Francois-Xavier Coudert
b3eb1e0e9c
re PR fortran/28163 (Calling libgfortran's copy_string is inefficient)
...
PR fortran/28163
* trans-expr.c (gfc_trans_string_copy): Generate inline code
to perform string copying instead of calling a library function.
* trans-decl.c (gfc_build_intrinsic_function_decls): Don't build
decl for copy_string.
* trans.h (gfor_fndecl_copy_string): Remove prototype.
* intrinsics/string_intrinsics.c (copy_string): Remove function.
From-SVN: r115372
2006-07-12 15:11:11 +00:00
Nick Clifton
45e49d9640
* config/sh/sh.h (SUBTARGET_ASM_RELAX_SPEC): Use -isa=sh4-up instead of -isa=sh4.
...
From-SVN: r115371
2006-07-12 15:04:24 +00:00
Bryce McKinlay
2bdda702e9
re PR java/28352 (gcj -C fails to generate line number info for method)
...
2006-07-12 Bryce McKinlay <mckinlay@redhat.com>
PR libgcj/28352
* stacktrace.cc (getLineNumberForFrame): Roll back PC by 1 when
looking up line number for interpreted frame.
From-SVN: r115370
2006-07-12 14:56:25 +01:00
Mike Stump
8b907df422
re PR c/28280 (bogus "statement with no effect" warning with VLA and typeof)
...
PR c/28280
* c-parser.c (c_parser_typeof_specifier): Don't use
c_finish_expr_stmt, open code desired semantics instead.
From-SVN: r115369
2006-07-12 13:12:08 +00:00
Martin Michlmayr
4b64175082
typeck.c (string_conv_p): Remove spurious quotation mark in warning.
...
* typeck.c (string_conv_p): Remove spurious quotation mark in
warning.
From-SVN: r115368
2006-07-12 12:55:01 +00:00
Mike Stump
f27026943b
* protoize.c (edit_fn_definition): Add volatile to clean_text_p.
...
From-SVN: r115367
2006-07-12 11:56:48 +00:00
Paolo Carlini
d5fa9a0dd1
codecvt_specializations.h: Fix typo in commit for libstdc++/28290.
...
2006-07-11 Paolo Carlini <pcarlini@suse.de>
* include/ext/codecvt_specializations.h: Fix typo in commit
for libstdc++/28290.
From-SVN: r115361
2006-07-12 00:17:42 +00:00
GCC Administrator
292681075d
Daily bump.
...
From-SVN: r115360
2006-07-12 00:17:25 +00:00
Paolo Carlini
420644ea23
locale_facets.tcc (collate<>::do_transform( const _CharT*, const _CharT*)): Simplify previous fix for libstdc++/28277, always allocate memory dynamically.
...
2006-07-11 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (collate<>::do_transform(
const _CharT*, const _CharT*)): Simplify previous fix for
libstdc++/28277, always allocate memory dynamically.
From-SVN: r115356
2006-07-12 00:05:50 +00:00
Paolo Carlini
ad084e9d07
re PR libstdc++/28344 (Use of __alpha in tr1/random breaks Tru64 UNIX bootstrap)
...
2006-07-11 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/28344
* include/tr1/random (gamma_distribution<>::
gamma_distribution(const result_type&)): Don't use __alpha as
parameter name, a predefined macro on Alpha systems.
From-SVN: r115355
2006-07-11 22:08:56 +00:00
Paolo Carlini
6ab639421e
re PR libstdc++/28290 (error: 'iconv_t' does not name a type)
...
2006-07-11 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/28290
* include/ext/codecvt_specializations.h: Fix, adding missing
includes and guards.
From-SVN: r115354
2006-07-11 17:48:10 +00:00
Paolo Carlini
36bb088b04
PR libstdc++/28277 (partial: collate bits)
...
2006-07-11 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/28277 (partial: collate bits)
* include/bits/locale_facets.tcc (collate<>::do_transform(
const _CharT*, const _CharT*)): Avoid __builtin_alloca with no
limit; also avoid multiple calls (in a loop).
* testsuite/22_locale/collate/transform/char/28277.cc: New.
* testsuite/22_locale/collate/transform/wchar_t/28277.cc: Likewise.
From-SVN: r115332
2006-07-11 11:21:38 +00:00
Feng Wang
9d6a4afbc8
Fix typos.
...
From-SVN: r115329
2006-07-11 07:20:17 +00:00
Mike Stump
d92f605539
Fix typo
...
From-SVN: r115328
2006-07-11 04:10:38 +00:00