public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/56776] New: valgrind errors within ira
@ 2013-03-29  9:21 Joost.VandeVondele at mat dot ethz.ch
  2013-03-29  9:23 ` [Bug rtl-optimization/56776] [4.8/4.9 Regression] " Joost.VandeVondele at mat dot ethz.ch
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Joost.VandeVondele at mat dot ethz.ch @ 2013-03-29  9:21 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 56776
           Summary: valgrind errors within ira
    Classification: Unclassified
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: Joost.VandeVondele@mat.ethz.ch


The famously short Fortran program:

> cat test.f90 
END

yields errors in ira:

valgrind --tool=memcheck --trace-children=yes gfortran -c test.f90

==7625== Conditional jump or move depends on uninitialised value(s)
==7625==    at 0x882AF7: make_object_born(ira_object*) (sparseset.h:147)
==7625==    by 0x882C3A: mark_pseudo_regno_live(int) (ira-lives.c:294)
==7625==    by 0x883C34: process_bb_node_lives(ira_loop_tree_node*)
(ira-lives.c:1321)
==7625==    by 0x86D4A8: ira_traverse_loop_tree(bool, ira_loop_tree_node*, void
(*)(ira_loop_tree_node*), void (*)(ira_loop_tree_node*)) (ira-build.c:1604)
==7625==    by 0x884811: ira_create_allocno_live_ranges() (ira-lives.c:1595)
==7625==    by 0x86DD84: ira_build() (ira-build.c:3198)
==7625==    by 0x866792: rest_of_handle_ira() (ira.c:4473)
==7625==    by 0x8F0626: execute_one_pass(opt_pass*) (passes.c:2330)
==7625==    by 0x8F0A54: execute_pass_list(opt_pass*) (passes.c:2378)
==7625==    by 0x8F0A66: execute_pass_list(opt_pass*) (passes.c:2379)
==7625==    by 0x6C2637: expand_function(cgraph_node*) (cgraphunit.c:1640)
==7625==    by 0x6C4749: compile() (cgraphunit.c:1833)
==7625== 
==7625== Use of uninitialised value of size 8
==7625==    at 0x882C22: mark_pseudo_regno_live(int) (sparseset.h:147)
==7625==    by 0x883C34: process_bb_node_lives(ira_loop_tree_node*)
(ira-lives.c:1321)
==7625==    by 0x86D4A8: ira_traverse_loop_tree(bool, ira_loop_tree_node*, void
(*)(ira_loop_tree_node*), void (*)(ira_loop_tree_node*)) (ira-build.c:1604)
==7625==    by 0x884811: ira_create_allocno_live_ranges() (ira-lives.c:1595)
==7625==    by 0x86DD84: ira_build() (ira-build.c:3198)
==7625==    by 0x866792: rest_of_handle_ira() (ira.c:4473)
==7625==    by 0x8F0626: execute_one_pass(opt_pass*) (passes.c:2330)
==7625==    by 0x8F0A54: execute_pass_list(opt_pass*) (passes.c:2378)
==7625==    by 0x8F0A66: execute_pass_list(opt_pass*) (passes.c:2379)
==7625==    by 0x6C2637: expand_function(cgraph_node*) (cgraphunit.c:1640)
==7625==    by 0x6C4749: compile() (cgraphunit.c:1833)
==7625==    by 0x6C4A74: finalize_compilation_unit() (cgraphunit.c:2119)


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

* [Bug rtl-optimization/56776] [4.8/4.9 Regression] valgrind errors within ira
  2013-03-29  9:21 [Bug rtl-optimization/56776] New: valgrind errors within ira Joost.VandeVondele at mat dot ethz.ch
@ 2013-03-29  9:23 ` Joost.VandeVondele at mat dot ethz.ch
  2013-05-15 13:26 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Joost.VandeVondele at mat dot ethz.ch @ 2013-03-29  9:23 UTC (permalink / raw)
  To: gcc-bugs


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Joost.VandeVondele at mat
                   |                            |dot ethz.ch
      Known to work|                            |4.7.3
            Summary|valgrind errors within ira  |[4.8/4.9 Regression]
                   |                            |valgrind errors within ira
      Known to fail|                            |4.8.1, 4.9.0

