public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/46512] New: [4.6 Regression] rtstuff.c:563:1: internal compiler error: Segmentation fault
@ 2010-11-17 0:42 danglin at gcc dot gnu.org
2010-11-17 1:37 ` [Bug target/46512] [4.6 Regression] crtstuff.c:563:1: " hjl.tools at gmail dot com
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: danglin at gcc dot gnu.org @ 2010-11-17 0:42 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46512
Summary: [4.6 Regression] rtstuff.c:563:1: internal compiler
error: Segmentation fault
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: danglin@gcc.gnu.org
Host: hppa-unknown-linux-gnu
Target: hppa-unknown-linux-gnu
Build: hppa-unknown-linux-gnu
/home2/dave/gcc-4.6/objdir/./gcc/xgcc -B/home2/dave/gcc-4.6/objdir/./gcc/
-B/hom
e2/dave/opt/gnu/gcc/gcc-4.6.0/hppa-linux/bin/
-B/home2/dave/opt/gnu/gcc/gcc-4.6.
0/hppa-linux/lib/ -isystem /home2/dave/opt/gnu/gcc/gcc-4.6.0/hppa-linux/include
-isystem /home2/dave/opt/gnu/gcc/gcc-4.6.0/hppa-linux/sys-include -g -O2 -O2
-g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes
-Wmis
sing-prototypes -Wold-style-definition -isystem ./include -I. -I.
-I../../gcc/
gcc -I../../gcc/gcc/. -I../../gcc/gcc/../include
-I../../gcc/gcc/../libcpp/inclu
de -I../../gcc/gcc/../libdecnumber -I../../gcc/gcc/../libdecnumber/dpd
-I../lib
decnumber -g0 -finhibit-size-directive -fno-inline -fno-exceptions
-fno-zero-
initialized-in-bss -fno-toplevel-reorder -fno-tree-vectorize
-fno-stack-protecto
r -I. -I. -I../.././gcc -I../../../gcc/libgcc -I../../../gcc/libgcc/.
-I../../.
./gcc/libgcc/../gcc -I../../../gcc/libgcc/../include -o crtend.o -MT crtend.o
-
MD -MP -MF crtend.dep \
-c ../../../gcc/libgcc/../gcc/crtstuff.c -DCRT_END
../../../gcc/libgcc/../gcc/crtstuff.c: In function 'frame_dummy':
../../../gcc/libgcc/../gcc/crtstuff.c:372:19: warning: array subscript is above
array bounds [-Warray-bounds]
../../../gcc/libgcc/../gcc/crtstuff.c: In function '__do_global_ctors_aux':
../../../gcc/libgcc/../gcc/crtstuff.c:566:25: warning: array subscript is below
array bounds [-Warray-bounds]
../../../gcc/libgcc/../gcc/crtstuff.c:563:1: internal compiler error:
Segmentati
on fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[3]: *** [crtend.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/home2/dave/gcc-4.6/objdir/hppa-linux/libgcc'
make[2]: *** [all-stage1-target-libgcc] Error 2
make[2]: Leaving directory `/home2/dave/gcc-4.6/objdir'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home2/dave/gcc-4.6/objdir'
make: *** [bootstrap] Error 2
Tue Nov 16 16:20:17 PST 2010
(gdb) r
Starting program: /home2/dave/gcc-4.6/objdir/gcc/cc1 -I . -I . -I ../../gcc/gcc
-I ../../gcc/gcc/. -I ../../gcc/gcc/../include -I
../../gcc/gcc/../libcpp/include -I ../../gcc/gcc/../libdecnumber -I
../../gcc/gcc/../libdecnumber/dpd -I ../libdecnumber -I . -I . -I ../.././gcc
-I ../../../gcc/libgcc -I ../../../gcc/libgcc/. -I ../../../gcc/libgcc/../gcc
-I ../../../gcc/libgcc/../include -iprefix
/home2/dave/gcc-4.6/objdir/gcc/../lib/gcc/hppa-linux/4.6.0/ -isystem
/home2/dave/gcc-4.6/objdir/./gcc/include -isystem
/home2/dave/gcc-4.6/objdir/./gcc/include-fixed -MD crtend.d -MF crtend.dep -MP
-MT crtend.o -D IN_GCC -D CRT_END -isystem
/home2/dave/opt/gnu/gcc/gcc-4.6.0/hppa-linux/include -isystem
/home2/dave/opt/gnu/gcc/gcc-4.6.0/hppa-linux/sys-include -isystem ./include
../../../gcc/libgcc/../gcc/crtstuff.c -quiet -dumpbase crtstuff.c
-auxbase-strip crtend.o -g -g -g0 -O2 -O2 -O2 -Wextra -Wall -Wwrite-strings
-Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-version -finhibit-size-directive -fno-inline -fno-exceptions
-fno-zero-initialized-in-bss -fno-toplevel-reorder -fno-tree-vectorize
-fno-stack-protector -o xxx.s
GNU C (GCC) version 4.6.0 20101116 (experimental) [trunk revision 166834]
(hppa-linux)
compiled by GNU C version 4.3.3, GMP version 4.3.2, MPFR version 3.0.0-p3,
MPC version 0.8.2
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
GNU C (GCC) version 4.6.0 20101116 (experimental) [trunk revision 166834]
(hppa-linux)
compiled by GNU C version 4.3.3, GMP version 4.3.2, MPFR version 3.0.0-p3,
MPC version 0.8.2
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: 14ecb7365bef8f219b8d7d1f9ab6f8f0
../../../gcc/libgcc/../gcc/crtstuff.c: In function '__do_global_ctors_aux':
../../../gcc/libgcc/../gcc/crtstuff.c:566:25: warning: array subscript is below
array bounds [-Warray-bounds]
Program received signal SIGSEGV, Segmentation fault.
0x02c78148 in pa_function_arg_boundary (mode=SImode, type=0x0)
at ../../gcc/gcc/config/pa/pa.c:9611
9611 tree size = TYPE_SIZE (type);
(gdb) bt
#0 0x02c78148 in pa_function_arg_boundary (mode=SImode, type=0x0)
at ../../gcc/gcc/config/pa/pa.c:9611
#1 0x00bfc58c in locate_and_pad_parm (passed_mode=SImode, type=0x0,
in_regs=1, partial=0, fndecl=0x0, initial_offset_ptr=0xfdf020a0,
locate=0xfdf02138) at ../../gcc/gcc/function.c:3699
#2 0x00544768 in emit_library_call_value_1 (retval=7, orgfun=0x0, value=0x1,
fn_type=LCT_NORMAL, outmode=VOIDmode, nargs=-34594656, p=0xfdf02138)
at ../../gcc/gcc/calls.c:3540
#3 0x0122bb40 in build_libfunc_function (name=0x7 <Address 0x7 out of bounds>)
at ../../gcc/gcc/optabs.c:6013
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb) p type
$1 = (const_tree) 0x0
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/46512] [4.6 Regression] crtstuff.c:563:1: internal compiler error: Segmentation fault
2010-11-17 0:42 [Bug middle-end/46512] New: [4.6 Regression] rtstuff.c:563:1: internal compiler error: Segmentation fault danglin at gcc dot gnu.org
@ 2010-11-17 1:37 ` hjl.tools at gmail dot com
2010-11-17 1:43 ` froydnj at gcc dot gnu.org
2010-11-17 3:49 ` danglin at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: hjl.tools at gmail dot com @ 2010-11-17 1:37 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46512
--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> 2010-11-17 01:25:27 UTC ---
ix86_function_arg_boundary has
static unsigned int
ix86_function_arg_boundary (enum machine_mode mode, const_tree type)
{
unsigned int align;
if (type)
{
/* Since the main variant type is used for call, we convert it to
the main variant type. */
type = TYPE_MAIN_VARIANT (type);
align = TYPE_ALIGN (type);
}
else
align = GET_MODE_ALIGNMENT (mode);
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/46512] [4.6 Regression] crtstuff.c:563:1: internal compiler error: Segmentation fault
2010-11-17 0:42 [Bug middle-end/46512] New: [4.6 Regression] rtstuff.c:563:1: internal compiler error: Segmentation fault danglin at gcc dot gnu.org
2010-11-17 1:37 ` [Bug target/46512] [4.6 Regression] crtstuff.c:563:1: " hjl.tools at gmail dot com
@ 2010-11-17 1:43 ` froydnj at gcc dot gnu.org
2010-11-17 3:49 ` danglin at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: froydnj at gcc dot gnu.org @ 2010-11-17 1:43 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46512
--- Comment #2 from Nathan Froyd <froydnj at gcc dot gnu.org> 2010-11-17 01:41:16 UTC ---
Author: froydnj
Date: Wed Nov 17 01:41:13 2010
New Revision: 166849
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166849
Log:
PR target/46512
* config/pa/pa.c (pa_function_arg_boundary): Move TYPE_SIZE accesses
under check for type.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/pa/pa.c
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/46512] [4.6 Regression] crtstuff.c:563:1: internal compiler error: Segmentation fault
2010-11-17 0:42 [Bug middle-end/46512] New: [4.6 Regression] rtstuff.c:563:1: internal compiler error: Segmentation fault danglin at gcc dot gnu.org
2010-11-17 1:37 ` [Bug target/46512] [4.6 Regression] crtstuff.c:563:1: " hjl.tools at gmail dot com
2010-11-17 1:43 ` froydnj at gcc dot gnu.org
@ 2010-11-17 3:49 ` danglin at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: danglin at gcc dot gnu.org @ 2010-11-17 3:49 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46512
John David Anglin <danglin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
--- Comment #3 from John David Anglin <danglin at gcc dot gnu.org> 2010-11-17 03:20:52 UTC ---
Fixed by patch.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-11-17 3:21 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-17 0:42 [Bug middle-end/46512] New: [4.6 Regression] rtstuff.c:563:1: internal compiler error: Segmentation fault danglin at gcc dot gnu.org
2010-11-17 1:37 ` [Bug target/46512] [4.6 Regression] crtstuff.c:563:1: " hjl.tools at gmail dot com
2010-11-17 1:43 ` froydnj at gcc dot gnu.org
2010-11-17 3:49 ` danglin 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).