re PR target/42957 (ARM: Segfault when invalid -mfpu argument is specified.)
PR target/42957 * arm.c (arm_override_options): Just return if the user has specified an invalid fpu name. From-SVN: r156539
This commit is contained in:
parent
e984a04ecc
commit
b761dbe6a1
@ -1,3 +1,9 @@
|
||||
2010-02-06 Richard Earnshaw <rearnsha@arm.com>
|
||||
|
||||
PR target/42957
|
||||
* arm.c (arm_override_options): Just return if the user has specified
|
||||
an invalid fpu name.
|
||||
|
||||
2010-02-03 Jason Merrill <jason@redhat.com>
|
||||
|
||||
PR c++/42870
|
||||
|
@ -1639,8 +1639,12 @@ arm_override_options (void)
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (!arm_fpu_desc)
|
||||
error ("invalid floating point option: -mfpu=%s", target_fpu_name);
|
||||
{
|
||||
error ("invalid floating point option: -mfpu=%s", target_fpu_name);
|
||||
return;
|
||||
}
|
||||
|
||||
switch (arm_fpu_desc->model)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user