public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/24306] [4.0 Regression] va_arg gets confused when skipping over certain zero-sized types with -msse
       [not found] <bug-24306-4@http.gcc.gnu.org/bugzilla/>
@ 2012-02-07 19:15 ` rsandifo at gcc dot gnu.org
  2015-10-16  8:24 ` rguenth at gcc dot gnu.org
  1 sibling, 0 replies; 10+ messages in thread
From: rsandifo at gcc dot gnu.org @ 2012-02-07 19:15 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #19 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> 2012-02-07 19:15:15 UTC ---
Author: rsandifo
Date: Tue Feb  7 19:15:10 2012
New Revision: 183977

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183977
Log:
gcc/
    PR middle-end/24306
    * config/mips/mips.c (mips_std_gimplify_va_arg_expr): New function.
    (mips_gimplify_va_arg_expr): Call it instead of
    std_gimplify_va_arg_expr.

gcc/testsuite/
    PR middle-end/24306
    PR target/52154
    * lib/target-supports.exp (check_effective_target_mips_eabi): New.
    * gcc.target/mips/va-arg-1.c: New test.

Added:
    trunk/gcc/testsuite/gcc.target/mips/va-arg-1.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/mips/mips.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/lib/target-supports.exp


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

* [Bug middle-end/24306] [4.0 Regression] va_arg gets confused when skipping over certain zero-sized types with -msse
       [not found] <bug-24306-4@http.gcc.gnu.org/bugzilla/>
  2012-02-07 19:15 ` [Bug middle-end/24306] [4.0 Regression] va_arg gets confused when skipping over certain zero-sized types with -msse rsandifo at gcc dot gnu.org
@ 2015-10-16  8:24 ` rguenth at gcc dot gnu.org
  1 sibling, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-10-16  8:24 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24306
Bug 24306 depends on bug 34010, which changed state.

Bug 34010 Summary: [4.9 Regression] ppc64 bad stdargs codegen for zero sized objects
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34010

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


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

* [Bug middle-end/24306] [4.0 Regression] va_arg gets confused when skipping over certain zero-sized types with -msse
  2005-10-11 12:01 [Bug target/24306] New: va_arg gets confused when skipping over certain zero-sized types bje at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2007-12-22 17:37 ` howarth at nitro dot med dot uc dot edu
@ 2007-12-22 17:51 ` howarth at nitro dot med dot uc dot edu
  7 siblings, 0 replies; 10+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2007-12-22 17:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #18 from howarth at nitro dot med dot uc dot edu  2007-12-22 17:51 -------
For tmpdir-gcc.dg-struct-layout-1/t026 c_compat_x_tst.o-c_compat_y_tst.o on
powerpc-apple-darwin9 at -m64, the failing line in t026_test.h is...

T(2468,float a;long double b;Tchar c;Tal8llong
d;,F(2468,a,3100.906250,83925.484375)F(2468,b,-156603.906250,244908.156250)F(2468,c,99U,35U)F(2468,d,5510104998541940327LL,8962187912153613792LL))


-- 


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


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

* [Bug middle-end/24306] [4.0 Regression] va_arg gets confused when skipping over certain zero-sized types with -msse
  2005-10-11 12:01 [Bug target/24306] New: va_arg gets confused when skipping over certain zero-sized types bje at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2007-12-22 17:16 ` howarth at nitro dot med dot uc dot edu
@ 2007-12-22 17:37 ` howarth at nitro dot med dot uc dot edu
  2007-12-22 17:51 ` howarth at nitro dot med dot uc dot edu
  7 siblings, 0 replies; 10+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2007-12-22 17:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #17 from howarth at nitro dot med dot uc dot edu  2007-12-22 17:37 -------
For tmpdir-gcc.dg-struct-layout-1/t016 c_compat_x_tst.o-c_compat_y_tst.o on
powerpc-apple-darwin9 at -m64, the failing line in t016_test.h is...

T(1604,char a;TE7 b;enum E6 c;unsigned int d;long int e;char f[6];float g;short
int atal16 h;int *
i;,F(1604,a,76U,30U)F(1604,b,e7_m2147483647,e7_m2147483645)F(1604,c,e6_2,e6_2)F(1604,d,3007045619U,3425526240U)F(1604,e,7127725064803830888LL,2212588498547332024LL)F(1604,f[4],64U,30U)F(1604,g,-67359.484375,-251776.203125)F(1604,h,17064,8859)F(1604,i,(int
*)&intarray[89], (int *)&intarray[249]))


-- 


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


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

* [Bug middle-end/24306] [4.0 Regression] va_arg gets confused when skipping over certain zero-sized types with -msse
  2005-10-11 12:01 [Bug target/24306] New: va_arg gets confused when skipping over certain zero-sized types bje at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2007-12-22 16:56 ` howarth at nitro dot med dot uc dot edu
