* [Bug bootstrap/53278] [4.8 regression] internal compiler error: in df_uses_record, at df-scan.c:3179 when compiling libgcc2.c __mulvdi3 on armv5tel-linux
2012-05-08 9:02 [Bug bootstrap/53278] New: [4.8 regression] internal compiler error: in df_uses_record, at df-scan.c:3179 when compiling libgcc2.c __mulvdi3 on armv5tel-linux mikpe at it dot uu.se
@ 2012-05-08 9:35 ` rearnsha at gcc dot gnu.org
2012-05-08 10:09 ` rguenth at gcc dot gnu.org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: rearnsha at gcc dot gnu.org @ 2012-05-08 9:35 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53278
Richard Earnshaw <rearnsha at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-05-08
CC| |rsandifo at gcc dot gnu.org
Ever Confirmed|0 |1
--- Comment #1 from Richard Earnshaw <rearnsha at gcc dot gnu.org> 2012-05-08 09:27:59 UTC ---
the subreg splitting pass is generating concatn in the insn stream. The manual
says this isn't allowed.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug bootstrap/53278] [4.8 regression] internal compiler error: in df_uses_record, at df-scan.c:3179 when compiling libgcc2.c __mulvdi3 on armv5tel-linux
2012-05-08 9:02 [Bug bootstrap/53278] New: [4.8 regression] internal compiler error: in df_uses_record, at df-scan.c:3179 when compiling libgcc2.c __mulvdi3 on armv5tel-linux mikpe at it dot uu.se
2012-05-08 9:35 ` [Bug bootstrap/53278] " rearnsha at gcc dot gnu.org
@ 2012-05-08 10:09 ` rguenth at gcc dot gnu.org
2012-05-08 14:06 ` [Bug rtl-optimization/53278] " ramana at gcc dot gnu.org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-05-08 10:09 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53278
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.8.0
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug rtl-optimization/53278] [4.8 regression] internal compiler error: in df_uses_record, at df-scan.c:3179 when compiling libgcc2.c __mulvdi3 on armv5tel-linux
2012-05-08 9:02 [Bug bootstrap/53278] New: [4.8 regression] internal compiler error: in df_uses_record, at df-scan.c:3179 when compiling libgcc2.c __mulvdi3 on armv5tel-linux mikpe at it dot uu.se
2012-05-08 9:35 ` [Bug bootstrap/53278] " rearnsha at gcc dot gnu.org
2012-05-08 10:09 ` rguenth at gcc dot gnu.org
@ 2012-05-08 14:06 ` ramana at gcc dot gnu.org
2012-05-08 15:08 ` ramana at gcc dot gnu.org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: ramana at gcc dot gnu.org @ 2012-05-08 14:06 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53278
Ramana Radhakrishnan <ramana at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ramana at gcc dot gnu.org
Component|bootstrap |rtl-optimization
--- Comment #2 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> 2012-05-08 14:03:37 UTC ---
Here's a reduced testcase from newlib where I hit the same issue.
struct _reent
{
int _errno;
};
typedef unsigned int wchar_t;
unsigned long long
_wcstoull_r(struct _reent *rptr , const wchar_t *nptr , wchar_t **endptr , int
base)
{
register const wchar_t *s = nptr;
register unsigned long long acc;
register int c;
register unsigned long long cutoff;
register int neg = 0, any, cutlim;
if(base < 0
|| base == 1
|| base > 36) {
return(0ULL);
}
if ((base == 0 || base == 16) &&
c == L'0' && (*s == L'x' || *s == L'X')) {
c = s[1];
}
if (base == 0)
base = c == L'0' ? 8 : 10;
cutoff = (unsigned long long)(9223372036854775807LL * 2ULL + 1ULL) / (unsigned
long long)base;
for (acc = 0, any = 0;; c = *s++) {
if (iswdigit(c))
break;
if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim))
any = -1;
else {
acc += c;
}
}
if (any < 0) {
rptr->_errno = 34;
} else if (neg)
acc = -acc;
}
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug rtl-optimization/53278] [4.8 regression] internal compiler error: in df_uses_record, at df-scan.c:3179 when compiling libgcc2.c __mulvdi3 on armv5tel-linux
2012-05-08 9:02 [Bug bootstrap/53278] New: [4.8 regression] internal compiler error: in df_uses_record, at df-scan.c:3179 when compiling libgcc2.c __mulvdi3 on armv5tel-linux mikpe at it dot uu.se
` (2 preceding siblings ...)
2012-05-08 14:06 ` [Bug rtl-optimization/53278] " ramana at gcc dot gnu.org
@ 2012-05-08 15:08 ` ramana at gcc dot gnu.org
2012-05-08 15:55 ` zadeck at naturalbridge dot com
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: ramana at gcc dot gnu.org @ 2012-05-08 15:08 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53278
--- Comment #3 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> 2012-05-08 14:56:18 UTC ---
The patch below appears to trigger the issue but there's a fundamental question
as to why lower-subreg generates concatns when the documentation suggests that
concat and concatn should only be used in declarations but not in the insn
stream.
http://gcc.gnu.org/ml/gcc-patches/2012-05/msg00423.html
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug rtl-optimization/53278] [4.8 regression] internal compiler error: in df_uses_record, at df-scan.c:3179 when compiling libgcc2.c __mulvdi3 on armv5tel-linux
2012-05-08 9:02 [Bug bootstrap/53278] New: [4.8 regression] internal compiler error: in df_uses_record, at df-scan.c:3179 when compiling libgcc2.c __mulvdi3 on armv5tel-linux mikpe at it dot uu.se
` (3 preceding siblings ...)
2012-05-08 15:08 ` ramana at gcc dot gnu.org
@ 2012-05-08 15:55 ` zadeck at naturalbridge dot com
2012-05-08 18:53 ` rsandifo at gcc dot gnu.org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: zadeck at naturalbridge dot com @ 2012-05-08 15:55 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53278
Kenneth Zadeck <zadeck at naturalbridge dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |zadeck at naturalbridge dot
| |com
--- Comment #4 from Kenneth Zadeck <zadeck at naturalbridge dot com> 2012-05-08 15:43:37 UTC ---
Ramana,
I did not write this pass. I believe that iant did. he used concatn and
concat as a temp marker in the rtl and if all went well, these are all removed
before the pass finishes. Obviously something is no longer going well so we
will have to look into it.
Kenny
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug rtl-optimization/53278] [4.8 regression] internal compiler error: in df_uses_record, at df-scan.c:3179 when compiling libgcc2.c __mulvdi3 on armv5tel-linux
2012-05-08 9:02 [Bug bootstrap/53278] New: [4.8 regression] internal compiler error: in df_uses_record, at df-scan.c:3179 when compiling libgcc2.c __mulvdi3 on armv5tel-linux mikpe at it dot uu.se
` (4 preceding siblings ...)
2012-05-08 15:55 ` zadeck at naturalbridge dot com
@ 2012-05-08 18:53 ` rsandifo at gcc dot gnu.org
2012-05-08 21:53 ` rsandifo at gcc dot gnu.org
2012-05-08 22:15 ` rsandifo at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: rsandifo at gcc dot gnu.org @ 2012-05-08 18:53 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53278
rsandifo@gcc.gnu.org <rsandifo at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
AssignedTo|unassigned at gcc dot |rsandifo at gcc dot gnu.org
|gnu.org |
--- Comment #5 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> 2012-05-08 18:42:47 UTC ---
My fault (again).
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug rtl-optimization/53278] [4.8 regression] internal compiler error: in df_uses_record, at df-scan.c:3179 when compiling libgcc2.c __mulvdi3 on armv5tel-linux
2012-05-08 9:02 [Bug bootstrap/53278] New: [4.8 regression] internal compiler error: in df_uses_record, at df-scan.c:3179 when compiling libgcc2.c __mulvdi3 on armv5tel-linux mikpe at it dot uu.se
` (5 preceding siblings ...)
2012-05-08 18:53 ` rsandifo at gcc dot gnu.org
@ 2012-05-08 21:53 ` rsandifo at gcc dot gnu.org
2012-05-08 22:15 ` rsandifo at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: rsandifo at gcc dot gnu.org @ 2012-05-08 21:53 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53278
--- Comment #6 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> 2012-05-08 21:42:09 UTC ---
Author: rsandifo
Date: Tue May 8 21:42:03 2012
New Revision: 187299
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187299
Log:
gcc/
PR rtl-optimization/53278
* lower-subreg.c (decompose_multiword_subregs): Remove left-over
speed_p code from earlier patch.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/lower-subreg.c
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug rtl-optimization/53278] [4.8 regression] internal compiler error: in df_uses_record, at df-scan.c:3179 when compiling libgcc2.c __mulvdi3 on armv5tel-linux
2012-05-08 9:02 [Bug bootstrap/53278] New: [4.8 regression] internal compiler error: in df_uses_record, at df-scan.c:3179 when compiling libgcc2.c __mulvdi3 on armv5tel-linux mikpe at it dot uu.se
` (6 preceding siblings ...)
2012-05-08 21:53 ` rsandifo at gcc dot gnu.org
@ 2012-05-08 22:15 ` rsandifo at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: rsandifo at gcc dot gnu.org @ 2012-05-08 22:15 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53278
rsandifo@gcc.gnu.org <rsandifo at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #7 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> 2012-05-08 21:52:36 UTC ---
Fixed.
^ permalink raw reply [flat|nested] 9+ messages in thread