public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug regression/52515] New: [4.8 Regression]: build fails on cris-elf in unwind-dw2.c
@ 2012-03-06 21:38 hp at gcc dot gnu.org
  2012-03-06 21:42 ` [Bug regression/52515] " pinskia at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: hp at gcc dot gnu.org @ 2012-03-06 21:38 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 52515
           Summary: [4.8 Regression]: build fails on cris-elf in
                    unwind-dw2.c
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Keywords: build, ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: regression
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: hp@gcc.gnu.org
                CC: rsandifo@gcc.gnu.org
              Host: x86_64-unknown-linux-gnu
            Target: cris-axis-elf


Created attachment 26844
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26844
repeat with e.g. cc1 -fpreprocessed unwind-dw2.i -O2 -o unwind-dw2.s

A patch in the revision range (last_known_working:first_known_failing)
184997:185014 caused the build for cris-elf to fail as follows:

/tmp/hpautotest-gcc1/cris-elf/gccobj/./gcc/xgcc
-B/tmp/hpautotest-gcc1/cris-elf/gccobj/./gcc/ -nostdinc
-B/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/newlib/ -isystem
/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/newlib/targ-include -isystem
/tmp/hpautotest-gcc1/gcc/newlib/libc/include
-B/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/libgloss/cris
-L/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/libgloss/libnosys
-L/tmp/hpautotest-gcc1/gcc/libgloss/cris
-B/tmp/hpautotest-gcc1/cris-elf/pre/cris-elf/bin/
-B/tmp/hpautotest-gcc1/cris-elf/pre/cris-elf/lib/ -isystem
/tmp/hpautotest-gcc1/cris-elf/pre/cris-elf/include -isystem
/tmp/hpautotest-gcc1/cris-elf/pre/cris-elf/sys-include    -g -O2 -march=v10
-mbest-lib-options -O2  -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall
-Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition  -isystem ./include   -g -DIN_LIBGCC2 -fbuilding-libgcc
-fno-stack-protector -Dinhibit_libc  -I. -I. -I../../.././gcc
-I/tmp/hpautotest-gcc1/gcc/libgcc -I/tmp/hpautotest-gcc1/gcc/libgcc/.
-I/tmp/hpautotest-gcc1/gcc/libgcc/../gcc
-I/tmp/hpautotest-gcc1/gcc/libgcc/../include  -DHAVE_CC_TLS -DUSE_EMUTLS -o
unwind-dw2.o -MT unwind-dw2.o -MD -MP -MF unwind-dw2.dep -fexceptions -c
/tmp/hpautotest-gcc1/gcc/libgcc/unwind-dw2.c 
In file included from /tmp/hpautotest-gcc1/gcc/libgcc/unwind-dw2.c:36:0:
/tmp/hpautotest-gcc1/gcc/libgcc/unwind-pe.h: In function 'read_sleb128':
/tmp/hpautotest-gcc1/gcc/libgcc/unwind-pe.h:174:1: internal compiler error:
Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[4]: *** [unwind-dw2.o] Error 1
make[4]: Leaving directory
`/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/v10/libgcc'

Preprocessed unwind-dw2.c attached.

Author of one or more suspect patches in revision range CC:ed.


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

* [Bug regression/52515] [4.8 Regression]: build fails on cris-elf in unwind-dw2.c
  2012-03-06 21:38 [Bug regression/52515] New: [4.8 Regression]: build fails on cris-elf in unwind-dw2.c hp at gcc dot gnu.org
@ 2012-03-06 21:42 ` pinskia at gcc dot gnu.org
  2012-03-06 22:19 ` hp at gcc dot gnu.org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-03-06 21:42 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|cris-axis-elf               |cris-axis-elf,
                   |                            |x86_64-unknown-linux-gnu
   Target Milestone|---                         |4.8.0

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-03-06 21:42:28 UTC ---
This fails on x86_64 too.
http://gcc.gnu.org/ml/gcc-regression/2012-03/msg00062.html


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

