public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/11482] New: [v850-elf] ICE with -O2 building misc-inst.lo
@ 2003-07-09 19:28 dhazeghi at yahoo dot com
  2003-07-09 19:30 ` [Bug bootstrap/11482] " dhazeghi at yahoo dot com
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-07-09 19:28 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=11482

           Summary: [v850-elf] ICE with -O2 building misc-inst.lo
           Product: gcc
           Version: 3.3.1
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dhazeghi at yahoo dot com
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: v850-elf

Building gcc 3.3 branch for v850-elf with --disable-multibs --enable-
languages=c++ in a combined tree with cvs binutils and newlib, I get:

/tmp/mainline/obj/v850-elf/v850/libstdc++-v3/include/bits/istream.tcc: In
   function `std::basic_istream<_CharT, _Traits>&
   std::getline(std::basic_istream<_CharT, _Traits>&, std::basic_string<
_CharT,
   _Traits, _Alloc>&, _CharT) [with _CharT = char, _Traits =
   std::char_traits<char>, _Alloc = std::allocator<char>]':
../../../../../src/libstdc++-v3/src/misc-inst.cc:53:   instantiated from here
/tmp/mainline/obj/v850-elf/v850/libstdc++-v3/include/bits/istream.tcc:1188: 
internal compiler error: in
   schedule_region, at sched-rgn.c:2844
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[6]: *** [misc-inst.lo] Error 1

Changing CXXFLAGS to -O1 cures the ICE.


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

* [Bug bootstrap/11482] [v850-elf] ICE with -O2 building misc-inst.lo
  2003-07-09 19:28 [Bug bootstrap/11482] New: [v850-elf] ICE with -O2 building misc-inst.lo dhazeghi at yahoo dot com
@ 2003-07-09 19:30 ` dhazeghi at yahoo dot com
  2003-07-26 17:46 ` dhazeghi at yahoo dot com
                   ` (11 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-07-09 19:30 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=11482



------- Additional Comments From dhazeghi at yahoo dot com  2003-07-09 19:30 -------
Created an attachment (id=4373)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=4373&action=view)
testcase

Just -O2 on v850-elf cc1plus makes this ICE (on 3.3 branch)


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

* [Bug bootstrap/11482] [v850-elf] ICE with -O2 building misc-inst.lo
  2003-07-09 19:28 [Bug bootstrap/11482] New: [v850-elf] ICE with -O2 building misc-inst.lo dhazeghi at yahoo dot com
  2003-07-09 19:30 ` [Bug bootstrap/11482] " dhazeghi at yahoo dot com
@ 2003-07-26 17:46 ` dhazeghi at yahoo dot com
  2003-07-27 17:34 ` dhazeghi at yahoo dot com
                   ` (10 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-07-26 17:46 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=11482



------- Additional Comments From dhazeghi at yahoo dot com  2003-07-26 17:46 -------
Oops, looks like safari corrupts attachments. Will send a new testcase once mainline bootstrap 
again.


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

* [Bug bootstrap/11482] [v850-elf] ICE with -O2 building misc-inst.lo
  2003-07-09 19:28 [Bug bootstrap/11482] New: [v850-elf] ICE with -O2 building misc-inst.lo dhazeghi at yahoo dot com
  2003-07-09 19:30 ` [Bug bootstrap/11482] " dhazeghi at yahoo dot com
  2003-07-26 17:46 ` dhazeghi at yahoo dot com
@ 2003-07-27 17:34 ` dhazeghi at yahoo dot com
  2003-07-29 21:47 ` pinskia at physics dot uc dot edu
                   ` (9 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-07-27 17:34 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=11482


dhazeghi at yahoo dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
Attachment #4373 is|0                           |1
           obsolete|                            |


------- Additional Comments From dhazeghi at yahoo dot com  2003-07-27 17:34 -------
Created an attachment (id=4491)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=4491&action=view)
testcase from libstdc++

Still present on 20030726 (branch). Hopefully this one isn't corrupted.


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

* [Bug bootstrap/11482] [v850-elf] ICE with -O2 building misc-inst.lo
  2003-07-09 19:28 [Bug bootstrap/11482] New: [v850-elf] ICE with -O2 building misc-inst.lo dhazeghi at yahoo dot com
                   ` (2 preceding siblings ...)
  2003-07-27 17:34 ` dhazeghi at yahoo dot com
