public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/37395]  New: Bootstrap fails in stage 2 due to segfault compiling c-parser
@ 2008-09-06 11:09 tbm at cyrius dot com
  2008-09-06 11:10 ` [Bug target/37395] " tbm at cyrius dot com
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: tbm at cyrius dot com @ 2008-09-06 11:09 UTC (permalink / raw)
  To: gcc-bugs

With current trunk (revision 140056) I see the following bootstrap error
on mips:

/home/tbm/build/gcc-snapshot-20080906/build/./prev-gcc/xgcc
-B/home/tbm/build/gcc-snapshot-20080906/build/./prev-gcc/
-B/usr/lib/gcc-snapshot/mips-linux-gnu/bin/ -c  -g -O2 -DIN_GCC   -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual
-Wold-style-definition -Wc++-compat -Wmissing-format-attribute -pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common 
-DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/.
-I../../src/gcc/../include -I../../src/gcc/../libcpp/include 
-I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd
-I../libdecnumber    ../../src/gcc/cfg.c -o cfg.o
../../src/gcc/c-parser.c: In function 'c_parser_direct_declarator_inner':
../../src/gcc/c-parser.c:2424: internal compiler error: Segmentation fault
Please submit a full bug report,


-- 
           Summary: Bootstrap fails in stage 2 due to segfault compiling c-
                    parser
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tbm at cyrius dot com
 GCC build triplet: mips-linux-gnu
  GCC host triplet: mips-linux-gnu
GCC target triplet: mips-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37395


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug target/37395] Bootstrap fails in stage 2 due to segfault compiling c-parser
  2008-09-06 11:09 [Bug target/37395] New: Bootstrap fails in stage 2 due to segfault compiling c-parser tbm at cyrius dot com
@ 2008-09-06 11:10 ` tbm at cyrius dot com
  2008-09-06 17:51 ` daney at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: tbm at cyrius dot com @ 2008-09-06 11:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from tbm at cyrius dot com  2008-09-06 11:08 -------
Configured with:

--enable-languages=c,c++ --enable-shared --with-system-zlib --disable-nls
--enable-clocale=gnu --enable-libstdcxx-debug --disable-libssp --disable-werror
--build=mips-linux-gnu --host=mips-linux-gnu --target=mips-linux-gnu


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37395


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug target/37395] Bootstrap fails in stage 2 due to segfault compiling c-parser
  2008-09-06 11:09 [Bug target/37395] New: Bootstrap fails in stage 2 due to segfault compiling c-parser tbm at cyrius dot com
  2008-09-06 11:10 ` [Bug target/37395] " tbm at cyrius dot com
@ 2008-09-06 17:51 ` daney at gcc dot gnu dot org
  2008-09-07 17:31 ` daney at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: daney at gcc dot gnu dot org @ 2008-09-06 17:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from daney at gcc dot gnu dot org  2008-09-06 17:50 -------
140035 seems OK:

http://gcc.gnu.org/ml/gcc-testresults/2008-09/msg00503.html

I am now trying 140069.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37395


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug target/37395] Bootstrap fails in stage 2 due to segfault compiling c-parser
  2008-09-06 11:09 [Bug target/37395] New: Bootstrap fails in stage 2 due to segfault compiling c-parser tbm at cyrius dot com
  2008-09-06 11:10 ` [Bug target/37395] " tbm at cyrius dot com
  2008-09-06 17:51 ` daney at gcc dot gnu dot org
@ 2008-09-07 17:31 ` daney at gcc dot gnu dot org
  2008-09-09 19:25 ` tbm at cyrius dot com
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: daney at gcc dot gnu dot org @ 2008-09-07 17:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from daney at gcc dot gnu dot org  2008-09-07 17:30 -------
It is also working on r140069


http://gcc.gnu.org/ml/gcc-testresults/2008-09/msg00612.html


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37395


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug target/37395] Bootstrap fails in stage 2 due to segfault compiling c-parser
  2008-09-06 11:09 [Bug target/37395] New: Bootstrap fails in stage 2 due to segfault compiling c-parser tbm at cyrius dot com
                   ` (2 preceding siblings ...)
  2008-09-07 17:31 ` daney at gcc dot gnu dot org
@ 2008-09-09 19:25 ` tbm at cyrius dot com
  2008-09-09 19:28 ` [Bug target/37395] [4.4 Regression] " pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: tbm at cyrius dot com @ 2008-09-09 19:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from tbm at cyrius dot com  2008-09-09 19:23 -------
I still see the segfault (with 140156).  I'll give you an account on the
machine
tomorrow.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37395


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug target/37395] [4.4 Regression] Bootstrap fails in stage 2 due to segfault compiling c-parser
  2008-09-06 11:09 [Bug target/37395] New: Bootstrap fails in stage 2 due to segfault compiling c-parser tbm at cyrius dot com
                   ` (3 preceding siblings ...)
  2008-09-09 19:25 ` tbm at cyrius dot com