@ 2007-12-22 17:16 ` howarth at nitro dot med dot uc dot edu
  2007-12-22 17:37 ` howarth at nitro dot med dot uc dot edu
  2007-12-22 17:51 ` howarth at nitro dot med dot uc dot edu
  7 siblings, 0 replies; 10+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2007-12-22 17:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #16 from howarth at nitro dot med dot uc dot edu  2007-12-22 17:16 -------
For tmpdir-gcc.dg-struct-layout-1/t008 c_compat_x_tst.o-c_compat_y_tst.o on
powerpc-apple-darwin9 at -m64, the failing line in t008_test.h is...

T(1234,double a;signed char atal16 b;union{unsigned int d;struct{}e;}c;short
int f;unsigned char
g;,F(1234,a,-125234.421875,-6063.015625)F(1234,b,-105,88)F(1234,c.d,3504478143U,3116938342U)F(1234,f,-15109,-23068)F(1234,g,236U,127U))


-- 


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


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

* [Bug middle-end/24306] [4.0 Regression] va_arg gets confused when skipping over certain zero-sized types with -msse
  2005-10-11 12:01 [Bug target/24306] New: va_arg gets confused when skipping over certain zero-sized types bje at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2007-12-22 16:42 ` howarth at nitro dot med dot uc dot edu
@ 2007-12-22 16:56 ` howarth at nitro dot med dot uc dot edu
  2007-12-22 17:16 ` howarth at nitro dot med dot uc dot edu
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2007-12-22 16:56 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #15 from howarth at nitro dot med dot uc dot edu  2007-12-22 16:56 -------
For tmpdir-gcc.dg-struct-layout-1/t005 c_compat_x_tst.o-c_compat_y_tst.o on
powerpc-apple-darwin9 at -m64, the line in t005_test.h that causes the testcase
failure is...

T(998,df a;Talllong b:BQN(20);long long int c:BQN(1);TE4 d:19;long int
e;,F(998,a,140017.484375,-160009.218750)B(998,b,-303431,345440)B(998,c,0,0)B(998,d,e4_253,e4_2)F(998,e,3562377756672343063LL,5761410617366885841LL))


-- 


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


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

* [Bug middle-end/24306] [4.0 Regression] va_arg gets confused when skipping over certain zero-sized types with -msse
  2005-10-11 12:01 [Bug target/24306] New: va_arg gets confused when skipping over certain zero-sized types bje at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2007-12-21 20:45 ` howarth at nitro dot med dot uc dot edu
@ 2007-12-22 16:42 ` howarth at nitro dot med dot uc dot edu
  2007-12-22 16:56 ` howarth at nitro dot med dot uc dot edu
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2007-12-22 16:42 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #14 from howarth at nitro dot med dot uc dot edu  2007-12-22 16:41 -------
For tmpdir-gcc.dg-struct-layout-1/t003 c_compat_x_tst.o-c_compat_y_tst.o on
powerpc-apple-darwin9 at -m64, the two lines in t003_test.h that cause the
failure are...

T(693,double atal2 a;Tal16long b;short int
c;struct{}d;,F(693,a,-9109.968750,89665.703125)F(693,b,-2780362564512530142LL,-1882493019100008206LL)F(693,c,29451,-6341))

and

T(760,float a;long double b;unsigned long int c;signed char
d;,F(760,a,-218391.812500,-167965.062500)F(760,b,-122404.406250,-90172.859375)F(760,c,2933687826322174624ULL,14862826394269793540ULL)F(760,d,55,64))


-- 


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


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

* [Bug middle-end/24306] [4.0 Regression] va_arg gets confused when skipping over certain zero-sized types with -msse
  2005-10-11 12:01 [Bug target/24306] New: va_arg gets confused when skipping over certain zero-sized types bje at gcc dot gnu dot org
  2007-02-03 15:46 ` [Bug middle-end/24306] [4.0 Regression] va_arg gets confused when skipping over certain zero-sized types with -msse gdr at gcc dot gnu dot org
  2007-11-07  1:06 ` mrs at apple dot com
@ 2007-12-21 20:45 ` howarth at nitro dot med dot uc dot edu
  2007-12-22 16:42 ` howarth at nitro dot med dot uc dot edu
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2007-12-21 20:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #13 from howarth at nitro dot med dot uc dot edu  2007-12-21 20:45 -------
Reversing the change...

http://gcc.gnu.org/viewcvs/trunk/gcc/builtins.c?r1=108629&r2=108854&pathrev=108854

reduces the failures at -m64 on powerpc-apple-darwin9 from...

Running
/sw/src/fink.build/gcc43-4.2.999-20071219/gcc-4.3-20071219/gcc/testsuite/gcc.dg/compat/struct-layout-1.exp
...
FAIL: tmpdir-gcc.dg-struct-layout-1/t001 c_compat_x_tst.o-c_compat_y_tst.o
execute 
FAIL: tmpdir-gcc.dg-struct-layout-1/t003 c_compat_x_tst.o-c_compat_y_tst.o
execute 
FAIL: tmpdir-gcc.dg-struct-layout-1/t005 c_compat_x_tst.o-c_compat_y_tst.o
execute 
FAIL: tmpdir-gcc.dg-struct-layout-1/t006 c_compat_x_tst.o-c_compat_y_tst.o
execute 
FAIL: tmpdir-gcc.dg-struct-layout-1/t008 c_compat_x_tst.o-c_compat_y_tst.o
execute 
FAIL: tmpdir-gcc.dg-struct-layout-1/t016 c_compat_x_tst.o-c_compat_y_tst.o
execute 
FAIL: tmpdir-gcc.dg-struct-layout-1/t024 c_compat_x_tst.o-c_compat_y_tst.o
execute 
FAIL: tmpdir-gcc.dg-struct-layout-1/t026 c_compat_x_tst.o-c_compat_y_tst.o
execute 
FAIL: tmpdir-gcc.dg-struct-layout-1/t028 c_compat_x_tst.o-c_compat_y_tst.o
execute 

...to...

Running
/sw/src/fink.build/gcc43-4.2.999-20071219/gcc-4.3-20071219/gcc/testsuite/gcc.dg/compat/struct-layout-1.exp
...
FAIL: tmpdir-gcc.dg-struct-layout-1/t003 c_compat_x_tst.o-c_compat_y_tst.o
execute 
FAIL: tmpdir-gcc.dg-struct-layout-1/t005 c_compat_x_tst.o-c_compat_y_tst.o
execute 
FAIL: tmpdir-gcc.dg-struct-layout-1/t008 c_compat_x_tst.o-c_compat_y_tst.o
execute 
FAIL: tmpdir-gcc.dg-struct-layout-1/t016 c_compat_x_tst.o-c_compat_y_tst.o
execute 
FAIL: tmpdir-gcc.dg-struct-layout-1/t026 c_compat_x_tst.o-c_compat_y_tst.o
execute 


-- 


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


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

* [Bug middle-end/24306] [4.0 Regression] va_arg gets confused when skipping over certain zero-sized types with -msse
  2005-10-11 12:01 [Bug target/24306] New: va_arg gets confused when skipping over certain zero-sized types bje at gcc dot gnu dot org
  2007-02-03 15:46 ` [Bug middle-end/24306] [4.0 Regression] va_arg gets confused when skipping over certain zero-sized types with -msse gdr at gcc dot gnu dot org
