public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/47888] New: tree check: expected array_type, have record_type in array_ref_low_bound, at expr.c:6248
@ 2011-02-24 23:57 d.g.gorbachev at gmail dot com
2011-02-27 19:57 ` [Bug lto/47888] " d.g.gorbachev at gmail dot com
` (12 more replies)
0 siblings, 13 replies; 14+ messages in thread
From: d.g.gorbachev at gmail dot com @ 2011-02-24 23:57 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47888
Summary: tree check: expected array_type, have record_type in
array_ref_low_bound, at expr.c:6248
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: lto
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: d.g.gorbachev@gmail.com
Created attachment 23461
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23461
Testcase
$ gcc -O -flto -DPR47888 main.c s.c
[...]
main.c:5:5: error: constant not recomputed when ADDR_EXPR changed
&s[n.1_2main.c:5:5: internal compiler error: tree check: expected array_type,
have record_type in array_ref_low_bound, at expr.c:6248
[...]
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug lto/47888] tree check: expected array_type, have record_type in array_ref_low_bound, at expr.c:6248
2011-02-24 23:57 [Bug lto/47888] New: tree check: expected array_type, have record_type in array_ref_low_bound, at expr.c:6248 d.g.gorbachev at gmail dot com
@ 2011-02-27 19:57 ` d.g.gorbachev at gmail dot com
2011-04-03 18:41 ` [Bug lto/47888] [4.6/4.7 Regression] tree check: expected array_type, have record_type in array_ref_low_bound, at expr.c:6249 / Segmentation fault d.g.gorbachev at gmail dot com
` (11 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: d.g.gorbachev at gmail dot com @ 2011-02-27 19:57 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47888
--- Comment #1 from Dmitry Gorbachev <d.g.gorbachev at gmail dot com> 2011-02-27 19:54:48 UTC ---
Created attachment 23484
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23484
Backtrace
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug lto/47888] [4.6/4.7 Regression] tree check: expected array_type, have record_type in array_ref_low_bound, at expr.c:6249 / Segmentation fault
2011-02-24 23:57 [Bug lto/47888] New: tree check: expected array_type, have record_type in array_ref_low_bound, at expr.c:6248 d.g.gorbachev at gmail dot com
2011-02-27 19:57 ` [Bug lto/47888] " d.g.gorbachev at gmail dot com
@ 2011-04-03 18:41 ` d.g.gorbachev at gmail dot com
2011-04-06 0:27 ` pinskia at gcc dot gnu.org
` (10 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: d.g.gorbachev at gmail dot com @ 2011-04-03 18:41 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47888
--- Comment #2 from Dmitry Gorbachev <d.g.gorbachev at gmail dot com> 2011-04-03 18:41:45 UTC ---
Created attachment 23863
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23863
Backtrace from GCC 4.7.0 20110402
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug lto/47888] [4.6/4.7 Regression] tree check: expected array_type, have record_type in array_ref_low_bound, at expr.c:6249 / Segmentation fault
2011-02-24 23:57 [Bug lto/47888] New: tree check: expected array_type, have record_type in array_ref_low_bound, at expr.c:6248 d.g.gorbachev at gmail dot com
2011-02-27 19:57 ` [Bug lto/47888] " d.g.gorbachev at gmail dot com
2011-04-03 18:41 ` [Bug lto/47888] [4.6/4.7 Regression] tree check: expected array_type, have record_type in array_ref_low_bound, at expr.c:6249 / Segmentation fault d.g.gorbachev at gmail dot com
@ 2011-04-06 0:27 ` pinskia at gcc dot gnu.org
2011-06-12 12:59 ` rguenth at gcc dot gnu.org
` (9 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu.org @ 2011-04-06 0:27 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47888
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.6.1
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug lto/47888] [4.6/4.7 Regression] tree check: expected array_type, have record_type in array_ref_low_bound, at expr.c:6249 / Segmentation fault
2011-02-24 23:57 [Bug lto/47888] New: tree check: expected array_type, have record_type in array_ref_low_bound, at expr.c:6248 d.g.gorbachev at gmail dot com
` (2 preceding siblings ...)
2011-04-06 0:27 ` pinskia at gcc dot gnu.org
@ 2011-06-12 12:59 ` rguenth at gcc dot gnu.org
2011-06-27 15:59 ` jakub at gcc dot gnu.org
` (8 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-06-12 12:59 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47888
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P4
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011.06.12 12:59:09
Ever Confirmed|0 |1
--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-06-12 12:59:09 UTC ---
Confirmed. I suppose we could diagnose this somehow.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug lto/47888] [4.6/4.7 Regression] tree check: expected array_type, have record_type in array_ref_low_bound, at expr.c:6249 / Segmentation fault
2011-02-24 23:57 [Bug lto/47888] New: tree check: expected array_type, have record_type in array_ref_low_bound, at expr.c:6248 d.g.gorbachev at gmail dot com
` (3 preceding siblings ...)
2011-06-12 12:59 ` rguenth at gcc dot gnu.org
@ 2011-06-27 15:59 ` jakub at gcc dot gnu.org
2011-10-26 17:40 ` jakub at gcc dot gnu.org
` (7 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-06-27 15:59 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47888
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.6.1 |4.6.2
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-06-27 12:33:03 UTC ---
GCC 4.6.1 is being released.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug lto/47888] [4.6/4.7 Regression] tree check: expected array_type, have record_type in array_ref_low_bound, at expr.c:6249 / Segmentation fault
2011-02-24 23:57 [Bug lto/47888] New: tree check: expected array_type, have record_type in array_ref_low_bound, at expr.c:6248 d.g.gorbachev at gmail dot com
` (4 preceding siblings ...)
2011-06-27 15:59 ` jakub at gcc dot gnu.org
@ 2011-10-26 17:40 ` jakub at gcc dot gnu.org
2011-10-26 19:31 ` d.g.gorbachev at gmail dot com
` (6 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-10-26 17:40 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47888
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.6.2 |4.6.3
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-10-26 17:13:48 UTC ---
GCC 4.6.2 is being released.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug lto/47888] [4.6/4.7 Regression] tree check: expected array_type, have record_type in array_ref_low_bound, at expr.c:6249 / Segmentation fault
2011-02-24 23:57 [Bug lto/47888] New: tree check: expected array_type, have record_type in array_ref_low_bound, at expr.c:6248 d.g.gorbachev at gmail dot com
` (5 preceding siblings ...)
2011-10-26 17:40 ` jakub at gcc dot gnu.org
@ 2011-10-26 19:31 ` d.g.gorbachev at gmail dot com
2012-03-01 15:06 ` jakub at gcc dot gnu.org
` (5 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: d.g.gorbachev at gmail dot com @ 2011-10-26 19:31 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47888
--- Comment #6 from Dmitry Gorbachev <d.g.gorbachev at gmail dot com> 2011-10-26 19:30:50 UTC ---
Disappeared in trunk between rr. 178135 and 178749.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug lto/47888] [4.6/4.7 Regression] tree check: expected array_type, have record_type in array_ref_low_bound, at expr.c:6249 / Segmentation fault
2011-02-24 23:57 [Bug lto/47888] New: tree check: expected array_type, have record_type in array_ref_low_bound, at expr.c:6248 d.g.gorbachev at gmail dot com
` (6 preceding siblings ...)
2011-10-26 19:31 ` d.g.gorbachev at gmail dot com
@ 2012-03-01 15:06 ` jakub at gcc dot gnu.org
2013-04-12 15:16 ` [Bug lto/47888] [4.7/4.8/4.9 " jakub at gcc dot gnu.org
` (4 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-03-01 15:06 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47888
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.6.3 |4.6.4
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-03-01 14:38:55 UTC ---
GCC 4.6.3 is being released.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug lto/47888] [4.7/4.8/4.9 Regression] tree check: expected array_type, have record_type in array_ref_low_bound, at expr.c:6249 / Segmentation fault
2011-02-24 23:57 [Bug lto/47888] New: tree check: expected array_type, have record_type in array_ref_low_bound, at expr.c:6248 d.g.gorbachev at gmail dot com
` (7 preceding siblings ...)
2012-03-01 15:06 ` jakub at gcc dot gnu.org
@ 2013-04-12 15:16 ` jakub at gcc dot gnu.org
2014-01-09 23:07 ` aldyh at gcc dot gnu.org
` (3 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-04-12 15:16 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47888
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.6.4 |4.7.4
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-04-12 15:16:11 UTC ---
GCC 4.6.4 has been released and the branch has been closed.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug lto/47888] [4.7/4.8/4.9 Regression] tree check: expected array_type, have record_type in array_ref_low_bound, at expr.c:6249 / Segmentation fault
2011-02-24 23:57 [Bug lto/47888] New: tree check: expected array_type, have record_type in array_ref_low_bound, at expr.c:6248 d.g.gorbachev at gmail dot com
` (8 preceding siblings ...)
2013-04-12 15:16 ` [Bug lto/47888] [4.7/4.8/4.9 " jakub at gcc dot gnu.org
@ 2014-01-09 23:07 ` aldyh at gcc dot gnu.org
2014-01-10 18:48 ` [Bug lto/47888] [4.6 " aldyh at gcc dot gnu.org
` (2 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: aldyh at gcc dot gnu.org @ 2014-01-09 23:07 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47888
Aldy Hernandez <aldyh at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |WAITING
CC| |aldyh at gcc dot gnu.org
--- Comment #9 from Aldy Hernandez <aldyh at gcc dot gnu.org> ---
No ICE on 4.[789]:
reynosa:/build/pristine-4_8/gcc$ ./xgcc -B./ main.c s.c -flto -O -DPR47888
main.c:1:13: warning: type of 's' does not match original declaration [enabled
by default]
extern char s[1];
^
s.c:1:14: note: previously declared here
struct S { } s;
^
This only seems to be a problem on 4.6. Can we mark this as so?
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug lto/47888] [4.6 Regression] tree check: expected array_type, have record_type in array_ref_low_bound, at expr.c:6249 / Segmentation fault
2011-02-24 23:57 [Bug lto/47888] New: tree check: expected array_type, have record_type in array_ref_low_bound, at expr.c:6248 d.g.gorbachev at gmail dot com
` (9 preceding siblings ...)
2014-01-09 23:07 ` aldyh at gcc dot gnu.org
@ 2014-01-10 18:48 ` aldyh at gcc dot gnu.org
2014-01-11 9:25 ` ebotcazou at gcc dot gnu.org
2014-02-22 8:41 ` ebotcazou at gcc dot gnu.org
12 siblings, 0 replies; 14+ messages in thread
From: aldyh at gcc dot gnu.org @ 2014-01-10 18:48 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47888
Aldy Hernandez <aldyh at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
Summary|[4.7/4.8/4.9 Regression] |[4.6 Regression] tree
|tree check: expected |check: expected array_type,
|array_type, have |have record_type in
|record_type in |array_ref_low_bound, at
|array_ref_low_bound, at |expr.c:6249 / Segmentation
|expr.c:6249 / Segmentation |fault
|fault |
--- Comment #10 from Aldy Hernandez <aldyh at gcc dot gnu.org> ---
Can't reproduce on 4.[789]. This must be a 4.6 thing.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug lto/47888] [4.6 Regression] tree check: expected array_type, have record_type in array_ref_low_bound, at expr.c:6249 / Segmentation fault
2011-02-24 23:57 [Bug lto/47888] New: tree check: expected array_type, have record_type in array_ref_low_bound, at expr.c:6248 d.g.gorbachev at gmail dot com
` (10 preceding siblings ...)
2014-01-10 18:48 ` [Bug lto/47888] [4.6 " aldyh at gcc dot gnu.org
@ 2014-01-11 9:25 ` ebotcazou at gcc dot gnu.org
2014-02-22 8:41 ` ebotcazou at gcc dot gnu.org
12 siblings, 0 replies; 14+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2014-01-11 9:25 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47888
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ebotcazou at gcc dot gnu.org
--- Comment #12 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
The things to do are to add the testcase to the testsuite and to close the PR.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug lto/47888] [4.6 Regression] tree check: expected array_type, have record_type in array_ref_low_bound, at expr.c:6249 / Segmentation fault
2011-02-24 23:57 [Bug lto/47888] New: tree check: expected array_type, have record_type in array_ref_low_bound, at expr.c:6248 d.g.gorbachev at gmail dot com
` (11 preceding siblings ...)
2014-01-11 9:25 ` ebotcazou at gcc dot gnu.org
@ 2014-02-22 8:41 ` ebotcazou at gcc dot gnu.org
12 siblings, 0 replies; 14+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2014-02-22 8:41 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47888
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |WONTFIX
--- Comment #13 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
4.6 isn't supported anymore.
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2014-02-22 8:41 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-24 23:57 [Bug lto/47888] New: tree check: expected array_type, have record_type in array_ref_low_bound, at expr.c:6248 d.g.gorbachev at gmail dot com
2011-02-27 19:57 ` [Bug lto/47888] " d.g.gorbachev at gmail dot com
2011-04-03 18:41 ` [Bug lto/47888] [4.6/4.7 Regression] tree check: expected array_type, have record_type in array_ref_low_bound, at expr.c:6249 / Segmentation fault d.g.gorbachev at gmail dot com
2011-04-06 0:27 ` pinskia at gcc dot gnu.org
2011-06-12 12:59 ` rguenth at gcc dot gnu.org
2011-06-27 15:59 ` jakub at gcc dot gnu.org
2011-10-26 17:40 ` jakub at gcc dot gnu.org
2011-10-26 19:31 ` d.g.gorbachev at gmail dot com
2012-03-01 15:06 ` jakub at gcc dot gnu.org
2013-04-12 15:16 ` [Bug lto/47888] [4.7/4.8/4.9 " jakub at gcc dot gnu.org
2014-01-09 23:07 ` aldyh at gcc dot gnu.org
2014-01-10 18:48 ` [Bug lto/47888] [4.6 " aldyh at gcc dot gnu.org
2014-01-11 9:25 ` ebotcazou at gcc dot gnu.org
2014-02-22 8:41 ` ebotcazou at gcc dot gnu.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).