Commit Graph

63530 Commits

Author SHA1 Message Date
Kriang Lerdsuwanakij
e34b09225a re PR c++/17344 (completely wacky error with matching template template classes and default arguments)
PR c++/17344
	* pt.c (coerce_template_parms): Only emit error message about
	invalid template argument when TF_ERROR.

	* g++.dg/template/defarg5.C: New test.

From-SVN: r90615
2004-11-14 10:57:00 +00:00
Hans-Peter Nilsson
18ccc7e0e3 * gcc_update (touch_files): Explicitly pass --no-print-directory.
From-SVN: r90614
2004-11-14 06:31:00 +00:00
Richard Henderson
27e29549a0 calls.c (precompute_register_parameters): Force all PARALLELs into pseudo registers.
* calls.c (precompute_register_parameters): Force all PARALLELs
        into pseudo registers.
        (load_register_parameters): Copy PARALLELs into hard registers.
        * function.c (assign_parm_setup_block): Copy PARALLELS into
        pseudo registers.  Do emit_group_store in conversion_insns.
        * expr.c (emit_group_load_1): Rename from emit_group_load, take
        tmps as an argument.  Move final copy loop ...
        (emit_group_load): ... here.  New function.
        (emit_group_load_into_temps, emit_group_move_into_temps): New.
        * expr.h: Declare them.

From-SVN: r90613
2004-11-13 22:22:56 -08:00
Kazu Hirata
eaf0dc0254 tree-cfg.c, [...]: Replace TREE_CHAIN with PHI_CHAIN where appropriate.
* tree-cfg.c, tree-if-conv.c, tree-ssa-loop-ivopts.c,
	tree-ssa-loop-manip.c, tree-vectorizer.c: Replace TREE_CHAIN
	with PHI_CHAIN where appropriate.

From-SVN: r90611
2004-11-14 04:08:11 +00:00
Dale Johannesen
88957e792d tree-flow.h (bsi_commit_one_edge_insert): Remove name from prototype.
2004-11-13  Dale Johannesen  <dalej@apple.com>

        * tree-flow.h (bsi_commit_one_edge_insert):  Remove name from prototype.
        (tree_block_label):  Ditto.
        (flush_pending_stmts):  Ditto.
        (insert_edge_copies):  Ditto.
        (expr_invariant_in_loop_p):  Ditto.
        (TDF_USE_OPS):  Parenthesize definition.
        (TDF_USE_VOPS):  Ditto.

From-SVN: r90610
2004-11-14 03:35:13 +00:00
David Edelsohn
6ca4177cf2 aix51.h (ASM_CPU_SPEC): Add 970 and G5.
* config/rs6000/aix51.h (ASM_CPU_SPEC): Add 970 and G5.
        * config/rs6000/aix52.h (ASM_CPU_SPEC): Same.
        * config/rs6000/t-aix52 (BOOT_LDFLAGS): Define.

From-SVN: r90609
2004-11-13 22:32:11 -05:00
Joseph Myers
6716ecbcfd i386.c (override_options): Move loop to set default tuning to correct place.
* config/i386/i386.c (override_options): Move loop to set default
	tuning to correct place.

From-SVN: r90606
2004-11-14 00:38:32 +00:00
GCC Administrator
f7b62acd2a Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r90604.2
2004-11-14 00:16:19 +00:00
GCC Administrator
6b7fd2f5e8 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r90603.2
2004-11-14 00:16:13 +00:00
Eric Botcazou
fa1dedd871 cast1.C: Run only on ILP32.
* g++.dg/parse/cast1.C: Run only on ILP32.
	* g++.old-deja/g++.mike/p784.C: Likewise.

From-SVN: r90601
2004-11-13 23:33:20 +00:00
Zak Kipling
e8112eacf7 re PR target/18300 (Infinite loop when passing object with 3+ base classes by value)
PR target/18300
        * config/i386/i386.c (classify_argument): Fix infinite loop when
        passing object with 3 or more base classes by value.

From-SVN: r90600
2004-11-13 15:09:08 -08:00
Eric Botcazou
595163db43 md.texi (constraints): Mention that it is useless when the two alternatives are strictly identical.
* doc/md.texi (constraints) <% modifier>: Mention that it is
	useless when the two alternatives are strictly identical.

From-SVN: r90598
2004-11-13 22:28:46 +00:00
Richard Henderson
4e36f613a3 expmed.c (extract_split_bit_field): Temporarily disable call to extract_force_align_mem_bit_field.
* expmed.c (extract_split_bit_field): Temporarily disable call to
        extract_force_align_mem_bit_field.

