public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/18004] New: ICE in output_constant_pool_2 for aligned(1) float in struct
@ 2004-10-15  2:00 janis187 at us dot ibm dot com
  2004-10-15  2:10 ` [Bug target/18004] " pinskia at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: janis187 at us dot ibm dot com @ 2004-10-15  2:00 UTC (permalink / raw)
  To: gcc-bugs

This test causes GCC to ICE in output_constant_pool_2 on powerpc64-linux
with -m32.  The ICE goes away without the typedef or if the variable
is local.
                                                                                
The test case is extracted from gcc.dg-struct-layout-1/t001.
                                                                                
  typedef float Tal1float __attribute__((aligned (1)));
  struct { Tal1float f; } s;
  void foo (void) { s.f = 1.0; }
                                                                                
When compiled with powerpc64-unknown-linux-gnu from 20041013 mainline:
                                                                                
elm3b11% /opt/gcc-nightly/mline/bin/gcc -m32 bug.c
bug.c: In function 'foo':
bug.c:3: internal compiler error: in output_constant_pool_2, at /varasm.c:3074
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
                                                                                
GCC for powerpc-eabisim gets the same ICE.

-- 
           Summary: ICE in output_constant_pool_2 for aligned(1) float in
                    struct
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: janis187 at us dot ibm dot com
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: powerpc-*-*


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


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

* [Bug target/18004] ICE in output_constant_pool_2 for aligned(1) float in struct
  2004-10-15  2:00 [Bug target/18004] New: ICE in output_constant_pool_2 for aligned(1) float in struct janis187 at us dot ibm dot com
@ 2004-10-15  2:10 ` pinskia at gcc dot gnu dot org
  2004-10-21 10:51 ` cvs-commit at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-15  2:10 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-15 02:10 -------
Confirmed on powerpc-darwin.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |ice-on-valid-code
      Known to fail|                            |3.3.2 3.4.0 4.0.0
   Last reconfirmed|0000-00-00 00:00:00         |2004-10-15 02:10:21
               date|                            |


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


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

* [Bug target/18004] ICE in output_constant_pool_2 for aligned(1) float in struct
  2004-10-15  2:00 [Bug target/18004] New: ICE in output_constant_pool_2 for aligned(1) float in struct janis187 at us dot ibm dot com
  2004-10-15  2:10 ` [Bug target/18004] " pinskia at gcc dot gnu dot org
@ 2004-10-21 10:51 ` cvs-commit at gcc dot gnu dot org
  2004-10-21 11:26 ` [Bug target/18004] [3.3/3.4 Regression] " pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-10-21 10:51 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-10-21 10:51 -------
Subject: Bug 18004

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	aldyh@gcc.gnu.org	2004-10-21 10:51:31

Modified files:
	gcc            : expmed.c ChangeLog 

Log message:
	PR 18004.
	* expmed.c (store_bit_field): Pass original 'value' before
	recursing.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/expmed.c.diff?cvsroot=gcc&r1=1.199&r2=1.200
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.5967&r2=2.5968



-- 


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


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

* [Bug target/18004] [3.3/3.4 Regression] ICE in output_constant_pool_2 for aligned(1) float in struct
  2004-10-15  2:00 [Bug target/18004] New: ICE in output_constant_pool_2 for aligned(1) float in struct janis187 at us dot ibm dot com
  2004-10-15  2:10 ` [Bug target/18004] " pinskia at gcc dot gnu dot org
  2004-10-21 10:51 ` cvs-commit at gcc dot gnu dot org
@ 2004-10-21 11:26 ` pinskia at gcc dot gnu dot org
  2004-10-21 13:31 ` cvs-commit 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:26 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|3.3.2 3.4.0 4.0.0           |3.3.2 3.4.0
      Known to work|                            |4.0.0
            Summary|ICE in                      |[3.3/3.4 Regression] ICE in
                   |output_constant_pool_2 for  |output_constant_pool_2 for
                   |aligned(1) float in struct  |aligned(1) float in struct
   Target Milestone|---                         |3.4.3


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


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

* [Bug target/18004] [3.3/3.4 Regression] ICE in output_constant_pool_2 for aligned(1) float in struct
  2004-10-15  2:00 [Bug target/18004] New: ICE in output_constant_pool_2 for aligned(1) float in struct janis187 at us dot ibm dot com
                   ` (2 preceding siblings ...)
  2004-10-21 11:26 ` [Bug target/18004] [3.3/3.4 Regression] " pinskia at gcc dot gnu dot org
