public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/28834]  New: [4.0/4.1/4.2 Regression] -O3 -g crashes sometimes when using may_alias and structs
@ 2006-08-24 11:04 pinskia at gcc dot gnu dot org
  2006-08-24 11:06 ` [Bug debug/28834] " pinskia at gcc dot gnu dot org
                   ` (34 more replies)
  0 siblings, 35 replies; 36+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-08-24 11:04 UTC (permalink / raw)
  To: gcc-bugs

Testcase that crashes at -O3 -g:
struct S { short x; };
typedef struct S __attribute__((__may_alias__)) test;

int f() {
  int a=10;
  test *p=(test *)&a;
  p->x = 1;
  return a;
}

int main() {
  if (f() == 10)
    __builtin_abort();
  return 0;
}

---------------------
mayalias-2.c:2: internal compiler error: in splice_child_die, at
dwarf2out.c:5513
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: [4.0/4.1/4.2 Regression] -O3 -g crashes sometimes when
                    using may_alias and structs
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: debug
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
GCC target triplet: i686-pc-linux-gnu


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


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

end of thread, other threads:[~2008-02-07 19:15 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-24 11:04 [Bug debug/28834] New: [4.0/4.1/4.2 Regression] -O3 -g crashes sometimes when using may_alias and structs pinskia at gcc dot gnu dot org
2006-08-24 11:06 ` [Bug debug/28834] " pinskia at gcc dot gnu dot org
2006-08-24 15:50 ` pinskia at gcc dot gnu dot org
2006-08-24 23:35 ` janis at gcc dot gnu dot org
2006-08-25  1:21 ` pinskia at gcc dot gnu dot org
2006-08-25 10:39 ` rguenth at gcc dot gnu dot org
2006-08-26 23:39 ` danglin at gcc dot gnu dot org
2006-08-29  4:41 ` pinskia at gcc dot gnu dot org
2006-08-29  4:48 ` geoffk at gcc dot gnu dot org
2006-08-30  3:28 ` pinskia at gcc dot gnu dot org
2006-08-30  7:47 ` dpatel at apple dot com
2006-09-01 21:53 ` mmitchel at gcc dot gnu dot org
2006-09-02  0:02 ` pinskia at gcc dot gnu dot org
2006-09-02  5:31 ` geoffk at geoffk dot org
2006-10-07 12:56 ` rsandifo at gcc dot gnu dot org
2006-10-15 11:39 ` ebotcazou at gcc dot gnu dot org
2006-11-20  0:50 ` [Bug debug/28834] [4.0/4.1/4.2/4.3 " pinskia at gcc dot gnu dot org
2006-11-24  0:11 ` acahalan at gmail dot com
2007-02-01  8:50 ` pinskia at gcc dot gnu dot org
2007-02-03 19:36 ` gdr at gcc dot gnu dot org
2007-02-03 20:55 ` pinskia at gcc dot gnu dot org
2007-02-05 13:52 ` hp at gcc dot gnu dot org
2007-02-10 19:23 ` pinskia at gcc dot gnu dot org
2007-02-14  9:16 ` mmitchel at gcc dot gnu dot org
2007-02-20 21:50 ` rguenth at gcc dot gnu dot org
2007-02-27 21:48 ` pinskia at gcc dot gnu dot org
2007-02-27 21:54 ` [Bug debug/28834] [4.0/4.1/4.2/4.3 Regression] " schwab at suse dot de
2007-06-20 14:31 ` [Bug debug/28834] [4.0/4.1/4.2/4.3 Regression] -g crashes sometimes when using may_alias and structs (ICE in splice_child_die) pinskia at gcc dot gnu dot org
2007-07-17 12:51 ` pinskia at gcc dot gnu dot org
2007-07-29 18:00 ` tprince at computer dot org
2007-10-24 20:00 ` jason at gcc dot gnu dot org
2007-11-09 18:22 ` pinskia at gcc dot gnu dot org
2007-11-19 21:25 ` jason at gcc dot gnu dot org
2007-11-19 22:32 ` jason at gcc dot gnu dot org
2007-11-19 22:35 ` jason at gcc dot gnu dot org
2008-02-07 19:15 ` ghazi 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).