public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/61748] New: imm-devirt-2.C failed on arm-linux
@ 2014-07-08 14:33 amker at gcc dot gnu.org
  2014-07-08 14:34 ` [Bug middle-end/61748] " amker at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: amker at gcc dot gnu.org @ 2014-07-08 14:33 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 61748
           Summary: imm-devirt-2.C failed on arm-linux
           Product: gcc
           Version: 4.10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: amker at gcc dot gnu.org

Hi,
The newly added test check fails on
arm-none-linux-gnueabi/arm-none-linux-gnueabihf.

Compiled with below command:
$ g++ -O2 -S imm-devirt-2.C -o imm-devirt-2.S -fdump-tree-einline(-details)

The gcc is configured with below command:

$ ../gcc/configure
--prefix=/home/binche01/work/a15-cross/trunk-systematic-testing/target
--enable-languages=c,c++,fortran
--with-sysroot=/home/binche01/work/a15-cross/qemu-setup/gcc-linaro-arm-linux-gnueabihf-4.8-2013.12_linux/arm-linux-gnueabihf/libc
--with-gmp=/home/binche01/work/a15-cross/host-lib-arm/target
--with-mpfr=/home/binche01/work/a15-cross/host-lib-arm/target
--with-mpc=/home/binche01/work/a15-cross/host-lib-arm/target
--host=arm-linux-gnueabihf --build=arm-linux-gnueabihf --with-mode=thumb
--with-arch=armv7-a --with-tune=cortex-a15 --target=arm-linux-gnueabihf
--with-float=hard --with-fpu=neon --disable-bootstrap

The scan test fails as:
FAIL: g++.dg/ipa/imm-devirt-2.C  -std=gnu++98  scan-tree-dump einline
"C::_ZThn24_N1C3fooEi \\("

Apparently there is no such information in the dump file as attached.


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

* [Bug middle-end/61748] imm-devirt-2.C failed on arm-linux
  2014-07-08 14:33 [Bug middle-end/61748] New: imm-devirt-2.C failed on arm-linux amker at gcc dot gnu.org
@ 2014-07-08 14:34 ` amker at gcc dot gnu.org
  2014-07-16 11:45 ` ro at gcc dot gnu.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: amker at gcc dot gnu.org @ 2014-07-08 14:34 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from amker at gcc dot gnu.org ---
Created attachment 33090
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33090&action=edit
Dump file of einline pass


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

* [Bug middle-end/61748] imm-devirt-2.C failed on arm-linux
  2014-07-08 14:33 [Bug middle-end/61748] New: imm-devirt-2.C failed on arm-linux amker at gcc dot gnu.org
  2014-07-08 14:34 ` [Bug middle-end/61748] " amker at gcc dot gnu.org
@ 2014-07-16 11:45 ` ro at gcc dot gnu.org
  2014-07-16 12:31 ` dominiq at lps dot ens.fr
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: ro at gcc dot gnu.org @ 2014-07-16 11:45 UTC (permalink / raw)
  To: gcc-bugs

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

Rainer Orth <ro at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|arm-none-linux-gnueabihf,   |arm-none-linux-gnueabihf,
                   |arm-none-linux-gnueabi      |arm-none-linux-gnueabi,
                   |                            |i386-pc-solaris2.*,
                   |                            |sparc*-sun-solaris2.*,
                   |                            |i686-unknown-linux-gnu,
                   |                            |x86_64-unknown-linux-gnu
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-07-16
                 CC|                            |ro at gcc dot gnu.org
   Target Milestone|---                         |4.10.0
     Ever confirmed|0                           |1

--- Comment #2 from Rainer Orth <ro at gcc dot gnu.org> ---
I'm seeing the same on 32-bit (only) Solaris/SPARC and x86, Linux/x86 and
32-bit Linux/x86_64.

It seems this is a generic 32-bit issue.

On all those systems, in the 32-bit case I find

:  _15 = C::_ZThn16_N1C3fooEi (&c.D.2255.D.2238, _4);

while for 64-bit systems I get instead

:  _15 = C::_ZThn24_N1C3fooEi (&c.D.2286.D.2269, _4);

  Rainer


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

* [Bug middle-end/61748] imm-devirt-2.C failed on arm-linux
  2014-07-08 14:33 [Bug middle-end/61748] New: imm-devirt-2.C failed on arm-linux amker at gcc dot gnu.org
  2014-07-08 14:34 ` [Bug middle-end/61748] " amker at gcc dot gnu.org
  2014-07-16 11:45 ` ro at gcc dot gnu.org
