public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/15794] New: ICE on Botan-1.3.13
@ 2004-06-03 12:04 rene at rocklinux-consulting dot de
  2004-06-03 12:11 ` [Bug c++/15794] " pinskia at gcc dot gnu dot org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: rene at rocklinux-consulting dot de @ 2004-06-03 12:04 UTC (permalink / raw)
  To: gcc-bugs

G++ 3.5-20040523 does ICE during the compilation of Botan-1.3.13 unix_src.cc. 
When compiled with at least -O2. (-O0 and -O1 pass fine). Reproduced on 
powerpc-rock-linux-gnu.

-- 
           Summary: ICE on Botan-1.3.13
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rene at rocklinux-consulting dot de
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-rock-linux-gnu
  GCC host triplet: i686-rock-linux-gnu
GCC target triplet: i686-rock-linux-gnu


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


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

* [Bug c++/15794] ICE on Botan-1.3.13
  2004-06-03 12:04 [Bug c++/15794] New: ICE on Botan-1.3.13 rene at rocklinux-consulting dot de
@ 2004-06-03 12:11 ` pinskia at gcc dot gnu dot org
  2004-06-03 12:13 ` rene at rocklinux-consulting dot de
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-03 12:11 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-06-03 12:11 -------
Can you read http://gcc.gnu.org/bugs and attach the preprocessed source?

-- 


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


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

* [Bug c++/15794] ICE on Botan-1.3.13
  2004-06-03 12:04 [Bug c++/15794] New: ICE on Botan-1.3.13 rene at rocklinux-consulting dot de
  2004-06-03 12:11 ` [Bug c++/15794] " pinskia at gcc dot gnu dot org
@ 2004-06-03 12:13 ` rene at rocklinux-consulting dot de
  2004-06-03 12:15 ` rene at rocklinux-consulting dot de
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: rene at rocklinux-consulting dot de @ 2004-06-03 12:13 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rene at rocklinux-consulting dot de  2004-06-03 12:13 -------
Created an attachment (id=6457)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6457&action=view)
Preprocessed source

Use "g++ -fpermissive -O2 -c unix_src.ii" to reproduce.
I also narrowed it down, -funit-at-a-time is enough to ICE g++.

-- 


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


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

* [Bug c++/15794] ICE on Botan-1.3.13
  2004-06-03 12:04 [Bug c++/15794] New: ICE on Botan-1.3.13 rene at rocklinux-consulting dot de
  2004-06-03 12:11 ` [Bug c++/15794] " pinskia at gcc dot gnu dot org
  2004-06-03 12:13 ` rene at rocklinux-consulting dot de
