public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/11983] New: ICE on code using altivec
@ 2003-08-19 21:00 agx at sigxcpu dot org
  2003-08-19 21:02 ` [Bug c/11983] " agx at sigxcpu dot org
                   ` (23 more replies)
  0 siblings, 24 replies; 25+ messages in thread
From: agx at sigxcpu dot org @ 2003-08-19 21:00 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=11983

           Summary: ICE on code using altivec
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: agx at sigxcpu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: powerpc-linux
  GCC host triplet: powerpc-linux
GCC target triplet: powerpc-linux

Hi,
this might be related to 11793, but the PR
claims that the problem is fixed in head. I'm still seeing a (though
different) ICE with -snapshot at the same line of code as in 11793:

$ /usr/lib/gcc-snapshot/bin/gcc -O4 --save-temps -ffast-math
-fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-Wall -g -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_GNU_SOURCE -maltivec -mabi=altivec -c -o ppc/mpegvideo_altivec.o
ppc/mpegvideo_altivec.c
In function `dct_quantize_altivec':

ppc/mpegvideo_altivec.c:512: internal compiler error: in
add_location_or_const_value_attribute, at dwarf2out.c:9453

The problem can again be worked around by removing the -O4 switch.
Preprocessed source is up at:
http://honk.physik.uni-konstanz.de/linux-mips/gcc/bugs/mpegvideo_altivec-snapshot.i
Please let me know if I can provide any further details.
Regards,
 -- Guido


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

* [Bug c/11983] ICE on code using altivec
  2003-08-19 21:00 [Bug c/11983] New: ICE on code using altivec agx at sigxcpu dot org
@ 2003-08-19 21:02 ` agx at sigxcpu dot org
  2003-08-19 21:57 ` [Bug target/11983] " pinskia at gcc dot gnu dot org
                   ` (22 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: agx at sigxcpu dot org @ 2003-08-19 21:02 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=11983



------- Additional Comments From agx at sigxcpu dot org  2003-08-19 21:02 -------
Created an attachment (id=4623)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=4623&action=view)
preprocessed source

I attached the preprocessed source.


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