From-SVN: r90597
2004-11-13 14:10:47 -08:00
Kazu Hirata
1f83835576 c-cppbuiltin.c, [...]: Fix comment typos.
* c-cppbuiltin.c, cgraph.c, domwalk.h, except.c, gimplify.c,
	lambda-code.c, postreload.c, predict.c, tree-sra.c,
	tree-ssa-loop-manip.c, tree.c: Fix comment typos.

From-SVN: r90596
2004-11-13 21:11:04 +00:00
Kazu Hirata
e28d0cfbfb bitmap.c, [...]: Fix comment formatting.
* bitmap.c, bitmap.h, expmed.c, tree-cfg.c: Fix comment
	formatting.

From-SVN: r90595
2004-11-13 20:48:45 +00:00
Joseph Myers
68f674e990 inclhack.def (hpux_maxint, [...]): Remove.
* inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef,
	svr4__p, undefine_null): Remove.
	* fixincl.x: Regenerate.
	* tests/base/AvailabilityMacros.h, tests/base/com_err.h: New.
	* tests/base/sys/param.h: Remove.
	* tests/base/curses.h, tests/base/math.h, tests/base/testing.h,
	tests/base/sys/limits.h: Update.

From-SVN: r90594
2004-11-13 20:41:01 +00:00
Kelley Cook
ae8cacc6fd install.texi (automake): Correctly document that everything now will use automake 1.9.3.
2004-11-13  Kelley Cook  <kcook@gcc.gnu.org>

	* doc/install.texi (automake): Correctly document that everything now
	will use automake 1.9.3.

From-SVN: r90593
2004-11-13 20:14:21 +00:00
Hans-Peter Nilsson
85407c3fc7 re PR target/18347 (mmix-knuth-mmixware testsuite failure: gcc.dg/uninit-C.c)
PR target/18347
	* config/mmix/mmix.c (mmix_function_outgoing_value): Handle
	TImode.  Sorry for other non-complex larger-than-64-bit modes.
	* config/mmix/mmix.h (MIN_UNITS_PER_WORD): Do not define.

From-SVN: r90592
2004-11-13 19:52:55 +00:00
Kelley Cook
993bcda188 install.texi (automake): Document that everything now uses 1.9.
2004-11-13  Kelley Cook  <kcook@gcc.gnu.org>

	* doc/install.texi (automake): Document that everything now uses 1.9.

From-SVN: r90591
2004-11-13 19:11:37 +00:00
Mike Stump
0e8f8feadd Fix typo, html is generated in the build directory, not the source directory.
From-SVN: r90590
2004-11-13 17:29:03 +00:00
Mike Stump
b48cf92f95 Unify html generation with other frontends.
From-SVN: r90589
2004-11-13 17:27:49 +00:00
Bernd Schmidt
61a5fa2998 * gcc.c-torture/execute/20041113-1.c: New test.
From-SVN: r90588
2004-11-13 17:13:37 +00:00
Bernd Schmidt
32fab725bc cse.c (cse_insn): Stores in a libcall sequence can invalidate previous loads.
* cse.c (cse_insn): Stores in a libcall sequence can invalidate
	previous loads.

From-SVN: r90587
2004-11-13 17:11:02 +00:00
Scott Robert Ladd
04e8180850 Fixed missing space in ChangeLog entry
From-SVN: r90586
2004-11-13 17:08:27 +00:00
Scott Robert Ladd
1537532b79 Added self as write-after-approval maintainer
From-SVN: r90585
2004-11-13 17:03:37 +00:00
Mike Stump
6b66a9554f Revert Index->Manual Index until --no-split is removed...
From-SVN: r90584
2004-11-13 17:00:09 +00:00
Kelley Cook
3c374d9134 Makefile.am: Define ACLOCAL_AMFLAGS.
2004-11-13  Kelley Cook  <kcook@gcc.gnu.org>

	* Makefile.am: Define ACLOCAL_AMFLAGS.
	* acinclude.m4: Remove unnecessary sinclude.
	* aclocal.m4, Makefile.in, configure: Regenerate (autoreconf 1.9.3).