@ 2003-07-29 21:47 ` pinskia at physics dot uc dot edu
  2003-08-11 18:21 ` dhazeghi at yahoo dot com
                   ` (8 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-29 21: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=11482


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.4                         |---


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

* [Bug bootstrap/11482] [v850-elf] ICE with -O2 building misc-inst.lo
  2003-07-09 19:28 [Bug bootstrap/11482] New: [v850-elf] ICE with -O2 building misc-inst.lo dhazeghi at yahoo dot com
                   ` (3 preceding siblings ...)
  2003-07-29 21:47 ` pinskia at physics dot uc dot edu
@ 2003-08-11 18:21 ` dhazeghi at yahoo dot com
  2003-08-12 13:31 ` nickc at redhat dot com
                   ` (7 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-08-11 18:21 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=11482


dhazeghi at yahoo dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nickc at redhat dot com


------- Additional Comments From dhazeghi at yahoo dot com  2003-08-11 18:20 -------
This one's still present with 3.3 branch (20030811). Nick, is this similar to 
the other v850 bug you recently fixed, I tried the patch from mainline, but it 
didn't seem to help.


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

* [Bug bootstrap/11482] [v850-elf] ICE with -O2 building misc-inst.lo
  2003-07-09 19:28 [Bug bootstrap/11482] New: [v850-elf] ICE with -O2 building misc-inst.lo dhazeghi at yahoo dot com
                   ` (4 preceding siblings ...)
  2003-08-11 18:21 ` dhazeghi at yahoo dot com
@ 2003-08-12 13:31 ` nickc at redhat dot com
  2003-08-18  1:51 ` dhazeghi at yahoo dot com
                   ` (6 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: nickc at redhat dot com @ 2003-08-12 13:31 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=11482



------- Additional Comments From nickc at redhat dot com  2003-08-12 13:30 -------
Subject: Re:  [v850-elf] ICE with -O2 building
 misc-inst.lo

Hi Dara,

> This one's still present with 3.3 branch (20030811). Nick, is this
> similar to the other v850 bug you recently fixed, I tried the patch
> from mainline, but it didn't seem to help.

However, a very similar patch (attached) does fix the problem.

I am going to have to run some bootstrap tests before this one can be
officially submitted however.

Cheers
        Nick
        

------- Additional Comments From nickc at redhat dot com  2003-08-12 13:31 -------
Created an attachment (id=4595)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=4595&action=view)


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

* [Bug bootstrap/11482] [v850-elf] ICE with -O2 building misc-inst.lo
  2003-07-09 19:28 [Bug bootstrap/11482] New: [v850-elf] ICE with -O2 building misc-inst.lo dhazeghi at yahoo dot com
                   ` (5 preceding siblings ...)
  2003-08-12 13:31 ` nickc at redhat dot com
@ 2003-08-18  1:51 ` dhazeghi at yahoo dot com
  2003-08-26 15:05 ` nickc at redhat dot com
                   ` (5 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-08-18  1:51 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=11482



------- Additional Comments From dhazeghi at yahoo dot com  2003-08-18 01:51 -------
Thanks for the patch Nick. It fixed the build failure I was seeing. Has your testing confirmed that 
this is the right patch?


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

* [Bug bootstrap/11482] [v850-elf] ICE with -O2 building misc-inst.lo
  2003-07-09 19:28 [Bug bootstrap/11482] New: [v850-elf] ICE with -O2 building misc-inst.lo dhazeghi at yahoo dot com
                   ` (6 preceding siblings ...)
  2003-08-18  1:51 ` dhazeghi at yahoo dot com
@ 2003-08-26 15:05 ` nickc at redhat dot com
  2003-08-26 16:30 ` dhazeghi at yahoo dot com
                   ` (4 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: nickc at redhat dot com @ 2003-08-26 15: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=11482



------- Additional Comments From nickc at redhat dot com  2003-08-26 15:05 -------
Subject: Re:  [v850-elf] ICE with -O2 building
 misc-inst.lo

Hi dhazeghi,

> Thanks for the patch Nick. It fixed the build failure I was
> seeing. Has your testing confirmed that this is the right patch?

It does work, but Vlad is worried about whether it is the correct
solution, so he is going to have a look at it next week.

Cheers
        Nick


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

* [Bug bootstrap/11482] [v850-elf] ICE with -O2 building misc-inst.lo
  2003-07-09 19:28 [Bug bootstrap/11482] New: [v850-elf] ICE with -O2 building misc-inst.lo dhazeghi at yahoo dot com
                   ` (7 preceding siblings ...)
  2003-08-26 15:05 ` nickc at redhat dot com
@ 2003-08-26 16:30 ` dhazeghi at yahoo dot com
  2003-08-26 18:04 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-08-26 16:30 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=11482



------- Additional Comments From dhazeghi at yahoo dot com  2003-08-26 16:30 -------
Sure, that's fine. My only request is that this be fixed in time for 3.3.2, if at all possible. Thanks.


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

* [Bug bootstrap/11482] [v850-elf] ICE with -O2 building misc-inst.lo
  2003-07-09 19:28 [Bug bootstrap/11482] New: [v850-elf] ICE with -O2 building misc-inst.lo dhazeghi at yahoo dot com
                   ` (8 preceding siblings ...)
  2003-08-26 16:30 ` dhazeghi at yahoo dot com
@ 2003-08-26 18:04 ` pinskia at gcc dot gnu dot org
  2003-11-08 22:49 ` dhazeghi at yahoo dot com
                   ` (2 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-26 18:04 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=11482


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-08-26 18:04:11
               date|                            |


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-08-26 18:04 -------
Already analysised by Nick and a patch created by him (might not be the correct way though).


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

* [Bug bootstrap/11482] [v850-elf] ICE with -O2 building misc-inst.lo
  2003-07-09 19:28 [Bug bootstrap/11482] New: [v850-elf] ICE with -O2 building misc-inst.lo dhazeghi at yahoo dot com
                   ` (9 preceding siblings ...)
  2003-08-26 18:04 ` pinskia at gcc dot gnu dot org
@ 2003-11-08 22:49 ` dhazeghi at yahoo dot com
  2003-11-10 11:28 ` nickc at redhat dot com
  2003-12-09 19:08 ` dhazeghi at yahoo dot com
  12 siblings, 0 replies; 14+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-11-08 22:49 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dhazeghi at yahoo dot com  2003-11-08 22:49 -------
Nick, this is still present on the branch. Is it worth fixing this on the
branch, or shall I just close this report as fixed for mainline?

-- 


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


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

* [Bug bootstrap/11482] [v850-elf] ICE with -O2 building misc-inst.lo
  2003-07-09 19:28 [Bug bootstrap/11482] New: [v850-elf] ICE with -O2 building misc-inst.lo dhazeghi at yahoo dot com
                   ` (10 preceding siblings ...)
  2003-11-08 22:49 ` dhazeghi at yahoo dot com
@ 2003-11-10 11:28 ` nickc at redhat dot com
  2003-12-09 19:08 ` dhazeghi at yahoo dot com
  12 siblings, 0 replies; 14+ messages in thread
From: nickc at redhat dot com @ 2003-11-10 11:28 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From nickc at redhat dot com  2003-11-10 11:27 -------
Subject: Re:  [v850-elf] ICE with -O2 building
 misc-inst.lo

Hi dhazeghi,

> Nick, this is still present on the branch. Is it worth fixing this
> on the branch, or shall I just close this report as fixed for
> mainline?

I think that you should close it.  Vlad was not happy with my patch,
but did not have time to come up with a better one, and since it
affects generic code, not v850 specific, I am loathe to check it in
without approval.  The patch is archived in this test case, so we
could always add a note to the installation instructions for the 3.3
sources saying that v850 users ought to apply the patch.

Cheers
        Nick
        



-- 


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


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

* [Bug bootstrap/11482] [v850-elf] ICE with -O2 building misc-inst.lo
  2003-07-09 19:28 [Bug bootstrap/11482] New: [v850-elf] ICE with -O2 building misc-inst.lo dhazeghi at yahoo dot com
                   ` (11 preceding siblings ...)
  2003-11-10 11:28 ` nickc at redhat dot com
@ 2003-12-09 19:08 ` dhazeghi at yahoo dot com
  12 siblings, 0 replies; 14+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-12-09 19:08 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dhazeghi at yahoo dot com  2003-12-09 19:08 -------
Fixed for 3.4. Since nobody else has hollered, I don't think we should update the install docs. 
Closing.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |3.4


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


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

end of thread, other threads:[~2003-12-09 19:08 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-09 19:28 [Bug bootstrap/11482] New: [v850-elf] ICE with -O2 building misc-inst.lo dhazeghi at yahoo dot com
2003-07-09 19:30 ` [Bug bootstrap/11482] " dhazeghi at yahoo dot com
2003-07-26 17:46 ` dhazeghi at yahoo dot com
2003-07-27 17:34 ` dhazeghi at yahoo dot com
2003-07-29 21:47 ` pinskia at physics dot uc dot edu
2003-08-11 18:21 ` dhazeghi at yahoo dot com
2003-08-12 13:31 ` nickc at redhat dot com
2003-08-18  1:51 ` dhazeghi at yahoo dot com
2003-08-26 15:05 ` nickc at redhat dot com
2003-08-26 16:30 ` dhazeghi at yahoo dot com
2003-08-26 18:04 ` pinskia at gcc dot gnu dot org
2003-11-08 22:49 ` dhazeghi at yahoo dot com
2003-11-10 11:28 ` nickc at redhat dot com
2003-12-09 19:08 ` dhazeghi at yahoo 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).