public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/53814] New: FAIL: g++.dg/cpp0x/nullptr28.C -std=c++11 execution test
@ 2012-06-29 23:33 danglin at gcc dot gnu.org
  2012-07-03 23:29 ` [Bug c++/53814] " michaelh at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: danglin at gcc dot gnu.org @ 2012-06-29 23:33 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 53814
           Summary: FAIL: g++.dg/cpp0x/nullptr28.C -std=c++11 execution
                    test
    Classification: Unclassified
           Product: gcc
           Version: 4.7.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: danglin@gcc.gnu.org
              Host: hppa64-hp-hpux11.11
            Target: hppa64-hp-hpux11.11
             Build: hppa64-hp-hpux11.11


Executing on host: /mnt/gnu/gcc/objdir-test/gcc/testsuite/g++/../../g++
-B/mnt/g
nu/gcc/objdir-test/gcc/testsuite/g++/../../
/mnt/gnu/gcc/gcc/gcc/testsuite/g++.dg/cpp0x/nullptr28.C   -nostdinc++
-I/mnt/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/hppa64-hp-hpux11.11
-I/mnt/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include
-I/mnt/gnu/gcc/gcc/libstdc++-v3/libsupc++
-I/mnt/gnu/gcc/gcc/libstdc++-v3/include/backward
-I/mnt/gnu/gcc/gcc/libstdc++-v3/testsuite/util -fmessage-length=0 -std=c++11 
-pedantic-errors -Wno-long-long   
-L/mnt/gnu/gcc/objdir-test/hppa64-hp-hpux11.11/./libstdc++-v3/src/.libs 
-B/mnt/gnu/gcc/objdir-test/hppa64-hp-hpux11.11/./libstdc++-v3/src/.libs 
-L/mnt/gnu/gcc/objdir-test/hppa64-hp-hpux11.11/./libstdc++-v3/src/.libs  -lm  
-o ./nullptr28.exe    (timeout = 300)
spawn /mnt/gnu/gcc/objdir-test/gcc/testsuite/g++/../../g++
-B/mnt/gnu/gcc/objdir-test/gcc/testsuite/g++/../../
/mnt/gnu/gcc/gcc/gcc/testsuite/g++.dg/cpp0x/nullptr28.C -nostdinc++
-I/mnt/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/hppa64-hp-hpux11.11
-I/mnt/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include
-I/mnt/gnu/gcc/gcc/libstdc++-v3/libsupc++
-I/mnt/gnu/gcc/gcc/libstdc++-v3/include/backward
-I/mnt/gnu/gcc/gcc/libstdc++-v3/testsuite/util -fmessage-length=0 -std=c++11
-pedantic-errors -Wno-long-long
-L/mnt/gnu/gcc/objdir-test/hppa64-hp-hpux11.11/./libstdc++-v3/src/.libs
-B/mnt/gnu/gcc/objdir-test/hppa64-hp-hpux11.11/./libstdc++-v3/src/.libs
-L/mnt/gnu/gcc/objdir-test/hppa64-hp-hpux11.11/./libstdc++-v3/src/.libs -lm -o
./nullptr28.exe
PASS: g++.dg/cpp0x/nullptr28.C -std=c++11 (test for excess errors)
Setting LD_LIBRARY_PATH to
.:/mnt/gnu/gcc/objdir-test/hppa64-hp-hpux11.11/./libstdc++-v3/src/.libs:/mnt/gnu/gcc/objdir-test/hppa64-hp-hpux11.11/./libstdc++-v3/src/.libs:/mnt/gnu/gcc/objdir/gcc:.:/mnt/gnu/gcc/objdir-test/hppa64-hp-hpux11.11/./libstdc++-v3/src/.libs:/mnt/gnu/gcc/objdir-test/hppa64-hp-hpux11.11/./libstdc++-v3/src/.libs:/mnt/gnu/gcc/objdir/gcc
spawn [open ...]
FAIL: g++.dg/cpp0x/nullptr28.C -std=c++11 execution test

# ../../../gcc/xgcc -B../../../gcc/ -v
Reading specs from ../../../gcc/specs
COLLECT_GCC=../../../gcc/xgcc
COLLECT_LTO_WRAPPER=../../../gcc/lto-wrapper
Target: hppa64-hp-hpux11.11
Configured with: ../gcc/configure --with-gnu-as --with-as=/opt/gnu64/bin/as
--with-ld=/usr/ccs/bin/ld --enable-shared --with-local-prefix=/opt/gnu64
--prefix=/nowhere --build=hppa64-hp-hpux11.11 --enable-threads=posix
--disable-nls --with-gmp=/opt/gnu64/gcc/gmp
--enable-languages=c,c++,objc,obj-c++,fortran
Thread model: posix
gcc version 4.7.2 20120629 (prerelease) [gcc-4_7-branch revision 189060] (GCC)


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

* [Bug c++/53814] FAIL: g++.dg/cpp0x/nullptr28.C -std=c++11 execution test
  2012-06-29 23:33 [Bug c++/53814] New: FAIL: g++.dg/cpp0x/nullptr28.C -std=c++11 execution test danglin at gcc dot gnu.org
@ 2012-07-03 23:29 ` michaelh at gcc dot gnu.org
  2012-11-27 23:43 ` danglin at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: michaelh at gcc dot gnu.org @ 2012-07-03 23:29 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from michaelh at gcc dot gnu.org 2012-07-03 23:29:07 UTC ---
Author: michaelh
Date: Tue Jul  3 23:29:03 2012
New Revision: 189242

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189242
Log:
2012-07-03  Michael Hope  <michael.hope@linaro.org>

    PR c++/53814
    * g++.dg/cpp0x/nullptr28.C: Change selector for explicit
    options.

Modified:
    branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_6-branch/gcc/testsuite/g++.dg/cpp0x/nullptr28.C


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

* [Bug c++/53814] FAIL: g++.dg/cpp0x/nullptr28.C -std=c++11 execution test
  2012-06-29 23:33 [Bug c++/53814] New: FAIL: g++.dg/cpp0x/nullptr28.C -std=c++11 execution test danglin at gcc dot gnu.org
  2012-07-03 23:29 ` [Bug c++/53814] " michaelh at gcc dot gnu.org