From-SVN: r90583
2004-11-13 16:38:04 +00:00
Kazu Hirata
3872a0aee4 * tree.h: Fix a comment typo.
From-SVN: r90582
2004-11-13 15:38:38 +00:00
Kazu Hirata
74f4f95c2b * tree.h: Fix a comment typo.
From-SVN: r90581
2004-11-13 15:33:36 +00:00
Steven Bosscher
d67fb775b3 cse.c (CHEAP_REGNO): Redefine using REGNO_PTR_FRAME_P and HARD_REGISTER_NUM_P.
* cse.c (CHEAP_REGNO): Redefine using REGNO_PTR_FRAME_P and
	HARD_REGISTER_NUM_P.

	* cselib.c (new_cselib_val): Make comment correct and more detailed.
	* flow.c (mark_set_1): Likewise.

	* except.c (duplicate_eh_region_1, duplicate_eh_region_2,
	duplicate_eh_regions): Remove.
	* except.h (duplicate_eh_regions): Remove prototype.
	* integrate.c (get_label_from_map, copy_rtx_and_substitute,
	global_const_equiv_varray): Remove.
	* integrate.h (get_label_from_map, copy_rtx_and_substitute,
	global_const_equiv_varray, set_label_in_map): Remove prototypes,
	extern declaration, and #define.
	(MAYBE_EXTEND_CONST_EQUIV_VARRAY, SET_CONST_EQUIV_DATA): Remove.
	(struct inline_remap): Remove.
	* varray.c (struct element): Remove entry for const_equiv_data.
	* varray.h (struct const_equiv_data): Remove.
	(enum varray_data_enum) <VARRAY_DATA_CONST_EQUIV>: Remove.
	(union varray_data_tag) <const_equiv>: Remove.
	(VARRAY_CONST_EQUIV_INIT, VARRAY_CONST_EQUIV,
	VARRAY_PUSH_CONST_EQUIV, VARRAY_TOP_CONST_EQUIV): Remove.

	* regstack.c (record_label_references): Remove unused function.

	* rtl.def (VALUE): Update comment.
	(LABEL_REF): Remove unused operand 2.
	* rtl.h (struct rtx_def): Update for removed accessor macros.
	(XCADVFLAGS, INSN_DEAD_CODE_P, LINE_NUMBER, CONTAINING_INSN,
	REG_LOOP_TEST_P): Remove.
	(ADDR_DIFF_VEC_FLAGS, CSELIB_VAL_PTR, LABEL_NEXTREF): Add comments.
	* web.c (entry_register): Don't copy REG_LOOP_TEST_P.
	* doc/rtl.texi (INSN_DEAD_CODE_P, REG_LOOP_TEST_P): Remove.

From-SVN: r90580
2004-11-13 14:18:04 +00:00
James A. Morrison
1136d30e65 re PR target/18230 (SPARC VIS instructions are not generated by GCC)
PR target/18230
	* gcc.dg/vect/tree-vect.h (check_vect): Add SPARC-specific test.
	* gcc.dg/vect/vect-2.c, gcc.dg/vect/vect-7.c, gcc.dg/vect/vect-9.c,
	gcc.dg/vect/vect-10.c, gcc.dg/vect/vect-12.c, gcc.dg/vect/vect-14.c,
	gcc.dg/vect/vect-15.c, gcc.dg/vect/vect-17.c, gcc.dg/vect/vect-18.c,
	gcc.dg/vect/vect-19.c, gcc.dg/vect/vect-20.c, gcc.dg/vect/vect-21.c,
	gcc.dg/vect/vect-22.c, gcc.dg/vect/vect-23.c, gcc.dg/vect/vect-24.c,
	gcc.dg/vect/vect-25.c, gcc.dg/vect/vect-26.c, gcc.dg/vect/vect-32.c,
	gcc.dg/vect/vect-33.c, gcc.dg/vect/vect-34.c, gcc.dg/vect/vect-35.c,
	gcc.dg/vect/vect-36.c, gcc.dg/vect/vect-37.c, gcc.dg/vect/vect-62.c,
	gcc.dg/vect/vect-63.c, gcc.dg/vect/vect-64.c, gcc.dg/vect/vect-65.c,
	gcc.dg/vect/vect-66.c, gcc.dg/vect/vect-67.c, gcc.dg/vect/vect-68.c,
	gcc.dg/vect/vect-69.c, gcc.dg/vect/vect-73.c, gcc.dg/vect/vect-75.c,
	gcc.dg/vect/vect-76.c, gcc.dg/vect/vect-78.c: Enable for
	SPARC.