--- Comment #1 from Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> 2013-03-29 09:23:00 UTC ---
seems absent in 4.7


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

* [Bug rtl-optimization/56776] [4.8/4.9 Regression] valgrind errors within ira
  2013-03-29  9:21 [Bug rtl-optimization/56776] New: valgrind errors within ira Joost.VandeVondele at mat dot ethz.ch
  2013-03-29  9:23 ` [Bug rtl-optimization/56776] [4.8/4.9 Regression] " Joost.VandeVondele at mat dot ethz.ch
@ 2013-05-15 13:26 ` rguenth at gcc dot gnu.org
  2013-05-15 14:06 ` jakub at gcc dot gnu.org
  2015-06-16 17:14 ` uros at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-05-15 13:26 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.8.1


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

* [Bug rtl-optimization/56776] [4.8/4.9 Regression] valgrind errors within ira
  2013-03-29  9:21 [Bug rtl-optimization/56776] New: valgrind errors within ira Joost.VandeVondele at mat dot ethz.ch
  2013-03-29  9:23 ` [Bug rtl-optimization/56776] [4.8/4.9 Regression] " Joost.VandeVondele at mat dot ethz.ch
  2013-05-15 13:26 ` rguenth at gcc dot gnu.org
@ 2013-05-15 14:06 ` jakub at gcc dot gnu.org
  2015-06-16 17:14 ` uros at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-05-15 14:06 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|---                         |INVALID

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
This is a non-bug, sparseset intentionally has uninitialized stuff, you need
--enable-checking=valgrind to add valgrind annotations to quiet it up.


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

* [Bug rtl-optimization/56776] [4.8/4.9 Regression] valgrind errors within ira
  2013-03-29  9:21 [Bug rtl-optimization/56776] New: valgrind errors within ira Joost.VandeVondele at mat dot ethz.ch
                   ` (2 preceding siblings ...)
  2013-05-15 14:06 ` jakub at gcc dot gnu.org
@ 2015-06-16 17:14 ` uros at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: uros at gcc dot gnu.org @ 2015-06-16 17:14 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from uros at gcc dot gnu.org ---
Author: uros
Date: Tue Jun 16 17:14:00 2015
New Revision: 224527

URL: https://gcc.gnu.org/viewcvs?rev=224527&root=gcc&view=rev
Log:
        PR target/56776
        * config/i386/sse.md (*avx_addsubv4df3_1): New insn pattern.
        (*avx_addsubv4df3_1s): Ditto.
        (*sse3_addsubv2df3_1): Ditto.
        (*sse3_addsubv2df3_1s): Ditto.
        (*avx_addsubv8sf3_1): Ditto.
        (*avx_addsubv8sf3_1s): Ditto.
        (*sse3_addsubv4sf3_1): Ditto.
        (*sse3_addsubv4sf3_1s): Ditto.

testsuite/ChangeLog:

        PR target/56776
        * gcc.target/i386/pr56776-1.c: New test.
        * gcc.target/i386/pr56776-2.c: Ditto.


Added:
    trunk/gcc/testsuite/gcc.target/i386/pr56766-1.c
    trunk/gcc/testsuite/gcc.target/i386/pr56766-2.c
Modified:
    trunk/gcc/config/i386/sse.md


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

end of thread, other threads:[~2015-06-16 17:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-29  9:21 [Bug rtl-optimization/56776] New: valgrind errors within ira Joost.VandeVondele at mat dot ethz.ch
2013-03-29  9:23 ` [Bug rtl-optimization/56776] [4.8/4.9 Regression] " Joost.VandeVondele at mat dot ethz.ch
2013-05-15 13:26 ` rguenth at gcc dot gnu.org
2013-05-15 14:06 ` jakub at gcc dot gnu.org
2015-06-16 17:14 ` uros 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).