public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/50746] New: [4.7 Regression] FAIL: gcc.dg/vect/pr37482.c (internal compiler error) on powerpc-apple-darwin9
@ 2011-10-16 14:26 dominiq at lps dot ens.fr
  2011-10-16 14:52 ` [Bug tree-optimization/50746] " irar at il dot ibm.com
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: dominiq at lps dot ens.fr @ 2011-10-16 14:26 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 50746
           Summary: [4.7 Regression] FAIL: gcc.dg/vect/pr37482.c (internal
                    compiler error) on powerpc-apple-darwin9
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: dominiq@lps.ens.fr
                CC: iains@gcc.gnu.org, rth@gcc.gnu.org
              Host: powerpc-apple-darwin9
            Target: powerpc-apple-darwin9
             Build: powerpc-apple-darwin9


Between revisions 180043 (OK) and 180052 the following tests failed on
powerpc-apple-darwin9 (see
http://gcc.gnu.org/ml/gcc-testresults/2011-10/msg01830.html):

FAIL: gcc.dg/vect/pr37482.c (internal compiler error)
FAIL: gcc.dg/vect/pr37482.c (test for excess errors)
FAIL: gcc.dg/vect/vect-114.c scan-tree-dump-times vect "vectorized 0 loops" 1
FAIL: gcc.dg/vect/pr37482.c -flto (internal compiler error)
FAIL: gcc.dg/vect/pr37482.c -flto (test for excess errors)
FAIL: gcc.dg/vect/vect-114.c -flto scan-tree-dump-times vect "vectorized 0
loops" 1

From
http://gcc.gnu.org/regtest/HEAD/native-logsum/gcc/testsuite/gcc/gcc.log.gzip
the ICE is

Executing on host: /Users/regress/tbox/native/build/gcc/xgcc
-B/Users/regress/tbox/native/build/gcc/
/Users/regress/tbox/svn-gcc/gcc/testsuite/gcc.dg/vect/pr37482.c    -maltivec
-ftree-vectorize -fno-vect-cost-model -O2 -fdump-tree-vect-details -S  -o
pr37482.s    (timeout = 300)
[address=08000000 pc=005e6e10]
/Users/regress/tbox/svn-gcc/gcc/testsuite/gcc.dg/vect/pr37482.c: In function
'SexiALI_Convert':
/Users/regress/tbox/svn-gcc/gcc/testsuite/gcc.dg/vect/pr37482.c:14:10: internal
compiler error: Segmentation Fault

This is likely due to revision 180047

Author:    rth
Date:    Sat Oct 15 19:36:50 2011 UTC (18 hours, 34 minutes ago)
Changed paths:    5
Log Message:    
Use VEC_PERM_EXPR in the vectorizer.

        * tree-vect-slp.c: Include langhooks.h.
        (vect_create_mask_and_perm): Emit VEC_PERM_EXPR, not a builtin.
        (vect_transform_slp_perm_load): Use can_vec_perm_expr_p.  Simplify
        mask creation for VEC_PERM_EXPR.
        * tree-vect-stmts.c (perm_mask_for_reverse): Return the mask,
        not the builtin.
        (reverse_vec_elements): Emit VEC_PERM_EXPR not a builtin.
        * Makefile.in (tree-vect-slp.o): Update dependency.
        * optabs.c (can_vec_perm_expr_p): Allow NULL as unknown constant.


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

* [Bug tree-optimization/50746] [4.7 Regression] FAIL: gcc.dg/vect/pr37482.c (internal compiler error) on powerpc-apple-darwin9
  2011-10-16 14:26 [Bug tree-optimization/50746] New: [4.7 Regression] FAIL: gcc.dg/vect/pr37482.c (internal compiler error) on powerpc-apple-darwin9 dominiq at lps dot ens.fr
@ 2011-10-16 14:52 ` irar at il dot ibm.com
  2011-10-16 14:54 ` iains at gcc dot gnu.org
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: irar at il dot ibm.com @ 2011-10-16 14:52 UTC (permalink / raw)
  To: gcc-bugs

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

Ira Rosen <irar at il dot ibm.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2011-10-16
                 CC|                            |irar at il dot ibm.com
     Ever Confirmed|0                           |1

--- Comment #1 from Ira Rosen <irar at il dot ibm.com> 2011-10-16 14:51:58 UTC ---
I see these failures on powerpc64-suse-linux.

pr37482.c seems to fail during expand of VEC_PERM_EXPR.

The accesses in vect-114.c are aligned, so it probably doesn't need
vect_hw_misalign (it was me who added it there
http://gcc.gnu.org/ml/gcc-patches/2010-11/msg01521.html, but it seems to be
incorrect).


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

* [Bug tree-optimization/50746] [4.7 Regression] FAIL: gcc.dg/vect/pr37482.c (internal compiler error) on powerpc-apple-darwin9
  2011-10-16 14:26 [Bug tree-optimization/50746] New: [4.7 Regression] FAIL: gcc.dg/vect/pr37482.c (internal compiler error) on powerpc-apple-darwin9 dominiq at lps dot ens.fr
  2011-10-16 14:52 ` [Bug tree-optimization/50746] " irar at il dot ibm.com