@ 2012-11-27 23:43 ` danglin at gcc dot gnu.org
  2012-12-02 21:14 ` danglin at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: danglin at gcc dot gnu.org @ 2012-11-27 23:43 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #2 from John David Anglin <danglin at gcc dot gnu.org> 2012-11-27 23:43:34 UTC ---
bash-3.2$ /opt/gnu64/bin/gdb nullptr28.exe
GNU gdb (GDB) 7.4.50.20120203-cvs
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "hppa64-hp-hpux11.11".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from
/mnt/gnu/gcc/objdir-test/gcc/testsuite/g++/nullptr28.exe...done.
(gdb) r
Starting program: /mnt/gnu/gcc/objdir-test/gcc/testsuite/g++/nullptr28.exe 
warning: Private mapping of shared library text was not specified
by the executable; setting a breakpoint in a shared library which
is not privately mapped will not work.  See the HP-UX 11i v3 chatr
manpage for methods to privately map shared library text.

Program received signal SIGBUS, Bus error.
0x4000000000002a7c in g() ()
(gdb) disass $pc-16,$pc+16
Dump of assembler code from 0x4000000000002a6c to 0x4000000000002a8c:
   0x4000000000002a6c <_Z1gv+28>:    copy dp,r4
   0x4000000000002a70 <_Z1gv+32>:    b,l 0x40000000000029f8 <_Z1fv>,rp
   0x4000000000002a74 <_Z1gv+36>:    nop
   0x4000000000002a78 <_Z1gv+40>:    copy r4,dp
=> 0x4000000000002a7c <_Z1gv+44>:    ldd 0(ret0),ret0
   0x4000000000002a80 <_Z1gv+48>:    ldd -10(r3),rp
   0x4000000000002a84 <_Z1gv+52>:    ldd 8(r3),r4
   0x4000000000002a88 <_Z1gv+56>:    ldo 40(r3),sp