@ 2007-11-07  1:06 ` mrs at apple dot com
  2007-12-21 20:45 ` howarth at nitro dot med dot uc dot edu
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: mrs at apple dot com @ 2007-11-07  1:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from mrs at apple dot com  2007-11-07 01:06 -------
This patch is wrong.  See http://gcc.gnu.org/PR34010 for details.


-- 

mrs at apple dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mrs at apple dot com


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


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

* [Bug middle-end/24306] [4.0 Regression] va_arg gets confused when skipping over certain zero-sized types with -msse
  2005-10-11 12:01 [Bug target/24306] New: va_arg gets confused when skipping over certain zero-sized types bje at gcc dot gnu dot org
@ 2007-02-03 15:46 ` gdr at gcc dot gnu dot org
  2007-11-07  1:06 ` mrs at apple dot com
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: gdr at gcc dot gnu dot org @ 2007-02-03 15:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from gdr at gcc dot gnu dot org  2007-02-03 15:46 -------
Fixed in GCC-4.1.0 and higher.


-- 

gdr at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|4.0.4                       |4.1.0


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


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

end of thread, other threads:[~2015-10-16  8:24 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-24306-4@http.gcc.gnu.org/bugzilla/>
2012-02-07 19:15 ` [Bug middle-end/24306] [4.0 Regression] va_arg gets confused when skipping over certain zero-sized types with -msse rsandifo at gcc dot gnu.org
2015-10-16  8:24 ` rguenth at gcc dot gnu.org
2005-10-11 12:01 [Bug target/24306] New: va_arg gets confused when skipping over certain zero-sized types bje at gcc dot gnu dot org
2007-02-03 15:46 ` [Bug middle-end/24306] [4.0 Regression] va_arg gets confused when skipping over certain zero-sized types with -msse gdr at gcc dot gnu dot org
2007-11-07  1:06 ` mrs at apple dot com
2007-12-21 20:45 ` howarth at nitro dot med dot uc dot edu
2007-12-22 16:42 ` howarth at nitro dot med dot uc dot edu
2007-12-22 16:56 ` howarth at nitro dot med dot uc dot edu
2007-12-22 17:16 ` howarth at nitro dot med dot uc dot edu
2007-12-22 17:37 ` howarth at nitro dot med dot uc dot edu
2007-12-22 17:51 ` howarth at nitro dot med dot uc dot edu

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