Jakub Jelinek
de000d222a
re PR preprocessor/28709 (Bad diagnostic pasting tokens with ##)
...
PR preprocessor/28709
* macro.c (paste_tokens): Do error reporting here, use BUF with the
spelled LHS token as opposed to spelling it again.
(paste_all_tokens): Don't report errors here, just break on failure.
* gcc.dg/cpp/paste14.c: New test.
From-SVN: r117664
2006-10-12 11:25:59 +02:00
Jie Zhang
1e96b1c34f
bfin.md (eh_return): Call emit_jump_insn instead of emit_insn to emit eh_return_internal instruction.
...
* config/bfin/bfin.md (eh_return): Call emit_jump_insn instead of
emit_insn to emit eh_return_internal instruction.
(eh_return_internal): Explicitly set pc.
From-SVN: r117662
2006-10-12 08:52:58 +00:00
Mark Mitchell
f724eac4c5
re PR c++/29175 (ICE on invalid C++ variable length array)
...
PR c++/29175
* decl.c (check_initializer): Issue errors about trying to
initialize arrays whose elements have variable size.
PR c++/29175
* g++.dg/init/array24.C: New test.
From-SVN: r117658
2006-10-12 04:35:56 +00:00
Kaveh R. Ghazi
8c166806c8
builtins-config.h: Move Solaris section after inclusion of <sys/types.h>.
...
* gcc.dg/builtins-config.h: Move Solaris section after inclusion
of <sys/types.h>.
From-SVN: r117656
2006-10-12 02:33:57 +00:00
Paolo Carlini
d5a92b3e98
2006-10-11 Paolo Carlini <pcarlini@suse.de>
...
* Revert unintended howto.html change.
From-SVN: r117655
2006-10-12 00:18:39 +00:00
GCC Administrator
e58dedf73a
Daily bump.
...
From-SVN: r117653
2006-10-12 00:17:20 +00:00
Paolo Carlini
73df6a37ea
lwg-active.html, [...]: Import Revision 44.
...
2006-10-11 Paolo Carlini <pcarlini@suse.de>
* docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 44.
From-SVN: r117651
2006-10-12 00:16:48 +00:00
Tobias Schlüter
c4632147f3
gfortran.h (gfc_show_actual_arglist, [...]): Add prototypes.
...
* gfortran.h (gfc_show_actual_arglist, gfc_show_array_ref,
gfc_show_array_spec, gfc_show_attr, gfc_show_code,
gfc_show_components, gfc_show_constructor, gfc_show_equiv,
gfc_show_expr, gfc_show_namelist, gfc_show_ref, gfc_show_symbol,
gfc_show_typespec): Add prototypes.
* dump-parse-tree.c (gfc_show_actual_arglist, gfc_show_array_ref,
gfc_show_array_spec, gfc_show_attr, gfc_show_code,
gfc_show_components, gfc_show_constructor, gfc_show_equiv,
gfc_show_expr, gfc_show_namelist, gfc_show_ref, gfc_show_symbol,
gfc_show_typespec): Remove 'static' from declaration.
From-SVN: r117646
2006-10-12 00:11:05 +02:00
Benjamin Kosnik
e64690af46
re PR libstdc++/29426 (static __recursive_mutex init vs __GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION)
...
2006-10-11 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/29426
* libsupc++/guard.cc (get_static_mutex): New.
(mutex_wrapper::mutex_wrapper): Use it to get properly initialized
recursive mutex without ordering issues.
* src/locale_init.cc (__get_locale_mutex): No need to
uglify. Change to get_locale_mutex.
From-SVN: r117643
2006-10-11 20:18:36 +00:00
Lee Millward
7a1af5508c
add missing test for "typedef auto"
...
From-SVN: r117642
2006-10-11 19:43:13 +00:00
Lee Millward
2610654299
re PR c++/29024 (storage class specifier accepted for typedef (clause 7.1.1 ; 1))
...
PR c++/29024
* cp-tree (struct cp_decl_specifier_seq): Rename to
conflicting_specifiers_p
* parser.c (cp_parser_set_storage_class): Set
conflicting_specifiers_p for the input decl specifier
if a typedef specifier is present. Rename uses of
multiple_specifiers_p to conflicting_specifiers_p.
(cp_parser_decl_specifier_seq) <RID_TYPEDEF>: If a storage
class specifier has already been set for this declaration,
set conflicting_specifiers_p to true on the decl_specs.
* decl.c (grokdeclarator): Rename uses of
multiple_specifiers_p to conflicting_specifiers_p.
* g++.dg/parse/typedef8.C: New test.
* g++.dg/other/mult-stor1.C: Adjust error markers.
From-SVN: r117641
2006-10-11 19:31:33 +00:00
Richard Guenther
377d569bdb
re PR tree-optimization/28230 (-O2 -fwrapv miscompiles gcc, binutils, gzip.)
...
2006-10-11 Richard Guenther <rguenther@suse.de>
PR tree-optimization/28230
* tree-vrp.c (vrp_int_const_binop): Move flag_wrapv handling
to the correct place.
* gcc.dg/torture/pr28230.c: New testcase.
From-SVN: r117637
2006-10-11 16:05:37 +00:00
Tom Tromey
d233eb7a05
Makefile.in: Rebuilt.
...
* Makefile.in: Rebuilt.
* Makefile.am (install-data-local): Use mkinstalldirs.
From-SVN: r117634
2006-10-11 14:42:39 +00:00
Richard Guenther
ba38541ad2
re PR inline-asm/29119 (Internal compiler error while adding __asm__ statement)
...
2006-10-11 Richard Guenther <rguenther@suse.de>
PR inline-asm/29119
* gimplify.c (gimplify_asm_expr): Mark the gimplified lvalue
addressable.
* gcc.dg/torture/pr29119.c: New testcase.
From-SVN: r117633
2006-10-11 14:03:37 +00:00
Paolo Carlini
7de856fca1
11.cc: New.
...
2006-10-11 Paolo Carlini <pcarlini@suse.de>
* testsuite/22_locale/num_put/put/char/11.cc: New.
* testsuite/22_locale/num_put/put/wchar_t/11.cc: Likewise.
From-SVN: r117632
2006-10-11 12:05:59 +00:00
Brooks Moses
8556236bec
invoke.texi, [...]: Corrected erronous dashes.
...
2006-10-10 Brooks Moses <bmoses@stanford.edu>
* invoke.texi, gfortran.texi: Corrected erronous dashes.
From-SVN: r117628
2006-10-10 20:35:08 -07:00
Tom Tromey
13869d712f
natSystemProperties.cc (insertSystemProperties): Removed obsolete comment.
...
* gnu/classpath/natSystemProperties.cc (insertSystemProperties):
Removed obsolete comment.
From-SVN: r117626
2006-10-11 03:05:32 +00:00
GCC Administrator
c9a96418cc
Daily bump.
...
From-SVN: r117622
2006-10-11 00:17:31 +00:00
Brooks Moses
b5422ad772
--(top level)--------------------------------------------
...
2006-10-10 Brooks Moses <bmoses@stanford.edu>
* Makefile.def: Added pdf target handling.
* Makefile.tpl: Added pdf target handling.
* Makefile.in: Regenerated.
---fixincludes--------------------------------------------
2006-10-10 Brooks Moses <bmoses@stanford.edu>
* Makefile.in: Added empty "pdf" target.
---gcc----------------------------------------------------
2006-10-10 Brooks Moses <bmoses@stanford.edu>
* configure.ac: Added pdf to "Make-hooks"
* Makefile.in: Added TEXI2PDF definition, and various pdf-file
targets and *.pdf file patterns in cleanup targets.
* configure: Regenerated.
---gcc/cp-------------------------------------------------
2006-10-10 Brooks Moses <bmoses@stanford.edu>
* Make-lang.in: Added "c++.pdf" target support.
---gcc/fortran--------------------------------------------
2006-10-10 Brooks Moses <bmoses@stanford.edu>
* Make-lang.in: Added "fortran.pdf", "gfortran.pdf" target
support.
---gcc/java-----------------------------------------------
2006-10-10 Brooks Moses <bmoses@stanford.edu>
* Make-lang.in: Added "java.pdf", "gcj.pdf" target support.
---gcc/objc-----------------------------------------------
2006-10-10 Brooks Moses <bmoses@stanford.edu>
* Make-lang.in: Added empty "objc.pdf" target.
---gcc/objcp----------------------------------------------
2006-10-10 Brooks Moses <bmoses@stanford.edu>
* Make-lang.in: Added empty "obj-c++.pdf" target.
---gcc/treelang-------------------------------------------
2006-10-10 Brooks Moses <bmoses@stanford.edu>
* Make-lang.in: Added "treelang.pdf" target support.
---gnattools----------------------------------------------
2006-10-10 Brooks Moses <bmoses@stanford.edu>
* Makefile.in: Added empty "pdf" target.
---libcpp-------------------------------------------------
2006-10-10 Brooks Moses <bmoses@stanford.edu>
* Makefile.in: Added empty "pdf" target.
---libdecnumber-------------------------------------------
2006-10-10 Brooks Moses <bmoses@stanford.edu>
* Makefile.in: Added empty "pdf" target.
---libiberty----------------------------------------------
2006-10-10 Brooks Moses <bmoses@stanford.edu>
* Makefile.in: Added "pdf", "libiberty.pdf" target support.
* testsuite/Makefile.in: Added empty "pdf" target.
---libobjc------------------------------------------------
2006-10-10 Brooks Moses <bmoses@stanford.edu>
* Makefile.in: Added empty "pdf" target.
From-SVN: r117618
2006-10-10 16:48:09 -07:00
Anatoly Sokolov
413fc59aae
re PR target/26504 (compute_frame_pointer_to_cfa_displacement error for avr target with --with-dwarf2)
...
* config/avr/predicates.md: New file.
* config/avr/avr.md: Include it.
(REG_SP): New constant.
(peepholes): Use predicates.
(sbrx_branch, sbrx_and_branchhi, sbrx_and_branchsi, branch, rvbranch,
difficult_branch, difficult_rvbranch, cbi, sbi, sbix_branch,
sbix_branch_bit7, sbix_branch_tmp, sbix_branch_tmp_bit7): Ditto.
PR target/26504
* config/avr/avr.h (FRAME_POINTER_CFA_OFFSET): Define.
From-SVN: r117616
2006-10-11 02:18:06 +04:00
Keith Seitz
05ee9ca08f
java-interp.h (_Jv_InterpMethod::get_insn): Declare.
...
* include/java-interp.h (_Jv_InterpMethod::get_insn): Declare.
(_Jv_InterpMethod::set_insn): Declare.
* interpret.cc (_Jv_InterpMethod::get_insn): New method.
(_Jv_InterpMethod::get_insn): New method.
From-SVN: r117614
2006-10-10 20:15:51 +00:00
Tom Tromey
4e34ede292
re PR xml/29362 (NullPointerException in gnu.xml.transform.TransformerImpl.strip(libgcj.so.7rh))
...
PR classpath/29362:
* gnu/xml/transform/TransformerImpl.java (transform): Only strip if
there is a stylesheet.
From-SVN: r117612
2006-10-10 19:31:56 +00:00
Tom Tromey
ab6b9a13d0
prims.cc (_Jv_PrependVersionedLibdir): Use _Jv_platform_path_separator.
...
* prims.cc (_Jv_PrependVersionedLibdir): Use
_Jv_platform_path_separator.
From-SVN: r117611
2006-10-10 18:46:41 +00:00
Tom Tromey
51d0a5cc30
re PR libgcj/29205 (lib/pkgconfig/libgcj.pc needs to become version dependent)
...
PR libgcj/29205:
* Makefile.in: Rebuilt.
* Makefile.am (install-data-local): Install the .pc file.
(pkgconfig_DATA): Removed.
From-SVN: r117610
2006-10-10 18:44:06 +00:00
Daniel Franke
21825fd620
re PR fortran/19292 ([meta-bug] g77 features lacking in gfortran)
...
2006-10-10 Daniel Franke <franke.daniel@gmail.com>
* intrinsic.texi: added documentation for FSTAT, GETARG,GET_COMMAND,
GET_COMMAND_ARGUMENT, GETENV, GET_ENVIRONMENT_VARIABLE, IAND, IARGC,
LSTAT and STAT, removed the reference to PR19292 from ACCESS, CHMOD,
GMTIME, LSHIFT, LTIME, RSHIFT.
From-SVN: r117609
2006-10-10 11:26:16 -07:00
Brooks Moses
be6c470955
gfortran.texi (Standards): Update to current status.
...
2006-10-10 Brooks Moses <bmoses@stanford.edu>
* gfortran.texi (Standards): Update to current status.
From-SVN: r117608
2006-10-10 11:08:08 -07:00
Adam Nemet
48a0c3d460
mips.c (mips_save_restore_reg): Use gen_frame_mem to avoid alias set 0.
...
* config/mips/mips.c (mips_save_restore_reg): Use gen_frame_mem to
avoid alias set 0.
From-SVN: r117607
2006-10-10 17:39:12 +00:00
Paolo Bonzini
a3bd50cc4b
configure.ac [...]: Set X86_DARWIN symbol and conditional.
...
2006-10-10 Paolo Bonzini <bonzini@gnu.org>
Sandro Tolaini <tolaini@libero.it>
* configure.ac [i*86-*-darwin*]: Set X86_DARWIN symbol and
conditional.
* configure: Regenerated.
* Makefile.am (nodist_libffi_la_SOURCES) [X86_DARWIN]: New case.
(EXTRA_DIST): Add src/x86/darwin.S.
* Makefile.in: Regenerated.
* include/Makefile.in: Regenerated.
* testsuite/Makefile.in: Regenerated.
* src/x86/ffi.c (ffi_prep_cif_machdep) [X86_DARWIN]: Treat like
X86_WIN32, and additionally align stack to 16 bytes.
* src/x86/darwin.S: New, based on sysv.S.
* src/prep_cif.c (ffi_prep_cif) [X86_DARWIN]: Align > 8-byte structs.
Co-Authored-By: Sandro Tolaini <tolaini@libero.it>
From-SVN: r117602
2006-10-10 14:21:05 +00:00
Benjamin Kosnik
0ded1615b8
libstdc++.exp (v3-build_support): Link libtestc++.a, not a bunch of object files.
...
2006-10-10 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/lib/libstdc++.exp (v3-build_support): Link
libtestc++.a, not a bunch of object files.
From-SVN: r117601
2006-10-10 11:35:42 +00:00
Benjamin Kosnik
8ba9f01334
re PR libstdc++/29118 (Timeouts in libstdc++, libjava and libgomp testsuites)
...
2006-10-09 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/29118
* src/locale_init.cc (__get_locale_mutex): New.
(locale::locale): Use it.
(locale::global): Use it.
From-SVN: r117600
2006-10-10 10:14:13 +00:00
Jakub Jelinek
599a964a52
re PR middle-end/29272 (memcpy optimization causes wrong-code)
...
PR middle-end/29272
* builtins.c (var_decl_component_p): New function.
(fold_builtin_memset, fold_builtin_memory_op): Restrict
single entry optimization to variables and components thereof.
* gcc.c-torture/execute/20060930-2.c: New test.
From-SVN: r117599
2006-10-10 11:46:59 +02:00
Richard Guenther
be0436d7d9
re PR rtl-optimization/29323 (set_nothrow_function_flags does invalid analysis on weak functions)
...
2006-10-10 Richard Guenther <rguenther@suse.de>
PR rtl-optimization/29323
* except.c (set_nothrow_function_flags): For functions
that do not bind local bail out early.
* decl.c (finish_function): Set TREE_NOTHROW only for
functions that bind local.
From-SVN: r117598
2006-10-10 08:27:02 +00:00
Chen Liqin
bdcee4712e
* Add new port for score.
...
From-SVN: r117597
2006-10-10 07:50:29 +00:00
Ben Elliston
07d83dadc4
invoke.texi (RS/6000 and PowerPC Options): Add -m to the -mdlmzb option.
...
* doc/invoke.texi (RS/6000 and PowerPC Options): Add -m to the
-mdlmzb option.
From-SVN: r117596
2006-10-10 17:34:10 +10:00
GCC Administrator
68b18daf04
Daily bump.
...
From-SVN: r117593
2006-10-10 00:17:15 +00:00
Benjamin Kosnik
3c6430a314
re PR libstdc++/29095 (cxxabi.h __cxa_cdtor_type not declared when included from "C")
...
2006-10-09 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/29095
* libsupc++/cxxabi.h (__cxa_cdtor_type): Explicit "C" linkage.
* config/cpu/arm/cxxabi_tweaks.h: Same.
* config/cpu/generic/cxxabi_tweaks.h: Same.
* testsuite/abi: Add.
* testsuite/abi/header_cxxabi.cc: New.
* testsuite/demangle: Move...
* testsuite/abi/demangle: ...here.
* testsuite/libstdc++-dg/conformance.exp: Adjust testsuite file
calculation.
* scripts/create_testsuite_files: Same.
* testsuite/lib/libstdc++.exp (v3_target_compile_as_c): New.
(libstdc++-dg-test): Use it.
From-SVN: r117589
2006-10-09 23:53:35 +00:00
Brooks Moses
175ff22958
Changelog: Undid erroneous tab-to-space conversion on last entry.
...
2006-10-09 Brooks Moses <bmoses@stanford.edu>
* Changelog: Undid erroneous tab-to-space conversion on last entry.
From-SVN: r117588
2006-10-09 16:23:53 -07:00
Brooks Moses
12923cd19a
Changelog: Added spaces after * on last two entries.
...
2006-10-09 Brooks Moses <bmoses@stanford.edu>
* Changelog: Added spaces after * on last two entries.
From-SVN: r117587
2006-10-09 16:19:58 -07:00
Brooks Moses
2e58266147
Make-lang.in: Added intrinsic.texi to GFORTRAN_TEXI dependences.
...
2006-10-09 Brooks Moses <bmoses@stanford.edu>
*Make-lang.in: Added intrinsic.texi to GFORTRAN_TEXI
dependences.
From-SVN: r117586
2006-10-09 16:17:52 -07:00
Brooks Moses
3d614c7423
intrinsic.texi: (MOVE_ALLOC) changed "Options" to "Standards".
...
2006-10-09 Brooks Moses <bmoses@stanford.edu>
*intrinsic.texi: (MOVE_ALLOC) changed "Options" to "Standards".
From-SVN: r117585
2006-10-09 15:33:55 -07:00
Steven G. Kargl
cc6d3bde5a
re PR fortran/15441 (RRSPACING broken for denormals)
...
2006-10-06 Steven G. Kargl <kargl@gcc.gnu.org>
* gfortran.h: Define GFC_MPFR_TOO_OLD via mpfr version info.
* arith.c (arctangent, gfc_check_real_range): Use it.
* simplify.c (gfc_simplify_atan2, gfc_simplify_exponent,
gfc_simplify_log, gfc_simplify_nearest): Use it.
PR fortran/15441
PR fortran/29312
* iresolve.c (gfc_resolve_rrspacing): Give rrspacing library
routine hidden precision argument.
(gfc_resolve_spacing): Give spacing library routine hidden
precision, emin - 1, and tiny(x) arguments.
* simplify.c (gfc_simplify_nearest): Remove explicit subnormalization.
(gfc_simplify_rrspacing): Implement formula from Fortran 95 standard.
(gfc_simplify_spacing): Implement formula from Fortran 2003 standard.
* trans-intrinsic.c (gfc_intrinsic_map_t) Declare rrspacing and
spacing via LIBF_FUNCTION
(prepare_arg_info, call_builtin_clz, gfc_conv_intrinsic_spacing,
gfc_conv_intrinsic_rrspacing): Remove functions.
(gfc_conv_intrinsic_function): Remove calls to
gfc_conv_intrinsic_spacing and gfc_conv_intrinsic_rrspacing.
* f95-lang.c (gfc_init_builtin_functions): Remove __builtin_clz,
__builtin_clzl and __builtin_clzll
2006-10-06 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/15441
PR fortran/29312
* configure.ac: Add HAVE_LDEXPF, HAVE_LDEXP, and HAVE_LDEXPL
* m4/spacing.m4: New file. Use new HAVE_* defines.
* m4/rrspacing.m4: Ditto.
* Makefile.am: Handle new files.
* configure: Regenerated.
* Makefile.in: Ditto.
* config.h.in: Ditto.
* generated/spacing_r4.c: Generated.
* generated/spacing_r8.c: Ditto.
* generated/spacing_r10.c: Ditto.
* generated/spacing_r16.c: Ditto.
* generated/rrspacing_r4.c: Ditto.
* generated/rrspacing_r8.c: Ditto.
* generated/rrspacing_r10.c: Ditto.
* generated/rrspacing_r16.c: Ditto.
From-SVN: r117584
2006-10-09 20:55:29 +00:00
Paolo Carlini
a484326f89
PR libstdc++/28277 (partial: __add_grouping)
...
2006-10-09 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/28277 (partial: __add_grouping)
* include/bits/locale_facets.tcc (__add_grouping<>(_CharT*, _CharT,
const char*, size_t, const _CharT*, const _CharT*)): Rewrite in
non-recursive form.
From-SVN: r117581
2006-10-09 18:04:18 +00:00
Richard Henderson
a98d4769d5
Revert emutls patch.
...
From-SVN: r117578
2006-10-09 09:27:14 -07:00
Richard Guenther
5771bd91ec
re PR middle-end/29254 (verify_cgraph_node failed (inlined_to pointer is set but no predecessors found))
...
2006-10-09 Richard Guenther <rguenther@suse.de>
PR middle-end/29254
* cgraphunit.c (verify_cgraph_node): Bail out on earlier
errors.
* gcc.dg/pr29254.c: New testcase.
From-SVN: r117577
2006-10-09 16:10:38 +00:00
Steve Ellcey
e64f5acfaf
re PR target/27880 (undefined reference to `_Unwind_GetIPInfo')
...
PR target/27880
* unwind-c.c (PERSONALITY_FUNCTION): Ifdef use of _Unwind_GetIPInfo.
* configure.ac (HAVE_GETIPINFO): Check for _Unwind_GetIPInfo.
* configure: Regenerate.
* config.in: Regenerate.
From-SVN: r117576
2006-10-09 15:55:38 +00:00
Aldy Hernandez
f4935db5d7
* tree-mudflap.c (mf_xform_derefs_1): Add parentheses around TREE_TYPE.
...
From-SVN: r117575
2006-10-09 13:58:10 +00:00
Paolo Carlini
c9a5bd5421
PR libstdc++/28277 (partial: money_put bits)
...
2006-10-09 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/28277 (partial: money_put bits)
* include/bits/locale_facets.tcc (money_put<>::_M_insert(iter_type,
ios_base&, char_type, const string_type&)): Avoid __builtin_alloca
with no limit, do the work in place.
* include/bits/locale_facets.tcc (money_put<>::do_put(iter_type,
bool, ios_base&, char_type, long double)): Avoid unnecessary
__builtin_alloca, do the work in place.
From-SVN: r117571
2006-10-09 10:49:50 +00:00
Benjamin Kosnik
a145e9b64f
globals_io.cc (_GLIBCXX_once): Remove, unused.
...
2006-10-09 Benjamin Kosnik <bkoz@redhat.com>
* src/globals_io.cc (_GLIBCXX_once): Remove, unused.
(_GLIBCXX_mutex): Same.
(_GLIBCXX_mutex_addres): Same.
(_GLIBCXX_mutex_init): Same.
(_GLIBCXX_mutex_address_init): Same.
From-SVN: r117570
2006-10-09 10:34:49 +00:00
Francois-Xavier Coudert
8d2c290502
intrinsic.c (add_sym_0s, [...]): Use macro ACTUAL_NO...
...
* intrinsic.c (add_sym_0s, add_sym_1s, add_sym_2s, add_sym_3s,
add_sym_4s, add_sym_5s, add_functions): Use macro ACTUAL_NO,
ACTUAL_YES, NOT_ELEMENTAL and ELEMENTAL instead of constants
0 and 1 as second and third arguments to add_sym* functions.
From-SVN: r117569
2006-10-09 07:43:39 +00:00
GCC Administrator
cee9bb59b4
Daily bump.
...
From-SVN: r117565
2006-10-09 00:17:21 +00:00