End of assembler dump.
(gdb) p/x $ret0
$1 = 0x800000010000031c
(gdb) info addr n
Symbol "n" is at 0x800000010000031c in a file compiled without debugging.

Symbol "n" is incorrectly aligned.

In nullptr28.C.231r.dfinish:

(insn 9 41 19 (set (reg:DI 28 %r28 [orig:69 D.1635 ] [69])
        (mem:DI (reg/f:DI 28 %r28 [orig:68 D.1636 ] [68]) [0 *D.1636_1+0 S8
A8])) /mnt/gnu/gcc/gcc/gcc/testsuite/g++.dg/cpp0x/nullptr28.C:10 120
{*pa.md:4109}
     (nil))

So, the RTL thinks "n" should be aligned.  However, in the .s file, we have:

        .LEVEL 2.0w
        .globl  i
        .section        .bss
        .align 4
        .type   i, @object
        .size   i, 4
        .align 4
i:
        .block 4
        .globl  n
        .align 1
        .type   n, @object
        .size   n, 8
        .align 1
n:
        .block 8
        .text


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

* [Bug c++/53814] FAIL: g++.dg/cpp0x/nullptr28.C -std=c++11 execution test
  2012-06-29 23:33 [Bug c++/53814] New: FAIL: g++.dg/cpp0x/nullptr28.C -std=c++11 execution test danglin at gcc dot gnu.org
  2012-07-03 23:29 ` [Bug c++/53814] " michaelh at gcc dot gnu.org
  2012-11-27 23:43 ` danglin at gcc dot gnu.org
@ 2012-12-02 21:14 ` danglin at gcc dot gnu.org
  2015-03-25 17:01 ` paolo.carlini at oracle dot com
  2015-03-25 17:48 ` danglin at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: danglin at gcc dot gnu.org @ 2012-12-02 21:14 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #3 from John David Anglin <danglin at gcc dot gnu.org> 2012-12-02 21:13:57 UTC ---
On trunk, "n" is loaded using generic code to load a misaligned object.
So, test doesn't fail.


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

* [Bug c++/53814] FAIL: g++.dg/cpp0x/nullptr28.C -std=c++11 execution test
  2012-06-29 23:33 [Bug c++/53814] New: FAIL: g++.dg/cpp0x/nullptr28.C -std=c++11 execution test danglin at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2012-12-02 21:14 ` danglin at gcc dot gnu.org
@ 2015-03-25 17:01 ` paolo.carlini at oracle dot com
  2015-03-25 17:48 ` danglin at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: paolo.carlini at oracle dot com @ 2015-03-25 17:01 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Can we resolve this?


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

* [Bug c++/53814] FAIL: g++.dg/cpp0x/nullptr28.C -std=c++11 execution test
  2012-06-29 23:33 [Bug c++/53814] New: FAIL: g++.dg/cpp0x/nullptr28.C -std=c++11 execution test danglin at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2015-03-25 17:01 ` paolo.carlini at oracle dot com
@ 2015-03-25 17:48 ` danglin at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: danglin at gcc dot gnu.org @ 2015-03-25 17:48 UTC (permalink / raw)
  To: gcc-bugs

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

John David Anglin <danglin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #5 from John David Anglin <danglin at gcc dot gnu.org> ---
Branch is no longer maintained.


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

end of thread, other threads:[~2015-03-25 17:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-29 23:33 [Bug c++/53814] New: FAIL: g++.dg/cpp0x/nullptr28.C -std=c++11 execution test danglin at gcc dot gnu.org
2012-07-03 23:29 ` [Bug c++/53814] " michaelh at gcc dot gnu.org
2012-11-27 23:43 ` danglin at gcc dot gnu.org
2012-12-02 21:14 ` danglin at gcc dot gnu.org
2015-03-25 17:01 ` paolo.carlini at oracle dot com
2015-03-25 17:48 ` danglin 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).