public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/23160] New: ICE on m68k with -O3 but works with -O2
@ 2005-07-31 11:35 treinen at debian dot org
  2005-07-31 11:36 ` [Bug c++/23160] " treinen at debian dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: treinen at debian dot org @ 2005-07-31 11:35 UTC (permalink / raw)
  To: gcc-bugs

The file Ltl.C from the lbt program compiles with -O2 but compilation with -O3
throws an internal compiler error:

% g++ -O2 -c Ltl.C -o Ltl.o
95.020u 7.080s 3:26.58 49.4%    0+0k 0+0io 1208pf+0w

% g++ -O3 -c Ltl.C -o Ltl.o
Ltl.C: In member function 'virtual void LtlIff::expand(LtlGraphNode&,
std::stack<LtlGraphNode*, std::deque<LtlGraphNode*,
std::allocator<LtlGraphNode*> > >&) const':
Ltl.C:154: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.0/README.Bugs>.
84.700u 6.380s 3:19.37 45.6%    0+0k 0+0io 940pf+0w

% gcc -v
Using built-in specs.
Target: m68k-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,java,objc,treelang
--prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib
--enable-nls --without-included-gettext --enable-threads=posix
--program-suffix=-4.0 --enable-__cxa_atexit --enable-libstdcxx-allocator=mt
--enable-clocale=gnu --enable-libstdcxx-debug --enable-java-gc=boehm
--enable-java-awt=gtk
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre --disable-werror
--enable-checking=release m68k-linux-gnu
Thread model: posix
gcc version 4.0.1 (Debian 4.0.1-1)

-- 
           Summary: ICE on m68k with -O3 but works with -O2
           Product: gcc
           Version: 4.0.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: treinen at debian dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: m68k-linux-gnu
  GCC host triplet: m68k-linux-gnu
GCC target triplet: m68k-linux-gnu


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


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

* [Bug c++/23160] ICE on m68k with -O3 but works with -O2
  2005-07-31 11:35 [Bug c++/23160] New: ICE on m68k with -O3 but works with -O2 treinen at debian dot org
@ 2005-07-31 11:36 ` treinen at debian dot org
  2005-07-31 11:37 ` treinen at debian dot org
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: treinen at debian dot org @ 2005-07-31 11:36 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From treinen at debian dot org  2005-07-31 11:35 -------
Created an attachment (id=9391)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9391&action=view)
c++ source on which compil fails


-- 


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


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

* [Bug c++/23160] ICE on m68k with -O3 but works with -O2
  2005-07-31 11:35 [Bug c++/23160] New: ICE on m68k with -O3 but works with -O2 treinen at debian dot org
  2005-07-31 11:36 ` [Bug c++/23160] " treinen at debian dot org
  2005-07-31 11:37 ` treinen at debian dot org
@ 2005-07-31 11:37 ` treinen at debian dot org
  2005-07-31 11:38 ` treinen at debian dot org
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: treinen at debian dot org @ 2005-07-31 11:37 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From treinen at debian dot org  2005-07-31 11:37 -------
Created an attachment (id=9393)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9393&action=view)
second header file LtLGraph.h


-- 


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


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

* [Bug c++/23160] ICE on m68k with -O3 but works with -O2
  2005-07-31 11:35 [Bug c++/23160] New: ICE on m68k with -O3 but works with -O2 treinen at debian dot org
  2005-07-31 11:36 ` [Bug c++/23160] " treinen at debian dot org
@ 2005-07-31 11:37 ` treinen at debian dot org
  2005-07-31 11:37 ` treinen at debian dot org
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: treinen at debian dot org @ 2005-07-31 11:37 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From treinen at debian dot org  2005-07-31 11:36 -------
Created an attachment (id=9392)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9392&action=view)
header file


-- 


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


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

* [Bug c++/23160] ICE on m68k with -O3 but works with -O2
  2005-07-31 11:35 [Bug c++/23160] New: ICE on m68k with -O3 but works with -O2 treinen at debian dot org
                   ` (3 preceding siblings ...)
  2005-07-31 11:38 ` treinen at debian dot org
@ 2005-07-31 11:38 ` treinen at debian dot org
  2005-07-31 13:00 ` treinen at debian dot org
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: treinen at debian dot org @ 2005-07-31 11:38 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From treinen at debian dot org  2005-07-31 11:37 -------
Created an attachment (id=9394)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9394&action=view)
preprocessed source Ltl.ii


-- 


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


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

