public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/14857] New: [3.4 Regression]: Gcc segfault on duplicated asm statement
@ 2004-04-05 19:32 hjl at lucon dot org
  2004-04-05 19:41 ` [Bug target/14857] " pinskia at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: hjl at lucon dot org @ 2004-04-05 19:32 UTC (permalink / raw)
  To: gcc-bugs

[hjl@gnu-4 reg]$ cat foo.i
register char *__stack_pointer __asm__ ("sp");
register char *__stack_pointer __asm__ ("sp");
[hjl@gnu-4 reg]$ /usr/gcc-3.4/bin/gcc -S foo.i -v
Reading specs from /usr/gcc-3.4/lib/gcc/ia64-unknown-linux-gnu/3.4.0/specs
Configured with: /net/gnu/export/gnu/src/gcc-3.4/gcc/configure
--enable-clocale=gnu --with-system-zlib --enable-shared --enable-threads=posix
--enable-haifa --disable-checking --prefix=/usr/gcc-3.4
--with-local-prefix=/usr/local
Thread model: posix
gcc version 3.4.0 20040329 (prerelease)
 /usr/gcc-3.4/libexec/gcc/ia64-unknown-linux-gnu/3.4.0/cc1 -fpreprocessed foo.i
-quiet -dumpbase foo.i -auxbase foo -version -o foo.s
GNU C version 3.4.0 20040329 (prerelease) (ia64-unknown-linux-gnu)
        compiled by GNU C version 3.4.0 20040329 (prerelease).
GGC heuristics: --param ggc-min-expand=97 --param ggc-min-heapsize=125552
foo.i:2: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

-- 
           Summary: [3.4 Regression]: Gcc segfault on duplicated asm
                    statement
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hjl at lucon dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: ia64-unknown-linux-gnu
  GCC host triplet: ia64-unknown-linux-gnu
GCC target triplet: ia64-unknown-linux-gnu


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


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

* [Bug target/14857] [3.4 Regression]: Gcc segfault on duplicated asm statement
  2004-04-05 19:32 [Bug target/14857] New: [3.4 Regression]: Gcc segfault on duplicated asm statement hjl at lucon dot org
@ 2004-04-05 19:41 ` pinskia at gcc dot gnu dot org
  2004-04-06 16:26 ` [Bug target/14857] [3.4/3.5 " hjl at lucon dot org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-05 19:41 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
   Target Milestone|---                         |3.4.1


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


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

* [Bug target/14857] [3.4/3.5 Regression]: Gcc segfault on duplicated asm statement
  2004-04-05 19:32 [Bug target/14857] New: [3.4 Regression]: Gcc segfault on duplicated asm statement hjl at lucon dot org
  2004-04-05 19:41 ` [Bug target/14857] " pinskia at gcc dot gnu dot org
@ 2004-04-06 16:26 ` hjl at lucon dot org
  2004-04-06 17:50 ` hjl at lucon dot org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: hjl at lucon dot org @ 2004-04-06 16:26 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[3.4 Regression]: Gcc       |[3.4/3.5 Regression]: Gcc
                   |segfault on duplicated asm  |segfault on duplicated asm
                   |statement                   |statement


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


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

* [Bug target/14857] [3.4/3.5 Regression]: Gcc segfault on duplicated asm statement
  2004-04-05 19:32 [Bug target/14857] New: [3.4 Regression]: Gcc segfault on duplicated asm statement hjl at lucon dot org
  2004-04-05 19:41 ` [Bug target/14857] " pinskia at gcc dot gnu dot org
  2004-04-06 16:26 ` [Bug target/14857] [3.4/3.5 " hjl at lucon dot org
@ 2004-04-06 17:50 ` hjl at lucon dot org
  2004-04-06 17:51 ` hjl at lucon dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: hjl at lucon dot org @ 2004-04-06 17:50 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From hjl at lucon dot org  2004-04-06 17:49 -------
ia64_encode_section_info was removed in:

http://gcc.gnu.org/ml/gcc-patches/2003-04/msg01251.html

and added back in

http://gcc.gnu.org/ml/gcc-cvs/2003-08/msg00259.html

But the new code doesn't handle global register variables.

-- 


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


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

* [Bug target/14857] [3.4/3.5 Regression]: Gcc segfault on duplicated asm statement
  2004-04-05 19:32 [Bug target/14857] New: [3.4 Regression]: Gcc segfault on duplicated asm statement hjl at lucon dot org
                   ` (2 preceding siblings ...)
  2004-04-06 17:50 ` hjl at lucon dot org
@ 2004-04-06 17:51 ` hjl at lucon dot org
  2004-04-08  2:48 ` wilson at specifixinc dot com
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: hjl at lucon dot org @ 2004-04-06 17:51 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From hjl at lucon dot org  2004-04-06 17:51 -------
Created an attachment (id=6044)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6044&action=view)
A patch for global register variables


-- 


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


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

