Commit Graph

85764 Commits

Author SHA1 Message Date
Jason Merrill 8d2eb30433 PR c++/34962, c++/34937, c++/34939
PR c++/34962, c++/34937, c++/34939
        * decl2.c (is_late_template_attribute): Always defer attributes
        vector_size and weak.

From-SVN: r132297
2008-02-13 16:27:16 -05:00
Ralf Wildenhues 1b0c753a86 re PR other/35148 (make pdf has missing file in 4.3-20080208)
PR other/35148
* Makefile.in (gcc-vers.texi): Use abs_srcdir for the value of
srcdir.

From-SVN: r132295
2008-02-13 19:27:34 +00:00
Joel Sherrill 6a333ca04f re PR ada/35143 (Serious regression on ACATS results since 4.2.3)
2008-02-11  Joel Sherrill <joel.sherrill@oarcorp.com>

	PR ada/35143
	* env.c: Add __rtems__ to if defined.
	* s-osinte-rtems.adb: Add To_Target_Priority.  Fix formatting.
	* s-osinte-rtems.ads: Add To_Target_Priority prototype and
	PTHREAD_SCOPE_PROCESS/PTHREAD_SCOPE_SYSTEM constants.  Add
	pragma Convention as required.
	* gsocket.h: Make compile in and out of RTS.
	* Makefile.in: Add system-rtems.ads.  Build DEC extensions.
	Use g-soccon-rtems.ads.
	* g-soccon-rtems.ads, system-rtems.ads: New files.

From-SVN: r132294
2008-02-13 19:04:53 +00:00
Ralf Wildenhues 29a7754d16 * MAINTAINERS (Write After Approval): Add myself.
From-SVN: r132293
2008-02-13 18:50:56 +00:00
Michael Matz 08235f819a * gcc.dg/pr35065.c: Fix testcase warnings.
From-SVN: r132288
2008-02-13 16:16:17 +00:00
Andreas Krebbel 03870a0482 s390.c (struct constant_pool): New field emit_pool_after added.
2008-02-13  Andreas Krebbel  <krebbel1@de.ibm.com>

	* config/s390/s390.c (struct constant_pool): New field
	emit_pool_after added.
	(s390_mainpool_start): Set the emit_pool_after flag according
	to the section switch notes.
	(s390_mainpool_finish): Consider emit_pool_after when emitting
	the literal pool at the end of the function.
	(s390_chunkify_start): Force literal pool splits at section
	switch notes.

From-SVN: r132287
2008-02-13 16:00:21 +00:00
Michael Matz be71b67351 re PR debug/35065 (infinite loop while compiling VLC media player in vt_find_locations)
PR debug/35065
        * var-tracking.c (clobber_variable_part): Correctly traverse the
        list.

        * gcc.dg/pr35065.c: New testcase.

From-SVN: r132286
2008-02-13 14:53:59 +00:00
Manuel López-Ibáñez fed39e2211 re PR middle-end/29673 (no -fdump-tree-inlined output)
2008-02-13  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

	PR 29673
	* doc/invoke.texi (Debugging Options): Remove -fdump-tree-inlined.
	Add -fdump-ipa-inline.
	* tree-dump.c (dump_files): Remove tree-inlined dump.
	* tree-pass.h (tree_dump_index): Remove TDI_inlined.

From-SVN: r132284
2008-02-13 11:15:51 +00:00
Jason Merrill 3387721b8f re PR c++/34774 (templates, enumerations, overflow, ice)
PR c++/34774
        * pt.c (value_dependent_expression_p): Look into DECL_INITIAL
        of enumerators, too.

From-SVN: r132283
2008-02-13 02:08:11 -05:00
Jason Merrill 156d614f90 re PR c++/34824 (ICE with explicit copy constructor)
PR c++/34824
        * call.c (convert_like_real): Pass LOOKUP_ONLYCONVERTING to build_temp
        if we're doing conversions to call a user-defined conversion function.

