* [Bug c/34934] -O1 crash compile *** glibc detected *** /usr/lib/gcc/i486-linux-gnu/4.2.3/cc1: double free or corruption (!prev)
2008-01-23 3:26 [Bug c/34934] New: -O1 crash compile *** glibc detected *** /usr/lib/gcc/i486-linux-gnu/4.2.3/cc1: double free or corruption (!prev) eshkinkot at gmail dot com
@ 2008-01-23 4:02 ` eshkinkot at gmail dot com
2008-01-23 4:39 ` eshkinkot at gmail dot com
` (14 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: eshkinkot at gmail dot com @ 2008-01-23 4:02 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from eshkinkot at gmail dot com 2008-01-23 03:05 -------
Created an attachment (id=15001)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15001&action=view)
gcc -save-temps -v -W -Wall -O2 -c send_tiny.c
preprocessed file
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34934
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug c/34934] -O1 crash compile *** glibc detected *** /usr/lib/gcc/i486-linux-gnu/4.2.3/cc1: double free or corruption (!prev)
2008-01-23 3:26 [Bug c/34934] New: -O1 crash compile *** glibc detected *** /usr/lib/gcc/i486-linux-gnu/4.2.3/cc1: double free or corruption (!prev) eshkinkot at gmail dot com
2008-01-23 4:02 ` [Bug c/34934] " eshkinkot at gmail dot com
@ 2008-01-23 4:39 ` eshkinkot at gmail dot com
2008-01-23 8:55 ` [Bug middle-end/34934] " Ralf dot Wildenhues at gmx dot de
` (13 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: eshkinkot at gmail dot com @ 2008-01-23 4:39 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from eshkinkot at gmail dot com 2008-01-23 03:10 -------
Created an attachment (id=15002)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15002&action=view)
src file
at first this bug was catched in real program and this single source file
created from it, may be it will be useful
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34934
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug middle-end/34934] -O1 crash compile *** glibc detected *** /usr/lib/gcc/i486-linux-gnu/4.2.3/cc1: double free or corruption (!prev)
2008-01-23 3:26 [Bug c/34934] New: -O1 crash compile *** glibc detected *** /usr/lib/gcc/i486-linux-gnu/4.2.3/cc1: double free or corruption (!prev) eshkinkot at gmail dot com
2008-01-23 4:02 ` [Bug c/34934] " eshkinkot at gmail dot com
2008-01-23 4:39 ` eshkinkot at gmail dot com
@ 2008-01-23 8:55 ` Ralf dot Wildenhues at gmx dot de
2008-01-23 8:55 ` Ralf dot Wildenhues at gmx dot de
` (12 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: Ralf dot Wildenhues at gmx dot de @ 2008-01-23 8:55 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 4249 bytes --]
------- Comment #4 from Ralf dot Wildenhues at gmx dot de 2008-01-23 08:23 -------
valgrind output (gcc (GCC) 4.3.0 20080122 (experimental)):
send_tiny.i: In function sendto_realops_lev:
send_tiny.i:77: warning: implicit declaration of function strlen
send_tiny.i:77: warning: incompatible implicit declaration of built-in function
strlen
send_tiny.i:78: warning: implicit declaration of function vsendto_one
--17488-- REDIR: 0x4ccb070 (memmove) redirected to 0x4a1c0f0 (memmove)
==17488== Invalid write of size 8
==17488== at 0x82D8D9: reachable_at_most_once (tree-stdarg.c:101)
==17488== by 0x82F530: va_list_ptr_read (tree-stdarg.c:377)
==17488== by 0x8307B5: execute_optimize_stdarg (tree-stdarg.c:823)
==17488== by 0x656302: execute_one_pass (passes.c:1118)
==17488== by 0x6564CB: execute_pass_list (passes.c:1171)
==17488== by 0x6564DD: execute_pass_list (passes.c:1172)
==17488== by 0x734718: tree_rest_of_compilation (tree-optimize.c:404)
==17488== by 0x8F44D1: cgraph_expand_function (cgraphunit.c:1152)
==17488== by 0x8F63F8: cgraph_optimize (cgraphunit.c:1215)
==17488== by 0x4174FC: c_write_global_declarations (c-decl.c:8079)
==17488== by 0x6D3F45: toplev_main (toplev.c:1055)
==17488== by 0x4C7549A: (below main) (in /lib/libc-2.3.6.so)
==17488== Address 0x51177b8 is 0 bytes after a block of size 152 alloc'd
==17488== at 0x4A19DAB: malloc (vg_replace_malloc.c:207)
==17488== by 0xB34CA7: xmalloc (xmalloc.c:147)
==17488== by 0x82D73D: reachable_at_most_once (tree-stdarg.c:61)
==17488== by 0x82F530: va_list_ptr_read (tree-stdarg.c:377)
==17488== by 0x8307B5: execute_optimize_stdarg (tree-stdarg.c:823)
==17488== by 0x656302: execute_one_pass (passes.c:1118)
==17488== by 0x6564CB: execute_pass_list (passes.c:1171)
==17488== by 0x6564DD: execute_pass_list (passes.c:1172)
==17488== by 0x734718: tree_rest_of_compilation (tree-optimize.c:404)
==17488== by 0x8F44D1: cgraph_expand_function (cgraphunit.c:1152)
==17488== by 0x8F63F8: cgraph_optimize (cgraphunit.c:1215)
==17488== by 0x4174FC: c_write_global_declarations (c-decl.c:8079)
==17488==
==17488== Invalid read of size 8
==17488== at 0x82D819: reachable_at_most_once (tree-stdarg.c:76)
==17488== by 0x82F530: va_list_ptr_read (tree-stdarg.c:377)
==17488== by 0x8307B5: execute_optimize_stdarg (tree-stdarg.c:823)
==17488== by 0x656302: execute_one_pass (passes.c:1118)
==17488== by 0x6564CB: execute_pass_list (passes.c:1171)
==17488== by 0x6564DD: execute_pass_list (passes.c:1172)
==17488== by 0x734718: tree_rest_of_compilation (tree-optimize.c:404)
==17488== by 0x8F44D1: cgraph_expand_function (cgraphunit.c:1152)
==17488== by 0x8F63F8: cgraph_optimize (cgraphunit.c:1215)
==17488== by 0x4174FC: c_write_global_declarations (c-decl.c:8079)
==17488== by 0x6D3F45: toplev_main (toplev.c:1055)
==17488== by 0x4C7549A: (below main) (in /lib/libc-2.3.6.so)
==17488== Address 0x51177c0 is 8 bytes after a block of size 152 alloc'd
==17488== at 0x4A19DAB: malloc (vg_replace_malloc.c:207)
==17488== by 0xB34CA7: xmalloc (xmalloc.c:147)
==17488== by 0x82D73D: reachable_at_most_once (tree-stdarg.c:61)
==17488== by 0x82F530: va_list_ptr_read (tree-stdarg.c:377)
==17488== by 0x8307B5: execute_optimize_stdarg (tree-stdarg.c:823)
==17488== by 0x656302: execute_one_pass (passes.c:1118)
==17488== by 0x6564CB: execute_pass_list (passes.c:1171)
==17488== by 0x6564DD: execute_pass_list (passes.c:1172)
==17488== by 0x734718: tree_rest_of_compilation (tree-optimize.c:404)
==17488== by 0x8F44D1: cgraph_expand_function (cgraphunit.c:1152)
==17488== by 0x8F63F8: cgraph_optimize (cgraphunit.c:1215)
==17488== by 0x4174FC: c_write_global_declarations (c-decl.c:8079)
==17488==
==17488== ERROR SUMMARY: 3 errors from 2 contexts (suppressed: 2 from 1)
--
Ralf dot Wildenhues at gmx dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |Ralf dot Wildenhues at gmx
| |dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34934
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug middle-end/34934] -O1 crash compile *** glibc detected *** /usr/lib/gcc/i486-linux-gnu/4.2.3/cc1: double free or corruption (!prev)
2008-01-23 3:26 [Bug c/34934] New: -O1 crash compile *** glibc detected *** /usr/lib/gcc/i486-linux-gnu/4.2.3/cc1: double free or corruption (!prev) eshkinkot at gmail dot com
` (2 preceding siblings ...)
2008-01-23 8:55 ` [Bug middle-end/34934] " Ralf dot Wildenhues at gmx dot de
@ 2008-01-23 8:55 ` Ralf dot Wildenhues at gmx dot de
2008-01-23 10:57 ` rguenth at gcc dot gnu dot org
` (11 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: Ralf dot Wildenhues at gmx dot de @ 2008-01-23 8:55 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from Ralf dot Wildenhues at gmx dot de 2008-01-23 08:21 -------
Created an attachment (id=15005)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15005&action=view)
reduced testcase
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34934
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug middle-end/34934] -O1 crash compile *** glibc detected *** /usr/lib/gcc/i486-linux-gnu/4.2.3/cc1: double free or corruption (!prev)
2008-01-23 3:26 [Bug c/34934] New: -O1 crash compile *** glibc detected *** /usr/lib/gcc/i486-linux-gnu/4.2.3/cc1: double free or corruption (!prev) eshkinkot at gmail dot com
` (3 preceding siblings ...)
2008-01-23 8:55 ` Ralf dot Wildenhues at gmx dot de
@ 2008-01-23 10:57 ` rguenth at gcc dot gnu dot org
2008-01-23 17:50 ` Ralf dot Wildenhues at gmx dot de
` (10 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-01-23 10:57 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from rguenth at gcc dot gnu dot org 2008-01-23 10:47 -------
Works for me on the trunk, even with
Index: tree-stdarg.c
===================================================================
--- tree-stdarg.c (revision 131756)
+++ tree-stdarg.c (working copy)
@@ -98,7 +98,10 @@ reachable_at_most_once (basic_block va_a
{
SET_BIT (visited, src->index);
FOR_EACH_EDGE (e, ei, src->preds)
+ {
+ gcc_assert (sp < n_basic_blocks + 1);
stack[sp++] = e;
+ }
}
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34934
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug middle-end/34934] -O1 crash compile *** glibc detected *** /usr/lib/gcc/i486-linux-gnu/4.2.3/cc1: double free or corruption (!prev)
2008-01-23 3:26 [Bug c/34934] New: -O1 crash compile *** glibc detected *** /usr/lib/gcc/i486-linux-gnu/4.2.3/cc1: double free or corruption (!prev) eshkinkot at gmail dot com
` (4 preceding siblings ...)
2008-01-23 10:57 ` rguenth at gcc dot gnu dot org
@ 2008-01-23 17:50 ` Ralf dot Wildenhues at gmx dot de
2008-01-23 22:22 ` rguenth at gcc dot gnu dot org
` (9 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: Ralf dot Wildenhues at gmx dot de @ 2008-01-23 17:50 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 533 bytes --]
------- Comment #6 from Ralf dot Wildenhues at gmx dot de 2008-01-23 17:12 -------
With the patch I get this:
xgcc -m32 -O1 -c send_tiny.i
send_tiny.i: In function sendto_realops_lev:
send_tiny.i:77: warning: incompatible implicit declaration of built-in function
strlen
send_tiny.i:25: internal compiler error: in reachable_at_most_once, at
tree-stdarg.c:102
Please submit a full bug report,
Note that I cannot reproduce the failure without -m32 (on x86_64).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34934
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug middle-end/34934] -O1 crash compile *** glibc detected *** /usr/lib/gcc/i486-linux-gnu/4.2.3/cc1: double free or corruption (!prev)
2008-01-23 3:26 [Bug c/34934] New: -O1 crash compile *** glibc detected *** /usr/lib/gcc/i486-linux-gnu/4.2.3/cc1: double free or corruption (!prev) eshkinkot at gmail dot com
` (5 preceding siblings ...)
2008-01-23 17:50 ` Ralf dot Wildenhues at gmx dot de
@ 2008-01-23 22:22 ` rguenth at gcc dot gnu dot org
2008-01-23 22:41 ` Ralf dot Wildenhues at gmx dot de
` (8 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-01-23 22:22 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from rguenth at gcc dot gnu dot org 2008-01-23 21:44 -------
I checked both a 32bit compiler and x86_64 with -m32 (with the reduced
testcase).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34934
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug middle-end/34934] -O1 crash compile *** glibc detected *** /usr/lib/gcc/i486-linux-gnu/4.2.3/cc1: double free or corruption (!prev)
2008-01-23 3:26 [Bug c/34934] New: -O1 crash compile *** glibc detected *** /usr/lib/gcc/i486-linux-gnu/4.2.3/cc1: double free or corruption (!prev) eshkinkot at gmail dot com
` (6 preceding siblings ...)
2008-01-23 22:22 ` rguenth at gcc dot gnu dot org
@ 2008-01-23 22:41 ` Ralf dot Wildenhues at gmx dot de
2008-01-24 10:59 ` rguenth at gcc dot gnu dot org
` (7 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: Ralf dot Wildenhues at gmx dot de @ 2008-01-23 22:41 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from Ralf dot Wildenhues at gmx dot de 2008-01-23 22:33 -------
Subject: Re: -O1 crash compile *** glibc detected ***
/usr/lib/gcc/i486-linux-gnu/4.2.3/cc1: double free or corruption (!prev)
* rguenth at gcc dot gnu dot org wrote on Wed, Jan 23, 2008 at 10:44:51PM CET:
> I checked both a 32bit compiler and x86_64 with -m32 (with the reduced
> testcase).
Hmm, I don't know what to do. I can reproduce it with a 32bit compiler
on x86 as well, with a just built r131766. glibc 2.7 if that matters
(but it shouldn't for valgrind). What other differences can be
important?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34934
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug middle-end/34934] -O1 crash compile *** glibc detected *** /usr/lib/gcc/i486-linux-gnu/4.2.3/cc1: double free or corruption (!prev)
2008-01-23 3:26 [Bug c/34934] New: -O1 crash compile *** glibc detected *** /usr/lib/gcc/i486-linux-gnu/4.2.3/cc1: double free or corruption (!prev) eshkinkot at gmail dot com
` (7 preceding siblings ...)
2008-01-23 22:41 ` Ralf dot Wildenhues at gmx dot de
@ 2008-01-24 10:59 ` rguenth at gcc dot gnu dot org
2008-01-24 11:20 ` [Bug middle-end/34934] [4.1/4.2/4.3 Regression] " pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-01-24 10:59 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from rguenth at gcc dot gnu dot org 2008-01-24 10:26 -------
Confirmed. With the gcc_assert patch on x86_64 it ICEs with -O -m32 with
the following reduced testcase:
typedef struct fdstruct {
int entry[(1024 - 10) + 2];
int last_entry;
} fdlist;
void vsendto_one(long*, __builtin_va_list);
void sendto_realops_lev(long *umode, fdlist *l, int lev, ...)
{
int i, fd;
__builtin_va_list vl;
__builtin_va_start(vl, lev);
for (fd = l->entry[i = 1]; i <= l->last_entry; fd = l->entry[++i])
{
switch (lev) {
case 1:
if (!(*umode & 0x00000020))
continue;
case 3:
if (!(*umode & 0x00000080))
continue;
case 9:
if (!(*umode & 0x04000000))
continue;
case 4:
if (!(*umode & 0x00000200))
continue;
case 8:
if (!(*umode & 0x00100000))
continue;
case 6:
if (!(*umode & 0x00000100))
continue;
case 7:
if (!(*umode & 0x00040000))
continue;
case 10:
if (!(*umode & 0x00000020)
&& ((*umode & 0x00008000)
|| (*umode & 0x08000000)))
continue;
}
vsendto_one(umode, vl);
}
}
Obviously for a densely connected CFG there can be as much as n_basic_blocks^2
edges.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu dot
| |org, rguenth at gcc dot gnu
| |dot org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |ice-on-valid-code
Last reconfirmed|0000-00-00 00:00:00 |2008-01-24 10:26:55
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34934
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug middle-end/34934] [4.1/4.2/4.3 Regression] -O1 crash compile *** glibc detected *** /usr/lib/gcc/i486-linux-gnu/4.2.3/cc1: double free or corruption (!prev)
2008-01-23 3:26 [Bug c/34934] New: -O1 crash compile *** glibc detected *** /usr/lib/gcc/i486-linux-gnu/4.2.3/cc1: double free or corruption (!prev) eshkinkot at gmail dot com
` (8 preceding siblings ...)
2008-01-24 10:59 ` rguenth at gcc dot gnu dot org
@ 2008-01-24 11:20 ` pinskia at gcc dot gnu dot org
2008-01-24 11:48 ` rguenth at gcc dot gnu dot org
` (5 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-01-24 11:20 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from pinskia at gcc dot gnu dot org 2008-01-24 10:59 -------
4.0.x did not have tree-stdarg.c so this is a regression.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |4.3.0 4.2.3
Known to work| |4.0.0
Summary|-O1 crash compile *** glibc |[4.1/4.2/4.3 Regression] -O1
|detected *** |crash compile *** glibc
|/usr/lib/gcc/i486-linux- |detected ***
|gnu/4.2.3/cc1: double free |/usr/lib/gcc/i486-linux-
|or corruption (!prev) |gnu/4.2.3/cc1: double free
| |or corruption (!prev)
Target Milestone|--- |4.1.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34934
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug middle-end/34934] [4.1/4.2/4.3 Regression] -O1 crash compile *** glibc detected *** /usr/lib/gcc/i486-linux-gnu/4.2.3/cc1: double free or corruption (!prev)
2008-01-23 3:26 [Bug c/34934] New: -O1 crash compile *** glibc detected *** /usr/lib/gcc/i486-linux-gnu/4.2.3/cc1: double free or corruption (!prev) eshkinkot at gmail dot com
` (9 preceding siblings ...)
2008-01-24 11:20 ` [Bug middle-end/34934] [4.1/4.2/4.3 Regression] " pinskia at gcc dot gnu dot org
@ 2008-01-24 11:48 ` rguenth at gcc dot gnu dot org
2008-01-24 12:03 ` jakub at gcc dot gnu dot org
` (4 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-01-24 11:48 UTC (permalink / raw)
To: gcc-bugs
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34934
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug middle-end/34934] [4.1/4.2/4.3 Regression] -O1 crash compile *** glibc detected *** /usr/lib/gcc/i486-linux-gnu/4.2.3/cc1: double free or corruption (!prev)
2008-01-23 3:26 [Bug c/34934] New: -O1 crash compile *** glibc detected *** /usr/lib/gcc/i486-linux-gnu/4.2.3/cc1: double free or corruption (!prev) eshkinkot at gmail dot com
` (10 preceding siblings ...)
2008-01-24 11:48 ` rguenth at gcc dot gnu dot org
@ 2008-01-24 12:03 ` jakub at gcc dot gnu dot org
2008-01-24 15:42 ` jakub at gcc dot gnu dot org
` (3 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-01-24 12:03 UTC (permalink / raw)
To: gcc-bugs
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
Last reconfirmed|2008-01-24 10:26:55 |2008-01-24 11:26:08
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34934
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug middle-end/34934] [4.1/4.2/4.3 Regression] -O1 crash compile *** glibc detected *** /usr/lib/gcc/i486-linux-gnu/4.2.3/cc1: double free or corruption (!prev)
2008-01-23 3:26 [Bug c/34934] New: -O1 crash compile *** glibc detected *** /usr/lib/gcc/i486-linux-gnu/4.2.3/cc1: double free or corruption (!prev) eshkinkot at gmail dot com
` (11 preceding siblings ...)
2008-01-24 12:03 ` jakub at gcc dot gnu dot org
@ 2008-01-24 15:42 ` jakub at gcc dot gnu dot org
2008-01-24 16:38 ` [Bug middle-end/34934] [4.1/4.2 " jakub at gcc dot gnu dot org
` (2 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-01-24 15:42 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from jakub at gcc dot gnu dot org 2008-01-24 15:14 -------
Subject: Bug 34934
Author: jakub
Date: Thu Jan 24 15:13:17 2008
New Revision: 131780
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131780
Log:
PR middle-end/34934
* tree-stdarg.c (reachable_at_most_once): Use VEC vector instead of
a fixed vector for stack.
* gcc.c-torture/compile/20080124-1.c: New test.
Added:
trunk/gcc/testsuite/gcc.c-torture/compile/20080124-1.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-stdarg.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34934
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug middle-end/34934] [4.1/4.2 Regression] -O1 crash compile *** glibc detected *** /usr/lib/gcc/i486-linux-gnu/4.2.3/cc1: double free or corruption (!prev)
2008-01-23 3:26 [Bug c/34934] New: -O1 crash compile *** glibc detected *** /usr/lib/gcc/i486-linux-gnu/4.2.3/cc1: double free or corruption (!prev) eshkinkot at gmail dot com
` (12 preceding siblings ...)
2008-01-24 15:42 ` jakub at gcc dot gnu dot org
@ 2008-01-24 16:38 ` jakub at gcc dot gnu dot org
2008-07-04 22:30 ` [Bug middle-end/34934] [4.2 " jsm28 at gcc dot gnu dot org
2009-03-31 15:02 ` jsm28 at gcc dot gnu dot org
15 siblings, 0 replies; 17+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-01-24 16:38 UTC (permalink / raw)
To: gcc-bugs
------- Comment #12 from jakub at gcc dot gnu dot org 2008-01-24 16:23 -------
Fixed on the trunk.
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail|4.3.0 4.2.3 |4.2.3
Known to work|4.0.0 |4.0.0 4.3.0
Summary|[4.1/4.2/4.3 Regression] -O1|[4.1/4.2 Regression] -O1
|crash compile *** glibc |crash compile *** glibc
|detected *** |detected ***
|/usr/lib/gcc/i486-linux- |/usr/lib/gcc/i486-linux-
|gnu/4.2.3/cc1: double free |gnu/4.2.3/cc1: double free
|or corruption (!prev) |or corruption (!prev)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34934
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug middle-end/34934] [4.2 Regression] -O1 crash compile *** glibc detected *** /usr/lib/gcc/i486-linux-gnu/4.2.3/cc1: double free or corruption (!prev)
2008-01-23 3:26 [Bug c/34934] New: -O1 crash compile *** glibc detected *** /usr/lib/gcc/i486-linux-gnu/4.2.3/cc1: double free or corruption (!prev) eshkinkot at gmail dot com
` (13 preceding siblings ...)
2008-01-24 16:38 ` [Bug middle-end/34934] [4.1/4.2 " jakub at gcc dot gnu dot org
@ 2008-07-04 22:30 ` jsm28 at gcc dot gnu dot org
2009-03-31 15:02 ` jsm28 at gcc dot gnu dot org
15 siblings, 0 replies; 17+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-07-04 22:30 UTC (permalink / raw)
To: gcc-bugs
------- Comment #13 from jsm28 at gcc dot gnu dot org 2008-07-04 22:29 -------
Closing 4.1 branch.
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.1/4.2 Regression] -O1 |[4.2 Regression] -O1 crash
|crash compile *** glibc |compile *** glibc detected
|detected *** |*** /usr/lib/gcc/i486-linux-
|/usr/lib/gcc/i486-linux- |gnu/4.2.3/cc1: double free
|gnu/4.2.3/cc1: double free |or corruption (!prev)
|or corruption (!prev) |
Target Milestone|4.1.3 |4.2.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34934
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug middle-end/34934] [4.2 Regression] -O1 crash compile *** glibc detected *** /usr/lib/gcc/i486-linux-gnu/4.2.3/cc1: double free or corruption (!prev)
2008-01-23 3:26 [Bug c/34934] New: -O1 crash compile *** glibc detected *** /usr/lib/gcc/i486-linux-gnu/4.2.3/cc1: double free or corruption (!prev) eshkinkot at gmail dot com
` (14 preceding siblings ...)
2008-07-04 22:30 ` [Bug middle-end/34934] [4.2 " jsm28 at gcc dot gnu dot org
@ 2009-03-31 15:02 ` jsm28 at gcc dot gnu dot org
15 siblings, 0 replies; 17+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2009-03-31 15:02 UTC (permalink / raw)
To: gcc-bugs
------- Comment #14 from jsm28 at gcc dot gnu dot org 2009-03-31 15:02 -------
Closing 4.2 branch, fixed in 4.3.
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Known to fail|4.2.3 |4.2.3 4.2.5
Resolution| |FIXED
Target Milestone|4.2.5 |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34934
^ permalink raw reply [flat|nested] 17+ messages in thread