@ 2011-10-16 14:54 ` iains at gcc dot gnu.org
  2011-10-17  7:15 ` rguenth at gcc dot gnu.org
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: iains at gcc dot gnu.org @ 2011-10-16 14:54 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Iain Sandoe <iains at gcc dot gnu.org> 2011-10-16 14:53:13 UTC ---
Starting program: /Volumes/ScratchCS/gcc-4-7-trunk-build/gcc/cc1 -fpreprocessed
pr37482.i -fPIC -quiet -dumpbase pr37482.c -mmacosx-version-min=10.5.8
-maltivec -m32 -auxbase-strip pr37482.s -O2 -version -ftree-vectorize
-fno-vect-cost-model -fdump-tree-vect-details -o pr37482.s
Reading symbols for shared libraries +++.. done
GNU C (GCC) version 4.7.0 20111015 (experimental) [trunk revision 180048]
(powerpc-apple-darwin9)
        compiled by GNU C version 4.7.0 20111015 (experimental) [trunk revision
180048], GMP version 5.0.2, MPFR version 3.0.1, MPC version 0.9
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
GNU C (GCC) version 4.7.0 20111015 (experimental) [trunk revision 180048]
(powerpc-apple-darwin9)
        compiled by GNU C version 4.7.0 20111015 (experimental) [trunk revision
180048], GMP version 5.0.2, MPFR version 3.0.1, MPC version 0.9
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: 153db3953d8b0836637534bdb4728fc0

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x42002284
const_rtx_hash_1 (xp=0x4170f504, data=0xbfffe814) at
/GCC/gcc-live-trunk/gcc/varasm.c:3384
3384      code = GET_CODE (x);
(gdb) bt
#0  const_rtx_hash_1 (xp=0x4170f504, data=0xbfffe814) at
/GCC/gcc-live-trunk/gcc/varasm.c:3384
#1  0x008664ec in const_rtx_hash_1 (xp=0x4170f504, data=0xbfffe814) at
/GCC/gcc-live-trunk/gcc/varasm.c:3376
Previous frame identical to this frame (gdb could not unwind past this frame)


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

* [Bug tree-optimization/50746] [4.7 Regression] FAIL: gcc.dg/vect/pr37482.c (internal compiler error) on powerpc-apple-darwin9
  2011-10-16 14:26 [Bug tree-optimization/50746] New: [4.7 Regression] FAIL: gcc.dg/vect/pr37482.c (internal compiler error) on powerpc-apple-darwin9 dominiq at lps dot ens.fr
  2011-10-16 14:52 ` [Bug tree-optimization/50746] " irar at il dot ibm.com
  2011-10-16 14:54 ` iains at gcc dot gnu.org
@ 2011-10-17  7:15 ` rguenth at gcc dot gnu.org
  2011-10-17 16:47 ` rth at gcc dot gnu.org
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-10-17  7:15 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.7.0


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

* [Bug tree-optimization/50746] [4.7 Regression] FAIL: gcc.dg/vect/pr37482.c (internal compiler error) on powerpc-apple-darwin9
  2011-10-16 14:26 [Bug tree-optimization/50746] New: [4.7 Regression] FAIL: gcc.dg/vect/pr37482.c (internal compiler error) on powerpc-apple-darwin9 dominiq at lps dot ens.fr
                   ` (2 preceding siblings ...)
  2011-10-17  7:15 ` rguenth at gcc dot gnu.org
