public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "lothar at tradescape dot biz" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/36861] [4.3 Regression] boost's compressed avl confuses GCC
Date: Mon, 28 Jul 2008 18:56:00 -0000	[thread overview]
Message-ID: <20080728185551.2616.qmail@sourceware.org> (raw)
In-Reply-To: <bug-36861-11487@http.gcc.gnu.org/bugzilla/>



------- Comment #19 from lothar at tradescape dot biz  2008-07-28 18:55 -------
Created an attachment (id=15973)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15973&action=view)
oprofile logs

I compiled optimized executables with and without -fno-strict-aliasing and
generated an oprofile log for them:

/opt2/linux/ix86/bin/g++-4.3.1 -m64 -O3 -no-strict-aliasing -g
-I/opt2/linux/x86_64/include/boost-1_35 -DUSE_OPTIMIZATION=0 -o ./avltest-non
./avltest.cpp
/opt2/linux/ix86/bin/g++-4.3.1 -m64 -O3 -fno-strict-aliasing -g
-I/opt2/linux/x86_64/include/boost-1_35 -DUSE_OPTIMIZATION=0 -o ./avltest-non
./avltest.cpp
sudo opcontrol --reset; sudo opcontrol --start; ./avltest-no; ./avltest-non ;
sudo opcontrol --stop
opannotate --source --assembly --demangle=smart --threshold=1 ./avltest-no
>./avltest-no.oprofile.txt
opannotate --source --assembly --demangle=smart --threshold=1 ./avltest-non
>./avltest-non.oprofile.txt
diff -u ./avltest-no.oprofile.txt ./avltest-non.oprofile.txt
./avltest-diff.oprofile.txt

$ time ./avltest-non
sizeof(Node)=72
sizeof(NodeSet)=40
creating file ./avltest.img done
region.get_address()=0x7f4d43ed1000
region.get_size()=3600056
p_set=0x7f4d43ed1000
p_values=0x7f4d43ed1030
created/inserted 50000 entries
region.get_address()=0x7f4d43b62000
region.get_size()=3600056
p_set=0x7f4d43b62000
p_values=0x7f4d43b62030
checked 50000 entries, result=1249975000

real    0m0.614s
user    0m0.140s
sys     0m0.016s

$ time ./avltest-no
sizeof(Node)=72
sizeof(NodeSet)=40
creating file ./avltest.img done
region.get_address()=0x7f7fdce43000
region.get_size()=3600056
p_set=0x7f7fdce43000
p_values=0x7f7fdce43030
created/inserted 50000 entries
region.get_address()=0x7f7fdcad4000
region.get_size()=3600056
p_set=0x7f7fdcad4000
p_values=0x7f7fdcad4030
checked 50000 entries, result=1249975000

real    0m22.634s
user    0m22.277s
sys     0m0.120s

I hope these tests aid in finding the problem


-- 


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


  parent reply	other threads:[~2008-07-28 18:56 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-17  7:28 [Bug c++/36861] New: code generation regression with -O3 lothar at tradescape dot biz
2008-07-17  7:29 ` [Bug c++/36861] " lothar at tradescape dot biz
2008-07-17 16:55 ` lothar at tradescape dot biz
2008-07-17 17:44 ` rguenth at gcc dot gnu dot org
2008-07-17 17:48 ` [Bug tree-optimization/36861] " pinskia at gcc dot gnu dot org
2008-07-17 17:51 ` lothar at tradescape dot biz
2008-07-17 17:53 ` lothar at tradescape dot biz
2008-07-17 18:02 ` rguenth at gcc dot gnu dot org
2008-07-17 18:10 ` lothar at tradescape dot biz
2008-07-17 18:29 ` [Bug tree-optimization/36861] [4.3 Regression] " rguenth at gcc dot gnu dot org
2008-07-17 20:15 ` lothar at tradescape dot biz
2008-07-17 20:20 ` rguenth at gcc dot gnu dot org
2008-07-22 21:44 ` [Bug tree-optimization/36861] boost's compressed avl confuses GCC pinskia at gcc dot gnu dot org
2008-07-22 21:49 ` lothar at tradescape dot biz
2008-07-22 21:53 ` pinskia at gcc dot gnu dot org
2008-07-22 22:01 ` lothar at tradescape dot biz
2008-07-23  8:04 ` igaztanaga at gmail dot com
2008-07-24 22:19 ` [Bug tree-optimization/36861] [4.3 Regression] " drow at gcc dot gnu dot org
2008-07-28 18:56 ` lothar at tradescape dot biz [this message]
2008-07-31  2:03 ` lothar at tradescape dot biz
2008-07-31  7:57 ` aldot at gcc dot gnu dot org
2008-08-29  4:41 ` pinskia at gcc dot gnu dot org
2008-09-20 14:27 ` [Bug tree-optimization/36861] [4.3/4.4 " rguenth at gcc dot gnu dot org
2008-09-20 14:28 ` rguenth at gcc dot gnu dot org
2008-10-10 16:00 ` [Bug target/36861] " lothar at tradescape dot biz
2008-10-22  3:03 ` mmitchel at gcc dot gnu dot org
2009-01-24 10:28 ` rguenth at gcc dot gnu dot org
2009-02-03  9:54 ` bonzini at gnu dot org
2009-08-04 12:41 ` [Bug target/36861] [4.3/4.4/4.5 " rguenth at gcc dot gnu dot org
2010-03-16 13:15 ` [Bug target/36861] [4.5 " rguenth at gcc dot gnu dot org
2010-04-06 11:21 ` rguenth at gcc dot gnu dot org
2010-07-05 15:40 ` [Bug target/36861] [4.5/4.6 " rguenth at gcc dot gnu dot org
2010-07-05 16:03 ` rguenth at gcc dot gnu dot org
2010-07-31  9:35 ` rguenth at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080728185551.2616.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).