public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/46904] New: [4.6 Regression] g++.dg/tree-prof/(indir-call-prof.C|inline_mismatch_args.C) fail on powerpc-apple-darwin9
@ 2010-12-12 13:42 dominiq at lps dot ens.fr
  2010-12-13  9:24 ` [Bug c++/46904] " iains at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: dominiq at lps dot ens.fr @ 2010-12-12 13:42 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [4.6 Regression]
                    g++.dg/tree-prof/(indir-call-prof.C|inline_mismatch_ar
                    gs.C) fail on powerpc-apple-darwin9
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: dominiq@lps.ens.fr
                CC: iains@gcc.gnu.org
              Host: powerpc-apple-darwin9
            Target: powerpc-apple-darwin9
             Build: powerpc-apple-darwin9


On powerpc-apple-darwin9 with both -m32/64, between revisions 167074 and 167096
the following failures appeared (see 
http://gcc.gnu.org/ml/gcc-testresults/2010-11/msg01969.html
http://gcc.gnu.org/ml/gcc-testresults/2010-11/msg02001.html ):

FAIL: g++.dg/tree-prof/indir-call-prof.C compilation,  -g  -fprofile-use
UNRESOLVED: g++.dg/tree-prof/indir-call-prof.C execution,    -g  -fprofile-use
FAIL: g++.dg/tree-prof/indir-call-prof.C compilation,  -O0  -fprofile-use
UNRESOLVED: g++.dg/tree-prof/indir-call-prof.C execution,    -O0  -fprofile-use
FAIL: g++.dg/tree-prof/indir-call-prof.C compilation,  -O1  -fprofile-use
UNRESOLVED: g++.dg/tree-prof/indir-call-prof.C execution,    -O1  -fprofile-use
FAIL: g++.dg/tree-prof/indir-call-prof.C compilation,  -O2  -fprofile-use
UNRESOLVED: g++.dg/tree-prof/indir-call-prof.C execution,    -O2  -fprofile-use
FAIL: g++.dg/tree-prof/indir-call-prof.C compilation,  -O3  -fprofile-use
UNRESOLVED: g++.dg/tree-prof/indir-call-prof.C execution,    -O3  -fprofile-use
FAIL: g++.dg/tree-prof/indir-call-prof.C compilation,  -O3 -g  -fprofile-use
UNRESOLVED: g++.dg/tree-prof/indir-call-prof.C execution,    -O3 -g 
-fprofile-use
FAIL: g++.dg/tree-prof/indir-call-prof.C compilation,  -Os  -fprofile-use
UNRESOLVED: g++.dg/tree-prof/indir-call-prof.C execution,    -Os  -fprofile-use
FAIL: g++.dg/tree-prof/inline_mismatch_args.C compilation,  -g  -fprofile-use
UNRESOLVED: g++.dg/tree-prof/inline_mismatch_args.C execution,    -g 
-fprofile-use
FAIL: g++.dg/tree-prof/inline_mismatch_args.C compilation,  -O0  -fprofile-use
UNRESOLVED: g++.dg/tree-prof/inline_mismatch_args.C execution,    -O0 
-fprofile-use
FAIL: g++.dg/tree-prof/inline_mismatch_args.C compilation,  -O1  -fprofile-use
UNRESOLVED: g++.dg/tree-prof/inline_mismatch_args.C execution,    -O1 
-fprofile-use
FAIL: g++.dg/tree-prof/inline_mismatch_args.C compilation,  -O2  -fprofile-use
UNRESOLVED: g++.dg/tree-prof/inline_mismatch_args.C execution,    -O2 
-fprofile-use
FAIL: g++.dg/tree-prof/inline_mismatch_args.C compilation,  -O3  -fprofile-use
UNRESOLVED: g++.dg/tree-prof/inline_mismatch_args.C execution,    -O3 
-fprofile-use
FAIL: g++.dg/tree-prof/inline_mismatch_args.C compilation,  -O3 -g 
-fprofile-use
UNRESOLVED: g++.dg/tree-prof/inline_mismatch_args.C execution,    -O3 -g 
-fprofile-use
FAIL: g++.dg/tree-prof/inline_mismatch_args.C compilation,  -Os  -fprofile-use
UNRESOLVED: g++.dg/tree-prof/inline_mismatch_args.C execution,    -Os 
-fprofile-use

The failures are
Executing on host: /opt/gcc/darwin_buildw/gcc/testsuite/g++/../../g++
-B/opt/gcc/darwin_buildw/gcc/testsuite/g++/../../
/opt/gcc/gcc-4.6-work/gcc/testsuite/g++.dg/tree-prof/indir-call-prof.C 
-nostdinc++
-I/opt/gcc/darwin_buildw/powerpc-apple-darwin9/ppc64/libstdc++-v3/include/powerpc-apple-darwin9
-I/opt/gcc/darwin_buildw/powerpc-apple-darwin9/ppc64/libstdc++-v3/include
-I/opt/gcc/gcc-4.6-work/libstdc++-v3/libsupc++
-I/opt/gcc/gcc-4.6-work/libstdc++-v3/include/backward
-I/opt/gcc/gcc-4.6-work/libstdc++-v3/testsuite/util -fmessage-length=0  -O0 
-O2 -fdump-tree-optimized -fdump-ipa-tree_profile_ipa -fprofile-use   
-L/opt/gcc/darwin_buildw/powerpc-apple-darwin9/ppc64/libstdc++-v3/src/.libs 
-B/opt/gcc/darwin_buildw/powerpc-apple-darwin9/ppc64/libstdc++-v3/src/.libs 
-L/opt/gcc/darwin_buildw/powerpc-apple-darwin9/ppc64/libstdc++-v3/src/.libs
-L/opt/gcc/darwin_buildw/powerpc-apple-darwin9/ppc64/libiberty 
-multiply_defined suppress -lm   -m64 -o
/opt/gcc/darwin_buildw/gcc/testsuite/g++/indir-call-prof.x12    (timeout = 300)
/var/tmp//ccMopaCO.s:6:FATAL:symbol: __ZN1A2AAEv can't be a weak_definition
(currently only supported in section of type coalesced)
compiler exited with status 1

Executing on host: /opt/gcc/darwin_buildw/gcc/testsuite/g++/../../g++
-B/opt/gcc/darwin_buildw/gcc/testsuite/g++/../../
/opt/gcc/gcc-4.6-work/gcc/testsuite/g++.dg/tree-prof/inline_mismatch_args.C 
-nostdinc++
-I/opt/gcc/darwin_buildw/powerpc-apple-darwin9/ppc64/libstdc++-v3/include/powerpc-apple-darwin9
-I/opt/gcc/darwin_buildw/powerpc-apple-darwin9/ppc64/libstdc++-v3/include
-I/opt/gcc/gcc-4.6-work/libstdc++-v3/libsupc++
-I/opt/gcc/gcc-4.6-work/libstdc++-v3/include/backward
-I/opt/gcc/gcc-4.6-work/libstdc++-v3/testsuite/util -fmessage-length=0  -g  -O2
-fdump-tree-einline -fprofile-use   
-L/opt/gcc/darwin_buildw/powerpc-apple-darwin9/ppc64/libstdc++-v3/src/.libs 
-B/opt/gcc/darwin_buildw/powerpc-apple-darwin9/ppc64/libstdc++-v3/src/.libs 
-L/opt/gcc/darwin_buildw/powerpc-apple-darwin9/ppc64/libstdc++-v3/src/.libs
-L/opt/gcc/darwin_buildw/powerpc-apple-darwin9/ppc64/libiberty 
-multiply_defined suppress -lm   -m64 -o
/opt/gcc/darwin_buildw/gcc/testsuite/g++/inline_mismatch_args.x02    (timeout =
300)
/var/tmp//cctp3azL.s:32:FATAL:symbol: __ZN5Super3FooE5DocId can't be a
weak_definition (currently only supported in section of type coalesced)
compiler exited with status 1

Without better knowledge, the possible candidates are revisions 167076, 167077,
167080, 167082, 167084, 167085, 167090, and 167091.


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

* [Bug c++/46904] [4.6 Regression] g++.dg/tree-prof/(indir-call-prof.C|inline_mismatch_args.C) fail on powerpc-apple-darwin9
  2010-12-12 13:42 [Bug c++/46904] New: [4.6 Regression] g++.dg/tree-prof/(indir-call-prof.C|inline_mismatch_args.C) fail on powerpc-apple-darwin9 dominiq at lps dot ens.fr
@ 2010-12-13  9:24 ` iains at gcc dot gnu.org
  2010-12-16 14:37 ` rguenth at gcc dot gnu.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: iains at gcc dot gnu.org @ 2010-12-13  9:24 UTC (permalink / raw)
  To: gcc-bugs

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

Iain Sandoe <iains at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|powerpc-apple-darwin9       |*-apple-darwin9
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2010.12.13 09:23:54
                 CC|                            |hubicka at ucw dot cz
               Host|powerpc-apple-darwin9       |*-apple-darwin9
     Ever Confirmed|0                           |1
              Build|powerpc-apple-darwin9       |*-apple-darwin9

--- Comment #1 from Iain Sandoe <iains at gcc dot gnu.org> 2010-12-13 09:23:54 UTC ---
this also appears on i686-darwin9.

the weak symbol errors appear with:
http://gcc.gnu.org/ml/gcc-cvs/2010-11/msg00974.html

I guess, if a symbol is artificially weakened - then one must recall
section_for_xxxxx() because, at least on Darwin, weak symbols can only appear
in [linker] coalesce-able sections.

Honza?


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

* [Bug c++/46904] [4.6 Regression] g++.dg/tree-prof/(indir-call-prof.C|inline_mismatch_args.C) fail on powerpc-apple-darwin9
  2010-12-12 13:42 [Bug c++/46904] New: [4.6 Regression] g++.dg/tree-prof/(indir-call-prof.C|inline_mismatch_args.C) fail on powerpc-apple-darwin9 dominiq at lps dot ens.fr
  2010-12-13  9:24 ` [Bug c++/46904] " iains at gcc dot gnu.org
