public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/63422] New: [5.0 Regression] ICE in freqs_to_counts_path, at tree-ssa-threadupdate.c:981
@ 2014-10-01  4:09 Joost.VandeVondele at mat dot ethz.ch
  2014-10-01  4:13 ` [Bug middle-end/63422] " Joost.VandeVondele at mat dot ethz.ch
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Joost.VandeVondele at mat dot ethz.ch @ 2014-10-01  4:09 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 63422
           Summary: [5.0 Regression] ICE in freqs_to_counts_path, at
                    tree-ssa-threadupdate.c:981
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: Joost.VandeVondele at mat dot ethz.ch

In the one day between r215702 and 215747 trunk started failing to compile CP2K
with '-c -flto=jobserver -fprofile-use '. Several lto instances fail with:

/data/vjoost/gnu/cp2k/cp2k/makefiles/../src/core_ae.F:58:0: internal compiler
error: in freqs_to_counts_path, at tree-ssa-threadupdate.c:988
   SUBROUTINE build_core_ae(matrix_h, matrix_p, force, virial,
calculate_forces, use_virial, nder,&
 ^
0xb4e8c0 freqs_to_counts_path
        ../../gcc/gcc/tree-ssa-threadupdate.c:988
0xb4e8c0 ssa_fix_duplicate_block_edges(redirection_data*, ssa_local_info_t*)
        ../../gcc/gcc/tree-ssa-threadupdate.c:1061
0xb4f018 ssa_fixup_template_block
        ../../gcc/gcc/tree-ssa-threadupdate.c:1301
0xb4f018 traverse_noresize<ssa_local_info_t*, ssa_fixup_template_block>
        ../../gcc/gcc/hash-table.h:942
0xb4f018 traverse<ssa_local_info_t*, ssa_fixup_template_block>
        ../../gcc/gcc/hash-table.h:964
0xb4f018 thread_block_1
        ../../gcc/gcc/tree-ssa-threadupdate.c:1523
0xb4f4e0 thread_block
        ../../gcc/gcc/tree-ssa-threadupdate.c:1560
0xb4fd6e thread_through_all_blocks(bool)
        ../../gcc/gcc/tree-ssa-threadupdate.c:2279
0xbd86ed finalize_jump_threads
        ../../gcc/gcc/tree-vrp.c:9856
0xbd86ed execute_vrp
        ../../gcc/gcc/tree-vrp.c:10010

given the combination of lto and profile-use it will be difficult to generate a
testcase (other than building full cp2k with profile feedback, which is
somewhat involved).


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

* [Bug middle-end/63422] [5.0 Regression] ICE in freqs_to_counts_path, at tree-ssa-threadupdate.c:981
  2014-10-01  4:09 [Bug middle-end/63422] New: [5.0 Regression] ICE in freqs_to_counts_path, at tree-ssa-threadupdate.c:981 Joost.VandeVondele at mat dot ethz.ch
@ 2014-10-01  4:13 ` Joost.VandeVondele at mat dot ethz.ch
  2014-10-01  5:07 ` tejohnson at google dot com
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Joost.VandeVondele at mat dot ethz.ch @ 2014-10-01  4:13 UTC (permalink / raw)
  To: gcc-bugs

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

Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Joost.VandeVondele at mat dot ethz
                   |                            |.ch, tejohnson at google dot com

--- Comment #1 from Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> ---
I suspect this is caused by r215739


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

* [Bug middle-end/63422] [5.0 Regression] ICE in freqs_to_counts_path, at tree-ssa-threadupdate.c:981
  2014-10-01  4:09 [Bug middle-end/63422] New: [5.0 Regression] ICE in freqs_to_counts_path, at tree-ssa-threadupdate.c:981 Joost.VandeVondele at mat dot ethz.ch
  2014-10-01  4:13 ` [Bug middle-end/63422] " Joost.VandeVondele at mat dot ethz.ch
@ 2014-10-01  5:07 ` tejohnson at google dot com
  2014-10-01  5:43 ` Joost.VandeVondele at mat dot ethz.ch
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: tejohnson at google dot com @ 2014-10-01  5:07 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Teresa Johnson <tejohnson at google dot com> ---
Yes, this function is new in r215739. I will see if I can trigger it
tomorrow. If you have a smaller test case that would be great. Or even
if you can give me the gcda file and preprocessed source that will
help.

Teresa

On Tue, Sep 30, 2014 at 9:12 PM, Joost.VandeVondele at mat dot ethz.ch
<gcc-bugzilla@gcc.gnu.org> wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63422
>
> Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> changed:
>
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                  CC|                            |Joost.VandeVondele at mat dot ethz
>                    |                            |.ch, tejohnson at google dot com
>
> --- Comment #1 from Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> ---
> I suspect this is caused by r215739
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.


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

