public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/51969] New: [4.7 regression] gcc 4.7 unable to build gcc 4.6
@ 2012-01-23 17:05 markus at trippelsdorf dot de
2012-01-23 18:35 ` [Bug bootstrap/51969] " markus at trippelsdorf dot de
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: markus at trippelsdorf dot de @ 2012-01-23 17:05 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51969
Bug #: 51969
Summary: [4.7 regression] gcc 4.7 unable to build gcc 4.6
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: markus@trippelsdorf.de
gcc-4.7 doesn't build gcc-4.6 anymore:
gtype-desc.c:8893:18: error: subscripted value is neither array nor pointer nor
vector
gtype-desc.c:9012:36: error: subscripted value is neither array nor pointer nor
vector
gtype-desc.c:9096:31: error: subscripted value is neither array nor pointer nor
vector
gtype-desc.c:9117:31: error: subscripted value is neither array nor pointer nor
vector
gtype-desc.c:9124:31: error: subscripted value is neither array nor pointer nor
vector
gtype-desc.c:9131:31: error: subscripted value is neither array nor pointer nor
vector
make[3]: *** [gtype-desc.o] Error 1
make[3]: *** Waiting for unfinished jobs....
or with --enable-build-with-cxx:
gtype-desc.c:8893:20: error: no match for ‘operator[]’ in ‘x_rtl[0]’
gtype-desc.c:9012:38: error: no match for ‘operator[]’ in
‘default_target_libfuncs[0]’
gtype-desc.c:9096:33: error: no match for ‘operator[]’ in
‘default_target_rtl[0]’
gtype-desc.c:9117:33: error: no match for ‘operator[]’ in
‘default_target_rtl[0]’
gtype-desc.c:9124:33: error: no match for ‘operator[]’ in
‘default_target_rtl[0]’
gtype-desc.c:9131:33: error: no match for ‘operator[]’ in
‘default_target_rtl[0]’
make[3]: *** [gtype-desc.o] Error 1
make[3]: *** Waiting for unfinished jobs....
(gcc-4.6.3 builds gcc-4.6 without problems.)
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug bootstrap/51969] [4.7 regression] gcc 4.7 unable to build gcc 4.6
2012-01-23 17:05 [Bug bootstrap/51969] New: [4.7 regression] gcc 4.7 unable to build gcc 4.6 markus at trippelsdorf dot de
@ 2012-01-23 18:35 ` markus at trippelsdorf dot de
2012-01-23 18:49 ` [Bug bootstrap/51969] [4.6 " jakub at gcc dot gnu.org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: markus at trippelsdorf dot de @ 2012-01-23 18:35 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51969
--- Comment #1 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2012-01-23 18:21:14 UTC ---
The following patch (applied to 4.6) fixes the problem for me:
diff --git a/gcc/gengtype.c b/gcc/gengtype.c
index abf17f8..550d3bb 100644
--- a/gcc/gengtype.c
+++ b/gcc/gengtype.c
@@ -3594,13 +3594,13 @@ write_field_root (outf_p f, pair_p v, type_p type,
const char *name,
int has_length, struct fileloc *line, const char *if_marked,
bool emit_pch, type_p field_type, const char *field_name)
{
+ struct pair newv;
/* If the field reference is relative to V, rather than to some
subcomponent of V, we can mark any subarrays with a single stride.
We're effectively treating the field as a global variable in its
own right. */
if (v && type == v->type)
{
- struct pair newv;
newv = *v;
newv.type = field_type;
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug bootstrap/51969] [4.6 regression] gcc 4.7 unable to build gcc 4.6
2012-01-23 17:05 [Bug bootstrap/51969] New: [4.7 regression] gcc 4.7 unable to build gcc 4.6 markus at trippelsdorf dot de
2012-01-23 18:35 ` [Bug bootstrap/51969] " markus at trippelsdorf dot de
@ 2012-01-23 18:49 ` jakub at gcc dot gnu.org
2012-01-24 7:50 ` ralf_corsepius at rtems dot org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-01-23 18:49 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51969
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-01-23
CC| |jakub at gcc dot gnu.org,
| |matz at gcc dot gnu.org
Ever Confirmed|0 |1
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-01-23 18:33:58 UTC ---
Yeah,
2011-11-08 Michael Matz <matz@suse.de>
* gengtype.c (write_field_root): Avoid out-of-scope access of newv.
should be backported to 4.6.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug bootstrap/51969] [4.6 regression] gcc 4.7 unable to build gcc 4.6
2012-01-23 17:05 [Bug bootstrap/51969] New: [4.7 regression] gcc 4.7 unable to build gcc 4.6 markus at trippelsdorf dot de
2012-01-23 18:35 ` [Bug bootstrap/51969] " markus at trippelsdorf dot de
2012-01-23 18:49 ` [Bug bootstrap/51969] [4.6 " jakub at gcc dot gnu.org
@ 2012-01-24 7:50 ` ralf_corsepius at rtems dot org
2012-01-24 13:38 ` rguenth at gcc dot gnu.org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: ralf_corsepius at rtems dot org @ 2012-01-24 7:50 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51969
--- Comment #3 from Ralf Corsepius <ralf_corsepius at rtems dot org> 2012-01-24 07:05:03 UTC ---
Thanks, Markus, Jakub.
Despite I don't understand this patch, it patch seems to work for me :)
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug bootstrap/51969] [4.6 regression] gcc 4.7 unable to build gcc 4.6
2012-01-23 17:05 [Bug bootstrap/51969] New: [4.7 regression] gcc 4.7 unable to build gcc 4.6 markus at trippelsdorf dot de
` (2 preceding siblings ...)
2012-01-24 7:50 ` ralf_corsepius at rtems dot org
@ 2012-01-24 13:38 ` rguenth at gcc dot gnu.org
2012-02-14 23:32 ` [Bug bootstrap/51969] [4.6 regression] trunk gcc " jakub at gcc dot gnu.org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-01-24 13:38 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51969
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.6.3
--- Comment #4 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-01-24 13:03:42 UTC ---
Confirmed, I've seen this as well.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug bootstrap/51969] [4.6 regression] trunk gcc unable to build gcc 4.6
2012-01-23 17:05 [Bug bootstrap/51969] New: [4.7 regression] gcc 4.7 unable to build gcc 4.6 markus at trippelsdorf dot de
` (3 preceding siblings ...)
2012-01-24 13:38 ` rguenth at gcc dot gnu.org
@ 2012-02-14 23:32 ` jakub at gcc dot gnu.org
2012-02-14 23:46 ` jakub at gcc dot gnu.org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-02-14 23:32 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51969
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-02-14 23:31:46 UTC ---
Author: jakub
Date: Tue Feb 14 23:31:42 2012
New Revision: 184239
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184239
Log:
PR bootstrap/51969
Backported from mainline
2011-11-08 Michael Matz <matz@suse.de>
* gengtype.c (write_field_root): Avoid out-of-scope access of newv.
Modified:
branches/gcc-4_6-branch/gcc/ChangeLog
branches/gcc-4_6-branch/gcc/gengtype.c
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug bootstrap/51969] [4.6 regression] trunk gcc unable to build gcc 4.6
2012-01-23 17:05 [Bug bootstrap/51969] New: [4.7 regression] gcc 4.7 unable to build gcc 4.6 markus at trippelsdorf dot de
` (4 preceding siblings ...)
2012-02-14 23:32 ` [Bug bootstrap/51969] [4.6 regression] trunk gcc " jakub at gcc dot gnu.org
@ 2012-02-14 23:46 ` jakub at gcc dot gnu.org
2012-04-24 4:22 ` pinskia at gcc dot gnu.org
2012-06-11 9:10 ` jye2 at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-02-14 23:46 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51969
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-02-14 23:45:23 UTC ---
Fixed.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug bootstrap/51969] [4.6 regression] trunk gcc unable to build gcc 4.6
2012-01-23 17:05 [Bug bootstrap/51969] New: [4.7 regression] gcc 4.7 unable to build gcc 4.6 markus at trippelsdorf dot de
` (5 preceding siblings ...)
2012-02-14 23:46 ` jakub at gcc dot gnu.org
@ 2012-04-24 4:22 ` pinskia at gcc dot gnu.org
2012-06-11 9:10 ` jye2 at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-04-24 4:22 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51969
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kallisti5 at unixzen dot
| |com
--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-04-24 04:22:19 UTC ---
*** Bug 52986 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug bootstrap/51969] [4.6 regression] trunk gcc unable to build gcc 4.6
2012-01-23 17:05 [Bug bootstrap/51969] New: [4.7 regression] gcc 4.7 unable to build gcc 4.6 markus at trippelsdorf dot de
` (6 preceding siblings ...)
2012-04-24 4:22 ` pinskia at gcc dot gnu.org
@ 2012-06-11 9:10 ` jye2 at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: jye2 at gcc dot gnu.org @ 2012-06-11 9:10 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51969
--- Comment #8 from jye2 at gcc dot gnu.org 2012-06-11 09:10:17 UTC ---
Author: jye2
Date: Mon Jun 11 09:10:07 2012
New Revision: 188381
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=188381
Log:
2012-06-11 Joey Ye <joey.ye@arm.com>
Backport r184089,184180 from mainline
2012-02-10 Jan Hubicka <jh@suse.cz>
PR middle-end/48600
* predict.c (predict_paths_for_bb): Prevent looping.
(predict_paths_leading_to_edge, predict_paths_leading_to): Update.
2012-02-13 Jan Hubicka <jh@suse.cz>
PR middle-end/52214
* predict.c (predict_paths_for_bb): Fix thinko in prevoius patch.
Backport partly r181172 from mainline
2011-11-08 Michael Matz <matz@suse.de>
PR bootstrap/51969
* gengtype.c (write_field_root): Avoid out-of-scope access of newv.
testsuite:
Backport r184089 from mainline
2012-02-10 Jan Hubicka <jh@suse.cz>
PR middle-end/48600
* g++.dg/torture/pr48600.C: New testcase.
Added:
branches/ARM/embedded-4_6-branch/gcc/testsuite/c-c++-common/pr52181.c
branches/ARM/embedded-4_6-branch/gcc/testsuite/g++.dg/torture/pr48600.C
Modified:
branches/ARM/embedded-4_6-branch/gcc/ChangeLog.arm
branches/ARM/embedded-4_6-branch/gcc/gengtype.c
branches/ARM/embedded-4_6-branch/gcc/predict.c
branches/ARM/embedded-4_6-branch/gcc/testsuite/ChangeLog.arm
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2012-06-11 9:10 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-23 17:05 [Bug bootstrap/51969] New: [4.7 regression] gcc 4.7 unable to build gcc 4.6 markus at trippelsdorf dot de
2012-01-23 18:35 ` [Bug bootstrap/51969] " markus at trippelsdorf dot de
2012-01-23 18:49 ` [Bug bootstrap/51969] [4.6 " jakub at gcc dot gnu.org
2012-01-24 7:50 ` ralf_corsepius at rtems dot org
2012-01-24 13:38 ` rguenth at gcc dot gnu.org
2012-02-14 23:32 ` [Bug bootstrap/51969] [4.6 regression] trunk gcc " jakub at gcc dot gnu.org
2012-02-14 23:46 ` jakub at gcc dot gnu.org
2012-04-24 4:22 ` pinskia at gcc dot gnu.org
2012-06-11 9:10 ` jye2 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).