Commit Graph

82410 Commits

Author SHA1 Message Date
Steve Ellcey
b441fbb053 * config/ia64/div.md (m2subrf4_cond): Change 'g' to 'G'.
From-SVN: r127246
2007-08-06 17:03:13 +00:00
Steve Ellcey
db24f66908 * config/ia64/ia64.h (MODES_TIEABLE_P): Fix typo.
From-SVN: r127245
2007-08-06 16:51:43 +00:00
H.J. Lu
d5d5d289e2 i386.md: Check TARGET_ macros and optimize_size before checking function returns in...
2007-08-06  H.J. Lu  <hongjiu.lu@intel.com>

	* config/i386/i386.md: Check TARGET_ macros and optimize_size
	before checking function returns in conditional expressions.

From-SVN: r127243
2007-08-06 07:44:02 -07:00
Andrew Pinski
30cad60d51 re PR libobjc/30731 (Warnings while compiling libobjc with the uleb128 changes)
2007-08-06  Andrew Pinski  <pinskia@gmail.com>

        PR libobjc/30731
        * exception.c (parse_lsda_header): Use _uleb128_t/_sleb128_t instead
        of _Unwind_Word for variables which are used in
        read_uleb128/read_sleb128.
        (PERSONALITY_FUNCTION): Likewise.

From-SVN: r127242
2007-08-06 07:17:59 -07:00
Andrew Haley
7665c9bebc re PR testsuite/32843 (libffi.call/return_sc.c)
PR testsuite/32843
	* src/x86/sysv.S (ffi_closure_raw_SYSV): Handle FFI_TYPE_UINT8,
	FFI_TYPE_SINT8, FFI_TYPE_UINT16, FFI_TYPE_SINT16, FFI_TYPE_UINT32,
	FFI_TYPE_SINT32.

From-SVN: r127241
2007-08-06 12:48:07 +00:00
Francois-Xavier Coudert
7db2c621dd nan_1.f90: Rename module into aux2 to avoid cygwin hanging on the testcase.
* gfortran.dg/nan_1.f90: Rename module into aux2 to avoid cygwin
	hanging on the testcase.

From-SVN: r127240
2007-08-06 12:17:56 +00:00
Alfred Minarik
5958f5cbe0 re PR pch/13676 (GCC failes to recognize files ending in .hpp as headers to be precompiled)
PR pch/13676
	* doc/invoke.texi: Add .hp, .hxx, .hpp, .h, .HPP, .tcc as c++ header.

cp:
	* lang-specs.h: Add .hp, .hxx, .hpp, .h, .HPP, .tcc as c++ header.
	* g++spec.c (lang_specific_driver): Check them.

From-SVN: r127239
2007-08-06 11:10:19 +00:00
Paolo Carlini
ae95e46e6f re PR c++/19532 (cp/pt.c mentions a function that has been removed.)
2007-08-06  Paolo Carlini  <pcarlini@suse.de>

	PR c++/19532
	* pt.c (template_class_depth): Fix comment; change return type
	to bool.

From-SVN: r127238
2007-08-06 09:18:39 +00:00
Andrew Pinski
49271fc0e2 [multiple changes]
2008-08-05  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR middle-end/32988
        * tree.c (build2_stat): Instead of checking for INTEGER_TYPE, check
        for INTEGRAL_TYPE_P.

2007-08-05  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR middle-end/32988
        * gcc.c-torture/compile/pr32988.c: New test.

From-SVN: r127237
2007-08-05 20:24:19 -07:00
Andrew Pinski
085f094f22 sms-antideps.c: Add a "return 0" to the end of main.
2007-08-05  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        * gcc.dg/sms-antideps.c: Add a "return 0" to the end of main.

From-SVN: r127235
2007-08-05 19:33:44 -07:00
GCC Administrator
da7dfe8427 Daily bump.
From-SVN: r127232
2007-08-06 00:17:29 +00:00
Francois-Xavier Coudert
adeb22c4f2 re PR fortran/31612 (-fsyntax-only documentation is not accurate)
PR fortran/31612
      * invoke.texi: Adjust documentation for option -fsyntax-only.