@ 2010-12-16 14:37 ` rguenth at gcc dot gnu.org
  2010-12-20 10:01 ` iains at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-12-16 14:37 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.6.0


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

* [Bug c++/46904] [4.6 Regression] g++.dg/tree-prof/(indir-call-prof.C|inline_mismatch_args.C) fail on powerpc-apple-darwin9
  2010-12-12 13:42 [Bug c++/46904] New: [4.6 Regression] g++.dg/tree-prof/(indir-call-prof.C|inline_mismatch_args.C) fail on powerpc-apple-darwin9 dominiq at lps dot ens.fr
  2010-12-13  9:24 ` [Bug c++/46904] " iains at gcc dot gnu.org
  2010-12-16 14:37 ` rguenth at gcc dot gnu.org
@ 2010-12-20 10:01 ` iains at gcc dot gnu.org
  2011-01-03 20:57 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: iains at gcc dot gnu.org @ 2010-12-20 10:01 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Iain Sandoe <iains at gcc dot gnu.org> 2010-12-20 10:01:06 UTC ---
Author: iains
Date: Mon Dec 20 10:01:02 2010
New Revision: 168083

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168083
Log:

    PR c++/46904
    PR middle-end/46916
    PR target/46950
    * config/darwin.c (generating_for_darwin_version): New var.
    (darwin_text_section): Remove.
    (darwin_rodata_section): Do not check function section here.
    (darwin_emit_unwind_label): Do not emit for Darwin >= 9.
    Emit distinct labels for successive calls for the same decl.
    (darwin_override_options): Set generating_for_darwin_version.
    Add FIXME and disable -freorder-blocks-and-partition.
    Suppress automatic asynchronous unwind tables for m32.
    Switch off -freorder-blocks-and-partition when unwind tables
    will be generated.  Update to use generating_for_darwin_version.
    (darwin_function_section): Check for cases that need to be placed
    in coalesced sections.
    * config/darwin-sections.def: Define hot, cold, startup and exit sections
    for both coalesced and regular code.
    * config/darwin.h (USE_SELECT_SECTION_FOR_FUNCTIONS): Delete.
    * config/darwin10.h (TARGET_ASM_EMIT_UNWIND_LABEL): Delete.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/darwin-sections.def
    trunk/gcc/config/darwin.c
    trunk/gcc/config/darwin.h
    trunk/gcc/config/darwin10.h


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

* [Bug c++/46904] [4.6 Regression] g++.dg/tree-prof/(indir-call-prof.C|inline_mismatch_args.C) fail on powerpc-apple-darwin9
  2010-12-12 13:42 [Bug c++/46904] New: [4.6 Regression] g++.dg/tree-prof/(indir-call-prof.C|inline_mismatch_args.C) fail on powerpc-apple-darwin9 dominiq at lps dot ens.fr
                   ` (2 preceding siblings ...)
  2010-12-20 10:01 ` iains at gcc dot gnu.org
@ 2011-01-03 20:57 ` rguenth at gcc dot gnu.org
  2011-01-09 19:04 ` howarth at nitro dot med.uc.edu
  2011-01-09 21:02 ` dominiq at lps dot ens.fr
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-01-03 20:57 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING

