public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/49616] REGRESSION vectorization fails in case of runtime dimensioned vector
Date: Sun, 03 Jul 2011 11:31:00 -0000	[thread overview]
Message-ID: <bug-49616-4-0YvKNzkODi@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-49616-4@http.gcc.gnu.org/bugzilla/>

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

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2011.07.03 11:30:06
                 CC|                            |hubicka at gcc dot gnu.org,
                   |                            |irar at il dot ibm.com
     Ever Confirmed|0                           |1

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-07-03 11:30:06 UTC ---
It seems due to revision 172430:

Author:    hubicka
Date:    Thu Apr 14 13:26:44 2011 UTC (2 months, 2 weeks ago)
Changed paths:    16
Log Message:    
    * cgraph.c (dump_cgraph_node): Do not dump inline summaries.
    * cgraph.h (struct inline_summary): Move to ipa-inline.h
    (cgraph_local_info): Remove inline_summary.
    * ipa-cp.c: Include ipa-inline.h.
    (ipcp_cloning_candidate_p, ipcp_estimate_growth,
    ipcp_estimate_cloning_cost, ipcp_insert_stage): Use inline_summary
    accesor.
    * lto-cgraph.c (lto_output_node): Do not stream inline summary.
    (input_overwrite_node): Do not set inline summary.
    (input_node): Do not stream inline summary.
    * ipa-inline.c (cgraph_decide_inlining): Dump inline summaries.
    (cgraph_decide_inlining_incrementally): Do not try to estimate overall
    growth; we do not have inline parameters computed for that anyway.
    (cgraph_early_inlining): After inlining compute call_stmt_sizes.
    * ipa-inline.h (struct inline_summary): Move here from ipa-inline.h
    (inline_summary_t): New type and VECtor.
    (debug_inline_summary, dump_inline_summaries): Declare.
    (inline_summary): Use VOCtor.
    (estimate_edge_growth): Kill hack computing call stmt size directly.
    * lto-section-in.c (lto_section_name): Add inline section.
    * ipa-inline-analysis.c: Include lto-streamer.h
    (node_removal_hook_holder, node_duplication_hook_holder): New holders
    (inline_node_removal_hook, inline_node_duplication_hook): New functions.
    (inline_summary_vec): Define.
    (inline_summary_alloc, dump_inline_summary, debug_inline_summary,
    dump_inline_summaries): New functions.
    (estimate_function_body_sizes): Properly compute size/time of outgoing
calls.
    (compute_inline_parameters): Alloc inline_summary; do not compute size/time
    of incomming calls.
    (estimate_edge_time): Avoid missing time summary hack.
    (inline_read_summary): Read inline summary info.
    (inline_write_summary): Write inline summary info.
    (inline_free_summary): Free all hooks and inline summary vector.
    * lto-streamer.h: Add LTO_section_inline_summary section.
    * Makefile.in (ipa-cp.o, ipa-inline-analysis.o): Update dependencies.
    * ipa.c (cgraph_remove_unreachable_nodes): Fix dump file formating.

    * lto.c: Include ipa-inline.h
    (add_cgraph_node_to_partition, undo_partition): Use inline_summary
accessor.
    (ipa_node_duplication_hook): Fix declaration.
    * Make-lang.in (lto.o): Update dependencies.

With revision 172429 I get

....
pr49616.cc:94: note: vectorized 16 loops in function.

but

...
pr49616.cc:94: note: vectorized 12 loops in function.

with revision 172430.


  reply	other threads:[~2011-07-03 11:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-03 10:00 [Bug tree-optimization/49616] New: " vincenzo.innocente at cern dot ch
2011-07-03 11:31 ` dominiq at lps dot ens.fr [this message]
2012-05-18  9:46 ` [Bug tree-optimization/49616] " vincenzo.innocente at cern dot ch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-49616-4-0YvKNzkODi@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).