public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/8835] mcore-elf bootstrap ICE at expr.c:2771
       [not found] <20021205151603.8835.joel@gcc.gnu.org>
@ 2003-05-26  7:57 ` dhazeghi@yahoo.com
  2003-05-26 14:05 ` pinskia@physics.uc.edu
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: dhazeghi@yahoo.com @ 2003-05-26  7:57 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From dhazeghi@yahoo.com  2003-05-26 07:41 -------
Hello,

with gcc 3.3 branch (20030524), the compilation _lshrdi3.o no longer hangs. Do you still have a 
problem compiling io-inst.cc? If so, can you please include preprocessed source of that file? 
Thanks,

Dara



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug bootstrap/8835] mcore-elf bootstrap ICE at expr.c:2771
       [not found] <20021205151603.8835.joel@gcc.gnu.org>
  2003-05-26  7:57 ` [Bug bootstrap/8835] mcore-elf bootstrap ICE at expr.c:2771 dhazeghi@yahoo.com
@ 2003-05-26 14:05 ` pinskia@physics.uc.edu
  2003-06-02 18:03 ` dhazeghi@yahoo.com
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: pinskia@physics.uc.edu @ 2003-05-26 14:05 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia@physics.uc.edu changed:

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


------- Additional Comments From pinskia@physics.uc.edu  2003-05-26 14:04 -------
See Dara's question.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug bootstrap/8835] mcore-elf bootstrap ICE at expr.c:2771
       [not found] <20021205151603.8835.joel@gcc.gnu.org>
  2003-05-26  7:57 ` [Bug bootstrap/8835] mcore-elf bootstrap ICE at expr.c:2771 dhazeghi@yahoo.com
  2003-05-26 14:05 ` pinskia@physics.uc.edu
@ 2003-06-02 18:03 ` dhazeghi@yahoo.com
  2003-07-09 17:50 ` [Bug bootstrap/8835] [mcore-elf] " dhazeghi at yahoo dot com
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: dhazeghi@yahoo.com @ 2003-06-02 18:03 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


dhazeghi@yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  GCC build triplet|                            |i686-pc-linux-gnu
   GCC host triplet|                            |i686-pc-linux-gnu
 GCC target triplet|                            |mcore-elf


------- Additional Comments From dhazeghi@yahoo.com  2003-06-02 18:03 -------
Joel,

now that the bootstrap no longer hangs earlier on, can you send the preprocessed source that's 
causing the ICE? Thanks,

Dara



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug bootstrap/8835] [mcore-elf] bootstrap ICE at expr.c:2771
       [not found] <20021205151603.8835.joel@gcc.gnu.org>
                   ` (2 preceding siblings ...)
  2003-06-02 18:03 ` dhazeghi@yahoo.com
@ 2003-07-09 17:50 ` dhazeghi at yahoo dot com
  2003-07-26 17:47 ` dhazeghi at yahoo dot com
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-07-09 17:50 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


dhazeghi at yahoo dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
     Ever Confirmed|                            |1
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2003-07-09 17:50:38
               date|                            |
            Summary|mcore-elf bootstrap ICE at  |[mcore-elf] bootstrap ICE at
                   |expr.c:2771                 |expr.c:2771


------- Additional Comments From dhazeghi at yahoo dot com  2003-07-09 17:50 -------
Confirmed with gcc 3.3 branch and mainline (20030708). Can be  
reproduced with cross cc1plus. ICE occurs at any optimization level (-O0 
included).


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

* [Bug bootstrap/8835] [mcore-elf] bootstrap ICE at expr.c:2771
       [not found] <20021205151603.8835.joel@gcc.gnu.org>
                   ` (3 preceding siblings ...)
  2003-07-09 17:50 ` [Bug bootstrap/8835] [mcore-elf] " dhazeghi at yahoo dot com
@ 2003-07-26 17:47 ` dhazeghi at yahoo dot com
  2003-08-20 19:09 ` dhazeghi at yahoo dot com
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-07-26 17:47 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From dhazeghi at yahoo dot com  2003-07-26 17:47 -------
My testcase was corrupted uploading :-( Will submit a new one once mainline builds again.


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

* [Bug bootstrap/8835] [mcore-elf] bootstrap ICE at expr.c:2771
       [not found] <20021205151603.8835.joel@gcc.gnu.org>
                   ` (4 preceding siblings ...)
  2003-07-26 17:47 ` dhazeghi at yahoo dot com
@ 2003-08-20 19:09 ` dhazeghi at yahoo dot com
  2004-01-03  3:04 ` [Bug middle-end/8835] " kazu at cs dot umass dot edu
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-08-20 19:09 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


dhazeghi at yahoo dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2003-07-09 17:50:38         |2003-08-20 19:09:10
               date|                            |


------- Additional Comments From dhazeghi at yahoo dot com  2003-08-20 19:09 -------
Still there in mainline (20030820):

/tmp/mainline/objdir/mcore-elf/big/libstdc++-v3/include/iomanip: In function `
   std::_Setfill<_CharT> std::setfill(_CharT) [with _CharT = char]':