* [Bug target/11983] ICE on code using altivec
  2003-08-19 21:00 [Bug c/11983] New: ICE on code using altivec agx at sigxcpu dot org
  2003-08-19 21:02 ` [Bug c/11983] " agx at sigxcpu dot org
@ 2003-08-19 21:57 ` pinskia at gcc dot gnu dot org
  2003-08-19 22:00 ` agx at sigxcpu dot org
                   ` (21 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-19 21: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=11983


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c                           |target


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-08-19 21:57 -------
The reason why I claimed it was fixed on the mainline was because I was not using linux to test it, I 
was using darwin which defaults to stabs so this most definitally a dwarf-2 debuging problem.


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

* [Bug target/11983] ICE on code using altivec
  2003-08-19 21:00 [Bug c/11983] New: ICE on code using altivec agx at sigxcpu dot org
  2003-08-19 21:02 ` [Bug c/11983] " agx at sigxcpu dot org
  2003-08-19 21:57 ` [Bug target/11983] " pinskia at gcc dot gnu dot org
@ 2003-08-19 22:00 ` agx at sigxcpu dot org
  2003-08-23  2:57 ` [Bug target/11983] ICE in dwarf-2 " pinskia at gcc dot gnu dot org
                   ` (20 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: agx at sigxcpu dot org @ 2003-08-19 22:00 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=11983


agx at sigxcpu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |debian-gcc at lists dot
                   |                            |debian dot org


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

* [Bug target/11983] ICE in dwarf-2 on code using altivec
  2003-08-19 21:00 [Bug c/11983] New: ICE on code using altivec agx at sigxcpu dot org
                   ` (2 preceding siblings ...)
  2003-08-19 22:00 ` agx at sigxcpu dot org
@ 2003-08-23  2:57 ` pinskia at gcc dot gnu dot org
  2003-08-25 14:43 ` dhazeghi at yahoo dot com
                   ` (19 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-23  2: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=11983


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
            Summary|ICE on code using altivec   |ICE in dwarf-2 on code using
                   |                            |altivec


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-08-23 02:57 -------
Removing the -g should workaround the ICE but you get no debuging symbols.


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

* [Bug target/11983] ICE in dwarf-2 on code using altivec
  2003-08-19 21:00 [Bug c/11983] New: ICE on code using altivec agx at sigxcpu dot org
                   ` (3 preceding siblings ...)
  2003-08-23  2:57 ` [Bug target/11983] ICE in dwarf-2 " pinskia at gcc dot gnu dot org
@ 2003-08-25 14:43 ` dhazeghi at yahoo dot com
  2003-08-25 15:35 ` dhazeghi at yahoo dot com
                   ` (18 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-08-25 14:43 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=11983



------- Additional Comments From dhazeghi at yahoo dot com  2003-08-25 14:43 -------
I'm reducing this one.


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

* [Bug target/11983] ICE in dwarf-2 on code using altivec
  2003-08-19 21:00 [Bug c/11983] New: ICE on code using altivec agx at sigxcpu dot org
                   ` (4 preceding siblings ...)
  2003-08-25 14:43 ` dhazeghi at yahoo dot com
@ 2003-08-25 15:35 ` dhazeghi at yahoo dot com
  2003-09-07  3:29 ` pinskia at gcc dot gnu dot org
                   ` (17 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-08-25 15:35 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=11983


dhazeghi at yahoo dot com changed:

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


------- Additional Comments From dhazeghi at yahoo dot com  2003-08-25 15:35 -------
Created an attachment (id=4652)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=4652&action=view)
somewhat reduced testcase

Down to 88 lines. That's probably about as far as I'll get it.


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

* [Bug target/11983] ICE in dwarf-2 on code using altivec
  2003-08-19 21:00 [Bug c/11983] New: ICE on code using altivec agx at sigxcpu dot org
                   ` (5 preceding siblings ...)
  2003-08-25 15:35 ` dhazeghi at yahoo dot com
@ 2003-09-07  3:29 ` pinskia at gcc dot gnu dot org
  2003-12-11 20:06 ` pinskia at gcc dot gnu dot org
                   ` (16 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-09-07  3:29 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=11983


pinskia at gcc dot gnu dot org changed:

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


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

* [Bug target/11983] ICE in dwarf-2 on code using altivec
  2003-08-19 21:00 [Bug c/11983] New: ICE on code using altivec agx at sigxcpu dot org
                   ` (6 preceding siblings ...)
  2003-09-07  3:29 ` pinskia at gcc dot gnu dot org
@ 2003-12-11 20:06 ` pinskia at gcc dot gnu dot org
  2003-12-26  2:04 ` pinskia at gcc dot gnu dot org
                   ` (15 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-11 20:06 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-12-11 20:06 -------
Most likely related to or the same as bug 13148.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |segher at kernel dot
                   |                            |crashing dot org


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


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

* [Bug target/11983] ICE in dwarf-2 on code using altivec
  2003-08-19 21:00 [Bug c/11983] New: ICE on code using altivec agx at sigxcpu dot org
                   ` (7 preceding siblings ...)
  2003-12-11 20:06 ` pinskia at gcc dot gnu dot org
@ 2003-12-26  2:04 ` pinskia at gcc dot gnu dot org
  2004-01-06  7:35 ` pinskia at gcc dot gnu dot org
                   ` (14 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-26  2:04 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-12-26 01:23 -------
*** Bug 13148 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lu_zero at gentoo dot org


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


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

* [Bug target/11983] ICE in dwarf-2 on code using altivec
  2003-08-19 21:00 [Bug c/11983] New: ICE on code using altivec agx at sigxcpu dot org
                   ` (8 preceding siblings ...)
  2003-12-26  2:04 ` pinskia at gcc dot gnu dot org
@ 2004-01-06  7:35 ` pinskia at gcc dot gnu dot org
  2004-01-06  7:36 ` [Bug target/11983] [3.4 Regression] " pinskia at gcc dot gnu dot org
                   ` (13 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-06  7:35 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-01-06 07:35 -------
*** Bug 13580 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |benh at kernel dot crashing
                   |                            |dot org


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


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

* [Bug target/11983] [3.4 Regression] ICE in dwarf-2 on code using altivec
  2003-08-19 21:00 [Bug c/11983] New: ICE on code using altivec agx at sigxcpu dot org
                   ` (9 preceding siblings ...)
  2004-01-06  7:35 ` pinskia at gcc dot gnu dot org
@ 2004-01-06  7:36 ` pinskia at gcc dot gnu dot org
  2004-01-06  7:42 ` [Bug debug/11983] " pinskia at gcc dot gnu dot org
                   ` (12 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-06  7:36 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-01-06 07:36 -------
Confirmed but the somewhat reduced testcase needs to go further.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-01-06 07:36:40
               date|                            |
            Summary|ICE in dwarf-2 on code using|[3.4 Regression] ICE in
                   |altivec                     |dwarf-2 on code using
                   |                            |altivec
   Target Milestone|---                         |3.4.0


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


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

* [Bug debug/11983] [3.4 Regression] ICE in dwarf-2 on code using altivec
  2003-08-19 21:00 [Bug c/11983] New: ICE on code using altivec agx at sigxcpu dot org
                   ` (10 preceding siblings ...)
  2004-01-06  7:36 ` [Bug target/11983] [3.4 Regression] " pinskia at gcc dot gnu dot org
@ 2004-01-06  7:42 ` pinskia at gcc dot gnu dot org
  2004-01-06  8:07 ` pinskia at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-06  7:42 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-01-06 07:42 -------
Looks like add_location_or_const_value_attribute needs to understand const_vector.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|target                      |debug


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


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

* [Bug debug/11983] [3.4 Regression] ICE in dwarf-2 on code using altivec
  2003-08-19 21:00 [Bug c/11983] New: ICE on code using altivec agx at sigxcpu dot org
                   ` (11 preceding siblings ...)
  2004-01-06  7:42 ` [Bug debug/11983] " pinskia at gcc dot gnu dot org
@ 2004-01-06  8:07 ` pinskia at gcc dot gnu dot org
  2004-01-06 20:54 ` pinskia at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-06  8:07 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-01-06 08:06 -------
Patch here: <http://gcc.gnu.org/ml/gcc-patches/2004-01/msg00354.html>.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |pinskia at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
           Keywords|                            |patch


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


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

* [Bug debug/11983] [3.4 Regression] ICE in dwarf-2 on code using altivec
  2003-08-19 21:00 [Bug c/11983] New: ICE on code using altivec agx at sigxcpu dot org
                   ` (12 preceding siblings ...)
  2004-01-06  8:07 ` pinskia at gcc dot gnu dot org
@ 2004-01-06 20:54 ` pinskia at gcc dot gnu dot org
  2004-02-22 23:45 ` [Bug debug/11983] [3.4/3.5 " pinskia at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-06 20:54 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-01-06 20:54 -------
My patch does not fix it all the way and there needs to be decided how CONST_VECTOR is 
described in dwarf2

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|pinskia at gcc dot gnu dot  |unassigned at gcc dot gnu
                   |org                         |dot org
             Status|ASSIGNED                    |NEW


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


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

* [Bug debug/11983] [3.4/3.5 Regression] ICE in dwarf-2 on code using altivec
  2003-08-19 21:00 [Bug c/11983] New: ICE on code using altivec agx at sigxcpu dot org
                   ` (13 preceding siblings ...)
  2004-01-06 20:54 ` pinskia at gcc dot gnu dot org
@ 2004-02-22 23:45 ` pinskia at gcc dot gnu dot org
  2004-03-05 12:46 ` amodra at bigpond dot net dot au
                   ` (8 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-02-22 23:45 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-02-22 23:45 -------
*** Bug 14243 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marcus at jet dot franken
                   |                            |dot de


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


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

* [Bug debug/11983] [3.4/3.5 Regression] ICE in dwarf-2 on code using altivec
  2003-08-19 21:00 [Bug c/11983] New: ICE on code using altivec agx at sigxcpu dot org
                   ` (14 preceding siblings ...)
  2004-02-22 23:45 ` [Bug debug/11983] [3.4/3.5 " pinskia at gcc dot gnu dot org
@ 2004-03-05 12:46 ` amodra at bigpond dot net dot au
  2004-03-06 14:35 ` pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: amodra at bigpond dot net dot au @ 2004-03-05 12:46 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From amodra at bigpond dot net dot au  2004-03-05 12:46 -------
Patch in progress

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |amodra at bigpond dot net
                   |dot org                     |dot au
             Status|NEW                         |ASSIGNED


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


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

* [Bug debug/11983] [3.4/3.5 Regression] ICE in dwarf-2 on code using altivec
  2003-08-19 21:00 [Bug c/11983] New: ICE on code using altivec agx at sigxcpu dot org
                   ` (15 preceding siblings ...)
  2004-03-05 12:46 ` amodra at bigpond dot net dot au
@ 2004-03-06 14:35 ` pinskia at gcc dot gnu dot org
  2004-03-07 23:42 ` cvs-commit at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-03-06 14:35 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-03-06 14:35 -------
Patch here: <http://gcc.gnu.org/ml/gcc-patches/2004-03/msg00598.html>.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch


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


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

* [Bug debug/11983] [3.4/3.5 Regression] ICE in dwarf-2 on code using altivec
  2003-08-19 21:00 [Bug c/11983] New: ICE on code using altivec agx at sigxcpu dot org
                   ` (16 preceding siblings ...)
  2004-03-06 14:35 ` pinskia at gcc dot gnu dot org
@ 2004-03-07 23:42 ` cvs-commit at gcc dot gnu dot org
  2004-03-07 23:53 ` [Bug debug/11983] [3.3/3.4 " pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-03-07 23:42 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-03-07 23:42 -------
Subject: Bug 11983

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	amodra@gcc.gnu.org	2004-03-07 23:42:38

Modified files:
	gcc            : ChangeLog dwarf2out.c 

Log message:
	PR debug/11983
	* dwarf2out.c (enum dw_val_class): Rename dw_val_class_float to
	dw_val_class_vec.  Replace use throughout file.
	(dw_float_const): Delete.
	(dw_vec_const): New.
	(dw_val_struct_union): Rename val_float to val_vec.  Replace use
	throughout file.
	(add_AT_vec): Rename from add_AT_float.  Add elt_size param.
	(same_dw_val_p): Adjust vec comparison.  Use memcmp.
	(size_of_die): Adjust dw_val_class_vec sizing.
	(output_die): Output dw_val_class_vec.
	(insert_int, extract_int, insert_float): New functions.
	(add_const_value_attribute): Use insert_float for CONST_DOUBLE.
	Handle CONST_VECTOR.
	(add_location_or_const_value_attribute): Handle CONST_VECTOR.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.3088&r2=2.3089
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/dwarf2out.c.diff?cvsroot=gcc&r1=1.498&r2=1.499



-- 


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


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

* [Bug debug/11983] [3.3/3.4 Regression] ICE in dwarf-2 on code using altivec
  2003-08-19 21:00 [Bug c/11983] New: ICE on code using altivec agx at sigxcpu dot org
                   ` (17 preceding siblings ...)
  2004-03-07 23:42 ` cvs-commit at gcc dot gnu dot org
@ 2004-03-07 23:53 ` pinskia at gcc dot gnu dot org
  2004-03-09  3:04 ` [Bug debug/11983] [3.3 " amodra at bigpond dot net dot au
                   ` (4 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-03-07 23:53 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-03-07 23:53 -------
A 3.4.0 and now a 3.3.3 regression as the fix for PR11793 just makes this one show up.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |3.3.3
      Known to work|3.3                         |3.3 3.5.0
            Summary|[3.4/3.5 Regression] ICE in |[3.3/3.4 Regression] ICE in
                   |dwarf-2 on code using       |dwarf-2 on code using
                   |altivec                     |altivec
   Target Milestone|3.4.0                       |3.3.4


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


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

* [Bug debug/11983] [3.3 Regression] ICE in dwarf-2 on code using altivec
  2003-08-19 21:00 [Bug c/11983] New: ICE on code using altivec agx at sigxcpu dot org
                   ` (18 preceding siblings ...)
  2004-03-07 23:53 ` [Bug debug/11983] [3.3/3.4 " pinskia at gcc dot gnu dot org
@ 2004-03-09  3:04 ` amodra at bigpond dot net dot au
  2004-03-09  3:13 ` gdr at integrable-solutions dot net
                   ` (3 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: amodra at bigpond dot net dot au @ 2004-03-09  3:04 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From amodra at bigpond dot net dot au  2004-03-09 03:04 -------
3.4.0 fix committed.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|3.3 3.5.0                   |3.3 3.4.0 3.5.0
            Summary|[3.3/3.4 Regression] ICE in |[3.3 Regression] ICE in
                   |dwarf-2 on code using       |dwarf-2 on code using
                   |altivec                     |altivec


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


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

* [Bug debug/11983] [3.3 Regression] ICE in dwarf-2 on code using altivec
  2003-08-19 21:00 [Bug c/11983] New: ICE on code using altivec agx at sigxcpu dot org
                   ` (19 preceding siblings ...)
  2004-03-09  3:04 ` [Bug debug/11983] [3.3 " amodra at bigpond dot net dot au
@ 2004-03-09  3:13 ` gdr at integrable-solutions dot net
  2004-03-12 21:07 ` gdr at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: gdr at integrable-solutions dot net @ 2004-03-09  3:13 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From gdr at integrable-solutions dot net  2004-03-09 03:13 -------
Subject: Re:  [3.3 Regression] ICE in dwarf-2 on code using altivec

"amodra at bigpond dot net dot au" <gcc-bugzilla@gcc.gnu.org> writes:

| 3.4.0 fix committed.

Could you commit correponding versions for gcc-3_3-branch?

-- Gaby


-- 


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


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

* [Bug debug/11983] [3.3 Regression] ICE in dwarf-2 on code using altivec
  2003-08-19 21:00 [Bug c/11983] New: ICE on code using altivec agx at sigxcpu dot org
                   ` (20 preceding siblings ...)
  2004-03-09  3:13 ` gdr at integrable-solutions dot net
@ 2004-03-12 21:07 ` gdr at gcc dot gnu dot org
  2004-03-13  9:20 ` cvs-commit at gcc dot gnu dot org
  2004-03-13  9:22 ` amodra at bigpond dot net dot au
  23 siblings, 0 replies; 25+ messages in thread
From: gdr at gcc dot gnu dot org @ 2004-03-12 21:07 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From gdr at gcc dot gnu dot org  2004-03-12 21:07 -------
(In reply to comment #18)
> 3.4.0 fix committed.

The patch as if does not apply cleably to gcc-3_3-branch.
Do you have a version for gcc-3.3.4?  Does it worth it?

-- Gaby




-- 


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


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

* [Bug debug/11983] [3.3 Regression] ICE in dwarf-2 on code using altivec
  2003-08-19 21:00 [Bug c/11983] New: ICE on code using altivec agx at sigxcpu dot org
                   ` (21 preceding siblings ...)
  2004-03-12 21:07 ` gdr at gcc dot gnu dot org
@ 2004-03-13  9:20 ` cvs-commit at gcc dot gnu dot org
  2004-03-13  9:22 ` amodra at bigpond dot net dot au
  23 siblings, 0 replies; 25+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-03-13  9:20 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-03-13 09:20 -------
Subject: Bug 11983

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_3-branch
Changes by:	amodra@gcc.gnu.org	2004-03-13 09:20:16

Modified files:
	gcc            : ChangeLog dwarf2out.c 

Log message:
	PR debug/11983
	* dwarf2out.c (enum dw_val_class): Rename dw_val_class_float to
	dw_val_class_vec.  Replace use throughout file.
	(dw_float_const): Delete.
	(dw_vec_const): New.
	(dw_val_struct_union): Rename val_float to val_vec.  Replace use
	throughout file.
	(add_AT_vec): Rename from add_AT_float.  Add elt_size param.
	(same_dw_val_p): Adjust vec comparison.  Use memcmp.
	(size_of_die): Adjust dw_val_class_vec sizing.
	(output_die): Output dw_val_class_vec.
	(insert_int, extract_int, insert_float): New functions.
	(add_const_value_attribute): Use insert_float for CONST_DOUBLE.
	Handle CONST_VECTOR.
	(add_location_or_const_value_attribute): Handle CONST_VECTOR.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.16114.2.939&r2=1.16114.2.940
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/dwarf2out.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.390.2.11&r2=1.390.2.12



-- 


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


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

* [Bug debug/11983] [3.3 Regression] ICE in dwarf-2 on code using altivec
  2003-08-19 21:00 [Bug c/11983] New: ICE on code using altivec agx at sigxcpu dot org
                   ` (22 preceding siblings ...)
  2004-03-13  9:20 ` cvs-commit at gcc dot gnu dot org
@ 2004-03-13  9:22 ` amodra at bigpond dot net dot au
  23 siblings, 0 replies; 25+ messages in thread
From: amodra at bigpond dot net dot au @ 2004-03-13  9:22 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From amodra at bigpond dot net dot au  2004-03-13 09:22 -------
Fix applied to all active branches.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Known to work|3.3 3.4.0 3.5.0             |3.3 3.4.0 3.5.0 3.3.4
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2004-03-13  9:22 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-19 21:00 [Bug c/11983] New: ICE on code using altivec agx at sigxcpu dot org
2003-08-19 21:02 ` [Bug c/11983] " agx at sigxcpu dot org
2003-08-19 21:57 ` [Bug target/11983] " pinskia at gcc dot gnu dot org
2003-08-19 22:00 ` agx at sigxcpu dot org
2003-08-23  2:57 ` [Bug target/11983] ICE in dwarf-2 " pinskia at gcc dot gnu dot org
2003-08-25 14:43 ` dhazeghi at yahoo dot com
2003-08-25 15:35 ` dhazeghi at yahoo dot com
2003-09-07  3:29 ` pinskia at gcc dot gnu dot org
2003-12-11 20:06 ` pinskia at gcc dot gnu dot org
2003-12-26  2:04 ` pinskia at gcc dot gnu dot org
2004-01-06  7:35 ` pinskia at gcc dot gnu dot org
2004-01-06  7:36 ` [Bug target/11983] [3.4 Regression] " pinskia at gcc dot gnu dot org
2004-01-06  7:42 ` [Bug debug/11983] " pinskia at gcc dot gnu dot org
2004-01-06  8:07 ` pinskia at gcc dot gnu dot org
2004-01-06 20:54 ` pinskia at gcc dot gnu dot org
2004-02-22 23:45 ` [Bug debug/11983] [3.4/3.5 " pinskia at gcc dot gnu dot org
2004-03-05 12:46 ` amodra at bigpond dot net dot au
2004-03-06 14:35 ` pinskia at gcc dot gnu dot org
2004-03-07 23:42 ` cvs-commit at gcc dot gnu dot org
2004-03-07 23:53 ` [Bug debug/11983] [3.3/3.4 " pinskia at gcc dot gnu dot org
2004-03-09  3:04 ` [Bug debug/11983] [3.3 " amodra at bigpond dot net dot au
2004-03-09  3:13 ` gdr at integrable-solutions dot net
2004-03-12 21:07 ` gdr at gcc dot gnu dot org
2004-03-13  9:20 ` cvs-commit at gcc dot gnu dot org
2004-03-13  9:22 ` amodra at bigpond dot net dot au

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