public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: Wolfgang Bangerth <bangerth@ticam.utexas.edu> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, Subject: Re: c/8962: "-O2 -mmmx" makes gcc seg fault Date: Tue, 07 Jan 2003 20:56:00 -0000 [thread overview] Message-ID: <20030107205601.30810.qmail@sources.redhat.com> (raw) The following reply was made to PR c/8962; it has been noted by GNATS. From: Wolfgang Bangerth <bangerth@ticam.utexas.edu> To: gcc-gnats@gcc.gnu.org Cc: Subject: Re: c/8962: "-O2 -mmmx" makes gcc seg fault Date: Tue, 7 Jan 2003 14:53:02 -0600 (CST) The following is what Mack found out. The testcase is now attached to the report as well. W. ------------------------------------------------------------------------- Wolfgang Bangerth email: bangerth@ticam.utexas.edu www: http://www.ticam.utexas.edu/~bangerth/ ---------- Forwarded message ---------- Date: Tue, 07 Jan 2003 18:07:39 +0000 From: Mack Lobell <macklobell@hotmail.com> To: bangerth@ticam.utexas.edu Subject: Re: c/8962: "-O2 -mmmx" makes gcc seg fault Hi, i have attached my shorten expr.i. This is what i get when i compile: $ $CC33 -mmmx -O2 expr.i expr.i:1664: warning: `struct diagnostic_context' declared inside parameter list expr.i:1664: warning: its scope is only this definition or declaration, which is probably not what you want expr.i: In function `expand_expr': expr.i:1932: warning: assignment makes pointer from integer without a cast expr.i:1958: warning: assignment makes pointer from integer without a cast expr.i:1960: warning: assignment makes pointer from integer without a cast expr.i:1962: warning: assignment makes pointer from integer without a cast expr.i:1971: warning: assignment makes pointer from integer without a cast expr.i:1985: warning: assignment makes pointer from integer without a cast expr.i:2007: warning: assignment makes pointer from integer without a cast expr.i:2027: warning: assignment makes pointer from integer without a cast expr.i:2055: warning: assignment makes pointer from integer without a cast expr.i:2073: warning: return makes pointer from integer without a cast expr.i:2076: warning: return makes pointer from integer without a cast expr.i:2096: warning: assignment makes pointer from integer without a cast expr.i:2102: warning: assignment makes pointer from integer without a cast expr.i:2153: warning: return makes pointer from integer without a cast expr.i:2156: warning: return makes pointer from integer without a cast expr.i:2160: warning: return makes pointer from integer without a cast expr.i:2165: warning: return makes pointer from integer without a cast expr.i:2183: warning: assignment makes pointer from integer without a cast expr.i:2199: warning: assignment makes pointer from integer without a cast expr.i:2211: warning: assignment makes pointer from integer without a cast expr.i:2223: warning: initialization makes pointer from integer without a cast expr.i:2224: warning: initialization makes pointer from integer without a cast expr.i:2239: warning: assignment makes pointer from integer without a cast expr.i:2278: warning: assignment makes pointer from integer without a cast expr.i:2279: warning: assignment makes pointer from integer without a cast expr.i:2281: warning: assignment makes pointer from integer without a cast expr.i:2311: warning: assignment makes pointer from integer without a cast expr.i:2312: warning: assignment makes pointer from integer without a cast expr.i:2314: warning: assignment makes pointer from integer without a cast expr.i:2359: warning: assignment makes pointer from integer without a cast expr.i:2364: warning: assignment makes pointer from integer without a cast expr.i:2366: warning: assignment makes pointer from integer without a cast expr.i:2369: warning: assignment makes pointer from integer without a cast expr.i:2376: warning: assignment makes pointer from integer without a cast expr.i:2380: warning: assignment makes pointer from integer without a cast expr.i:2387: warning: assignment makes pointer from integer without a cast expr.i:2388: warning: pointer/integer type mismatch in conditional expression expr.i:2408: warning: return makes pointer from integer without a cast expr.i:2410: warning: return makes pointer from integer without a cast expr.i:2434: warning: assignment makes pointer from integer without a cast expr.i:2457: warning: assignment makes pointer from integer without a cast expr.i:2459: warning: assignment makes pointer from integer without a cast expr.i:2462: warning: return makes pointer from integer without a cast expr.i:2525: warning: assignment makes pointer from integer without a cast expr.i:2530: warning: assignment makes pointer from integer without a cast expr.i:2535: warning: assignment makes pointer from integer without a cast expr.i:2543: warning: return makes pointer from integer without a cast expr.i:2557: warning: return makes pointer from integer without a cast expr.i:2578: warning: return makes pointer from integer without a cast expr.i:2590: warning: assignment makes pointer from integer without a cast expr.i:2604: warning: assignment makes pointer from integer without a cast expr.i:2616: warning: assignment makes pointer from integer without a cast expr.i:2624: warning: assignment makes pointer from integer without a cast expr.i:2629: warning: assignment makes pointer from integer without a cast expr.i:2655: warning: assignment makes pointer from integer without a cast expr.i:2662: warning: assignment makes pointer from integer without a cast expr.i:2675: warning: return makes pointer from integer without a cast expr.i:2722: warning: assignment makes pointer from integer without a cast expr.i:2725: warning: assignment makes pointer from integer without a cast expr.i:2792: warning: assignment makes pointer from integer without a cast expr.i:2844: warning: assignment makes pointer from integer without a cast expr.i:2870: warning: assignment makes pointer from integer without a cast expr.i:2884: warning: assignment makes pointer from integer without a cast expr.i:2890: warning: return makes pointer from integer without a cast expr.i:2894: warning: assignment makes pointer from integer without a cast expr.i:2899: warning: assignment makes pointer from integer without a cast expr.i:2913: warning: assignment makes pointer from integer without a cast expr.i:2955: warning: assignment makes pointer from integer without a cast expr.i:2974: warning: assignment makes pointer from integer without a cast expr.i:2984: warning: assignment makes pointer from integer without a cast expr.i:3049: warning: assignment makes pointer from integer without a cast expr.i:3097: warning: assignment makes pointer from integer without a cast expr.i:3116: warning: initialization makes pointer from integer without a cast expr.i:3131: warning: assignment makes pointer from integer without a cast expr.i:3139: warning: initialization makes pointer from integer without a cast expr.i:3148: warning: return makes pointer from integer without a cast expr.i:3163: warning: assignment makes pointer from integer without a cast expr.i:3167: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions. I hope you don't mind the warnings? //Regards >From: Wolfgang Bangerth <bangerth@ticam.utexas.edu> >To: Mack Lobell <macklobell@hotmail.com> >CC: gcc-bugs@gcc.gnu.org, <gcc-gnats@gcc.gnu.org> >Subject: Re: c/8962: "-O2 -mmmx" makes gcc seg fault >Date: Fri, 3 Jan 2003 17:53:52 -0600 (CST) > > >Hi Mack, > > > i removed all functions except the one that makes gcc crash. I have also > > removed some parts of the code in this function. The file is now ~14000 > > lines of code, where the function is ~3000 lines and the rest are types, > > forward declarations, etc.. > > > > If i try to remove any more code in the function the compiler won't >crash. > > Even if i remove something simple as an assignment the compiler starts >to > > work. I have also noticed that if i remove an unused type (e.g. typedef > > _fpos_t fpos_t;) the compiler starts to work. > > > > Basically i'm stuck, i can't get it smaller than this. Do you have any > > "tricks" to reduce the size? > >If you can't shorten the testcase further, then so be it. There just seem >to be such reports. If you want to try something else, there is a project >for automatic reduction of testcases. I haven't tried it myself, and it is >said to be slow, but maybe you want something that runs during the night, >or on a weekend. Take a look at the Delta Debugging project at > http://www.st.cs.uni-sb.de/dd/ > >If you send it to me in private mail, I can attach your somewhat-reduced >testcase to the PR. > >Regards > Wolfgang > >------------------------------------------------------------------------- >Wolfgang Bangerth email: bangerth@ticam.utexas.edu > www: http://www.ticam.utexas.edu/~bangerth _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail
next reply other threads:[~2003-01-07 20:56 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-01-07 20:56 Wolfgang Bangerth [this message] -- strict thread matches above, loose matches on Subject: below -- 2003-01-03 23:56 Wolfgang Bangerth 2002-12-22 0:56 Mack Lobell 2002-12-21 10:16 Wolfgang Bangerth 2002-12-21 9:46 Mack Lobell 2002-12-21 8:56 Wolfgang Bangerth 2002-12-21 7:56 Mack Lobell 2002-12-20 20:32 bangerth 2002-12-16 7:16 macklobell
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20030107205601.30810.qmail@sources.redhat.com \ --to=bangerth@ticam.utexas.edu \ --cc=gcc-prs@gcc.gnu.org \ --cc=nobody@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).