public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/36440]  New: [4.4 Regression] FAIL: g++.dg/cdce3.C on powerpc-apple-darwin8.5.0
@ 2008-06-05 13:57 dominiq at lps dot ens dot fr
  2008-06-06 13:00 ` [Bug testsuite/36440] " dominiq at lps dot ens dot fr
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: dominiq at lps dot ens dot fr @ 2008-06-05 13:57 UTC (permalink / raw)
  To: gcc-bugs

On powerpc-apple-darwin8.5.0 (see
http://gcc.gnu.org/ml/gcc-testresults/2008-06/msg00340.html) one has:

FAIL: g++.dg/cdce3.C (test for excess errors)
WARNING: g++.dg/cdce3.C compilation failed to produce executable
FAIL: g++.dg/cdce3.C scan-tree-dump cdce "cdce3.C:68: note: function call is
shrink-wrapped into error conditions.": dump file does not exist
FAIL: g++.dg/cdce3.C scan-tree-dump cdce "cdce3.C:69: note: function call is
shrink-wrapped into error conditions.": dump file does not exist
FAIL: g++.dg/cdce3.C scan-tree-dump cdce "cdce3.C:70: note: function call is
shrink-wrapped into error conditions.": dump file does not exist
FAIL: g++.dg/cdce3.C scan-tree-dump cdce "cdce3.C:71: note: function call is
shrink-wrapped into error conditions.": dump file does not exist
FAIL: g++.dg/cdce3.C scan-tree-dump cdce "cdce3.C:72: note: function call is
shrink-wrapped into error conditions.": dump file does not exist
FAIL: g++.dg/cdce3.C scan-tree-dump cdce "cdce3.C:73: note: function call is
shrink-wrapped into error conditions.": dump file does not exist
FAIL: g++.dg/cdce3.C scan-tree-dump cdce "cdce3.C:74: note: function call is
shrink-wrapped into error conditions.": dump file does not exist
FAIL: g++.dg/cdce3.C scan-tree-dump cdce "cdce3.C:75: note: function call is
shrink-wrapped into error conditions.": dump file does not exist
FAIL: g++.dg/cdce3.C scan-tree-dump cdce "cdce3.C:76: note: function call is
shrink-wrapped into error conditions.": dump file does not exist
FAIL: g++.dg/cdce3.C scan-tree-dump cdce "cdce3.C:77: note: function call is
shrink-wrapped into error conditions.": dump file does not exist
FAIL: g++.dg/cdce3.C scan-tree-dump cdce "cdce3.C:78: note: function call is
shrink-wrapped into error conditions.": dump file does not exist
FAIL: g++.dg/cdce3.C scan-tree-dump cdce "cdce3.C:79: note: function call is
shrink-wrapped into error conditions.": dump file does not exist
FAIL: g++.dg/cdce3.C scan-tree-dump cdce "cdce3.C:80: note: function call is
shrink-wrapped into error conditions.": dump file does not exist
FAIL: g++.dg/cdce3.C scan-tree-dump cdce "cdce3.C:81: note: function call is
shrink-wrapped into error conditions.": dump file does not exist
FAIL: g++.dg/cdce3.C scan-tree-dump cdce "cdce3.C:82: note: function call is
shrink-wrapped into error conditions.": dump file does not exist
FAIL: g++.dg/cdce3.C scan-tree-dump cdce "cdce3.C:83: note: function call is
shrink-wrapped into error conditions.": dump file does not exist

although the first line is

/* { dg-do  run { target { ! "*-*-darwin" } } } */

Is the syntax correct?


-- 
           Summary: [4.4 Regression] FAIL: g++.dg/cdce3.C on powerpc-apple-
                    darwin8.5.0
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dominiq at lps dot ens dot fr
 GCC build triplet: powerpc-apple-darwin8.5.0
  GCC host triplet: powerpc-apple-darwin8.5.0
GCC target triplet: powerpc-apple-darwin8.5.0


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


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

* [Bug testsuite/36440] [4.4 Regression] FAIL: g++.dg/cdce3.C on powerpc-apple-darwin8.5.0
  2008-06-05 13:57 [Bug testsuite/36440] New: [4.4 Regression] FAIL: g++.dg/cdce3.C on powerpc-apple-darwin8.5.0 dominiq at lps dot ens dot fr
@ 2008-06-06 13:00 ` dominiq at lps dot ens dot fr
  2008-06-06 18:01 ` davidxl at google dot com
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: dominiq at lps dot ens dot fr @ 2008-06-06 13:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from dominiq at lps dot ens dot fr  2008-06-06 12:59 -------
The failures disappear with the following patch:

--- /opt/gcc/_gcc_clean/gcc/testsuite/g++.dg/cdce3.C    2008-06-05
08:50:23.000000000 +0200
+++ /opt/gcc/gcc-4.4-work/gcc/testsuite/g++.dg/cdce3.C  2008-06-06
13:50:12.000000000 +0200
@@ -1,4 +1,4 @@
-/* { dg-do  run { target { ! "*-*-darwin" } } } */
+/* { dg-do  run { target { ! "*-*-darwin*" } } } */
 /* { dg-options "-O2 -fmath-errno -fdump-tree-cdce-details  -lm" } */
 /* { dg-final { scan-tree-dump  "cdce3.C:68: note: function call is
shrink-wrapped into error conditions\." "cdce" } }*/
 /* { dg-final { scan-tree-dump  "cdce3.C:69: note: function call is
shrink-wrapped into error conditions\." "cdce" } }*/

(at least on i686-apple-darwin9).


-- 

dominiq at lps dot ens dot fr changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |davidxl at google dot com


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


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

* [Bug testsuite/36440] [4.4 Regression] FAIL: g++.dg/cdce3.C on powerpc-apple-darwin8.5.0
  2008-06-05 13:57 [Bug testsuite/36440] New: [4.4 Regression] FAIL: g++.dg/cdce3.C on powerpc-apple-darwin8.5.0 dominiq at lps dot ens dot fr
  2008-06-06 13:00 ` [Bug testsuite/36440] " dominiq at lps dot ens dot fr