../../../../../combined/libstdc++-v3/src/io-inst.cc:49:   instantiated from here
/tmp/mainline/objdir/mcore-elf/big/libstdc++-v3/include/iomanip:179: internal
compiler error: in
   emit_move_insn, at expr.c:3206
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


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

* [Bug middle-end/8835] [mcore-elf] bootstrap ICE at expr.c:2771
       [not found] <20021205151603.8835.joel@gcc.gnu.org>
                   ` (5 preceding siblings ...)
  2003-08-20 19:09 ` dhazeghi at yahoo dot com
@ 2004-01-03  3:04 ` kazu at cs dot umass dot edu
  2004-01-03 16:31 ` kazu at cs dot umass dot edu
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: kazu at cs dot umass dot edu @ 2004-01-03  3:04 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From kazu at cs dot umass dot edu  2004-01-03 03:04 -------
Reduced to:

/* Use ./cc1 -O0. */

struct s {
  char c;
};

struct s
foo (char c)
{
  struct s s = { c };
  return s;
}

Replacing char with int will not produce the ICE.


-- 


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


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

* [Bug middle-end/8835] [mcore-elf] bootstrap ICE at expr.c:2771
       [not found] <20021205151603.8835.joel@gcc.gnu.org>
                   ` (6 preceding siblings ...)
  2004-01-03  3:04 ` [Bug middle-end/8835] " kazu at cs dot umass dot edu
@ 2004-01-03 16:31 ` kazu at cs dot umass dot edu
  2004-10-01 20:49 ` [Bug target/8835] " pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: kazu at cs dot umass dot edu @ 2004-01-03 16:31 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From kazu at cs dot umass dot edu  2004-01-03 16:31 -------
Reduced to:

struct s {
  char c;
};

struct s
foo (void)
{
  struct s s = { 0 };
  return s;
}


-- 


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


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

* [Bug target/8835] [mcore-elf] bootstrap ICE at expr.c:2771
       [not found] <20021205151603.8835.joel@gcc.gnu.org>
                   ` (7 preceding siblings ...)
  2004-01-03 16:31 ` kazu at cs dot umass dot edu
