public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/20795] New: ICE in assign_parms
@ 2005-04-06 14:53 jakub at gcc dot gnu dot org
  2005-04-06 14:57 ` [Bug middle-end/20795] " pinskia at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: jakub at gcc dot gnu dot org @ 2005-04-06 14:53 UTC (permalink / raw)
  To: gcc-bugs

struct S { union {} a; } __attribute__((aligned));
void check (struct S arg)
{
}

ICEs on x86-64 at any optimization level.  Works fine in C.

-- 
           Summary: ICE in assign_parms
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jakub at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: x86_64-linux


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


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

* [Bug middle-end/20795] ICE in assign_parms
  2005-04-06 14:53 [Bug c++/20795] New: ICE in assign_parms jakub at gcc dot gnu dot org
@ 2005-04-06 14:57 ` pinskia at gcc dot gnu dot org
  2005-04-06 16:47 ` [Bug target/20795] " jakub at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-06 14:57 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-04-06 14:57 -------
Even though this is only seen with the C++ front-end, I would almost think this is a middle-end 
problem.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c++                         |middle-end
           Keywords|                            |ice-on-valid-code


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


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

* [Bug target/20795] ICE in assign_parms
  2005-04-06 14:53 [Bug c++/20795] New: ICE in assign_parms jakub at gcc dot gnu dot org
  2005-04-06 14:57 ` [Bug middle-end/20795] " pinskia at gcc dot gnu dot org
@ 2005-04-06 16:47 ` jakub at gcc dot gnu dot org
  2005-04-09 17:10 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu dot org @ 2005-04-06 16:47 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From jakub at gcc dot gnu dot org  2005-04-06 16:46 -------
It actually looks like a x86-64 target bug.
FUNCTION_ARG returns (parallel:BLK [])


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |jakub at gcc dot gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
          Component|middle-end                  |target
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-04-06 16:46:48
               date|                            |


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


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

* [Bug target/20795] ICE in assign_parms
  2005-04-06 14:53 [Bug c++/20795] New: ICE in assign_parms jakub at gcc dot gnu dot org
  2005-04-06 14:57 ` [Bug middle-end/20795] " pinskia at gcc dot gnu dot org
  2005-04-06 16:47 ` [Bug target/20795] " jakub at gcc dot gnu dot org
@ 2005-04-09 17:10 ` cvs-commit at gcc dot gnu dot org
  2005-04-09 17:15 ` cvs-commit at gcc dot gnu dot org
  2005-04-10 20:59 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-04-09 17:10 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-04-09 17:10 -------
Subject: Bug 20795

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	jakub@gcc.gnu.org	2005-04-09 17:09:49

Modified files:
	gcc            : ChangeLog 
	gcc/testsuite  : ChangeLog 
	gcc/config/i386: i386.c 
Added files:
	gcc/testsuite/g++.dg/abi: param2.C 

Log message:
	PR target/20795
	* config/i386/i386.c (construct_container): Pass empty aligned
	struct, union or class in memory.
	
	* g++.dg/abi/param2.C: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.8214&r2=2.8215
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.5309&r2=1.5310
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/i386.c.diff?cvsroot=gcc&r1=1.805&r2=1.806
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/abi/param2.C.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


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


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

* [Bug target/20795] ICE in assign_parms
  2005-04-06 14:53 [Bug c++/20795] New: ICE in assign_parms jakub at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2005-04-09 17:10 ` cvs-commit at gcc dot gnu dot org
@ 2005-04-09 17:15 ` cvs-commit at gcc dot gnu dot org
  2005-04-10 20:59 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-04-09 17:15 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-04-09 17:15 -------
Subject: Bug 20795

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-4_0-branch
Changes by:	jakub@gcc.gnu.org	2005-04-09 17:15:34

Modified files:
	gcc            : ChangeLog 
	gcc/testsuite  : ChangeLog 
	gcc/config/i386: i386.c 
Added files:
	gcc/testsuite/g++.dg/abi: param2.C 

Log message:
	PR target/20795
	* config/i386/i386.c (construct_container): Pass empty aligned
	struct, union or class in memory.
	
	* g++.dg/abi/param2.C: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=2.7592.2.148&r2=2.7592.2.149
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.5084.2.119&r2=1.5084.2.120
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/i386.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.795.6.3&r2=1.795.6.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/abi/param2.C.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.2.1



-- 


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


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

* [Bug target/20795] ICE in assign_parms
  2005-04-06 14:53 [Bug c++/20795] New: ICE in assign_parms jakub at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2005-04-09 17:15 ` cvs-commit at gcc dot gnu dot org
@ 2005-04-10 20:59 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-10 20:59 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-04-10 20:59 -------
Fixed.

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


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


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

end of thread, other threads:[~2005-04-10 20:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-06 14:53 [Bug c++/20795] New: ICE in assign_parms jakub at gcc dot gnu dot org
2005-04-06 14:57 ` [Bug middle-end/20795] " pinskia at gcc dot gnu dot org
2005-04-06 16:47 ` [Bug target/20795] " jakub at gcc dot gnu dot org
2005-04-09 17:10 ` cvs-commit at gcc dot gnu dot org
2005-04-09 17:15 ` cvs-commit at gcc dot gnu dot org
2005-04-10 20:59 ` 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).