@ 2008-06-06 18:01 ` davidxl at google dot com
  2008-06-06 18:18 ` dominiq at lps dot ens dot fr
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: davidxl at google dot com @ 2008-06-06 18:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from davidxl at google dot com  2008-06-06 18:00 -------
(In reply to comment #1)
> The failures disappear with the following patch:
> 
> --- /opt/gcc/_gcc_clean/gcc/testsuite/g++.dg/cdce3.C    2008-06-05
> 08:50:23.000000000 +0200
> +++ /opt/gcc/gcc-4.4-work/gcc/testsuite/g++.dg/cdce3.C  2008-06-06
> 13:50:12.000000000 +0200
> @@ -1,4 +1,4 @@
> -/* { dg-do  run { target { ! "*-*-darwin" } } } */
> +/* { dg-do  run { target { ! "*-*-darwin*" } } } */
>  /* { dg-options "-O2 -fmath-errno -fdump-tree-cdce-details  -lm" } */
>  /* { dg-final { scan-tree-dump  "cdce3.C:68: note: function call is
> shrink-wrapped into error conditions\." "cdce" } }*/
>  /* { dg-final { scan-tree-dump  "cdce3.C:69: note: function call is
> shrink-wrapped into error conditions\." "cdce" } }*/
> 
> (at least on i686-apple-darwin9).
> 

I wonder why gcc.dg/cdce1.c and gcc.dg/cdce2.c do not fail in the same way?

David


-- 


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


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

* [Bug testsuite/36440] [4.4 Regression] FAIL: g++.dg/cdce3.C on powerpc-apple-darwin8.5.0
  2008-06-05 13:57 [Bug testsuite/36440] New: [4.4 Regression] FAIL: g++.dg/cdce3.C on powerpc-apple-darwin8.5.0 dominiq at lps dot ens dot fr
  2008-06-06 13:00 ` [Bug testsuite/36440] " dominiq at lps dot ens dot fr
  2008-06-06 18:01 ` davidxl at google dot com
@ 2008-06-06 18:18 ` dominiq at lps dot ens dot fr
  2008-06-11  1:28 ` kkojima at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: dominiq at lps dot ens dot fr @ 2008-06-06 18:18 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from dominiq at lps dot ens dot fr  2008-06-06 18:17 -------
> I wonder why gcc.dg/cdce1.c and gcc.dg/cdce2.c do not fail in the same way?

Because the tests pass (as far as I can tell from the tests
oni686-apple-darwin9).


-- 


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


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

* [Bug testsuite/36440] [4.4 Regression] FAIL: g++.dg/cdce3.C on powerpc-apple-darwin8.5.0
  2008-06-05 13:57 [Bug testsuite/36440] New: [4.4 Regression] FAIL: g++.dg/cdce3.C on powerpc-apple-darwin8.5.0 dominiq at lps dot ens dot fr
                   ` (2 preceding siblings ...)
  2008-06-06 18:18 ` dominiq at lps dot ens dot fr
@ 2008-06-11  1:28 ` kkojima at gcc dot gnu dot org
  2008-06-11 11:14 ` jsm28 at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: kkojima at gcc dot gnu dot org @ 2008-06-11  1:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from kkojima at gcc dot gnu dot org  2008-06-11 01:27 -------
Created an attachment (id=15746)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15746&action=view)
patch

