public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/64004] New: [5 Regressio] Build error in tree-ssa-loop-niter.c in maybe_lower_iteration_bound
@ 2014-11-20 21:04 sasha.levin at oracle dot com
  2014-11-20 21:26 ` [Bug tree-optimization/64004] " mpolacek at gcc dot gnu.org
  2014-11-24 14:03 ` rguenth at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: sasha.levin at oracle dot com @ 2014-11-20 21:04 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 64004
           Summary: [5 Regressio] Build error in tree-ssa-loop-niter.c in
                    maybe_lower_iteration_bound
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: sasha.levin at oracle dot com
                CC: ams at gcc dot gnu.org

I'm seeing the following build error:

../../gcc/tree-ssa-loop-niter.c: In function ‘void
maybe_lower_iteration_bound(loop*)’:
../../gcc/tree-ssa-loop-niter.c:3420:38: error: ‘struct
vec<gimple_statement_base*>’ has no member named ‘empty’  
    if (exit_warned && !problem_stmts.empty ())  
                                      ^  
make[3]: *** [tree-ssa-loop-niter.o] Error 1

Configuration used (on amd64):

../configure --prefix=/home/sasha/gcc-inst/ --with-arch=native
--with-tune=native --enable-languages=c --enable-lto --enable-gold
--enable-stage1-languages=c

Seems to be introduced by commit:

commit f18e93a8e53abb42cdcb344d966808be2505a9dc  
Author: ams <ams@138bc75d-0d04-0410-961f-82ee72b054a4>  
Date:   Thu Nov 20 20:22:54 2014 +0000  

    Warn on undefined loop exit.  

    2014-11-20  Andrew Stubbs  <ams@codesourcery.com>  

        gcc/  
        * tree-ssa-loop-niter.c (maybe_lower_iteration_bound): Warn if a loop  
        condition would be removed due to undefined behaviour.  

        gcc/testsuite/  
        * gcc.dg/undefined-loop-1.c: New file.  
        * gcc.dg/undefined-loop-2.c: New file.  



    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217891
138bc75d-0d04-0410-961f-82ee72b054a4
>From gcc-bugs-return-467848-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 20 21:14:38 2014
Return-Path: <gcc-bugs-return-467848-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29849 invoked by alias); 20 Nov 2014 21:14:38 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 29787 invoked by uid 48); 20 Nov 2014 21:14:34 -0000
From: "wschmidt at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/63673] VSX intrinsic vec_vsx_ld fails to compile with double, maps to wrong instructions with float
Date: Thu, 20 Nov 2014 21:14:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 4.9.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: wschmidt at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cf_gcctarget bug_status cc resolution
Message-ID: <bug-63673-4-JnKTcOB4uz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63673-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63673-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-11/txt/msg02320.txt.bz2
Content-length: 1139

https://gcc.gnu.org/bugzilla/show_bug.cgi?idc673

Bill Schmidt <wschmidt at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|powerpc                     |powerpc64le-unknown-linux-g
                   |                            |nu
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |wschmidt at gcc dot gnu.org
         Resolution|---                         |INVALID

--- Comment #3 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
The case using doubles is user error.  You have violated the type system.  You
should instead use:

  vector double v = vec_vsx_ld(8, (vector double *)d); // should load {1.0,
2.0\
}

The case using floats is not an error.

You are compiling for little-endian, and the lxvw4x instruction loads the
vector elements in big-endian order (element 0 on the left).  The sequence:

        lxvd2x 0,9,10
        xxpermdi 0,0,0,2

causes the vector elements to be loaded in little-endian order (element 0 on
the right).


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

* [Bug tree-optimization/64004] [5 Regressio] Build error in tree-ssa-loop-niter.c in maybe_lower_iteration_bound
  2014-11-20 21:04 [Bug tree-optimization/64004] New: [5 Regressio] Build error in tree-ssa-loop-niter.c in maybe_lower_iteration_bound sasha.levin at oracle dot com
@ 2014-11-20 21:26 ` mpolacek at gcc dot gnu.org
  2014-11-24 14:03 ` rguenth at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2014-11-20 21:26 UTC (permalink / raw)
  To: gcc-bugs

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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |mpolacek at gcc dot gnu.org
         Resolution|---                         |FIXED
           Assignee|unassigned at gcc dot gnu.org      |mpolacek at gcc dot gnu.org

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
I've fixed that.


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

* [Bug tree-optimization/64004] [5 Regressio] Build error in tree-ssa-loop-niter.c in maybe_lower_iteration_bound
  2014-11-20 21:04 [Bug tree-optimization/64004] New: [5 Regressio] Build error in tree-ssa-loop-niter.c in maybe_lower_iteration_bound sasha.levin at oracle dot com
  2014-11-20 21:26 ` [Bug tree-optimization/64004] " mpolacek at gcc dot gnu.org
@ 2014-11-24 14:03 ` rguenth at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-11-24 14:03 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Mon Nov 24 14:02:36 2014
New Revision: 218018

URL: https://gcc.gnu.org/viewcvs?rev=218018&root=gcc&view=rev
Log:
2014-11-24  Richard Biener  <rguenther@suse.de>

    PR java/64004
    * class.c (build_classdollar_field): Do not set TREE_READONLY.

Modified:
    trunk/gcc/java/ChangeLog
    trunk/gcc/java/class.c


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

end of thread, other threads:[~2014-11-24 14:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-20 21:04 [Bug tree-optimization/64004] New: [5 Regressio] Build error in tree-ssa-loop-niter.c in maybe_lower_iteration_bound sasha.levin at oracle dot com
2014-11-20 21:26 ` [Bug tree-optimization/64004] " mpolacek at gcc dot gnu.org
2014-11-24 14:03 ` rguenth 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).