public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/41670]  New: FAIL: gcc.c-torture/execute/builtins/memcpy-chk.c compilation,  -O2 -fwhopr
@ 2009-10-10 20:53 danglin at gcc dot gnu dot org
  2009-12-11 15:56 ` [Bug lto/41670] " rguenth at gcc dot gnu dot org
  2010-01-02 14:22 ` rguenth at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: danglin at gcc dot gnu dot org @ 2009-10-10 20:53 UTC (permalink / raw)
  To: gcc-bugs

Executing on host: /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/
/te
st/gnu/gcc/gcc/gcc/testsuite/gcc.c-torture/execute/builtins/memcpy-chk.c
/test/g
nu/gcc/gcc/gcc/testsuite/gcc.c-torture/execute/builtins/memcpy-chk-lib.c
/test/g
nu/gcc/gcc/gcc/testsuite/gcc.c-torture/execute/builtins/lib/main.c  -w  -O2
-fwh
opr   -lm   -o /test/gnu/gcc/objdir/gcc/testsuite/gcc/memcpy-chk.x9    (timeout 
= 300)
ld: (Warning) Symbol "buf5" in "/var/tmp//ccgAAXaF.wpa.ltrans.o" does not
satisf
y the required 16-byte alignment in "/var/tmp//ccuB8z6E.wpa.ltrans.o".
ld: (Warning) Symbol "buf7" in "/var/tmp//ccgAAXaF.wpa.ltrans.o" does not
satisf
y the required 16-byte alignment in "/var/tmp//ccuB8z6E.wpa.ltrans.o".
2 warnings.
output is:
ld: (Warning) Symbol "buf5" in "/var/tmp//ccgAAXaF.wpa.ltrans.o" does not
satisf
y the required 16-byte alignment in "/var/tmp//ccuB8z6E.wpa.ltrans.o".
ld: (Warning) Symbol "buf7" in "/var/tmp//ccgAAXaF.wpa.ltrans.o" does not
satisf
y the required 16-byte alignment in "/var/tmp//ccuB8z6E.wpa.ltrans.o".
2 warnings.

FAIL: gcc.c-torture/execute/builtins/memcpy-chk.c compilation,  -O2 -fwhopr 

The output for buf5 in the .s file looks like this:

        .weak   buf5
        .section        .gnu.linkonce.b.buf5,"aw",@nobits
        .align 8
        .type   buf5, @object
        .size   buf5, 160
buf5:
        .zero   160

In "/var/tmp//ccgAAXaF.wpa.ltrans.o", buf5 and buf7 are allocated in
.bss (common):

[12]     |                    16|     160|OBJT |GLOB |0|    COMM|buf5
[19]     |                    16|      20|OBJT |GLOB |0|    COMM|buf7

The alignment of common in HP-UX is unusual in that the .comm directive
does not specify an alignment, only a size.  The assembler sets the
alignment from the size.

In spite of the warning, the test executes successfully.

Similar fails are:

FAIL: gcc.c-torture/execute/builtins/memmove-chk.c compilation,  -O2 -fwhopr
FAIL: gcc.c-torture/execute/builtins/memops-asm.c compilation,  -O2 -fwhopr
FAIL: gcc.c-torture/execute/builtins/mempcpy-2.c compilation,  -O2 -fwhopr
FAIL: gcc.c-torture/execute/builtins/mempcpy-chk.c compilation,  -O2 -fwhopr
FAIL: gcc.c-torture/execute/builtins/memset-chk.c compilation,  -O2 -fwhopr
FAIL: gcc.c-torture/execute/builtins/memset.c compilation,  -O2 -fwhopr
FAIL: gcc.c-torture/execute/builtins/strcpy-2.c compilation,  -O2 -fwhopr
FAIL: gcc.c-torture/execute/builtins/strpcpy-2.c compilation,  -O2 -fwhopr


-- 
           Summary: FAIL: gcc.c-torture/execute/builtins/memcpy-chk.c
                    compilation,  -O2 -fwhopr
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: danglin at gcc dot gnu dot org
 GCC build triplet: hppa64-hp-hpux11.11
  GCC host triplet: hppa64-hp-hpux11.11
GCC target triplet: hppa64-hp-hpux11.11


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


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

* [Bug lto/41670] FAIL: gcc.c-torture/execute/builtins/memcpy-chk.c compilation,  -O2 -fwhopr
  2009-10-10 20:53 [Bug lto/41670] New: FAIL: gcc.c-torture/execute/builtins/memcpy-chk.c compilation, -O2 -fwhopr danglin at gcc dot gnu dot org
@ 2009-12-11 15:56 ` rguenth at gcc dot gnu dot org
  2010-01-02 14:22 ` rguenth at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-12-11 15:56 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rguenth at gcc dot gnu dot org  2009-12-11 15:55 -------
I believe this should get fixed with the fix for PR41657 I am going to check
in soon.  Please update this PR accordingly.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |41657
             Status|UNCONFIRMED                 |WAITING


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


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

* [Bug lto/41670] FAIL: gcc.c-torture/execute/builtins/memcpy-chk.c compilation,  -O2 -fwhopr
  2009-10-10 20:53 [Bug lto/41670] New: FAIL: gcc.c-torture/execute/builtins/memcpy-chk.c compilation, -O2 -fwhopr danglin at gcc dot gnu dot org
  2009-12-11 15:56 ` [Bug lto/41670] " rguenth at gcc dot gnu dot org
@ 2010-01-02 14:22 ` rguenth at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-01-02 14:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2010-01-02 14:22 -------
http://gcc.gnu.org/ml/gcc-testresults/2009-12/msg02393.html says this is fixed.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.5.0


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


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

end of thread, other threads:[~2010-01-02 14:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-10 20:53 [Bug lto/41670] New: FAIL: gcc.c-torture/execute/builtins/memcpy-chk.c compilation, -O2 -fwhopr danglin at gcc dot gnu dot org
2009-12-11 15:56 ` [Bug lto/41670] " rguenth at gcc dot gnu dot org
2010-01-02 14:22 ` rguenth at gcc dot gnu dot 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).