* [Bug regression/52515] [4.8 Regression]: build fails on cris-elf in unwind-dw2.c
  2012-03-06 21:38 [Bug regression/52515] New: [4.8 Regression]: build fails on cris-elf in unwind-dw2.c hp at gcc dot gnu.org
  2012-03-06 21:42 ` [Bug regression/52515] " pinskia at gcc dot gnu.org
@ 2012-03-06 22:19 ` hp at gcc dot gnu.org
  2012-03-06 22:36 ` [Bug middle-end/52515] " hp at gcc dot gnu.org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: hp at gcc dot gnu.org @ 2012-03-06 22:19 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Hans-Peter Nilsson <hp at gcc dot gnu.org> 2012-03-06 22:19:03 UTC ---
It's obviously the change in how/when cc0 is created:
(gdb) r -O2 -fpreprocessed unwind-dw2.i                                         
Starting program: /tmp/hpautotest-gcc1/cris-elf/gccobj/gcc/cc1 -O2
-fpreprocessed unwind-dw2.i                          
 size_of_encoded_value base_of_encoded_value read_uleb128 read_sleb128
read_encoded_value_with_base read_encoded_value g
et_cie next_fde last_fde __gthread_active_p __gthread_once __gthread_key_create
__gthread_key_delete __gthread_getspecif
ic __gthread_setspecific __gthread_mutex_destroy __gthread_mutex_lock
__gthread_mutex_trylock __gthread_mutex_unlock __g
thread_recursive_mutex_lock __gthread_recursive_mutex_trylock
__gthread_recursive_mutex_unlock _Unwind_Get_Unwind_Word _
Unwind_Get_Unwind_Context_Reg_Val read_pointer read_1u read_1s read_2u read_2s
read_4u read_4s read_8u read_8s _Unwind_I
sSignalFrame _Unwind_SetSignalFrame _Unwind_IsExtendedContext _Unwind_GetGR
_Unwind_GetPtr _Unwind_GetCFA _Unwind_SetGR 
_Unwind_GetGRPtr _Unwind_SetGRPtr _Unwind_SetGRValue _Unwind_GRByValue
_Unwind_GetIP _Unwind_GetIPInfo _Unwind_SetIP _Unwind_GetLanguageSpecificData
_Unwind_GetRegionStart _Unwind_FindEnclosingFunction _Unwind_GetDataRelBase
_Unwind_GetTextRelBase extract_cie_info execute_stack_op execute_cfa_program
uw_frame_state_for __frame_state_for _Unwind_SetSpColumn uw_update_context_1
uw_update_context uw_advance_context init_dwarf_reg_size_table
uw_init_context_1 _Unwind_DebugHook uw_install_context_1 uw_identify_context
_Unwind_RaiseException_Phase2 _Unwind_RaiseException
_Unwind_ForcedUnwind_Phase2 _Unwind_ForcedUnwind _Unwind_Resume
_Unwind_Resume_or_Rethrow _Unwind_DeleteException _Unwind_Backtrace
Analyzing compilation unit
Performing interprocedural optimizations
 <*free_lang_data> <visibility> <early_local_cleanups> <emutls> <whole-program>
<profile_estimate> <cp> <inline> <pure-const> <static-var>Assembling functions:
 read_sleb128 read_encoded_value_with_base base_of_encoded_value
execute_stack_op execute_cfa_program {GC 5333k -> 2776k}
Program received signal SIGSEGV, Segmentation fault.
0x0000000000a45611 in for_each_rtx_1 (exp=0x7ffff7dc90b8, n=1769435949,
f=0x9452f5 <returnjump_p_1>, data=0x0)
    at /tmp/hpautotest-gcc1/gcc/gcc/rtlanal.c:2837
2837      for (; format[n] != '\0'; n++)
Missing separate debuginfos, use: debuginfo-install glibc-2.11.1-1.x86_64
(gdb) bt
#0  0x0000000000a45611 in for_each_rtx_1 (exp=0x7ffff7dc90b8, n=1769435949,
f=0x9452f5 <returnjump_p_1>, data=0x0)
    at /tmp/hpautotest-gcc1/gcc/gcc/rtlanal.c:2837
#1  0x0000000000a454f6 in for_each_rtx_1 (exp=0x7ffff7da76c0, n=0, f=0x9452f5
<returnjump_p_1>, data=0x0)
    at /tmp/hpautotest-gcc1/gcc/gcc/rtlanal.c:2859
#2  0x0000000000a456c1 in for_each_rtx (x=0x7ffff7befed8, f=0x9452f5
<returnjump_p_1>, data=0x0)
    at /tmp/hpautotest-gcc1/gcc/gcc/rtlanal.c:2940
#3  0x00000000009453c8 in returnjump_p (insn=0x7ffff7befeb0) at
/tmp/hpautotest-gcc1/gcc/gcc/jump.c:935
#4  0x0000000000622f5f in purge_dead_edges (bb=0x7ffff7c3d958) at
/tmp/hpautotest-gcc1/gcc/gcc/cfgrtl.c:2326
#5  0x0000000000e37ab3 in find_bb_boundaries (bb=0x7ffff7c3d958) at
/tmp/hpautotest-gcc1/gcc/gcc/cfgbuild.c:529
#6  0x0000000000e37e95 in find_many_sub_basic_blocks (blocks=0x15a7640) at
/tmp/hpautotest-gcc1/gcc/gcc/cfgbuild.c:594
#7  0x000000000060af69 in gimple_expand_cfg () at
/tmp/hpautotest-gcc1/gcc/gcc/cfgexpand.c:4609
#8  0x00000000009c1167 in execute_one_pass (pass=0x142d6e0) at
/tmp/hpautotest-gcc1/gcc/gcc/passes.c:2084
#9  0x00000000009c1355 in execute_pass_list (pass=0x142d6e0) at
/tmp/hpautotest-gcc1/gcc/gcc/passes.c:2139
#10 0x0000000000b3ef14 in tree_rest_of_compilation (fndecl=0x7ffff7f8c800)
    at /tmp/hpautotest-gcc1/gcc/gcc/tree-optimize.c:422
#11 0x00000000006381d7 in cgraph_expand_function (node=0x7ffff7f8ad80)
    at /tmp/hpautotest-gcc1/gcc/gcc/cgraphunit.c:1837
#12 0x00000000006383a2 in cgraph_expand_all_functions () at
/tmp/hpautotest-gcc1/gcc/gcc/cgraphunit.c:1904
#13 0x0000000000638ee8 in cgraph_optimize () at
/tmp/hpautotest-gcc1/gcc/gcc/cgraphunit.c:2218
#14 0x0000000000635e76 in cgraph_finalize_compilation_unit () at
/tmp/hpautotest-gcc1/gcc/gcc/cgraphunit.c:1344
#15 0x0000000000496735 in c_write_global_declarations () at
/tmp/hpautotest-gcc1/gcc/gcc/c-decl.c:10032
#16 0x0000000000a88f16 in compile_file () at
/tmp/hpautotest-gcc1/gcc/gcc/toplev.c:573
#17 0x0000000000a8b27a in do_compile () at
/tmp/hpautotest-gcc1/gcc/gcc/toplev.c:1937
#18 0x0000000000a8b3f1 in toplev_main (argc=4, argv=0x7fffffffe128) at
/tmp/hpautotest-gcc1/gcc/gcc/toplev.c:2013
#19 0x0000000000566300 in main (argc=4, argv=0x7fffffffe128) at
/tmp/hpautotest-gcc1/gcc/gcc/main.c:36
(gdb) p format
$1 = 0x10ab22c "=*3,r"
(gdb) p exp
$2 = (rtx) 0x7ffff7dc90b8
(gdb) pr
(??? bad code 42405
)
(gdb) up
#1  0x0000000000a454f6 in for_each_rtx_1 (exp=0x7ffff7da76c0, n=0, f=0x9452f5
<returnjump_p_1>, data=0x0)
    at /tmp/hpautotest-gcc1/gcc/gcc/rtlanal.c:2859
2859                  result = for_each_rtx_1 (*x, i, f, data);
(gdb) p exp
$3 = (rtx) 0x7ffff7da76c0
(gdb) pr
(set (??? bad code 42405
    ) 
    (if_then_else (ltu (??? bad code 42405
            )
            (const_int 0 [0]))
        (label_ref 100)
        (??? bad code 42405
        )))


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

* [Bug middle-end/52515] [4.8 Regression]: build fails on cris-elf in unwind-dw2.c
  2012-03-06 21:38 [Bug regression/52515] New: [4.8 Regression]: build fails on cris-elf in unwind-dw2.c hp at gcc dot gnu.org
  2012-03-06 21:42 ` [Bug regression/52515] " pinskia at gcc dot gnu.org
  2012-03-06 22:19 ` hp at gcc dot gnu.org
@ 2012-03-06 22:36 ` hp at gcc dot gnu.org
  2012-03-06 22:38 ` [Bug middle-end/52515] [4.8 Regression]: build fails on cris-elf in unwind-dw2.c, x86_64-unknown-linux-gnu in bid_binarydecimal.c hp at gcc dot gnu.org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: hp at gcc dot gnu.org @ 2012-03-06 22:36 UTC (permalink / raw)
  To: gcc-bugs

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

Hans-Peter Nilsson <hp at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|regression                  |middle-end

--- Comment #3 from Hans-Peter Nilsson <hp at gcc dot gnu.org> 2012-03-06 22:35:37 UTC ---
Better labeled middle-end.


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

* [Bug middle-end/52515] [4.8 Regression]: build fails on cris-elf in unwind-dw2.c,  x86_64-unknown-linux-gnu in bid_binarydecimal.c
  2012-03-06 21:38 [Bug regression/52515] New: [4.8 Regression]: build fails on cris-elf in unwind-dw2.c hp at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2012-03-06 22:36 ` [Bug middle-end/52515] " hp at gcc dot gnu.org