@ 2014-07-16 12:31 ` dominiq at lps dot ens.fr
  2014-07-16 12:36 ` ro at CeBiTec dot Uni-Bielefeld.DE
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: dominiq at lps dot ens.fr @ 2014-07-16 12:31 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hubicka at ucw dot cz

--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
I have silenced the failure with the following patch

--- ../_clean/gcc/testsuite/g++.dg/ipa/imm-devirt-2.C    2014-07-05
23:22:52.000000000 +0200
+++ gcc/testsuite/g++.dg/ipa/imm-devirt-2.C    2014-07-06 18:03:59.000000000
+0200
@@ -92,5 +92,5 @@ int main (int argc, char *argv[])
 }

 /* We fold into thunk of C. Eventually we should inline the thunk.  */
-/* { dg-final { scan-tree-dump "C::_ZThn24_N1C3fooEi (" "einline"  } } */
+/* { dg-final { scan-tree-dump "C::_ZThn\(16|24\)_N1C3fooEi \\(" "einline"  }
} */
 /* { dg-final { cleanup-tree-dump "einline" } } */

see https://gcc.gnu.org/ml/gcc-patches/2014-07/msg00385.html.


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

* [Bug middle-end/61748] imm-devirt-2.C failed on arm-linux
  2014-07-08 14:33 [Bug middle-end/61748] New: imm-devirt-2.C failed on arm-linux amker at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2014-07-16 12:31 ` dominiq at lps dot ens.fr
@ 2014-07-16 12:36 ` ro at CeBiTec dot Uni-Bielefeld.DE
  2014-07-16 13:10 ` hubicka at ucw dot cz
  2014-07-22 18:51 ` [Bug testsuite/61748] " ubizjak at gmail dot com
  5 siblings, 0 replies; 7+ messages in thread
From: ro at CeBiTec dot Uni-Bielefeld.DE @ 2014-07-16 12:36 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> ---
> --- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> I have silenced the failure with the following patch
>
> --- ../_clean/gcc/testsuite/g++.dg/ipa/imm-devirt-2.C    2014-07-05
> 23:22:52.000000000 +0200
> +++ gcc/testsuite/g++.dg/ipa/imm-devirt-2.C    2014-07-06 18:03:59.000000000
> +0200
> @@ -92,5 +92,5 @@ int main (int argc, char *argv[])
>  }
>
>  /* We fold into thunk of C. Eventually we should inline the thunk.  */
> -/* { dg-final { scan-tree-dump "C::_ZThn24_N1C3fooEi (" "einline"  } } */
> +/* { dg-final { scan-tree-dump "C::_ZThn\(16|24\)_N1C3fooEi \\(" "einline"  }
> } */
>  /* { dg-final { cleanup-tree-dump "einline" } } */
>
> see https://gcc.gnu.org/ml/gcc-patches/2014-07/msg00385.html.

Looks right to me, provided the 32/64-bit difference is expected.

    Rainer


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

* [Bug middle-end/61748] imm-devirt-2.C failed on arm-linux
  2014-07-08 14:33 [Bug middle-end/61748] New: imm-devirt-2.C failed on arm-linux amker at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2014-07-16 12:36 ` ro at CeBiTec dot Uni-Bielefeld.DE
@ 2014-07-16 13:10 ` hubicka at ucw dot cz
  2014-07-22 18:51 ` [Bug testsuite/61748] " ubizjak at gmail dot com
  5 siblings, 0 replies; 7+ messages in thread
From: hubicka at ucw dot cz @ 2014-07-16 13:10 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Jan Hubicka <hubicka at ucw dot cz> ---
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61748
> 
> --- Comment #4 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> ---
> > --- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> > I have silenced the failure with the following patch
> >
> > --- ../_clean/gcc/testsuite/g++.dg/ipa/imm-devirt-2.C    2014-07-05
> > 23:22:52.000000000 +0200
> > +++ gcc/testsuite/g++.dg/ipa/imm-devirt-2.C    2014-07-06 18:03:59.000000000
> > +0200
> > @@ -92,5 +92,5 @@ int main (int argc, char *argv[])
> >  }
> >
> >  /* We fold into thunk of C. Eventually we should inline the thunk.  */
> > -/* { dg-final { scan-tree-dump "C::_ZThn24_N1C3fooEi (" "einline"  } } */
> > +/* { dg-final { scan-tree-dump "C::_ZThn\(16|24\)_N1C3fooEi \\(" "einline"  }
> > } */
> >  /* { dg-final { cleanup-tree-dump "einline" } } */
> >
> > see https://gcc.gnu.org/ml/gcc-patches/2014-07/msg00385.html.
> 
> Looks right to me, provided the 32/64-bit difference is expected.

Yes, this is OK

Honza

> 
>     Rainer
> 
> -- 
> 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 testsuite/61748] imm-devirt-2.C failed on arm-linux
  2014-07-08 14:33 [Bug middle-end/61748] New: imm-devirt-2.C failed on arm-linux amker at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2014-07-16 13:10 ` hubicka at ucw dot cz
