public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/43773]  New: GCC 4.5.0 fails to PGO mozilla
@ 2010-04-16 22:55 tglek at mozilla dot com
  2010-04-17 11:07 ` [Bug middle-end/43773] " rguenth at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: tglek at mozilla dot com @ 2010-04-16 22:55 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2973 bytes --]

-Wcoverage-mismatch doesn't seem to work. GCC 4.4.3 compiles pgo mozilla
successfully.


c++ -o nsStringObsolete.o -c -I../../../dist/system_wrappers -include
/home/taras/work/mozilla-central/config/gcc_hidden.h
-I../../../dist/stl_wrappers -DMOZILLA_INTERNAL_API
-DOSTYPE=\"Linux2.6.18-164.15.1\" -DOSARCH=Linux -D_IMPL_NS_COM 
-I/home/taras/work/mozilla-central/xpcom/string/src -I. -I../../../dist/include
-I../../../dist/include/nsprpub 
-I/home/taras/builds/minefield.pgo/dist/include/nspr
-I/home/taras/builds/minefield.pgo/dist/include/nss       -fPIC  -fno-rtti
-fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth
-Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof
-Wno-variadic-macros -Werror=return-type -Wno-long-long -pedantic
-Wcoverage-mismatch -fno-strict-aliasing -fshort-wchar -pthread -pipe  -DNDEBUG
-DTRIMMED -fprofile-use -Os -freorder-blocks  -freorder-blocks-and-partition
-fomit-frame-pointer    -DMOZILLA_CLIENT -include ../../../mozilla-config.h
-Wp,-MD,.deps/nsStringObsolete.pp
/home/taras/work/mozilla-central/xpcom/string/src/nsStringObsolete.cpp
#
/home/taras/work/mozilla-central/xpcom/string/src/nsReadableUtils.cpp: In
function ‘PRBool IsUTF8(const nsACString_internal&)’:
#
/home/taras/work/mozilla-central/xpcom/string/src/nsReadableUtils.cpp:577:38:
warning: suggest parentheses around ‘&&’ within ‘||’
#
/home/taras/work/mozilla-central/xpcom/string/src/nsReadableUtils.cpp:578:50:
warning: suggest parentheses around ‘&&’ within ‘||’
#
/home/taras/work/mozilla-central/xpcom/string/src/nsReadableUtils.cpp:581:62:
warning: suggest parentheses around ‘&&’ within ‘||’
#
/home/taras/work/mozilla-central/xpcom/string/src/nsReadableUtils.cpp:582:42:
warning: suggest parentheses around ‘&&’ within ‘||’
#
/home/taras/work/mozilla-central/xpcom/string/src/nsReadableUtils.cpp:582:59:
warning: suggest parentheses around ‘&&’ within ‘||’
#
/home/taras/work/mozilla-central/xpcom/string/src/nsSubstring.cpp: In member
function ‘void nsACString_internal::Assign(const
nsACString_internal::char_type*, nsACString_internal::size_type)’:
#
/home/taras/work/mozilla-central/xpcom/string/src/nsSubstring.cpp:317:72:
error: corrupted profile info: profile data is not flow-consistent
#
/home/taras/work/mozilla-central/xpcom/string/src/nsSubstring.cpp:317:72:
error: corrupted profile info: number of executions for edge 15-16 thought to
be 28335
#
/home/taras/work/mozilla-central/xpcom/string/src/nsSubstring.cpp:317:72:
error: corrupted profile info: number of executions for edge 15-17 thought to
be -1


-- 
           Summary: GCC 4.5.0 fails to PGO mozilla
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tglek at mozilla dot com


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


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

* [Bug middle-end/43773] GCC 4.5.0 fails to PGO mozilla
  2010-04-16 22:55 [Bug middle-end/43773] New: GCC 4.5.0 fails to PGO mozilla tglek at mozilla dot com
@ 2010-04-17 11:07 ` rguenth at gcc dot gnu dot org
  2010-04-19 17:56 ` tglek at mozilla dot com
  2010-04-22 22:02 ` tglek at mozilla dot com
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-04-17 11:07 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rguenth at gcc dot gnu dot org  2010-04-17 11:07 -------
-Wcoverage-mismatch isn't designed to cover this kind of errors.  Are there
source changes for the profile-use stage compared to the profile-generate
stage?


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|GCC 4.5.0 fails to PGO      |GCC 4.5.0 fails to PGO
                   |mozilla                     |mozilla


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


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

* [Bug middle-end/43773] GCC 4.5.0 fails to PGO mozilla
  2010-04-16 22:55 [Bug middle-end/43773] New: GCC 4.5.0 fails to PGO mozilla tglek at mozilla dot com
  2010-04-17 11:07 ` [Bug middle-end/43773] " rguenth at gcc dot gnu dot org
@ 2010-04-19 17:56 ` tglek at mozilla dot com
  2010-04-22 22:02 ` tglek at mozilla dot com
  2 siblings, 0 replies; 4+ messages in thread
From: tglek at mozilla dot com @ 2010-04-19 17:56 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from tglek at mozilla dot com  2010-04-19 17:56 -------
(In reply to comment #1)
> -Wcoverage-mismatch isn't designed to cover this kind of errors.  Are there
> source changes for the profile-use stage compared to the profile-generate
> stage?
> 

No changes. Here is the line that's making it unhappy.

extern void pr_static_assert(int arg[(sizeof(nsStringContainer_base) ==
sizeof(nsSubstring)) ? 1 : -1]); where


-- 


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


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

* [Bug middle-end/43773] GCC 4.5.0 fails to PGO mozilla
  2010-04-16 22:55 [Bug middle-end/43773] New: GCC 4.5.0 fails to PGO mozilla tglek at mozilla dot com
  2010-04-17 11:07 ` [Bug middle-end/43773] " rguenth at gcc dot gnu dot org
  2010-04-19 17:56 ` tglek at mozilla dot com
@ 2010-04-22 22:02 ` tglek at mozilla dot com
  2 siblings, 0 replies; 4+ messages in thread
From: tglek at mozilla dot com @ 2010-04-22 22:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from tglek at mozilla dot com  2010-04-22 22:01 -------
-fprofile-correction corrects this


-- 

tglek at mozilla dot com changed:

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


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


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

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

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-16 22:55 [Bug middle-end/43773] New: GCC 4.5.0 fails to PGO mozilla tglek at mozilla dot com
2010-04-17 11:07 ` [Bug middle-end/43773] " rguenth at gcc dot gnu dot org
2010-04-19 17:56 ` tglek at mozilla dot com
2010-04-22 22:02 ` tglek at mozilla dot com

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