From-SVN: r90579
2004-11-13 13:42:45 +00:00
James A. Morrison
893e18a5a1 re PR target/18230 (SPARC VIS instructions are not generated by GCC)
PR target/18230
	* config/sparc/sparc.c (sparc_rtx_costs): Handle the NAND vector
	patterns.
	* config/sparc/sparc.md (V64I): New macro for 64-bit modes.
	(V32I): New macro for 32-bit modes.
	(anddi3, anddi_sp32, anddi_sp64, and_not_di_sp32, and_not_di_sp64,
	iordi3, iordi3_sp32, iordi_sp64, or_not_di_sp32, or_not_di_sp64,
	xordi3, xordi3_sp32, xordi3_sp64, {AND, IOR, XOR} DI splitter,
	xor_not_di_sp32, xordi_not_di_sp64, one_cmpldi2, one_cmpldi_sp32,
	one_cmpldi_sp64): Use V64I instead of DI.
	(andsi3, andsi_sp32, andsi_sp64, and_not_si, iorsi3, or_not_si,
	xorsi3, xor_not_si, one_cmplsi2): Use V32I instead of SI.
	(addv2si3, addv4hi3, addv2hi3): Remove % modifier.
	(nandv64i_vis, nandv32i_vis): New patterns.

Co-Authored-By: Eric Botcazou <ebotcazou@libertysurf.fr>

From-SVN: r90578
2004-11-13 13:25:09 +00:00
Mike Stump
9d65c5cb57 Makefile.in: Add html support.
* Makefile.in: Add html support.
        * java/Make-lang.in: Likewise.
        * fortran/Make-lang.in: Likewise.
        * treelang/Make-lang.in: Likewise.
        * doc/install.texi: Likewise.
        * doc/makefile.texi: Likewise.
        * doc/sourcebuild.texi: Likewise.

From-SVN: r90577
2004-11-13 07:35:55 +00:00
Mike Stump
251089a007 * Makefile.in (html): Add html generation support.
From-SVN: r90576
2004-11-13 07:33:27 +00:00
Mike Stump
f87a2b2e89 Makefile.def: Add html support.
* Makefile.def: Add html support.
        * Makefile.tpl: Likewise.
        * Makefile.in: Regenerate.

From-SVN: r90575
2004-11-13 07:32:48 +00:00
Kazu Hirata
1b33f1cc69 * tree-ssa-loop-manip.c: Fix a comment typo.
From-SVN: r90574
2004-11-13 07:13:48 +00:00
Mike Stump
061151d18f cppinternals.texi (Index): Fix html generation with makeinfo by renaming this node to Concept Index.
* doc/cppinternals.texi (Index): Fix html generation with makeinfo by
        renaming this node to Concept Index.
        * doc/gccint.texi (Index): Likewise.  Also minor formatting tweaks
        to more closely match gcc.texi.

From-SVN: r90573
2004-11-13 06:46:45 +00:00
Mike Stump
610784f0d1 * Makefile.in (libiberty.html): Fix html generation.
From-SVN: r90572
2004-11-13 06:34:59 +00:00
Mike Stump
ea27a39408 libiberty.texi (Index): Fix html generation with makeinfo by renaming this node to Manual Index.
* libiberty.texi (Index): Fix html generation with makeinfo by
        renaming this node to Manual Index.

From-SVN: r90571
2004-11-13 06:20:01 +00:00
Jeff Law
92b6dff302 tree-cfg.c (hashtab.h): Include.
* tree-cfg.c (hashtab.h): Include.
	(struct edge_to_case_leader_elt): New structure.
	(edge_to_case_leader): New.
	(edge_to_case_leader_hash): New hashtable hasing function.
	(edge_to_case_leader_eq): New hashtable equality function.
	(record_switch_edge): New function.
	(get_case_leader_for_edge, get_case_leader_for_edge): New functions.
	(make_switch_expr_edges): Build the edge-to-case-leader
	hash table.  Tear down the hash table when we're done.
	(cleanup_dead_labels): Use CASE_LEADER_OR_LABEL instead of
	CASE_LABEL.
	(tree_node_can_be_shared): Allow sharing of CASE_LABEL_EXPR nodes.
	(tree_redirect_edge_and_branch, case SWITCH_EXPR): Update
	to use new concept of case leaders to reduce overhead of
	redirecting outgoing edges from switch statements.
	* tree.c (get_case_label): New function.
	* tree.h (CASE_LABEL): Define in terms of get_case_label.
	(CASE_LEADER_OR_LABEL): Define.