From-SVN: r132282
2008-02-12 23:06:03 -05:00
GCC Administrator 7f7682fe3d Daily bump.
From-SVN: r132280
2008-02-13 00:17:19 +00:00
Richard Guenther 8665227f25 re PR tree-optimization/35171 (ICE in vect_recog_dot_prod_pattern)
2008-02-12  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/35171
	* tree-vect-patterns.c (vect_recog_dot_prod_pattern): Deal with
	default defs.

	* gcc.c-torture/compile/pr35171.c: New testcase.

From-SVN: r132270
2008-02-12 21:29:39 +00:00
Richard Guenther 8f768a5a18 re PR middle-end/35163 (folding comparison loses cast)
2008-02-12  Richard Guenther  <rguenther@suse.de>

	PR middle-end/35163
	* fold-const.c (fold_widened_comparison): Use get_unwidened in
	value-preserving mode.  Disallow final truncation.

	* gcc.c-torture/execute/pr35163.c: New testcase.

From-SVN: r132269
2008-02-12 21:26:49 +00:00
Uros Bizjak d2a18787b7 * gcc.target/i386/asm-3.c: Fix dg-skip-if for all 32bit PIC targets.
From-SVN: r132268
2008-02-12 22:04:44 +01:00
Eric Botcazou 81186f7b23 re PR middle-end/35136 (ICE caused by address calculation with loop variable when optimization is on)
PR middle-end/35136
	* gimplify.c (force_gimple_operand_bsi): Move SSA renaming code from
	here to...
	(force_gimple_operand): ...here.

From-SVN: r132267
2008-02-12 20:49:21 +00:00
Kaveh R. Ghazi a1bd4be4e2 bitfield-1.mm: Expect failures.
* obj-c++.dg/bitfield-1.mm: Expect failures.
	* obj-c++.dg/bitfield-4.mm: Likewise.
	* obj-c++.dg/cxx-ivars-2.mm: Likewise.
	* obj-c++.dg/encode-8.mm: Likewise.
	* obj-c++.dg/isa-field-1.mm: Likewise.
	* obj-c++.dg/layout-1.mm: Likewise.
	* obj-c++.dg/lookup-2.mm: Likewise.
	* obj-c++.dg/try-catch-2.mm: Likewise.
	* obj-c++.dg/try-catch-9.mm: Likewise.

From-SVN: r132266
2008-02-12 19:54:56 +00:00
Jason Merrill d9e38079c2 re PR c++/29048 ("`x' is private" error duplicated when scope specified)
PR c++/29048
        * semantics.c (finish_qualified_id_expr): Avoid duplicate access
        check here, too.

From-SVN: r132265
2008-02-12 14:25:28 -05:00
Jakub Jelinek e4521d118a re PR c++/35144 (ICE in generate_element_copy)
PR c++/35144
	* tree-sra.c (sra_build_assignment): fold_convert SRC if copying
	non-compatible pointers.
	(generate_element_copy): If SRC and DST are RECORD_TYPEs with
	different FIELD_DECLs, try harder by comparing field offsets, sizes
	and types.

	* g++.dg/tree-ssa/pr35144.C: New test.

From-SVN: r132264
2008-02-12 19:35:05 +01:00
Jakub Jelinek d7b8033f3e re PR inline-asm/35160 (local-alloc introduces sharing of the same pseudo/hard reg between different output regs in inline asm)
PR inline-asm/35160
	* function.c (match_asm_constraints_1): Don't replace the same input
	multiple times.

	* gcc.target/i386/pr35160.c: New test.

From-SVN: r132263
2008-02-12 19:31:53 +01:00
Bjoern Koenig 2e250fa218 configure.ac: Add amd64-*-freebsd* target.
2008-02-12  Bjoern Koenig  <bkoenig@alpha-tierchen.de>
	    Andreas Tobler  <a.tobler@schweiz.org>

	* configure.ac: Add amd64-*-freebsd* target.
	* configure: Regenerate.

Co-Authored-By: Andreas Tobler <a.tobler@schweiz.org>

From-SVN: r132262
2008-02-12 18:42:21 +01:00
Steven Bosscher 43854f724a re PR c++/29048 ("`x' is private" error duplicated when scope specified)
PR c++/29048
        * semantics.c (finish_qualified_id_expr): Avoid duplicate access
        check here, too.

