[Bug middle-end/32004] [4.1/4.2/4.3 regression] : can't find a register in class 'GENERAL_REGS' while reloading 'asm'

bonzini at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Jul 6 15:13:00 GMT 2007



------- Comment #26 from bonzini at gnu dot org  2007-07-06 15:13 -------
Subject: Bug 32004

Author: bonzini
Date: Fri Jul  6 15:12:55 2007
New Revision: 126419

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126419
Log:
2007-07-06  Paolo Bonzini  <bonzini@gnu.org>

        PR middle-end/32004
        * function.c (match_asm_constraints_1, rest_of_match_asm_constraints,
        pass_match_asm_constraints): New.
        * passes.c (init_optimization_passes): Add new pass.
        * stmt.c (expand_asm_operands): Set cfun->has_asm_statement.
        * function.h (struct function): Add has_asm_statement bit.
        (current_function_has_asm_statement): New.
        * tree-pass.h (pass_match_asm_constraints): New.


Modified:
    branches/gcc-4_1-branch/gcc/ChangeLog
    branches/gcc-4_1-branch/gcc/acinclude.m4
    branches/gcc-4_1-branch/gcc/aclocal.m4
    branches/gcc-4_1-branch/gcc/function.c
    branches/gcc-4_1-branch/gcc/function.h
    branches/gcc-4_1-branch/gcc/passes.c
    branches/gcc-4_1-branch/gcc/stmt.c
    branches/gcc-4_1-branch/gcc/testsuite/gcc.target/i386/pr21291.c
    branches/gcc-4_1-branch/gcc/tree-pass.h


-- 


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



More information about the Gcc-bugs mailing list