* [Bug target/14857] [3.4/3.5 Regression]: Gcc segfault on duplicated asm statement
  2004-04-05 19:32 [Bug target/14857] New: [3.4 Regression]: Gcc segfault on duplicated asm statement hjl at lucon dot org
                   ` (3 preceding siblings ...)
  2004-04-06 17:51 ` hjl at lucon dot org
@ 2004-04-08  2:48 ` wilson at specifixinc dot com
  2004-04-08  2:50 ` wilson at specifixinc dot com
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: wilson at specifixinc dot com @ 2004-04-08  2:48 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From wilson at specifixinc dot com  2004-04-08 02:48 -------
Subject: Re:  [3.4/3.5 Regression]: Gcc segfault on duplicated
 asm statement

hjl at lucon dot org wrote:
 >	* config/ia64/ia64.c (ia64_encode_section_info): Don't prod
 >	global register variables.

OK.  This should be sent to gcc-patches if it hasn't been sent there yet.


-- 


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


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

* [Bug target/14857] [3.4/3.5 Regression]: Gcc segfault on duplicated asm statement
  2004-04-05 19:32 [Bug target/14857] New: [3.4 Regression]: Gcc segfault on duplicated asm statement hjl at lucon dot org
                   ` (4 preceding siblings ...)
  2004-04-08  2:48 ` wilson at specifixinc dot com
@ 2004-04-08  2:50 ` wilson at specifixinc dot com
  2004-04-09 12:52 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: wilson at specifixinc dot com @ 2004-04-08  2:50 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From wilson at specifixinc dot com  2004-04-08 02:50 -------
Subject: Re:  [3.4/3.5 Regression]: Gcc segfault on duplicated
 asm statement

hjl at lucon dot org wrote:
> A patch for global register variables

This needs approval from Mark Mitchell before it can be added to the 
gcc-3.4 branch.  I can only approve it for mainline at this time.


-- 


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


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

* [Bug target/14857] [3.4/3.5 Regression]: Gcc segfault on duplicated asm statement
  2004-04-05 19:32 [Bug target/14857] New: [3.4 Regression]: Gcc segfault on duplicated asm statement hjl at lucon dot org
                   ` (5 preceding siblings ...)
  2004-04-08  2:50 ` wilson at specifixinc dot com
@ 2004-04-09 12:52 ` pinskia at gcc dot gnu dot org
  2004-04-21 15:23 ` cvs-commit at gcc dot gnu dot org
  2004-04-21 15:54 ` pinskia at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-09 12:52 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-04-09 12:52 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |patch
   Last reconfirmed|0000-00-00 00:00:00         |2004-04-09 12:52:09
               date|                            |


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


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

* [Bug target/14857] [3.4/3.5 Regression]: Gcc segfault on duplicated asm statement
  2004-04-05 19:32 [Bug target/14857] New: [3.4 Regression]: Gcc segfault on duplicated asm statement hjl at lucon dot org
                   ` (6 preceding siblings ...)
  2004-04-09 12:52 ` pinskia at gcc dot gnu dot org
@ 2004-04-21 15:23 ` cvs-commit at gcc dot gnu dot org
  2004-04-21 15:54 ` pinskia at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-04-21 15:23 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-04-21 15:14 -------
Subject: Bug 14857

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_4-branch
Changes by:	hjl@gcc.gnu.org	2004-04-21 15:14:54

Modified files:
	gcc            : ChangeLog 
	gcc/config/ia64: ia64.c 

Log message:
	2004-04-21  H.J. Lu  <hongjiu.lu@intel.com>
	
	PR target/14857
	Backport from mainline:
	
	* config/ia64/ia64.c (ia64_encode_section_info): Don't prod
	global register variables.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=2.2326.2.401&r2=2.2326.2.402
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/ia64/ia64.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.265.2.6&r2=1.265.2.7



-- 


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


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

* [Bug target/14857] [3.4/3.5 Regression]: Gcc segfault on duplicated asm statement
  2004-04-05 19:32 [Bug target/14857] New: [3.4 Regression]: Gcc segfault on duplicated asm statement hjl at lucon dot org
                   ` (7 preceding siblings ...)
  2004-04-21 15:23 ` cvs-commit at gcc dot gnu dot org
@ 2004-04-21 15:54 ` pinskia at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-21 15:54 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-04-21 15:28 -------
Fixed.

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


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


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

end of thread, other threads:[~2004-04-21 15:28 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-05 19:32 [Bug target/14857] New: [3.4 Regression]: Gcc segfault on duplicated asm statement hjl at lucon dot org
2004-04-05 19:41 ` [Bug target/14857] " pinskia at gcc dot gnu dot org
2004-04-06 16:26 ` [Bug target/14857] [3.4/3.5 " hjl at lucon dot org
2004-04-06 17:50 ` hjl at lucon dot org
2004-04-06 17:51 ` hjl at lucon dot org
2004-04-08  2:48 ` wilson at specifixinc dot com
2004-04-08  2:50 ` wilson at specifixinc dot com
2004-04-09 12:52 ` pinskia at gcc dot gnu dot org
2004-04-21 15:23 ` cvs-commit at gcc dot gnu dot org
2004-04-21 15:54 ` 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).