Bug 40651 - bootstrap error on arm-linux-gnueabi: segfault in next_const_call_expr_arg
Summary: bootstrap error on arm-linux-gnueabi: segfault in next_const_call_expr_arg
Status: RESOLVED WORKSFORME
Alias: None
Product: gcc
Classification: Unclassified
Component: bootstrap (show other bugs)
Version: 4.5.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-04 16:07 UTC by Matthias Klose
Modified: 2009-12-11 00:33 UTC (History)
1 user (show)

See Also:
Host:
Target: arm-linux-gnueabi
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Klose 2009-07-04 16:07:31 UTC
trunk revision 149224

Target: arm-linux-gnueabi
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 20090704-0ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-snapshot/README.Bugs --enable-languages=c,c++,java,fortran,objc,obj-c++ --prefix=/usr/lib/gcc-snapshot --enable-shared --enable-multiarch --with-system-zlib --disable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-java-awt=gtk --enable-gtk-cairo --disable-plugin --with-java-home=/usr/lib/gcc-snapshot/java-1.5.0-gcj-4.5/jre --enable-java-home --with-jvm-root-dir=/usr/lib/gcc-snapshot/java-1.5.0-gcj-4.5 --with-arch-directory=arm --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --disable-sjlj-exceptions --with-arch=armv5t --with-tune=cortex-a8 --disable-werror --build=arm-linux-gnueabi --host=arm-linux-gnueabi --target=arm-linux-gnueabi

(gdb) run
Starting program: /home/doko/gcc/gcc-snapshot-20090704/build/gcc/cc1 -E -quiet /home/doko/gcc/gcc-snapshot-20090704/build/gcc/../lib/gcc/arm-linux-gnueabi/4.5.0/ -isystem build/gcc/include -isystem build/gcc/include-fixed foo.c -march=armv5t -mtune=cortex-a8 -fpch-preprocess -o foo.i

Program received signal SIGSEGV, Segmentation fault.
0x0001a5f0 in next_const_call_expr_arg (iter=Cannot access memory at address 0xffffffe0
) at ../../src/gcc/tree.h:5255
5255      result = CALL_EXPR_ARG (iter->t, iter->i);
(gdb) bt
#0  0x0001a5f0 in next_const_call_expr_arg (iter=Cannot access memory at address 0xffffffe0
) at ../../src/gcc/tree.h:5255
Cannot access memory at address 0x0
Comment 1 Ramana Radhakrishnan 2009-07-08 10:01:38 UTC
Can you attach a pre-processed file for someone to look at this ? This bug report seems incomplete. 
Comment 2 Matthias Klose 2009-07-13 18:16:33 UTC
this is with a minimal "int main() { return 0; }
Comment 3 Ramana Radhakrishnan 2009-09-01 14:56:39 UTC
Does this still occur with trunk ? 
Comment 4 Ramana Radhakrishnan 2009-12-11 00:33:50 UTC
I haven't been able to reproduce this - closing this out as WORKSFORME.