@ 2004-10-21 13:31 ` cvs-commit at gcc dot gnu dot org
  2004-10-21 13:36 ` [Bug target/18004] [3.3 " pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-10-21 13:31 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-10-21 13:31 -------
Subject: Bug 18004

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_4-branch
Changes by:	aldyh@gcc.gnu.org	2004-10-21 13:30:59

Modified files:
	gcc            : ChangeLog expmed.c 

Log message:
	PR 18004.
	* expmed.c (store_bit_field): Pass original 'value' before
	recursing.

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.668&r2=2.2326.2.669
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/expmed.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.148.4.2&r2=1.148.4.3



-- 


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


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

* [Bug target/18004] [3.3 Regression] ICE in output_constant_pool_2 for aligned(1) float in struct
  2004-10-15  2:00 [Bug target/18004] New: ICE in output_constant_pool_2 for aligned(1) float in struct janis187 at us dot ibm dot com
                   ` (3 preceding siblings ...)
  2004-10-21 13:31 ` cvs-commit at gcc dot gnu dot org
@ 2004-10-21 13:36 ` pinskia at gcc dot gnu dot org
  2004-10-21 13:46 ` 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 13:36 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|4.0.0                       |4.0.0 3.4.3
            Summary|[3.3/3.4 Regression] ICE in |[3.3 Regression] ICE in
                   |output_constant_pool_2 for  |output_constant_pool_2 for
                   |aligned(1) float in struct  |aligned(1) float in struct
   Target Milestone|3.4.3                       |3.3.5


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


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

* [Bug target/18004] [3.3 Regression] ICE in output_constant_pool_2 for aligned(1) float in struct
  2004-10-15  2:00 [Bug target/18004] New: ICE in output_constant_pool_2 for aligned(1) float in struct janis187 at us dot ibm dot com
                   ` (4 preceding siblings ...)
  2004-10-21 13:36 ` [Bug target/18004] [3.3 " pinskia at gcc dot gnu dot org
@ 2004-10-21 13:46 ` pinskia at gcc dot gnu dot org
  2005-04-30 16:02 ` cvs-commit at gcc dot gnu dot org
  2005-04-30 16:19 ` gdr 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 13:46 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.3.5                       |3.3.6


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


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

* [Bug target/18004] [3.3 Regression] ICE in output_constant_pool_2 for aligned(1) float in struct
  2004-10-15  2:00 [Bug target/18004] New: ICE in output_constant_pool_2 for aligned(1) float in struct janis187 at us dot ibm dot com
                   ` (5 preceding siblings ...)
  2004-10-21 13:46 ` pinskia at gcc dot gnu dot org
@ 2005-04-30 16:02 ` cvs-commit at gcc dot gnu dot org
  2005-04-30 16:19 ` gdr at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-04-30 16:02 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-04-30 16:01 -------
Subject: Bug 18004

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_3-branch
Changes by:	gdr@gcc.gnu.org	2005-04-30 16:01:38

Modified files:
	gcc            : ChangeLog expmed.c 

Log message:
	* Apply:
	2004-10-21  Aldy Hernandez  <aldyh@redhat.com>
	
	PR target/18004.
	* expmed.c (store_bit_field): Pass original 'value' before
	recursing.

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.1065&r2=1.16114.2.1066
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/expmed.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.128.2.1&r2=1.128.2.2



-- 


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


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

* [Bug target/18004] [3.3 Regression] ICE in output_constant_pool_2 for aligned(1) float in struct
  2004-10-15  2:00 [Bug target/18004] New: ICE in output_constant_pool_2 for aligned(1) float in struct janis187 at us dot ibm dot com
                   ` (6 preceding siblings ...)
  2005-04-30 16:02 ` cvs-commit at gcc dot gnu dot org
@ 2005-04-30 16:19 ` gdr at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: gdr at gcc dot gnu dot org @ 2005-04-30 16:19 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From gdr at gcc dot gnu dot org  2005-04-30 16:19 -------
Patch applied to 3.3.6.

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


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


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

end of thread, other threads:[~2005-04-30 16:19 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-15  2:00 [Bug target/18004] New: ICE in output_constant_pool_2 for aligned(1) float in struct janis187 at us dot ibm dot com
2004-10-15  2:10 ` [Bug target/18004] " pinskia at gcc dot gnu dot org
2004-10-21 10:51 ` cvs-commit at gcc dot gnu dot org
2004-10-21 11:26 ` [Bug target/18004] [3.3/3.4 Regression] " pinskia at gcc dot gnu dot org
2004-10-21 13:31 ` cvs-commit at gcc dot gnu dot org
2004-10-21 13:36 ` [Bug target/18004] [3.3 " pinskia at gcc dot gnu dot org
2004-10-21 13:46 ` pinskia at gcc dot gnu dot org
2005-04-30 16:02 ` cvs-commit at gcc dot gnu dot org
2005-04-30 16:19 ` gdr 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).