public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/16354] New: va-arg-25.c -Os regression fails on i686
@ 2004-07-04  0:22 jbuck at gcc dot gnu dot org
  2004-07-04  0:23 ` [Bug rtl-optimization/16354] " jbuck at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: jbuck at gcc dot gnu dot org @ 2004-07-04  0:22 UTC (permalink / raw)
  To: gcc-bugs

This test has failed for a while, but I can't find a bug report on it, so I'm
adding one here.

The test execute/va-arg-25.c with the -Os option compiles, but fails with a 
runtime abort with gcc 3.4.0, gcc 3.4.1, and the trunk.

With gcc 3.3.4, the test causes an ICE, with the message

internal compiler error: in ix86_function_arg_boundary, at config/i386/i386.c:2444

gcc 3.2.3 fails to compile the test because the vector support
needed is not present.

To repeat:

gcc -Os <dir>/gcc/testsuite/gcc.c-torture/execute/va-arg-25.c
a.out

I guess this isn't a regression, as I can't find a version that works.

I'm guessing "rtl-optimization" because only -Os fails; don't trust that guess.

-- 
           Summary: va-arg-25.c -Os regression fails on i686
           Product: gcc
           Version: 3.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: rtl-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jbuck at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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

* [Bug rtl-optimization/16354] va-arg-25.c -Os regression fails on i686
  2004-07-04  0:22 [Bug rtl-optimization/16354] New: va-arg-25.c -Os regression fails on i686 jbuck at gcc dot gnu dot org
@ 2004-07-04  0:23 ` jbuck at gcc dot gnu dot org
  2004-07-04  0:33 ` [Bug target/16354] " pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: jbuck at gcc dot gnu dot org @ 2004-07-04  0:23 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |3.3.1 3.3.2 3.3.3 3.3.4
                   |                            |3.4.0 3.4.1 3.5.0


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


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

* [Bug target/16354] va-arg-25.c -Os regression fails on i686
  2004-07-04  0:22 [Bug rtl-optimization/16354] New: va-arg-25.c -Os regression fails on i686 jbuck at gcc dot gnu dot org
  2004-07-04  0:23 ` [Bug rtl-optimization/16354] " jbuck at gcc dot gnu dot org
@ 2004-07-04  0:33 ` pinskia at gcc dot gnu dot org
  2004-07-04  0:36 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-04  0:33 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-07-04 00:33 -------
Confirmed, the reason why it fails on i686 at -Os only is because of this code:
  /* Validate -mpreferred-stack-boundary= value, or provide default.
     The default of 128 bits is for Pentium III's SSE __m128, but we
     don't want additional code to keep the stack aligned when
     optimizing for code size.  */
  ix86_preferred_stack_boundary = (optimize_size
                                   ? TARGET_64BIT ? 128 : 32
                                   : 128);

So the problem is has to do with alignment problems on the stack and I know I have seen this bug 
before too.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|rtl-optimization            |target
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-07-04 00:33:39
               date|                            |


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


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

* [Bug target/16354] va-arg-25.c -Os regression fails on i686
  2004-07-04  0:22 [Bug rtl-optimization/16354] New: va-arg-25.c -Os regression fails on i686 jbuck at gcc dot gnu dot org
  2004-07-04  0:23 ` [Bug rtl-optimization/16354] " jbuck at gcc dot gnu dot org
  2004-07-04  0:33 ` [Bug target/16354] " pinskia at gcc dot gnu dot org
@ 2004-07-04  0:36 ` pinskia at gcc dot gnu dot org
  2004-07-12 12:31 ` reichelt at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-04  0:36 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-07-04 00:36 -------
Yes I commented in PR 15617 about the same exact problem and in fact I said var_arg25.c when I had 
meant va-arg-25.c.

*** This bug has been marked as a duplicate of 15617 ***

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


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


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

* [Bug target/16354] va-arg-25.c -Os regression fails on i686
  2004-07-04  0:22 [Bug rtl-optimization/16354] New: va-arg-25.c -Os regression fails on i686 jbuck at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2004-07-04  0:36 ` pinskia at gcc dot gnu dot org
@ 2004-07-12 12:31 ` reichelt at gcc dot gnu dot org
  2004-07-12 12:32 ` reichelt at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-07-12 12:31 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From reichelt at gcc dot gnu dot org  2004-07-12 12:31 -------
