public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/22439] [4.0/4.1 regression] ICE with char VLA and __SIZE_TYPE__ argument (so no cast)
[not found] <bug-22439-1034@http.gcc.gnu.org/bugzilla/>
@ 2006-02-09 9:54 ` jason at gcc dot gnu dot org
2006-02-10 17:32 ` jason at gcc dot gnu dot org
2006-02-11 0:19 ` jason at gcc dot gnu dot org
2 siblings, 0 replies; 13+ messages in thread
From: jason at gcc dot gnu dot org @ 2006-02-09 9:54 UTC (permalink / raw)
To: gcc-bugs
------- Comment #12 from jason at gcc dot gnu dot org 2006-02-09 09:54 -------
Subject: Bug 22439
Author: jason
Date: Thu Feb 9 09:54:36 2006
New Revision: 110789
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110789
Log:
PR c++/25979
* tree.def: Elaborate on difference from MODIFY_EXPR.
* doc/c-tree.texi (INIT_EXPR): Likewise.
* gimplify.c (internal_get_tmp_var): Use INIT_EXPR.
(gimplify_decl_expr, gimplify_init_ctor_eval): Likewise.
(gimplify_target_expr): Likewise.
(gimplify_cond_expr): Remove target handling.
(gimplify_modify_expr): Don't clobber INIT_EXPR code here.
(gimplify_expr): Clobber it here.
(gimplify_modify_expr_rhs): Push assignment into COND_EXPR here.
Do return slot optimization if we have an INIT_EXPR.
PR tree-opt/24365
* tree-inline.c (declare_return_variable): Also clear
DECL_COMPLEX_GIMPLE_REG_P as needed in the modify_dest case.
PR c++/16405
* gimplify.c (gimplify_modify_expr_rhs): Re-enable *& handling.
PR middle-end/22439
* gimplify.c (gimplify_one_sizepos): Fix typo.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/cp-gimplify.c
trunk/gcc/cp/typeck2.c
trunk/gcc/doc/c-tree.texi
trunk/gcc/gimplify.c
trunk/gcc/testsuite/g++.dg/opt/temp1.C
trunk/gcc/tree-inline.c
trunk/gcc/tree.def
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22439
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug middle-end/22439] [4.0/4.1 regression] ICE with char VLA and __SIZE_TYPE__ argument (so no cast)
[not found] <bug-22439-1034@http.gcc.gnu.org/bugzilla/>
2006-02-09 9:54 ` [Bug middle-end/22439] [4.0/4.1 regression] ICE with char VLA and __SIZE_TYPE__ argument (so no cast) jason at gcc dot gnu dot org
@ 2006-02-10 17:32 ` jason at gcc dot gnu dot org
2006-02-11 0:19 ` jason at gcc dot gnu dot org
2 siblings, 0 replies; 13+ messages in thread
From: jason at gcc dot gnu dot org @ 2006-02-10 17:32 UTC (permalink / raw)
To: gcc-bugs
------- Comment #13 from jason at gcc dot gnu dot org 2006-02-10 17:32 -------
Subject: Bug 22439
Author: jason
Date: Fri Feb 10 17:32:10 2006
New Revision: 110838
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110838
Log:
PR c++/25979
* tree.def: Elaborate on difference from MODIFY_EXPR.
* doc/c-tree.texi (INIT_EXPR): Likewise.
* gimplify.c (internal_get_tmp_var): Use INIT_EXPR.
(gimplify_decl_expr, gimplify_init_ctor_eval): Likewise.
(gimplify_target_expr): Likewise.
(gimplify_cond_expr): Remove target handling.
(gimplify_modify_expr): Don't clobber INIT_EXPR code here.
(gimplify_expr): Clobber it here.
(gimplify_modify_expr_rhs): Push assignment into COND_EXPR here.
Do return slot optimization if we have an INIT_EXPR.
PR tree-opt/24365
* tree-inline.c (declare_return_variable): Also clear
DECL_COMPLEX_GIMPLE_REG_P as needed in the modify_dest case.
PR c++/16405
* gimplify.c (gimplify_modify_expr_rhs): Re-enable *& handling.
PR middle-end/22439
* gimplify.c (gimplify_one_sizepos): Fix typo.
Modified:
branches/gcc-4_1-branch/gcc/ChangeLog
branches/gcc-4_1-branch/gcc/cp/ChangeLog
branches/gcc-4_1-branch/gcc/cp/cp-gimplify.c
branches/gcc-4_1-branch/gcc/cp/typeck2.c
branches/gcc-4_1-branch/gcc/doc/c-tree.texi
branches/gcc-4_1-branch/gcc/gimplify.c
branches/gcc-4_1-branch/gcc/testsuite/g++.dg/opt/temp1.C
branches/gcc-4_1-branch/gcc/tree-inline.c
branches/gcc-4_1-branch/gcc/tree.def
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22439
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug middle-end/22439] [4.0/4.1 regression] ICE with char VLA and __SIZE_TYPE__ argument (so no cast)
[not found] <bug-22439-1034@http.gcc.gnu.org/bugzilla/>
2006-02-09 9:54 ` [Bug middle-end/22439] [4.0/4.1 regression] ICE with char VLA and __SIZE_TYPE__ argument (so no cast) jason at gcc dot gnu dot org
2006-02-10 17:32 ` jason at gcc dot gnu dot org
@ 2006-02-11 0:19 ` jason at gcc dot gnu dot org
2 siblings, 0 replies; 13+ messages in thread
From: jason at gcc dot gnu dot org @ 2006-02-11 0:19 UTC (permalink / raw)
To: gcc-bugs
------- Comment #14 from jason at gcc dot gnu dot org 2006-02-11 00:19 -------
Subject: Bug 22439
Author: jason
Date: Sat Feb 11 00:19:30 2006
New Revision: 110864
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110864
Log:
PR c++/25979
* tree.def: Elaborate on difference from MODIFY_EXPR.
* doc/c-tree.texi (INIT_EXPR): Likewise.
* cp/cp-gimplify.c (cp_gimplify_expr): Don't call
cp_gimplify_init_expr for MODIFY_EXPRs.
* cp/typeck2.c (split_nonconstant_init_1): Use INIT_EXPR.
* gimplify.c (internal_get_tmp_var): Likewise.
(gimplify_decl_expr, gimplify_init_ctor_eval): Likewise.
(gimplify_target_expr): Likewise.
(gimplify_cond_expr): Remove target handling.
(gimplify_modify_expr): Don't clobber INIT_EXPR code here.
(gimplify_expr): Clobber it here.
(gimplify_modify_expr_rhs): Push assignment into COND_EXPR here.
Do return slot optimization if we have an INIT_EXPR.
PR middle-end/22439
* gimplify.c (gimplify_one_sizepos): Fix typo.
Modified:
branches/gcc-4_0-branch/gcc/ChangeLog
branches/gcc-4_0-branch/gcc/cp/ChangeLog
branches/gcc-4_0-branch/gcc/cp/cp-gimplify.c
branches/gcc-4_0-branch/gcc/cp/typeck2.c
branches/gcc-4_0-branch/gcc/doc/c-tree.texi
branches/gcc-4_0-branch/gcc/gimplify.c
branches/gcc-4_0-branch/gcc/tree.def
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22439
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug middle-end/22439] [4.0/4.1 regression] ICE with char VLA and __SIZE_TYPE__ argument (so no cast)
2005-07-12 13:07 [Bug c/22439] New: ICE with unsigned char array: size_binop, at fold-const.c:1637 etienne_lorrain at yahoo dot fr
` (8 preceding siblings ...)
2005-08-26 15:14 ` pinskia at gcc dot gnu dot org
@ 2005-08-26 15:20 ` cvs-commit at gcc dot gnu dot org
9 siblings, 0 replies; 13+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-08-26 15:20 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-26 15:14 -------
Subject: Bug 22439
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: pinskia@gcc.gnu.org 2005-08-26 15:14:14
Modified files:
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/gcc.dg: vla-3.c
Log message:
2005-08-26 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/22439
* gcc.dg/vla-3.c: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.5963&r2=1.5964
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/vla-3.c.diff?cvsroot=gcc&r1=1.1&r2=1.2
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22439
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug middle-end/22439] [4.0/4.1 regression] ICE with char VLA and __SIZE_TYPE__ argument (so no cast)
2005-07-12 13:07 [Bug c/22439] New: ICE with unsigned char array: size_binop, at fold-const.c:1637 etienne_lorrain at yahoo dot fr
` (7 preceding siblings ...)
2005-08-26 15:14 ` cvs-commit at gcc dot gnu dot org
@ 2005-08-26 15:14 ` pinskia at gcc dot gnu dot org
2005-08-26 15:20 ` cvs-commit at gcc dot gnu dot org
9 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-26 15:14 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-26 15:14 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22439
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug middle-end/22439] [4.0/4.1 regression] ICE with char VLA and __SIZE_TYPE__ argument (so no cast)
2005-07-12 13:07 [Bug c/22439] New: ICE with unsigned char array: size_binop, at fold-const.c:1637 etienne_lorrain at yahoo dot fr
` (6 preceding siblings ...)
2005-08-26 15:13 ` pinskia at gcc dot gnu dot org
@ 2005-08-26 15:14 ` cvs-commit at gcc dot gnu dot org
2005-08-26 15:14 ` pinskia at gcc dot gnu dot org
2005-08-26 15:20 ` cvs-commit at gcc dot gnu dot org
9 siblings, 0 replies; 13+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-08-26 15:14 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-26 15:13 -------
Subject: Bug 22439
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-4_0-branch
Changes by: pinskia@gcc.gnu.org 2005-08-26 15:13:19
Modified files:
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/gcc.dg: vla-3.c
Log message:
2005-08-26 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/22439
* gcc.dg/vla-3.c: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.5084.2.350&r2=1.5084.2.351
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/vla-3.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.2.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22439
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug middle-end/22439] [4.0/4.1 regression] ICE with char VLA and __SIZE_TYPE__ argument (so no cast)
2005-07-12 13:07 [Bug c/22439] New: ICE with unsigned char array: size_binop, at fold-const.c:1637 etienne_lorrain at yahoo dot fr
` (5 preceding siblings ...)
2005-08-10 13:49 ` giovannibajo at libero dot it
@ 2005-08-26 15:13 ` pinskia at gcc dot gnu dot org
2005-08-26 15:14 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
9 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-26 15:13 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-26 15:05 -------
I am handling the testcase.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|rth at gcc dot gnu dot org |pinskia at gcc dot gnu dot
| |org
Status|REOPENED |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22439
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug middle-end/22439] [4.0/4.1 regression] ICE with char VLA and __SIZE_TYPE__ argument (so no cast)
2005-07-12 13:07 [Bug c/22439] New: ICE with unsigned char array: size_binop, at fold-const.c:1637 etienne_lorrain at yahoo dot fr
` (4 preceding siblings ...)
2005-08-08 21:47 ` rth at gcc dot gnu dot org
@ 2005-08-10 13:49 ` giovannibajo at libero dot it
2005-08-26 15:13 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
9 siblings, 0 replies; 13+ messages in thread
From: giovannibajo at libero dot it @ 2005-08-10 13:49 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From giovannibajo at libero dot it 2005-08-10 13:49 -------
No testcase was added, so reopening this until the testcase is committed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22439
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug middle-end/22439] [4.0/4.1 regression] ICE with char VLA and __SIZE_TYPE__ argument (so no cast)
2005-07-12 13:07 [Bug c/22439] New: ICE with unsigned char array: size_binop, at fold-const.c:1637 etienne_lorrain at yahoo dot fr
` (3 preceding siblings ...)
2005-08-08 21:39 ` cvs-commit at gcc dot gnu dot org
@ 2005-08-08 21:47 ` rth at gcc dot gnu dot org
2005-08-10 13:49 ` giovannibajo at libero dot it
` (4 subsequent siblings)
9 siblings, 0 replies; 13+ messages in thread
From: rth at gcc dot gnu dot org @ 2005-08-08 21:47 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rth at gcc dot gnu dot org 2005-08-08 21:47 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22439
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug middle-end/22439] [4.0/4.1 regression] ICE with char VLA and __SIZE_TYPE__ argument (so no cast)
2005-07-12 13:07 [Bug c/22439] New: ICE with unsigned char array: size_binop, at fold-const.c:1637 etienne_lorrain at yahoo dot fr
` (2 preceding siblings ...)
2005-08-08 21:38 ` cvs-commit at gcc dot gnu dot org
@ 2005-08-08 21:39 ` cvs-commit at gcc dot gnu dot org
2005-08-08 21:47 ` rth at gcc dot gnu dot org
` (5 subsequent siblings)
9 siblings, 0 replies; 13+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-08-08 21:39 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-08 21:39 -------
Subject: Bug 22439
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-4_0-branch
Changes by: rth@gcc.gnu.org 2005-08-08 21:39:18
Modified files:
gcc : ChangeLog gimplify.c
Log message:
PR 22439
* gimplify.c (gimplify_one_sizepos): Preserve the original type.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=2.7592.2.359&r2=2.7592.2.360
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/gimplify.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=2.113.2.8&r2=2.113.2.9
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22439
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug middle-end/22439] [4.0/4.1 regression] ICE with char VLA and __SIZE_TYPE__ argument (so no cast)
2005-07-12 13:07 [Bug c/22439] New: ICE with unsigned char array: size_binop, at fold-const.c:1637 etienne_lorrain at yahoo dot fr
2005-08-08 17:33 ` [Bug middle-end/22439] [4.0/4.1 regression] ICE with char VLA and __SIZE_TYPE__ argument (so no cast) rth at gcc dot gnu dot org
2005-08-08 18:11 ` pinskia at gcc dot gnu dot org
@ 2005-08-08 21:38 ` cvs-commit at gcc dot gnu dot org
2005-08-08 21:39 ` cvs-commit at gcc dot gnu dot org
` (6 subsequent siblings)
9 siblings, 0 replies; 13+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-08-08 21:38 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-08 21:38 -------
Subject: Bug 22439
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: rth@gcc.gnu.org 2005-08-08 21:38:25
Modified files:
gcc : ChangeLog gimplify.c
Log message:
PR 22439
* gimplify.c (gimplify_one_sizepos): Preserve the original type.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.9682&r2=2.9683
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/gimplify.c.diff?cvsroot=gcc&r1=2.143&r2=2.144
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22439
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug middle-end/22439] [4.0/4.1 regression] ICE with char VLA and __SIZE_TYPE__ argument (so no cast)
2005-07-12 13:07 [Bug c/22439] New: ICE with unsigned char array: size_binop, at fold-const.c:1637 etienne_lorrain at yahoo dot fr
2005-08-08 17:33 ` [Bug middle-end/22439] [4.0/4.1 regression] ICE with char VLA and __SIZE_TYPE__ argument (so no cast) rth at gcc dot gnu dot org
@ 2005-08-08 18:11 ` pinskia at gcc dot gnu dot org
2005-08-08 21:38 ` cvs-commit at gcc dot gnu dot org
` (7 subsequent siblings)
9 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-08 18:11 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-08 18:11 -------
Hmm, this worked with 20041211.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22439
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug middle-end/22439] [4.0/4.1 regression] ICE with char VLA and __SIZE_TYPE__ argument (so no cast)
2005-07-12 13:07 [Bug c/22439] New: ICE with unsigned char array: size_binop, at fold-const.c:1637 etienne_lorrain at yahoo dot fr
@ 2005-08-08 17:33 ` rth at gcc dot gnu dot org
2005-08-08 18:11 ` pinskia at gcc dot gnu dot org
` (8 subsequent siblings)
9 siblings, 0 replies; 13+ messages in thread
From: rth at gcc dot gnu dot org @ 2005-08-08 17:33 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rth at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
Last reconfirmed|2005-07-12 13:40:31 |2005-08-08 17:33:32
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22439
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2006-02-11 0:19 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-22439-1034@http.gcc.gnu.org/bugzilla/>
2006-02-09 9:54 ` [Bug middle-end/22439] [4.0/4.1 regression] ICE with char VLA and __SIZE_TYPE__ argument (so no cast) jason at gcc dot gnu dot org
2006-02-10 17:32 ` jason at gcc dot gnu dot org
2006-02-11 0:19 ` jason at gcc dot gnu dot org
2005-07-12 13:07 [Bug c/22439] New: ICE with unsigned char array: size_binop, at fold-const.c:1637 etienne_lorrain at yahoo dot fr
2005-08-08 17:33 ` [Bug middle-end/22439] [4.0/4.1 regression] ICE with char VLA and __SIZE_TYPE__ argument (so no cast) rth at gcc dot gnu dot org
2005-08-08 18:11 ` pinskia at gcc dot gnu dot org
2005-08-08 21:38 ` cvs-commit at gcc dot gnu dot org
2005-08-08 21:39 ` cvs-commit at gcc dot gnu dot org
2005-08-08 21:47 ` rth at gcc dot gnu dot org
2005-08-10 13:49 ` giovannibajo at libero dot it
2005-08-26 15:13 ` pinskia at gcc dot gnu dot org
2005-08-26 15:14 ` cvs-commit at gcc dot gnu dot org
2005-08-26 15:14 ` pinskia at gcc dot gnu dot org
2005-08-26 15:20 ` cvs-commit at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).