public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/38158]  New: FAIL: gcc.c-torture/execute/pr38051.c execution
@ 2008-11-16 15:01 danglin at gcc dot gnu dot org
  2008-11-16 15:10 ` [Bug middle-end/38158] " rguenth at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: danglin at gcc dot gnu dot org @ 2008-11-16 15:01 UTC (permalink / raw)
  To: gcc-bugs

At all optimization levels, this new test fails:

Executing on host: /home/dave/gcc-4.4/objdir/gcc/xgcc
-B/home/dave/gcc-4.4/objdi
r/gcc/ /home/dave/gcc-4.4/gcc/gcc/testsuite/gcc.c-torture/execute/pr38051.c  -w 
 -O0   -lm   -o /home/dave/gcc-4.4/objdir/gcc/testsuite/gcc/pr38051.x0   
(timeo
ut = 300)
PASS: gcc.c-torture/execute/pr38051.c compilation,  -O0 
Setting LD_LIBRARY_PATH to
:/home/dave/gcc-4.4/objdir/gcc::/home/dave/gcc-4.4/ob
jdir/gcc:/home/dave/gcc-4.4/objdir/hppa-linux/libstdc++-v3/.libs:/home/dave/gcc-
4.4/objdir/hppa-linux/libmudflap/.libs:/home/dave/gcc-4.4/objdir/hppa-linux/libs
sp/.libs:/home/dave/gcc-4.4/objdir/hppa-linux/libgomp/.libs:/home/dave/gcc-4.4/o
bjdir/./gcc:/home/dave/gcc-4.4/objdir/./prev-gcc
FAIL: gcc.c-torture/execute/pr38051.c execution,  -O0


-- 
           Summary: FAIL: gcc.c-torture/execute/pr38051.c execution
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: danglin at gcc dot gnu dot org
 GCC build triplet: hppa-unknown-linux-gnu
  GCC host triplet: hppa-unknown-linux-gnu
GCC target triplet: hppa-unknown-linux-gnu


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


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

* [Bug middle-end/38158] FAIL: gcc.c-torture/execute/pr38051.c execution
  2008-11-16 15:01 [Bug middle-end/38158] New: FAIL: gcc.c-torture/execute/pr38051.c execution danglin at gcc dot gnu dot org
@ 2008-11-16 15:10 ` rguenth at gcc dot gnu dot org
  2008-11-16 15:12 ` danglin at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-11-16 15:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rguenth at gcc dot gnu dot org  2008-11-16 15:09 -------
Only at -O0?  If not probably because the testcase assumes sizeof (long) ==
sizeof (void *).


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rguenth at gcc dot gnu dot
                   |                            |org


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


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

* [Bug middle-end/38158] FAIL: gcc.c-torture/execute/pr38051.c execution
  2008-11-16 15:01 [Bug middle-end/38158] New: FAIL: gcc.c-torture/execute/pr38051.c execution danglin at gcc dot gnu dot org
  2008-11-16 15:10 ` [Bug middle-end/38158] " rguenth at gcc dot gnu dot org
@ 2008-11-16 15:12 ` danglin at gcc dot gnu dot org
  2008-11-16 15:14 ` danglin at gcc dot gnu dot org
  2008-11-21 16:31 ` danglin at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: danglin at gcc dot gnu dot org @ 2008-11-16 15:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from danglin at gcc dot gnu dot org  2008-11-16 15:10 -------
Starting program: /home/dave/gcc-4.4/objdir/gcc/testsuite/gcc/pr38051.x0g 

Breakpoint 1, main ()
    at /home/dave/gcc-4.4/gcc/gcc/testsuite/gcc.c-torture/execute/pr38051.c:202
202         __builtin_abort ();

(gdb) p buf   
$3 = "\000\000\000\000\000\000\000\000\000\0017\202?UI\235??D?U\027\216?", '\0'
<repeats 231 times>
(gdb) p buf2
$4 = '\0' <repeats 24 times>, "\0017\202?UI??*m#qIj", '\0' <repeats 216 times>


-- 


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


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

* [Bug middle-end/38158] FAIL: gcc.c-torture/execute/pr38051.c execution
  2008-11-16 15:01 [Bug middle-end/38158] New: FAIL: gcc.c-torture/execute/pr38051.c execution danglin at gcc dot gnu dot org
  2008-11-16 15:10 ` [Bug middle-end/38158] " rguenth at gcc dot gnu dot org
  2008-11-16 15:12 ` danglin at gcc dot gnu dot org
@ 2008-11-16 15:14 ` danglin at gcc dot gnu dot org
  2008-11-21 16:31 ` danglin at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: danglin at gcc dot gnu dot org @ 2008-11-16 15:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from danglin at gcc dot gnu dot org  2008-11-16 15:12 -------
No.  It fails at all optimizations.  sizeof (long) is the same as sizeof (void
*)
on the PA.


-- 


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


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

* [Bug middle-end/38158] FAIL: gcc.c-torture/execute/pr38051.c execution
  2008-11-16 15:01 [Bug middle-end/38158] New: FAIL: gcc.c-torture/execute/pr38051.c execution danglin at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2008-11-16 15:14 ` danglin at gcc dot gnu dot org
@ 2008-11-21 16:31 ` danglin at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: danglin at gcc dot gnu dot org @ 2008-11-21 16:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from danglin at gcc dot gnu dot org  2008-11-21 16:30 -------
Fixed by

2008-11-18  Jakub Jelinek  <jakub@redhat.com>

        PR tree-optimization/38051
        * gcc.c-torture/execute/pr38051.c (buf): Remove aligned attribute.
        (buf2): Removed.
        (main): Only run on little endian targets with
        sizeof (long) == sizeof (void *).  Use just one buffer, align the
        pointers at runtime.


-- 

danglin at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2008-11-21 16:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-16 15:01 [Bug middle-end/38158] New: FAIL: gcc.c-torture/execute/pr38051.c execution danglin at gcc dot gnu dot org
2008-11-16 15:10 ` [Bug middle-end/38158] " rguenth at gcc dot gnu dot org
2008-11-16 15:12 ` danglin at gcc dot gnu dot org
2008-11-16 15:14 ` danglin at gcc dot gnu dot org
2008-11-21 16:31 ` danglin 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).