[Bug middle-end/26557] [4.0 Regression] ICE in simplify_subreg
--- Comment #9 from kazu at gcc dot gnu dot org 2006-04-11 23:47 --- Subject: Bug 26557 Author: kazu Date: Tue Apr 11 23:47:35 2006 New Revision: 112870 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112870 Log: Backport from mainline. 2006-03-13 Roger Sayle <[EMAIL PROTECTED]> PR middle-end/26557 * gcc/stmt.c (emit_case_nodes): Handle the case where the index is a CONST_INT, where the comparison mode is specified by the index type. 2006-03-13 Roger Sayle <[EMAIL PROTECTED]> PR middle-end/26557 * gcc/gcc.c-torture/compile/switch-1.c: New test case. Added: branches/csl/sourcerygxx-4_1/gcc/testsuite/gcc.c-torture/compile/switch-1.c Modified: branches/csl/sourcerygxx-4_1/ChangeLog.csl branches/csl/sourcerygxx-4_1/gcc/stmt.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26557
[Bug target/27374] New: *arm_movdi_vfp in config/arm/vfp.md has wrong output templates
fmdrr and fmrrd each take three arguments. However, the output templates are giving only two arguments. I've got a patch. -- Summary: *arm_movdi_vfp in config/arm/vfp.md has wrong output templates Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: kazu at gcc dot gnu dot org ReportedBy: kazu at gcc dot gnu dot org GCC target triplet: arm-none-eabi http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27374
[Bug target/27374] *arm_movdi_vfp in config/arm/vfp.md has wrong output templates
--- Comment #1 from kazu at gcc dot gnu dot org 2006-05-01 21:55 --- Subject: Bug 27374 Author: kazu Date: Mon May 1 21:55:02 2006 New Revision: 113436 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113436 Log: PR target/27374 * config/arm/vfp.md (*arm_movdi_vfp): Correct the output templates for case 3 and 4. Modified: trunk/gcc/ChangeLog trunk/gcc/config/arm/vfp.md -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27374
[Bug target/27374] *arm_movdi_vfp in config/arm/vfp.md has wrong output templates
--- Comment #2 from kazu at gcc dot gnu dot org 2006-05-01 21:56 --- Subject: Bug 27374 Author: kazu Date: Mon May 1 21:56:47 2006 New Revision: 113437 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113437 Log: PR target/27374 * config/arm/vfp.md (*arm_movdi_vfp): Correct the output templates for case 3 and 4. Modified: branches/gcc-4_1-branch/gcc/ChangeLog branches/gcc-4_1-branch/gcc/config/arm/vfp.md -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27374
[Bug target/27374] *arm_movdi_vfp in config/arm/vfp.md has wrong output templates
--- Comment #3 from kazu at gcc dot gnu dot org 2006-05-01 21:58 --- Just checked in a patch. -- kazu at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||FIXED Target Milestone|--- |4.1.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27374
[Bug target/27374] *arm_movdi_vfp in config/arm/vfp.md has wrong output templates
--- Comment #4 from kazu at gcc dot gnu dot org 2006-05-02 14:05 --- Subject: Bug 27374 Author: kazu Date: Tue May 2 14:05:14 2006 New Revision: 113464 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113464 Log: Backport: 2006-05-01 Kazu Hirata <[EMAIL PROTECTED]> PR target/27374 * gcc/config/arm/vfp.md (*arm_movdi_vfp): Correct the output templates for case 3 and 4. Modified: branches/csl/sourcerygxx-4_1/ChangeLog.csl branches/csl/sourcerygxx-4_1/gcc/config/arm/vfp.md -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27374
[Bug target/27387] New: Thumb thunk is not PIC
The thunk for Thumb is not PIC even with -mthumb -fPIC. struct A { virtual void f (); }; struct B { virtual void g (); }; struct C : public A, public B { virtual void g(); }; void C::g() { } I've got a patch. -- Summary: Thumb thunk is not PIC Product: gcc Version: unknown Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P3 Component: target AssignedTo: kazu at gcc dot gnu dot org ReportedBy: kazu at gcc dot gnu dot org GCC target triplet: arm-none-eabi http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27387
[Bug target/27387] Thumb thunk is not PIC
--- Comment #1 from kazu at gcc dot gnu dot org 2006-05-02 15:04 --- Subject: Bug 27387 Author: kazu Date: Tue May 2 15:04:52 2006 New Revision: 113467 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113467 Log: gcc/ PR target/27387 * arm.c (arm_output_mi_thunk): Use pc-relative addressing when -mthumb -fPIC are used. testsuite/ PR target/27387 * gcc.target/arm/arm.exp: New. * gcc.target/arm/pr27387.C: Likewise. Added: trunk/gcc/testsuite/gcc.target/arm/ trunk/gcc/testsuite/gcc.target/arm/arm.exp trunk/gcc/testsuite/gcc.target/arm/pr9.C Modified: trunk/gcc/ChangeLog trunk/gcc/config/arm/arm.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27387
[Bug target/27387] Thumb thunk is not PIC
--- Comment #2 from kazu at gcc dot gnu dot org 2006-05-02 15:06 --- Subject: Bug 27387 Author: kazu Date: Tue May 2 15:06:35 2006 New Revision: 113468 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113468 Log: gcc/ PR target/27387 * arm.c (arm_output_mi_thunk): Use pc-relative addressing when -mthumb -fPIC are used. testsuite/ PR target/27387 * gcc.target/arm/arm.exp: New. * gcc.target/arm/pr27387.C: Likewise. Added: trunk/gcc/testsuite/gcc.target/arm/pr27387.C - copied unchanged from r113467, trunk/gcc/testsuite/gcc.target/arm/pr9.C Removed: trunk/gcc/testsuite/gcc.target/arm/pr9.C -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27387
[Bug target/27387] Thumb thunk is not PIC
--- Comment #3 from kazu at gcc dot gnu dot org 2006-05-02 15:13 --- Subject: Bug 27387 Author: kazu Date: Tue May 2 15:13:02 2006 New Revision: 113470 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113470 Log: gcc/ PR target/27387 * arm.c (arm_output_mi_thunk): Use pc-relative addressing when -mthumb -fPIC are used. testsuite/ PR target/27387 * gcc.target/arm/arm.exp: New. * gcc.target/arm/pr27387.C: Likewise. Added: branches/gcc-4_1-branch/gcc/testsuite/gcc.target/arm/ branches/gcc-4_1-branch/gcc/testsuite/gcc.target/arm/arm.exp branches/gcc-4_1-branch/gcc/testsuite/gcc.target/arm/pr27387.C Modified: branches/gcc-4_1-branch/gcc/ChangeLog branches/gcc-4_1-branch/gcc/config/arm/arm.c branches/gcc-4_1-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27387
[Bug target/27387] Thumb thunk is not PIC
--- Comment #4 from kazu at gcc dot gnu dot org 2006-05-02 15:17 --- Subject: Bug 27387 Author: kazu Date: Tue May 2 15:17:25 2006 New Revision: 113471 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113471 Log: Backport: 2006-05-02 Kazu Hirata <[EMAIL PROTECTED]> PR target/27387 * arm.c (arm_output_mi_thunk): Use pc-relative addressing when -mthumb -fPIC are used. 2006-05-02 Kazu Hirata <[EMAIL PROTECTED]> PR target/27387 * gcc.target/arm/arm.exp: New. * gcc.target/arm/pr27387.C: Likewise. Added: branches/csl/sourcerygxx-4_1/gcc/testsuite/gcc.target/arm/ branches/csl/sourcerygxx-4_1/gcc/testsuite/gcc.target/arm/arm.exp branches/csl/sourcerygxx-4_1/gcc/testsuite/gcc.target/arm/pr27387.C Modified: branches/csl/sourcerygxx-4_1/ChangeLog.csl branches/csl/sourcerygxx-4_1/gcc/config/arm/arm.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27387
[Bug target/27387] Thumb thunk is not PIC
--- Comment #5 from kazu at gcc dot gnu dot org 2006-05-02 15:26 --- Just checked in a patch. -- kazu at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||FIXED Target Milestone|--- |4.1.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27387
[Bug target/26765] ICE in in extract_insn with __thread and optimization
-- kazu at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |kazu at gcc dot gnu dot org |dot org | Status|NEW |ASSIGNED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26765
[Bug target/26765] ICE in in extract_insn with __thread and optimization
--- Comment #5 from kazu at gcc dot gnu dot org 2006-05-04 20:13 --- Subject: Bug 26765 Author: kazu Date: Thu May 4 20:13:37 2006 New Revision: 113536 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113536 Log: gcc/ PR target/26765 * config/mips/mips.c (mips_symbolic_address_p): Return true for SYMBOL_TLSGD, SYMBOL_TLSLDM, SYMBOL_DTPREL, SYMBOL_TPREL, SYMBOL_GOTTPREL, and SYMBOL_TLS. gcc/testsuite/ PR target/26765 * gcc.target/mips/pr26765.c: New. Added: trunk/gcc/testsuite/gcc.target/mips/pr26765.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/mips/mips.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26765
[Bug target/26765] ICE in in extract_insn with __thread and optimization
--- Comment #6 from kazu at gcc dot gnu dot org 2006-05-04 20:15 --- Subject: Bug 26765 Author: kazu Date: Thu May 4 20:14:58 2006 New Revision: 113537 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113537 Log: gcc/ PR target/26765 * config/mips/mips.c (mips_symbolic_address_p): Return true for SYMBOL_TLSGD, SYMBOL_TLSLDM, SYMBOL_DTPREL, SYMBOL_TPREL, SYMBOL_GOTTPREL, and SYMBOL_TLS. gcc/testsuite/ PR target/26765 * gcc.target/mips/pr26765.c: New. Added: branches/gcc-4_1-branch/gcc/testsuite/gcc.target/mips/pr26765.c Modified: branches/gcc-4_1-branch/gcc/ChangeLog branches/gcc-4_1-branch/gcc/config/mips/mips.c branches/gcc-4_1-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26765
[Bug target/26765] ICE in in extract_insn with __thread and optimization
--- Comment #7 from kazu at gcc dot gnu dot org 2006-05-04 20:18 --- Subject: Bug 26765 Author: kazu Date: Thu May 4 20:18:24 2006 New Revision: 113538 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113538 Log: gcc/ PR target/26765 * config/mips/mips.c (mips_symbolic_address_p): Return true for SYMBOL_TLSGD, SYMBOL_TLSLDM, SYMBOL_DTPREL, SYMBOL_TPREL, SYMBOL_GOTTPREL, and SYMBOL_TLS. gcc/testsuite/ PR target/26765 * gcc.target/mips/pr26765.c: New. Added: branches/csl/sourcerygxx-4_1/gcc/testsuite/gcc.target/mips/pr26765.c Modified: branches/csl/sourcerygxx-4_1/ChangeLog.csl branches/csl/sourcerygxx-4_1/gcc/config/mips/mips.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26765
[Bug target/26765] ICE in in extract_insn with __thread and optimization
--- Comment #8 from kazu at gcc dot gnu dot org 2006-05-04 20:21 --- Just checked in a patch. -- kazu at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED Target Milestone|--- |4.1.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26765
[Bug bootstrap/27477] New: The H8 port doesn't build
While building libstdc++, the build breaks. -- Summary: The H8 port doesn't build Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: kazu at gcc dot gnu dot org GCC target triplet: h8300-none-elf http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27477
[Bug bootstrap/27477] The H8 port doesn't build
--- Comment #1 from kazu at gcc dot gnu dot org 2006-05-08 04:42 --- Created an attachment (id=11399) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11399&action=view) testcase Compile this testcase, derived from libstdc++, with -msx -O2. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27477
[Bug target/25496] [m68k] Compiled Code Segfaults
--- Comment #3 from kazu at gcc dot gnu dot org 2006-05-08 15:26 --- Can we close this PR now? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25496
[Bug target/16589] [4.0/4.1/4.2 regression] [m68k] segmentation fault on identical array accesses in the ?: operators' body
--- Comment #15 from kazu at gcc dot gnu dot org 2006-05-08 15:41 --- I cannot reproduce the problem even with -O2 -fno-trapping-math. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16589
[Bug target/16589] [4.0/4.1/4.2 regression] [m68k] segmentation fault on identical array accesses in the ?: operators' body
--- Comment #16 from kazu at gcc dot gnu dot org 2006-05-08 15:47 --- Disregard my last comment. The original testcase still fails if I use -fno-trapping-math. The testcase in #3 doesn't fail with or without -fno-trapping-math. -- kazu at gcc dot gnu dot org changed: What|Removed |Added CC||kazu at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16589
[Bug target/22049] M68K Coldfire: ICE in reload_cse_simplify_operands
--- Comment #4 from kazu at gcc dot gnu dot org 2006-05-08 15:55 --- Not reproducible on mainline. -- kazu at gcc dot gnu dot org changed: What|Removed |Added CC||kazu at gcc dot gnu dot org Status|UNCONFIRMED |RESOLVED Resolution||FIXED Target Milestone|--- |4.2.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22049
[Bug target/16589] [4.0/4.1/4.2 regression] [m68k] segmentation fault on identical array accesses in the ?: operators' body
--- Comment #17 from kazu at gcc dot gnu dot org 2006-05-08 16:00 --- Andreas, are you going to submit your patch? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16589
[Bug target/19749] Coldfire ICE at -O2 or higher
--- Comment #3 from kazu at gcc dot gnu dot org 2006-05-08 16:04 --- The mainline works fine. -- kazu at gcc dot gnu dot org changed: What|Removed |Added CC||kazu at gcc dot gnu dot org Status|UNCONFIRMED |RESOLVED Resolution||FIXED Target Milestone|--- |4.2.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19749
[Bug target/22001] ICE while building cross compiler
--- Comment #3 from kazu at gcc dot gnu dot org 2006-05-08 16:09 --- Not reproducible with mainline. -- kazu at gcc dot gnu dot org changed: What|Removed |Added CC||kazu at gcc dot gnu dot org Target Milestone|--- |4.2.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22001
[Bug target/22001] ICE while building cross compiler
--- Comment #4 from kazu at gcc dot gnu dot org 2006-05-08 16:10 --- Not reproducible with mainline. -- kazu at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22001
[Bug target/17114] ColdFire ICE with illegal constraints
--- Comment #4 from kazu at gcc dot gnu dot org 2006-05-08 16:14 --- Not reproducible with mainline. -- kazu at gcc dot gnu dot org changed: What|Removed |Added CC||kazu at gcc dot gnu dot org Status|NEW |RESOLVED Resolution||FIXED Target Milestone|--- |4.2.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17114
[Bug target/19421] [4.0/4.1/4.2 regression] ICE with soft-float on m68k
--- Comment #18 from kazu at gcc dot gnu dot org 2006-05-08 16:19 --- Not reproducible with mainiline. -- kazu at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||FIXED Target Milestone|4.1.1 |4.2.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19421
[Bug target/25496] [m68k] Compiled Code Segfaults
--- Comment #5 from kazu at gcc dot gnu dot org 2006-05-08 16:21 --- Closed as the submitter agrees. -- kazu at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25496
[Bug target/21671] Returning result of long long multiply from function clobbers lower 32 bits
--- Comment #2 from kazu at gcc dot gnu dot org 2006-05-08 16:29 --- According to Andreas, this works as of 4.0.2. -- kazu at gcc dot gnu dot org changed: What|Removed |Added CC||kazu at gcc dot gnu dot org Status|UNCONFIRMED |RESOLVED Resolution||FIXED Target Milestone|--- |4.0.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21671
[Bug middle-end/24279] SEGV at reload.c:2400 with -O2
--- Comment #8 from kazu at gcc dot gnu dot org 2006-05-08 16:32 --- Works as of 4.1 according to #7. -- kazu at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24279
[Bug middle-end/23442] Compiler fails to build - internal compiler error: in do_SUBST, at combine.c:462
--- Comment #5 from kazu at gcc dot gnu dot org 2006-05-08 16:44 --- Not reproducible. I built a m68k-elf toolchain on x86_64-pc-linux-gnu and compiled the testcase. No ICE was observed. -- kazu at gcc dot gnu dot org changed: What|Removed |Added CC||kazu at gcc dot gnu dot org Status|UNCONFIRMED |RESOLVED Resolution||FIXED Target Milestone|--- |4.2.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23442
[Bug target/23695] [ColdFire] Illegal move of byte intoo address register causes compiler to ICE
--- Comment #4 from kazu at gcc dot gnu dot org 2006-05-08 16:55 --- Still reproducible with mainline. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23695
[Bug rtl-optimization/27477] The H8 port doesn't build
--- Comment #4 from kazu at gcc dot gnu dot org 2006-05-08 18:55 --- Reduced to a C testcase: extern void bar (int c); int b; int foo (int c1, int c2, int c3) { int plus = c1 == c2; if ((plus || c1 == c3) && ! b) bar (plus); } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27477
[Bug rtl-optimization/27477] The H8 port doesn't build
-- kazu at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |kazu at gcc dot gnu dot org |dot org | Status|NEW |ASSIGNED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27477
[Bug rtl-optimization/27477] The H8 port doesn't build
--- Comment #5 from kazu at gcc dot gnu dot org 2006-05-10 14:21 --- Reduced down to: extern void bar (int); int foo (int a, int b) { int c = a == b; if (c) bar (c); } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27477
[Bug rtl-optimization/27477] The H8 port doesn't build
--- Comment #6 from kazu at gcc dot gnu dot org 2006-05-10 15:00 --- The combiner seems to be doing something strange: (insn 13 12 16 2 (set (reg:HI 21) (eq:HI (cc0) (const_int 0 [0x0]))) 237 {*bstzhireg} (nil) (nil)) (insn 16 13 17 2 (set (cc0) (reg:HI 21)) 114 {tsthi} (insn_list:REG_DEP_TRUE 13 (nil)) (nil)) (jump_insn 17 16 19 2 (set (pc) (if_then_else (eq (cc0) (const_int 0 [0x0])) (label_ref:SI 39) (pc))) 181 {branch_true} (nil) (expr_list:REG_BR_PROB (const_int 5347 [0x14e3]) (nil))) is transformed to (insn 16 13 17 2 (set (pc) (if_then_else (ne (cc0) (const_int 0 [0x0])) (label_ref:SI 39) (pc))) 181 {branch_true} (nil) (nil)) (jump_insn 17 16 19 2 (set (reg:HI 21) (eq:HI (cc0) (const_int 0 [0x0]))) 237 {*bstzhireg} (nil) (expr_list:REG_BR_PROB (const_int 5347 [0x14e3]) (nil))) Note that the combiner puts a branch instruction one insn before the last insn in the basic block. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27477
[Bug c/27489] [4.1/4.2 regression] ICE on broken switch condition
--- Comment #4 from kazu at gcc dot gnu dot org 2006-05-10 16:49 --- Assigning to Volker as he posted a patch. -- kazu at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |reichelt at gcc dot gnu dot |dot org |org URL||http://gcc.gnu.org/ml/gcc- ||patches/2006- ||05/msg00337.html Status|NEW |ASSIGNED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27489
[Bug target/26415] [4.2 regression] m68k-linux bootstrap error during stage2
--- Comment #1 from kazu at gcc dot gnu dot org 2006-05-10 17:00 --- Could you submit a preprocessed testcase? Many of us do not have m68k hardware that can be used for bootstrap. Thanks, -- kazu at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |WAITING http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26415
[Bug target/24949] FAIL: gcc.c-torture/compile/20000403-2.c -O0
--- Comment #1 from kazu at gcc dot gnu dot org 2006-05-10 17:35 --- Subject: Bug 24949 Author: kazu Date: Wed May 10 17:35:24 2006 New Revision: 113675 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113675 Log: PR target/24949 * config/m68k/m68k.md (ashrdi_const32, ashrdi_const32_mem, ashrdi_const, ashrdi3): Use a scratch register. Modified: trunk/gcc/ChangeLog trunk/gcc/config/m68k/m68k.md -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24949
[Bug target/24949] FAIL: gcc.c-torture/compile/20000403-2.c -O0
--- Comment #2 from kazu at gcc dot gnu dot org 2006-05-10 17:35 --- Just checked in a patch. -- kazu at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED Target Milestone|--- |4.2.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24949
[Bug target/27538] New: execute/20030128-1.c FAILs
FAIL: gcc.c-torture/execute/20030128-1.c execution, -O1 FAIL: gcc.c-torture/execute/20030128-1.c execution, -O2 FAIL: gcc.c-torture/execute/20030128-1.c execution, -O3 -fomit-frame-pointer FAIL: gcc.c-torture/execute/20030128-1.c execution, -O3 -g FAIL: gcc.c-torture/execute/20030128-1.c execution, -Os -- Summary: execute/20030128-1.c FAILs Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: kazu at gcc dot gnu dot org GCC target triplet: arm-none-eabi http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27538
[Bug target/27539] New: gcc.c-torture/execute/941014-2.c FAILs
FAIL: gcc.c-torture/execute/941014-2.c execution, -O1 FAIL: gcc.c-torture/execute/941014-2.c execution, -O2 FAIL: gcc.c-torture/execute/941014-2.c execution, -Os -- Summary: gcc.c-torture/execute/941014-2.c FAILs Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: kazu at gcc dot gnu dot org GCC target triplet: arm-none-eabi http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27539
[Bug c++/27505] [4.2 Regression] ICE in const folding with bitfields
--- Comment #3 from kazu at gcc dot gnu dot org 2006-05-11 07:31 --- Some analysis at: http://gcc.gnu.org/ml/gcc/2006-05/msg00263.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27505
[Bug target/27538] execute/20030128-1.c FAILs
--- Comment #1 from kazu at gcc dot gnu dot org 2006-05-11 18:44 --- Just for a reference, here is execute/20030128-1.c. unsigned char x = 50; volatile short y = -5; int main () { x /= y; if (x != (unsigned char) -10) abort (); exit (0); } Now, with -O1, the load of y completely disappears. Here is the dump of 20030128-1.c.160r.shorten up to a call to a division subroutine. (insn/f 55 8 56 (parallel [ (set (mem/c:BLK (pre_dec:BLK (reg/f:SI 13 sp)) [0 A8]) (unspec:BLK [ (reg:SI 4 r4) ] 2)) (use (reg:SI 14 lr)) ]) 302 {*push_multi} (nil) (expr_list:REG_DEAD (reg:SI 14 lr) (expr_list:REG_DEAD (reg:SI 4 r4) (expr_list:REG_FRAME_RELATED_EXPR (sequence [ (set/f (reg/f:SI 13 sp) (plus:SI (reg/f:SI 13 sp) (const_int -8 [0xfff8]))) (set/f (mem/c:SI (reg/f:SI 13 sp) [0 S4 A32]) (reg:SI 4 r4)) (set/f (mem/c:SI (plus:SI (reg/f:SI 13 sp) (const_int 4 [0x4])) [0 S4 A32]) (reg:SI 14 lr)) ]) (nil) (note 56 55 10 NOTE_INSN_PROLOGUE_END) (note 10 56 11 NOTE_INSN_DELETED) (note 11 10 13 NOTE_INSN_DELETED) (note 13 11 14 NOTE_INSN_DELETED) (note 14 13 15 NOTE_INSN_DELETED) (insn 15 14 16 (set (reg/f:SI 4 r4 [108]) (mem:SI (label_ref 59) [0 S4 A32])) 145 {*arm_movsi_insn} (nil) (expr_list:REG_EQUIV (symbol_ref:SI ("x") [flags 0x2] ) (nil))) (note 16 15 17 NOTE_INSN_DELETED) (note 17 16 18 NOTE_INSN_DELETED) (note 18 17 19 NOTE_INSN_DELETED) (insn 19 18 20 (set (reg:SI 0 r0 [ x ]) (zero_extend:SI (mem/c/i:QI (reg/f:SI 4 r4 [108]) [0 x+0 S1 A8]))) 128 {*arm_zero_extendqis\i2} (insn_list:REG_DEP_TRUE 15 (nil)) (nil)) (insn 20 19 21 (set (reg:SI 1 r1) (const_int 0 [0x0])) 145 {*arm_movsi_insn} (nil) (nil)) (call_insn/u 21 20 23 (parallel [ (set (reg:SI 0 r0) (call (mem:SI (symbol_ref:SI ("__aeabi_idiv") [flags 0x41]) [0 S4 A32]) (const_int 0 [0x0]))) (use (const_int 0 [0x0])) (clobber (reg:SI 14 lr)) ]) 230 {*call_value_symbol} (insn_list:REG_DEP_TRUE 19 (insn_list:REG_DEP_TRUE 20 (nil))) (expr_list:REG_DEAD (reg:SI 1 r1) (expr_list:REG_UNUSED (reg:SI 14 lr) (expr_list:REG_EH_REGION (const_int -1 [0x]) (nil (expr_list:REG_DEP_TRUE (use (reg:SI 1 r1)) (expr_list:REG_DEP_TRUE (use (reg:SI 0 r0 [ x ])) (nil -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27538
[Bug target/27538] execute/20030128-1.c FAILs
--- Comment #2 from kazu at gcc dot gnu dot org 2006-05-11 18:54 --- Here is a reduced testcase. volatile short y; int foo (void) { return y; } With -O1, this function magically turns into "return 0;" like so foo: @ Function supports interworking. @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 @ link register save eliminated. @ lr needed for prologue mov r0, #0 bx lr -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27538
[Bug target/27538] execute/20030128-1.c FAILs
--- Comment #3 from kazu at gcc dot gnu dot org 2006-05-11 19:40 --- The combiner combines === i1 === (insn 10 8 11 2 (set (reg/f:SI 103) (symbol_ref:SI ("y") )) 145 {*arm_movsi_insn} (nil) (nil)) === i2 === (insn 11 10 13 2 (set (reg:SI 105 [ y ]) (zero_extend:SI (mem/v/c/i:HI (reg/f:SI 103) [0 y+0 S2 A16]))) 123 {*arm_zero_extendhisi2} (insn_list:REG_DEP_TRUE 10 (nil)) (expr_list:REG_DEAD (reg/f:SI 103) (nil))) === i3 === (insn 13 11 14 2 (set (reg:SI 106) (ashift:SI (reg:SI 105 [ y ]) (const_int 16 [0x10]))) 101 {*arm_shiftsi3} (insn_list:REG_DEP_TRUE 11 (nil)) (expr_list:REG_DEAD (reg:SI 105 [ y ]) (nil))) into (set (subreg:HI (reg:SI 106) 0) (const_int 0 [0x0])) Doh! -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27538
[Bug target/27538] [4.2 Regression] execute/20030128-1.c FAILs
--- Comment #4 from kazu at gcc dot gnu dot org 2006-05-11 20:36 --- I just confirmed that 4.1 generates correct code with -O1, so this is a regression. -- kazu at gcc dot gnu dot org changed: What|Removed |Added Summary|execute/20030128-1.c FAILs |[4.2 Regression] ||execute/20030128-1.c FAILs Target Milestone|--- |4.2.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27538
[Bug target/27539] gcc.c-torture/execute/941014-2.c FAILs
--- Comment #1 from kazu at gcc dot gnu dot org 2006-05-12 17:04 --- The exact same problem as PR rtl-optmization/27538 is happening. *** This bug has been marked as a duplicate of 27538 *** -- kazu at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||DUPLICATE http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27539
[Bug rtl-optimization/27538] [4.2 Regression] execute/20030128-1.c FAILs
--- Comment #5 from kazu at gcc dot gnu dot org 2006-05-12 17:04 --- *** Bug 27539 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27538
[Bug rtl-optimization/27538] [4.2 Regression] execute/20030128-1.c FAILs
--- Comment #6 from kazu at gcc dot gnu dot org 2006-05-12 17:05 --- Note that the same bug is causing FAIL: gcc.c-torture/execute/941014-2.c execution, -O1 FAIL: gcc.c-torture/execute/941014-2.c execution, -O2 FAIL: gcc.c-torture/execute/941014-2.c execution, -Os -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27538
[Bug rtl-optimization/27538] [4.2 Regression] execute/20030128-1.c FAILs
--- Comment #7 from kazu at gcc dot gnu dot org 2006-05-14 16:07 --- Subject: Bug 27538 Author: kazu Date: Sun May 14 16:07:12 2006 New Revision: 113763 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113763 Log: PR rtl-optimization/27538 * combine.c (expand_compound_operation): Call gen_lowpart before calling simplify_shift_const. Modified: trunk/gcc/ChangeLog trunk/gcc/combine.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27538
[Bug bootstrap/27645] New: arm-none-eabi doesn't build
My mainline gcc (with svn revision number 113869) doesn't build with --target=arm-none-eabi. While building cc1-dummy, I get: libbackend.a(options.o):(.rodata+0x4474): undefined reference to `target_fpe_name' libbackend.a(options.o):(.rodata+0x44b4): undefined reference to `target_fpe_name' A quick inspection of options.c in the build directory reveals that target_fpe_name is guarded with GCC_DRIVER. #ifdef GCC_DRIVER /* Set by -mfp=. */ const char *target_fpe_name; #endif /* GCC_DRIVER */ I am guessing that this bug may have something to do with 2006-05-16 H.J. Lu <[EMAIL PROTECTED]> * Makefile.in (GCC_OBJS): Replace options.o with gcc-options.o. (gcc-options.o): New rule. * optc-gen.awk: Protect variables for gcc-options.o with #ifdef GCC_DRIVER/#endif. which has svn revision number 113841. -- Summary: arm-none-eabi doesn't build Product: gcc Version: unknown Status: UNCONFIRMED Keywords: build Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: kazu at gcc dot gnu dot org GCC target triplet: arm-none-eabi http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27645
[Bug c++/27506] [4.2 Regression] bitfield enum handling regression
--- Comment #3 from kazu at gcc dot gnu dot org 2006-05-17 20:31 --- Reproduced as of svn revision 113870. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27506
[Bug c++/27471] [4.2 Regression] ICE within build_c_cast cp/typeck.c:5434
--- Comment #3 from kazu at gcc dot gnu dot org 2006-05-17 20:39 --- Assigning to Mark Mitchell as he agreed. -- kazu at gcc dot gnu dot org changed: What|Removed |Added CC||kazu at gcc dot gnu dot org AssignedTo|unassigned at gcc dot gnu |mmitchel at gcc dot gnu dot |dot org |org Status|NEW |ASSIGNED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27471
[Bug c++/27505] [4.2 Regression] ICE in const folding with bitfields
--- Comment #5 from kazu at gcc dot gnu dot org 2006-05-17 20:41 --- Mark Mitchell checked in a patch recently. -- kazu at gcc dot gnu dot org changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27505
[Bug rtl-optimization/27477] The H8 port doesn't build
--- Comment #7 from kazu at gcc dot gnu dot org 2006-05-17 21:35 --- Subject: Bug 27477 Author: kazu Date: Wed May 17 21:34:57 2006 New Revision: 113872 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113872 Log: PR rtl-optimization/27477 * combine.c (try_combine): Don't split a parallel consisting of two sets into two individual sets if both sets reference cc0. Modified: trunk/gcc/ChangeLog trunk/gcc/combine.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27477
[Bug rtl-optimization/27477] The H8 port doesn't build
-- kazu at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.2.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27477
[Bug rtl-optimization/27477] The H8 port doesn't build
--- Comment #8 from kazu at gcc dot gnu dot org 2006-05-17 21:37 --- Just checked in a patch. -- kazu at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27477
[Bug rtl-optimization/27616] [4.1/4.2 Regression] Internal error with -O1 (CSE)
-- kazu at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |kazu at gcc dot gnu dot org |dot org | Status|NEW |ASSIGNED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27616
[Bug rtl-optimization/27671] [4.2 Regression] optimization error on pentium4-Linux with %, regression from gcc-4.1.0
-- kazu at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |kazu at gcc dot gnu dot org |dot org | Status|NEW |ASSIGNED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27671
[Bug rtl-optimization/27616] [4.1/4.2 Regression] Internal error with -O1 (CSE)
--- Comment #4 from kazu at gcc dot gnu dot org 2006-05-19 19:36 --- Infinite recursion is going on in CSE. Here is what happens. At cse.c:4278 in fold_rtx, we have (gdb) call debug_rtx(x) (plus:SI (reg/v/f:SI 60 [ first ]) (const_int 4 [0x4])) (gdb) call debug_rtx(y) (plus:SI (reg/v/f:SI 60 [ first ]) (mem/s/j:SI (plus:SI (reg/v/f:SI 59 [ cur ]) (const_int 4 [0x4])) [0 .offset_next+0 S4 A32])) (gdb) Here we call fold_rtx (XEXP (y, 1), 0), where XEXP (y, 1) is (mem/s/j:SI (plus:SI (reg/v/f:SI 59 [ cur ]) (const_int 4 [0x4])) [0 .offset_next+0 S4 A32]) fold_rtx delegates all processing of MEMs to fold_rtx_mem, so fold_rtx_mem gets (mem/s/j:SI (plus:SI (reg/v/f:SI 59 [ cur ]) (const_int 4 [0x4])) [0 .offset_next+0 S4 A32]) fold_rtx_mem in turn calls fold_rtx with the address inside the MEM, which is: (plus:SI (reg/v/f:SI 59 [ cur ]) (const_int 4 [0x4])) [0 .offset_next+0 S4 A32]) fold_rtx later calls lookup_as_function on (reg/v/f:SI 59 [ cur ]), which returns (plus:SI (reg/v/f:SI 60 [ first ]) (mem/s/j:SI (plus:SI (reg/v/f:SI 60 [ first ]) (const_int 4 [0x4])) [0 .offset_next+0 S4 A32])) which is the same as what we started with. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27616
[Bug rtl-optimization/27671] [4.2 Regression] optimization error on pentium4-Linux with %, regression from gcc-4.1.0
--- Comment #2 from kazu at gcc dot gnu dot org 2006-05-20 04:57 --- The whole problem is reduced to the combiner doing wrong simplification of XOR. Here are some details. Consider: extern void abort (void) __attribute__ ((noreturn)); extern void exit (int) __attribute__ ((noreturn)); static int __attribute__((noinline)) foo (int a, int b) { int c = a ^ b; if (c == a) abort (); } int main (void) { foo (0, 1); exit (0); } Note that c == a <==> a ^ b == a <==> b == 0 So foo aborts if and only if b == 0. In the above testcase, b gets 1, so foo shouldn't abort, but it does. The combiner tries to combine the following two insns. (I'm omitting clobbers for brevity.) (set (reg:SI 61) (xor:SI (reg/v:SI 60 [ b ]) (reg/v:SI 59 [ a ]))) (set (reg:CCZ 17 flags) (compare:CCZ (reg:SI 61) (reg/v:SI 59 [ a ]))) The combiner produces (set (reg:CCZ 17 flags) (compare:CCZ (reg/v:SI 59 [ a ]) (const_int 0 [0x0]))) Note that this is wrong. What matters is whether b is 0 or not. Once the problem is reduced to this level, -march=pentium4 is no longer needed. Is is just that with -march=pentium4, "k % 2" is expanded using XOR. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27671
[Bug target/27266] [4.2 Regression] syncronization primitives cause ICE with -march=pentium or better
--- Comment #6 from kazu at gcc dot gnu dot org 2006-05-20 08:00 --- Reduced down to: signed long long sll; void foo (void) { __sync_fetch_and_add (&sll, 1); } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27266
[Bug target/27266] [4.2 Regression] syncronization primitives cause ICE with -march=pentium or better
-- kazu at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |kazu at gcc dot gnu dot org |dot org | Status|NEW |ASSIGNED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27266
[Bug target/27266] [4.2 Regression] syncronization primitives cause ICE with -march=pentium or better
--- Comment #7 from kazu at gcc dot gnu dot org 2006-05-20 19:40 --- Posted a patch. -- kazu at gcc dot gnu dot org changed: What|Removed |Added URL||http://gcc.gnu.org/ml/gcc- ||patches/2006- ||05/msg01033.html http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27266
[Bug rtl-optimization/27671] [4.2 Regression] optimization error on pentium4-Linux with %, regression from gcc-4.1.0
--- Comment #3 from kazu at gcc dot gnu dot org 2006-05-20 19:52 --- Posted a patch. -- kazu at gcc dot gnu dot org changed: What|Removed |Added URL||http://gcc.gnu.org/ml/gcc- ||patches/2006- ||05/msg01034.html http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27671
[Bug middle-end/12454] large number of if ();else if cause
--- Comment #10 from kazu at gcc dot gnu dot org 2006-05-20 20:10 --- *** Bug 21898 has been marked as a duplicate of this bug. *** -- kazu at gcc dot gnu dot org changed: What|Removed |Added CC||e9925248 at stud4 dot tuwien ||dot ac dot at http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12454
[Bug middle-end/21898] Segmentation fault on testsuite case gcc.dg/20020425-1.c
--- Comment #8 from kazu at gcc dot gnu dot org 2006-05-20 20:10 --- *** This bug has been marked as a duplicate of 12454 *** -- kazu at gcc dot gnu dot org changed: What|Removed |Added Status|NEW |RESOLVED Resolution||DUPLICATE http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21898
[Bug rtl-optimization/27535] ICE with -O2 -fsee
--- Comment #2 from kazu at gcc dot gnu dot org 2006-05-21 01:24 --- Can you still reproduce this bug with the most recent mainline? I am having trouble reproducing this bug. -- kazu at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |WAITING http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27535
[Bug rtl-optimization/27535] ICE with -O2 -fsee
--- Comment #3 from kazu at gcc dot gnu dot org 2006-05-21 01:28 --- Confirmed with -O3 -fsee. -- kazu at gcc dot gnu dot org changed: What|Removed |Added Last reconfirmed|-00-00 00:00:00 |2006-05-21 01:28:12 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27535
[Bug target/26622] [4.0/4.1/4.2 Regression] ICE in extract_insn, at recog.c:2084
-- kazu at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |kazu at gcc dot gnu dot org |dot org | Status|NEW |ASSIGNED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26622
[Bug tree-optimization/26622] [4.0/4.1/4.2 Regression] ICE in extract_insn, at recog.c:2084
--- Comment #7 from kazu at gcc dot gnu dot org 2006-05-21 09:39 --- Posted a patch. -- kazu at gcc dot gnu dot org changed: What|Removed |Added URL||http://gcc.gnu.org/ml/gcc- ||patches/2006- ||05/msg01046.html http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26622
[Bug rtl-optimization/20583] [4.0 regression] ICE in output_operand: invalid expression as operand
--- Comment #11 from kazu at gcc dot gnu dot org 2006-05-21 09:51 --- Unassignining myself. -- kazu at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|kazu at gcc dot gnu dot org |unassigned at gcc dot gnu ||dot org Status|ASSIGNED|NEW http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20583
[Bug tree-optimization/22360] [4.0 Regression] upper_bound_in_type and lower_bound_in_type are buggy
--- Comment #6 from kazu at gcc dot gnu dot org 2006-05-21 09:53 --- Unassigning myself. -- kazu at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|kazu at gcc dot gnu dot org |unassigned at gcc dot gnu ||dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22360
[Bug rtl-optimization/27671] [4.2 Regression] optimization error on pentium4-Linux with %, regression from gcc-4.1.0
--- Comment #4 from kazu at gcc dot gnu dot org 2006-05-21 15:13 --- Subject: Bug 27671 Author: kazu Date: Sun May 21 15:13:36 2006 New Revision: 113955 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113955 Log: gcc/ PR rtl-optimization/27671 * simplify-rtx.c (simplify_relational_operation_1): Fix simplifications of (eq/ne (xor x y) y) and (eq/ne (xor x y) x). gcc/testsuite/ PR rtl-optimization/27671 * gcc.c-torture/execute/pr27671-1.c: New. * gcc.dg/pr27671-2.c: Likewise. Added: trunk/gcc/testsuite/gcc.c-torture/execute/pr27671-1.c trunk/gcc/testsuite/gcc.dg/pr27671-2.c Modified: trunk/gcc/ChangeLog trunk/gcc/simplify-rtx.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27671
[Bug tree-optimization/26622] [4.0/4.1/4.2 Regression] ICE in extract_insn, at recog.c:2084
--- Comment #8 from kazu at gcc dot gnu dot org 2006-05-21 15:16 --- Subject: Bug 26622 Author: kazu Date: Sun May 21 15:16:19 2006 New Revision: 113956 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113956 Log: gcc/ PR tree-optimization/26622. * fold-const.c (fold_ternary) : Call fold_convert on arg1. gcc/testsuite/ PR tree-optimization/26622. * gcc.c-torture/compile/pr26622.c: New. Added: trunk/gcc/testsuite/gcc.c-torture/compile/pr26622.c Modified: trunk/gcc/ChangeLog trunk/gcc/fold-const.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26622
[Bug rtl-optimization/27671] [4.2 Regression] optimization error on pentium4-Linux with %, regression from gcc-4.1.0
--- Comment #5 from kazu at gcc dot gnu dot org 2006-05-21 15:17 --- Just checked in a patch. -- kazu at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27671
[Bug tree-optimization/26622] [4.0/4.1/4.2 Regression] ICE in extract_insn, at recog.c:2084
--- Comment #9 from kazu at gcc dot gnu dot org 2006-05-21 15:17 --- Just checked in a patch. -- kazu at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26622
[Bug middle-end/27696] [4.2 Regression] g++.dg/other/i386-2.C ICEs on the mainline on x86_64
--- Comment #2 from kazu at gcc dot gnu dot org 2006-05-21 22:21 --- Reduced to: void foo (void const * P, unsigned int E, unsigned int H) { __builtin_ia32_monitor (P, E, H); } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27696
[Bug middle-end/27696] [4.2 Regression] g++.dg/other/i386-2.C ICEs on the mainline on x86_64
--- Comment #3 from kazu at gcc dot gnu dot org 2006-05-22 15:19 --- Got a patch. -- kazu at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |kazu at gcc dot gnu dot org |dot org | Status|NEW |ASSIGNED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27696
[Bug target/27266] [4.2 Regression] syncronization primitives cause ICE with -march=pentium or better
--- Comment #9 from kazu at gcc dot gnu dot org 2006-05-22 17:56 --- Subject: Bug 27266 Author: kazu Date: Mon May 22 17:55:53 2006 New Revision: 113987 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113987 Log: gcc/ PR target/27266 * config/i386/i386.c (ix86_expand_branch): Jump to simple if ix86_compare_emitted is non-NULL. gcc/testsuite/ PR target/27266 * gcc.target/i386/pr27266.c: New. Added: trunk/gcc/testsuite/gcc.target/i386/pr27266.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/i386.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27266
[Bug target/27266] [4.2 Regression] syncronization primitives cause ICE with -march=pentium or better
--- Comment #10 from kazu at gcc dot gnu dot org 2006-05-22 17:56 --- Checked in a patch. -- kazu at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27266
[Bug target/27696] [4.2 Regression] g++.dg/other/i386-2.C ICEs on the mainline on x86_64
--- Comment #4 from kazu at gcc dot gnu dot org 2006-05-23 04:52 --- Subject: Bug 27696 Author: kazu Date: Tue May 23 04:52:19 2006 New Revision: 114012 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114012 Log: gcc/ PR target/27696 * config/i386/i386.c (ix86_expand_builtin): Use gen_sse3_monitor64 for TARGET_64BIT. testsuite/gcc/ PR target/27696 * gcc.target/i386/pr27696.c: New. Added: trunk/gcc/testsuite/gcc.target/i386/pr27696.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/i386.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27696
[Bug target/27696] [4.2 Regression] g++.dg/other/i386-2.C ICEs on the mainline on x86_64
--- Comment #5 from kazu at gcc dot gnu dot org 2006-05-23 04:53 --- Just checked in a patch. -- kazu at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27696
[Bug middle-end/26622] [4.0/4.1 Regression] ICE in extract_insn, at recog.c:2084
--- Comment #11 from kazu at gcc dot gnu dot org 2006-05-28 03:20 --- Testing the same patch for 4.1.2. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26622
[Bug middle-end/26622] [4.0/4.1 Regression] ICE in extract_insn, at recog.c:2084
--- Comment #12 from kazu at gcc dot gnu dot org 2006-05-28 16:06 --- Subject: Bug 26622 Author: kazu Date: Sun May 28 16:06:36 2006 New Revision: 114167 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114167 Log: gcc/ PR tree-optimization/26622. * fold-const.c (fold_ternary) : Call fold_convert on arg1. gcc/testsuite/ PR tree-optimization/26622. * gcc.c-torture/compile/pr26622.c: New. Added: branches/gcc-4_1-branch/gcc/testsuite/gcc.c-torture/compile/pr26622.c Modified: branches/gcc-4_1-branch/gcc/ChangeLog branches/gcc-4_1-branch/gcc/fold-const.c branches/gcc-4_1-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26622
[Bug middle-end/26622] [4.0 Regression] ICE in extract_insn, at recog.c:2084
--- Comment #13 from kazu at gcc dot gnu dot org 2006-05-28 16:07 --- Now fixed on 4.1.2 and on. -- kazu at gcc dot gnu dot org changed: What|Removed |Added Summary|[4.0/4.1 Regression] ICE in |[4.0 Regression] ICE in |extract_insn, at|extract_insn, at |recog.c:2084|recog.c:2084 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26622
[Bug middle-end/26622] [4.0 Regression] ICE in extract_insn, at recog.c:2084
--- Comment #14 from kazu at gcc dot gnu dot org 2006-05-29 14:09 --- Subject: Bug 26622 Author: kazu Date: Mon May 29 14:09:37 2006 New Revision: 114198 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114198 Log: Backport from mainline: 2006-05-28 Kazu Hirata <[EMAIL PROTECTED]> PR tree-optimization/26622. * gcc/fold-const.c (fold_ternary) : Call fold_convert on arg1. PR tree-optimization/26622. * gcc/testsuite/gcc.c-torture/compile/pr26622.c: New. Added: branches/csl/sourcerygxx-4_1/gcc/testsuite/gcc.c-torture/compile/pr26622.c Modified: branches/csl/sourcerygxx-4_1/ChangeLog.csl branches/csl/sourcerygxx-4_1/gcc/fold-const.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26622
[Bug rtl-optimization/27616] [4.1/4.2 Regression] Internal error with -O1 (CSE)
-- kazu at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|kazu at gcc dot gnu dot org |unassigned at gcc dot gnu ||dot org Status|ASSIGNED|NEW http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27616
[Bug tree-optimization/38997] New: -ftree-loop-distribution ICEs
Consider: char a[8][8]; char b[8]; void foo (int i) { int j; for (j = 0; j < 8; j++) { a[i][j] = 0; b[j] = j; } } I get: $ ./cc1 -quiet -O2 -ftree-loop-distribution min.c min.c: In function 'foo': min.c:5: internal compiler error: in build2_stat, at tree.c:3298 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. -- Summary: -ftree-loop-distribution ICEs Product: gcc Version: 4.4.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: kazu at gcc dot gnu dot org GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38997
[Bug tree-optimization/38997] -ftree-loop-distribution ICEs
--- Comment #1 from kazu at gcc dot gnu dot org 2009-01-28 08:40 --- I've got a patch. -- kazu at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |kazu at gcc dot gnu dot org |dot org | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38997
[Bug tree-optimization/38997] -ftree-loop-distribution ICEs
--- Comment #2 from kazu at gcc dot gnu dot org 2009-01-28 18:17 --- Subject: Bug 38997 Author: kazu Date: Wed Jan 28 18:16:57 2009 New Revision: 143739 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143739 Log: gcc/ PR tree-optimization/38997 * tree-loop-distribution.c (generate_memset_zero): Use POINTER_PLUS_EXPR for a pointer addition. gcc/testsuite/ PR tree-optimization/38997 * gcc.dg/tree-ssa/pr38997.c: New. Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-loop-distribution.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38997
[Bug tree-optimization/38997] -ftree-loop-distribution ICEs
--- Comment #3 from kazu at gcc dot gnu dot org 2009-01-28 18:17 --- Subject: Bug 38997 Author: kazu Date: Wed Jan 28 18:17:13 2009 New Revision: 143740 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143740 Log: gcc/ PR tree-optimization/38997 * tree-loop-distribution.c (generate_memset_zero): Use POINTER_PLUS_EXPR for a pointer addition. gcc/testsuite/ PR tree-optimization/38997 * gcc.dg/tree-ssa/pr38997.c: New. Added: trunk/gcc/testsuite/gcc.dg/tree-ssa/pr38997.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38997
[Bug tree-optimization/38997] -ftree-loop-distribution ICEs
--- Comment #4 from kazu at gcc dot gnu dot org 2009-01-28 18:18 --- Patch committed. -- kazu at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38997
[Bug tree-optimization/39007] New: -ftree-loop-distribution ICEs
Consider: void foo (int *__restrict__ p, int *__restrict__ q, int count) { while (--count >= 0) { *p++ = 0; *q++ = 0; } } I get: $ ./cc1 -quiet -O2 -ftree-loop-distribution min.c min.c: In function 'foo': min.c:2: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. This is as of Revision 143741, which is after the fix for PR tree-optimization/38997 has gone in: http://gcc.gnu.org/ml/gcc-cvs/2009-01/msg00752.html FWIW, if I try: void foo (int *__restrict__ p, int *__restrict__ q, int count) { int i; for (i = 0; i < count; i++) { *p++ = 0; *q++ = 0; } } I get: *** glibc detected *** ./cc1: malloc(): memory corruption: 0xf7efd160 *** I am guessing that depending on the exact memory allocation pattern, different parts of memory get corrupted. -- Summary: -ftree-loop-distribution ICEs Product: gcc Version: 4.4.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: kazu at gcc dot gnu dot org GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39007
[Bug tree-optimization/39007] -ftree-loop-distribution ICEs
--- Comment #1 from kazu at gcc dot gnu dot org 2009-01-29 02:23 --- I've got a patch. -- kazu at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |kazu at gcc dot gnu dot org |dot org | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39007
[Bug tree-optimization/39007] -ftree-loop-distribution ICEs
--- Comment #2 from kazu at gcc dot gnu dot org 2009-01-29 16:11 --- Patch posted. -- kazu at gcc dot gnu dot org changed: What|Removed |Added URL||http://gcc.gnu.org/ml/gcc- ||patches/2009- ||01/msg01449.html http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39007
[Bug tree-optimization/39007] -ftree-loop-distribution ICEs
--- Comment #3 from kazu at gcc dot gnu dot org 2009-01-29 18:23 --- Subject: Bug 39007 Author: kazu Date: Thu Jan 29 18:23:21 2009 New Revision: 143767 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143767 Log: gcc/ PR tree-optimization/39007 * tree-loop-distribution.c (generate_builtin): Use recompute_dominator to compute the immediate dominator of the basic block just after the loop. gcc/testsuite/ PR tree-optimization/39007 * gcc.dg/tree-ssa/pr39007.c: New. Added: trunk/gcc/testsuite/gcc.dg/tree-ssa/pr39007.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-loop-distribution.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39007