>From the reports on gcc-testresults, cdce3.C fails on some
other targets:

arm-none-linux-gnueabi
http://gcc.gnu.org/ml/gcc-testresults/2008-06/msg00404.html
powerpc64-unknown-linux-gnu
http://gcc.gnu.org/ml/gcc-testresults/2008-06/msg00430.html
sh4-unknown-linux-gnu
http://gcc.gnu.org/ml/gcc-testresults/2008-06/msg00494.html
powerpc-ibm-aix5.3.0.0
http://gcc.gnu.org/ml/gcc-testresults/2008-06/msg00508.html
i386-unknown-freebsd6.2
http://gcc.gnu.org/ml/gcc-testresults/2008-06/msg00522.html
mipsel-unknown-linux-gnu
http://gcc.gnu.org/ml/gcc-testresults/2008-06/msg00555.html

though now cdce3.C test is skipped on darwin.
It fails also for some *-elf embedded targets.  For these
*-linux* and *-elf targets, it seems that the lack of 'l'
suffixed math functions causes errors.
How about the attached patch?  It tests long double math
functions only for the targets having true long double and
skips tests for pow10*/exp10* functions which are gnu extensions
on *-*-darwin*.
It's tested for i686-pc-linux-gnu, powerpc-apple-darwin9.0.0,
sh-unknown-elf and sh4-unknown-linux-gnu.  I'm not sure
how this test fails on AIX and FreeBSD, though.


-- 


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


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

* [Bug testsuite/36440] [4.4 Regression] FAIL: g++.dg/cdce3.C on powerpc-apple-darwin8.5.0
  2008-06-05 13:57 [Bug testsuite/36440] New: [4.4 Regression] FAIL: g++.dg/cdce3.C on powerpc-apple-darwin8.5.0 dominiq at lps dot ens dot fr
                   ` (3 preceding siblings ...)
  2008-06-11  1:28 ` kkojima at gcc dot gnu dot org
@ 2008-06-11 11:14 ` jsm28 at gcc dot gnu dot org
  2008-06-15 14:54 ` danglin at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-06-11 11:14 UTC (permalink / raw)
  To: gcc-bugs



-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.4.0


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


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

* [Bug testsuite/36440] [4.4 Regression] FAIL: g++.dg/cdce3.C on powerpc-apple-darwin8.5.0
  2008-06-05 13:57 [Bug testsuite/36440] New: [4.4 Regression] FAIL: g++.dg/cdce3.C on powerpc-apple-darwin8.5.0 dominiq at lps dot ens dot fr
                   ` (4 preceding siblings ...)
  2008-06-11 11:14 ` jsm28 at gcc dot gnu dot org
@ 2008-06-15 14:54 ` danglin at gcc dot gnu dot org
  2008-06-15 19:58 ` danglin at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: danglin at gcc dot gnu dot org @ 2008-06-15 14:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from danglin at gcc dot gnu dot org  2008-06-15 14:53 -------
Also fails on hppa*-*-*.


-- 

danglin at gcc dot gnu dot org changed:

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


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


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

