This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/33755] Gcc 4.2.2 broken for mips linux kernel builds
- From: "rsandifo at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Oct 2007 17:54:49 -0000
- Subject: [Bug target/33755] Gcc 4.2.2 broken for mips linux kernel builds
- References: <bug-33755-7151@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #16 from rsandifo at gcc dot gnu dot org 2007-10-24 17:54 -------
Subject: Bug 33755
Author: rsandifo
Date: Wed Oct 24 17:54:40 2007
New Revision: 129607
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129607
Log:
gcc/
PR target/33755
* config/mips/mips.c (override_options): Always move
flag_delayed_branch to mips_flag_delayed_branch.
(mips_lo_sum_offset): New structure.
(mips_hash_base, mips_lo_sum_offset_hash, mips_lo_sum_offset_eq)
(mips_lo_sum_offset_lookup, mips_record_lo_sum)
(mips_orphaned_high_part_p: New functions.
(mips_avoid_hazard): Don't check INSN_P here.
(mips_avoid_hazards): Rename to...
(mips_reorg_process_insns): ...this. Cope with
!TARGET_EXPLICIT_RELOCS. Delete orphaned high-part relocations,
or turn them into nops.
(mips_reorg): Remove TARGET_EXPLICIT_RELOCS check from calls to
dbr_schedule and mips_avoid_hazards/mips_reorg_process_insns.
gcc/testsuite/
PR target/33755
* gcc.target/mips/pr33755.c: New test.
Added:
branches/gcc-4_2-branch/gcc/testsuite/gcc.target/mips/pr33755.c
Modified:
branches/gcc-4_2-branch/gcc/ChangeLog
branches/gcc-4_2-branch/gcc/config/mips/mips.c
branches/gcc-4_2-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33755