public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/14628] New: ICE on c++ sources
@ 2004-03-18  6:28 gcc-bugzilla at gcc dot gnu dot org
  2004-03-19  6:45 ` [Bug target/14628] " kazu at cs dot umass dot edu
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: gcc-bugzilla at gcc dot gnu dot org @ 2004-03-18  6:28 UTC (permalink / raw)
  To: gcc-bugs

    next command generates ICE (-O2 and -O3 also generates ICE).
	$ m6811-elf-gcc -O1  -m68hc12 -o a.o -c a.cpp

    Here is a compiler message:

	a.cpp: In member function `void Ca::a(void*, unsigned int)':
	a.cpp:16: internal compiler error: in change_address_1, at emit-rtl.c:1886
	Please submit a full bug report,
	with preprocessed source if appropriate.
	See <URL:http://gcc.gnu.org/bugs.html> for instructions.

    And here is a source:

	class Ca {
	public:
	    void a(void *, unsigned int);
	private:
	    void **m_l;
	};
	void
	Ca::a(void *base, unsigned int num)
	{
	    unsigned int i;
	    for (i = 0; i < num; ++i)
		base = (void *) ((unsigned char *) base + 1);
	    *m_l = 0;
	}

Environment:
System: Linux namsh 2.6.5-rc1 #67 Wed Mar 17 12:40:07 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:
	compile the source with '-O1 -m68hc12'.
------- Additional Comments From namsh at kldp dot org  2004-03-18 06:27 -------
Fix:
	1. use -O0 option.
	2. remove '-m68hc12' option.

-- 
           Summary: ICE on c++ sources
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         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=14628


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

* [Bug target/14628] ICE on c++ sources
  2004-03-18  6:28 [Bug target/14628] New: ICE on c++ sources gcc-bugzilla at gcc dot gnu dot org
@ 2004-03-19  6:45 ` kazu at cs dot umass dot edu
  2004-03-19  6:47 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: kazu at cs dot umass dot edu @ 2004-03-19  6:45 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ciceron at gcc dot gnu dot
                   |                            |org
            Version|3.4                         |2.95


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


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

* [Bug target/14628] ICE on c++ sources
  2004-03-18  6:28 [Bug target/14628] New: ICE on c++ sources gcc-bugzilla at gcc dot gnu dot org
  2004-03-19  6:45 ` [Bug target/14628] " kazu at cs dot umass dot edu
@ 2004-03-19  6:47 ` pinskia at gcc dot gnu dot org
  2004-06-06  9:50 ` ciceron at gcc dot gnu dot org
  2004-06-06 13:24 ` ciceron at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-03-19  6:47 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-03-19 06:47 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2004-03-19 06:47:35
               date|                            |


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


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

* [Bug target/14628] ICE on c++ sources
  2004-03-18  6:28 [Bug target/14628] New: ICE on c++ sources gcc-bugzilla at gcc dot gnu dot org
  2004-03-19  6:45 ` [Bug target/14628] " kazu at cs dot umass dot edu
  2004-03-19  6:47 ` pinskia at gcc dot gnu dot org
@ 2004-06-06  9:50 ` ciceron at gcc dot gnu dot org
  2004-06-06 13:24 ` ciceron at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: ciceron at gcc dot gnu dot org @ 2004-06-06  9:50 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ciceron at gcc dot gnu dot org  2004-06-06 09:50 -------
going to check

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |ciceron at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED


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


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

* [Bug target/14628] ICE on c++ sources
  2004-03-18  6:28 [Bug target/14628] New: ICE on c++ sources gcc-bugzilla at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2004-06-06  9:50 ` ciceron at gcc dot gnu dot org
@ 2004-06-06 13:24 ` ciceron at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: ciceron at gcc dot gnu dot org @ 2004-06-06 13:24 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ciceron at gcc dot gnu dot org  2004-06-06 13:24 -------
The problem is similar to bug 14457 and is caused by an invalid
(mem:HI (mem:HI reg)) rtx that we have to split to access the low byte
and the high byte (this is not splitable as there is no
(mem:HI (plus (mem HI reg) 1)))


*** This bug has been marked as a duplicate of 14457 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |DUPLICATE


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


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

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

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-18  6:28 [Bug target/14628] New: ICE on c++ sources gcc-bugzilla at gcc dot gnu dot org
2004-03-19  6:45 ` [Bug target/14628] " kazu at cs dot umass dot edu
2004-03-19  6:47 ` pinskia at gcc dot gnu dot org
2004-06-06  9:50 ` ciceron at gcc dot gnu dot org
2004-06-06 13:24 ` 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).