public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/32747]  New: [4.3 Regression] ICE segmentation fault or abort in combine on alpha
@ 2007-07-12 23:10 belyshev at depni dot sinp dot msu dot ru
  2007-07-13  8:26 ` [Bug rtl-optimization/32747] " belyshev at depni dot sinp dot msu dot ru
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: belyshev at depni dot sinp dot msu dot ru @ 2007-07-12 23:10 UTC (permalink / raw)
  To: gcc-bugs

Testcase is as simple as this, compile with -O2 (can be triggered in a cross
compiler):

void foo (unsigned u)
{
  if (u != 0x34303365)
    bar ();
}

Result may vary, either segfault in get_last_value_validate(), or ICE in
copy_rtx, at rtl.c:314, or abort() in libc after free, depending on how
compiler is invoked (from gdb or not), amount of enabled checking and host
machine.


-- 
           Summary: [4.3 Regression] ICE segmentation fault or abort in
                    combine on alpha
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, build
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: belyshev at depni dot sinp dot msu dot ru
GCC target triplet: alpha-unknown-linux-gnu


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


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

* [Bug rtl-optimization/32747] [4.3 Regression] ICE segmentation fault or abort in combine on alpha
  2007-07-12 23:10 [Bug rtl-optimization/32747] New: [4.3 Regression] ICE segmentation fault or abort in combine on alpha belyshev at depni dot sinp dot msu dot ru
@ 2007-07-13  8:26 ` belyshev at depni dot sinp dot msu dot ru
  2007-07-15 21:02 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: belyshev at depni dot sinp dot msu dot ru @ 2007-07-13  8:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from belyshev at depni dot sinp dot msu dot ru  2007-07-13 08:26 -------
Broken by r126517:

2007-07-10  Ian Lance Taylor  <iant@google.com>

        Replace no_new_pseudos in backends.
        ...


-- 

belyshev at depni dot sinp dot msu dot ru changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |iant at google dot com


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


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

* [Bug rtl-optimization/32747] [4.3 Regression] ICE segmentation fault or abort in combine on alpha
  2007-07-12 23:10 [Bug rtl-optimization/32747] New: [4.3 Regression] ICE segmentation fault or abort in combine on alpha belyshev at depni dot sinp dot msu dot ru
  2007-07-13  8:26 ` [Bug rtl-optimization/32747] " belyshev at depni dot sinp dot msu dot ru
@ 2007-07-15 21:02 ` pinskia at gcc dot gnu dot org
  2007-07-16 15:53 ` ian at airs dot com
  2007-07-26  9:23 ` belyshev at depni dot sinp dot msu dot ru
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-07-15 21:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2007-07-15 21:01 -------
This seems related to:
http://gcc.gnu.org/ml/gcc-patches/2007-07/msg01379.html


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.3.0


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


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

* [Bug rtl-optimization/32747] [4.3 Regression] ICE segmentation fault or abort in combine on alpha
  2007-07-12 23:10 [Bug rtl-optimization/32747] New: [4.3 Regression] ICE segmentation fault or abort in combine on alpha belyshev at depni dot sinp dot msu dot ru
  2007-07-13  8:26 ` [Bug rtl-optimization/32747] " belyshev at depni dot sinp dot msu dot ru
  2007-07-15 21:02 ` pinskia at gcc dot gnu dot org
@ 2007-07-16 15:53 ` ian at airs dot com
  2007-07-26  9:23 ` belyshev at depni dot sinp dot msu dot ru
  3 siblings, 0 replies; 5+ messages in thread
From: ian at airs dot com @ 2007-07-16 15:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from ian at airs dot com  2007-07-16 15:52 -------
The problem is that the reg_stat array in combine.c does not adjust when
splitters create new pseudo-registers.  I'm working on a patch to convert
reg_stat to a VEC.


-- 

ian at airs dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|iant at google dot com      |ian at airs dot com
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2007-07-16 15:52:59
               date|                            |


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


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

* [Bug rtl-optimization/32747] [4.3 Regression] ICE segmentation fault or abort in combine on alpha
  2007-07-12 23:10 [Bug rtl-optimization/32747] New: [4.3 Regression] ICE segmentation fault or abort in combine on alpha belyshev at depni dot sinp dot msu dot ru
                   ` (2 preceding siblings ...)
  2007-07-16 15:53 ` ian at airs dot com
@ 2007-07-26  9:23 ` belyshev at depni dot sinp dot msu dot ru
  3 siblings, 0 replies; 5+ messages in thread
From: belyshev at depni dot sinp dot msu dot ru @ 2007-07-26  9:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from belyshev at depni dot sinp dot msu dot ru  2007-07-26 09:23 -------
Fixed by:

http://gcc.gnu.org/viewcvs?view=rev&revision=126942
r126942 | ian | 2007-07-26 04:27:34 +0400 (Thu, 26 Jul 2007) | 7 lines

        * combine.c (combine_max_regno): Remove.  Remove all uses.
        (struct reg_stat_struct): Rename from struct reg_stat.
        (reg_stat_type): Define, and declare VECs.
        (reg_stat): Change from pointer to VEC.  Change all uses.
        (combine_split_insns): New static function.
        (try_combine, find_split_point): Call it instead of split_insns.


-- 

belyshev at depni dot sinp dot msu dot ru changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2007-07-26  9:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-12 23:10 [Bug rtl-optimization/32747] New: [4.3 Regression] ICE segmentation fault or abort in combine on alpha belyshev at depni dot sinp dot msu dot ru
2007-07-13  8:26 ` [Bug rtl-optimization/32747] " belyshev at depni dot sinp dot msu dot ru
2007-07-15 21:02 ` pinskia at gcc dot gnu dot org
2007-07-16 15:53 ` ian at airs dot com
2007-07-26  9:23 ` belyshev at depni dot sinp dot msu dot ru

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