[Bug debug/68302] [5/6 Regression] ICE with debugging enabled on mips

2016-01-20 Thread sje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68302 --- Comment #20 from Steve Ellcey --- I have still not been able to reproduce this or understand what is happening. Aurelien, could you try applying the patch that has been submitted for PR 69129 to see if that helps? The failure modes for

[Bug debug/68302] [5/6 Regression] ICE with debugging enabled on mips

2016-01-20 Thread aurelien at aurel32 dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68302 --- Comment #21 from Aurelien Jarno --- (In reply to Steve Ellcey from comment #20) > I have still not been able to reproduce this or understand what is happening. > > Aurelien, could you try applying the patch that has been submitted for PR >

[Bug debug/68302] [5/6 Regression] ICE with debugging enabled on mips

2016-01-20 Thread aurelien at aurel32 dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68302 Aurelien Jarno changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug debug/68302] [5/6 Regression] ICE with debugging enabled on mips

2015-12-21 Thread sje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68302 --- Comment #18 from Steve Ellcey --- I think there is still a difference in our configurations. If you add '-v' to the compile line when compiling the test program what do you see? Specifically what does COLLECT_GCC_OPTIONS show? Mine has:

[Bug debug/68302] [5/6 Regression] ICE with debugging enabled on mips

2015-12-21 Thread aurelien at aurel32 dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68302 --- Comment #19 from Aurelien Jarno --- Please find below the output produced by gcc when compiling with -v Reading specs from /home/aurel32/work/mips-gcc/build/./gcc/specs COLLECT_GCC=/home/aurel32/work/mips-gcc/build/./gcc/xgcc Target:

[Bug debug/68302] [5/6 Regression] ICE with debugging enabled on mips

2015-12-21 Thread aurelien at aurel32 dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68302 --- Comment #17 from Aurelien Jarno --- Created attachment 37098 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37098=edit output log with cselib.c patched Please find attached the output with your cselib.c patch. Sorry for the delay. If

[Bug debug/68302] [5/6 Regression] ICE with debugging enabled on mips

2015-12-20 Thread raj.khem at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68302 Khem Raj changed: What|Removed |Added CC||raj.khem at gmail dot com --- Comment #16

[Bug debug/68302] [5/6 Regression] ICE with debugging enabled on mips

2015-12-09 Thread aurelien at aurel32 dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68302 --- Comment #14 from Aurelien Jarno --- Created attachment 36970 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36970=edit Output log 2 Unfortunately it still fails, though the output log is now slightly different. Please find it

[Bug debug/68302] [5/6 Regression] ICE with debugging enabled on mips

2015-12-09 Thread sje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68302 --- Comment #15 from Steve Ellcey --- Created attachment 36978 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36978=edit patch to put debug statements in cselib.c I still cannot reproduce the failure. I have built cross compilers on

[Bug debug/68302] [5/6 Regression] ICE with debugging enabled on mips

2015-12-08 Thread aurelien at aurel32 dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68302 --- Comment #12 from Aurelien Jarno --- Created attachment 36965 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36965=edit Output log Please find attached the output log of gcc running patched as you requested.

[Bug debug/68302] [5/6 Regression] ICE with debugging enabled on mips

2015-12-08 Thread sje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68302 --- Comment #13 from Steve Ellcey --- Thanks for the trace. I am still not sure I understand what is going on but I wonder if you could try commenting out this code under the "case 'e'" code in rtx_equal_for_cselib_1. #if 0 if (i ==

[Bug debug/68302] [5/6 Regression] ICE with debugging enabled on mips

2015-12-07 Thread sje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68302 --- Comment #11 from Steve Ellcey --- Could you try adding 'debug_rtx (x); debug_rtx (y);' to the front of rtx_equal_for_cselib_1? It looks like this routine is in an infinite loop, I would like to see what input it is working on and see if

[Bug debug/68302] [5/6 Regression] ICE with debugging enabled on mips

2015-12-06 Thread aurelien at aurel32 dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68302 --- Comment #10 from Aurelien Jarno --- (In reply to Steve Ellcey from comment #8) > Where in CC1 do you segfault? Can you show me the error message you get > when compiling the test program using the latest gcc-5-branch sources. The only

[Bug debug/68302] [5/6 Regression] ICE with debugging enabled on mips

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68302 Richard Biener changed: What|Removed |Added Target Milestone|5.3 |5.4 --- Comment #9 from Richard Biener

[Bug debug/68302] [5/6 Regression] ICE with debugging enabled on mips

2015-12-01 Thread sje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68302 --- Comment #8 from Steve Ellcey --- Where in CC1 do you segfault? Can you show me the error message you get when compiling the test program using the latest gcc-5-branch sources.

[Bug debug/68302] [5/6 Regression] ICE with debugging enabled on mips

2015-12-01 Thread sje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68302 --- Comment #6 from Steve Ellcey --- I still haven't been able to reproduce this. I have been trying to do so with the gcc-5-branch. Aurelien, what host GCC version are you using when you build a cross compiler? I am building on Ubuntu 12.04

[Bug debug/68302] [5/6 Regression] ICE with debugging enabled on mips

2015-12-01 Thread aurelien at aurel32 dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68302 --- Comment #7 from Aurelien Jarno --- I am using gcc 5.2 from Debian unstable to build the cross compiler. Please also note that I have the same issue when using the native GCC 5.2 compiler on a mips or mipsel system. How can I help debugging

[Bug debug/68302] [5/6 Regression] ICE with debugging enabled on mips

2015-12-01 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68302 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #5

[Bug debug/68302] [5/6 Regression] ICE with debugging enabled on mips

2015-11-26 Thread aurelien at aurel32 dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68302 --- Comment #3 from Aurelien Jarno --- I built GCC with the following options: configure --enable-languages=c --prefix=/usr --target=mipsel-linux-gnu --includedir=/usr/mipsel-linux-gnu/include Then I build the file with -O2 -g -o test.o -c

[Bug debug/68302] [5/6 Regression] ICE with debugging enabled on mips

2015-11-26 Thread aurelien at aurel32 dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68302 --- Comment #4 from Aurelien Jarno --- The bisection shows that this commit has fixed the issue on trunk: 2015-07-23 Richard Biener PR middle-end/66916 * match.pd: Guard widen and sign-change comparison

[Bug debug/68302] [5/6 Regression] ICE with debugging enabled on mips

2015-11-25 Thread sje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68302 Steve Ellcey changed: What|Removed |Added CC||sje at gcc dot gnu.org --- Comment #2

[Bug debug/68302] [5/6 Regression] ICE with debugging enabled on mips

2015-11-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68302 Richard Biener changed: What|Removed |Added Target Milestone|--- |5.3 --- Comment #1 from Richard Biener