[Bug middle-end/26557] [4.0 Regression] ICE in simplify_subreg

2006-06-05 Thread stuart at gcc dot gnu dot org


--- Comment #10 from stuart at gcc dot gnu dot org  2006-06-05 19:14 ---
Subject: Bug 26557

Author: stuart
Date: Mon Jun  5 19:14:11 2006
New Revision: 114403

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114403
Log:
Radar 4561329
PR middle-end/26557
* 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.
* gcc.c-torture/compile/switch-1.c: New test case.

Added:
   
branches/apple-local-200502-branch/gcc/testsuite/gcc.c-torture/compile/switch-1.c
Modified:
branches/apple-local-200502-branch/gcc/ChangeLog.apple-ppc
branches/apple-local-200502-branch/gcc/stmt.c
branches/apple-local-200502-branch/gcc/testsuite/ChangeLog.apple-ppc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26557



[Bug target/28825] return (vector float) { a, a, b, b } generates unwanted MMX insns

2006-08-23 Thread stuart at gcc dot gnu dot org


--- Comment #3 from stuart at gcc dot gnu dot org  2006-08-23 21:41 ---
Subject: Bug 28825

Author: stuart
Date: Wed Aug 23 21:41:35 2006
New Revision: 116356

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116356
Log:
PR 28825
* gcc/config/i386/i386.c (ix86_expand_vector_init_duplicate,
ix86_expand_vector_init_one_nonzero): Remove TARGET_SSE test.
* gcc.target/i386/20060821-1.c: New.


Added:
trunk/gcc/testsuite/gcc.target/i386/20060821-1.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/i386.c
trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28825



[Bug objc/31281] ICE on ObjC try-catch blocks with next runtime

2007-04-03 Thread stuart at gcc dot gnu dot org


--- Comment #4 from stuart at gcc dot gnu dot org  2007-04-03 17:43 ---
Subject: Bug 31281

Author: stuart
Date: Tue Apr  3 17:43:15 2007
New Revision: 123478

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123478
Log:
PR 31281
* objc/objc-act.c (next_sjlj_build_catch_list): Delete volatile from
rethrow decl.
* cse.c (record_jump_equiv): Bail out on CCmode comparisons.
* testsuite/objc/execute/exceptions/pr31281.m: New.

Added:
branches/gcc-4_2-branch/gcc/testsuite/objc/execute/exceptions/pr31281.m
Modified:
branches/gcc-4_2-branch/gcc/ChangeLog
branches/gcc-4_2-branch/gcc/cse.c
branches/gcc-4_2-branch/gcc/objc/objc-act.c
branches/gcc-4_2-branch/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31281



[Bug objc/31281] ICE on ObjC try-catch blocks with next runtime

2007-04-04 Thread stuart at gcc dot gnu dot org


--- Comment #5 from stuart at gcc dot gnu dot org  2007-04-04 19:37 ---
Subject: Bug 31281

Author: stuart
Date: Wed Apr  4 19:37:14 2007
New Revision: 123501

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123501
Log:
PR 31281
* objc/objc-act.c (next_sjlj_build_catch_list): Delete volatile from
rethrow decl.
* testsuite/objc/execute/exceptions/pr31281.m: New.

Added:
trunk/gcc/testsuite/objc/execute/exceptions/pr31281.m
Modified:
trunk/gcc/objc/ChangeLog
trunk/gcc/objc/objc-act.c
trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31281



[Bug target/9350] -fomit-frame-pointer does not work for main

2006-02-27 Thread stuart at gcc dot gnu dot org


--- Comment #7 from stuart at gcc dot gnu dot org  2006-02-28 01:47 ---
Subject: Bug 9350

Author: stuart
Date: Tue Feb 28 01:47:16 2006
New Revision: 111503

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=111503
Log:
2006-02-17  Stuart Hastings  <[EMAIL PROTECTED]>

* Radar 4356747
(marked APPLE LOCAL "4356747 stack realign")
doc/extend.texi (force_align_arg_pointer): Document.
doc/invoke.texi (-mstackrealign): Document.
config/i386/i386.h (TARGET_OPTIONS): Add -mstackrealgin.
config/i386/i386.c (ix86_force_align_arg_pointer): New.
(ix86_force_align_arg_pointer_string): New.
(ix86_attribute_table): Add "force_align_arg_pointer" attribute.
(ix86_function_regparm): Compensate for new attribute.
(ix86_internal_arg_pointer): Check for new attribute.

