public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/36974]  New: [4.4 Regression]: Gcc failed to bootstrap
@ 2008-07-30 15:43 hjl dot tools at gmail dot com
  2008-07-30 16:25 ` [Bug bootstrap/36974] " hjl dot tools at gmail dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: hjl dot tools at gmail dot com @ 2008-07-30 15:43 UTC (permalink / raw)
  To: gcc-bugs

Gcc 4.4 revision 138310 failed to bootstrap on Linux/ia64:

./../../src/libgcc/../gcc/libgcc2.c: In function '__addvsi3':
../../../src/libgcc/../gcc/libgcc2.c:104: internal compiler error: in
call_from_call_insn, at final.c:1760
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[5]: *** [_addvsi3.o] Error 1

I think it is introduced by revision 138310:

http://gcc.gnu.org/ml/gcc-cvs/2008-07/msg01023.html

Revision 138296 is OK.


-- 
           Summary: [4.4 Regression]: Gcc failed to bootstrap
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hjl dot tools at gmail dot com
GCC target triplet: ia64-unknown-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36974


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug bootstrap/36974] [4.4 Regression]: Gcc failed to bootstrap
  2008-07-30 15:43 [Bug bootstrap/36974] New: [4.4 Regression]: Gcc failed to bootstrap hjl dot tools at gmail dot com
@ 2008-07-30 16:25 ` hjl dot tools at gmail dot com
  2008-07-30 16:28 ` hjl dot tools at gmail dot com
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: hjl dot tools at gmail dot com @ 2008-07-30 16:25 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 770 bytes --]



------- Comment #1 from hjl dot tools at gmail dot com  2008-07-30 16:24 -------
[hjl@gnu-12 libgcc]$ cat foo.i
extern void abort (void);
typedef int SItype __attribute__ ((mode (SI)));
typedef unsigned int USItype __attribute__ ((mode (SI)));
SItype
__addvsi3 (SItype a, SItype b)
{
  const SItype w = (USItype) a + (USItype) b;

  if (b >= 0 ? w < a : w > a)
    abort ();

  return w;
}
[hjl@gnu-12 libgcc]$ ../../gcc/xgcc -B../../gcc/ -O -S foo.i
foo.i: In function ‘__addvsi3’:
foo.i:13: internal compiler error: in call_from_call_insn, at final.c:1760
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
[hjl@gnu-12 libgcc]$ 


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36974


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug bootstrap/36974] [4.4 Regression]: Gcc failed to bootstrap
  2008-07-30 15:43 [Bug bootstrap/36974] New: [4.4 Regression]: Gcc failed to bootstrap hjl dot tools at gmail dot com
  2008-07-30 16:25 ` [Bug bootstrap/36974] " hjl dot tools at gmail dot com
@ 2008-07-30 16:28 ` hjl dot tools at gmail dot com
  2008-07-30 16:53 ` espindola at google dot com
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: hjl dot tools at gmail dot com @ 2008-07-30 16:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from hjl dot tools at gmail dot com  2008-07-30 16:26 -------
call_from_call_insn doesn't support:

(gdb) b fancy_abort 
Breakpoint 1 at 0x4000000000317081: file ../../src/gcc/diagnostic.c, line 689.
(gdb) r
Starting program: /export/gnu/import/svn/gcc-test/bld/gcc/cc1 -fpreprocessed
foo.i -quiet -dumpbase foo.i -auxbase foo -O -version -o foo.s
GNU C (GCC) version 4.4.0 20080730 (experimental) [trunk revision 138310]
(ia64-unknown-linux-gnu)
        compiled by GNU C version 4.1.2 20071124 (Red Hat 4.1.2-42), GMP
version 4.2.2, MPFR version 2.3.1.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: fd482fe43a51139098c909d8f96fdc49

Breakpoint 1, fancy_abort (file=0x400000000145bf10 "../../src/gcc/final.c", 
    line=1760, function=0x400000000145c000 "call_from_call_insn")
    at ../../src/gcc/diagnostic.c:689
689       internal_error ("in %s, at %s:%d", function, trim_filename (file),
line);
(gdb) f 1
#1  0x4000000000458050 in call_from_call_insn (insn=0x2000000003c8d310)
    at ../../src/gcc/final.c:1760