@ 2012-03-06 22:38 ` hp at gcc dot gnu.org
  2012-03-07  9:36 ` rsandifo at gcc dot gnu.org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: hp at gcc dot gnu.org @ 2012-03-06 22:38 UTC (permalink / raw)
  To: gcc-bugs

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

Hans-Peter Nilsson <hp at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2012-03-06
     Ever Confirmed|0                           |1


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

* [Bug middle-end/52515] [4.8 Regression]: build fails on cris-elf in unwind-dw2.c,  x86_64-unknown-linux-gnu in bid_binarydecimal.c
  2012-03-06 21:38 [Bug regression/52515] New: [4.8 Regression]: build fails on cris-elf in unwind-dw2.c hp at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2012-03-06 22:38 ` [Bug middle-end/52515] [4.8 Regression]: build fails on cris-elf in unwind-dw2.c, x86_64-unknown-linux-gnu in bid_binarydecimal.c hp at gcc dot gnu.org
@ 2012-03-07  9:36 ` rsandifo at gcc dot gnu.org
  2012-03-07  9:53 ` rsandifo at gcc dot gnu.org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rsandifo at gcc dot gnu.org @ 2012-03-07  9:36 UTC (permalink / raw)
  To: gcc-bugs

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

rsandifo@gcc.gnu.org <rsandifo at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|unassigned at gcc dot       |rsandifo at gcc dot gnu.org
                   |gnu.org                     |

--- Comment #4 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> 2012-03-07 09:35:50 UTC ---
Oops.


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

* [Bug middle-end/52515] [4.8 Regression]: build fails on cris-elf in unwind-dw2.c,  x86_64-unknown-linux-gnu in bid_binarydecimal.c
  2012-03-06 21:38 [Bug regression/52515] New: [4.8 Regression]: build fails on cris-elf in unwind-dw2.c hp at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2012-03-07  9:36 ` rsandifo at gcc dot gnu.org
