]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
19 years agore PR c++/27821 (ICE with invalid ptr-to-member)
Lee Millward [Sun, 25 Jun 2006 17:05:22 +0000 (17:05 +0000)] 
re PR c++/27821 (ICE with invalid ptr-to-member)

PR c++/27821
* decl.c (grokdeclarator): Return error_mark_node
on invalid uses of the scope resolution operator.

From-SVN: r114989

19 years agoDaily bump.
GCC Administrator [Sun, 25 Jun 2006 00:16:33 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114978

19 years agoDaily bump.
GCC Administrator [Sun, 25 Jun 2006 00:16:30 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114977

19 years agoDaily bump.
GCC Administrator [Sat, 24 Jun 2006 00:16:35 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114957

19 years agoDaily bump.
GCC Administrator [Sat, 24 Jun 2006 00:16:33 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114956

19 years agore PR c++/28112 (ICE with invalid argument in attribute)
Volker Reichelt [Fri, 23 Jun 2006 17:10:11 +0000 (17:10 +0000)] 
re PR c++/28112 (ICE with invalid argument in attribute)

PR c++/28112
* parser.c (cp_parser_attribute_list): Skip attributes with invalid
arguments.  Fix comment.

* g++.dg/ext/attrib23.C: New test.

From-SVN: r114943

19 years agore PR middle-end/28045 (Bitfield, &&, and optimization => bad code generation)
Richard Guenther [Fri, 23 Jun 2006 09:57:37 +0000 (09:57 +0000)] 
re PR middle-end/28045 (Bitfield, &&, and optimization => bad code generation)

2006-06-23  Richard Guenther  <rguenther@suse.de>

PR middle-end/28045
* fold-const.c (operand_equal_p): Check if the argument types
have the same precision before stripping NOPs.

* gcc.dg/torture/pr28045.c: New testcase.

From-SVN: r114930

19 years agoDaily bump.
GCC Administrator [Fri, 23 Jun 2006 00:16:38 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114917

19 years agoDaily bump.
GCC Administrator [Fri, 23 Jun 2006 00:16:36 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114916

19 years agoinstall.texi (Configuration): Remove reference to CrossGCC FAQ which was gone.
Gerald Pfeifer [Thu, 22 Jun 2006 21:28:28 +0000 (21:28 +0000)] 
install.texi (Configuration): Remove reference to CrossGCC FAQ which was gone.

2006-06-22  Gerald Pfeifer  <gerald@pfeifer.com>

        * doc/install.texi (Configuration): Remove reference to CrossGCC
        FAQ which was gone.
        (Building): Ditto.

From-SVN: r114908

19 years agore PR c++/28109 (ICE with typeid of incomplete type)
Volker Reichelt [Thu, 22 Jun 2006 09:43:53 +0000 (09:43 +0000)] 
re PR c++/28109 (ICE with typeid of incomplete type)

PR c++/28109
* rtti.c (get_tinfo_decl_dynamic): Robustify.

* g++.dg/rtti/incomplete1.C: New test.

From-SVN: r114884

19 years agore PR target/27861 (ICE in expand_expr_real_1, at expr.c:6916)
Roger Sayle [Thu, 22 Jun 2006 01:01:07 +0000 (01:01 +0000)] 
re PR target/27861 (ICE in expand_expr_real_1, at expr.c:6916)

PR target/27861
* expmed.c (expand_shift): On SHIFT_COUNT_TRUNCATED targets, we may
have stripped a SUBREG from the shift count, so we may need to
convert_to_mode back to the type's mode before calling make_tree.
Use new_amount instead of amount to avoid expanding a tree twice.

* gcc.dg/pr27861-1.c: New test case.

From-SVN: r114879

19 years agoDaily bump.
GCC Administrator [Thu, 22 Jun 2006 00:16:35 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114875

19 years agoDaily bump.
GCC Administrator [Thu, 22 Jun 2006 00:16:33 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114874

19 years agoDaily bump.
GCC Administrator [Wed, 21 Jun 2006 00:16:56 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114835

19 years agoDaily bump.
GCC Administrator [Wed, 21 Jun 2006 00:16:52 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114834

19 years agoDaily bump.
GCC Administrator [Tue, 20 Jun 2006 00:16:29 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114796

19 years agoDaily bump.
GCC Administrator [Tue, 20 Jun 2006 00:16:27 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114795

19 years agoDaily bump.
GCC Administrator [Mon, 19 Jun 2006 00:16:22 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114761

19 years agoDaily bump.
GCC Administrator [Mon, 19 Jun 2006 00:16:20 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114760

19 years agoDaily bump.
GCC Administrator [Sun, 18 Jun 2006 00:16:36 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114748

19 years agoDaily bump.
GCC Administrator [Sun, 18 Jun 2006 00:16:34 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114747

19 years agoDaily bump.
GCC Administrator [Sat, 17 Jun 2006 00:16:36 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114735

19 years agoDaily bump.
GCC Administrator [Sat, 17 Jun 2006 00:16:35 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114734

19 years agoDaily bump.
GCC Administrator [Fri, 16 Jun 2006 00:16:38 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114697

19 years agoDaily bump.
GCC Administrator [Fri, 16 Jun 2006 00:16:36 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114696

19 years agoDaily bump.
GCC Administrator [Thu, 15 Jun 2006 00:16:38 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114661

19 years agoDaily bump.
GCC Administrator [Thu, 15 Jun 2006 00:16:34 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114660

19 years ago* cp-tree.def: Fix typo.
Gabriel Dos Reis [Wed, 14 Jun 2006 19:10:17 +0000 (19:10 +0000)] 
* cp-tree.def: Fix typo.

From-SVN: r114651

19 years agore PR c++/21210 (Trouble with __complex__ types default construction)
Roger Sayle [Wed, 14 Jun 2006 04:35:29 +0000 (04:35 +0000)] 
re PR c++/21210 (Trouble with __complex__ types default construction)

PR c++/21210
* typeck2.c (build_functional_cast): Use cp_convert to construct
non-aggregate initializers instead of the user-level build_c_cast.

* g++.dg/init/complex1.C: New test case.

From-SVN: r114634

19 years agoDaily bump.
GCC Administrator [Wed, 14 Jun 2006 00:16:30 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114626

19 years agoDaily bump.
GCC Administrator [Wed, 14 Jun 2006 00:16:26 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114625

19 years agoDaily bump.
GCC Administrator [Tue, 13 Jun 2006 00:16:33 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114593

19 years agoDaily bump.
GCC Administrator [Tue, 13 Jun 2006 00:16:30 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114592

19 years agore PR c++/27601 (ICE (in fold_offsetof_1, at c-common.c:5998) on strange offsetof)
Volker Reichelt [Mon, 12 Jun 2006 23:03:36 +0000 (23:03 +0000)] 
re PR c++/27601 (ICE (in fold_offsetof_1, at c-common.c:5998) on strange offsetof)

PR c++/27601
* semantics.c (finish_offsetof): Handle pseudo-destructors.

* g++.dg/ext/offsetof1.C: Add test for pseudo-destructors.

From-SVN: r114590

19 years agore PR target/27421 (ICE with invalid array in struct)
Volker Reichelt [Mon, 12 Jun 2006 21:39:10 +0000 (21:39 +0000)] 
re PR target/27421 (ICE with invalid array in struct)

PR target/27421
* config/i386/i386.c (classify_argument): Skip fields with invalid
types in unions.

* gcc.dg/union-3.c: New test.

From-SVN: r114584

19 years agore PR c++/27933 (ICE with invalid "using")
Volker Reichelt [Mon, 12 Jun 2006 21:23:30 +0000 (21:23 +0000)] 
re PR c++/27933 (ICE with invalid "using")

PR c++/27933
* name-lookup.c (lookup_qualified_name): Always return error_mark_node
if lookup fails.

* g++.dg/lookup/using15.C: New test.

From-SVN: r114582

19 years agore PR c++/27951 (ICE with invalid anonymous union)
Volker Reichelt [Mon, 12 Jun 2006 21:00:31 +0000 (21:00 +0000)] 
re PR c++/27951 (ICE with invalid anonymous union)

PR c++/27951
* decl2.c (finish_anon_union): Return early if build_anon_union_vars
fails.

* g++.dg/other/anon4.C: New test.

From-SVN: r114579

19 years agoDaily bump.
GCC Administrator [Mon, 12 Jun 2006 00:16:46 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114554

19 years agoDaily bump.
GCC Administrator [Mon, 12 Jun 2006 00:16:44 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114553

19 years agoDaily bump.
GCC Administrator [Sun, 11 Jun 2006 00:16:35 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114543

19 years agoDaily bump.
GCC Administrator [Sun, 11 Jun 2006 00:16:32 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114542

19 years agoDaily bump.
GCC Administrator [Sat, 10 Jun 2006 00:16:28 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114532

19 years agoDaily bump.
GCC Administrator [Sat, 10 Jun 2006 00:16:26 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114531

19 years agoDaily bump.
GCC Administrator [Fri, 9 Jun 2006 00:16:35 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114502

19 years agoDaily bump.
GCC Administrator [Fri, 9 Jun 2006 00:16:32 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114501

19 years agoDaily bump.
GCC Administrator [Thu, 8 Jun 2006 00:16:46 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114476

19 years agoDaily bump.
GCC Administrator [Thu, 8 Jun 2006 00:16:39 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114475

19 years agore PR c++/27601 (ICE (in fold_offsetof_1, at c-common.c:5998) on strange offsetof)
Volker Reichelt [Wed, 7 Jun 2006 16:18:06 +0000 (16:18 +0000)] 
re PR c++/27601 (ICE (in fold_offsetof_1, at c-common.c:5998) on strange offsetof)

PR c++/27601
* cp-tree.h (finish_offsetof): Add prototype.
* semantics.c (finish_offsetof): New function.
* parser.c (cp_parser_builtin_offsetof): Call it instead of
fold_offsetof.
* pt.c (tsubst_copy_and_build): Likewise.

* g++.dg/ext/offsetof1.C: Test member functions.

From-SVN: r114471

19 years agoDaily bump.
GCC Administrator [Wed, 7 Jun 2006 00:16:33 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114454

19 years agoDaily bump.
GCC Administrator [Wed, 7 Jun 2006 00:16:31 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114453

19 years agore PR target/26223 (ICE on long double with -mno-80387)
Roger Sayle [Tue, 6 Jun 2006 19:43:17 +0000 (19:43 +0000)] 
re PR target/26223 (ICE on long double with -mno-80387)

PR target/26223
* config/i386/i386.c (construct_container): Split static issued_error
flag into issued_sse_arg_error, issued_sse_ret_error and
issued_x87_ret_error.  Issue a daignostic if the x86-64 ABI
requires the use of x87 registers and the user explicitly
specified the -mno-80387 command line option.

* gcc.target/i386/amd64-abi-2.c: New test case.

From-SVN: r114446

19 years agoDaily bump.
GCC Administrator [Tue, 6 Jun 2006 00:16:32 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114417

19 years agoDaily bump.
GCC Administrator [Tue, 6 Jun 2006 00:16:30 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114416

19 years agobackport: pr15551.C: Include cstdio.
Steve Ellcey [Mon, 5 Jun 2006 20:15:42 +0000 (20:15 +0000)] 
backport: pr15551.C: Include cstdio.

Backport from mainline:
2006-04-23  David Edelsohn  <edelsohn@gnu.org>
* g++.dg/opt/pr15551.C: Include cstdio.
(main): Use remove instead of unlink.

From-SVN: r114408

19 years agore PR c/25161 (Internal compiler error (segfault) instead of error message)
Joseph Myers [Mon, 5 Jun 2006 16:50:45 +0000 (17:50 +0100)] 
re PR c/25161 (Internal compiler error (segfault) instead of error message)

PR c/25161
PR c/27020
* c-decl.c (grokdeclarator): Disallow variably modified types at
file scope.  Avoid marking shared array type of constant size as
VLA.

testsuite:
* gcc.dg/array-10.c: New test.

From-SVN: r114394

19 years agoDaily bump.
GCC Administrator [Mon, 5 Jun 2006 00:16:38 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114373

19 years agoDaily bump.
GCC Administrator [Mon, 5 Jun 2006 00:16:36 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114372

19 years agore PR c++/27601 (ICE (in fold_offsetof_1, at c-common.c:5998) on strange offsetof)
Volker Reichelt [Sun, 4 Jun 2006 23:51:52 +0000 (23:51 +0000)] 
re PR c++/27601 (ICE (in fold_offsetof_1, at c-common.c:5998) on strange offsetof)

PR c++/27601
* c-common.c (fold_offsetof_1): Handle static members.

* g++.dg/ext/offsetof1.C: New test.

From-SVN: r114371

19 years agoDaily bump.
GCC Administrator [Sun, 4 Jun 2006 00:17:11 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r114351

19 years agoDaily bump.
GCC Administrator [Sun, 4 Jun 2006 00:17:04 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r114350

19 years agoDaily bump.
GCC Administrator [Sat, 3 Jun 2006 00:16:34 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114334

19 years agoDaily bump.
GCC Administrator [Sat, 3 Jun 2006 00:16:32 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114333

19 years agoDaily bump.
GCC Administrator [Fri, 2 Jun 2006 00:16:35 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114322

19 years agoDaily bump.
GCC Administrator [Fri, 2 Jun 2006 00:16:33 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114321

19 years agoDaily bump.
GCC Administrator [Thu, 1 Jun 2006 00:16:42 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114287

19 years agoDaily bump.
GCC Administrator [Thu, 1 Jun 2006 00:16:40 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114286

19 years agoDaily bump.
GCC Administrator [Wed, 31 May 2006 00:16:30 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114255

19 years agoDaily bump.
GCC Administrator [Wed, 31 May 2006 00:16:28 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114254

19 years agore PR c/27718 (ICE with sizeof of incomplete type)
Volker Reichelt [Tue, 30 May 2006 13:39:19 +0000 (13:39 +0000)] 
re PR c/27718 (ICE with sizeof of incomplete type)

PR c/27718
* c-typeck.c (c_expr_sizeof_type): Handle invalid types.

* gcc.dg/sizeof-1.c: New test.

From-SVN: r114237

19 years agoDaily bump.
GCC Administrator [Tue, 30 May 2006 00:16:48 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114223

19 years agoDaily bump.
GCC Administrator [Tue, 30 May 2006 00:16:46 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114222

19 years agore PR c++/27713 (ICE on invalid operator new)
Volker Reichelt [Mon, 29 May 2006 19:22:18 +0000 (19:22 +0000)] 
re PR c++/27713 (ICE on invalid operator new)

PR c++/27713
* pt.c (push_template_decl_real): Return error_mark_node instead
of broken decl.

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

From-SVN: r114211

19 years agoDaily bump.
GCC Administrator [Mon, 29 May 2006 00:16:35 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114178

19 years agoDaily bump.
GCC Administrator [Mon, 29 May 2006 00:16:33 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114177

19 years agoDaily bump.
GCC Administrator [Sun, 28 May 2006 00:16:32 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114160

19 years agoDaily bump.
GCC Administrator [Sun, 28 May 2006 00:16:30 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114159

19 years agoDaily bump.
GCC Administrator [Sat, 27 May 2006 00:16:44 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114145

19 years agoDaily bump.
GCC Administrator [Sat, 27 May 2006 00:16:41 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114144

19 years agoDaily bump.
GCC Administrator [Fri, 26 May 2006 00:16:33 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114123

19 years agoDaily bump.
GCC Administrator [Fri, 26 May 2006 00:16:30 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114122

19 years agoDaily bump.
GCC Administrator [Thu, 25 May 2006 00:16:40 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114102

19 years agoDaily bump.
GCC Administrator [Thu, 25 May 2006 00:16:37 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114101

19 years agoDaily bump.
GCC Administrator [Wed, 24 May 2006 00:16:41 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114026

19 years agoDaily bump.
GCC Administrator [Wed, 24 May 2006 00:16:39 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114025

19 years agoDaily bump.
GCC Administrator [Tue, 23 May 2006 00:16:43 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114001

19 years agoDaily bump.
GCC Administrator [Tue, 23 May 2006 00:16:41 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r114000

19 years agore PR c++/27716 (ICE with invalid assignment)
Volker Reichelt [Mon, 22 May 2006 19:27:08 +0000 (19:27 +0000)] 
re PR c++/27716 (ICE with invalid assignment)

PR c++/27716
* typeck.c (build_modify_expr): Test arguments for error_operand_p.

* g++.dg/other/assign1.C: New test.

From-SVN: r113991

19 years agore PR c++/27451 (ICE with invalid asm statement)
Volker Reichelt [Mon, 22 May 2006 16:53:38 +0000 (16:53 +0000)] 
re PR c++/27451 (ICE with invalid asm statement)

PR c++/27451
* stmt.c (expand_asm_operands): Skip asm statement with erroneous
clobbers.

* g++.dg/ext/asm9.C: New test.

From-SVN: r113986

19 years agoDaily bump.
GCC Administrator [Mon, 22 May 2006 00:16:33 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r113964

19 years agoDaily bump.
GCC Administrator [Mon, 22 May 2006 00:16:31 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r113963

19 years agoDaily bump.
GCC Administrator [Sun, 21 May 2006 00:16:35 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r113944

19 years agoDaily bump.
GCC Administrator [Sun, 21 May 2006 00:16:32 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r113943

19 years agoDaily bump.
GCC Administrator [Sat, 20 May 2006 00:16:31 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r113918

19 years agoDaily bump.
GCC Administrator [Sat, 20 May 2006 00:16:29 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r113917

19 years agoDaily bump.
GCC Administrator [Fri, 19 May 2006 00:16:32 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r113896

19 years agoDaily bump.
GCC Administrator [Fri, 19 May 2006 00:16:30 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r113895

19 years agoDaily bump.
GCC Administrator [Thu, 18 May 2006 00:16:45 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r113876

19 years agoDaily bump.
GCC Administrator [Thu, 18 May 2006 00:16:39 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r113875

19 years agoDaily bump.
GCC Administrator [Wed, 17 May 2006 00:16:29 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r113832