1760              gcc_unreachable ();
(gdb) call debug_rtx (insn)
(call_insn 51 83 84 5 foo.i:10 (cond_exec (eq (reg:BI 262 p6 [353])
            (const_int 0 [0x0]))
        (parallel [
                (call (mem:DI (symbol_ref:DI ("abort") [flags 0x41]
<function_decl 0x2000000003d2dc00 abort>) [0 S8 A64])
                    (const_int 0 [0x0]))
                (clobber (reg:DI 320 b0))
            ])) 1114 {divdf3_internal_thr+317} (expr_list:REG_BR_PROB
(const_int 100 [0x64])
        (expr_list:REG_EH_REGION (const_int 0 [0x0])
            (expr_list:REG_NORETURN (const_int 0 [0x0])
                (nil))))
    (expr_list:REG_DEP_TRUE (use (reg:DI 1 r1))
        (nil)))
(gdb) 


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36974


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug bootstrap/36974] [4.4 Regression]: Gcc failed to bootstrap
  2008-07-30 15:43 [Bug bootstrap/36974] New: [4.4 Regression]: Gcc failed to bootstrap hjl dot tools at gmail dot com
  2008-07-30 16:25 ` [Bug bootstrap/36974] " hjl dot tools at gmail dot com
  2008-07-30 16:28 ` hjl dot tools at gmail dot com
@ 2008-07-30 16:53 ` espindola at google dot com
  2008-07-30 23:26 ` espindola at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: espindola at google dot com @ 2008-07-30 16:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from espindola at google dot com  2008-07-30 16:51 -------
Created an attachment (id=15978)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15978&action=view)
proposed fix


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36974


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug bootstrap/36974] [4.4 Regression]: Gcc failed to bootstrap
  2008-07-30 15:43 [Bug bootstrap/36974] New: [4.4 Regression]: Gcc failed to bootstrap hjl dot tools at gmail dot com
                   ` (2 preceding siblings ...)
  2008-07-30 16:53 ` espindola at google dot com
@ 2008-07-30 23:26 ` espindola at gcc dot gnu dot org
  2008-07-31  3:44 ` hjl dot tools at gmail dot com
  2008-12-27 19:52 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: espindola at gcc dot gnu dot org @ 2008-07-30 23:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from espindola at gcc dot gnu dot org  2008-07-30 23:24 -------
Subject: Bug 36974

Author: espindola
Date: Wed Jul 30 23:23:33 2008
New Revision: 138347

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=138347
Log:
2008-07-30  Rafael Avila de Espindola  <espindola@google.com>

        PR 36974
        * final.c (call_from_call_insn): Handle COND_EXEC


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/final.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36974


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug bootstrap/36974] [4.4 Regression]: Gcc failed to bootstrap
  2008-07-30 15:43 [Bug bootstrap/36974] New: [4.4 Regression]: Gcc failed to bootstrap hjl dot tools at gmail dot com
                   ` (3 preceding siblings ...)
  2008-07-30 23:26 ` espindola at gcc dot gnu dot org
@ 2008-07-31  3:44 ` hjl dot tools at gmail dot com
  2008-12-27 19:52 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: hjl dot tools at gmail dot com @ 2008-07-31  3:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from hjl dot tools at gmail dot com  2008-07-31 03:42 -------
Fixed.


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36974


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug bootstrap/36974] [4.4 Regression]: Gcc failed to bootstrap
  2008-07-30 15:43 [Bug bootstrap/36974] New: [4.4 Regression]: Gcc failed to bootstrap hjl dot tools at gmail dot com
                   ` (4 preceding siblings ...)
  2008-07-31  3:44 ` hjl dot tools at gmail dot com
@ 2008-12-27 19:52 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-12-27 19:52 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
           Keywords|                            |build, ice-on-valid-code
   Target Milestone|---                         |4.4.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36974


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-12-27 19:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-30 15:43 [Bug bootstrap/36974] New: [4.4 Regression]: Gcc failed to bootstrap hjl dot tools at gmail dot com
2008-07-30 16:25 ` [Bug bootstrap/36974] " hjl dot tools at gmail dot com
2008-07-30 16:28 ` hjl dot tools at gmail dot com
2008-07-30 16:53 ` espindola at google dot com
2008-07-30 23:26 ` espindola at gcc dot gnu dot org
2008-07-31  3:44 ` hjl dot tools at gmail dot com
2008-12-27 19:52 ` pinskia at gcc dot gnu dot 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).