re PR target/38052 (genautomata segfaults when -O2 is enabled)
authorRichard Sandiford <rdsandiford@googlemail.com>
Sun, 16 Nov 2008 20:25:40 +0000 (20:25 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Sun, 16 Nov 2008 20:25:40 +0000 (20:25 +0000)
commit8d9d9172904ef71ad7edc1f3ee3bb725dc294948
tree3e5227a53546095efad873921849c46f852055f9
parent26237a509b4bba485dc868cfa8b9decc61d77d33
re PR target/38052 (genautomata segfaults when -O2 is enabled)

gcc/
PR target/38052
* config/mips/mips.c (machine_function): Update the comment
above global_pointer.
(mips_global_pointer): Use INVALID_REGNUM rather than 0 to indicate
that a function doesn't need a global pointer.
(mips_current_loadgp_style): Update accordingly.
(mips_restore_gp): Likewise.
(mips_output_cplocal): Likewise.
(mips_expand_prologue): Likewise.

From-SVN: r141925
gcc/ChangeLog
gcc/config/mips/mips.c