@ 2008-09-09 19:28 ` pinskia at gcc dot gnu dot org
  2008-09-09 19:29 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-09-09 19:28 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
           Keywords|                            |wrong-code
            Summary|Bootstrap fails in stage 2  |[4.4 Regression] Bootstrap
                   |due to segfault compiling c-|fails in stage 2 due to
                   |parser                      |segfault compiling c-parser
   Target Milestone|---                         |4.4.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37395


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug target/37395] [4.4 Regression] Bootstrap fails in stage 2 due to segfault compiling c-parser
  2008-09-06 11:09 [Bug target/37395] New: Bootstrap fails in stage 2 due to segfault compiling c-parser tbm at cyrius dot com
                   ` (4 preceding siblings ...)
  2008-09-09 19:28 ` [Bug target/37395] [4.4 Regression] " pinskia at gcc dot gnu dot org
@ 2008-09-09 19:29 ` pinskia at gcc dot gnu dot org
  2008-09-11 15:37 ` tbm at cyrius dot com
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-09-09 19:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pinskia at gcc dot gnu dot org  2008-09-09 19:28 -------
Maybe related to PR 37424 and all the other IRA ones.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37395


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug target/37395] [4.4 Regression] Bootstrap fails in stage 2 due to segfault compiling c-parser
  2008-09-06 11:09 [Bug target/37395] New: Bootstrap fails in stage 2 due to segfault compiling c-parser tbm at cyrius dot com
                   ` (5 preceding siblings ...)
  2008-09-09 19:29 ` pinskia at gcc dot gnu dot org
@ 2008-09-11 15:37 ` tbm at cyrius dot com
  2008-09-11 21:01 ` nemet at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: tbm at cyrius dot com @ 2008-09-11 15:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from tbm at cyrius dot com  2008-09-11 15:36 -------
Adding Adam Nemet since I see the segfault on a Cavium Octeon based
machine (from Movidis).


-- 

tbm at cyrius dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nemet at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37395


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug target/37395] [4.4 Regression] Bootstrap fails in stage 2 due to segfault compiling c-parser
  2008-09-06 11:09 [Bug target/37395] New: Bootstrap fails in stage 2 due to segfault compiling c-parser tbm at cyrius dot com
                   ` (6 preceding siblings ...)
  2008-09-11 15:37 ` tbm at cyrius dot com
@ 2008-09-11 21:01 ` nemet at gcc dot gnu dot org
  2008-09-11 21:47 ` nemet at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: nemet at gcc dot gnu dot org @ 2008-09-11 21:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from nemet at gcc dot gnu dot org  2008-09-11 21:00 -------
I was able to reproduce this with 140295.  Assigning to myself.


-- 

nemet at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |nemet at gcc dot gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2008-09-11 21:00:14
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37395


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug target/37395] [4.4 Regression] Bootstrap fails in stage 2 due to segfault compiling c-parser
  2008-09-06 11:09 [Bug target/37395] New: Bootstrap fails in stage 2 due to segfault compiling c-parser tbm at cyrius dot com
                   ` (7 preceding siblings ...)
  2008-09-11 21:01 ` nemet at gcc dot gnu dot org
@ 2008-09-11 21:47 ` nemet at gcc dot gnu dot org
  2008-09-11 21:49 ` pinskia at gcc dot gnu dot org
  2008-09-12 14:27 ` jakub at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: nemet at gcc dot gnu dot org @ 2008-09-11 21:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from nemet at gcc dot gnu dot org  2008-09-11 21:46 -------
It's caused by this http://gcc.gnu.org/ml/gcc-patches/2008-08/msg02376.html. 
In this hunk:

@@ -1901,7 +1904,8 @@ noce_try_sign_mask (struct noce_if_info  
      INSN_B which can happen for e.g. conditional stores to memory.  */ 
   b_unconditional = (if_info->insn_b == NULL_RTX 
                     || BLOCK_FOR_INSN (if_info->insn_b) == if_info->test_bb); 
-  if (rtx_cost (t, SET) >= COSTS_N_INSNS (2) 
+  if (rtx_cost (t, SET, optimize_bb_for_speed_p (BLOCK_FOR_INSN
(if_info->insn_b))) 
+      >= COSTS_N_INSNS (2) 
       && (!b_unconditional 
           || t != if_info->b)) 
     return FALSE; 

if_info->insn_b is allowed to be null.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37395


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug target/37395] [4.4 Regression] Bootstrap fails in stage 2 due to segfault compiling c-parser
  2008-09-06 11:09 [Bug target/37395] New: Bootstrap fails in stage 2 due to segfault compiling c-parser tbm at cyrius dot com
                   ` (8 preceding siblings ...)
  2008-09-11 21:47 ` nemet at gcc dot gnu dot org
@ 2008-09-11 21:49 ` pinskia at gcc dot gnu dot org
  2008-09-12 14:27 ` jakub at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-09-11 21:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from pinskia at gcc dot gnu dot org  2008-09-11 21:48 -------
I think this is the same bug as PR 37483.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37395


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug target/37395] [4.4 Regression] Bootstrap fails in stage 2 due to segfault compiling c-parser
  2008-09-06 11:09 [Bug target/37395] New: Bootstrap fails in stage 2 due to segfault compiling c-parser tbm at cyrius dot com
                   ` (9 preceding siblings ...)
  2008-09-11 21:49 ` pinskia at gcc dot gnu dot org
@ 2008-09-12 14:27 ` jakub at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-09-12 14:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from jakub at gcc dot gnu dot org  2008-09-12 14:26 -------


*** This bug has been marked as a duplicate of 37483 ***


-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37395


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2008-09-12 14:27 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-06 11:09 [Bug target/37395] New: Bootstrap fails in stage 2 due to segfault compiling c-parser tbm at cyrius dot com
2008-09-06 11:10 ` [Bug target/37395] " tbm at cyrius dot com
2008-09-06 17:51 ` daney at gcc dot gnu dot org
2008-09-07 17:31 ` daney at gcc dot gnu dot org
2008-09-09 19:25 ` tbm at cyrius dot com
2008-09-09 19:28 ` [Bug target/37395] [4.4 Regression] " pinskia at gcc dot gnu dot org
2008-09-09 19:29 ` pinskia at gcc dot gnu dot org
2008-09-11 15:37 ` tbm at cyrius dot com
2008-09-11 21:01 ` nemet at gcc dot gnu dot org
2008-09-11 21:47 ` nemet at gcc dot gnu dot org
2008-09-11 21:49 ` pinskia at gcc dot gnu dot org
2008-09-12 14:27 ` jakub 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).