[Bug target/83514] ABRT in arm_declare_function_name passing a null pointer to std::string
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83514 --- Comment #6 from prathamesh3492 at gcc dot gnu.org --- Committed patch to conditionally set arch_to_print after Kyrill's approval. Thanks, Prathamesh
[Bug target/83514] ABRT in arm_declare_function_name passing a null pointer to std::string
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83514 --- Comment #5 from prathamesh3492 at gcc dot gnu.org --- Author: prathamesh3492 Date: Thu Jan 11 12:13:42 2018 New Revision: 256529 URL: https://gcc.gnu.org/viewcvs?rev=256529=gcc=rev Log: 2018-01-11 Prathamesh KulkarniPR target/83514 * config/arm/arm.c (arm_declare_function_name): Set arch_to_print if targ_options->x_arm_arch_string is non NULL. Modified: trunk/gcc/ChangeLog trunk/gcc/config/arm/arm.c
[Bug target/83514] ABRT in arm_declare_function_name passing a null pointer to std::string
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83514 Richard Biener changed: What|Removed |Added CC||prathamesh3492 at gcc dot gnu.org --- Comment #4 from Richard Biener --- *** Bug 83775 has been marked as a duplicate of this bug. ***
[Bug target/83514] ABRT in arm_declare_function_name passing a null pointer to std::string
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83514 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3 from Jakub Jelinek --- That is a very bad decision, even the cc1/cc1plus processes shouldn't ICE on bad inputs. It doesn't really matter what exact arch string it defaults on, it may be something chosen during configure or just hardcoded default, but just segfaulting is a really bad idea.
[Bug target/83514] ABRT in arm_declare_function_name passing a null pointer to std::string
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83514 --- Comment #2 from Richard Earnshaw --- > will *always* construct a -march string for the driver ^^ for the compiler proper
[Bug target/83514] ABRT in arm_declare_function_name passing a null pointer to std::string
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83514 Richard Earnshaw changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|--- |WONTFIX --- Comment #1 from Richard Earnshaw --- Following the option processing rework the driver (gcc) on ARM will *always* construct a -march string for the driver, either from the options passed by the user or from the compiler's built-in defaults. If you run the debugger directly on cc1 you either need to fabricate a suitable -march string directly, or paste one that the driver would have inserted for you.