90618 Commits

Author SHA1 Message Date
Paul Thomas
4d45d49566 re PR fortran/37926 (Program gives wrong output (connected to char len))
2008-11-15  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/37926
        * trans-expr.c (gfc_add_interface_mapping): Transfer the formal
	arglist and the always_explicit attribute if the dummy arg is a
	procedure.

2008-11-15  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/37926
        * gfortran.dg/dummy_procedure_3.f90: New test.

From-SVN: r141890
2008-11-15 17:26:13 +00:00
Jakub Jelinek
6d8f280f7a re PR target/38123 (error: incorrect sharing of tree nodes ap->fp_offset = D.2748;)
PR target/38123
	* config/i386/i386.c (ix86_gimplify_va_arg): Don't share valist between
	gpr and other COMPONENT_REFs.

	* gcc.c-torture/compile/pr38123.c: New test.

From-SVN: r141889
2008-11-15 17:40:24 +01:00
Richard Guenther
6389463779 re PR tree-optimization/38051 (Miscompilation of glibc's memcmp)
2008-11-15  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/38051
	* tree-ssa-alias.c (update_alias_info_1): Manually find
	written variables.

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

Co-Authored-By: Jakub Jelinek <jakub@redhat.com>

From-SVN: r141887
2008-11-15 15:37:57 +00:00
Joshua Kinard
ee9a72e50c invoke.texi (-mfix-r10000): Document.
gcc/
2008-11-15  Joshua Kinard  <kumba@gentoo.org>

	* doc/invoke.texi (-mfix-r10000): Document.
	* config/mips/mips.opt (mfix-r10000): New option.
	* config/mips/mips-protos.h (mips_output_sync_loop): Declare.
	* config/mips/mips.h (MIPS_COMPARE_AND_SWAP): Use %?.
	(MIPS_COMPARE_AND_SWAP_12): Likewise.
	(MIPS_SYNC_OP): Likewise.
	(MIPS_SYNC_OP_12): Likewise.
	(MIPS_SYNC_OLD_OP_12): Likewise.
	(MIPS_SYNC_NEW_OP_12): Likewise.
	(MIPS_SYNC_OLD_OP): Likewise.
	(MIPS_SYNC_NAND): Likewise.
	(MIPS_SYNC_OLD_NAND): Likewise.
	(MIPS_SYNC_EXCHANGE): Likewise.
	(MIPS_SYNC_EXCHANGE_12): Likewise.
	(MIPS_SYNC_NEW_OP): Likewise, using %~ to fill branch-likely
	delay slots.
	(MIPS_SYNC_NEW_NAND): Likewise.
	* config/mips/mips.c (mips_print_operand_punctuation): Handle '~'.
	(mips_init_print_operand_punct): Treat '~' as a punctuation character.
	(mips_output_sync_loop): New function.
	(mips_override_options): Make -march=r10000 imply -mfix-r10000.
	Make -mfix-r10000 require branch-likely instructions.
	* config/mips/sync.md (sync_compare_and_swap<mode>): Use
	mips_output_sync_loop.
	(compare_and_swap_12): Likewise.
	(sync_add<mode>): Likewise.
	(sync_<optab>_12): Likewise.
	(sync_old_<optab>_12): Likewise.
	(sync_new_<optab>_12): Likewise.
	(sync_nand_12): Likewise.
	(sync_old_nand_12): Likewise.
	(sync_new_nand_12): Likewise.
	(sync_sub<mode>): Likewise.
	(sync_old_add<mode>): Likewise.
	(sync_old_sub<mode>): Likewise.
	(sync_new_add<mode>): Likewise.
	(sync_new_sub<mode>): Likewise.
	(sync_<optab><mode>): Likewise.
	(sync_old_<optab><mode>): Likewise.
	(sync_new_<optab><mode>): Likewise.
	(sync_nand<mode>): Likewise.
	(sync_old_nand<mode>): Likewise.
	(sync_new_nand<mode>): Likewise.
	(sync_lock_test_and_set<mode>): Likewise.
	(test_and_set_12): Likewise.

gcc/testsuite/
2008-11-15  Joshua Kinard  <kumba@gentoo.org>
	    Richard Sandiford  <rdsandiford@goolemail.com>

	* gcc.target/mips/fix-r10000-1.c: New test.
	* gcc.target/mips/fix-r10000-2.c: Likewise.
	* gcc.target/mips/fix-r10000-3.c: Likewise.
	* gcc.target/mips/fix-r10000-4.c: Likewise.
	* gcc.target/mips/fix-r10000-5.c: Likewise.
	* gcc.target/mips/fix-r10000-6.c: Likewise.
	* gcc.target/mips/fix-r10000-7.c: Likewise.
	* gcc.target/mips/fix-r10000-8.c: Likewise.
	* gcc.target/mips/fix-r10000-9.c: Likewise.
	* gcc.target/mips/fix-r10000-10.c: Likewise.
	* gcc.target/mips/fix-r10000-11.c: Likewise.
	* gcc.target/mips/fix-r10000-12.c: Likewise.
	* gcc.target/mips/fix-r10000-13.c: Likewise.
	* gcc.target/mips/fix-r10000-14.c: Likewise.
	* gcc.target/mips/fix-r10000-15.c: Likewise.

Co-Authored-By: Richard Sandiford <rdsandiford@googlemail.com>

From-SVN: r141886
2008-11-15 14:26:07 +00:00
Geert Bosch
7348f18cb1 trans.c (emit_check): Put back a final save_expr to prevent exponential expansion during gimplification.
* gcc-interface/trans.c (emit_check): Put back a final save_expr
	to prevent exponential expansion during gimplification.

From-SVN: r141885
2008-11-15 14:11:58 +00:00
Eric Botcazou
708bceb76e gcc.c (cc1_options): Fix comment.
* gcc.c (cc1_options): Fix comment.
ada/
	* gcc-interface/lang-specs.h: Expand -coverage and reorder switches.

From-SVN: r141884
2008-11-15 12:43:16 +00:00
Eric Botcazou
a5b8aacdd2 decl.c (gnat_to_gnu_entity): Force constants initialized to a static constant to be statically allocated...
* gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Force constants
	initialized to a static constant to be statically allocated even if
	they are of a padding type, provided the original type also has
	constant size.

From-SVN: r141883
2008-11-15 12:34:00 +00:00
Laurent GUERBY
4364e85146 re PR ada/37993 (missing Ada multilib support for darwin)
2008-11-15  Laurent Guerby  <laurent@guerby.net>

	PR ada/37993
	* gcc-interface/Makefile.in: Add multilib handling for x86_64
	on darwin.
	* system-darwin-x86_64.ads: New file.

From-SVN: r141882
2008-11-15 11:22:42 +00:00
Jakub Jelinek
b70cef5d74 re PR c++/37561 (Revision 140405 caused g++.old-deja/g++.mike/warn1.C)
PR c++/37561
	* c-typeck.c (build_unary_op): Don't call get_unwidened.  Use
	argtype instead of result_type.

	* typeck.c (cp_build_unary_op): Don't call get_unwidened.  Use
	argtype instead of result_type.

	* gcc.dg/pr37561.c: New test.
	* g++.dg/other/increment1.C: New test.

From-SVN: r141881
2008-11-15 10:53:02 +01:00
Jerry DeLisle
91ddf5a1e7 re PR fortran/37988 (Edit descriptor checking (compile time) for "<Holerith>T)")
2008-11-14  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR fortran/37988
	* gfortran.dg/fmt_error_6.f90: New test.

From-SVN: r141880
2008-11-15 05:14:33 +00:00
Jerry DeLisle
7465781218 re PR fortran/37988 (Edit descriptor checking (compile time) for "<Holerith>T)")
2008-11-14  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR fortran/37988
	* io.c (enum format_token): For readability replace FMT_POS with FMT_T,
	FMT_TL, and FMT_TR.  (format_lex): Use new enumerators. (check_format):
	Add check for missing positive integer.

From-SVN: r141879
2008-11-15 05:03:56 +00:00
GCC Administrator
e344d69030 Daily bump.
From-SVN: r141877
2008-11-15 00:16:48 +00:00
Adam Nemet
af51c885f5 ira-int.h (struct ira_loop_tree_node): Improve comments for subloop_next/next and subloops/childen fields.
* ira-int.h (struct ira_loop_tree_node): Improve comments for
	subloop_next/next and subloops/childen fields.

From-SVN: r141873
2008-11-14 23:17:14 +00:00
Ulrich Weigand
5800e0a0f2 spu-elf.h (STANDARD_STARTFILE_PREFIX_2): Disable default.
* config/spu/spu-elf.h (STANDARD_STARTFILE_PREFIX_2): Disable default.
	(STANDARD_INCLUDE_DIR): Redefine to "/include".
	(LOCAL_INCLUDE_DIR): Undefine.
	* config/spu/t-spu-elf (NATIVE_SYSTEM_HEADER_DIR): Define.

From-SVN: r141870
2008-11-14 22:23:03 +00:00
Jason Merrill
8cc99a4d47 re PR c++/38030 (name-lookup for non-dependent name in template function is wrong)
PR c++/38030
        * semantics.c (finish_call_expr): Remember the result of
        non-dependent overload resolution.

From-SVN: r141866
2008-11-14 16:57:34 -05:00
Jason Merrill
2d2c68a3e7 re PR c++/37740 ([C++0x] "foo f{...}" form compiles, but "new foo{...}" one doesn't)
PR c++/37740
        * call.c (build_aggr_conv): Increment i.

From-SVN: r141865
2008-11-14 15:50:59 -05:00
Steve Ellcey
8b047446c3 re PR middle-end/38004 (g++.dg/vect/pr36648.cc)
PR middle-end/38004
	* g++.dg/vect/pr36648.cc: Check alignment requirement.

From-SVN: r141864
2008-11-14 20:15:11 +00:00
Jack Howarth
bc0f6c3d1c re PR testsuite/38098 (gcc.dg/cpp/subframework1.c -fno-show-column fails on darwin9)
2008-11-14  Jack Howarth  <howarth@bromo.med.uc.edu>

	PR testsuite/38098
	* gcc.dg/cpp/subframework1.c: Use -Wno-deprecated.

From-SVN: r141862
2008-11-14 18:36:41 +00:00
Paul Thomas
993ac38b0f re PR fortran/38033 (Bounds of a pointer/allocatable array not stabilized)
2008-10-14  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/38033
	* trans-array.c (gfc_trans_create_temp_array): Stabilize the
	'to' expression.
	(gfc_conv_loop_setup): Use the end expression for the loop 'to'
	if it is available.

2008-10-14  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/38033
	* gfortran.dg/array_section_2.f90: New test.

From-SVN: r141861
2008-11-14 18:03:05 +00:00
Vladimir Makarov
927425dffe re PR rtl-optimization/37397 (IRA performance impact on SPEC CPU 2K/2006)
2008-11-14  Vladimir Makarov  <vmakarov@redhat.com>

	PR rtl-optimization/37397
	* ira-int.h (struct ira_allocno): New member bad_spill_p.
	(ALLOCNO_BAD_SPILL_P): New macro.

	* ira-color.c (push_allocnos_to_stack): Check ALLOCNO_BAD_SPILL_P.

	* ira-build.c (ira_create_allocno): Initialize
	ALLOCNO_BAD_SPILL_P.
	(create_cap_allocno, propagate_allocno_info,
	remove_unnecessary_allocnos): Set up or update
	ALLOCNO_BAD_SPILL_P.
	(update_bad_spill_attribute): New function.
	(ira_build): Call it.

	* ira-costs.c (record_reg_classes): Set up ALLOCNO_BAD_SPILL_P.

From-SVN: r141860
2008-11-14 16:41:56 +00:00
Daniel Jacobowitz
487e299ba6 re PR bootstrap/38014 (in-tree gmp and mpfr libraries no longer work)
PR bootstrap/38014
	PR bootstrap/37923

	Revert:

	2008-10-24  Daniel Jacobowitz  <dan@codesourcery.com>

	* Makefile.tpl (HOST_EXPORTS): Correct CPPFLAGS typo.
	* Makefile.in: Regenerated.

	2008-10-22  Daniel Jacobowitz  <dan@codesourcery.com>

	* Makefile.def (flags_to_pass): Add CPPFLAGS_FOR_BUILD and CPPFLAGS.
	* Makefile.tpl (BUILD_EXPORTS): Set CPPFLAGS.
	(EXTRA_BUILD_FLAGS): Correct typo.  Pass CPPFLAGS.
	(HOST_EXPORTS): Pass CPPFLAGS.
	(CPPFLAGS_FOR_BUILD, CPPFLAGS, CPPFLAGS_FOR_TARGET): Define.
	(LDFLAGS_FOR_TARGET): Initialize from configure script.
	(EXTRA_TARGET_FLAGS): Set CPPFLAGS.
	* Makefile.in, configure: Regenerated.
	* configure.ac: Set CPPFLAGS_FOR_TARGET, LDFLAGS_FOR_TARGET,
	and CPPFLAGS_FOR_BUILD.

From-SVN: r141859
2008-11-14 14:51:38 +00:00
Jakub Jelinek
f93bc6f57c re PR tree-optimization/38104 (ICE segmentation fault (with -O3 when deref a NULL pointer in the code??))
PR tree-optimization/38104
	* gimplify.c (gimple_regimplify_operands): Add referenced vars
	before calling mark_symbols_for_renaming, not after it.

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

From-SVN: r141857
2008-11-14 13:26:05 +01:00
Kaz Kojima
87deeba609 pr37514.c: Remove.
* gcc.target/sh/pr37514.c: Remove.

From-SVN: r141856
2008-11-14 12:02:17 +00:00
Kaz Kojima
11cc65d49a sh.h (OPTIMIZATION_OPTIONS): Revert last change.
* config/sh/sh.h (OPTIMIZATION_OPTIONS): Revert last change.
	(OVERRIDE_OPTIONS): Likewise.
	* gcc.target/sh/pr37514.c: Remove.

From-SVN: r141855
2008-11-14 11:46:55 +00:00
Uros Bizjak
6b7c95d3b3 re PR testsuite/37517 (gcc.target/i386/quad-sse.c fails with -fPIC)
PR testsuite/37517
	* gcc.target/i386/quad-sse.c: Tighten scan-assembler-not pattern.

From-SVN: r141854
2008-11-14 12:14:49 +01:00
Maxim Kuvyrkov
7279bb2278 re PR target/36134 (GCC creates suboptimal ASM : usage of ADDA.L where LEA could be used)
2008-11-14  Maxim Kuvyrkov  <maxim@codesourcery.com>
	    Andrew Stubbs  <ams@codesourcery.com>
	    Gunnar Von Boehn  <gunnar@genesi-usa.com>

	gcc/
	PR target/36134
	* config/m68k/m68k.md (addsi3_5200): Add a new alternative preferring
	the shorter LEA insn over ADD.L where possible.

	gcc/testsuite/
	PR target/36134
	* gcc.target/m68k/pr36134.c: New test.



Co-Authored-By: Andrew Stubbs <ams@codesourcery.com>
Co-Authored-By: Gunnar Von Boehn <gunnar@genesi-usa.com>

From-SVN: r141853
2008-11-14 10:49:06 +00:00
Uros Bizjak
1da1a26884 Add missing commit part:
* gcc.dg/compat/struct-layout-1.h: Do not include <mmintrin.h> and
        <xmmintrin.h>, define __m64 and __m128 directly.

From-SVN: r141852
2008-11-14 10:47:23 +01:00
Thomas Schwinge
4cc115a28f configure.ac (gcc_cv_libc_provides_ssp): Also consider GNU/Hurd systems...
2008-11-14  Thomas Schwinge  <tschwinge@gnu.org>

	* configure.ac (gcc_cv_libc_provides_ssp): Also consider GNU/Hurd
	systems, which are assumend to always provide SSP-support in glibc.
	* configure: Regenerate.

From-SVN: r141851
2008-11-14 10:24:06 +01:00
Thomas Schwinge
22f96a0fe2 configure.ac (gcc_cv_libc_provides_ssp): Also consider GNU/kFreeBSD, GNU/kNetBSD systems in the `*-*-linux*' case.
2008-11-14  Thomas Schwinge  <tschwinge@gnu.org>

	* configure.ac (gcc_cv_libc_provides_ssp): Also consider GNU/kFreeBSD,
	GNU/kNetBSD systems in the `*-*-linux*' case.
	* configure: Regenerate.

From-SVN: r141850
2008-11-14 10:20:54 +01:00
Jakub Jelinek
04487a2f0b re PR middle-end/36125 (FAIL: 26_numerics/complex/13450.cc: ICE in verify_gimple_expr, at tree-cfg.c:3962)
PR middle-end/36125
	* function.c (gimplify_parameters): For callee copies parameters,
	move TREE_ADDRESSABLE flag from the PARM_DECL to the local copy.

	* gcc.c-torture/compile/pr36125.c: New test.

From-SVN: r141848
2008-11-14 08:50:52 +01:00
Jason Merrill
2d727f75f1 re PR c++/37932 (narrowing conversion with -std=c++0x)
PR c++/37932
        * typeck2.c (process_init_constructor_record): Update bitfield
        handling.
        (check_narrowing): Update bitfield handling, print source type.

From-SVN: r141843
2008-11-13 19:38:20 -05:00
GCC Administrator
03c715aa1d Daily bump.
From-SVN: r141841
2008-11-14 00:17:03 +00:00
Thomas Schwinge
3328a3b779 re PR target/28102 (GNU Hurd bootstrap error: 'OPTION_GLIBC' undeclared)
2008-11-13  Thomas Schwinge  <tschwinge@gnu.org>

	PR target/28102
	* config.gcc (*-*-gnu*): Move Alpha parts into the `alpha*-*-gnu*', x86
	parts into the `i[34567]86-*-linux*' and parts that are independent of
	the processor architecture into the `*-*-linux*' cases.
	(*-*-linux*): Consider `linux.opt' only for Linux-based configurations.
	* config/i386/gnu.h (GLIBC_DYNAMIC_LINKER): Redefine.
	(TARGET_OS_CPP_BUILTINS, LINK_SPEC): Don't redefine.
	[TARGET_LIBC_PROVIDES_SSP] (TARGET_THREAD_SSP_OFFSET): Undefine.
	* config/gnu.h (NO_IMPLICIT_EXTERN_C): Don't redefine.
	(HURD_TARGET_OS_CPP_BUILTINS): Don't define, but instead...
	(LINUX_TARGET_OS_CPP_BUILTINS): Redefine.

From-SVN: r141838
2008-11-14 00:28:46 +01:00
Uros Bizjak
ab70111b71 * testsuite/ChangeLog: Add missing ChangeLog entry.
From-SVN: r141837
2008-11-13 23:54:23 +01:00
Richard Sandiford
ffe6ff66ca loongson-muldiv-1.c: New test.
gcc/testsuite/
	* gcc.target/mips/loongson-muldiv-1.c: New test.
	* gcc.target/mips/loongson-muldiv-2.c: Likewise.

From-SVN: r141836
2008-11-13 22:49:37 +00:00
Ruan Beihong
1a0f175dd7 loongson.md (<u>div<mode>3, [...]): New patterns.
gcc/
2008-11-13  Ruan Beihong  <ruanbeihong@gmail.com>

	* config/mips/loongson.md (<u>div<mode>3, <u>mod<mode>3): New patterns.
	* config/mips/loongson2ef.md (ls2_imult): Handle imul3nc.
	(ls2_idiv): Likewise idiv3.
	(ls2_prefetch): New reservation.
	* config/mips/mips.h (ISA_HAS_PREFETCH): Add TARGET_LOONGSON_2EF.
	* config/mips/mips.md (type): Add imul3nc and idiv3.
	(length): Handle idiv3.
	(any_mod): New code_iterator.
	(u): Handle MOD and UMOD.
	(mul<mode>3): Generate mul<mode>3_mul3_ls2ef on Loongson targets.
	(prefetch): Handle TARGET_LOONGSON_2EF.

From-SVN: r141835
2008-11-13 22:48:39 +00:00
Joseph Myers
a0daa81106 * id.po: New.
From-SVN: r141831
2008-11-13 21:21:49 +00:00
Steve Ellcey
8b159eea9d re PR libgomp/37938 (libgomp testsuite failures on ia64-linux)
PR libgomp/37938
	* config/linux/ia64/mutex.h: New.

From-SVN: r141830
2008-11-13 21:06:38 +00:00
Jakub Jelinek
2db56bbc02 re PR debug/27017 (Debug information for static local class members are not emitted)
PR c++/27017
	* dwarf2out.c (prune_unused_types_walk_local_classes): New function.
	(prune_unused_types_walk): Call it for non-perennial local classes.
	Set die_mark to 2 if recursing on children.  If die_mark is 1 on
	entry, just set it to 2 and recurse on children, don't walk attributes
	again.

	* g++.dg/debug/dwarf2/localclass1.C: New test.
	* g++.dg/debug/dwarf2/localclass2.C: New test.

From-SVN: r141829
2008-11-13 22:04:32 +01:00
Martin Michlmayr
a231ffe57d c-common.c (warn_about_parentheses): Add missing whitespace
in warning.

From-SVN: r141826
2008-11-13 18:47:18 +00:00
Uros Bizjak
b1f80fe197 struct-layout-1_generate.c (dg-options): Add -mno-mmx for i?86-*-* and x86_64-*-* targets
* gcc.dg/compat/struct-layout-1_generate.c (dg-options): Add -mno-mmx
	for i?86-*-* and x86_64-*-* targets
	* g++.dg/compat/struct-layout-1_generate.c (dg-options): Add
	-fno-common for *-*-darwin* *-*-mingw32* *-*-cygwin* targets.

From-SVN: r141825
2008-11-13 19:34:05 +01:00
Paul Brook
5fd424238b invoke.texi: Document --fix-cortex-m3.
2008-11-13  Paul Brook  <paul@codesourcery.com>

	gcc/
	* doc/invoke.texi: Document --fix-cortex-m3.
	* config/arm/arm.c (arm_override_options): Set fix_cm3_ldrd if
	Cortex-M3 cpu is selected.
	(output_move_double): Avoid overlapping base register and first
	destination register when fix_cm3_ldrd.
	* config/arm/arm.opt: Add mfix-cortex-m3-ldrd.

From-SVN: r141822
2008-11-13 15:19:02 +00:00
Olivier Hainque
255e5b0481 decl.c (gnat_to_gnu_entity): Turn Ada Pure on subprograms back into GCC CONST when...
ada/
        * gcc-interface/decl.c (gnat_to_gnu_entity) <case E_Function>:
        Turn Ada Pure on subprograms back into GCC CONST when eh constructs
        are explicit to the middle-end.  Tidy.

        testsuite/
        * gnat.dg/test_raise_from_pure.adb: Adjust to match revised intent.
        * gnat.dg/wrap_raise_from_pure.ad[bs]: Remove.
        * gnat.dg/handle_raise_from_pure.adb: New test.

From-SVN: r141821
2008-11-13 14:43:23 +00:00
Jakub Jelinek
cea094edca re PR bootstrap/38100 (gcc fails to compile with (undefined symbol) gimple_check_failed error)
PR bootstrap/38100
	* gimple.h (gimple_range_check_failed): Remove prototype.
	* gimple.c (gimple_check_failed): Don't check GCC_VERSION
	in guarding #if.
	(gimple_range_check_failed): Removed.

From-SVN: r141820
2008-11-13 15:42:39 +01:00
Dodji Seketeli
f42ab145aa Fix ChangeLog entry:
PR debug/27574
	* cgraph.h: New abstract_and_needed member to struct cgraph_node.
	* cgraphunit.c (cgraph_analyze_functions): Flag abstract functions
	- which clones are reachable - as "abstract and needed".
	* cgraph.c (cgraph_release_function_body):  If a node is
	"abstract and needed", do not release its DECL_INITIAL() content
	that will be needed to emit debug info.

From-SVN: r141819
2008-11-13 11:55:01 +01:00
Andrew Haley
3b5391959d re PR bootstrap/38088 (gcc fails to compile with undefined symbol: __LONG_LONG_MAX__ error)
PR bootstrap/38088
	* mcf.c (CAP_INFINITY): Use HOST_WIDEST_INT maximum, not GCC specific
	__LONG_LONG_MAX__.

From-SVN: r141818
2008-11-13 11:26:51 +01:00
GCC Administrator
bf0e1bf525 Daily bump.
From-SVN: r141816
2008-11-13 00:17:00 +00:00
Paolo Carlini
ddbfe947b3 re PR libstdc++/38000 (System header files not found once -isystem /usr/include is used)
2008-11-13  Paolo Carlini  <paolo.carlini@oracle.com>

	PR libstdc++/38000
	* include/c_global/csignal: Do not use include_next.
	* include/c_global/cstdlib: Likewise.
	* include/c_global/cstdio: Likewise.
	* include/c_global/cstdarg: Likewise.
	* include/c_global/cctype: Likewise.
	* include/c_global/cerrno: Likewise.
	* include/c_global/cmath: Likewise.
	* include/c_global/clocale: Likewise.
	* include/c_global/climits: Likewise.
	* include/c_global/cassert: Likewise.
	* include/c_global/csetjmp: Likewise.
	* include/c_global/cwchar: Likewise.
	* include/c_global/cfloat: Likewise.
	* include/c_global/cstdbool: Likewise.
	* include/c_global/cstring: Likewise.
	* include/c_global/cstddef: Likewise.
	* include/c_global/cwctype: Likewise.
	* include/tr1/cstdbool: Likewise.
	* include/tr1_impl/cinttypes: Do not include <inttypes.h>.
	* include/c_global/cinttypes: Do it here.
	* include/tr1/cinttypes: Likewise.
	* include/tr1_impl/cfenv: Do not include <fenv.h>.
	* include/c_global/cfenv: Do it here.
	* include/tr1/cfenv: Likewise.
	* include/tr1_impl/cstdint: Do not include <stdint.h>.
	* include/c_global/cstdint: Do it here.
	* include/tr1/cstdint: Likewise.
	* include/c_compatibility/fenv.h: Include <tr1_impl/cfenv>.
	* include/c_compatibility/stdint.h: Include <tr1_impl/cstdint>.
	* include/c_compatibility/inttypes.h: Include <tr1_impl/cinttypes>.

	* include/c_compatibility/math.h: Minor tweak, add comment.

From-SVN: r141812
2008-11-13 00:06:55 +00:00
Tobias Burnus
63b0fc00a4 re PR fortran/38094 (gfortran.dg/private_type_4.f90 -O doesn't work)
2008-11-12  Tobias Burnus  <burnus@net-b.de>

        PR fortran/38094
        * gfortran.dg/private_type_4.f90: Fix dg-error pattern.

From-SVN: r141811
2008-11-12 23:27:10 +01:00
Jakub Jelinek
084eb83032 re PR c++/36478 (warning not emitted when code expanded from macro)
PR c++/36478
	Revert:
	2007-05-07  Mike Stump  <mrs@apple.com>
	* doc/invoke.texi (Warning Options): Document that -Wempty-body
	also checks for and while statements in C++.

	Revert:
	2007-05-07  Mike Stump  <mrs@apple.com>
	* parser.c (check_empty_body): Add.
	(cp_parser_iteration_statement): Add call to check_empty_body.

	* g++.old-deja/g++.mike/empty.C: Remove.

From-SVN: r141810
2008-11-12 23:18:03 +01:00