public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/22061] New: internal compiler error: in find_function_data, at function.c:317
@ 2005-06-14 13:08 gevans at informatics dot bangor dot ac dot uk
2005-06-14 13:09 ` [Bug c/22061] " gevans at informatics dot bangor dot ac dot uk
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: gevans at informatics dot bangor dot ac dot uk @ 2005-06-14 13:08 UTC (permalink / raw)
To: gcc-bugs
The piece of code attached compiles correctly if the returnZero function is
removed or commented out; however the code does not compile on this machine "as is".
OUTPUT:
gcc -v -save-temps fsabug.c -o fsabug -O4
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.4.2 [FreeBSD] 20040728
/usr/libexec/cc1 -E -quiet -v -D_LONGLONG fsabug.c -O4 -o fsabug.i
ignoring duplicate directory "/usr/include"
#include "..." search starts here:
#include <...> search starts here:
/usr/include
End of search list.
/usr/libexec/cc1 -fpreprocessed fsabug.i -quiet -dumpbase fsabug.c -auxbase
fsabug -O4 -version -o fsabug.s
GNU C version 3.4.2 [FreeBSD] 20040728 (i386-fbsdproj-freebsd)
compiled by GNU C version 3.4.2 [FreeBSD] 20040728.
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
fsabug.c: In function `fillTable':
fsabug.c:22: internal compiler error: in find_function_data, at function.c:317
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
Summary: internal compiler error: in find_function_data, at
function.c:317
Product: gcc
Version: 3.4.2
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: gevans at informatics dot bangor dot ac dot uk
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22061
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c/22061] internal compiler error: in find_function_data, at function.c:317
2005-06-14 13:08 [Bug c/22061] New: internal compiler error: in find_function_data, at function.c:317 gevans at informatics dot bangor dot ac dot uk
@ 2005-06-14 13:09 ` gevans at informatics dot bangor dot ac dot uk
2005-06-14 13:16 ` [Bug middle-end/22061] [3.4 Regression] " pinskia at gcc dot gnu dot org
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: gevans at informatics dot bangor dot ac dot uk @ 2005-06-14 13:09 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From gevans at informatics dot bangor dot ac dot uk 2005-06-14 13:09 -------
Created an attachment (id=9087)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9087&action=view)
Code for Bug 22061
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22061
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug middle-end/22061] [3.4 Regression] internal compiler error: in find_function_data, at function.c:317
2005-06-14 13:08 [Bug c/22061] New: internal compiler error: in find_function_data, at function.c:317 gevans at informatics dot bangor dot ac dot uk
2005-06-14 13:09 ` [Bug c/22061] " gevans at informatics dot bangor dot ac dot uk
@ 2005-06-14 13:16 ` pinskia at gcc dot gnu dot org
2005-06-14 15:57 ` reichelt at gcc dot gnu dot org
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-14 13:16 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-14 13:16 -------
Confirmed, only a 3.4 regression.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Component|c |middle-end
Ever Confirmed| |1
Keywords| |ice-on-valid-code
Known to fail| |3.4.0
Known to work| |3.3.3 4.0.0 4.1.0
Last reconfirmed|0000-00-00 00:00:00 |2005-06-14 13:16:18
date| |
Summary|internal compiler error: in |[3.4 Regression] internal
|find_function_data, at |compiler error: in
|function.c:317 |find_function_data, at
| |function.c:317
Target Milestone|--- |3.4.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22061
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug middle-end/22061] [3.4 Regression] internal compiler error: in find_function_data, at function.c:317
2005-06-14 13:08 [Bug c/22061] New: internal compiler error: in find_function_data, at function.c:317 gevans at informatics dot bangor dot ac dot uk
2005-06-14 13:09 ` [Bug c/22061] " gevans at informatics dot bangor dot ac dot uk
2005-06-14 13:16 ` [Bug middle-end/22061] [3.4 Regression] " pinskia at gcc dot gnu dot org
@ 2005-06-14 15:57 ` reichelt at gcc dot gnu dot org
2005-08-01 15:09 ` rsandifo at gcc dot gnu dot org
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-06-14 15:57 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From reichelt at gcc dot gnu dot org 2005-06-14 15:57 -------
Even shorter testcase:
=======================
int N = 1;
void foo() {}
void bar(int a[1][N])
{
a[0][0] = 0;
}
=======================
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Keywords| |monitored
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22061
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug middle-end/22061] [3.4 Regression] internal compiler error: in find_function_data, at function.c:317
2005-06-14 13:08 [Bug c/22061] New: internal compiler error: in find_function_data, at function.c:317 gevans at informatics dot bangor dot ac dot uk
` (2 preceding siblings ...)
2005-06-14 15:57 ` reichelt at gcc dot gnu dot org
@ 2005-08-01 15:09 ` rsandifo at gcc dot gnu dot org
2005-08-01 16:28 ` [Bug c/22061] " rsandifo at gcc dot gnu dot org
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: rsandifo at gcc dot gnu dot org @ 2005-08-01 15:09 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rsandifo at gcc dot gnu dot org 2005-08-01 15:09 -------
It looks like there's lots of interesting breakage in this area. ;)
Testing a patch.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rsandifo at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Last reconfirmed|2005-06-14 13:16:18 |2005-08-01 15:09:06
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22061
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c/22061] [3.4 Regression] internal compiler error: in find_function_data, at function.c:317
2005-06-14 13:08 [Bug c/22061] New: internal compiler error: in find_function_data, at function.c:317 gevans at informatics dot bangor dot ac dot uk
` (3 preceding siblings ...)
2005-08-01 15:09 ` rsandifo at gcc dot gnu dot org
@ 2005-08-01 16:28 ` rsandifo at gcc dot gnu dot org
2005-09-02 12:24 ` cvs-commit at gcc dot gnu dot org
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: rsandifo at gcc dot gnu dot org @ 2005-08-01 16:28 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rsandifo at gcc dot gnu dot org 2005-08-01 16:28 -------
Reclassifying as a C frontend bug.
--
What |Removed |Added
----------------------------------------------------------------------------
Component|middle-end |c
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22061
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c/22061] [3.4 Regression] internal compiler error: in find_function_data, at function.c:317
2005-06-14 13:08 [Bug c/22061] New: internal compiler error: in find_function_data, at function.c:317 gevans at informatics dot bangor dot ac dot uk
` (4 preceding siblings ...)
2005-08-01 16:28 ` [Bug c/22061] " rsandifo at gcc dot gnu dot org
@ 2005-09-02 12:24 ` cvs-commit at gcc dot gnu dot org
2005-09-02 12:26 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-09-02 12:24 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-09-02 12:24 -------
Subject: Bug 22061
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: rsandifo@gcc.gnu.org 2005-09-02 12:24:21
Modified files:
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/gcc.c-torture/execute: pr22061-1.c pr22061-2.c
pr22061-3.c pr22061-4.c
Log message:
PR c/22061
* gcc.c-torture/execute/pr22061-1.c,
* gcc.c-torture/execute/pr22061-2.c,
* gcc.c-torture/execute/pr22061-3.c,
* gcc.c-torture/execute/pr22061-4.c: New tests.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.5993&r2=1.5994
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.c-torture/execute/pr22061-1.c.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.c-torture/execute/pr22061-2.c.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.c-torture/execute/pr22061-3.c.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.c-torture/execute/pr22061-4.c.diff?cvsroot=gcc&r1=NONE&r2=1.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22061
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c/22061] [3.4 Regression] internal compiler error: in find_function_data, at function.c:317
2005-06-14 13:08 [Bug c/22061] New: internal compiler error: in find_function_data, at function.c:317 gevans at informatics dot bangor dot ac dot uk
` (5 preceding siblings ...)
2005-09-02 12:24 ` cvs-commit at gcc dot gnu dot org
@ 2005-09-02 12:26 ` cvs-commit at gcc dot gnu dot org
2005-09-02 12:35 ` cvs-commit at gcc dot gnu dot org
2005-09-02 12:36 ` rsandifo at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-09-02 12:26 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-09-02 12:26 -------
Subject: Bug 22061
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-4_0-branch
Changes by: rsandifo@gcc.gnu.org 2005-09-02 12:26:17
Modified files:
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/gcc.c-torture/execute: pr22061-1.c pr22061-2.c
pr22061-3.c pr22061-4.c
Log message:
PR c/22061
* gcc.c-torture/execute/pr22061-1.c,
* gcc.c-torture/execute/pr22061-2.c,
* gcc.c-torture/execute/pr22061-3.c,
* gcc.c-torture/execute/pr22061-4.c: New tests.
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.366&r2=1.5084.2.367
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.c-torture/execute/pr22061-1.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.c-torture/execute/pr22061-2.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.c-torture/execute/pr22061-3.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.c-torture/execute/pr22061-4.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=22061
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c/22061] [3.4 Regression] internal compiler error: in find_function_data, at function.c:317
2005-06-14 13:08 [Bug c/22061] New: internal compiler error: in find_function_data, at function.c:317 gevans at informatics dot bangor dot ac dot uk
` (6 preceding siblings ...)
2005-09-02 12:26 ` cvs-commit at gcc dot gnu dot org
@ 2005-09-02 12:35 ` cvs-commit at gcc dot gnu dot org
2005-09-02 12:36 ` rsandifo at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-09-02 12:35 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-09-02 12:35 -------
Subject: Bug 22061
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_4-branch
Changes by: rsandifo@gcc.gnu.org 2005-09-02 12:34:58
Modified files:
gcc : ChangeLog c-decl.c c-objc-common.c
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/gcc.c-torture/execute: pr22061-1.c pr22061-2.c
pr22061-3.c pr22061-4.c
Log message:
PR c/22061
* c-decl.c (push_parm_decl): Push and pop x_dont_save_pending_sizes_p
around the call to grokdeclarator. Call grokdeclarator with the
field set to 0.
(store_parm_decls): Always store the pending_sizes in cfun.
(c_expand_body_1): Call put_pending_sizes.
* c-objc-common.c (c_cannot_inline_tree_fn): Always check
pending_sizes.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=2.2326.2.913&r2=2.2326.2.914
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-decl.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.470.4.22&r2=1.470.4.23
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-objc-common.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.37.4.1&r2=1.37.4.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.3389.2.430&r2=1.3389.2.431
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.c-torture/execute/pr22061-1.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=NONE&r2=1.1.4.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.c-torture/execute/pr22061-2.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=NONE&r2=1.1.4.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.c-torture/execute/pr22061-3.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=NONE&r2=1.1.4.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.c-torture/execute/pr22061-4.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=NONE&r2=1.1.4.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22061
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c/22061] [3.4 Regression] internal compiler error: in find_function_data, at function.c:317
2005-06-14 13:08 [Bug c/22061] New: internal compiler error: in find_function_data, at function.c:317 gevans at informatics dot bangor dot ac dot uk
` (7 preceding siblings ...)
2005-09-02 12:35 ` cvs-commit at gcc dot gnu dot org
@ 2005-09-02 12:36 ` rsandifo at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: rsandifo at gcc dot gnu dot org @ 2005-09-02 12:36 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rsandifo at gcc dot gnu dot org 2005-09-02 12:36 -------
Applied to 3.4. Testcases also applied to 4.0 and mainline.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22061
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2005-09-02 12:36 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-14 13:08 [Bug c/22061] New: internal compiler error: in find_function_data, at function.c:317 gevans at informatics dot bangor dot ac dot uk
2005-06-14 13:09 ` [Bug c/22061] " gevans at informatics dot bangor dot ac dot uk
2005-06-14 13:16 ` [Bug middle-end/22061] [3.4 Regression] " pinskia at gcc dot gnu dot org
2005-06-14 15:57 ` reichelt at gcc dot gnu dot org
2005-08-01 15:09 ` rsandifo at gcc dot gnu dot org
2005-08-01 16:28 ` [Bug c/22061] " rsandifo at gcc dot gnu dot org
2005-09-02 12:24 ` cvs-commit at gcc dot gnu dot org
2005-09-02 12:26 ` cvs-commit at gcc dot gnu dot org
2005-09-02 12:35 ` cvs-commit at gcc dot gnu dot org
2005-09-02 12:36 ` 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).