public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/51144] New: r181279
@ 2011-11-15 19:30 krebbel at gcc dot gnu.org
2011-11-15 19:36 ` [Bug bootstrap/51144] r181279 krebbel at gcc dot gnu.org
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: krebbel at gcc dot gnu.org @ 2011-11-15 19:30 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51144
Bug #: 51144
Summary: r181279
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: krebbel@gcc.gnu.org
With revision 181279 GCC stopped bootstrapping on s390 (31 bit).
genmddeps complains about a missing [ altough it is there. The s390.md file
didn't change in that revision.
build/genmddeps /build/regtest/gcc-bisect/gcc/config/s390/s390.md > tmp-mddeps
/build/regtest/gcc-bisect/gcc/config/s390/s390.md:60: expected character `[',
found ` '
/build/regtest/gcc-bisect/gcc/config/s390/s390.md:60: following context is `['
s390.md:
60: (define_c_enum "unspec" [
Perhaps a miscompilation of genmddeps?!
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug bootstrap/51144] r181279
2011-11-15 19:30 [Bug bootstrap/51144] New: r181279 krebbel at gcc dot gnu.org
@ 2011-11-15 19:36 ` krebbel at gcc dot gnu.org
2011-11-15 19:45 ` [Bug middle-end/51144] r181279 pinskia at gcc dot gnu.org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: krebbel at gcc dot gnu.org @ 2011-11-15 19:36 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51144
Andreas Krebbel <krebbel at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target| |s390-ibm-linux
Priority|P3 |P1
Keywords| |wrong-code
CC| |jason at gcc dot gnu.org
Host| |s390-ibm-linux
Build| |s390-ibm-linux
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/51144] r181279
2011-11-15 19:30 [Bug bootstrap/51144] New: r181279 krebbel at gcc dot gnu.org
2011-11-15 19:36 ` [Bug bootstrap/51144] r181279 krebbel at gcc dot gnu.org
@ 2011-11-15 19:45 ` pinskia at gcc dot gnu.org
2011-11-16 0:58 ` [Bug middle-end/51144] r181279 possibly miscompilation of genmddeps sje at cup dot hp.com
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2011-11-15 19:45 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51144
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |build
Component|bootstrap |middle-end
Target Milestone|--- |4.7.0
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-11-15 19:33:18 UTC ---
IA64-hpux fails the same way according to
http://gcc.gnu.org/ml/gcc-patches/2011-11/msg01742.html .
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/51144] r181279 possibly miscompilation of genmddeps
2011-11-15 19:30 [Bug bootstrap/51144] New: r181279 krebbel at gcc dot gnu.org
2011-11-15 19:36 ` [Bug bootstrap/51144] r181279 krebbel at gcc dot gnu.org
2011-11-15 19:45 ` [Bug middle-end/51144] r181279 pinskia at gcc dot gnu.org
@ 2011-11-16 0:58 ` sje at cup dot hp.com
2011-11-16 1:48 ` sje at cup dot hp.com
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: sje at cup dot hp.com @ 2011-11-16 0:58 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51144
Steve Ellcey <sje at cup dot hp.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target|s390-ibm-linux |s390-ibm-linux,ia64-hp-hpux
| |11.23
CC| |jimis at gmx dot net, sje
| |at cup dot hp.com
Host|s390-ibm-linux |s390-ibm-linux,ia64-hp-hpux
| |11.23
Build|s390-ibm-linux |s390-ibm-linux,ia64-hp-hpux
| |11.23
--- Comment #2 from Steve Ellcey <sje at cup dot hp.com> 2011-11-16 00:34:16 UTC ---
Yes, this started failing on 181279 for ia64-hp-hpux11.23 as well.
Adding Dimitrios to CC list.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/51144] r181279 possibly miscompilation of genmddeps
2011-11-15 19:30 [Bug bootstrap/51144] New: r181279 krebbel at gcc dot gnu.org
` (2 preceding siblings ...)
2011-11-16 0:58 ` [Bug middle-end/51144] r181279 possibly miscompilation of genmddeps sje at cup dot hp.com
@ 2011-11-16 1:48 ` sje at cup dot hp.com
2011-11-16 19:25 ` sje at cup dot hp.com
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: sje at cup dot hp.com @ 2011-11-16 1:48 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51144
--- Comment #3 from Steve Ellcey <sje at cup dot hp.com> 2011-11-16 00:43:15 UTC ---
I think this is a big-endian bug in fprint_whex, etc. IA64 HP-UX is
big endian and I think s390-ibm-linux is too.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/51144] r181279 possibly miscompilation of genmddeps
2011-11-15 19:30 [Bug bootstrap/51144] New: r181279 krebbel at gcc dot gnu.org
` (3 preceding siblings ...)
2011-11-16 1:48 ` sje at cup dot hp.com
@ 2011-11-16 19:25 ` sje at cup dot hp.com
2011-11-17 21:36 ` sje at gcc dot gnu.org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: sje at cup dot hp.com @ 2011-11-16 19:25 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51144
Steve Ellcey <sje at cup dot hp.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011-11-16
Ever Confirmed|0 |1
--- Comment #4 from Steve Ellcey <sje at cup dot hp.com> 2011-11-16 19:19:17 UTC ---
It looks like fprint_w is broken for systems where HOST_WIDE_INT is 'long long'
and that type is longer then type 'long'.
Inside fprint_w we call sprint_ul_rev and that function is defined to take a
'unsigned long' argument instead of a 'long long' argument which can cause a
truncation of the incoming value that we are trying to print.
I am testing this patch to see if it fixes all the problems.
Index: ../src/trunk/gcc/final.c
===================================================================
--- ../src/trunk/gcc/final.c (revision 181279)
+++ ../src/trunk/gcc/final.c (working copy)
@@ -3585,7 +3585,7 @@ output_addr_const (FILE *file, rtx x)
break;
case CONST_INT:
- fprint_w (file, INTVAL (x));
+ fprintf (file, HOST_WIDE_INT_PRINT_DEC, INTVAL (x));
break;
case CONST:
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/51144] r181279 possibly miscompilation of genmddeps
2011-11-15 19:30 [Bug bootstrap/51144] New: r181279 krebbel at gcc dot gnu.org
` (4 preceding siblings ...)
2011-11-16 19:25 ` sje at cup dot hp.com
@ 2011-11-17 21:36 ` sje at gcc dot gnu.org
2011-11-21 11:24 ` krebbel at gcc dot gnu.org
2011-12-06 12:30 ` krebbel at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: sje at gcc dot gnu.org @ 2011-11-17 21:36 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51144
--- Comment #5 from Steve Ellcey <sje at gcc dot gnu.org> 2011-11-17 21:22:15 UTC ---
Author: sje
Date: Thu Nov 17 21:22:11 2011
New Revision: 181457
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181457
Log:
2011-11-17 Steve Ellcey <sje@cup.hp.com>
PR middle-end/51144
* output.h (fprint_w): Remove.
* final.c (fprint_w): Remove.
(output_addr_const): Change fprint_w back to fprintf.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/final.c
trunk/gcc/output.h
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/51144] r181279 possibly miscompilation of genmddeps
2011-11-15 19:30 [Bug bootstrap/51144] New: r181279 krebbel at gcc dot gnu.org
` (5 preceding siblings ...)
2011-11-17 21:36 ` sje at gcc dot gnu.org
@ 2011-11-21 11:24 ` krebbel at gcc dot gnu.org
2011-12-06 12:30 ` krebbel at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: krebbel at gcc dot gnu.org @ 2011-11-21 11:24 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51144
--- Comment #6 from Andreas Krebbel <krebbel at gcc dot gnu.org> 2011-11-21 10:10:31 UTC ---
(In reply to comment #5)
> PR middle-end/51144
> * output.h (fprint_w): Remove.
> * final.c (fprint_w): Remove.
> (output_addr_const): Change fprint_w back to fprintf.
This also fixed the s390 bootstrap problem:
http://gcc.gnu.org/ml/gcc-testresults/2011-11/msg01784.html
Thanks!
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/51144] r181279 possibly miscompilation of genmddeps
2011-11-15 19:30 [Bug bootstrap/51144] New: r181279 krebbel at gcc dot gnu.org
` (6 preceding siblings ...)
2011-11-21 11:24 ` krebbel at gcc dot gnu.org
@ 2011-12-06 12:30 ` krebbel at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: krebbel at gcc dot gnu.org @ 2011-12-06 12:30 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51144
Andreas Krebbel <krebbel at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #7 from Andreas Krebbel <krebbel at gcc dot gnu.org> 2011-12-06 12:29:55 UTC ---
Fixed per above comment.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2011-12-06 12:30 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-15 19:30 [Bug bootstrap/51144] New: r181279 krebbel at gcc dot gnu.org
2011-11-15 19:36 ` [Bug bootstrap/51144] r181279 krebbel at gcc dot gnu.org
2011-11-15 19:45 ` [Bug middle-end/51144] r181279 pinskia at gcc dot gnu.org
2011-11-16 0:58 ` [Bug middle-end/51144] r181279 possibly miscompilation of genmddeps sje at cup dot hp.com
2011-11-16 1:48 ` sje at cup dot hp.com
2011-11-16 19:25 ` sje at cup dot hp.com
2011-11-17 21:36 ` sje at gcc dot gnu.org
2011-11-21 11:24 ` krebbel at gcc dot gnu.org
2011-12-06 12:30 ` krebbel 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).