public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/41401]  New: Graphite branch broken after merge
@ 2009-09-18 16:54 spop at gcc dot gnu dot org
  2009-09-18 17:20 ` [Bug bootstrap/41401] " spop at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: spop at gcc dot gnu dot org @ 2009-09-18 16:54 UTC (permalink / raw)
  To: gcc-bugs

After the merge from trunk into the Graphite branch:
svn://gcc.gnu.org/svn/gcc/branches/graphite@151820
the bootstrap failed:
http://groups.google.com/group/gcc-graphite-test/browse_thread/thread/515ac3ca06085582
http://groups.google.com/group/gcc-graphite-test/browse_thread/thread/738b8f8bde0a1b90

A backtrace for the libstdc++ fail in futures.cc is like this:
(gdb) bt
#0  0x0000000000877703 in add_loc_descr (list_head=0x7fff859e83e8,
descr=0x7f03798e1ac0) at ../../gcc/dwarf2out.c:4613
#1  0x00000000008862b4 in loc_by_reference (loc=0x7f037b1fc000,
decl=0x7f037ac38a80) at ../../gcc/dwarf2out.c:12070
#2  0x000000000088bbb4 in add_location_or_const_value_attribute
(die=0x7f03798d3780, decl=0x7f037ac38a80, attr=DW_AT_location) at
../../gcc/dwarf2out.c:13847
#3  0x0000000000893c6c in gen_variable_die (decl=0x7f037ac38a80, origin=0x0,
context_die=0x7f03798d3660) at ../../gcc/dwarf2out.c:16129
#4  0x0000000000898869 in gen_decl_die (decl=0x7f037ac38a80, origin=0x0,
context_die=0x7f03798d3660) at ../../gcc/dwarf2out.c:17388
#5  0x000000000089283b in gen_subprogram_die (decl=0x7f0379d75700,
context_die=0x7f037b8872a0) at ../../gcc/dwarf2out.c:15850
#6  0x00000000008984cb in gen_decl_die (decl=0x7f0379d75700,
origin=0x7f037a069c00, context_die=0x7f037b8872a0) at
../../gcc/dwarf2out.c:17323
#7  0x0000000000899a7f in dwarf2out_decl (decl=0x7f0379d75700) at
../../gcc/dwarf2out.c:17694
#8  0x00000000008fd91c in rest_of_handle_final () at ../../gcc/final.c:4284
#9  0x0000000000a9bbb2 in execute_one_pass (pass=0x1721600) at
../../gcc/passes.c:1295
#10 0x0000000000a9bdf9 in execute_pass_list (pass=0x1721600) at
../../gcc/passes.c:1344
#11 0x0000000000a9be17 in execute_pass_list (pass=0x17a2e80) at
../../gcc/passes.c:1345
#12 0x0000000000a9be17 in execute_pass_list (pass=0x17a2e20) at
../../gcc/passes.c:1345
#13 0x0000000000c0d69c in tree_rest_of_compilation (fndecl=0x7f0379d75700) at
../../gcc/tree-optimize.c:389
#14 0x0000000000e34418 in cgraph_expand_function (node=0x7f0379d75e00) at
../../gcc/cgraphunit.c:1158
#15 0x0000000000e345c8 in cgraph_expand_all_functions () at
../../gcc/cgraphunit.c:1217
#16 0x0000000000e34bb1 in cgraph_optimize () at ../../gcc/cgraphunit.c:1440
#17 0x0000000000e3410e in cgraph_finalize_compilation_unit () at
../../gcc/cgraphunit.c:1087
#18 0x00000000005f9ae1 in cp_write_global_declarations () at
../../gcc/cp/decl2.c:3728
#19 0x0000000000b91308 in compile_file () at ../../gcc/toplev.c:1052
#20 0x0000000000b936c3 in do_compile () at ../../gcc/toplev.c:2416
#21 0x0000000000b93784 in toplev_main (argc=13, argv=0x7fff859e9258) at
../../gcc/toplev.c:2458
#22 0x000000000079cfd3 in main (argc=13, argv=0x7fff859e9258) at
../../gcc/main.c:35

This makes me think that this could have been broken by the VTA.
Alex, could you please have a look at this?

Thanks,
Sebastian


-- 
           Summary: Graphite branch broken after merge
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: spop at gcc dot gnu dot org


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


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

* [Bug bootstrap/41401] Graphite branch broken after merge
  2009-09-18 16:54 [Bug bootstrap/41401] New: Graphite branch broken after merge spop at gcc dot gnu dot org
@ 2009-09-18 17:20 ` spop at gcc dot gnu dot org
  2009-09-20 19:53 ` spop at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: spop at gcc dot gnu dot org @ 2009-09-18 17:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from spop at gcc dot gnu dot org  2009-09-18 17:19 -------
Reverting the patch from Honza at -r151806:151807 fixes the futures.cc ICE:

2009-09-17  Jan Hubicka  <jh@suse.cz>

       * dwarf2out.c: Include tree-pass.h and gimple.h.
       (loc_list_plus_const): New function.
       (loc_descriptor_from_tree_1): Rename to ...
       (loc_descriptor_from_tree): ... remove original.
       (loc_list_from_tree): New function.
       (add_AT_location_description): Accept location list.
       (tls_mem_loc_descriptor): Update call of loc_descriptor_from_tree.
       (concatn_mem_loc_descriptor): Remove.
       (mem_loc_descriptor): Handle CONCAT/CONCATN and VAR_LOCATION by
       returning NULL.
       (secname_for_decl): Move up.
       (hidden_reference_p): New function; break out from ...
       (loc_by_refernece): ... here; move up.
       (dw_loc_list): New function.
       (single_element_loc_list): New function.
       (single_element_loc_list_p): New function.
       (add_loc_descr_to_each): New function.
       (add_loc_list): New function.
       (loc_descr_from_tree): Make wraper of loc_list_from_tree.
       (loc_list_from_tree): Reroganized from loc_descr_from_tree;
       add diagnostics why expansion failed.
       (add_location_or_const_value_attribute): Support location lists.
       (add_bound_info): Likewise.
       (descr_info_loc): Update call of loc_descriptor_from_tree.
       (gen_variable_die): Work on location lists.
       * final.c (pass_final): Add dump file.
       * Makefile.in (dwarf2out.o): Add new dependencies.


-- 


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


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

* [Bug bootstrap/41401] Graphite branch broken after merge
  2009-09-18 16:54 [Bug bootstrap/41401] New: Graphite branch broken after merge spop at gcc dot gnu dot org
  2009-09-18 17:20 ` [Bug bootstrap/41401] " spop at gcc dot gnu dot org
