public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/41429]  New: gomp tests timeout with -fpic
@ 2009-09-21 14:50 ghazi at gcc dot gnu dot org
  2009-09-21 15:04 ` [Bug middle-end/41429] " ghazi at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: ghazi at gcc dot gnu dot org @ 2009-09-21 14:50 UTC (permalink / raw)
  To: gcc-bugs

Somewhere between mainline revision 151676 and 151704 I started getting several
gomp failures which manifest as timeouts in the testsuite when using
-fpic/-fPIC.

Here are the differing testsuite results:
Clean: http://gcc.gnu.org/ml/gcc-testresults/2009-09/msg01244.html
FAIL: http://gcc.gnu.org/ml/gcc-testresults/2009-09/msg01344.html

The new gomp failures with -fpic/-fPIC are:

FAIL: g++.dg/gomp/pr37189.C (test for excess errors)
FAIL: libgomp.c++/task-3.C  -O0  (test for excess errors)
FAIL: libgomp.c++/task-3.C  -O1  (test for excess errors)
FAIL: libgomp.c++/task-3.C  -O2  (test for excess errors)
FAIL: libgomp.c++/task-3.C  -O3 -fomit-frame-pointer  (test for excess errors)
FAIL: libgomp.c++/task-3.C  -O3 -fomit-frame-pointer -funroll-loops  (test for
excess errors)
FAIL: libgomp.c++/task-3.C  -O3 -fomit-frame-pointer -funroll-all-loops
-finline-functions  (test for excess errors)
FAIL: libgomp.c++/task-3.C  -O3 -g  (test for excess errors)
FAIL: libgomp.c++/task-3.C  -Os  (test for excess errors)
FAIL: libgomp.c++/task-5.C  -O0  (test for excess errors)
FAIL: libgomp.c++/task-5.C  -O1  (test for excess errors)
FAIL: libgomp.c++/task-5.C  -O2  (test for excess errors)
FAIL: libgomp.c++/task-5.C  -O3 -fomit-frame-pointer  (test for excess errors)
FAIL: libgomp.c++/task-5.C  -O3 -fomit-frame-pointer -funroll-loops  (test for
excess errors)
FAIL: libgomp.c++/task-5.C  -O3 -fomit-frame-pointer -funroll-all-loops
-finline-functions  (test for excess errors)
FAIL: libgomp.c++/task-5.C  -O3 -g  (test for excess errors)
FAIL: libgomp.c++/task-5.C  -Os  (test for excess errors)
FAIL: libgomp.c++/task-7.C  -O0  (test for excess errors)
FAIL: libgomp.c++/task-7.C  -O1  (test for excess errors)
FAIL: libgomp.c++/task-7.C  -O2  (test for excess errors)
FAIL: libgomp.c++/task-7.C  -O3 -fomit-frame-pointer  (test for excess errors)
FAIL: libgomp.c++/task-7.C  -O3 -fomit-frame-pointer -funroll-loops  (test for
excess errors)
FAIL: libgomp.c++/task-7.C  -O3 -fomit-frame-pointer -funroll-all-loops
-finline-functions  (test for excess errors)
FAIL: libgomp.c++/task-7.C  -O3 -g  (test for excess errors)
FAIL: libgomp.c++/task-7.C  -Os  (test for excess errors)


-- 
           Summary: gomp tests timeout with -fpic
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Keywords: openmp
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ghazi at gcc dot gnu dot org
GCC target triplet: x86_64-unknown-linux-gnu


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


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

* [Bug middle-end/41429] gomp tests timeout with -fpic
  2009-09-21 14:50 [Bug middle-end/41429] New: gomp tests timeout with -fpic ghazi at gcc dot gnu dot org
@ 2009-09-21 15:04 ` ghazi at gcc dot gnu dot org
  2009-09-21 18:06 ` jakub at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: ghazi at gcc dot gnu dot org @ 2009-09-21 15:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from ghazi at gcc dot gnu dot org  2009-09-21 15:04 -------
To reproduce, target x86_64-unknown-linux-gnu and compile g++.dg/gomp/pr37189.C
with:

cc1plus -quiet -v pr37189.C -dumpbase pr37189.C -mtune=generic -auxbase pr37189
-version -fopenmp -fpic -o pr37189.s
------------------------------------------------
// PR c++/37189
// { dg-do compile }
// { dg-options "-fopenmp" }

struct S
{
  S () {}
  S (S const &) {}
};

struct T
{
  S s;
};

void
bar (T &)
{
}

int
foo ()
{
  T t;
  #pragma omp task
    bar (t);
}


-- 


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


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

* [Bug middle-end/41429] gomp tests timeout with -fpic
  2009-09-21 14:50 [Bug middle-end/41429] New: gomp tests timeout with -fpic ghazi at gcc dot gnu dot org
  2009-09-21 15:04 ` [Bug middle-end/41429] " ghazi at gcc dot gnu dot org
@ 2009-09-21 18:06 ` jakub at gcc dot gnu dot org
  2009-09-22  6:43 ` jakub at gcc dot gnu dot org
  2009-09-22  6:47 ` jakub at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-09-21 18:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from jakub at gcc dot gnu dot org  2009-09-21 18:06 -------
Created an attachment (id=18628)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18628&action=view)
gcc45-pr41429.patch

Patch I'm going to bootstrap/regtest.


-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |jakub at gcc dot gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED


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


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

* [Bug middle-end/41429] gomp tests timeout with -fpic
  2009-09-21 14:50 [Bug middle-end/41429] New: gomp tests timeout with -fpic ghazi at gcc dot gnu dot org
  2009-09-21 15:04 ` [Bug middle-end/41429] " ghazi at gcc dot gnu dot org
  2009-09-21 18:06 ` jakub at gcc dot gnu dot org
@ 2009-09-22  6:43 ` jakub at gcc dot gnu dot org
  2009-09-22  6:47 ` jakub at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-09-22  6:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from jakub at gcc dot gnu dot org  2009-09-22 06:42 -------
Subject: Bug 41429

Author: jakub
Date: Tue Sep 22 06:42:26 2009
New Revision: 151966

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=151966
Log:
        PR middle-end/41429
        * tree-cfg.c (remove_useless_stmts_tc): Call gsi_next (gsi) even for
        GIMPLE_EH_MUST_NOT_THROW cleanup.
        (verify_types_in_gimple_stmt): Handle GIMPLE_EH_MUST_NOT_THROW.

        * g++.dg/gomp/pr41429.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/gomp/pr41429.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-cfg.c


-- 


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


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

* [Bug middle-end/41429] gomp tests timeout with -fpic
  2009-09-21 14:50 [Bug middle-end/41429] New: gomp tests timeout with -fpic ghazi at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2009-09-22  6:43 ` jakub at gcc dot gnu dot org
@ 2009-09-22  6:47 ` jakub at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-09-22  6:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from jakub at gcc dot gnu dot org  2009-09-22 06:47 -------
Fixed.


-- 

jakub at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2009-09-22  6:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-21 14:50 [Bug middle-end/41429] New: gomp tests timeout with -fpic ghazi at gcc dot gnu dot org
2009-09-21 15:04 ` [Bug middle-end/41429] " ghazi at gcc dot gnu dot org
2009-09-21 18:06 ` jakub at gcc dot gnu dot org
2009-09-22  6:43 ` jakub at gcc dot gnu dot org
2009-09-22  6:47 ` 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).