--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-01-03 20:56:42 UTC ---
Fixed?


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

* [Bug c++/46904] [4.6 Regression] g++.dg/tree-prof/(indir-call-prof.C|inline_mismatch_args.C) fail on powerpc-apple-darwin9
  2010-12-12 13:42 [Bug c++/46904] New: [4.6 Regression] g++.dg/tree-prof/(indir-call-prof.C|inline_mismatch_args.C) fail on powerpc-apple-darwin9 dominiq at lps dot ens.fr
                   ` (3 preceding siblings ...)
  2011-01-03 20:57 ` rguenth at gcc dot gnu.org
@ 2011-01-09 19:04 ` howarth at nitro dot med.uc.edu
  2011-01-09 21:02 ` dominiq at lps dot ens.fr
  5 siblings, 0 replies; 7+ messages in thread
From: howarth at nitro dot med.uc.edu @ 2011-01-09 19:04 UTC (permalink / raw)
  To: gcc-bugs

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

Jack Howarth <howarth at nitro dot med.uc.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |howarth at nitro dot
                   |                            |med.uc.edu

--- Comment #4 from Jack Howarth <howarth at nitro dot med.uc.edu> 2011-01-09 18:38:34 UTC ---
The appears to be fixed according to the powerpc-apple-darwin9 regress server.


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