@ 2009-09-20 19:53 ` spop at gcc dot gnu dot org
  2009-09-20 20:22 ` rguenth at gcc dot gnu dot org
  2009-11-30 17:01 ` [Bug bootstrap/41401] VTA breaks bootstrap with graphite enabled spop at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: spop at gcc dot gnu dot org @ 2009-09-20 19:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from spop at gcc dot gnu dot org  2009-09-20 19:52 -------
The patch svn://gcc.gnu.org/svn/gcc/trunk@151362 breaks bootstrap with graphite
enabled.

2009-09-03  Alexandre Oliva  <aoliva@redhat.com>

        * toplev.c (process_options): Enable var-tracking-assignments
        by default if var-tracking is enabled.


-- 

spop at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-09-20 19:52:48
               date|                            |


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


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

* [Bug bootstrap/41401] Graphite branch broken after merge
  2009-09-18 16:54 [Bug bootstrap/41401] New: Graphite branch broken after merge spop at gcc dot gnu dot org
  2009-09-18 17:20 ` [Bug bootstrap/41401] " spop at gcc dot gnu dot org
  2009-09-20 19:53 ` spop at gcc dot gnu dot org
@ 2009-09-20 20:22 ` rguenth at gcc dot gnu dot org
  2009-11-30 17:01 ` [Bug bootstrap/41401] VTA breaks bootstrap with graphite enabled spop at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-09-20 20:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rguenth at gcc dot gnu dot org  2009-09-20 20:22 -------
it just means that graphite doesn't properly deal with DEBUG_STMTs and thus
different code is generated with/without -g.


-- 


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


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

* [Bug bootstrap/41401] VTA breaks bootstrap with graphite enabled
  2009-09-18 16:54 [Bug bootstrap/41401] New: Graphite branch broken after merge spop at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2009-09-20 20:22 ` rguenth at gcc dot gnu dot org
@ 2009-11-30 17:01 ` spop at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: spop at gcc dot gnu dot org @ 2009-11-30 17:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from spop at gcc dot gnu dot org  2009-11-30 17:00 -------
Fixed.


-- 

spop at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2009-11-30 17:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-18 16:54 [Bug bootstrap/41401] New: Graphite branch broken after merge spop at gcc dot gnu dot org
2009-09-18 17:20 ` [Bug bootstrap/41401] " spop at gcc dot gnu dot org
2009-09-20 19:53 ` spop at gcc dot gnu dot org
2009-09-20 20:22 ` rguenth at gcc dot gnu dot org
2009-11-30 17:01 ` [Bug bootstrap/41401] VTA breaks bootstrap with graphite enabled spop 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).