--- Comment #1 from tbm at cyrius dot com 2007-12-12 22:33 ---
/* Testcase by Martin Michlmayr <[EMAIL PROTECTED]> */
typedef struct chunk_t chunk_t;
struct chunk_t
{
unsigned char *ptr;
long unsigned int len;
};
extern chunk_t asn1_wrap (chunk_t c, ...);
typedef struct linked_list_
--- Comment #2 from rguenth at gcc dot gnu dot org 2007-12-12 23:03 ---
(your trunk revision reporting is broken)
On which architecture? This works for me on i686 with r130793.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34448
--- Comment #3 from rguenth at gcc dot gnu dot org 2007-12-12 23:08 ---
Ok, I see it on x86_64 with r130795 and it didn't reproduce before SVN update
so it identified
2007-12-12 Aldy Hernandez <[EMAIL PROTECTED]>
PR tree-optimization/32901
* gimplify.c (gimplify_modif
--- Comment #4 from aldyh at gcc dot gnu dot org 2007-12-12 23:33 ---
I'll take care of this.
--
aldyh at gcc dot gnu dot org changed:
What|Removed |Added
Assigne
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
Severity|normal |blocker
Keywords||ice-on-valid-
--- Comment #5 from jakub at gcc dot gnu dot org 2007-12-13 00:08 ---
ret = GS_OK; } ret = GS_UNHANDLED; looks suspicious, but
@@ -3492,6 +3492,7 @@ gimplify_modify_expr_rhs (tree *expr_p,
{
*from_p = DECL_INITIAL (*from_p);
ret = GS_OK;
+ bre
--- Comment #6 from aldyh at gcc dot gnu dot org 2007-12-13 21:00 ---
Shouldn't that be:
if (valid_const_initializer
&& num_nonzero_elements > 1
&& TREE_READONLY (object)
&& TREE_CODE (object) == VAR_DECL
&& !DECL_NAME(object) <--
--- Comment #7 from jakub at gcc dot gnu dot org 2007-12-13 23:10 ---
Created an attachment (id=14748)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14748&action=view)
hack
What I meant is roughly this. Except that this has horrible code duplication
with gimplify_init_ctor and so
--- Comment #8 from aldyh at gcc dot gnu dot org 2007-12-14 00:12 ---
Gosh, I was going through a similar path, and was horribly depressed at the
code duplication. I'll come up with some abstraction which we can use in both
gimplify_init_ctor and gimplify_modify_expr_rhs. Thanks.
--
--- Comment #9 from jakub at gcc dot gnu dot org 2007-12-14 07:46 ---
Perhaps adding a bool argument to gimplify_init_constructor would solve it,
the current callers would pass false, your new code would call it too and pass
true. If this flag would be true, gimplify_init_ctor wouldn't
--- Comment #10 from aldyh at gcc dot gnu dot org 2007-12-14 16:10 ---
Testing a patch.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34448
--- Comment #11 from jakub at gcc dot gnu dot org 2007-12-20 20:01 ---
*** Bug 34467 has been marked as a duplicate of this bug. ***
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34448
--
mmitchel at gcc dot gnu dot org changed:
What|Removed |Added
Priority|P3 |P1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34448
--- Comment #12 from aldyh at gcc dot gnu dot org 2008-01-04 14:50 ---
Subject: Bug 34448
Author: aldyh
Date: Fri Jan 4 14:49:28 2008
New Revision: 131323
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131323
Log:
PR tree-optimization/34448
PR tree-optimization/
--- Comment #13 from jakub at gcc dot gnu dot org 2008-01-04 15:05 ---
Fixed.
--
jakub at gcc dot gnu dot org changed:
What|Removed |Added
Status|ASSIGNED
15 matches
Mail list logo