public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/15730] New: ICE (segfault) passing 128 bit int trough variable arguments
@ 2004-05-31  5:56 hebisch at math dot uni dot wroc dot pl
  2004-05-31  6:02 ` [Bug target/15730] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: hebisch at math dot uni dot wroc dot pl @ 2004-05-31  5:56 UTC (permalink / raw)
  To: gcc-bugs

The following program:
typedef __builtin_va_list __gnuc_va_list;
typedef __gnuc_va_list va_list;

typedef int __attribute__ ((mode(TI))) PascalLongestInt;

void f (int global_flags, ...)
{
  va_list p;
  __builtin_va_start(p,global_flags);
  {
    long long int num = __builtin_va_arg(p,PascalLongestInt);
  }
  __builtin_va_end(p);
}

couses a segfault in `cc1' for native x86_64 compiler. I have tried
3.3, 3.4.0 and 3.5.0 20040516 (experimental) with the same result.

-- 
           Summary: ICE (segfault) passing 128 bit int trough variable
                    arguments
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hebisch at math dot uni dot wroc dot pl
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


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


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

* [Bug target/15730] ICE (segfault) passing 128 bit int trough variable arguments
  2004-05-31  5:56 [Bug target/15730] New: ICE (segfault) passing 128 bit int trough variable arguments hebisch at math dot uni dot wroc dot pl
@ 2004-05-31  6:02 ` pinskia at gcc dot gnu dot org
  2004-05-31 21:22 ` aj at gcc dot gnu dot org
  2004-10-15  2:15 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-31  6:02 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code


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


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

* [Bug target/15730] ICE (segfault) passing 128 bit int trough variable arguments
  2004-05-31  5:56 [Bug target/15730] New: ICE (segfault) passing 128 bit int trough variable arguments hebisch at math dot uni dot wroc dot pl
  2004-05-31  6:02 ` [Bug target/15730] " pinskia at gcc dot gnu dot org
@ 2004-05-31 21:22 ` aj at gcc dot gnu dot org
  2004-10-15  2:15 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: aj at gcc dot gnu dot org @ 2004-05-31 21:22 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From aj at gcc dot gnu dot org  2004-05-30 22:21 -------
Honza, can you look into this, please?

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |hubicka at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED


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


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

* [Bug target/15730] ICE (segfault) passing 128 bit int trough variable arguments
  2004-05-31  5:56 [Bug target/15730] New: ICE (segfault) passing 128 bit int trough variable arguments hebisch at math dot uni dot wroc dot pl
  2004-05-31  6:02 ` [Bug target/15730] " pinskia at gcc dot gnu dot org
  2004-05-31 21:22 ` aj at gcc dot gnu dot org
@ 2004-10-15  2:15 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-15  2:15 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-15 02:15 -------
Fixed on the mainline.

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


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


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

end of thread, other threads:[~2004-10-15  2:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-31  5:56 [Bug target/15730] New: ICE (segfault) passing 128 bit int trough variable arguments hebisch at math dot uni dot wroc dot pl
2004-05-31  6:02 ` [Bug target/15730] " pinskia at gcc dot gnu dot org
2004-05-31 21:22 ` aj at gcc dot gnu dot org
2004-10-15  2:15 ` 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).