* [Bug middle-end/63422] [5.0 Regression] ICE in freqs_to_counts_path, at tree-ssa-threadupdate.c:981
  2014-10-01  4:09 [Bug middle-end/63422] New: [5.0 Regression] ICE in freqs_to_counts_path, at tree-ssa-threadupdate.c:981 Joost.VandeVondele at mat dot ethz.ch
  2014-10-01  4:13 ` [Bug middle-end/63422] " Joost.VandeVondele at mat dot ethz.ch
  2014-10-01  5:07 ` tejohnson at google dot com
@ 2014-10-01  5:43 ` Joost.VandeVondele at mat dot ethz.ch
  2014-10-01 14:11 ` tejohnson at google dot com
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Joost.VandeVondele at mat dot ethz.ch @ 2014-10-01  5:43 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> ---
(In reply to Teresa Johnson from comment #2)
> Yes, this function is new in r215739. I will see if I can trigger it
> tomorrow. If you have a smaller test case that would be great. Or even
> if you can give me the gcda file and preprocessed source that will
> help.

this only happens with LTO, so I'm not sure there is easily a source file I can
provide (with ~1000 .gdca files).

I tried some smaller programs, but didn't see the problem yet.


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

* [Bug middle-end/63422] [5.0 Regression] ICE in freqs_to_counts_path, at tree-ssa-threadupdate.c:981
  2014-10-01  4:09 [Bug middle-end/63422] New: [5.0 Regression] ICE in freqs_to_counts_path, at tree-ssa-threadupdate.c:981 Joost.VandeVondele at mat dot ethz.ch
                   ` (2 preceding siblings ...)
  2014-10-01  5:43 ` Joost.VandeVondele at mat dot ethz.ch
@ 2014-10-01 14:11 ` tejohnson at google dot com
  2014-10-01 14:42 ` rguenth at gcc dot gnu.org
  2014-10-03  4:56 ` Joost.VandeVondele at mat dot ethz.ch
  5 siblings, 0 replies; 7+ messages in thread
From: tejohnson at google dot com @ 2014-10-01 14:11 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Teresa Johnson <tejohnson at google dot com> ---
Thanks for the test case. Reproduced and looking at it.
Teresa


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

* [Bug middle-end/63422] [5.0 Regression] ICE in freqs_to_counts_path, at tree-ssa-threadupdate.c:981
  2014-10-01  4:09 [Bug middle-end/63422] New: [5.0 Regression] ICE in freqs_to_counts_path, at tree-ssa-threadupdate.c:981 Joost.VandeVondele at mat dot ethz.ch
                   ` (3 preceding siblings ...)
  2014-10-01 14:11 ` tejohnson at google dot com
@ 2014-10-01 14:42 ` rguenth at gcc dot gnu.org
  2014-10-03  4:56 ` Joost.VandeVondele at mat dot ethz.ch
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-10-01 14:42 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |5.0


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

* [Bug middle-end/63422] [5.0 Regression] ICE in freqs_to_counts_path, at tree-ssa-threadupdate.c:981
  2014-10-01  4:09 [Bug middle-end/63422] New: [5.0 Regression] ICE in freqs_to_counts_path, at tree-ssa-threadupdate.c:981 Joost.VandeVondele at mat dot ethz.ch
                   ` (4 preceding siblings ...)
  2014-10-01 14:42 ` rguenth at gcc dot gnu.org
@ 2014-10-03  4:56 ` Joost.VandeVondele at mat dot ethz.ch
  5 siblings, 0 replies; 7+ messages in thread
From: Joost.VandeVondele at mat dot ethz.ch @ 2014-10-03  4:56 UTC (permalink / raw)
  To: gcc-bugs

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

Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> changed:

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

--- Comment #8 from Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> ---
fixed in trunk


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

end of thread, other threads:[~2014-10-03  4:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-01  4:09 [Bug middle-end/63422] New: [5.0 Regression] ICE in freqs_to_counts_path, at tree-ssa-threadupdate.c:981 Joost.VandeVondele at mat dot ethz.ch
2014-10-01  4:13 ` [Bug middle-end/63422] " Joost.VandeVondele at mat dot ethz.ch
2014-10-01  5:07 ` tejohnson at google dot com
2014-10-01  5:43 ` Joost.VandeVondele at mat dot ethz.ch
2014-10-01 14:11 ` tejohnson at google dot com
2014-10-01 14:42 ` rguenth at gcc dot gnu.org
2014-10-03  4:56 ` Joost.VandeVondele at mat dot ethz.ch

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).