* [Bug testsuite/36440] [4.4 Regression] FAIL: g++.dg/cdce3.C on powerpc-apple-darwin8.5.0
  2008-06-05 13:57 [Bug testsuite/36440] New: [4.4 Regression] FAIL: g++.dg/cdce3.C on powerpc-apple-darwin8.5.0 dominiq at lps dot ens dot fr
                   ` (5 preceding siblings ...)
  2008-06-15 14:54 ` danglin at gcc dot gnu dot org
@ 2008-06-15 19:58 ` danglin at gcc dot gnu dot org
  2008-06-25 12:09 ` rguenth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: danglin at gcc dot gnu dot org @ 2008-06-15 19:58 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from danglin at gcc dot gnu dot org  2008-06-15 19:57 -------
gcc.dg/cdce1.c and gcc.dg/cdce2.c also fail on hppa*-*-*.


-- 


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


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

* [Bug testsuite/36440] [4.4 Regression] FAIL: g++.dg/cdce3.C on powerpc-apple-darwin8.5.0
  2008-06-05 13:57 [Bug testsuite/36440] New: [4.4 Regression] FAIL: g++.dg/cdce3.C on powerpc-apple-darwin8.5.0 dominiq at lps dot ens dot fr
                   ` (6 preceding siblings ...)
  2008-06-15 19:58 ` danglin at gcc dot gnu dot org
@ 2008-06-25 12:09 ` rguenth at gcc dot gnu dot org
  2008-07-13 22:29 ` danglin at gcc dot gnu dot org
  2008-09-15  9:43 ` jakub at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-06-25 12:09 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2


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


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

* [Bug testsuite/36440] [4.4 Regression] FAIL: g++.dg/cdce3.C on powerpc-apple-darwin8.5.0
  2008-06-05 13:57 [Bug testsuite/36440] New: [4.4 Regression] FAIL: g++.dg/cdce3.C on powerpc-apple-darwin8.5.0 dominiq at lps dot ens dot fr
                   ` (7 preceding siblings ...)
  2008-06-25 12:09 ` rguenth at gcc dot gnu dot org
@ 2008-07-13 22:29 ` danglin at gcc dot gnu dot org
  2008-09-15  9:43 ` jakub at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: danglin at gcc dot gnu dot org @ 2008-07-13 22:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from danglin at gcc dot gnu dot org  2008-07-13 22:28 -------
Subject: Bug 36440

Author: danglin
Date: Sun Jul 13 22:27:58 2008
New Revision: 137757

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=137757
Log:
        PR testsuite/36440
        * tree-call-cdce.c (check_target_format): Accept MIPS single, double
        and quad formats.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/tree-call-cdce.c


-- 


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


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

* [Bug testsuite/36440] [4.4 Regression] FAIL: g++.dg/cdce3.C on powerpc-apple-darwin8.5.0
  2008-06-05 13:57 [Bug testsuite/36440] New: [4.4 Regression] FAIL: g++.dg/cdce3.C on powerpc-apple-darwin8.5.0 dominiq at lps dot ens dot fr
                   ` (8 preceding siblings ...)
  2008-07-13 22:29 ` danglin at gcc dot gnu dot org
@ 2008-09-15  9:43 ` jakub at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-09-15  9:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from jakub at gcc dot gnu dot org  2008-09-15 09:42 -------
Everything seems to be fixed as far as I can see.


-- 

jakub at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2008-09-15  9:43 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-05 13:57 [Bug testsuite/36440] New: [4.4 Regression] FAIL: g++.dg/cdce3.C on powerpc-apple-darwin8.5.0 dominiq at lps dot ens dot fr
2008-06-06 13:00 ` [Bug testsuite/36440] " dominiq at lps dot ens dot fr
2008-06-06 18:01 ` davidxl at google dot com
2008-06-06 18:18 ` dominiq at lps dot ens dot fr
2008-06-11  1:28 ` kkojima at gcc dot gnu dot org
2008-06-11 11:14 ` jsm28 at gcc dot gnu dot org
2008-06-15 14:54 ` danglin at gcc dot gnu dot org
2008-06-15 19:58 ` danglin at gcc dot gnu dot org
2008-06-25 12:09 ` rguenth at gcc dot gnu dot org
2008-07-13 22:29 ` danglin at gcc dot gnu dot org
2008-09-15  9:43 ` jakub 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).