public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/33318] New: fortran/expr.c:305: internal compiler error: internal consistency failure
@ 2007-09-05 21:16 danglin at gcc dot gnu dot org
2007-09-05 22:30 ` [Bug bootstrap/33318] " hubicka at gcc dot gnu dot org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: danglin at gcc dot gnu dot org @ 2007-09-05 21:16 UTC (permalink / raw)
To: gcc-bugs
/test/gnu/gcc/objdir/./prev-gcc/xgcc -B/test/gnu/gcc/objdir/./prev-gcc/
-B/opt/g
nu64/gcc/gcc-4.3.0/hppa64-hp-hpux11.11/bin/ -c -g -O2 -DIN_GCC -W -Wall
-Wwr
ite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-Wmi
ssing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -Werror -fno-common
-DHAVE_CONFIG
_H -I. -Ifortran -I../../gcc/gcc -I../../gcc/gcc/fortran
-I../../gcc/gcc/../incl
ude -I../../gcc/gcc/../libcpp/include -I/opt/gnu64/gcc/gcc-4.3.0/include
-I../.
./gcc/gcc/../libdecnumber -I../../gcc/gcc/../libdecnumber/dpd -I../libdecnumber
../../gcc/gcc/fortran/expr.c -o fortran/expr.o
../../gcc/gcc/fortran/expr.c: In function 'copy_ref':
../../gcc/gcc/fortran/expr.c:305: error: invalid rtl sharing found in the insn
(jump_insn 25 100 101 5 ../../gcc/gcc/fortran/expr.c:283 (set (pc)
(if_then_else (eq (subreg/s/u:SI (reg:DI 71 [ D.8737 ]) 4)
(const_int 0 [0x0]))
(label_ref 29)
(pc))) 46 {*pa.md:1770} (expr_list:REG_BR_PROB (const_int 5000
[0x13
88])
(nil)))
../../gcc/gcc/fortran/expr.c:305: error: shared rtx
(subreg/s/u:SI (reg:DI 71 [ D.8737 ]) 4)
../../gcc/gcc/fortran/expr.c:305: internal compiler error: internal consistency
failure
--
Summary: fortran/expr.c:305: internal compiler error: internal
consistency failure
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: danglin at gcc dot gnu dot org
GCC build triplet: hppa64-hp-hpux11.11
GCC host triplet: hppa64-hp-hpux11.11
GCC target triplet: hppa64-hp-hpux11.11
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33318
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug bootstrap/33318] fortran/expr.c:305: internal compiler error: internal consistency failure
2007-09-05 21:16 [Bug bootstrap/33318] New: fortran/expr.c:305: internal compiler error: internal consistency failure danglin at gcc dot gnu dot org
@ 2007-09-05 22:30 ` hubicka at gcc dot gnu dot org
2007-09-05 22:45 ` [Bug middle-end/33318] [4.3 Regression] " pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: hubicka at gcc dot gnu dot org @ 2007-09-05 22:30 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from hubicka at gcc dot gnu dot org 2007-09-05 22:30 -------
Created an attachment (id=14162)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14162&action=view)
fix
does the attached patch fix the bootstrap problem?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33318
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/33318] [4.3 Regression] fortran/expr.c:305: internal compiler error: internal consistency failure
2007-09-05 21:16 [Bug bootstrap/33318] New: fortran/expr.c:305: internal compiler error: internal consistency failure danglin at gcc dot gnu dot org
2007-09-05 22:30 ` [Bug bootstrap/33318] " hubicka at gcc dot gnu dot org
@ 2007-09-05 22:45 ` pinskia at gcc dot gnu dot org
2007-09-06 13:30 ` danglin at gcc dot gnu dot org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-09-05 22:45 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
Target Milestone|--- |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33318
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/33318] [4.3 Regression] fortran/expr.c:305: internal compiler error: internal consistency failure
2007-09-05 21:16 [Bug bootstrap/33318] New: fortran/expr.c:305: internal compiler error: internal consistency failure danglin at gcc dot gnu dot org
2007-09-05 22:30 ` [Bug bootstrap/33318] " hubicka at gcc dot gnu dot org
2007-09-05 22:45 ` [Bug middle-end/33318] [4.3 Regression] " pinskia at gcc dot gnu dot org
@ 2007-09-06 13:30 ` danglin at gcc dot gnu dot org
2007-09-06 15:10 ` hubicka at gcc dot gnu dot org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: danglin at gcc dot gnu dot org @ 2007-09-06 13:30 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from danglin at gcc dot gnu dot org 2007-09-06 13:30 -------
No, cc1 is hanging in stage2. I did a core dump:
Program terminated with signal 3, Quit.
warning: The shared libraries were not privately mapped; setting a
breakpoint in a shared library will not work until you rerun the program.
Reading symbols from /usr/lib/pa20_64/dld.sl...done.
Loaded symbols for /usr/lib/pa20_64/dld.sl
Reading symbols from /usr/lib/pa20_64/libc.2...done.
Loaded symbols for /lib/pa20_64/libc.2
Reading symbols from /usr/lib/pa20_64/libdl.1...done.
Loaded symbols for /usr/lib/pa20_64/libdl.1
Reading symbols from /opt/graphics/OpenGL/lib/pa20_64/libogltls.sl...done.
Loaded symbols for /opt/graphics/OpenGL/lib/pa20_64/libogltls.sl
#0 0x400000000042cc00 in verify_rtl_sharing ()
at ../../gcc/gcc/emit-rtl.c:2382
2382 if (INSN_P (p))
Breakpoint 1 at 0x40000000003c94d4: file ../../gcc/gcc/diagnostic.c, line 655.
Breakpoint 2 at 0x40000000003c92b4: file ../../gcc/gcc/diagnostic.c, line 599.
Breakpoint 3 at 0xc00000000018662c
Breakpoint 4 at 0xc0000000001dea88
(gdb) bt
#0 0x400000000042cc00 in verify_rtl_sharing ()
at ../../gcc/gcc/emit-rtl.c:2382
#1 0x4000000000d881bc in cse_insn (insn=0x800003fffd3f4320, libcall_insn=0x0)
at ../../gcc/gcc/cse.c:4681
#2 0x4000000000d8ee6c in cse_extended_basic_block (
ebb_data=0x800003fffdff3390) at ../../gcc/gcc/cse.c:6113
#3 0x4000000000d8f9e4 in cse_main (f=0x800003fffbd18100, nregs=10964)
at ../../gcc/gcc/cse.c:6296
#4 0x4000000000d922ac in rest_of_handle_cse () at ../../gcc/gcc/cse.c:7031
#5 0x40000000006e5e08 in execute_one_pass (pass=0x8000000100005520)
at ../../gcc/gcc/passes.c:1110
#6 0x40000000006e6130 in execute_pass_list (pass=0x8000000100005520)
at ../../gcc/gcc/passes.c:1163
#7 0x40000000006e6174 in execute_pass_list (pass=0x8000000100002a18)
at ../../gcc/gcc/passes.c:1164
#8 0x4000000000914cb0 in tree_rest_of_compilation (fndecl=0x800003fffd30d800)
at ../../gcc/gcc/tree-optimize.c:404
#9 0x400000000023a24c in c_expand_body (fndecl=0x7000000000000)
at ../../gcc/gcc/c-common.c:4586
#10 0x4000000000c3f698 in cgraph_expand_function (node=0x800003fffcc92200)
at ../../gcc/gcc/cgraphunit.c:1077
#11 0x4000000000c3fa60 in cgraph_expand_all_functions ()
at ../../gcc/gcc/cgraphunit.c:1146
---Type <return> to continue, or q <return> to quit---
#12 0x4000000000c406a8 in cgraph_optimize ()
at ../../gcc/gcc/cgraphunit.c:1353
#13 0x400000000019d2bc in c_write_global_declarations ()
at ../../gcc/gcc/c-decl.c:8080
#14 0x4000000000833588 in compile_file () at ../../gcc/gcc/toplev.c:1058
#15 0x4000000000837044 in do_compile () at ../../gcc/gcc/toplev.c:2229
#16 0x4000000000837160 in toplev_main (argc=43, argv=0x800003fffdff2278)
at ../../gcc/gcc/toplev.c:2261
#17 0x40000000002a9380 in main (argc=458752, argv=0x923afafafaf)
at ../../gcc/gcc/main.c:35
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33318
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/33318] [4.3 Regression] fortran/expr.c:305: internal compiler error: internal consistency failure
2007-09-05 21:16 [Bug bootstrap/33318] New: fortran/expr.c:305: internal compiler error: internal consistency failure danglin at gcc dot gnu dot org
` (2 preceding siblings ...)
2007-09-06 13:30 ` danglin at gcc dot gnu dot org
@ 2007-09-06 15:10 ` hubicka at gcc dot gnu dot org
2007-10-10 17:53 ` mmitchel at gcc dot gnu dot org
2007-10-10 23:01 ` danglin at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: hubicka at gcc dot gnu dot org @ 2007-09-06 15:10 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from hubicka at gcc dot gnu dot org 2007-09-06 15:10 -------
Subject: Bug 33318
Author: hubicka
Date: Thu Sep 6 15:10:28 2007
New Revision: 128187
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128187
Log:
PR target/33318
* cse.c (fold_rtx): Avoid invalid sharing.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cse.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33318
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/33318] [4.3 Regression] fortran/expr.c:305: internal compiler error: internal consistency failure
2007-09-05 21:16 [Bug bootstrap/33318] New: fortran/expr.c:305: internal compiler error: internal consistency failure danglin at gcc dot gnu dot org
` (3 preceding siblings ...)
2007-09-06 15:10 ` hubicka at gcc dot gnu dot org
@ 2007-10-10 17:53 ` mmitchel at gcc dot gnu dot org
2007-10-10 23:01 ` danglin at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-10-10 17:53 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from mmitchel at gcc dot gnu dot org 2007-10-10 17:53 -------
Dave --
Is this fixed with Jan's patch? If so, please close.
Thanks,
-- Mark
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33318
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/33318] [4.3 Regression] fortran/expr.c:305: internal compiler error: internal consistency failure
2007-09-05 21:16 [Bug bootstrap/33318] New: fortran/expr.c:305: internal compiler error: internal consistency failure danglin at gcc dot gnu dot org
` (4 preceding siblings ...)
2007-10-10 17:53 ` mmitchel at gcc dot gnu dot org
@ 2007-10-10 23:01 ` danglin at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: danglin at gcc dot gnu dot org @ 2007-10-10 23:01 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from danglin at gcc dot gnu dot org 2007-10-10 23:01 -------
Fixed.
--
danglin at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33318
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2007-10-10 23:01 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-05 21:16 [Bug bootstrap/33318] New: fortran/expr.c:305: internal compiler error: internal consistency failure danglin at gcc dot gnu dot org
2007-09-05 22:30 ` [Bug bootstrap/33318] " hubicka at gcc dot gnu dot org
2007-09-05 22:45 ` [Bug middle-end/33318] [4.3 Regression] " pinskia at gcc dot gnu dot org
2007-09-06 13:30 ` danglin at gcc dot gnu dot org
2007-09-06 15:10 ` hubicka at gcc dot gnu dot org
2007-10-10 17:53 ` mmitchel at gcc dot gnu dot org
2007-10-10 23:01 ` danglin 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).