public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug rtl-optimization/21169] New: [4.0 regression] ICE in reload_cse_simplify_operands with -fnon-call-exceptions -fPIC -O2 @ 2005-04-23 1:32 nick at ilm dot com 2005-04-23 3:39 ` [Bug target/21169] [4.0/4.1? " pinskia at gcc dot gnu dot org ` (6 more replies) 0 siblings, 7 replies; 16+ messages in thread From: nick at ilm dot com @ 2005-04-23 1:32 UTC (permalink / raw) To: gcc-bugs The following code compiles successfully under gcc-3.4.3 on amd64: > cat bug.C float foo(); int _numTransitions; int _offset; void bar(int &base) { float tmp = foo(); tmp -= (float)_offset; if (tmp < 0.0) tmp = 0.0; if (tmp > (float)(_numTransitions-1)) tmp = (float)(_numTransitions-1); base = (int) tmp; } > /dept/rnd/vendor/gcc-4.0.0-amd64/bin/g++ -fnon-call-exceptions -fPIC -O2 -c bug.C -o /dev/null bug.C: In function 'void bar(int&)': bug.C:15: error: insn does not satisfy its constraints: (insn 67 35 36 0 (set (reg:SF 24 xmm3) (lt:SF (reg/v:SF 22 xmm1 [orig:60 tmp ] [60]) (reg:SF 23 xmm2 [65]))) 487 {*sse_setccsf} (nil) (nil)) bug.C:15: internal compiler error: in reload_cse_simplify_operands, at postreload.c:391 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. > /dept/rnd/vendor/gcc-4.0.0-amd64/bin/g++ -v Using built-in specs. Target: x86_64-unknown-linux-gnu Configured with: ../gcc-4.0.0/configure --prefix=/dept/rnd/vendor/gcc-4.0.0-amd64 --enable-threads --enable-languages=c,c++ Thread model: posix gcc version 4.0.0 -- Summary: [4.0 regression] ICE in reload_cse_simplify_operands with -fnon-call-exceptions -fPIC -O2 Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: rtl-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: nick at ilm dot com 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=21169 ^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug target/21169] [4.0/4.1? regression] ICE in reload_cse_simplify_operands with -fnon-call-exceptions -fPIC -O2 2005-04-23 1:32 [Bug rtl-optimization/21169] New: [4.0 regression] ICE in reload_cse_simplify_operands with -fnon-call-exceptions -fPIC -O2 nick at ilm dot com @ 2005-04-23 3:39 ` pinskia at gcc dot gnu dot org 2005-04-23 3:39 ` pinskia at gcc dot gnu dot org ` (5 subsequent siblings) 6 siblings, 0 replies; 16+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-04-23 3:39 UTC (permalink / raw) To: gcc-bugs -- What |Removed |Added ---------------------------------------------------------------------------- CC| |rth at gcc dot gnu dot org Target Milestone|--- |4.0.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21169 ^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug target/21169] [4.0/4.1? regression] ICE in reload_cse_simplify_operands with -fnon-call-exceptions -fPIC -O2 2005-04-23 1:32 [Bug rtl-optimization/21169] New: [4.0 regression] ICE in reload_cse_simplify_operands with -fnon-call-exceptions -fPIC -O2 nick at ilm dot com 2005-04-23 3:39 ` [Bug target/21169] [4.0/4.1? " pinskia at gcc dot gnu dot org @ 2005-04-23 3:39 ` pinskia at gcc dot gnu dot org 2005-04-23 14:35 ` [Bug target/21169] [4.0/4.1 " pinskia at gcc dot gnu dot org ` (4 subsequent siblings) 6 siblings, 0 replies; 16+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-04-23 3:39 UTC (permalink / raw) To: gcc-bugs -- What |Removed |Added ---------------------------------------------------------------------------- Component|rtl-optimization |target Keywords| |ice-on-valid-code, ssemmx Summary|[4.0 regression] ICE in |[4.0/4.1? regression] ICE in |reload_cse_simplify_operands|reload_cse_simplify_operands |with -fnon-call-exceptions -|with -fnon-call-exceptions - |fPIC -O2 |fPIC -O2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21169 ^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug target/21169] [4.0/4.1 regression] ICE in reload_cse_simplify_operands with -fnon-call-exceptions -fPIC -O2 2005-04-23 1:32 [Bug rtl-optimization/21169] New: [4.0 regression] ICE in reload_cse_simplify_operands with -fnon-call-exceptions -fPIC -O2 nick at ilm dot com 2005-04-23 3:39 ` [Bug target/21169] [4.0/4.1? " pinskia at gcc dot gnu dot org 2005-04-23 3:39 ` pinskia at gcc dot gnu dot org @ 2005-04-23 14:35 ` pinskia at gcc dot gnu dot org 2005-06-26 17:39 ` [Bug target/21169] [4.0 " pinskia at gcc dot gnu dot org ` (3 subsequent siblings) 6 siblings, 0 replies; 16+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-04-23 14:35 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-23 14:35 ------- Confirmed. -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed| |1 Known to fail| |4.0.0 Last reconfirmed|0000-00-00 00:00:00 |2005-04-23 14:35:36 date| | Summary|[4.0/4.1? regression] ICE in|[4.0/4.1 regression] ICE in |reload_cse_simplify_operands|reload_cse_simplify_operands |with -fnon-call-exceptions -|with -fnon-call-exceptions - |fPIC -O2 |fPIC -O2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21169 ^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug target/21169] [4.0 regression] ICE in reload_cse_simplify_operands with -fnon-call-exceptions -fPIC -O2 2005-04-23 1:32 [Bug rtl-optimization/21169] New: [4.0 regression] ICE in reload_cse_simplify_operands with -fnon-call-exceptions -fPIC -O2 nick at ilm dot com ` (2 preceding siblings ...) 2005-04-23 14:35 ` [Bug target/21169] [4.0/4.1 " pinskia at gcc dot gnu dot org @ 2005-06-26 17:39 ` pinskia at gcc dot gnu dot org 2005-07-06 17:04 ` mmitchel at gcc dot gnu dot org ` (2 subsequent siblings) 6 siblings, 0 replies; 16+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-06-26 17:39 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-26 17:39 ------- Fixed at least on the mainline. -- What |Removed |Added ---------------------------------------------------------------------------- GCC build triplet|x86_64-unknown-linux-gnu | GCC host triplet|x86_64-unknown-linux-gnu | GCC target triplet|x86_64-unknown-linux-gnu |x86_64-*-linux-gnu Known to work| |4.1.0 3.4.3 Summary|[4.0/4.1 regression] ICE in |[4.0 regression] ICE in |reload_cse_simplify_operands|reload_cse_simplify_operands |with -fnon-call-exceptions -|with -fnon-call-exceptions - |fPIC -O2 |fPIC -O2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21169 ^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug target/21169] [4.0 regression] ICE in reload_cse_simplify_operands with -fnon-call-exceptions -fPIC -O2 2005-04-23 1:32 [Bug rtl-optimization/21169] New: [4.0 regression] ICE in reload_cse_simplify_operands with -fnon-call-exceptions -fPIC -O2 nick at ilm dot com ` (3 preceding siblings ...) 2005-06-26 17:39 ` [Bug target/21169] [4.0 " pinskia at gcc dot gnu dot org @ 2005-07-06 17:04 ` mmitchel at gcc dot gnu dot org 2005-08-29 15:09 ` bonzini at gcc dot gnu dot org 2005-09-27 16:22 ` mmitchel at gcc dot gnu dot org 6 siblings, 0 replies; 16+ messages in thread From: mmitchel at gcc dot gnu dot org @ 2005-07-06 17:04 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From mmitchel at gcc dot gnu dot org 2005-07-06 17:02 ------- Postponed until 4.0.2. -- What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|4.0.1 |4.0.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21169 ^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug target/21169] [4.0 regression] ICE in reload_cse_simplify_operands with -fnon-call-exceptions -fPIC -O2 2005-04-23 1:32 [Bug rtl-optimization/21169] New: [4.0 regression] ICE in reload_cse_simplify_operands with -fnon-call-exceptions -fPIC -O2 nick at ilm dot com ` (4 preceding siblings ...) 2005-07-06 17:04 ` mmitchel at gcc dot gnu dot org @ 2005-08-29 15:09 ` bonzini at gcc dot gnu dot org 2005-09-27 16:22 ` mmitchel at gcc dot gnu dot org 6 siblings, 0 replies; 16+ messages in thread From: bonzini at gcc dot gnu dot org @ 2005-08-29 15:09 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From bonzini at gcc dot gnu dot org 2005-08-29 14:55 ------- Can anybody do a regression hunt on mainline? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21169 ^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug target/21169] [4.0 regression] ICE in reload_cse_simplify_operands with -fnon-call-exceptions -fPIC -O2 2005-04-23 1:32 [Bug rtl-optimization/21169] New: [4.0 regression] ICE in reload_cse_simplify_operands with -fnon-call-exceptions -fPIC -O2 nick at ilm dot com ` (5 preceding siblings ...) 2005-08-29 15:09 ` bonzini at gcc dot gnu dot org @ 2005-09-27 16:22 ` mmitchel at gcc dot gnu dot org 6 siblings, 0 replies; 16+ messages in thread From: mmitchel at gcc dot gnu dot org @ 2005-09-27 16:22 UTC (permalink / raw) To: gcc-bugs -- What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|4.0.2 |4.0.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21169 ^ permalink raw reply [flat|nested] 16+ messages in thread
[parent not found: <bug-21169-5498@http.gcc.gnu.org/bugzilla/>]
* [Bug target/21169] [4.0 regression] ICE in reload_cse_simplify_operands with -fnon-call-exceptions -fPIC -O2 [not found] <bug-21169-5498@http.gcc.gnu.org/bugzilla/> @ 2006-02-01 11:01 ` dtemirbulatov at gmail dot com 2006-02-06 16:51 ` dtemirbulatov at gmail dot com ` (6 subsequent siblings) 7 siblings, 0 replies; 16+ messages in thread From: dtemirbulatov at gmail dot com @ 2006-02-01 11:01 UTC (permalink / raw) To: gcc-bugs ------- Comment #5 from dtemirbulatov at gmail dot com 2006-02-01 11:01 ------- no such regression on mainline $ ./gcc-exec/bin/x86_64-unknown-linux-gnu-g++ -v Using built-in specs. Target: x86_64-unknown-linux-gnu Configured with: ../gcc-20051026/configure --target=x86_64-unknown-linux-gnu --host=i686-host_pc-linux-gnu --prefix=/home/dinar/work/fsfbugz/21169/gcc-exec/ --disable-multilib --with-sysroot=/home/dinar/work/gnu/tools/gcc-4.0.2-20060112-glibc-2.3.5/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/sys-root --with-local-prefix=/home/dinar/work/gnu/tools/gcc-4.0.2-20060112-glibc-2.3.5/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/sys-root --disable-nls --enable-threads=posix --enable-symvers=gnu --enable-__cxa_atexit --enable-languages=c,c++ --enable-shared --enable-c99 --enable-long-long Thread model: posix gcc version 4.1.0 20051026 (experimental) -- dtemirbulatov at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dtemirbulatov at gmail dot | |com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21169 ^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug target/21169] [4.0 regression] ICE in reload_cse_simplify_operands with -fnon-call-exceptions -fPIC -O2 [not found] <bug-21169-5498@http.gcc.gnu.org/bugzilla/> 2006-02-01 11:01 ` dtemirbulatov at gmail dot com @ 2006-02-06 16:51 ` dtemirbulatov at gmail dot com 2006-02-14 11:46 ` dtemirbulatov at gmail dot com ` (5 subsequent siblings) 7 siblings, 0 replies; 16+ messages in thread From: dtemirbulatov at gmail dot com @ 2006-02-06 16:51 UTC (permalink / raw) To: gcc-bugs ------- Comment #6 from dtemirbulatov at gmail dot com 2006-02-06 16:51 ------- Created an attachment (id=10787) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10787&action=view) proposed patch >Can anybody do a regression hunt on mainline? I found original fix on the mainline. it is 2005-04-12 Richard Henderson <rth@redhat.com> * config/i386/i386.c (ix86_prepare_sse_fp_compare_args): Split ... (ix86_expand_sse_fp_minmax): ... from ... (ix86_expand_fp_movcc): ... here. (ix86_expand_sse_movcc): Rewrite from ix86_split_sse_movcc. * config/i386/i386-protos.h: Update. * config/i386/i386.md (UNSPEC_IEEE_MIN, UNSPEC_IEEE_MAX): New. (sse_setccsf, sse_setccdf): Allow before reload. (movsfcc_1_sse_min, movsfcc_1_sse_max, movsfcc_1_sse): Remove. (movdfcc_1_sse_min, movdfcc_1_sse_max, movdfcc_1_sse): Remove. (ieee_sminsf3, ieee_smaxsf3, ieee_smindf3, ieee_smaxdf3): New. * config/i386/sse.md (andsf3, nandsf3, iorsf3, xorsf3): New. (anddf3, nanddf3, iordf3, xordf3): New. Attached patch was tested for i686-pc-linux-gnu and x86_64-unknown-linux-gnu including make check-gcc. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21169 ^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug target/21169] [4.0 regression] ICE in reload_cse_simplify_operands with -fnon-call-exceptions -fPIC -O2 [not found] <bug-21169-5498@http.gcc.gnu.org/bugzilla/> 2006-02-01 11:01 ` dtemirbulatov at gmail dot com 2006-02-06 16:51 ` dtemirbulatov at gmail dot com @ 2006-02-14 11:46 ` dtemirbulatov at gmail dot com 2006-03-10 2:25 ` dtemirbulatov at gmail dot com ` (4 subsequent siblings) 7 siblings, 0 replies; 16+ messages in thread From: dtemirbulatov at gmail dot com @ 2006-02-14 11:46 UTC (permalink / raw) To: gcc-bugs ------- Comment #7 from dtemirbulatov at gmail dot com 2006-02-14 11:46 ------- (From update of attachment 10787) I have noticed a few regressions with that patch on x86_86. -- dtemirbulatov at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10787|0 |1 is obsolete| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21169 ^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug target/21169] [4.0 regression] ICE in reload_cse_simplify_operands with -fnon-call-exceptions -fPIC -O2 [not found] <bug-21169-5498@http.gcc.gnu.org/bugzilla/> ` (2 preceding siblings ...) 2006-02-14 11:46 ` dtemirbulatov at gmail dot com @ 2006-03-10 2:25 ` dtemirbulatov at gmail dot com 2006-03-10 2:31 ` dtemirbulatov at gmail dot com ` (3 subsequent siblings) 7 siblings, 0 replies; 16+ messages in thread From: dtemirbulatov at gmail dot com @ 2006-03-10 2:25 UTC (permalink / raw) To: gcc-bugs ------- Comment #8 from dtemirbulatov at gmail dot com 2006-03-10 02:25 ------- >I have noticed a few regressions with that patch on x86_86. those regressions were due to a linux kernel problem, retested on x86_86 target and no regressions observed -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21169 ^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug target/21169] [4.0 regression] ICE in reload_cse_simplify_operands with -fnon-call-exceptions -fPIC -O2 [not found] <bug-21169-5498@http.gcc.gnu.org/bugzilla/> ` (3 preceding siblings ...) 2006-03-10 2:25 ` dtemirbulatov at gmail dot com @ 2006-03-10 2:31 ` dtemirbulatov at gmail dot com 2006-03-11 3:17 ` mmitchel at gcc dot gnu dot org ` (2 subsequent siblings) 7 siblings, 0 replies; 16+ messages in thread From: dtemirbulatov at gmail dot com @ 2006-03-10 2:31 UTC (permalink / raw) To: gcc-bugs ------- Comment #9 from dtemirbulatov at gmail dot com 2006-03-10 02:31 ------- s/retested on x86_86/retested on another x86_86 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21169 ^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug target/21169] [4.0 regression] ICE in reload_cse_simplify_operands with -fnon-call-exceptions -fPIC -O2 [not found] <bug-21169-5498@http.gcc.gnu.org/bugzilla/> ` (4 preceding siblings ...) 2006-03-10 2:31 ` dtemirbulatov at gmail dot com @ 2006-03-11 3:17 ` mmitchel at gcc dot gnu dot org 2007-01-18 3:46 ` gdr at gcc dot gnu dot org 2007-01-21 21:57 ` pinskia at gcc dot gnu dot org 7 siblings, 0 replies; 16+ messages in thread From: mmitchel at gcc dot gnu dot org @ 2006-03-11 3:17 UTC (permalink / raw) To: gcc-bugs -- mmitchel at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|4.0.3 |4.0.4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21169 ^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug target/21169] [4.0 regression] ICE in reload_cse_simplify_operands with -fnon-call-exceptions -fPIC -O2 [not found] <bug-21169-5498@http.gcc.gnu.org/bugzilla/> ` (5 preceding siblings ...) 2006-03-11 3:17 ` mmitchel at gcc dot gnu dot org @ 2007-01-18 3:46 ` gdr at gcc dot gnu dot org 2007-01-21 21:57 ` pinskia at gcc dot gnu dot org 7 siblings, 0 replies; 16+ messages in thread From: gdr at gcc dot gnu dot org @ 2007-01-18 3:46 UTC (permalink / raw) To: gcc-bugs ------- Comment #10 from gdr at gcc dot gnu dot org 2007-01-18 03:46 ------- won't fix for GCC-4.0.x. -- gdr at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|4.0.4 |--- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21169 ^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug target/21169] [4.0 regression] ICE in reload_cse_simplify_operands with -fnon-call-exceptions -fPIC -O2 [not found] <bug-21169-5498@http.gcc.gnu.org/bugzilla/> ` (6 preceding siblings ...) 2007-01-18 3:46 ` gdr at gcc dot gnu dot org @ 2007-01-21 21:57 ` pinskia at gcc dot gnu dot org 7 siblings, 0 replies; 16+ messages in thread From: pinskia at gcc dot gnu dot org @ 2007-01-21 21:57 UTC (permalink / raw) To: gcc-bugs ------- Comment #11 from pinskia at gcc dot gnu dot org 2007-01-21 21:57 ------- Fixed. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Target Milestone|--- |4.1.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21169 ^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2007-01-21 21:57 UTC | newest] Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2005-04-23 1:32 [Bug rtl-optimization/21169] New: [4.0 regression] ICE in reload_cse_simplify_operands with -fnon-call-exceptions -fPIC -O2 nick at ilm dot com 2005-04-23 3:39 ` [Bug target/21169] [4.0/4.1? " pinskia at gcc dot gnu dot org 2005-04-23 3:39 ` pinskia at gcc dot gnu dot org 2005-04-23 14:35 ` [Bug target/21169] [4.0/4.1 " pinskia at gcc dot gnu dot org 2005-06-26 17:39 ` [Bug target/21169] [4.0 " pinskia at gcc dot gnu dot org 2005-07-06 17:04 ` mmitchel at gcc dot gnu dot org 2005-08-29 15:09 ` bonzini at gcc dot gnu dot org 2005-09-27 16:22 ` mmitchel at gcc dot gnu dot org [not found] <bug-21169-5498@http.gcc.gnu.org/bugzilla/> 2006-02-01 11:01 ` dtemirbulatov at gmail dot com 2006-02-06 16:51 ` dtemirbulatov at gmail dot com 2006-02-14 11:46 ` dtemirbulatov at gmail dot com 2006-03-10 2:25 ` dtemirbulatov at gmail dot com 2006-03-10 2:31 ` dtemirbulatov at gmail dot com 2006-03-11 3:17 ` mmitchel at gcc dot gnu dot org 2007-01-18 3:46 ` gdr at gcc dot gnu dot org 2007-01-21 21:57 ` 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).