public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/44897]  New: -fwhopr + ipa-sra misoptimize sqlite
@ 2010-07-10  2:02 hubicka at gcc dot gnu dot org
  2010-07-10  2:03 ` [Bug tree-optimization/44897] " hubicka at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: hubicka at gcc dot gnu dot org @ 2010-07-10  2:02 UTC (permalink / raw)
  To: gcc-bugs

evans:/abuild/jh/sqlite-3.6.23.1/:[0]# /abuild/jh/trunk-install/bin/gcc -fPIC
-O0 -fwhopr=24  -fno-strict-aliasing -pthread -pipe  -O2    shell.c sqlite3.c
-ldl  -g  ; echo "create table memos(text, priority INTEGER);" | ./a.out
Segmentation fault (core dumped)

evans:/abuild/jh/sqlite-3.6.23.1/:[139]# /abuild/jh/trunk-install/bin/gcc -fPIC
-O0 -fwhopr=24  -fno-strict-aliasing -pthread -pipe  -O2    shell.c sqlite3.c
-ldl  -g  -fno-ipa-sra ; echo "create table memos(text, priority INTEGER);" |
./a.out

evans:/abuild/jh/sqlite-3.6.23.1/:[139]# /abuild/jh/trunk-install/bin/gcc -fPIC
-O0   -fno-strict-aliasing -pthread -pipe  -O2    shell.c sqlite3.c -ldl  -g  
; echo "create table memos(text, priority INTEGER);" | ./a.out


-- 
           Summary: -fwhopr + ipa-sra misoptimize sqlite
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hubicka at gcc dot gnu dot org
 GCC build triplet: x86_64-linux
  GCC host triplet: x86_64-linux
GCC target triplet: x86_64-linux


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


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

* [Bug tree-optimization/44897] -fwhopr + ipa-sra misoptimize sqlite
  2010-07-10  2:02 [Bug tree-optimization/44897] New: -fwhopr + ipa-sra misoptimize sqlite hubicka at gcc dot gnu dot org
@ 2010-07-10  2:03 ` hubicka at gcc dot gnu dot org
  2010-07-10  2:04 ` hubicka at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 9+ messages in thread
From: hubicka at gcc dot gnu dot org @ 2010-07-10  2:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from hubicka at gcc dot gnu dot org  2010-07-10 02:03 -------
Created an attachment (id=21169)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21169&action=view)
sqlite sources


-- 


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


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

* [Bug tree-optimization/44897] -fwhopr + ipa-sra misoptimize sqlite
  2010-07-10  2:02 [Bug tree-optimization/44897] New: -fwhopr + ipa-sra misoptimize sqlite hubicka at gcc dot gnu dot org
  2010-07-10  2:03 ` [Bug tree-optimization/44897] " hubicka at gcc dot gnu dot org
@ 2010-07-10  2:04 ` hubicka at gcc dot gnu dot org
  2010-07-10  2:05 ` hubicka at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 9+ messages in thread
From: hubicka at gcc dot gnu dot org @ 2010-07-10  2:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from hubicka at gcc dot gnu dot org  2010-07-10 02:04 -------
Created an attachment (id=21170)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21170&action=view)
sqlite shell


-- 


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


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

* [Bug tree-optimization/44897] -fwhopr + ipa-sra misoptimize sqlite
  2010-07-10  2:02 [Bug tree-optimization/44897] New: -fwhopr + ipa-sra misoptimize sqlite hubicka at gcc dot gnu dot org
  2010-07-10  2:03 ` [Bug tree-optimization/44897] " hubicka at gcc dot gnu dot org
  2010-07-10  2:04 ` hubicka at gcc dot gnu dot org
@ 2010-07-10  2:05 ` hubicka at gcc dot gnu dot org
  2010-07-18 20:21 ` steven at gcc dot gnu dot org
  2010-07-18 22:36 ` hubicka at ucw dot cz
  4 siblings, 0 replies; 9+ messages in thread
From: hubicka at gcc dot gnu dot org @ 2010-07-10  2:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from hubicka at gcc dot gnu dot org  2010-07-10 02:05 -------
-O1 -fipa-sra also leads to ICE.


-- 


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


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

* [Bug tree-optimization/44897] -fwhopr + ipa-sra misoptimize sqlite
  2010-07-10  2:02 [Bug tree-optimization/44897] New: -fwhopr + ipa-sra misoptimize sqlite hubicka at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2010-07-10  2:05 ` hubicka at gcc dot gnu dot org
@ 2010-07-18 20:21 ` steven at gcc dot gnu dot org
  2010-07-18 22:36 ` hubicka at ucw dot cz
  4 siblings, 0 replies; 9+ messages in thread
From: steven at gcc dot gnu dot org @ 2010-07-18 20:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from steven at gcc dot gnu dot org  2010-07-18 20:21 -------
IPA-SRA => Martin


-- 

steven at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jamborm at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-07-18 20:21:12
               date|                            |


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


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

* [Bug tree-optimization/44897] -fwhopr + ipa-sra misoptimize sqlite
  2010-07-10  2:02 [Bug tree-optimization/44897] New: -fwhopr + ipa-sra misoptimize sqlite hubicka at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2010-07-18 20:21 ` steven at gcc dot gnu dot org
@ 2010-07-18 22:36 ` hubicka at ucw dot cz
  4 siblings, 0 replies; 9+ messages in thread