From-SVN: r127228
2007-08-05 23:39:05 +00:00
Francois-Xavier Coudert
c120ef140a re PR fortran/31202 (Incorrect rounding generated for NINT)
2007-08-05  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>

	PR fortran/31202
	* intrinsics/c99_functions.c (roundl): Provide fallback
	implementation for systems without ceill.
	* c99_protos.h (roundl): Define prototype in all cases.

From-SVN: r127227
2007-08-05 22:14:34 +00:00
Volker Reichelt
9dfbac5b94 revert: parser.c (cp_parser_member_declaration): Pedwarn about stray semicolons after member declarations.
cp:
	Revert:
	2007-03-26  Dirk Mueller  <dmueller@suse.de>

	* parser.c (cp_parser_member_declaration): Pedwarn
	about stray semicolons after member declarations.

testsuite:
	* g++.dg/warn/pedantic2.C: Fix error marker.  Add more tests.

	Revert:
	2007-03-22  Dirk Mueller  <dmueller@suse.de>

	* g++.old-deja/g++.brendan/warnings2.C: Don't use -pedantic.

From-SVN: r127226
2007-08-05 20:09:32 +00:00
Paolo Bonzini
0d475361a5 configure.ac: Remove --enable-checking=df from default settings.
2008-08-05  Paolo Bonzini  <bonzini@gnu.org>

        * configure.ac: Remove --enable-checking=df from default settings.
        * tree-pass.h (TODO_df_verify): New.  Shift TODO_mark_first_instance.
        * df-core.c (df_finish_pass) [ENABLE_CHECKING]: Schedule verification
        if the parameter is true.
        (df_analyze) [!ENABLE_DF_CHECKING]: Also do verification if the
        DF_VERIFY_SCHEDULED flag is true.
        * df.h (enum df_changeable_flags): Add DF_VERIFY_SCHEDULED.
        (df_finish_pass): Adjust prototype.
        * passes.c (execute_todo): Schedule verification if TODO_df_verify is
        true.

        * see.c (pass_see): Add TODO_df_verify.
        * loop-init.c (pass_rtl_move_loop_invariants): Add TODO_df_verify.
        * global.c (rest_of_handle_global_alloc): Schedule verification
        after the pass.
        * local-alloc.c (rest_of_handle_local_alloc): Schedule verification
        before the pass.
        * function.c (pass_thread_prologue_and_epilogue): Add TODO_df_verify.
        * gcse.c (rest_of_handle_gcse): Adjust call to df_finish_pass.
        * loop-iv.c (iv_analysis_done): Schedule verification after the pass.

        * config/sh/sh.c (sh_output_mi_thunk): Remove dead code.
        * config/ia64/ia64.c (ia64_reorg): Adjust call to df_finish_pass.
        * config/bfin/bfin.c (bfin_reorg): Adjust call to df_finish_pass.

From-SVN: r127225
2007-08-05 16:04:12 +00:00
Francois-Xavier Coudert
3d97b1af3f re PR fortran/32979 (Implement vendor-specific ISNAN() intrinsic function)
PR fortran/32979

        * intrinsic.h (gfc_check_isnan): Add prototype.
        * gfortran.h (gfc_isym_id): Add GFC_ISYM_ISNAN.
        * intrinsic.c (add_functions): Add ISNAN intrinsic.
        * check.c (gfc_check_isnan): New function.
        * trans-intrinsic.c (gfc_conv_intrinsic_isnan): New function.
        (gfc_conv_intrinsic_function): Call gfc_conv_intrinsic_isnan
        to translate ISNAN.
        * intrinsic.texi: Document ISNAN.

        * gfortran.dg/isnan_1.f90: New test.

Co-Authored-By: Tobias Burnus <burnus@gcc.gnu.org>

From-SVN: r127224
2007-08-05 10:18:38 +00:00
Vladimir Yanovsky
517d76faef New flag to control reg-moves generation
Co-Authored-By: Revital Eres <eres@il.ibm.com>

From-SVN: r127223
2007-08-05 09:43:07 +00:00
GCC Administrator
152b97088e Daily bump.
From-SVN: r127220
2007-08-05 00:17:10 +00:00
Alfred M. Szmidt
fcfdb14511 natFilePosix.cc (init_native): Define to 0.
2007-08-04  Alfred M. Szmidt  <ams@gnu.org>

        * java/io/natFilePosix.cc (init_native) [!MAXPATHLEN]: Define to 0.
        * java/io/File.java (createTempFile): Don't truncate if the system
        doesn't have a limit on the length of a file name.
        * classpath/lib/java/io/File.class: Regenerate.