@ 2004-06-03 12:15 ` rene at rocklinux-consulting dot de
  2004-06-03 12:18 ` [Bug c++/15794] ICE on Botan-1.3.13 due to -funit-at-a-time rene at rocklinux-consulting dot de
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: rene at rocklinux-consulting dot de @ 2004-06-03 12:15 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rene at rocklinux-consulting dot de  2004-06-03 12:15 -------
(In reply to comment #1) 
> Can you read http://gcc.gnu.org/bugs and attach the preprocessed source? 
 
Sure - I just needed the seconds to scp and add it here. 

-- 


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


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

* [Bug c++/15794] ICE on Botan-1.3.13 due to -funit-at-a-time
  2004-06-03 12:04 [Bug c++/15794] New: ICE on Botan-1.3.13 rene at rocklinux-consulting dot de
                   ` (2 preceding siblings ...)
  2004-06-03 12:15 ` rene at rocklinux-consulting dot de
@ 2004-06-03 12:18 ` rene at rocklinux-consulting dot de
  2004-06-03 12:51 ` [Bug c++/15794] [3.5 Regression] " pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: rene at rocklinux-consulting dot de @ 2004-06-03 12:18 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|ICE on Botan-1.3.13         |ICE on Botan-1.3.13 due to -
                   |                            |funit-at-a-time


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


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

* [Bug c++/15794] [3.5 Regression] ICE on Botan-1.3.13 due to -funit-at-a-time
  2004-06-03 12:04 [Bug c++/15794] New: ICE on Botan-1.3.13 rene at rocklinux-consulting dot de
                   ` (3 preceding siblings ...)
  2004-06-03 12:18 ` [Bug c++/15794] ICE on Botan-1.3.13 due to -funit-at-a-time rene at rocklinux-consulting dot de
@ 2004-06-03 12:51 ` pinskia at gcc dot gnu dot org
  2004-06-03 13:19 ` [Bug tree-optimization/15794] " pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-03 12:51 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-06-03 12:51 -------
Confirmed, will look into a reduced source after class.  It is seg faulting on getting the assembly name 
for a variable which looks not to have one.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
            Summary|ICE on Botan-1.3.13 due to -|[3.5 Regression] ICE on
                   |funit-at-a-time             |Botan-1.3.13 due to -funit-
                   |                            |at-a-time
   Target Milestone|---                         |3.5.0


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


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

* [Bug tree-optimization/15794] [3.5 Regression] ICE on Botan-1.3.13 due to -funit-at-a-time
  2004-06-03 12:04 [Bug c++/15794] New: ICE on Botan-1.3.13 rene at rocklinux-consulting dot de
                   ` (4 preceding siblings ...)
  2004-06-03 12:51 ` [Bug c++/15794] [3.5 Regression] " pinskia at gcc dot gnu dot org
@ 2004-06-03 13:19 ` pinskia at gcc dot gnu dot org
  2004-06-15 20:04 ` bangerth at dealii dot org
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-03 13:19 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-06-03 13:19 -------
Ok, I figured out that the variable which is trying to mangle is a local variable which got changed when 
running the gimple pass.  I have no simple testcase yet.
              register struct Unix_Program * <D23650>;

              if (<D23647> != 0B)
                { 
                  T.788 = 37 - <D23649>;
                  T.789 = (unsigned int)T.788;
                  T.790 = T.789 * 12;
                  <D23650> = T.790 + <D23647>;
                  <D24257>:;
                  T.791 = <D23650>;


into:
                  register struct Unix_Program * <D24858>;

                  if (<D24660> != 0B)
                    { 
                      T.788 = 37 - <D24662>;
                      T.789 = (unsigned int)T.788;
                      T.790 = T.789 * 12;
                      <D23650> = T.790 + <D24660>;

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dnovillo at gcc dot gnu dot
                   |                            |org
          Component|c++                         |tree-optimization


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


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

* [Bug tree-optimization/15794] [3.5 Regression] ICE on Botan-1.3.13 due to -funit-at-a-time
  2004-06-03 12:04 [Bug c++/15794] New: ICE on Botan-1.3.13 rene at rocklinux-consulting dot de
                   ` (5 preceding siblings ...)
  2004-06-03 13:19 ` [Bug tree-optimization/15794] " pinskia at gcc dot gnu dot org
@ 2004-06-15 20:04 ` bangerth at dealii dot org
  2004-06-15 20:12 ` belyshev at lubercy dot com
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bangerth at dealii dot org @ 2004-06-15 20:04 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bangerth at dealii dot org  2004-06-15 20:04 -------
I can't reproduce this with mainline of today. Can someone confirm? 
W. 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


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


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

* [Bug tree-optimization/15794] [3.5 Regression] ICE on Botan-1.3.13 due to -funit-at-a-time
  2004-06-03 12:04 [Bug c++/15794] New: ICE on Botan-1.3.13 rene at rocklinux-consulting dot de
                   ` (6 preceding siblings ...)
  2004-06-15 20:04 ` bangerth at dealii dot org
@ 2004-06-15 20:12 ` belyshev at lubercy dot com
  2004-06-15 20:58 ` bangerth at dealii dot org
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: belyshev at lubercy dot com @ 2004-06-15 20:12 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From belyshev at lubercy dot com  2004-06-15 20:12 -------
I cannot reproduce this too.


-- 


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


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

* [Bug tree-optimization/15794] [3.5 Regression] ICE on Botan-1.3.13 due to -funit-at-a-time
  2004-06-03 12:04 [Bug c++/15794] New: ICE on Botan-1.3.13 rene at rocklinux-consulting dot de
                   ` (7 preceding siblings ...)
  2004-06-15 20:12 ` belyshev at lubercy dot com
@ 2004-06-15 20:58 ` bangerth at dealii dot org
  2004-06-15 21:33 ` pinskia at gcc dot gnu dot org
  2004-06-28  8:04 ` pinskia at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: bangerth at dealii dot org @ 2004-06-15 20:58 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bangerth at dealii dot org  2004-06-15 20:58 -------
Then let's assume it is fixed. Thanks, Serge! 
W. 

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


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


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

* [Bug tree-optimization/15794] [3.5 Regression] ICE on Botan-1.3.13 due to -funit-at-a-time
  2004-06-03 12:04 [Bug c++/15794] New: ICE on Botan-1.3.13 rene at rocklinux-consulting dot de
                   ` (8 preceding siblings ...)
  2004-06-15 20:58 ` bangerth at dealii dot org
@ 2004-06-15 21:33 ` pinskia at gcc dot gnu dot org
  2004-06-28  8:04 ` pinskia at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-15 21:33 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-06-15 21:33 -------
I am still able to reproduce this, I have seen this in a different source code too.

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


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


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

* [Bug tree-optimization/15794] [3.5 Regression] ICE on Botan-1.3.13 due to -funit-at-a-time
  2004-06-03 12:04 [Bug c++/15794] New: ICE on Botan-1.3.13 rene at rocklinux-consulting dot de
                   ` (9 preceding siblings ...)
  2004-06-15 21:33 ` pinskia at gcc dot gnu dot org
@ 2004-06-28  8:04 ` pinskia at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-28  8:04 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-06-28 08:00 -------
Fixed, I can no longer reproduce it.

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


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


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

end of thread, other threads:[~2004-06-28  8:00 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-03 12:04 [Bug c++/15794] New: ICE on Botan-1.3.13 rene at rocklinux-consulting dot de
2004-06-03 12:11 ` [Bug c++/15794] " pinskia at gcc dot gnu dot org
2004-06-03 12:13 ` rene at rocklinux-consulting dot de
2004-06-03 12:15 ` rene at rocklinux-consulting dot de
2004-06-03 12:18 ` [Bug c++/15794] ICE on Botan-1.3.13 due to -funit-at-a-time rene at rocklinux-consulting dot de
2004-06-03 12:51 ` [Bug c++/15794] [3.5 Regression] " pinskia at gcc dot gnu dot org
2004-06-03 13:19 ` [Bug tree-optimization/15794] " pinskia at gcc dot gnu dot org
2004-06-15 20:04 ` bangerth at dealii dot org
2004-06-15 20:12 ` belyshev at lubercy dot com
2004-06-15 20:58 ` bangerth at dealii dot org
2004-06-15 21:33 ` pinskia at gcc dot gnu dot org
2004-06-28  8:04 ` pinskia 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).