@ 2012-03-07  9:53 ` rsandifo at gcc dot gnu.org
  2012-03-07  9:56 ` rsandifo at gcc dot gnu.org
  2012-03-07 22:12 ` vries at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: rsandifo at gcc dot gnu.org @ 2012-03-07  9:53 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> 2012-03-07 09:50:41 UTC ---
Author: rsandifo
Date: Wed Mar  7 09:50:36 2012
New Revision: 185028

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=185028
Log:
gcc/
    PR middle-end/52515
    * rtl.h (pc_rtx, cc0_rtx, ret_rtx, simple_return_rtx): Add GTY markers.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/rtl.h


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

* [Bug middle-end/52515] [4.8 Regression]: build fails on cris-elf in unwind-dw2.c,  x86_64-unknown-linux-gnu in bid_binarydecimal.c
  2012-03-06 21:38 [Bug regression/52515] New: [4.8 Regression]: build fails on cris-elf in unwind-dw2.c hp at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2012-03-07  9:53 ` rsandifo at gcc dot gnu.org
@ 2012-03-07  9:56 ` rsandifo at gcc dot gnu.org
  2012-03-07 22:12 ` vries at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: rsandifo at gcc dot gnu.org @ 2012-03-07  9:56 UTC (permalink / raw)
  To: gcc-bugs

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

rsandifo@gcc.gnu.org <rsandifo at gcc dot gnu.org> changed:

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

--- Comment #6 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> 2012-03-07 09:54:54 UTC ---
Fixed.


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

* [Bug middle-end/52515] [4.8 Regression]: build fails on cris-elf in unwind-dw2.c,  x86_64-unknown-linux-gnu in bid_binarydecimal.c
  2012-03-06 21:38 [Bug regression/52515] New: [4.8 Regression]: build fails on cris-elf in unwind-dw2.c hp at gcc dot gnu.org
                   ` (6 preceding siblings ...)
  2012-03-07  9:56 ` rsandifo at gcc dot gnu.org
@ 2012-03-07 22:12 ` vries at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: vries at gcc dot gnu.org @ 2012-03-07 22:12 UTC (permalink / raw)
  To: gcc-bugs

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

vries at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vries at gcc dot gnu.org

--- Comment #7 from vries at gcc dot gnu.org 2012-03-07 22:11:15 UTC ---
*** Bug 52524 has been marked as a duplicate of this bug. ***


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

end of thread, other threads:[~2012-03-07 22:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-06 21:38 [Bug regression/52515] New: [4.8 Regression]: build fails on cris-elf in unwind-dw2.c hp at gcc dot gnu.org
2012-03-06 21:42 ` [Bug regression/52515] " pinskia at gcc dot gnu.org
2012-03-06 22:19 ` hp at gcc dot gnu.org
2012-03-06 22:36 ` [Bug middle-end/52515] " hp at gcc dot gnu.org
2012-03-06 22:38 ` [Bug middle-end/52515] [4.8 Regression]: build fails on cris-elf in unwind-dw2.c, x86_64-unknown-linux-gnu in bid_binarydecimal.c hp at gcc dot gnu.org
2012-03-07  9:36 ` rsandifo at gcc dot gnu.org
2012-03-07  9:53 ` rsandifo at gcc dot gnu.org
2012-03-07  9:56 ` rsandifo at gcc dot gnu.org
2012-03-07 22:12 ` vries 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).