From: hubicka at ucw dot cz @ 2010-07-18 22:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from hubicka at ucw dot cz  2010-07-18 22:35 -------
Subject: Re:  -fwhopr + ipa-sra misoptimize
        sqlite

> IPA-SRA => Martin
Well, the trick is that IPA-SRA is run before LTO streaming, so it means that
it should not be affected
by -fwhopr at all (and linking resulting .o file w/o LTO seems to work).  So it
is really combination
of those.


-- 


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


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

* [Bug tree-optimization/44897] -fwhopr + ipa-sra misoptimize sqlite
       [not found] <bug-44897-4@http.gcc.gnu.org/bugzilla/>
  2010-10-02 14:13 ` hubicka at gcc dot gnu.org
  2010-12-15  1:51 ` hubicka at gcc dot gnu.org
@ 2011-01-10 15:29 ` hubicka at gcc dot gnu.org
  2 siblings, 0 replies; 9+ messages in thread
From: hubicka at gcc dot gnu.org @ 2011-01-10 15:29 UTC (permalink / raw)
  To: gcc-bugs

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

Jan Hubicka <hubicka at gcc dot gnu.org> changed:

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

--- Comment #8 from Jan Hubicka <hubicka at gcc dot gnu.org> 2011-01-10 15:01:05 UTC ---
jh@evans:/abuild/jh/sqlite-3.6.23.1> /abuild/jh/trunk-install/bin/gcc  -fPIC
-O0 -flto=24  -fno-strict-aliasing -pthread -pipe  -O2    shell.c sqlite3.c
-ldl  -g  ; echo "create table memos(text, priority INTEGER);" | ./a.out
jh@evans:/abuild/jh/sqlite-3.6.23.1> /abuild/jh/trunk-install/bin/gcc  -fPIC
-O0 -flto=24  -fno-strict-aliasing -pthread -pipe  -O2    shell.c sqlite3.c
-ldl  -g -flto-partition=none ; echo "create table memos(text, priority
INTEGER);" | ./a.out
jh@evans:/abuild/jh/sqlite-3.6.23.1> /abuild/jh/trunk-install/bin/gcc  -fPIC
-O0 -flto=24  -fno-strict-aliasing -pthread -pipe  -O2    shell.c sqlite3.c
-ldl  -g -flto-partition=1to1 ; echo "create table memos(text, priority
INTEGER);" | ./a.out
jh@evans:/abuild/jh/sqlite-3.6.23.1> 

So it seems solved now.  I will try if mozilla now builds w/o
lto-partition=none passed to C compiler.


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

* [Bug tree-optimization/44897] -fwhopr + ipa-sra misoptimize sqlite
       [not found] <bug-44897-4@http.gcc.gnu.org/bugzilla/>
  2010-10-02 14:13 ` hubicka at gcc dot gnu.org
@ 2010-12-15  1:51 ` hubicka at gcc dot gnu.org
  2011-01-10 15:29 ` hubicka at gcc dot gnu.org
  2 siblings, 0 replies; 9+ messages in thread
From: hubicka at gcc dot gnu.org @ 2010-12-15  1:51 UTC (permalink / raw)
  To: gcc-bugs

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

Jan Hubicka <hubicka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2010-10-02 20:21:12         |2010-12-14 20:21:12

--- Comment #7 from Jan Hubicka <hubicka at gcc dot gnu.org> 2010-12-15 01:51:12 UTC ---
still fails.


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

* [Bug tree-optimization/44897] -fwhopr + ipa-sra misoptimize sqlite
       [not found] <bug-44897-4@http.gcc.gnu.org/bugzilla/>
@ 2010-10-02 14:13 ` hubicka at gcc dot gnu.org
  2010-12-15  1:51 ` hubicka at gcc dot gnu.org
  2011-01-10 15:29 ` hubicka at gcc dot gnu.org
  2 siblings, 0 replies; 9+ messages in thread
From: hubicka at gcc dot gnu.org @ 2010-10-02 14:13 UTC (permalink / raw)
  To: gcc-bugs

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

Jan Hubicka <hubicka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2010-07-18 20:21:12         |2010-10-02 20:21:12

--- Comment #6 from Jan Hubicka <hubicka at gcc dot gnu.org> 2010-10-02 14:13:03 UTC ---
reconfirmed.


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

end of thread, other threads:[~2011-01-10 15:01 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-10  2:02 [Bug tree-optimization/44897] New: -fwhopr + ipa-sra misoptimize sqlite hubicka at gcc dot gnu dot org
2010-07-10  2:03 ` [Bug tree-optimization/44897] " hubicka at gcc dot gnu dot org
2010-07-10  2:04 ` hubicka at gcc dot gnu dot org
2010-07-10  2:05 ` hubicka at gcc dot gnu dot org
2010-07-18 20:21 ` steven at gcc dot gnu dot org
2010-07-18 22:36 ` hubicka at ucw dot cz
     [not found] <bug-44897-4@http.gcc.gnu.org/bugzilla/>
2010-10-02 14:13 ` hubicka at gcc dot gnu.org
2010-12-15  1:51 ` hubicka at gcc dot gnu.org
2011-01-10 15:29 ` hubicka at gcc dot gnu.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).