From-SVN: r127216
2007-08-04 21:50:01 +00:00
Paul Thomas
cbef3aa2f6 re PR fortran/31214 (User-defined operator using entry leads to ICE)
2007-08-04  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/31214
	* symbol.c (get_unique_symtree): Moved from module.c.
	* module.c (get_unique_symtree): Moved to symbol.c.
	* decl.c (get_proc_name): Transfer the typespec from the local
	symbol to the module symbol, in the case that an entry is also
	a module procedure.  Ensure the local symbol is cleaned up by
	pointing to it with a unique symtree.

	* dump_parse_tree (gfc_show_code_node): Add EXEC_ASSIGN_CALL.

2007-08-04  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/31214
	* gfortran.dg/entry_13.f90: New test.

	* gfortran.dg/entry_12.f90: Clean up .mod file.

From-SVN: r127214
2007-08-04 20:58:11 +00:00
Paul Thomas
aa84a9a5e4 re PR fortran/31214 (User-defined operator using entry leads to ICE)
2007-08-04  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/31214
	* symbol.c (get_unique_symtree): Moved from module.c.
	* module.c (get_unique_symtree): Moved to symbol.c.
	* decl.c (get_proc_name): Transfer the typespec from the local
	symbol to the module symbol, in the case that an entry is also
	a module procedure.  Ensure the local symbol is cleaned up by
	pointing to it with a unique symtree.

	* dump_parse_tree (gfc_show_code_node): Add EXEC_ASSIGN_CALL.

2007-08-04  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/31214
	* gfortran.dg/entry_13.f90: New test.

	* gfortran.dg/entry_12.f90: Clean up .mod file.

From-SVN: r127213
2007-08-04 20:46:11 +00:00
Thomas Koenig
6b44ad312f re PR fortran/32770 ([Meta-bug] -fdefault-integer-8 issues)
2007-08-04  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/32770
	* gfortran.dg/streamio_8.f90:  Adjust so test case passes
	for -fdefault-integer-8 and -fdefault-real-8.
	* gfortran.dg/streamio_10.f90:  Likewise.
	* gfortran.dg/sizeof.f90:  Likewise.

From-SVN: r127212
2007-08-04 20:14:26 +00:00
Thomas Koenig
867140ecff re PR fortran/32770 ([Meta-bug] -fdefault-integer-8 issues)
2007-08-04  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/32770
	* gfortran.dg/direct_io_2.f90:  Implicitly declare integer
	variables as kind=4 so they don't overflow the record length.

From-SVN: r127210
2007-08-04 18:20:54 +00:00
Steven G. Kargl
26ef8a2cd2 re PR fortran/32968 (selected_(int|real)_kind fail with -fdefault-integer-8)
2008-08-04  Steven G. Kargl  <kargl@gcc.gnu.org>

	PR fortran/32968
	* gfortran.dg/selected_kind_1.f90: New test.

2008-08-04  Steven G. Kargl  <kargl@gcc.gnu.org>

	PR fortran/32969
	* iresolve.c (gfc_resolve_rrspacing): Convert argument(s) to
	expected KIND.
	(gfc_resolve_scale): Ditto.
	(gfc_resolve_set_exponent): Ditto.
	(gfc_resolve_spacing): Ditto.
 
	PR fortran/32968
	* trans-intrinsic.c (gfc_conv_intrinsic_si_kind,
	gfc_conv_intrinsic_sr_kind): Convert the argument(s) to the
	expected KIND, and fold the result to the expected KIND.

From-SVN: r127205
2007-08-04 16:48:50 +00:00
Matthias Klose
f06a83c0b2 Import GNU Classpath (libgcj-import-20070727).
libjava/

