public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/43358] New: internal compiler error: in pool_free, at alloc-pool.c:335
@ 2010-03-13 23:16 segher at gcc dot gnu dot org
2010-03-13 23:17 ` [Bug target/43358] " segher at gcc dot gnu dot org
` (11 more replies)
0 siblings, 12 replies; 13+ messages in thread
From: segher at gcc dot gnu dot org @ 2010-03-13 23:16 UTC (permalink / raw)
To: gcc-bugs
The attached testcase (derived from the Linux kernel) fails with:
itimer.i:38:1: internal compiler error: in pool_free, at alloc-pool.c:335
The original fails like this as well, of course.
-O1 or higher is required.
--
Summary: internal compiler error: in pool_free, at alloc-
pool.c:335
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: segher at gcc dot gnu dot org
GCC host triplet: x86_64-linux
GCC target triplet: mips-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43358
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/43358] internal compiler error: in pool_free, at alloc-pool.c:335
2010-03-13 23:16 [Bug target/43358] New: internal compiler error: in pool_free, at alloc-pool.c:335 segher at gcc dot gnu dot org
@ 2010-03-13 23:17 ` segher at gcc dot gnu dot org
2010-03-14 12:53 ` steven at gcc dot gnu dot org
` (10 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: segher at gcc dot gnu dot org @ 2010-03-13 23:17 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from segher at gcc dot gnu dot org 2010-03-13 23:17 -------
Created an attachment (id=20101)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20101&action=view)
testcase
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43358
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/43358] internal compiler error: in pool_free, at alloc-pool.c:335
2010-03-13 23:16 [Bug target/43358] New: internal compiler error: in pool_free, at alloc-pool.c:335 segher at gcc dot gnu dot org
2010-03-13 23:17 ` [Bug target/43358] " segher at gcc dot gnu dot org
@ 2010-03-14 12:53 ` steven at gcc dot gnu dot org
2010-03-15 11:31 ` [Bug target/43358] [4.5 Regression] IRA: " rguenth at gcc dot gnu dot org
` (9 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: steven at gcc dot gnu dot org @ 2010-03-14 12:53 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from steven at gcc dot gnu dot org 2010-03-14 12:53 -------
(gdb) run
The program being debugged has been started already.
Start it from the beginning? (y or n) Starting program:
/home/stevenb/devel/build-mips/gcc/cc1 -quiet -O1 t.c
Breakpoint 1, fancy_abort (file=0x40000000018f3ea8
"../../trunk/gcc/alloc-pool.c", line=335, function=0x40000000018f3ec8
"pool_free")
at ../../trunk/gcc/diagnostic.c:763
763 internal_error ("in %s, at %s:%d", function, trim_filename (file),
line);
(gdb) bt 10
#0 fancy_abort (file=0x40000000018f3ea8 "../../trunk/gcc/alloc-pool.c",
line=335, function=0x40000000018f3ec8 "pool_free")
at ../../trunk/gcc/diagnostic.c:763
#1 0x40000000001d74b0 in pool_free (pool=0x6000000000202070,
ptr=0x600000000021cd78) at ../../trunk/gcc/alloc-pool.c:335
#2 0x4000000000740cd0 in ira_free_cost_vector (vec=0x600000000021cd78,
cover_class=GR_AND_ACC_REGS) at ../../trunk/gcc/ira-build.c:1339
#3 0x400000000073e820 in finish_allocno (a=0x6000000000211e80) at
../../trunk/gcc/ira-build.c:994
#4 0x400000000073ea30 in finish_allocnos () at
../../trunk/gcc/ira-build.c:1012
#5 0x400000000074dc70 in ira_destroy () at ../../trunk/gcc/ira-build.c:2850
#6 0x40000000007333c0 in ira (f=0x0) at ../../trunk/gcc/ira.c:3298
#7 0x40000000007337b0 in rest_of_handle_ira () at ../../trunk/gcc/ira.c:3352
#8 0x400000000089a170 in execute_one_pass (pass=0x6000000000034050) at
../../trunk/gcc/passes.c:1567
#9 0x400000000089a840 in execute_pass_list (pass=0x6000000000034050) at
../../trunk/gcc/passes.c:1622
(More stack frames follow...)
(gdb)
--
steven at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2010-03-14 12:53:11
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43358
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/43358] [4.5 Regression] IRA: internal compiler error: in pool_free, at alloc-pool.c:335
2010-03-13 23:16 [Bug target/43358] New: internal compiler error: in pool_free, at alloc-pool.c:335 segher at gcc dot gnu dot org
2010-03-13 23:17 ` [Bug target/43358] " segher at gcc dot gnu dot org
2010-03-14 12:53 ` steven at gcc dot gnu dot org
@ 2010-03-15 11:31 ` rguenth at gcc dot gnu dot org
2010-03-15 13:09 ` rguenth at gcc dot gnu dot org
` (8 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-03-15 11:31 UTC (permalink / raw)
To: gcc-bugs
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43358
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/43358] [4.5 Regression] IRA: internal compiler error: in pool_free, at alloc-pool.c:335
2010-03-13 23:16 [Bug target/43358] New: internal compiler error: in pool_free, at alloc-pool.c:335 segher at gcc dot gnu dot org
` (2 preceding siblings ...)
2010-03-15 11:31 ` [Bug target/43358] [4.5 Regression] IRA: " rguenth at gcc dot gnu dot org
@ 2010-03-15 13:09 ` rguenth at gcc dot gnu dot org
2010-03-15 22:24 ` segher at gcc dot gnu dot org
` (7 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-03-15 13:09 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from rguenth at gcc dot gnu dot org 2010-03-15 13:09 -------
Works on x86_64-linux. mips-linux is neither primary nor secondary, thus a
candidate for downgrading to P4. Still looks serious so leaving at P3 for now.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-checking
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43358
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/43358] [4.5 Regression] IRA: internal compiler error: in pool_free, at alloc-pool.c:335
2010-03-13 23:16 [Bug target/43358] New: internal compiler error: in pool_free, at alloc-pool.c:335 segher at gcc dot gnu dot org
` (3 preceding siblings ...)
2010-03-15 13:09 ` rguenth at gcc dot gnu dot org
@ 2010-03-15 22:24 ` segher at gcc dot gnu dot org
2010-03-23 13:39 ` rguenth at gcc dot gnu dot org
` (6 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: segher at gcc dot gnu dot org @ 2010-03-15 22:24 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from segher at gcc dot gnu dot org 2010-03-15 22:23 -------
> Works on x86_64-linux.
Works on *-linux except mips.
> mips-linux is neither primary nor secondary, thus a
> candidate for downgrading to P4. Still looks serious so leaving at P3 for now.
I tested it on mipsisa64-elf (which is primary); works there (with default
options, anyway).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43358
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/43358] [4.5 Regression] IRA: internal compiler error: in pool_free, at alloc-pool.c:335
2010-03-13 23:16 [Bug target/43358] New: internal compiler error: in pool_free, at alloc-pool.c:335 segher at gcc dot gnu dot org
` (4 preceding siblings ...)
2010-03-15 22:24 ` segher at gcc dot gnu dot org
@ 2010-03-23 13:39 ` rguenth at gcc dot gnu dot org
2010-03-26 15:07 ` rguenth at gcc dot gnu dot org
` (5 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-03-23 13:39 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from rguenth at gcc dot gnu dot org 2010-03-23 13:39 -------
CCing mips maintainer
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rdsandiford at googlemail
| |dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43358
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/43358] [4.5 Regression] IRA: internal compiler error: in pool_free, at alloc-pool.c:335
2010-03-13 23:16 [Bug target/43358] New: internal compiler error: in pool_free, at alloc-pool.c:335 segher at gcc dot gnu dot org
` (5 preceding siblings ...)
2010-03-23 13:39 ` rguenth at gcc dot gnu dot org
@ 2010-03-26 15:07 ` rguenth at gcc dot gnu dot org
2010-04-06 11:27 ` rguenth at gcc dot gnu dot org
` (4 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-03-26 15:07 UTC (permalink / raw)
To: gcc-bugs
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43358
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/43358] [4.5 Regression] IRA: internal compiler error: in pool_free, at alloc-pool.c:335
2010-03-13 23:16 [Bug target/43358] New: internal compiler error: in pool_free, at alloc-pool.c:335 segher at gcc dot gnu dot org
` (6 preceding siblings ...)
2010-03-26 15:07 ` rguenth at gcc dot gnu dot org
@ 2010-04-06 11:27 ` rguenth at gcc dot gnu dot org
2010-07-31 9:35 ` [Bug target/43358] [4.5/4.6 " rguenth at gcc dot gnu dot org
` (3 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-04-06 11:27 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from rguenth at gcc dot gnu dot org 2010-04-06 11:20 -------
GCC 4.5.0 is being released. Deferring to 4.5.1.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.5.0 |4.5.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43358
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/43358] [4.5/4.6 Regression] IRA: internal compiler error: in pool_free, at alloc-pool.c:335
2010-03-13 23:16 [Bug target/43358] New: internal compiler error: in pool_free, at alloc-pool.c:335 segher at gcc dot gnu dot org
` (7 preceding siblings ...)
2010-04-06 11:27 ` rguenth at gcc dot gnu dot org
@ 2010-07-31 9:35 ` rguenth at gcc dot gnu dot org
2010-08-08 14:39 ` rsandifo at gcc dot gnu dot org
` (2 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-07-31 9:35 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from rguenth at gcc dot gnu dot org 2010-07-31 09:29 -------
GCC 4.5.1 is being released, adjusting target milestone.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.5.1 |4.5.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43358
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/43358] [4.5/4.6 Regression] IRA: internal compiler error: in pool_free, at alloc-pool.c:335
2010-03-13 23:16 [Bug target/43358] New: internal compiler error: in pool_free, at alloc-pool.c:335 segher at gcc dot gnu dot org
` (8 preceding siblings ...)
2010-07-31 9:35 ` [Bug target/43358] [4.5/4.6 " rguenth at gcc dot gnu dot org
@ 2010-08-08 14:39 ` rsandifo at gcc dot gnu dot org
2010-08-14 19:59 ` rsandifo at gcc dot gnu dot org
2010-08-14 20:07 ` [Bug target/43358] [4.5 " rsandifo at gcc dot gnu dot org
11 siblings, 0 replies; 13+ messages in thread
From: rsandifo at gcc dot gnu dot org @ 2010-08-08 14:39 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from rsandifo at gcc dot gnu dot org 2010-08-08 14:38 -------
Patch posted here:
http://gcc.gnu.org/ml/gcc-patches/2010-08/msg00599.html
--
rsandifo at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rsandifo at gcc dot gnu dot
|dot org |org
URL| |http://gcc.gnu.org/ml/gcc-
| |patches/2010-
| |08/msg00599.html
Status|NEW |ASSIGNED
Last reconfirmed|2010-03-14 12:53:11 |2010-08-08 14:38:52
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43358
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/43358] [4.5/4.6 Regression] IRA: internal compiler error: in pool_free, at alloc-pool.c:335
2010-03-13 23:16 [Bug target/43358] New: internal compiler error: in pool_free, at alloc-pool.c:335 segher at gcc dot gnu dot org
` (9 preceding siblings ...)
2010-08-08 14:39 ` rsandifo at gcc dot gnu dot org
@ 2010-08-14 19:59 ` rsandifo at gcc dot gnu dot org
2010-08-14 20:07 ` [Bug target/43358] [4.5 " rsandifo at gcc dot gnu dot org
11 siblings, 0 replies; 13+ messages in thread
From: rsandifo at gcc dot gnu dot org @ 2010-08-14 19:59 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from rsandifo at gcc dot gnu dot org 2010-08-14 19:59 -------
Subject: Bug 43358
Author: rsandifo
Date: Sat Aug 14 19:59:13 2010
New Revision: 163249
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163249
Log:
gcc/
PR rtl-optimization/43358
* ira-lives.c (process_single_reg_class_operands): Adjust the costs
of a single hard register, using simplify_subreg_regno to decide
what that register should be.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/ira-lives.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43358
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/43358] [4.5 Regression] IRA: internal compiler error: in pool_free, at alloc-pool.c:335
2010-03-13 23:16 [Bug target/43358] New: internal compiler error: in pool_free, at alloc-pool.c:335 segher at gcc dot gnu dot org
` (10 preceding siblings ...)
2010-08-14 19:59 ` rsandifo at gcc dot gnu dot org
@ 2010-08-14 20:07 ` rsandifo at gcc dot gnu dot org
11 siblings, 0 replies; 13+ messages in thread
From: rsandifo at gcc dot gnu dot org @ 2010-08-14 20:07 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from rsandifo at gcc dot gnu dot org 2010-08-14 20:07 -------
Fixed in trunk. I'll wait to see how it affects other targets before
backporting to 4.5.
--
rsandifo at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC|rdsandiford at googlemail |
|dot com |
Summary|[4.5/4.6 Regression] IRA: |[4.5 Regression] IRA:
|internal compiler error: in |internal compiler error: in
|pool_free, at alloc- |pool_free, at alloc-
|pool.c:335 |pool.c:335
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43358
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2010-08-14 20:07 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-13 23:16 [Bug target/43358] New: internal compiler error: in pool_free, at alloc-pool.c:335 segher at gcc dot gnu dot org
2010-03-13 23:17 ` [Bug target/43358] " segher at gcc dot gnu dot org
2010-03-14 12:53 ` steven at gcc dot gnu dot org
2010-03-15 11:31 ` [Bug target/43358] [4.5 Regression] IRA: " rguenth at gcc dot gnu dot org
2010-03-15 13:09 ` rguenth at gcc dot gnu dot org
2010-03-15 22:24 ` segher at gcc dot gnu dot org
2010-03-23 13:39 ` rguenth at gcc dot gnu dot org
2010-03-26 15:07 ` rguenth at gcc dot gnu dot org
2010-04-06 11:27 ` rguenth at gcc dot gnu dot org
2010-07-31 9:35 ` [Bug target/43358] [4.5/4.6 " rguenth at gcc dot gnu dot org
2010-08-08 14:39 ` rsandifo at gcc dot gnu dot org
2010-08-14 19:59 ` rsandifo at gcc dot gnu dot org
2010-08-14 20:07 ` [Bug target/43358] [4.5 " rsandifo 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).