From-SVN: r132261
2008-02-12 12:26:34 -05:00
Jakub Jelinek e4d25d9dc3 Shouldn't be executable.
From-SVN: r132260
2008-02-12 18:24:25 +01:00
Jakub Jelinek 1022317197 Shouldn't be executable.
From-SVN: r132259
2008-02-12 18:21:11 +01:00
Jakub Jelinek a9de800a1d re PR c++/34862 (operator new placement variant with reference arg not accepted by g++ 4.3)
PR c++/34862
	* init.c (build_new_1): Don't create placement_expr before
	constructing alloc_call.  Verify that the pointer is passed by
	value to operator new.

	* g++.dg/init/new27.C: New test.

From-SVN: r132257
2008-02-12 17:25:47 +01:00
Jason Merrill 02e52ae514 re PR c++/35097 (ICE with attribute and template specialization)
PR c++/35097
        * pt.c (tsubst): Don't look up a template typedef in an explicit
        specialization.

From-SVN: r132253
2008-02-12 01:34:59 -05:00
Anatoly Sokolov d6f77715ea avr.h (AVR_HAVE_RAMPZ): Define.
* config/avr/avr.h (AVR_HAVE_RAMPZ): Define.
	* config/avr/avr.c (expand_prologue): Save RAMPZ register.
	(expand_epilogue): Restore RAMPZ register.
	* config/avr/avr.md (RAMPZ_ADDR): New constant.