2007-08-04  Matthias Klose  <doko@ubuntu.com>

	Import GNU Classpath (libgcj-import-20070727).

	* Regenerate class and header files.
	* Regenerate auto* files.

	* include/jvm.h:
	* jni-libjvm.cc (Jv_JNI_InvokeFunctions): Rename type.
	* jni.cc (_Jv_JNIFunctions, _Jv_JNI_InvokeFunctions): Likewise.
	* jni.cc (_Jv_JNI_CallAnyMethodA, _Jv_JNI_CallAnyVoidMethodA,
	_Jv_JNI_CallMethodA, _Jv_JNI_CallVoidMethodA,
	_Jv_JNI_CallStaticMethodA, _Jv_JNI_CallStaticVoidMethodA,
	_Jv_JNI_NewObjectA, _Jv_JNI_SetPrimitiveArrayRegion): Constify
	jvalue parameter.
	* java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.

	* java/lang/VMFloat.java (toString, parseFloat): New.

	* gnu/awt/xlib/XToolkit.java (setAlwaysOnTop, isModalityTypeSupported,
	isModalExclusionTypeSupported): New (stub only).
	* gnu/awt/xlib/XCanvasPeer.java (requestFocus): Likewise.
	* gnu/awt/xlib/XFramePeer.java (updateMinimumSize, updateIconImages,
	updateFocusableWindowState, setModalBlocked, getBoundsPrivate,
	setAlwaysOnTop): Likewise.
	* gnu/awt/xlib/XFontPeer.java (canDisplay): Update signature.

	* scripts/makemake.tcl: Ignore gnu/javax/sound/sampled/gstreamer,
	ignore javax.sound.sampled.spi.MixerProvider, ignore .in files.

	* HACKING: Mention --enable-gstreamer-peer, removal of generated files.


libjava/classpath/

2007-08-04  Matthias Klose  <doko@ubuntu.com>

	* java/util/EnumMap.java (clone): Add cast.

From-SVN: r127204
2007-08-04 10:53:49 +00:00
Richard Sandiford
2c3de459b6 arm.md (movsi): Add braces.
gcc/
	* config/arm/arm.md (movsi): Add braces.

From-SVN: r127201
2007-08-04 07:10:57 +00:00
Andrew Pinski
4807562387 re PR middle-end/32780 (ICE in extract_range_from_binary_expr, at tree-vrp.c:1793 at -O2 or higher)
2007-08-04  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR middle-end/32780
        * fold-const.c (fold_binary <case MINUS_EXPR>): Fix the type of operands
        for the folding of "A - (A & B)" into "~B & A"; cast them to type.

2007-08-04  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR middle-end/32780
        * gcc.c-torture/compile/pr32780.c: New test.

From-SVN: r127199
2007-08-03 22:21:30 -07:00
Kaveh R. Ghazi
d531cdb15c inclhack.def (solaris_math_5, [...]): Delete fixes.
* inclhack.def (solaris_math_5, solaris_math_6, solaris_math_7):
	Delete fixes.
	* tests/base/iso/math_c99.h: Delete associated test baselines.
	* fixincl.x: Regenerate.

From-SVN: r127198
2007-08-04 03:44:24 +00:00
Zdenek Dvorak
f87000d0c4 tree-ssa-threadupdate.c (thread_through_all_blocks): Use loops' state accessor functions.
* tree-ssa-threadupdate.c (thread_through_all_blocks): Use loops' state
	accessor functions.
	* cfgloopmanip.c (remove_path, create_preheaders,
	force_single_succ_latches, fix_loop_structure): Ditto.
	* tree-ssa-loop-manip.c (rewrite_into_loop_closed_ssa,
	tree_duplicate_loop_to_header_edge): Ditto.
	* cfgloopanal.c (mark_irreducible_loops): Ditto.
	* loop-init.c (loop_optimizer_init, loop_optimizer_finalize):
	Ditto.
	* tree-cfgcleanup.c (cleanup_tree_cfg_noloop, repair_loop_structures,
	cleanup_tree_cfg): Ditto.
	* tree-cfg.c (tree_merge_blocks): Ditto.
	* cfgloop.c (rescan_loop_exit, record_loop_exits,
	release_recorded_exits, get_loop_exit_edges, verify_loop_structure,
	loop_preheader_edge, single_exit): Ditto.
	(flow_loops_find): Do not clear loops->state.
	* cfgloop.h (loops_state_satisfies_p, loops_state_set,
	loops_state_clear): New functions.

From-SVN: r127197
2007-08-04 01:09:12 +00:00
Andrew Pinski
a83e7facc5 re PR middle-end/32399 (ICE in build2_stat, at tree.c:3074)
2007-08-03  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR middle-end/32399
        * tree-ssa-address.c (add_to_parts): Use POINTER_PLUS_EXPR
        when adding to the base and convert ELT to sizetype instead of type.

