public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ipa/64447] New: [5 Regression] FAIL: gcc.dg/vect/slp-9.c
@ 2014-12-30 16:30 hjl.tools at gmail dot com
  2014-12-30 16:39 ` [Bug ipa/64447] " dje at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: hjl.tools at gmail dot com @ 2014-12-30 16:30 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64447

            Bug ID: 64447
           Summary: [5 Regression] FAIL: gcc.dg/vect/slp-9.c
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ipa
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
                CC: hubicka at ucw dot cz

On Linux/ia32, r219108 caused:

FAIL: gcc.dg/vect/slp-9.c -flto -ffat-lto-objects  scan-tree-dump-times vect
"vectorized 1 loops" 1
FAIL: gcc.dg/vect/slp-9.c -flto -ffat-lto-objects  scan-tree-dump-times vect
"vectorizing stmts using SLP" 1
FAIL: gcc.dg/vect/slp-9.c scan-tree-dump-times vect "vectorized 1 loops" 1
FAIL: gcc.dg/vect/slp-9.c scan-tree-dump-times vect "vectorizing stmts using
SLP" 1


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

* [Bug ipa/64447] [5 Regression] FAIL: gcc.dg/vect/slp-9.c
  2014-12-30 16:30 [Bug ipa/64447] New: [5 Regression] FAIL: gcc.dg/vect/slp-9.c hjl.tools at gmail dot com
@ 2014-12-30 16:39 ` dje at gcc dot gnu.org
  2014-12-30 19:53 ` dje at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: dje at gcc dot gnu.org @ 2014-12-30 16:39 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64447

David Edelsohn <dje at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-12-30
                 CC|                            |dje at gcc dot gnu.org
   Target Milestone|---                         |5.0
     Ever confirmed|0                           |1
           Severity|normal                      |blocker

--- Comment #1 from David Edelsohn <dje at gcc dot gnu.org> ---
Confirmed.

This causes bootstrap failure on AIX.

src/src/libstdc++-v3/src/c++11/system_error.cc:179:1: internal
 compiler error: in operator[], at vec.h:736
 } // namespace
 ^


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

* [Bug ipa/64447] [5 Regression] FAIL: gcc.dg/vect/slp-9.c
  2014-12-30 16:30 [Bug ipa/64447] New: [5 Regression] FAIL: gcc.dg/vect/slp-9.c hjl.tools at gmail dot com
  2014-12-30 16:39 ` [Bug ipa/64447] " dje at gcc dot gnu.org
@ 2014-12-30 19:53 ` dje at gcc dot gnu.org
  2014-12-30 20:23 ` danglin at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: dje at gcc dot gnu.org @ 2014-12-30 19:53 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64447

--- Comment #2 from David Edelsohn <dje at gcc dot gnu.org> ---
Analyzing compilation unit
Performing interprocedural optimizations
 <*free_lang_data> <visibility> <build_ssa_passes> <chkp_passes>
<opt_local_passes> <free-inline-summary> <whole-program> <profile_estimate>
<icf> <devirt> <cp> <cdtor> <inline>
/home/dje/src/src/libstdc++-v3/src/c++98/bitmap_allocator.cc: At global scope:
/home/dje/src/src/libstdc++-v3/src/c++98/bitmap_allocator.cc:127:1: internal
compiler error: in inline_merge_summary, at ipa-inline-analysis.c:3611
 } // namespace
 ^

#0  _Z11fancy_abortPKciS0_ (
    file=0x122ab320 <internal_fn_flags_array+34512>
"/home/dje/src/src/gcc/ipa-inline-analysis.c", line=3611, 
    function=0x122ac260 <internal_fn_flags_array+38416> "inline_merge_summary")
    at /home/dje/src/src/gcc/diagnostic.c:1288
#1  0x10e5ff5c in _Z20inline_merge_summaryP11cgraph_edge (edge=0x70404480)
    at /home/dje/src/src/gcc/ipa-inline-analysis.c:3611
#2  0x11a26db4 in _Z11inline_callP11cgraph_edgebP3vecIS0_7va_heap6vl_ptrEPibPb
    (e=0x70404480, update_original=true, new_edges=<incomplete type>, 
    overall_size=0x30494f2c <_ipainline.bss_>, update_overall_summary=true, 
    callee_removed=0x0) at /home/dje/src/src/gcc/ipa-inline-transform.c:326
#3  0x10fd7694 in _ZL22inline_small_functionsv ()
    at /home/dje/src/src/gcc/ipa-inline.c:1813
#4  0x10fd8ebc in _ZL10ipa_inlinev ()
    at /home/dje/src/src/gcc/ipa-inline.c:2185
#5  0x10fda344 in
_ZN50_GLOBAL__N__Z20speculation_useful_pP11cgraph_edgeb15pass_ipa_inline7executeEP8function
(this=0x304cfc28)
    at /home/dje/src/src/gcc/ipa-inline.c:2558
#6  0x101a4350 in _Z16execute_one_passP8opt_pass (pass=0x304cfc28)
    at /home/dje/src/src/gcc/passes.c:2311
#7  0x101a5924 in _Z21execute_ipa_pass_listP8opt_pass (pass=0x304cfc28)
    at /home/dje/src/src/gcc/passes.c:2708
#8  0x10d9f654 in _ZL10ipa_passesv ()
    at /home/dje/src/src/gcc/cgraphunit.c:2124
#9  0x10d9faf8 in _ZN12symbol_table7compileEv (this=0x7000a000)
    at /home/dje/src/src/gcc/cgraphunit.c:2212
#10 0x10da0074 in _ZN12symbol_table25finalize_compilation_unitEv (
    this=0x7000a000) at /home/dje/src/src/gcc/cgraphunit.c:2361