From-SVN: r90570
2004-11-12 21:18:54 -07:00
Ziemowit Laski
2256aa1cff varasm.c (output_addressed_constants): For CONST_DECLs, output the initializer if present.
[gcc/ChangeLog]
2004-11-12  Ziemowit Laski  <zlaski@apple.com>

       * varasm.c (output_addressed_constants): For CONST_DECLs,
       output the initializer if present.

[gcc/testsuite/ChangeLog]
2004-11-12  Ziemowit Laski  <zlaski@apple.com>

       * objc.dg/const-str-8.m, objc.dg/const-str-9.m:
       New tests.

From-SVN: r90569
2004-11-13 02:08:44 +00:00
Ziemowit Laski
0abe417015 darwin.h: Fix confusing typo in comment.
[gcc/ChangeLog]
2004-11-12  Ziemowit Laski  <zlaski@apple.com>

        * config/rs6000/darwin.h: Fix confusing typo in comment.

From-SVN: r90567
2004-11-13 01:25:36 +00:00
Devang Patel
ecab6f992d * optabs.c (vector_compare_rtx): Use COMPARISON_CLASS_P.
From-SVN: r90566
2004-11-12 17:09:08 -08:00
Devang Patel
b3776043e3 tree-if-conv.c (clean_predicate_lists): Use loop header and latch directly.
* tree-if-conv.c (clean_predicate_lists): Use loop header
       and latch directly.