2007-08-03  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        RP middle-end/32399
        * gcc.c-torture/compile/pr32399.c: New testcase.

From-SVN: r127196
2007-08-03 17:33:31 -07:00
GCC Administrator
814d1e640c Daily bump.
From-SVN: r127194
2007-08-04 00:17:17 +00:00
Andrew Pinski
2276d5ed38 re PR middle-end/32304 (ICE in set_mem_attributes_minus_bitpos)
2007-08-03  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR middle-end/32304
        * ipa-reference.c (has_proper_scope_for_analysis): Return false when
        the decl's type has TYPE_NEEDS_CONSTRUCTING set.

2007-08-03  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR middle-end/32304
        * g++.dg/torture/pr32304.C: New testcase.

From-SVN: r127191
2007-08-03 17:05:56 -07:00
Andrew Pinski
f9fc044944 re PR middle-end/32935 (internal compiler error: in emit_move_insn, at expr.c:3316)
2007-08-03  Andrew Pinski  <andrew_pinski@playstation.sony.com>
 
        PR middle-end/32935
        * fold-convert.c (fold_negate_expr <NOP_EXPR>): Convert back to the 
         correct type the negate expression.

2007-08-03  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR middle-end/32935
        * gfortran.fortran-torture/compile/complex_1.f90: New test.

From-SVN: r127190
2007-08-03 16:36:05 -07:00
Jan Hubicka
48dd736cd4 i386.c (setup_incoming_varargs_64): Tolerate 64bit preferred stack boundary.
* i386.c (setup_incoming_varargs_64): Tolerate 64bit preferred
	stack boundary.

From-SVN: r127189
2007-08-03 23:07:25 +00:00
Thomas Koenig
f353733a26 re PR libfortran/32977 (All gfortran tests fail on Tru64 UNIX V4.0F: vsnprintf missing)
2007-08-03  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR libfortran/32977
	* io/unix.c:  If there is no vsnprintf, use vsprintf and issue
	a fatal error when a buffer overrun occurs.

From-SVN: r127187
2007-08-03 22:09:10 +00:00
Francois-Xavier Coudert
0a4221f6e4 re PR fortran/32955 (gfortran.dg/value_4.f90 gives a compiling error with -fdefault-integer-8)
PR fortran/32955
	* gfortran.dg/value_4.f90: Make integer constant of kind=4.

From-SVN: r127186
2007-08-03 21:28:48 +00:00
Francois-Xavier Coudert
94f548c244 re PR fortran/31202 (Incorrect rounding generated for NINT)
PR fortran/31202

        * f95-lang.c (gfc_init_builtin_functions): Defin builtins for 
        lround{f,,l} and llround{f,,l}.
        * trans-intrinsic.c (build_fix_expr): Generate calls to the
        {l,}round{f,,l} functions.

        * intrinsics/c99_functions.c (roundl,lroundf,lround,lroundl,
        llroundf,llround,llroundl): New functions.
        * c99_protos.h (roundl,lroundf,lround,lroundl,llroundf,llround,
        llroundl): New prototypes.
        * configure.ac: Check for lroundf, lround, lroundl, llroundf,
        llround and llroundl.
        * configure: Regenerate.
        * Makefile.in: Regenerate.
        * config.h.in: Regenerate.

        * gfortran.dg/nint_2.f90: New test.

From-SVN: r127185
2007-08-03 21:26:10 +00:00
Andrew Pinski
8db6f5454c Fix some white space issues in the fortran/ChangeLog
From-SVN: r127184
2007-08-03 13:38:08 -07:00
Michael Snyder
fd83e38711 make-relative-prefix.c (make_relative_prefix_1): Fix resource leak.
* make-relative-prefix.c (make_relative_prefix_1): Fix resource
	leak.

From-SVN: r127183
2007-08-03 17:38:14 +00:00
Nathan Froyd
7475160c8d loop-1.c: Skip on powerpc targets if -mlongcall.
* gcc.dg/tree-ssa/loop-1.c: Skip on powerpc targets if -mlongcall.
	* gcc.dg/weak/typeof-2.c: Likewise.