@ 2011-10-17 16:47 ` rth at gcc dot gnu.org
  2011-10-17 17:03 ` rth at gcc dot gnu.org
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: rth at gcc dot gnu.org @ 2011-10-17 16:47 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Henderson <rth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|unassigned at gcc dot       |rth at gcc dot gnu.org
                   |gnu.org                     |

--- Comment #3 from Richard Henderson <rth at gcc dot gnu.org> 2011-10-17 16:45:51 UTC ---
The pr37482.c problem, at least, is a buffer overrun.


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

* [Bug tree-optimization/50746] [4.7 Regression] FAIL: gcc.dg/vect/pr37482.c (internal compiler error) on powerpc-apple-darwin9
  2011-10-16 14:26 [Bug tree-optimization/50746] New: [4.7 Regression] FAIL: gcc.dg/vect/pr37482.c (internal compiler error) on powerpc-apple-darwin9 dominiq at lps dot ens.fr
                   ` (3 preceding siblings ...)
  2011-10-17 16:47 ` rth at gcc dot gnu.org
@ 2011-10-17 17:03 ` rth at gcc dot gnu.org
  2011-10-17 17:04 ` rth at gcc dot gnu.org
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: rth at gcc dot gnu.org @ 2011-10-17 17:03 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Richard Henderson <rth at gcc dot gnu.org> 2011-10-17 17:02:12 UTC ---
Author: rth
Date: Mon Oct 17 17:02:05 2011
New Revision: 180100

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180100
Log:
PR 50746
        * optabs.c (expand_vec_perm_expr): Fix indexing error.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/optabs.c


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

* [Bug tree-optimization/50746] [4.7 Regression] FAIL: gcc.dg/vect/pr37482.c (internal compiler error) on powerpc-apple-darwin9
  2011-10-16 14:26 [Bug tree-optimization/50746] New: [4.7 Regression] FAIL: gcc.dg/vect/pr37482.c (internal compiler error) on powerpc-apple-darwin9 dominiq at lps dot ens.fr
                   ` (4 preceding siblings ...)
  2011-10-17 17:03 ` rth at gcc dot gnu.org
@ 2011-10-17 17:04 ` rth at gcc dot gnu.org
  2011-10-17 18:11 ` irar at il dot ibm.com
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: rth at gcc dot gnu.org @ 2011-10-17 17:04 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Henderson <rth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |WAITING

--- Comment #5 from Richard Henderson <rth at gcc dot gnu.org> 2011-10-17 17:03:06 UTC ---
I've fixed the buffer overrun.  Please re-check your respective hosts.


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

* [Bug tree-optimization/50746] [4.7 Regression] FAIL: gcc.dg/vect/pr37482.c (internal compiler error) on powerpc-apple-darwin9
  2011-10-16 14:26 [Bug tree-optimization/50746] New: [4.7 Regression] FAIL: gcc.dg/vect/pr37482.c (internal compiler error) on powerpc-apple-darwin9 dominiq at lps dot ens.fr
                   ` (5 preceding siblings ...)
  2011-10-17 17:04 ` rth at gcc dot gnu.org
@ 2011-10-17 18:11 ` irar at il dot ibm.com
  2011-10-17 18:50 ` irar at il dot ibm.com
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: irar at il dot ibm.com @ 2011-10-17 18:11 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Ira Rosen <irar at il dot ibm.com> 2011-10-17 18:10:39 UTC ---
pr37482.c is now ok on powerpc64-suse-linux.


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

* [Bug tree-optimization/50746] [4.7 Regression] FAIL: gcc.dg/vect/pr37482.c (internal compiler error) on powerpc-apple-darwin9
  2011-10-16 14:26 [Bug tree-optimization/50746] New: [4.7 Regression] FAIL: gcc.dg/vect/pr37482.c (internal compiler error) on powerpc-apple-darwin9 dominiq at lps dot ens.fr
                   ` (6 preceding siblings ...)
  2011-10-17 18:11 ` irar at il dot ibm.com
@ 2011-10-17 18:50 ` irar at il dot ibm.com
  2011-10-17 19:03 ` irar at gcc dot gnu.org
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: irar at il dot ibm.com @ 2011-10-17 18:50 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #7 from Ira Rosen <irar at il dot ibm.com> 2011-10-17 18:49:20 UTC ---
I'll fix vect-114.c. It indeed doesn't need realignment. The vectorization
failed before switching to optab because of the type mismatch between the mask
and the data.


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