From-SVN: r90565
2004-11-12 17:06:39 -08:00
GCC Administrator
7a4702d25b Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r90563.2
2004-11-13 00:16:33 +00:00
GCC Administrator
6def409d54 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r90562.2
2004-11-13 00:16:22 +00:00
Joseph Myers
492d5b4f62 inclhack.def (sco_math): Bypass on __GNUG__.
* inclhack.def (sco_math): Bypass on __GNUG__.
	(sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES.
	* fixincl.x: Regenerate.

From-SVN: r90550
2004-11-12 22:26:01 +00:00
Mark Mitchell
bf0fdfdd54 gcc-dg.exp (dg-forbid-option): New function.
2004-11-12  Mark Mitchell <mark@codesourcery.com>

	* lib/gcc-dg.exp (dg-forbid-option): New function.
	* g++.dg/abi/bitfield3.C: Use dg-forbid-option -m64.
	* g++.dg/abi/bitfield8.C: Likewise.
	* g++.dg/abi/dtor1.C: Likewise.
	* g++.dg/abi/empty10.C: Likewise.
	* g++.dg/abi/empty7.C: Likewise.
	* g++.dg/abi/empty9.C: Likewise.
	* g++.dg/abi/layout3.C: Likewise.
	* g++.dg/abi/layout4.C: Likewise.
	* g++.dg/abi/thunk1.C: Likewise.
	* g++.dg/abi/thunk2.C: Likewise.
	* g++.dg/abi/vbase11.C: Likewise.
	* g++.dg/abi/vthunk2.C: Likewise.
	* g++.dg/abi/vthunk3.C: Likewise.
	* g++.dg/ext/attrib8.C: Likewise.
	* g++.dg/opt/longbranch2.C: Likewise.
	* g++.dg/opt/reg-stack4.C: Likewise.
	* g++.old-deja/g++.ext/attrib1.C: Likewise.
	* g++.old-deja/g++.ext/attrib2.C: Likewise.
	* g++.old-deja/g++.ext/attrib3.C: Likewise.
	* g++.old-deja/g++.other/store-expr1.C: Likewise.
	* g++.old-deja/g++.other/store-expr2.C: Likewise.
	* gcc.dg/20000609-1.c: Likewise.
	* gcc.dg/20000720-1.c: Likewise.
	* gcc.dg/20011107-1.c: Likewise.
	* gcc.dg/20011119-1.c: Likewise.
	* gcc.dg/20020108-1.c: Likewise.
	* gcc.dg/20020122-2.c: Likewise.
	* gcc.dg/20020122-3.c: Likewise.
	* gcc.dg/20020201-3.c: Likewise.
	* gcc.dg/20020206-1.c: Likewise.
	* gcc.dg/20020218-1.c: Likewise.
	* gcc.dg/20020310-1.c: Likewise.
	* gcc.dg/20020411-1.c: Likewise.
	* gcc.dg/20020418-2.c: Likewise.
	* gcc.dg/20020426-1.c: Likewise.
	* gcc.dg/20020426-2.c: Likewise.
	* gcc.dg/20020517-1.c: Likewise.
	* gcc.dg/20020523-1.c: Likewise.
	* gcc.dg/20020523-2.c: Likewise.
	* gcc.dg/20020729-1.c: Likewise.
	* gcc.dg/20030204-1.c: Likewise.
	* gcc.dg/20030826-2.c: Likewise.
	* gcc.dg/20030926-1.c: Likewise.
	* gcc.dg/20031202-1.c: Likewise.
	* gcc.dg/980312-1.c: Likewise.
	* gcc.dg/980313-1.c: Likewise.
	* gcc.dg/990117-1.c: Likewise.
	* gcc.dg/990424-1.c: Likewise.
	* gcc.dg/990524-1.c: Likewise.
	* gcc.dg/991230-1.c: Likewise.
	* gcc.dg/i386-387-1.c: Likewise.
	* gcc.dg/i386-387-2.c: Likewise.
	* gcc.dg/i386-387-3.c: Likewise.
	* gcc.dg/i386-387-4.c: Likewise.
	* gcc.dg/i386-387-5.c: Likewise.
	* gcc.dg/i386-387-6.c: Likewise.
	* gcc.dg/i386-asm-1.c: Likewise.
	* gcc.dg/i386-bitfield1.c: Likewise.
	* gcc.dg/i386-bitfield2.c: Likewise.
	* gcc.dg/i386-loop-1.c: Likewise.
	* gcc.dg/i386-loop-2.c: Likewise.
	* gcc.dg/i386-loop-3.c: Likewise.
	* gcc.dg/i386-pentium4-not-mull.c: Likewise.
	* gcc.dg/i386-pic-1.c: Likewise.
	* gcc.dg/i386-regparm.c: Likewise.
	* gcc.dg/i386-signbit-1.c: Likewise.
	* gcc.dg/i386-signbit-2.c: Likewise.
	* gcc.dg/i386-signbit-3.c: Likewise.
	* gcc.dg/i386-sse-5.c: Likewise.
	* gcc.dg/i386-sse-8.c: Likewise.
	* gcc.dg/i386-unroll-1.c: Likewise.
	* gcc.dg/tls/opt-1.c: Likewise.
	* gcc.dg/tls/opt-2.c: Likewise.
	* gcc.dg/unroll-1.c: Likewise.
	* gcc.misc-tests/i386-pf-3dnow-1.c: Likewise.
	* gcc.misc-tests/i386-pf-athlon-1.c: Likewise.
	* gcc.misc-tests/i386-pf-none-1.c: Likewise.
	* gcc.misc-tests/i386-pf-sse-1.c: Likewise.
	* gcc.c-torture/execute/20010129-1.x: Do not use -mtune=i686 when
	-m64 is specified.

From-SVN: r90549
2004-11-12 22:22:16 +00:00
Mark Mitchell
44370687a5 re PR c++/18389 (ICE on struct declaration in for statement)
PR c++/18389
	* decl.c (start_decl): Make sure to set *pop_scope_p.  Return
	error_mark_node to indicate errors.

	PR c++/18429
	* parser.c (cp_parser_direct_declarator): Disallow non-constant
	array bounds when not inside a function.

	PR c++/18436
	* pt.c (tsubst_copy_and_build): Do not do Koenig lookup when an
	unqualified name resolves to a member function.

	PR c++/18407
	* pt.c (tsubst_copy_and_build): Handle qualified names used from a
	derived class correctly.

	* decl2.c (import_export_decl): Fix typo in comment.
	* tree.c (pod_type_p): Likewise.

	PR c++/18389
	* g++.dg/parse/cond1.C: New test.

	PR c++/18429
	* g++.dg/template/array9.C: New test.
	* g++.dg/ext/vla1.C: Adjust error messages.
	* g++.dg/ext/vlm1.C: Likewise.
	* g++.dg/template/crash2.C: Likewise.

	PR c++/18436
	* g++.dg/template/call3.C: New test.

	PR c++/18407
	* g++.dg/template/ptrmem11.C: New test.

From-SVN: r90545
2004-11-12 21:47:13 +00:00
Richard Henderson
cc69336f16 re PR target/17778 (regression in evaluating long double hexadecimal constants)
PR 17778
        * config/i386/i386.h (TARGET_96_ROUND_53_LONG_DOUBLE): New.
        * config/i386/freebsd.h (SUBTARGET_OVERRIDE_OPTIONS): Remove.
        (TARGET_96_ROUND_53_LONG_DOUBLE): New.
        * config/i386/i386-modes.def (XF): Use it.

From-SVN: r90543
2004-11-12 13:15:23 -08:00