Not a duplicate of PR 15617, since PR 15617 is still not fixed...


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
             Status|RESOLVED                    |REOPENED
         Resolution|DUPLICATE                   |


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


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

* [Bug target/16354] va-arg-25.c -Os regression fails on i686
  2004-07-04  0:22 [Bug rtl-optimization/16354] New: va-arg-25.c -Os regression fails on i686 jbuck at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2004-07-12 12:31 ` reichelt at gcc dot gnu dot org
@ 2004-07-12 12:32 ` reichelt at gcc dot gnu dot org
  2004-07-12 22:42 ` jbuck at welsh-buck dot org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-07-12 12:32 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From reichelt at gcc dot gnu dot org  2004-07-12 12:32 -------
... but this one is.

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


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


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

* [Bug target/16354] va-arg-25.c -Os regression fails on i686
  2004-07-04  0:22 [Bug rtl-optimization/16354] New: va-arg-25.c -Os regression fails on i686 jbuck at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2004-07-12 12:32 ` reichelt at gcc dot gnu dot org
@ 2004-07-12 22:42 ` jbuck at welsh-buck dot org
  2004-07-13  9:46 ` reichelt at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: jbuck at welsh-buck dot org @ 2004-07-12 22:42 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From jbuck at welsh-buck dot org  2004-07-12 22:42 -------
Subject: Re:  va-arg-25.c -Os regression fails on i686

You say this is fixed, but I still get the abort from last night's build
of both 3.4 branch and trunk.  Was it fixed in the last 12 hours?



-- 


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


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

* [Bug target/16354] va-arg-25.c -Os regression fails on i686
  2004-07-04  0:22 [Bug rtl-optimization/16354] New: va-arg-25.c -Os regression fails on i686 jbuck at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2004-07-12 22:42 ` jbuck at welsh-buck dot org
@ 2004-07-13  9:46 ` reichelt at gcc dot gnu dot org
  2004-07-13  9:47 ` reichelt at gcc dot gnu dot org
  2005-02-18 15:22 ` pinskia at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-07-13  9:46 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From reichelt at gcc dot gnu dot org  2004-07-13 09:46 -------
According to Andrew this was fixed on mainline by
http://gcc.gnu.org/ml/gcc-cvs/2004-07/msg00525.html

I get clean test results from tonight's build.


-- 


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


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

* [Bug target/16354] va-arg-25.c -Os regression fails on i686
  2004-07-04  0:22 [Bug rtl-optimization/16354] New: va-arg-25.c -Os regression fails on i686 jbuck at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2004-07-13  9:46 ` reichelt at gcc dot gnu dot org
@ 2004-07-13  9:47 ` reichelt at gcc dot gnu dot org
  2005-02-18 15:22 ` pinskia at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-07-13  9:47 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code
      Known to fail|3.3.1 3.3.2 3.3.3 3.3.4     |3.3.1 3.3.2 3.3.3 3.3.4
                   |3.4.0 3.4.1 3.5.0           |3.4.0 3.4.1
      Known to work|                            |3.5.0
   Target Milestone|---                         |3.5.0


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


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

* [Bug target/16354] va-arg-25.c -Os regression fails on i686
  2004-07-04  0:22 [Bug rtl-optimization/16354] New: va-arg-25.c -Os regression fails on i686 jbuck at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2004-07-13  9:47 ` reichelt at gcc dot gnu dot org
@ 2005-02-18 15:22 ` pinskia at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-18 15:22 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-02-18 04:44 -------
*** Bug 20050 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |giftbound at verizon dot net


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


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

end of thread, other threads:[~2005-02-18  4:44 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-04  0:22 [Bug rtl-optimization/16354] New: va-arg-25.c -Os regression fails on i686 jbuck at gcc dot gnu dot org
2004-07-04  0:23 ` [Bug rtl-optimization/16354] " jbuck at gcc dot gnu dot org
2004-07-04  0:33 ` [Bug target/16354] " pinskia at gcc dot gnu dot org
2004-07-04  0:36 ` pinskia at gcc dot gnu dot org
2004-07-12 12:31 ` reichelt at gcc dot gnu dot org
2004-07-12 12:32 ` reichelt at gcc dot gnu dot org
2004-07-12 22:42 ` jbuck at welsh-buck dot org
2004-07-13  9:46 ` reichelt at gcc dot gnu dot org
2004-07-13  9:47 ` reichelt at gcc dot gnu dot org
2005-02-18 15:22 ` 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).