public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/18096] New:  internal compiler error: in final_scan_insn, at final.c:2429
@ 2004-10-21  8:39 lu_zero at gentoo dot org
  2004-10-21  8:41 ` [Bug c/18096] " lu_zero at gentoo dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: lu_zero at gentoo dot org @ 2004-10-21  8:39 UTC (permalink / raw)
  To: gcc-bugs

the trigger of the issue is part of openmotif (luckly is a optional little
component, and that's why nobody found it out before, openmotif itself builds
fine and the componente failure won't even break the buildchain), 

preprocessed source and source follows

built it with 
gcc -O2 -pipe -mcpu=7450 -mtune=7450 -maltivec -mabi=altivec
-fno-strict-aliasing -fsigned-char    -I../.. -I../../exports/include
-I../../imports/x11/include  -Dlinux -D__powerpc__ -D_POSIX_C_SOURCE=199309L   
                       -D_POSIX_SOURCE -D_XOPEN_SOURCE=500L                    
            -D_BSD_SOURCE -D_SVID_SOURCE -DNO_MESSAGE_CATALOG  -DFUNCPROTO=15
-DNARROWPROTO     -c -o mkcatdefs.o mkcatdefs.c

-- 
           Summary:  internal compiler error: in final_scan_insn, at
                    final.c:2429
           Product: gcc
           Version: 3.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: lu_zero at gentoo dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: powerpc-unknown-linux-gnu
  GCC host triplet: powerpc-unknown-linux-gnu
GCC target triplet: powerpc-unknown-linux-gnu


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


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

* [Bug c/18096]  internal compiler error: in final_scan_insn, at final.c:2429
  2004-10-21  8:39 [Bug c/18096] New: internal compiler error: in final_scan_insn, at final.c:2429 lu_zero at gentoo dot org
@ 2004-10-21  8:41 ` lu_zero at gentoo dot org
  2004-10-21  8:46 ` lu_zero at gentoo dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: lu_zero at gentoo dot org @ 2004-10-21  8:41 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From lu_zero at gentoo dot org  2004-10-21 08:41 -------
Created an attachment (id=7394)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7394&action=view)
preprocessed sources


-- 


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


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

* [Bug c/18096]  internal compiler error: in final_scan_insn, at final.c:2429
  2004-10-21  8:39 [Bug c/18096] New: internal compiler error: in final_scan_insn, at final.c:2429 lu_zero at gentoo dot org
  2004-10-21  8:41 ` [Bug c/18096] " lu_zero at gentoo dot org
@ 2004-10-21  8:46 ` lu_zero at gentoo dot org
  2004-10-21 11:31 ` [Bug middle-end/18096] " pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: lu_zero at gentoo dot org @ 2004-10-21  8:46 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From lu_zero at gentoo dot org  2004-10-21 08:46 -------
Created an attachment (id=7395)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7395&action=view)
sources


-- 


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


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

* [Bug middle-end/18096] internal compiler error: in final_scan_insn, at final.c:2429
  2004-10-21  8:39 [Bug c/18096] New: internal compiler error: in final_scan_insn, at final.c:2429 lu_zero at gentoo dot org
  2004-10-21  8:41 ` [Bug c/18096] " lu_zero at gentoo dot org
  2004-10-21  8:46 ` lu_zero at gentoo dot org
@ 2004-10-21 11:31 ` pinskia at gcc dot gnu dot org
  2004-10-21 11:34 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-21 11:31 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c                           |middle-end
           Keywords|                            |ice-on-invalid-code
            Summary| internal compiler error: in|internal compiler error: in
                   |final_scan_insn, at         |final_scan_insn, at
                   |final.c:2429                |final.c:2429


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


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

* [Bug middle-end/18096] internal compiler error: in final_scan_insn, at final.c:2429
  2004-10-21  8:39 [Bug c/18096] New: internal compiler error: in final_scan_insn, at final.c:2429 lu_zero at gentoo dot org
                   ` (2 preceding siblings ...)
  2004-10-21 11:31 ` [Bug middle-end/18096] " pinskia at gcc dot gnu dot org
@ 2004-10-21 11:34 ` pinskia at gcc dot gnu dot org
  2004-10-21 11:54 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-21 11:34 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-21 11:34 -------
Next time give the full error message plus the -v output.

-- 


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


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

* [Bug middle-end/18096] internal compiler error: in final_scan_insn, at final.c:2429
  2004-10-21  8:39 [Bug c/18096] New: internal compiler error: in final_scan_insn, at final.c:2429 lu_zero at gentoo dot org
                   ` (3 preceding siblings ...)
  2004-10-21 11:34 ` pinskia at gcc dot gnu dot org