@ 2014-07-22 18:51 ` ubizjak at gmail dot com
  5 siblings, 0 replies; 7+ messages in thread
From: ubizjak at gmail dot com @ 2014-07-22 18:51 UTC (permalink / raw)
  To: gcc-bugs

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

Uroš Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
          Component|middle-end                  |testsuite
         Resolution|---                         |FIXED

--- Comment #6 from Uroš Bizjak <ubizjak at gmail dot com> ---
Fixed by [1].

[1] https://gcc.gnu.org/ml/gcc-patches/2014-07/msg01417.html
>From gcc-bugs-return-456938-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jul 22 18:53:01 2014
Return-Path: <gcc-bugs-return-456938-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 21824 invoked by alias); 22 Jul 2014 18:53:01 -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 21660 invoked by uid 48); 22 Jul 2014 18:52:57 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug testsuite/61826] [4.10 regression] gcc.dg/pr44024.c UNRESOLVED
Date: Tue, 22 Jul 2014 18:53:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: testsuite
X-Bugzilla-Version: 4.10.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ubizjak at gmail dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 4.10.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status component resolution
Message-ID: <bug-61826-4-tkDyMiIQNa@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-61826-4@http.gcc.gnu.org/bugzilla/>
References: <bug-61826-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-07/txt/msg01529.txt.bz2
Content-length: 557

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

Uroš Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
          Component|middle-end                  |testsuite
         Resolution|---                         |FIXED

--- Comment #1 from Uroš Bizjak <ubizjak at gmail dot com> ---
Fixed by [1].

[1] https://gcc.gnu.org/ml/gcc-patches/2014-07/msg01417.html
>From gcc-bugs-return-456939-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jul 22 18:59:16 2014
Return-Path: <gcc-bugs-return-456939-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 3602 invoked by alias); 22 Jul 2014 18:59:15 -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 3410 invoked by uid 48); 22 Jul 2014 18:59:06 -0000
From: "tromey at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/55641] debug info for the type of a reference declared with a typedef has spurious 'const'
Date: Tue, 22 Jul 2014 18:59:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: debug
X-Bugzilla-Version: 4.7.2
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tromey at gcc dot gnu.org
X-Bugzilla-Status: NEW
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: cc
Message-ID: <bug-55641-4-qN1MrvS2rp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-55641-4@http.gcc.gnu.org/bugzilla/>
References: <bug-55641-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-07/txt/msg01530.txt.bz2
Content-length: 833

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

Tom Tromey <tromey at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at gcc dot gnu.org

--- Comment #8 from Tom Tromey <tromey at gcc dot gnu.org> ---
You don't need a typedef:

int x;
int &g(x);


 <1><37>: Abbrev Number: 2 (DW_TAG_variable)
    <38>   DW_AT_name        : g
    <3a>   DW_AT_decl_file   : 1
    <3b>   DW_AT_decl_line   : 2
    <3c>   DW_AT_type        : <0x4a>
    <40>   DW_AT_external    : 1
    <40>   DW_AT_location    : 9 byte block: 3 0 0 0 0 0 0 0 0     (DW_OP_addr:
0)
 <1><4a>: Abbrev Number: 4 (DW_TAG_const_type)
    <4b>   DW_AT_type        : <0x4f>
[...]


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

end of thread, other threads:[~2014-07-22 18:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-08 14:33 [Bug middle-end/61748] New: imm-devirt-2.C failed on arm-linux amker at gcc dot gnu.org
2014-07-08 14:34 ` [Bug middle-end/61748] " amker at gcc dot gnu.org
2014-07-16 11:45 ` ro at gcc dot gnu.org
2014-07-16 12:31 ` dominiq at lps dot ens.fr
2014-07-16 12:36 ` ro at CeBiTec dot Uni-Bielefeld.DE
2014-07-16 13:10 ` hubicka at ucw dot cz
2014-07-22 18:51 ` [Bug testsuite/61748] " ubizjak at gmail dot com

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