#11 0x106b9078 in _Z28cp_write_global_declarationsv ()
    at /home/dje/src/src/gcc/cp/decl2.c:4742
#12 0x10002ca8 in _ZL12compile_filev () at /home/dje/src/src/gcc/toplev.c:584
#13 0x10006648 in _ZL10do_compilev () at /home/dje/src/src/gcc/toplev.c:2018
#14 0x10006a10 in _ZN6toplev4mainEiPPc (this=0x2ff22ab8, argc=7, 
    argv=0x2ff22b68) at /home/dje/src/src/gcc/toplev.c:2115
#15 0x10000740 in main (argc=7, argv=0x2ff22b68)
    at /home/dje/src/src/gcc/main.c:38


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

* [Bug ipa/64447] [5 Regression] FAIL: gcc.dg/vect/slp-9.c
  2014-12-30 16:30 [Bug ipa/64447] New: [5 Regression] FAIL: gcc.dg/vect/slp-9.c hjl.tools at gmail dot com
  2014-12-30 16:39 ` [Bug ipa/64447] " dje at gcc dot gnu.org
  2014-12-30 19:53 ` dje at gcc dot gnu.org
@ 2014-12-30 20:23 ` danglin at gcc dot gnu.org
  2014-12-30 20:50 ` hubicka at ucw dot cz
  2014-12-30 23:52 ` trippels at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: danglin at gcc dot gnu.org @ 2014-12-30 20:23 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64447

John David Anglin <danglin at gcc dot gnu.org> changed:

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

--- Comment #3 from John David Anglin <danglin at gcc dot gnu.org> ---
And ICE on hppa2.0w-hp-hpux11.11:

libtool: compile:  /test/gnu/gcc/objdir/./gcc/xgcc -shared-libgcc
-B/test/gnu/gc
c/objdir/./gcc -nostdinc++
-L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc+
+-v3/src -L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/src/.libs
-L/
test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/libsupc++/.libs
-B/opt/gn
u/gcc/gcc-5.0/hppa2.0w-hp-hpux11.11/bin/
-B/opt/gnu/gcc/gcc-5.0/hppa2.0w-hp-hpux
11.11/lib/ -isystem /opt/gnu/gcc/gcc-5.0/hppa2.0w-hp-hpux11.11/include -isystem 
/opt/gnu/gcc/gcc-5.0/hppa2.0w-hp-hpux11.11/sys-include
-I/test/gnu/gcc/gcc/libst
dc++-v3/../libgcc
-I/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/incl
ude/hppa2.0w-hp-hpux11.11
-I/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++
-v3/include -I/test/gnu/gcc/gcc/libstdc++-v3/libsupc++ -D_GLIBCXX_SHARED
-fno-im
plicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi
-fdiagnostics-s
how-location=once -frandom-seed=eh_alloc.lo -g -O2 -c
../../../../gcc/libstdc++-
v3/libsupc++/eh_alloc.cc  -fPIC -DPIC -D_GLIBCXX_SHARED -o eh_alloc.o
../../../../gcc/libstdc++-v3/libsupc++/eh_alloc.cc:211:1: internal compiler
erro
r: in inline_merge_summary, at ipa-inline-analysis.c:3611
 }
 ^


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

* [Bug ipa/64447] [5 Regression] FAIL: gcc.dg/vect/slp-9.c
  2014-12-30 16:30 [Bug ipa/64447] New: [5 Regression] FAIL: gcc.dg/vect/slp-9.c hjl.tools at gmail dot com
                   ` (2 preceding siblings ...)
  2014-12-30 20:23 ` danglin at gcc dot gnu.org
@ 2014-12-30 20:50 ` hubicka at ucw dot cz
  2014-12-30 23:52 ` trippels at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: hubicka at ucw dot cz @ 2014-12-30 20:50 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64447

--- Comment #4 from Jan Hubicka <hubicka at ucw dot cz> ---
Hi,
the problem is that estimate_function_body_sizes frees ipa_free_all_node_params
when called late via add_new_function.
the following patch should fix it.

Honza

Index: ipa-inline-analysis.c
===================================================================
--- ipa-inline-analysis.c    (revision 219108)
+++ ipa-inline-analysis.c    (working copy)
@@ -2851,7 +2851,7 @@ estimate_function_body_sizes (struct cgr
     {
       if (!early)
         loop_optimizer_finalize ();
-      else
+      else if (!ipa_edge_args_vector)
     ipa_free_all_node_params ();
       free_dominance_info (CDI_DOMINATORS);
     }


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

* [Bug ipa/64447] [5 Regression] FAIL: gcc.dg/vect/slp-9.c
  2014-12-30 16:30 [Bug ipa/64447] New: [5 Regression] FAIL: gcc.dg/vect/slp-9.c hjl.tools at gmail dot com
                   ` (3 preceding siblings ...)
  2014-12-30 20:50 ` hubicka at ucw dot cz
@ 2014-12-30 23:52 ` trippels at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: trippels at gcc dot gnu.org @ 2014-12-30 23:52 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64447

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |trippels at gcc dot gnu.org
         Resolution|---                         |FIXED

--- Comment #5 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Fixed by r219114.


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

end of thread, other threads:[~2014-12-30 23:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-30 16:30 [Bug ipa/64447] New: [5 Regression] FAIL: gcc.dg/vect/slp-9.c hjl.tools at gmail dot com
2014-12-30 16:39 ` [Bug ipa/64447] " dje at gcc dot gnu.org
2014-12-30 19:53 ` dje at gcc dot gnu.org
2014-12-30 20:23 ` danglin at gcc dot gnu.org
2014-12-30 20:50 ` hubicka at ucw dot cz
2014-12-30 23:52 ` trippels 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).