* [Bug tree-optimization/50746] [4.7 Regression] FAIL: gcc.dg/vect/pr37482.c (internal compiler error) on powerpc-apple-darwin9
  2011-10-16 14:26 [Bug tree-optimization/50746] New: [4.7 Regression] FAIL: gcc.dg/vect/pr37482.c (internal compiler error) on powerpc-apple-darwin9 dominiq at lps dot ens.fr
                   ` (7 preceding siblings ...)
  2011-10-17 18:50 ` irar at il dot ibm.com
@ 2011-10-17 19:03 ` irar at gcc dot gnu.org
  2011-10-18 23:05 ` iains at gcc dot gnu.org
  2011-10-19  9:06 ` dominiq at lps dot ens.fr
  10 siblings, 0 replies; 12+ messages in thread
From: irar at gcc dot gnu.org @ 2011-10-17 19:03 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #8 from irar at gcc dot gnu.org 2011-10-17 19:03:10 UTC ---
Author: irar
Date: Mon Oct 17 19:03:02 2011
New Revision: 180106

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180106
Log:

        PR tree-optimization/50746
        * gcc.dg/vect/vect-114.c: Remove vect_hw_misalign.


Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/vect/vect-114.c


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

* [Bug tree-optimization/50746] [4.7 Regression] FAIL: gcc.dg/vect/pr37482.c (internal compiler error) on powerpc-apple-darwin9
  2011-10-16 14:26 [Bug tree-optimization/50746] New: [4.7 Regression] FAIL: gcc.dg/vect/pr37482.c (internal compiler error) on powerpc-apple-darwin9 dominiq at lps dot ens.fr
                   ` (8 preceding siblings ...)
  2011-10-17 19:03 ` irar at gcc dot gnu.org
@ 2011-10-18 23:05 ` iains at gcc dot gnu.org
  2011-10-19  9:06 ` dominiq at lps dot ens.fr
  10 siblings, 0 replies; 12+ messages in thread
From: iains at gcc dot gnu.org @ 2011-10-18 23:05 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #9 from Iain Sandoe <iains at gcc dot gnu.org> 2011-10-18 23:05:06 UTC ---
pr37482 and vect114 seem OK now on powerpc-darwin9 (we have had bootstrap
problems - which are not cleared yet for some languages).

We also now have a large number of struct-layout-1, vmx and altivec fails
(possibly unrelated, will try and analyze tomorrow).


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

* [Bug tree-optimization/50746] [4.7 Regression] FAIL: gcc.dg/vect/pr37482.c (internal compiler error) on powerpc-apple-darwin9
  2011-10-16 14:26 [Bug tree-optimization/50746] New: [4.7 Regression] FAIL: gcc.dg/vect/pr37482.c (internal compiler error) on powerpc-apple-darwin9 dominiq at lps dot ens.fr
                   ` (9 preceding siblings ...)
  2011-10-18 23:05 ` iains at gcc dot gnu.org
@ 2011-10-19  9:06 ` dominiq at lps dot ens.fr
  10 siblings, 0 replies; 12+ messages in thread
From: dominiq at lps dot ens.fr @ 2011-10-19  9:06 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #10 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-10-19 09:05:13 UTC ---
The failures are gone at revision 180100 with the the revisions given in
pr50778 reverted and the patch of revision 180106. So I am closing this pr as
fixed.


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

end of thread, other threads:[~2011-10-19  9:06 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-16 14:26 [Bug tree-optimization/50746] New: [4.7 Regression] FAIL: gcc.dg/vect/pr37482.c (internal compiler error) on powerpc-apple-darwin9 dominiq at lps dot ens.fr
2011-10-16 14:52 ` [Bug tree-optimization/50746] " irar at il dot ibm.com
2011-10-16 14:54 ` iains at gcc dot gnu.org
2011-10-17  7:15 ` rguenth at gcc dot gnu.org
2011-10-17 16:47 ` rth at gcc dot gnu.org
2011-10-17 17:03 ` rth at gcc dot gnu.org
2011-10-17 17:04 ` rth at gcc dot gnu.org
2011-10-17 18:11 ` irar at il dot ibm.com
2011-10-17 18:50 ` irar at il dot ibm.com
2011-10-17 19:03 ` irar at gcc dot gnu.org
2011-10-18 23:05 ` iains at gcc dot gnu.org
2011-10-19  9:06 ` dominiq at lps dot ens.fr

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