public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/36445] [4.4 Regression] ICE in expand_expr_real_1 with -O1 with vector registers
  2008-06-05 21:41 [Bug middle-end/36445] New: [4.4 Regression] ICE in expand_expr_real_1 with -O1 with vector registers pinskia at gcc dot gnu dot org
@ 2008-06-05 21:41 ` pinskia at gcc dot gnu dot org
  2008-06-25 12:10 ` rguenth at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-06-05 21:41 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.4.0


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


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

* [Bug middle-end/36445]  New: [4.4 Regression] ICE in expand_expr_real_1 with -O1 with vector registers
@ 2008-06-05 21:41 pinskia at gcc dot gnu dot org
  2008-06-05 21:41 ` [Bug middle-end/36445] " pinskia at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-06-05 21:41 UTC (permalink / raw)
  To: gcc-bugs

Another fallout due to the using VCE more patch:
#define vector __attribute__((vector_size(16) ))
struct struct1  {
  union { float a[3]; }    vmx;
  struct struct2   {
    struct2(const struct2& r) {}
  } w;
} __attribute__((aligned(16)));
struct struct3  {
  vector float vmx;
  operator const struct1& () const{
    return *reinterpret_cast<const struct1*>(this);
  }
};
struct3 func3( struct3 V1);
struct3 func2( void );
void func1( )  {
  struct1 vVec = func2() ;
  func3 ( (struct3&)vVec );
}
--- CUT ---
This time you need to compile with -O2 -maltivec and it does not happen under
x86 for some reason.


-- 
           Summary: [4.4 Regression] ICE in expand_expr_real_1 with -O1 with
                    vector registers
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
GCC target triplet: powerpc*-*-*


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


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

* [Bug middle-end/36445] [4.4 Regression] ICE in expand_expr_real_1 with -O1 with vector registers
  2008-06-05 21:41 [Bug middle-end/36445] New: [4.4 Regression] ICE in expand_expr_real_1 with -O1 with vector registers pinskia at gcc dot gnu dot org
  2008-06-05 21:41 ` [Bug middle-end/36445] " pinskia at gcc dot gnu dot org
@ 2008-06-25 12:10 ` rguenth at gcc dot gnu dot org
  2008-06-30  0:30 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-06-25 12:10 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2


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


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

* [Bug middle-end/36445] [4.4 Regression] ICE in expand_expr_real_1 with -O1 with vector registers
  2008-06-05 21:41 [Bug middle-end/36445] New: [4.4 Regression] ICE in expand_expr_real_1 with -O1 with vector registers pinskia at gcc dot gnu dot org
  2008-06-05 21:41 ` [Bug middle-end/36445] " pinskia at gcc dot gnu dot org
  2008-06-25 12:10 ` rguenth at gcc dot gnu dot org
@ 2008-06-30  0:30 ` pinskia at gcc dot gnu dot org
  2008-08-31  2:44 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-06-30  0:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2008-06-30 00:29 -------
Mine, I will post the patch for this bug later this week.  Note the patch is
located in PR 36444.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |pinskia at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2008-06-30 00:29:49
               date|                            |


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


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

* [Bug middle-end/36445] [4.4 Regression] ICE in expand_expr_real_1 with -O1 with vector registers
  2008-06-05 21:41 [Bug middle-end/36445] New: [4.4 Regression] ICE in expand_expr_real_1 with -O1 with vector registers pinskia at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2008-06-30  0:30 ` pinskia at gcc dot gnu dot org
@ 2008-08-31  2:44 ` pinskia at gcc dot gnu dot org
  2008-09-03 19:29 ` pinskia at gcc dot gnu dot org
  2008-09-03 19:30 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-08-31  2:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2008-08-31 02:43 -------
This was fixed by:
http://gcc.gnu.org/ml/gcc-patches/2008-06/msg00654.html

I will go ahead and add a testcase later this week.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://gcc.gnu.org/ml/gcc-
                   |                            |patches/2008-
                   |                            |06/msg00654.html


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


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

* [Bug middle-end/36445] [4.4 Regression] ICE in expand_expr_real_1 with -O1 with vector registers
  2008-06-05 21:41 [Bug middle-end/36445] New: [4.4 Regression] ICE in expand_expr_real_1 with -O1 with vector registers pinskia at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2008-08-31  2:44 ` pinskia at gcc dot gnu dot org
@ 2008-09-03 19:29 ` pinskia at gcc dot gnu dot org
  2008-09-03 19:30 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-09-03 19:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2008-09-03 19:27 -------
Fixed.


-- 

pinskia at gcc dot gnu dot org changed:

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


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


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

* [Bug middle-end/36445] [4.4 Regression] ICE in expand_expr_real_1 with -O1 with vector registers
  2008-06-05 21:41 [Bug middle-end/36445] New: [4.4 Regression] ICE in expand_expr_real_1 with -O1 with vector registers pinskia at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2008-09-03 19:29 ` pinskia at gcc dot gnu dot org
@ 2008-09-03 19:30 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-09-03 19:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2008-09-03 19:28 -------
Subject: Bug 36445

Author: pinskia
Date: Wed Sep  3 19:27:35 2008
New Revision: 139947

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=139947
Log:
2008-09-03  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR middle-end/36445
        * g++.dg/torture/pr36445.C: New test.



Added:
    trunk/gcc/testsuite/g++.dg/torture/pr36445.C
Modified:
    trunk/gcc/testsuite/ChangeLog


-- 


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


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

end of thread, other threads:[~2008-09-03 19:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-05 21:41 [Bug middle-end/36445] New: [4.4 Regression] ICE in expand_expr_real_1 with -O1 with vector registers pinskia at gcc dot gnu dot org
2008-06-05 21:41 ` [Bug middle-end/36445] " pinskia at gcc dot gnu dot org
2008-06-25 12:10 ` rguenth at gcc dot gnu dot org
2008-06-30  0:30 ` pinskia at gcc dot gnu dot org
2008-08-31  2:44 ` pinskia at gcc dot gnu dot org
2008-09-03 19:29 ` pinskia at gcc dot gnu dot org
2008-09-03 19:30 ` 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).