@ 2004-10-01 20:49 ` pinskia at gcc dot gnu dot org
  2004-10-01 20:57 ` pinskia at gcc dot gnu dot org
  2004-10-10 17:28 ` joel at oarcorp dot com
  10 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-01 20:49 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-01 20:49 -------
Looking (debugging) at this, this looks like a target problem.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|middle-end                  |target


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


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

* [Bug target/8835] [mcore-elf] bootstrap ICE at expr.c:2771
       [not found] <20021205151603.8835.joel@gcc.gnu.org>
                   ` (8 preceding siblings ...)
  2004-10-01 20:49 ` [Bug target/8835] " pinskia at gcc dot gnu dot org
@ 2004-10-01 20:57 ` pinskia at gcc dot gnu dot org
  2004-10-10 17:28 ` joel at oarcorp dot com
  10 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-01 20:57 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-01 20:57 -------
This patch fixes the ICE for me, can you try to see if fixes for you and then submit it:
Index: config/mcore/mcore.c
===============================================================
====
RCS file: /cvs/gcc/gcc/gcc/config/mcore/mcore.c,v
retrieving revision 1.74
diff -u -p -r1.74 mcore.c
--- config/mcore/mcore.c	18 Sep 2004 19:19:36 -0000	1.74
+++ config/mcore/mcore.c	1 Oct 2004 20:57:14 -0000
@@ -3064,7 +3064,7 @@ mcore_function_value (tree valtype, tree
   
   mode = TYPE_MODE (valtype);
 
-  PROMOTE_MODE (mode, unsigned_p, NULL);
+  promote_mode (valtype, mode, &unsigned_p, 0);
   
   return handle_structs_in_regs (mode, valtype, FIRST_RET_REG);
 }


-- 


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


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

* [Bug target/8835] [mcore-elf] bootstrap ICE at expr.c:2771
       [not found] <20021205151603.8835.joel@gcc.gnu.org>
                   ` (9 preceding siblings ...)
  2004-10-01 20:57 ` pinskia at gcc dot gnu dot org
@ 2004-10-10 17:28 ` joel at oarcorp dot com
  10 siblings, 0 replies; 11+ messages in thread
From: joel at oarcorp dot com @ 2004-10-10 17:28 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From joel at oarcorp dot com  2004-10-10 17:28 -------
Subject: Re:  [mcore-elf] bootstrap ICE at expr.c:2771

pinskia at gcc dot gnu dot org wrote:
> ------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-01 20:57 -------
> This patch fixes the ICE for me, can you try to see if fixes for you and then submit it:

I caught this problem while building random cross-compilers in a GCC 
testing patch a long time ago.  I do not have an MCORE so if you think 
it is fixed, then I have to agree with you. :)

 From my perspective, if it works for you, it needs to be comitted.

--joel

> Index: config/mcore/mcore.c
> ===============================================================
> ====
> RCS file: /cvs/gcc/gcc/gcc/config/mcore/mcore.c,v
> retrieving revision 1.74
> diff -u -p -r1.74 mcore.c
> --- config/mcore/mcore.c	18 Sep 2004 19:19:36 -0000	1.74
> +++ config/mcore/mcore.c	1 Oct 2004 20:57:14 -0000
> @@ -3064,7 +3064,7 @@ mcore_function_value (tree valtype, tree
>    
>    mode = TYPE_MODE (valtype);
>  
> -  PROMOTE_MODE (mode, unsigned_p, NULL);
> +  promote_mode (valtype, mode, &unsigned_p, 0);
>    
>    return handle_structs_in_regs (mode, valtype, FIRST_RET_REG);
>  }
> 
> 




-- 


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


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

end of thread, other threads:[~2004-10-10 17:28 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20021205151603.8835.joel@gcc.gnu.org>
2003-05-26  7:57 ` [Bug bootstrap/8835] mcore-elf bootstrap ICE at expr.c:2771 dhazeghi@yahoo.com
2003-05-26 14:05 ` pinskia@physics.uc.edu
2003-06-02 18:03 ` dhazeghi@yahoo.com
2003-07-09 17:50 ` [Bug bootstrap/8835] [mcore-elf] " dhazeghi at yahoo dot com
2003-07-26 17:47 ` dhazeghi at yahoo dot com
2003-08-20 19:09 ` dhazeghi at yahoo dot com
2004-01-03  3:04 ` [Bug middle-end/8835] " kazu at cs dot umass dot edu
2004-01-03 16:31 ` kazu at cs dot umass dot edu
2004-10-01 20:49 ` [Bug target/8835] " pinskia at gcc dot gnu dot org
2004-10-01 20:57 ` pinskia at gcc dot gnu dot org
2004-10-10 17:28 ` joel at oarcorp dot com

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