From-SVN: r127182
2007-08-03 16:07:58 +00:00
David Edelsohn
5f732aba81 rs6000.c (struct processor_cost): Change l1_cache_lines to l1_cache_size.
* config/rs6000/rs6000.c (struct processor_cost): Change
	l1_cache_lines to l1_cache_size.  Add l2_cache_size.
	(*_cost): Convert l1 cache information to kilobytes.  Add l2 cache
	information.
	(rios1_costs, rios2_cost): Correct cache line size.
	(rs6000_override_options): Set l2-cache-size parameter.

From-SVN: r127181
2007-08-03 11:23:34 -04:00
Diego Novillo
737b089116 [multiple changes]
2007-08-03  Andrew Pinski  <andrew_pinski@playstation.sony.com>
	    Diego Novillo  <dnovillo@google.com>

	PR 31521
	* tree-vrp.c (simplify_div_or_mod_using_ranges): Also simplify
	if the range includes 0.

2007-08-03  Diego Novillo  <dnovillo@google.com>

	PR 31521
	* gcc.dg/tree-ssa/pr31521.c: New test.

From-SVN: r127180
2007-08-03 09:08:29 -04:00
Thomas Koenig
5e56953d9a re PR fortran/32770 ([Meta-bug] -fdefault-integer-8 issues)
2007-08-03  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/32770
	* gfortran.dg/unf_read_corrupted_1.f90:  Integer variable in
	iostat must be default kind.

From-SVN: r127178
2007-08-03 05:52:52 +00:00
David Daney
58e11497f7 return_ul.c (main): Define return type as ffi_arg.
* testsuite/libffi.call/return_ul.c (main): Define return type as
	ffi_arg.  Use proper printf conversion specifier.

From-SVN: r127177
2007-08-03 03:17:13 +00:00
Jerry DeLisle
bcaaa78047 opem_errors.f90: Revise test to pass when run under sudo.
2007-08-02  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	* gfortran.dg/opem_errors.f90: Revise test to pass when run under sudo.

From-SVN: r127176
2007-08-03 02:20:33 +00:00
Ben Elliston
fea4e7a1e9 spu.md (dftsv, [...]): Attach the appropriate mode to unspec expressions to silence a warning from the...
* config/spu/spu.md (dftsv, dftsv_celledp): Attach the appropriate
	mode to unspec expressions to silence a warning from the generator
	programs.

From-SVN: r127174
2007-08-03 10:32:43 +10:00
GCC Administrator
83e9431a14 Daily bump.
From-SVN: r127172
2007-08-03 00:17:27 +00:00
Thomas Koenig
8a8d6e0b0b re PR fortran/32770 ([Meta-bug] -fdefault-integer-8 issues)
2007-08-02  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/32770
	* gfortran.dg/unf_read_corrupted_1.f90:  Make all kinds
	explicit so test passes with -fdefault-integer-8.
	* gfortran.dg/unformatted_recl_1.f90:  Likewise.
	* gfortran.dg/unformatted_subrecord_1.f90:  Likewise.

From-SVN: r127168
2007-08-02 20:07:54 +00:00
Lee Millward
f8ff69ea9a re PR c++/30849 (ICE with invalid asm statement)
PR c++/30849
	PR c++/30850
	PR c++/30851
	* parser.c (cp_parser_asm_definition): Detect and discard asm
	statements with invalid inputs or outputs.
        (cp_parser_asm_operand_list): Return error mark node if any
        of the operands are invalid. Adjust documentation.

	PR c++/30849
	* g++.dg/parse/asm1.C: New test.

	PR c++/30850
	* g++.dg/parse/asm2.C: Likewise.

	PR c++/30851
	* g++.dg/parse/asm3.C: Likewise.

From-SVN: r127167
2007-08-02 17:50:55 +00:00
Paolo Carlini
2ee0c1fb57 DR 660, [Ready] in Toronto.
2007-08-02  Paolo Carlini  <pcarlini@suse.de>

	DR 660, [Ready] in Toronto.
	* include/bits/stl_function.h (bit_and, bit_or, bit_xor): Add.
	* testsuite/20_util/function_objects/dr660.cc: New.
	* docs/html/ext/howto.html: Add an entry for DR 660, update.

	* docs/html/ext/lwg-closed.html, docs/html/ext/lwg-active.html,
	docs/html/ext/lwg-defects.html: Import Revision 49.

From-SVN: r127166
2007-08-02 17:39:51 +00:00