@ 2004-10-21 11:54 ` pinskia at gcc dot gnu dot org
  2004-10-21 11:57 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-21 11:54 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-21 11:54 -------
(insn:TI 2000 4 1999 (set (reg:SI 0 0)
        (const_int -2147487920 [0xffffffff7fffef50])) 303 {*movsi_internal1} (nil)
    (nil))

Here is the reduced source:
void f(char*);voidmkcatdefs(char *fname) 
{
  char line [2147483647];
  f(line);
}

This causes a stack overflow anyways :).

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
  GCC build triplet|powerpc-unknown-linux-gnu   |
   GCC host triplet|powerpc-unknown-linux-gnu   |
 GCC target triplet|powerpc-unknown-linux-gnu   |powerpc-*-*
           Keywords|ice-on-invalid-code         |ice-on-valid-code
      Known to fail|                            |4.0.0 3.4.1 3.3 3.1
   Last reconfirmed|0000-00-00 00:00:00         |2004-10-21 11:54:39
               date|                            |


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


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

* [Bug middle-end/18096] internal compiler error: in final_scan_insn, at final.c:2429
  2004-10-21  8:39 [Bug c/18096] New: internal compiler error: in final_scan_insn, at final.c:2429 lu_zero at gentoo dot org
                   ` (4 preceding siblings ...)
  2004-10-21 11:54 ` pinskia at gcc dot gnu dot org
@ 2004-10-21 11:57 ` pinskia at gcc dot gnu dot org
  2004-10-30 19:20 ` cvs-commit at gcc dot gnu dot org
  2004-10-30 20:17 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-21 11:57 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-21 11:57 -------
#ifndef NL_TEXTMAX
#define NL_TEXTMAX 8192
#endif
#define MAXLINELEN NL_TEXTMAX

  char line [MAXLINELEN];


Someone should fix the source not to do this.

-- 


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


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

* [Bug middle-end/18096] internal compiler error: in final_scan_insn, at final.c:2429
  2004-10-21  8:39 [Bug c/18096] New: internal compiler error: in final_scan_insn, at final.c:2429 lu_zero at gentoo dot org
                   ` (5 preceding siblings ...)
  2004-10-21 11:57 ` pinskia at gcc dot gnu dot org
@ 2004-10-30 19:20 ` cvs-commit at gcc dot gnu dot org
  2004-10-30 20:17 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-10-30 19:20 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-10-30 19:20 -------
Subject: Bug 18096

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	sayle@gcc.gnu.org	2004-10-30 19:20:44

Modified files:
	gcc            : ChangeLog 
	gcc/config/rs6000: rs6000.c 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/gcc.dg: pr18096-1.c 

Log message:
	PR middle-end/18096
	* config/rs6000/rs6000.c (rs6000_emit_allocate_stack): Check that
	the stack adjustment, "size", is valid for Pmode.  If the stack
	frame is too large, generate a trap insn and issue a warning.
	
	* gcc.dg/pr18096-1.c: New test case.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.6105&r2=2.6106
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/rs6000.c.diff?cvsroot=gcc&r1=1.732&r2=1.733
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4523&r2=1.4524
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/pr18096-1.c.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


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


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

* [Bug middle-end/18096] internal compiler error: in final_scan_insn, at final.c:2429
  2004-10-21  8:39 [Bug c/18096] New: internal compiler error: in final_scan_insn, at final.c:2429 lu_zero at gentoo dot org
                   ` (6 preceding siblings ...)
  2004-10-30 19:20 ` cvs-commit at gcc dot gnu dot org
@ 2004-10-30 20:17 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-30 20:17 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-30 20:17 -------
Fixed.

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


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


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

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

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-21  8:39 [Bug c/18096] New: internal compiler error: in final_scan_insn, at final.c:2429 lu_zero at gentoo dot org
2004-10-21  8:41 ` [Bug c/18096] " lu_zero at gentoo dot org
2004-10-21  8:46 ` lu_zero at gentoo dot org
2004-10-21 11:31 ` [Bug middle-end/18096] " pinskia at gcc dot gnu dot org
2004-10-21 11:34 ` pinskia at gcc dot gnu dot org
2004-10-21 11:54 ` pinskia at gcc dot gnu dot org
2004-10-21 11:57 ` pinskia at gcc dot gnu dot org
2004-10-30 19:20 ` cvs-commit at gcc dot gnu dot org
2004-10-30 20:17 ` pinskia 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).