public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "wschmidt at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/53774] New: Reassociator generates non-canonical addition Date: Mon, 25 Jun 2012 22:21:00 -0000 [thread overview] Message-ID: <bug-53774-4@http.gcc.gnu.org/bugzilla/> (raw) http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53774 Bug #: 53774 Summary: Reassociator generates non-canonical addition Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned@gcc.gnu.org ReportedBy: wschmidt@gcc.gnu.org CC: bergner@vnet.ibm.com, rguenther@suse.de There is one test in the regression testsuite for which the reassociator generates a GIMPLE addition that is not canonical. Specifically, it generates an add where rhs1 is a constant and rhs2 is an SSA name. The test is: gcc.c-torture/compiler/pr41634.c The generated GIMPLE includes: D.1393_7 = 4294967293 + fp_6(D); Probably best just to run this test from the testsuite to reproduce, but here is the command I used. /home/wschmidt/gcc/build/gcc-mainline-slsrpt1a/gcc/xgcc -B/home/wschmidt/gcc/build/gcc-mainline-slsrpt1a/gcc/ -fno-diagnostics-show-caret -O0 -w -c -m32 -o pr41634.o /home/wschmidt/gcc/gcc-mainline-slsrpt1a/gcc/testsuite/gcc.c-torture/compile/pr41634.c
next reply other threads:[~2012-06-25 22:21 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-06-25 22:21 wschmidt at gcc dot gnu.org [this message] 2012-06-26 8:56 ` [Bug tree-optimization/53774] " rguenth at gcc dot gnu.org 2012-06-26 14:24 ` rguenth at gcc dot gnu.org 2012-06-26 18:42 ` wschmidt at gcc dot gnu.org 2012-06-26 18:52 ` wschmidt at gcc dot gnu.org 2012-06-27 8:28 ` rguenther at suse dot de 2012-06-27 11:29 ` rguenth at gcc dot gnu.org 2012-06-27 11:30 ` rguenth at gcc dot gnu.org 2012-06-27 11:30 ` rguenth at gcc dot gnu.org
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=bug-53774-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@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).