* [Bug c++/23160] ICE on m68k with -O3 but works with -O2
  2005-07-31 11:35 [Bug c++/23160] New: ICE on m68k with -O3 but works with -O2 treinen at debian dot org
                   ` (2 preceding siblings ...)
  2005-07-31 11:37 ` treinen at debian dot org
@ 2005-07-31 11:38 ` treinen at debian dot org
  2005-07-31 11:38 ` treinen at debian dot org
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: treinen at debian dot org @ 2005-07-31 11:38 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #9392|header file                 |header file Ltl.h
        description|                            |


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


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

* [Bug c++/23160] ICE on m68k with -O3 but works with -O2
  2005-07-31 11:35 [Bug c++/23160] New: ICE on m68k with -O3 but works with -O2 treinen at debian dot org
                   ` (4 preceding siblings ...)
  2005-07-31 11:38 ` treinen at debian dot org
@ 2005-07-31 13:00 ` treinen at debian dot org
  2005-07-31 16:22 ` [Bug target/23160] " pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: treinen at debian dot org @ 2005-07-31 13:00 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #9391|c++ source on which compil  |source file Ltl.C
        description|fails                       |


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


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

* [Bug target/23160] ICE on m68k with -O3 but works with -O2
  2005-07-31 11:35 [Bug c++/23160] New: ICE on m68k with -O3 but works with -O2 treinen at debian dot org
                   ` (5 preceding siblings ...)
  2005-07-31 13:00 ` treinen at debian dot org
@ 2005-07-31 16:22 ` pinskia at gcc dot gnu dot org
  2005-07-31 17:32 ` treinen at debian dot org
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-31 16:22 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c++                         |target
           Keywords|                            |ice-on-valid-code


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


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

* [Bug target/23160] ICE on m68k with -O3 but works with -O2
  2005-07-31 11:35 [Bug c++/23160] New: ICE on m68k with -O3 but works with -O2 treinen at debian dot org
                   ` (6 preceding siblings ...)
  2005-07-31 16:22 ` [Bug target/23160] " pinskia at gcc dot gnu dot org
@ 2005-07-31 17:32 ` treinen at debian dot org
  2005-07-31 17:59 ` pinskia at gcc dot gnu dot org
  2005-07-31 21:28 ` schwab at suse dot de
  9 siblings, 0 replies; 11+ messages in thread
From: treinen at debian dot org @ 2005-07-31 17:32 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From treinen at debian dot org  2005-07-31 17:27 -------
I forgot to say that this bug really seems to be m68k specific. On all other
architectures supported by debian GNU/Linux this compiled without any problem.

-- 


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


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

* [Bug target/23160] ICE on m68k with -O3 but works with -O2
  2005-07-31 11:35 [Bug c++/23160] New: ICE on m68k with -O3 but works with -O2 treinen at debian dot org
                   ` (7 preceding siblings ...)
  2005-07-31 17:32 ` treinen at debian dot org
@ 2005-07-31 17:59 ` pinskia at gcc dot gnu dot org
  2005-07-31 21:28 ` schwab at suse dot de
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-31 17:59 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-31 17:55 -------
This works on the mainline with a cross compiler.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |4.1.0


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


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

* [Bug target/23160] ICE on m68k with -O3 but works with -O2
  2005-07-31 11:35 [Bug c++/23160] New: ICE on m68k with -O3 but works with -O2 treinen at debian dot org
                   ` (8 preceding siblings ...)
  2005-07-31 17:59 ` pinskia at gcc dot gnu dot org
@ 2005-07-31 21:28 ` schwab at suse dot de
  9 siblings, 0 replies; 11+ messages in thread
From: schwab at suse dot de @ 2005-07-31 21:28 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From schwab at suse dot de  2005-07-31 21:05 -------
Neither reproducable natively with 4.0.2 20050726, appears to be fixed. 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.0.2


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


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

end of thread, other threads:[~2005-07-31 21:05 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-31 11:35 [Bug c++/23160] New: ICE on m68k with -O3 but works with -O2 treinen at debian dot org
2005-07-31 11:36 ` [Bug c++/23160] " treinen at debian dot org
2005-07-31 11:37 ` treinen at debian dot org
2005-07-31 11:37 ` treinen at debian dot org
2005-07-31 11:38 ` treinen at debian dot org
2005-07-31 11:38 ` treinen at debian dot org
2005-07-31 13:00 ` treinen at debian dot org
2005-07-31 16:22 ` [Bug target/23160] " pinskia at gcc dot gnu dot org
2005-07-31 17:32 ` treinen at debian dot org
2005-07-31 17:59 ` pinskia at gcc dot gnu dot org
2005-07-31 21:28 ` schwab at suse dot de

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