public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/40489] New: gcc.dg/builtin-unreachable-3.c doesn't work on ia64
@ 2009-06-18 18:57 hjl dot tools at gmail dot com
2009-06-18 20:55 ` [Bug target/40489] " hjl dot tools at gmail dot com
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-06-18 18:57 UTC (permalink / raw)
To: gcc-bugs
I got
Executing on host: /export/build/gnu/gcc/build-ia64-linux/gcc/xgcc
-B/export/build/gnu/gcc/build-ia64-linux/gcc/
/net/gnu-13/export/gnu/src/gcc/gcc/gcc/testsuite/gcc.dg/builtin-unreachable-3.c
-O2 -S -o builtin-unreachable-3.s (timeout = 300)
/net/gnu-13/export/gnu/src/gcc/gcc/gcc/testsuite/gcc.dg/builtin-unreachable-3.c:
In function 'f':^M
/net/gnu-13/export/gnu/src/gcc/gcc/gcc/testsuite/gcc.dg/builtin-unreachable-3.c:9:1:
internal compiler error: Segmentation fault^M
Please submit a full bug report,^M
with preprocessed source if appropriate.^M
See <http://gcc.gnu.org/bugs.html> for instructions.^M
Starting program: /export/build/gnu/gcc/build-ia64-linux/stage1-gcc/cc1
-fpreprocessed /tmp/x.i -quiet -dumpbase x.i -auxbase x -O2 -version -o x.s
GNU C (GCC) version 4.5.0 20090618 (experimental) [trunk revision 148658]
(ia64-unknown-linux-gnu)
compiled by GNU C version 3.4.6 20060404 (Red Hat 3.4.6-9), GMP version
4.2.2, MPFR version 2.3.2
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU C (GCC) version 4.5.0 20090618 (experimental) [trunk revision 148658]
(ia64-unknown-linux-gnu)
compiled by GNU C version 3.4.6 20060404 (Red Hat 3.4.6-9), GMP version
4.2.2, MPFR version 2.3.2
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 8913ea3e9927da81125036b21150e23a
Program received signal SIGSEGV, Segmentation fault.
0x4000000000ff2041 in ia64_reorg ()
at /net/gnu-13/export/gnu/src/gcc/gcc/gcc/config/ia64/ia64.c:9243
9243 while (GET_CODE (insn) == INSN && get_attr_empty (insn) ==
EMPTY_YES)
(gdb) list
9238
9239 insn = get_last_insn ();
9240 if (! INSN_P (insn))
9241 insn = prev_active_insn (insn);
9242 /* Skip over insns that expand to nothing. */
9243 while (GET_CODE (insn) == INSN && get_attr_empty (insn) ==
EMPTY_YES)
9244 {
9245 if (GET_CODE (PATTERN (insn)) == UNSPEC_VOLATILE
9246 && XINT (PATTERN (insn), 1) ==
UNSPECV_INSN_GROUP_BARRIER)
9247 saw_stop = 1;
(gdb) r
Breakpoint 3, ia64_reorg ()
at /net/gnu-13/export/gnu/src/gcc/gcc/gcc/config/ia64/ia64.c:9240
9240 if (! INSN_P (insn))
(gdb) call debug_rtx (insn)
(note 15 5 0 NOTE_INSN_DELETED)
(gdb) next
9241 insn = prev_active_insn (insn);
(gdb)
9243 while (GET_CODE (insn) == INSN && get_attr_empty (insn) ==
EMPTY_YES)
(gdb) p insn
$4 = (rtx) 0x0
(gdb)
--
Summary: gcc.dg/builtin-unreachable-3.c doesn't work on ia64
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hjl dot tools at gmail dot com
GCC target triplet: ia64-*-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40489
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/40489] gcc.dg/builtin-unreachable-3.c doesn't work on ia64
2009-06-18 18:57 [Bug target/40489] New: gcc.dg/builtin-unreachable-3.c doesn't work on ia64 hjl dot tools at gmail dot com
@ 2009-06-18 20:55 ` hjl dot tools at gmail dot com
2009-06-27 16:43 ` hjl at gcc dot gnu dot org
2009-07-01 13:47 ` hjl dot tools at gmail dot com
2 siblings, 0 replies; 4+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-06-18 20:55 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from hjl dot tools at gmail dot com 2009-06-18 20:55 -------
A patch is posted at
http://gcc.gnu.org/ml/gcc-patches/2009-06/msg01520.html
--
hjl dot tools at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sje at cup dot hp dot com
URL| |http://gcc.gnu.org/ml/gcc-
| |patches/2009-
| |06/msg01520.html
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40489
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/40489] gcc.dg/builtin-unreachable-3.c doesn't work on ia64
2009-06-18 18:57 [Bug target/40489] New: gcc.dg/builtin-unreachable-3.c doesn't work on ia64 hjl dot tools at gmail dot com
2009-06-18 20:55 ` [Bug target/40489] " hjl dot tools at gmail dot com
@ 2009-06-27 16:43 ` hjl at gcc dot gnu dot org
2009-07-01 13:47 ` hjl dot tools at gmail dot com
2 siblings, 0 replies; 4+ messages in thread
From: hjl at gcc dot gnu dot org @ 2009-06-27 16:43 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from hjl at gcc dot gnu dot org 2009-06-27 16:43 -------
Subject: Bug 40489
Author: hjl
Date: Sat Jun 27 16:43:28 2009
New Revision: 149014
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=149014
Log:
2009-06-27 H.J. Lu <hongjiu.lu@intel.com>
PR target/40489
* config/ia64/ia64.c (ia64_reorg): Check NULL insn.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/ia64/ia64.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40489
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/40489] gcc.dg/builtin-unreachable-3.c doesn't work on ia64
2009-06-18 18:57 [Bug target/40489] New: gcc.dg/builtin-unreachable-3.c doesn't work on ia64 hjl dot tools at gmail dot com
2009-06-18 20:55 ` [Bug target/40489] " hjl dot tools at gmail dot com
2009-06-27 16:43 ` hjl at gcc dot gnu dot org
@ 2009-07-01 13:47 ` hjl dot tools at gmail dot com
2 siblings, 0 replies; 4+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-07-01 13:47 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from hjl dot tools at gmail dot com 2009-07-01 13:46 -------
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=40489
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-07-01 13:47 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-18 18:57 [Bug target/40489] New: gcc.dg/builtin-unreachable-3.c doesn't work on ia64 hjl dot tools at gmail dot com
2009-06-18 20:55 ` [Bug target/40489] " hjl dot tools at gmail dot com
2009-06-27 16:43 ` hjl at gcc dot gnu dot org
2009-07-01 13:47 ` hjl dot tools at gmail dot com
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).