2005-11-02  Richard Henderson  <[EMAIL PROTECTED]>

(marked APPLE LOCAL "mainline 2006-02-17 4356747 stack realign")
PR target/9350
PR target/24374
* dwarf2out.c (dwarf2out_reg_save_reg): New.
(dwarf2out_frame_debug_expr): Return after dwarf_handle_frame_unspec.
* function.c (assign_parms): Use calls.internal_arg_pointer.
(expand_main_function): Remove FORCE_PREFERRED_STACK_BOUNDARY_IN_MAIN
code.
* target-def.h (TARGET_INTERNAL_ARG_POINTER): New.
(TARGET_CALLS): Add it.
* target.h (struct gcc_target): Add calls.internal_arg_pointer.
* targhooks.c (default_internal_arg_pointer): New.
* targhooks.h (default_internal_arg_pointer): Declare.
* tree.h (dwarf2out_reg_save_reg): Declare.
* doc/tm.texi (FORCE_PREFERRED_STACK_BOUNDARY_IN_MAIN): Remove.
* config/i386/i386.c (dbx_register_map): Add return column.
(dbx64_register_map, svr4_dbx_register_map): Likewise.
(TARGET_INTERNAL_ARG_POINTER, ix86_internal_arg_pointer): New.
(TARGET_DWARF_HANDLE_FRAME_UNSPEC, ix86_dwarf_handle_frame_unspec):
New.
(ix86_function_ok_for_sibcall): Disable if force_align_arg_pointer.
(ix86_save_reg): Save force_align_arg_pointer.
(ix86_emit_save_regs): Make regno unsigned.
(ix86_emit_save_regs_using_mov): Likewise.
(ix86_expand_prologue): Handle force_align_arg_pointer.
(ix86_expand_epilogue): Likewise.
* config/i386/i386.h: (dbx_register_map): Update.
(dbx64_register_map, svr4_dbx_register_map): Update.
(struct machine_function): Add force_align_arg_pointer.
* config/i386/i386.md (UNSPEC_REG_SAVE, UNSPEC_DEF_CFA): New.
(UNSPEC_TP, UNSPEC_TLS_GD, UNSPEC_TLS_LD_BASE): Renumber.
(TARGET_PUSH_MEMORY peepholes): Disable if RTX_FRAME_RELATED_P.

2006-02-27  Stuart Hastings  <[EMAIL PROTECTED]>

Radar 4448096
* testsuite/gcc.target/i386/4448096-1.c: New.
* testsuite/g++.dg/4448096-2.C: New.

Added:
   
branches/apple-local-200502-branch/gcc/testsuite/gcc.target/i386/20060210-1.c
   
branches/apple-local-200502-branch/gcc/testsuite/gcc.target/i386/20060210-2.c
   
branches/apple-local-200502-branch/gcc/testsuite/gcc.target/i386/20060210-3.c
   
branches/apple-local-200502-branch/gcc/testsuite/gcc.target/i386/20060210-4.c
Modified:
branches/apple-local-200502-branch/gcc/ChangeLog.apple-ppc
branches/apple-local-200502-branch/gcc/config/i386/i386-protos.h
branches/apple-local-200502-branch/gcc/config/i386/i386.c
branches/apple-local-200502-branch/gcc/config/i386/i386.h
branches/apple-local-200502-branch/gcc/config/i386/i386.md
branches/apple-local-200502-branch/gcc/doc/extend.texi
branches/apple-local-200502-branch/gcc/doc/invoke.texi
branches/apple-local-200502-branch/gcc/dwarf2out.c
branches/apple-local-200502-branch/gcc/emit-rtl.c
branches/apple-local-200502-branch/gcc/function.c
branches/apple-local-200502-branch/gcc/rtl.h
branches/apple-local-200502-branch/gcc/target-def.h
branches/apple-local-200502-branch/gcc/target.h
branches/apple-local-200502-branch/gcc/targhooks.c
branches/apple-local-200502-branch/gcc/targhooks.h
branches/apple-local-200502-branch/gcc/testsuite/ChangeLog.apple-ppc
branches/apple-local-200502-branch/gcc/tree.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9350