* [Bug bootstrap/50882] internal compiler error: in extract_insn, at recog.c:2109 on powerpc-ibm-aix5.3.0.0
2011-10-27 9:10 [Bug bootstrap/50882] New: internal compiler error: in extract_insn, at recog.c:2109 on powerpc-ibm-aix5.3.0.0 joerg.richter@pdv-fs.de
@ 2011-10-27 9:07 ` joerg.richter@pdv-fs.de
2011-10-27 9:15 ` [Bug bootstrap/50882] [4.6 Regression] " rguenth at gcc dot gnu.org
` (14 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: joerg.richter@pdv-fs.de @ 2011-10-27 9:07 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50882
--- Comment #1 from joerg.richter@pdv-fs.de 2011-10-27 09:07:16 UTC ---
Forgot to mention that 4.6.1 builds without problems.
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug bootstrap/50882] [4.6 Regression] internal compiler error: in extract_insn, at recog.c:2109 on powerpc-ibm-aix5.3.0.0
2011-10-27 9:10 [Bug bootstrap/50882] New: internal compiler error: in extract_insn, at recog.c:2109 on powerpc-ibm-aix5.3.0.0 joerg.richter@pdv-fs.de
2011-10-27 9:07 ` [Bug bootstrap/50882] " joerg.richter@pdv-fs.de
@ 2011-10-27 9:15 ` rguenth at gcc dot gnu.org
2011-10-27 10:11 ` joerg.richter@pdv-fs.de
` (13 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-10-27 9:15 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50882
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target| |powerpc-ibm-aix5.3
Target Milestone|--- |4.6.3
Summary|internal compiler error: in |[4.6 Regression] internal
|extract_insn, at |compiler error: in
|recog.c:2109 on |extract_insn, at
|powerpc-ibm-aix5.3.0.0 |recog.c:2109 on
| |powerpc-ibm-aix5.3.0.0
--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-10-27 09:15:38 UTC ---
Can you check if the problem is the same on svn trunk?
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug bootstrap/50882] [4.6 Regression] internal compiler error: in extract_insn, at recog.c:2109 on powerpc-ibm-aix5.3.0.0
2011-10-27 9:10 [Bug bootstrap/50882] New: internal compiler error: in extract_insn, at recog.c:2109 on powerpc-ibm-aix5.3.0.0 joerg.richter@pdv-fs.de
2011-10-27 9:07 ` [Bug bootstrap/50882] " joerg.richter@pdv-fs.de
2011-10-27 9:15 ` [Bug bootstrap/50882] [4.6 Regression] " rguenth at gcc dot gnu.org
@ 2011-10-27 10:11 ` joerg.richter@pdv-fs.de
2011-10-27 14:44 ` joerg.richter@pdv-fs.de
` (12 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: joerg.richter@pdv-fs.de @ 2011-10-27 10:11 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50882
--- Comment #3 from joerg.richter@pdv-fs.de 2011-10-27 10:10:43 UTC ---
Snapshot gcc-4.7-20111022 fails with:
../gcc-4.7-20111022/gcc/tree-diagnostic.c:59: error: conflicting types for
‘loc_t’
/usr/include/sys/localedef31.h:195: error: previous declaration of ‘loc_t’ was
here
svn is still syncing...
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug bootstrap/50882] [4.6 Regression] internal compiler error: in extract_insn, at recog.c:2109 on powerpc-ibm-aix5.3.0.0
2011-10-27 9:10 [Bug bootstrap/50882] New: internal compiler error: in extract_insn, at recog.c:2109 on powerpc-ibm-aix5.3.0.0 joerg.richter@pdv-fs.de
` (2 preceding siblings ...)
2011-10-27 10:11 ` joerg.richter@pdv-fs.de
@ 2011-10-27 14:44 ` joerg.richter@pdv-fs.de
2011-10-31 14:43 ` greed at pobox dot com
` (11 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: joerg.richter@pdv-fs.de @ 2011-10-27 14:44 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50882
--- Comment #4 from joerg.richter@pdv-fs.de 2011-10-27 14:44:14 UTC ---
Cannot test svn trunk. The loc_t issue still remains, see bug 50874.
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug bootstrap/50882] [4.6 Regression] internal compiler error: in extract_insn, at recog.c:2109 on powerpc-ibm-aix5.3.0.0
2011-10-27 9:10 [Bug bootstrap/50882] New: internal compiler error: in extract_insn, at recog.c:2109 on powerpc-ibm-aix5.3.0.0 joerg.richter@pdv-fs.de
` (3 preceding siblings ...)
2011-10-27 14:44 ` joerg.richter@pdv-fs.de
@ 2011-10-31 14:43 ` greed at pobox dot com
2011-10-31 17:53 ` greed at pobox dot com
` (10 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: greed at pobox dot com @ 2011-10-31 14:43 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50882
Graham Reed <greed at pobox dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |greed at pobox dot com
--- Comment #5 from Graham Reed <greed at pobox dot com> 2011-10-31 14:42:27 UTC ---
(In reply to comment #4)
> Cannot test svn trunk. The loc_t issue still remains, see bug 50874.
I filed that one, and now I've hit this one 4.6.2. I'm building on AIX 5.3.0.0
TL4.
But I can confirm that the trunk does not have this ICE. Regression test isn't
brilliant, but at least it doesn't ICE during bootstrap.
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug bootstrap/50882] [4.6 Regression] internal compiler error: in extract_insn, at recog.c:2109 on powerpc-ibm-aix5.3.0.0
2011-10-27 9:10 [Bug bootstrap/50882] New: internal compiler error: in extract_insn, at recog.c:2109 on powerpc-ibm-aix5.3.0.0 joerg.richter@pdv-fs.de
` (4 preceding siblings ...)
2011-10-31 14:43 ` greed at pobox dot com
@ 2011-10-31 17:53 ` greed at pobox dot com
2011-11-02 15:29 ` greed at pobox dot com
` (9 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: greed at pobox dot com @ 2011-10-31 17:53 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50882
--- Comment #6 from Graham Reed <greed at pobox dot com> 2011-10-31 17:53:18 UTC ---
This seems to be enough to trigger the ICE:
int _Unwind_RaiseException(void)
{
int code;
int (*personality) (void);
code=(*personality) ();
}
No flags other than -Bprefix are needed. Now to figure out what changed....
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug bootstrap/50882] [4.6 Regression] internal compiler error: in extract_insn, at recog.c:2109 on powerpc-ibm-aix5.3.0.0
2011-10-27 9:10 [Bug bootstrap/50882] New: internal compiler error: in extract_insn, at recog.c:2109 on powerpc-ibm-aix5.3.0.0 joerg.richter@pdv-fs.de
` (5 preceding siblings ...)
2011-10-31 17:53 ` greed at pobox dot com
@ 2011-11-02 15:29 ` greed at pobox dot com
2011-11-02 20:44 ` greed at pobox dot com
` (8 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: greed at pobox dot com @ 2011-11-02 15:29 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50882
--- Comment #7 from Graham Reed <greed at pobox dot com> 2011-11-02 15:28:55 UTC ---
(In reply to comment #6)
Reverting config/rs6000/rs6000.md to the version in 4.6.1 clears the ICE in
that testcase.
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug bootstrap/50882] [4.6 Regression] internal compiler error: in extract_insn, at recog.c:2109 on powerpc-ibm-aix5.3.0.0
2011-10-27 9:10 [Bug bootstrap/50882] New: internal compiler error: in extract_insn, at recog.c:2109 on powerpc-ibm-aix5.3.0.0 joerg.richter@pdv-fs.de
` (6 preceding siblings ...)
2011-11-02 15:29 ` greed at pobox dot com
@ 2011-11-02 20:44 ` greed at pobox dot com
2011-11-03 14:51 ` greed at pobox dot com
` (7 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: greed at pobox dot com @ 2011-11-02 20:44 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50882
--- Comment #8 from Graham Reed <greed at pobox dot com> 2011-11-02 20:43:33 UTC ---
(In reply to comment #7)
The fault is injected by r178978, to fix PR 50341. I have no way of testing on
PowerPC Linux; we only have AIX machines with that processor.
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug bootstrap/50882] [4.6 Regression] internal compiler error: in extract_insn, at recog.c:2109 on powerpc-ibm-aix5.3.0.0
2011-10-27 9:10 [Bug bootstrap/50882] New: internal compiler error: in extract_insn, at recog.c:2109 on powerpc-ibm-aix5.3.0.0 joerg.richter@pdv-fs.de
` (7 preceding siblings ...)
2011-11-02 20:44 ` greed at pobox dot com
@ 2011-11-03 14:51 ` greed at pobox dot com
2011-11-03 15:24 ` greed at pobox dot com
` (6 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: greed at pobox dot com @ 2011-11-03 14:51 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50882
--- Comment #9 from Graham Reed <greed at pobox dot com> 2011-11-03 14:50:48 UTC ---
(In reply to comment #8)
If I compile the testcase of comment #6 with -fdump-final-insns, there are no
"...:DI" instructions in the output from 4.6.1, or 4.6.2 with rs6000.md from
before SVN revision 178978.
So I suspect there's something that's generating a 64-bit call or epilogue in a
32-bit context. I'm also in way over my head in these .md files....
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug bootstrap/50882] [4.6 Regression] internal compiler error: in extract_insn, at recog.c:2109 on powerpc-ibm-aix5.3.0.0
2011-10-27 9:10 [Bug bootstrap/50882] New: internal compiler error: in extract_insn, at recog.c:2109 on powerpc-ibm-aix5.3.0.0 joerg.richter@pdv-fs.de
` (8 preceding siblings ...)
2011-11-03 14:51 ` greed at pobox dot com
@ 2011-11-03 15:24 ` greed at pobox dot com
2011-11-08 15:53 ` greed at pobox dot com
` (5 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: greed at pobox dot com @ 2011-11-03 15:24 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50882
--- Comment #10 from Graham Reed <greed at pobox dot com> 2011-11-03 15:23:45 UTC ---
Created attachment 25706
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25706
Fix wrong mode in call_value_indirect_aix32
(In reply to comment #9)
And that 'DI' was the key (but the integer constant 20 was the easier thing to
find); patch attached.
call_value_indirect_aix32 was doing gen_rtx_MEM (DImode, ... ), when it should
be using SImode for 32-bit. Looks like a simple copy-and-paste error;
call_indirect_aix32 uses SImode.
Restarting bootstrap now....
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug bootstrap/50882] [4.6 Regression] internal compiler error: in extract_insn, at recog.c:2109 on powerpc-ibm-aix5.3.0.0
2011-10-27 9:10 [Bug bootstrap/50882] New: internal compiler error: in extract_insn, at recog.c:2109 on powerpc-ibm-aix5.3.0.0 joerg.richter@pdv-fs.de
` (9 preceding siblings ...)
2011-11-03 15:24 ` greed at pobox dot com
@ 2011-11-08 15:53 ` greed at pobox dot com
2011-11-23 21:39 ` lepine.gnu at gmail dot com
` (4 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: greed at pobox dot com @ 2011-11-08 15:53 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50882
--- Comment #11 from Graham Reed <greed at pobox dot com> 2011-11-08 15:48:25 UTC ---
(In reply to comment #10)
> Restarting bootstrap now....
With my patch, bootstrap completes and the test results on AIX are the same as
they are for 4.6.1.
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug bootstrap/50882] [4.6 Regression] internal compiler error: in extract_insn, at recog.c:2109 on powerpc-ibm-aix5.3.0.0
2011-10-27 9:10 [Bug bootstrap/50882] New: internal compiler error: in extract_insn, at recog.c:2109 on powerpc-ibm-aix5.3.0.0 joerg.richter@pdv-fs.de
` (10 preceding siblings ...)
2011-11-08 15:53 ` greed at pobox dot com
@ 2011-11-23 21:39 ` lepine.gnu at gmail dot com
2012-02-01 2:15 ` pinskia at gcc dot gnu.org
` (3 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: lepine.gnu at gmail dot com @ 2011-11-23 21:39 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50882
L. Lepine <lepine.gnu at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |lepine.gnu at gmail dot com
--- Comment #12 from L. Lepine <lepine.gnu at gmail dot com> 2011-11-23 20:59:49 UTC ---
Also applies to AIX 6.1
Target: powerpc-ibm-aix6.1.0.0
oslevel -s: 6100-06-01-1043 (AIX 6.1 TL6 SP1?)
The patch seems to work fine.
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug bootstrap/50882] [4.6 Regression] internal compiler error: in extract_insn, at recog.c:2109 on powerpc-ibm-aix5.3.0.0
2011-10-27 9:10 [Bug bootstrap/50882] New: internal compiler error: in extract_insn, at recog.c:2109 on powerpc-ibm-aix5.3.0.0 joerg.richter@pdv-fs.de
` (11 preceding siblings ...)
2011-11-23 21:39 ` lepine.gnu at gmail dot com
@ 2012-02-01 2:15 ` pinskia at gcc dot gnu.org
2012-02-01 2:17 ` pinskia at gcc dot gnu.org
` (2 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-02-01 2:15 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50882
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sms at antinode dot info
--- Comment #13 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-02-01 02:15:05 UTC ---
*** Bug 51999 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug bootstrap/50882] [4.6 Regression] internal compiler error: in extract_insn, at recog.c:2109 on powerpc-ibm-aix5.3.0.0
2011-10-27 9:10 [Bug bootstrap/50882] New: internal compiler error: in extract_insn, at recog.c:2109 on powerpc-ibm-aix5.3.0.0 joerg.richter@pdv-fs.de
` (12 preceding siblings ...)
2012-02-01 2:15 ` pinskia at gcc dot gnu.org
@ 2012-02-01 2:17 ` pinskia at gcc dot gnu.org
2012-02-01 2:20 ` pinskia at gcc dot gnu.org
2012-02-01 3:06 ` dje at gcc dot gnu.org
15 siblings, 0 replies; 17+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-02-01 2:17 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50882
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |basil at list dot ru
--- Comment #14 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-02-01 02:15:48 UTC ---
*** Bug 51221 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug bootstrap/50882] [4.6 Regression] internal compiler error: in extract_insn, at recog.c:2109 on powerpc-ibm-aix5.3.0.0
2011-10-27 9:10 [Bug bootstrap/50882] New: internal compiler error: in extract_insn, at recog.c:2109 on powerpc-ibm-aix5.3.0.0 joerg.richter@pdv-fs.de
` (13 preceding siblings ...)
2012-02-01 2:17 ` pinskia at gcc dot gnu.org
@ 2012-02-01 2:20 ` pinskia at gcc dot gnu.org
2012-02-01 3:06 ` dje at gcc dot gnu.org
15 siblings, 0 replies; 17+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-02-01 2:20 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50882
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target|powerpc-ibm-aix5.3 |powerpc*-*-aix*
Status|UNCONFIRMED |NEW
Known to work| |4.6.1, 4.7.0
Keywords| |build, ice-on-valid-code
Last reconfirmed| |2012-02-01
Ever Confirmed|0 |1
Known to fail| |4.6.2
Severity|normal |major
--- Comment #15 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-02-01 02:19:16 UTC ---
Confirmed based on PR 51221 was confirmed and there is a patch in this bug
report and there is a small testcase in comment #6.
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug bootstrap/50882] [4.6 Regression] internal compiler error: in extract_insn, at recog.c:2109 on powerpc-ibm-aix5.3.0.0
2011-10-27 9:10 [Bug bootstrap/50882] New: internal compiler error: in extract_insn, at recog.c:2109 on powerpc-ibm-aix5.3.0.0 joerg.richter@pdv-fs.de
` (14 preceding siblings ...)
2012-02-01 2:20 ` pinskia at gcc dot gnu.org
@ 2012-02-01 3:06 ` dje at gcc dot gnu.org
15 siblings, 0 replies; 17+ messages in thread
From: dje at gcc dot gnu.org @ 2012-02-01 3:06 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50882
David Edelsohn <dje at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |dje at gcc dot gnu.org
Resolution| |FIXED
--- Comment #16 from David Edelsohn <dje at gcc dot gnu.org> 2012-02-01 03:06:20 UTC ---
One of Mike Meissner's patches introduced a bug into the GCC 4.6 branch and the
GCC 4.6.2 release, but it already has been fixed in the GCC 4.6 branch and will
be included in the GCC 4.6.3 release.
^ permalink raw reply [flat|nested] 17+ messages in thread