public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/14457] New: ICE with simple c++ source
@ 2004-03-06  5:26 gcc-bugzilla at gcc dot gnu dot org
  2004-03-06  5:33 ` [Bug target/14457] " pinskia at gcc dot gnu dot org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: gcc-bugzilla at gcc dot gnu dot org @ 2004-03-06  5:26 UTC (permalink / raw)
  To: gcc-bugs

	3.4.0 20040303 generates ICE. But
	3.4.0 20040227 work fine.

Environment:
System: Linux namsh 2.6.4-rc2 #63 Thu Mar 4 21:18:27 KST 2004 i686 athlon i386 GNU/Linux
Architecture: i686

	
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: m6811-unknown-none
configured with: ../configure --disable-nls --target=m6811-elf --prefix=/usr/GNUHCS --program-prefix=m6811-elf- --with-gnu-ld --with-gnu-as --disable-shared --enable-languages=c,c++ --without-headers --with-newlib

How-To-Repeat:
Just do 'm6811-elf-g++ -o tmp.o -c t.cpp -m68hc12'.

The t.ii is:
    # 1 "t.cpp"
    # 1 "<built-in>"
    # 1 "<command line>"
    # 1 "t.cpp"
    class CKMCLink {
    public:
	void LinkDelete(CKMCLink**);
    private:
	CKMCLink *m_prev;
    };

    void
    CKMCLink::LinkDelete(CKMCLink **head)
    {
     if (m_prev == this)
     {
	 *head = 0;
     }
    }
------- Additional Comments From namsh at kldp dot org  2004-03-06 05:26 -------
Fix:
    If I do 'm6811-elf-g++ -o tmp.o -c t.cpp -m68hc11'. No ICE.
    If I use m6811-elf-g++ 3.4.0 20040227 with -m68hc12, No ICE.

-- 
           Summary: ICE with simple c++ source
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: namsh at kldp dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: m6811-unknown-none


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


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

end of thread, other threads:[~2004-06-06 14:02 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-06  5:26 [Bug target/14457] New: ICE with simple c++ source gcc-bugzilla at gcc dot gnu dot org
2004-03-06  5:33 ` [Bug target/14457] " pinskia at gcc dot gnu dot org
2004-03-06 21:36 ` bangerth at dealii dot org
2004-03-16 16:32 ` pinskia at gcc dot gnu dot org
2004-03-19  5:32 ` [Bug target/14457] [3.4/3.5? Regression] " pinskia at gcc dot gnu dot org
2004-03-19  5:43 ` namsh at kldp dot org
2004-03-19  6:36 ` pinskia at gcc dot gnu dot org
2004-03-19  6:38 ` pinskia at gcc dot gnu dot org
2004-06-05 20:27 ` mmitchel at gcc dot gnu dot org
2004-06-06  9:43 ` ciceron at gcc dot gnu dot org
2004-06-06 13:24 ` ciceron at gcc dot gnu dot org
2004-06-06 13:50 ` cvs-commit at gcc dot gnu dot org
2004-06-06 13:56 ` cvs-commit at gcc dot gnu dot org
2004-06-06 14:02 ` ciceron 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).