* [Bug c++/46904] [4.6 Regression] g++.dg/tree-prof/(indir-call-prof.C|inline_mismatch_args.C) fail on powerpc-apple-darwin9
  2010-12-12 13:42 [Bug c++/46904] New: [4.6 Regression] g++.dg/tree-prof/(indir-call-prof.C|inline_mismatch_args.C) fail on powerpc-apple-darwin9 dominiq at lps dot ens.fr
                   ` (4 preceding siblings ...)
  2011-01-09 19:04 ` howarth at nitro dot med.uc.edu
@ 2011-01-09 21:02 ` dominiq at lps dot ens.fr
  5 siblings, 0 replies; 7+ messages in thread
From: dominiq at lps dot ens.fr @ 2011-01-09 21:02 UTC (permalink / raw)
  To: gcc-bugs

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

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

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

--- Comment #5 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-01-09 19:07:04 UTC ---
Closing as fixed, thanks for the patch.


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

end of thread, other threads:[~2011-01-09 19:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-12 13:42 [Bug c++/46904] New: [4.6 Regression] g++.dg/tree-prof/(indir-call-prof.C|inline_mismatch_args.C) fail on powerpc-apple-darwin9 dominiq at lps dot ens.fr
2010-12-13  9:24 ` [Bug c++/46904] " iains at gcc dot gnu.org
2010-12-16 14:37 ` rguenth at gcc dot gnu.org
2010-12-20 10:01 ` iains at gcc dot gnu.org
2011-01-03 20:57 ` rguenth at gcc dot gnu.org
2011-01-09 19:04 ` howarth at nitro dot med.uc.edu
2011-01-09 21:02 ` dominiq at lps dot ens.fr

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).