From-SVN: r132252
2008-02-12 07:08:41 +03:00
Benjamin Kosnik 46abada07f *: Populate with regenerated files.
2008-02-11  Benjamin Kosnik  <bkoz@redhat.com>

	* doc/html/*: Populate with regenerated files.

From-SVN: r132251
2008-02-12 02:39:33 +00:00
Benjamin Kosnik 620039adfb *: Remove all but contents of ext/pb_ds.
2008-02-11  Benjamin Kosnik  <bkoz@redhat.com>

	* doc/html/*: Remove all but contents of ext/pb_ds.
	* doc/html/index.html: New.
	* doc/html/README: New.

From-SVN: r132250
2008-02-12 02:35:48 +00:00
Benjamin Kosnik c9024a78a9 mainpage.html: Add in corrected links.
2008-02-11  Benjamin Kosnik  <bkoz@redhat.com>

	* doc/doxygen/mainpage.html: Add in corrected links.
	* README: Edit, move most into...
	* doc/xml/manual/appendix_contributing.xml (Directory Layout): ...here.
	(Documentation Style): Revise.
	* doc/xml/spine.xml: Edit file names.
	* doc/Makefile.am: Edit xml_sources.
	* doc/Makefile.in: Regenerate.

From-SVN: r132249
2008-02-12 02:10:57 +00:00
GCC Administrator 42d572f5a3 Daily bump.
From-SVN: r132247
2008-02-12 00:17:29 +00:00
George Helffrich e1067fd307 * MAINTAINERS (Write After Approval): Add myself.
From-SVN: r132243
2008-02-11 19:47:23 +00:00
Douglas Gregor 37d24376c4 re PR c++/35113 (g++.dg/ext/vector13.C doesn't work)
2008-02-11  Douglas Gregor  <doug.gregor@gmail.com>

       PR c++/35113
       * tree.c (cp_build_qualified_type_real): When building a
       cv-qualified array type, build it as a unique type with
       build_cplus_array_type_1 and then adopt the unqualified type's
       main variant.

From-SVN: r132242
2008-02-11 18:58:16 +00:00
Bob Wilson 5fd38b882f xtensa-config.h (XCHAL_HAVE_THREADPTR): Redefine to zero.
* xtensa-config.h (XCHAL_HAVE_THREADPTR): Redefine to zero.
	(XCHAL_NUM_AREGS, XCHAL_MAX_INSTRUCTION_SIZE): New.

From-SVN: r132240
2008-02-11 17:53:16 +00:00
Uros Bizjak 40049ccc9f ChangeLog: Move entry from here ...
* ChangeLog: Move entry from here ...
	* gcc/ChangeLog: ... to here.

From-SVN: r132239
2008-02-11 15:10:34 +01:00
Paolo Carlini 7eed349eb9 configure: Regenerate with documented autoconf and automake versions (i.e., 2.59 and 1.9.6).
2008-02-11  Paolo Carlini  <pcarlini@suse.de>

	* configure: Regenerate with documented autoconf and automake
	versions (i.e., 2.59 and 1.9.6).
	* Makefile.in: Likewise.
	* src/Makefile.in: Likewise.
	* doc/Makefile.in: Likewise.
	* po/Makefile.in: Likewise.
	* libmath/Makefile.in: Likewise.
	* include/Makefile.in: Likewise.
	* libsupc++/Makefile.in: Likewise.
	* testsuite/Makefile.in: Likewise.
	* aclocal.m4: Likewise.

From-SVN: r132238
2008-02-11 10:05:33 +00:00
Paolo Carlini ba19e12f42 re PR c++/35077 (ICE with attribute in broken class declaration)
cp/
2008-02-11  Paolo Carlini  <pcarlini@suse.de>

	PR c++/35077
	* decl.c (groktypename): Check grokdeclarator return.

testsuite/
2008-02-11  Paolo Carlini  <pcarlini@suse.de>

	PR c++/35077
	* g++.dg/template/crash78.C: New.

From-SVN: r132237
2008-02-11 09:28:48 +00:00
Kai Tietz 35b35fd081 [patch i386]: For target x86_64-pc-mingw32 _alloca and
_stkchk may corrupts  stack alignment.

From-SVN: r132236
2008-02-11 10:02:06 +01:00
Uros Bizjak f8c5cff401 re PR testsuite/35047 (some vectorisation tests fail with --with-arch=core2 or on i386-apple-darwin8.11.1)
PR testsuite/35047
	* gcc.dg/compat/vector-2_x.c: Add -mno-mmx for x86 targets.
	* gcc.dg/compat/vector-2_y.c: Ditto.


Co-Authored-By: Richard Guenther <rguenther@suse.de>

From-SVN: r132235
2008-02-11 09:54:33 +01:00
Uros Bizjak a6e2d11207 re PR tree-optimization/33992 (Miscompiles function with inlining, breaks profiledbootstrap)
2008-02-11  Uros Bizjak  <ubizjak@gmail.com>
	Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/33992
	* tree-ssa-loop-im.c (rewrite_bittest): Fixup the type of
	the zero we compare against.

	* gcc.c-torture/execute/pr33992.c: New testcase.

Co-Authored-By: Richard Guenther <rguenther@suse.de>

From-SVN: r132234
2008-02-11 08:27:00 +00:00
GCC Administrator 35f1ca2f84 Daily bump.
From-SVN: r132230
2008-02-11 00:17:14 +00:00
Benjamin Kosnik 8ce6754c16 Convert documentation to DocBook.
2008-02-10  Benjamin Kosnik  <bkoz@redhat.com>

	Convert documentation to DocBook.
	* doc/Makefile.am (doc-doxygen-html): Changed to doc-html-doxygen.
	(doc-doxygen-man): Changed to doc-man-doxygen.
	(doc-performance): Changed to doc-html-performance.
	(doc-xml-doxygen): New.
	(doc-xml-single): New.
	(doc-xml-validate): New.
	(doc-html): New.
	(doc-html-single): New.
	(doc-fo): New.
	(doc-pdf): New.
	(doc-pdf-fop-xml): New.
	(doc-pdf-fop-fo): New.
	(doc-pdf-xmlto): New.
	(doc-pdf-xmlroff): New.
	(doc-pdf-prince): New.
	* doc/xml: New directory.
	* doc/xml/authors.xml: New.
	* doc/xml/images: New directory.
	* doc/xml/images/confdeps.png: Add.
	* doc/xml/images/confdeps.dot: Add.
	* doc/xml/faq.xml: New.
	* doc/xml/api.xml: New.
	* doc/xml/gnu: New directory.
	* doc/xml/gnu/gpl-3.0.xml: New.
	* doc/xml/gnu/fdl-1.2.xml: New.
	* doc/xml/gnu/gpl-2.0.xml: New.
	* doc/xml/manual: New directory.
	* doc/xml/manual/mt_allocator.xml: New.
	* doc/xml/manual/allocator.xml: New.
	* doc/xml/manual/ctype.xml: New.
	* doc/xml/manual/numerics.xml: New.
	* doc/xml/manual/codecvt.xml: New.
	* doc/xml/manual/concurrency.xml: New.
	* doc/xml/manual/backwards_compatibility.xml: New.
	* doc/xml/manual/intro.xml: New.
	* doc/xml/manual/shared_ptr.xml: New.
	* doc/xml/manual/abi.xml: New.
	* doc/xml/manual/status_cxxtr1.xml: New.
	* doc/xml/manual/auto_ptr.xml: New.
	* doc/xml/manual/build.xml: New.
	* doc/xml/manual/internals.xml: New.
	* doc/xml/manual/parallel_mode.xml: New.
	* doc/xml/manual/status_cxx1998.xml: New.
	* doc/xml/manual/containers.xml: New.
	* doc/xml/manual/io.xml: New.
	* doc/xml/manual/appendix_porting.xml: New.
	* doc/xml/manual/utilities.xml: New.
	* doc/xml/manual/bitmap_allocator.xml: New.
	* doc/xml/manual/support.xml: New.
	* doc/xml/manual/configure.xml: New.
	* doc/xml/manual/build_hacking.xml: New.
	* doc/xml/manual/evolution.xml: New.
	* doc/xml/manual/using.xml: New.
	* doc/xml/manual/debug.xml: New.
	* doc/xml/manual/localization.xml: New.
	* doc/xml/manual/strings.xml: New.
	* doc/xml/manual/debug_mode.xml: New.
	* doc/xml/manual/locale.xml: New.
	* doc/xml/manual/extensions.xml: New.
	* doc/xml/manual/appendix_contributing.xml: New.
	* doc/xml/manual/messages.xml: New.
	* doc/xml/manual/diagnostics.xml: New.
	* doc/xml/manual/appendix_free.xml: New.
	* doc/xml/manual/algorithms.xml: New.
	* doc/xml/manual/iterators.xml: New.
	* doc/xml/manual/spine.xml: New.
	* doc/xml/manual/test.xml: New.
	* doc/xml/manual/status_cxx200x.xml: New.
	* doc/xml/spine.xml: New.

	* doc/xml/book.txml: New. Template file.
	* doc/xml/chapter.txml: Same.
	* doc/xml/class.txml: Same.

	* doc/doxygen/guide.html: Removed, integrated into other docs.
	* doc/doxygen/user.cfg.in: Clean up XML generation.
	* doc/doxygen/run_doxygen: Move to..	
	* scripts/run_doxygen: ...here.
	
	* configure: Regenerate.
	* Makefile.in: Regenerate.
	* src/Makefile.in: Regenerate.
	* doc/Makefile.in: Regenerate.	
	* po/Makefile.in: Regenerate.
	* libmath/Makefile.in: Regenerate.
	* include/Makefile.in: Regenerate.
	* libsupc++/Makefile.in: Regenerate.
	* testsuite/Makefile.in: Regenerate.
	* aclocal.m4: Regenerate.

From-SVN: r132227
2008-02-11 00:02:11 +00:00
Benjamin Kosnik 8a165db0c0 Convert documentation to DocBook.
2008-02-10  Benjamin Kosnik  <bkoz@redhat.com>

	Convert documentation to DocBook.
	* doc/Makefile.am (doc-doxygen-html): Changed to doc-html-doxygen.
	(doc-doxygen-man): Changed to doc-man-doxygen.
	(doc-performance): Changed to doc-html-performance.
	(doc-xml-doxygen): New.
	(doc-xml-single): New.
	(doc-xml-validate): New.
	(doc-html): New.
	(doc-html-single): New.
	(doc-fo): New.
	(doc-pdf): New.
	(doc-pdf-fop-xml): New.
	(doc-pdf-fop-fo): New.
	(doc-pdf-xmlto): New.
	(doc-pdf-xmlroff): New.
	(doc-pdf-prince): New.
	* doc/xml: New directory.
	* doc/xml/authors.xml: New.
	* doc/xml/images: New directory.
	* doc/xml/images/confdeps.png: Add.
	* doc/xml/images/confdeps.dot: Add.
	* doc/xml/faq.xml: New.
	* doc/xml/api.xml: New.
	* doc/xml/gnu: New directory.
	* doc/xml/gnu/gpl-3.0.xml: New.
	* doc/xml/gnu/fdl-1.2.xml: New.
	* doc/xml/gnu/gpl-2.0.xml: New.
	* doc/xml/manual: New directory.
	* doc/xml/manual/mt_allocator.xml: New.
	* doc/xml/manual/allocator.xml: New.
	* doc/xml/manual/ctype.xml: New.
	* doc/xml/manual/numerics.xml: New.
	* doc/xml/manual/codecvt.xml: New.
	* doc/xml/manual/concurrency.xml: New.
	* doc/xml/manual/backwards_compatibility.xml: New.
	* doc/xml/manual/intro.xml: New.
	* doc/xml/manual/shared_ptr.xml: New.
	* doc/xml/manual/abi.xml: New.
	* doc/xml/manual/status_cxxtr1.xml: New.
	* doc/xml/manual/auto_ptr.xml: New.
	* doc/xml/manual/build.xml: New.
	* doc/xml/manual/internals.xml: New.
	* doc/xml/manual/parallel_mode.xml: New.
	* doc/xml/manual/status_cxx1998.xml: New.
	* doc/xml/manual/containers.xml: New.
	* doc/xml/manual/io.xml: New.
	* doc/xml/manual/appendix_porting.xml: New.
	* doc/xml/manual/utilities.xml: New.
	* doc/xml/manual/bitmap_allocator.xml: New.
	* doc/xml/manual/support.xml: New.
	* doc/xml/manual/configure.xml: New.
	* doc/xml/manual/build_hacking.xml: New.
	* doc/xml/manual/evolution.xml: New.
	* doc/xml/manual/using.xml: New.
	* doc/xml/manual/debug.xml: New.
	* doc/xml/manual/localization.xml: New.
	* doc/xml/manual/strings.xml: New.
	* doc/xml/manual/debug_mode.xml: New.
	* doc/xml/manual/locale.xml: New.
	* doc/xml/manual/extensions.xml: New.
	* doc/xml/manual/appendix_contributing.xml: New.
	* doc/xml/manual/messages.xml: New.
	* doc/xml/manual/diagnostics.xml: New.
	* doc/xml/manual/appendix_free.xml: New.
	* doc/xml/manual/algorithms.xml: New.
	* doc/xml/manual/iterators.xml: New.
	* doc/xml/manual/spine.xml: New.
	* doc/xml/manual/test.xml: New.
	* doc/xml/manual/status_cxx200x.xml: New.
	* doc/xml/spine.xml: New.

	* doc/xml/book.txml: New. Template file.
	* doc/xml/chapter.txml: Same.
	* doc/xml/class.txml: Same.

	* doc/doxygen/guide.html: Removed, integrated into other docs.
	* doc/doxygen/user.cfg.in: Clean up XML generation.
	* doc/doxygen/run_doxygen: Move to..	
	* scripts/run_doxygen: ...here.
	
	* configure: Regenerate.
	* Makefile.in: Regenerate.
	* src/Makefile.in: Regenerate.
	* doc/Makefile.in: Regenerate.	
	* po/Makefile.in: Regenerate.
	* libmath/Makefile.in: Regenerate.
	* include/Makefile.in: Regenerate.
	* libsupc++/Makefile.in: Regenerate.
	* testsuite/Makefile.in: Regenerate.
	* aclocal.m4: Regenerate.

From-SVN: r132226
2008-02-11 00:01:33 +00:00
Thomas Koenig 71a9ddca7a streamio_14.f90: New test.
2008-02-10  Thomas Koenig  <tkoenig@gcc.gnu.org>

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

From-SVN: r132220
2008-02-10 20:03:11 +00:00
Jason Merrill 6c5613b043 re PR c++/34094 (Undefined static data member in anonymous namespace can acquire a definition anyway)
PR c++/34094
        * decl2.c (cp_write_global_declarations): Don't write out static
        data members with DECL_IN_AGGR_P set.

From-SVN: r132218
2008-02-10 13:12:01 -05:00
Jerry DeLisle ef4195d63d [multiple changes]
2008-02-10  Danny Smith  <dannysmith@users.sourceforge.net>

	PR gcc/35063
	* gthr-win32.h (__gthread_mutex_destroy_function): New function
	to CloseHandle after unlocking to prevent accumulation of handle
	count. 

2008-02-10  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libfortran/35063
	* io/unit.c (destroy_unit_mutex): New function that uses
	__gthread_mutex_destroy_function or pthread_mutex_destroy after
	unlocking and before free_mem for final closure of I/O unit.
	(delete_root): Use new function.
	(free_internal_unit): Likewise.
	(close_unit_1): Likewise.

From-SVN: r132217
2008-02-10 18:06:34 +00:00
Uros Bizjak 39caa16434 pr17390.c: Remove ilp32 target requirement.
* gcc.target/i386/pr17390.c: Remove ilp32 target requirement.
        Add -mfpmath=387 to dg-options.

From-SVN: r132216
2008-02-10 17:25:37 +01:00
Uros Bizjak 2c54cb7931 re PR testsuite/35047 (some vectorisation tests fail with --with-arch=core2 or on i386-apple-darwin8.11.1)
PR testsuite/35047
        * gcc.dg/tree-ssa/gen-vect-2.c: Add -mno-sse for x86 targets.
        * gcc.dg/tree-ssa/gen-vect-11.c: Ditto.
        * gcc.dg/tree-ssa/gen-vect-11a.c: Ditto.
        * gcc.dg/tree-ssa/gen-vect-11b.c: Ditto.
        * gcc.dg/tree-ssa/gen-vect-11c.c: Ditto.
        * gcc.dg/tree-ssa/gen-vect-25.c: Ditto.
        * gcc.dg/tree-ssa/gen-vect-26.c: Ditto.
        * gcc.dg/tree-ssa/gen-vect-28.c: Ditto.
        * gcc.dg/tree-ssa/gen-vect-32.c: Ditto.

From-SVN: r132215
2008-02-10 17:06:56 +01:00
Paolo Carlini b3aaa61791 re PR libstdc++/16251 (bogus default constructor for std::basic_iostream)
2008-02-10  Paolo Carlini  <pcarlini@suse.de>

	PR libstdc++/16251
	* include/std/istream (basic_istream<>::basic_istream()): Call
	this->init().
	(basic_iostream<>::basic_iostream(basic_streambuf<>*)): Don't
	do it here, per 27.6.1.5.1/1.
	* include/std/ostream (basic_ostream<>::basic_ostream()): Call
	this->init().
	* testsuite/27_io/basic_iostream/cons/16251.C: New.

	* testsuite/27_io/basic_iostream/cons/2020.cc: Minor tweaks.

From-SVN: r132214
2008-02-10 15:48:10 +00:00
Daniel Franke 3d39d4151c re PR fortran/35019 (Gfortran does not support "-J <dir>" only "-J<dir>")
2008-02-10  Daniel Franke  <franke.daniel@gmail.com>

	fortran/PR35019
	* lang.opt: Allow '-J<dir>' next to '-J <dir>', 
	likewise '-I <dir>' and '-I<dir>'.

From-SVN: r132213
2008-02-10 10:01:39 -05:00
Kaveh R. Ghazi 68812e373c re PR objc++/34193 (FAIL: obj-c++.dg/gnu-runtime-2.mm (test for excess errors))
PR objc++/34193
	* obj-c++.dg/gnu-runtime-2.mm: Fix signature of function main().

From-SVN: r132211
2008-02-10 04:58:03 +00:00