public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/55103] [4.8 Regression] gcc.target/mips/int-moves-2.c ICEs
2012-10-28 9:21 [Bug middle-end/55103] New: [4.8 Regression] gcc.target/mips/int-moves-2.c ICEs pinskia at gcc dot gnu.org
@ 2012-10-28 9:21 ` pinskia at gcc dot gnu.org
2012-10-28 9:32 ` pinskia at gcc dot gnu.org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-10-28 9:21 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55103
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.8.0
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug middle-end/55103] New: [4.8 Regression] gcc.target/mips/int-moves-2.c ICEs
@ 2012-10-28 9:21 pinskia at gcc dot gnu.org
2012-10-28 9:21 ` [Bug middle-end/55103] " pinskia at gcc dot gnu.org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-10-28 9:21 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55103
Bug #: 55103
Summary: [4.8 Regression] gcc.target/mips/int-moves-2.c ICEs
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: pinskia@gcc.gnu.org
Target: mips*-linux-gnu
./cc1
/home/apinski/src/gcc-fsf/local/gcc/gcc/testsuite/gcc.target/mips/int-moves-2.c
-quiet -DNOMIPS16= "-DMIPS16=__attribute__((mips16))" -mgp64 -mabi=o64
/home/apinski/src/gcc-fsf/local/gcc/gcc/testsuite/gcc.target/mips/int-moves-2.c:27:1:
internal compiler error: Bus error
{
^
0x105164f7 crash_signal
/home/apinski/src/gcc-fsf/local/gcc/gcc/toplev.c:333
0x103f9191 init_op_alt_data
/home/apinski/src/gcc-fsf/local/gcc/gcc/lra.c:575
0x103f9191 lra_init()
/home/apinski/src/gcc-fsf/local/gcc/gcc/lra.c:2389
0x1051639b lang_dependent_init_target
/home/apinski/src/gcc-fsf/local/gcc/gcc/toplev.c:1673
0x108aa893 save_target_globals()
/home/apinski/src/gcc-fsf/local/gcc/gcc/target-globals.c:89
0x10776987 mips_set_mips16_mode
/home/apinski/src/gcc-fsf/local/gcc/gcc/config/mips/mips.c:16350
0x100bec4b store_parm_decls()
/home/apinski/src/gcc-fsf/local/gcc/gcc/c/c-decl.c:8306
0x10109557 c_parser_declaration_or_fndef
/home/apinski/src/gcc-fsf/local/gcc/gcc/c/c-parser.c:1755
0x1010e1c3 c_parser_translation_unit
/home/apinski/src/gcc-fsf/local/gcc/gcc/c/c-parser.c:1251
0x1010e1c3 c_parse_file()
/home/apinski/src/gcc-fsf/local/gcc/gcc/c/c-parser.c:10889
0x1015356f c_common_parse_file()
/home/apinski/src/gcc-fsf/local/gcc/gcc/c-family/c-opts.c:1062
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug middle-end/55103] [4.8 Regression] gcc.target/mips/int-moves-2.c ICEs
2012-10-28 9:21 [Bug middle-end/55103] New: [4.8 Regression] gcc.target/mips/int-moves-2.c ICEs pinskia at gcc dot gnu.org
2012-10-28 9:21 ` [Bug middle-end/55103] " pinskia at gcc dot gnu.org
@ 2012-10-28 9:32 ` pinskia at gcc dot gnu.org
2012-10-28 9:49 ` [Bug middle-end/55103] [4.8 Regression] All MIPS16 attribute tests ICEs pinskia at gcc dot gnu.org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-10-28 9:32 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55103
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-10-28 09:32:06 UTC ---
This is because save_target_globals does not allocate a target_lra_int (though
it might be zero out the array before doing anything else too).
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug middle-end/55103] [4.8 Regression] All MIPS16 attribute tests ICEs
2012-10-28 9:21 [Bug middle-end/55103] New: [4.8 Regression] gcc.target/mips/int-moves-2.c ICEs pinskia at gcc dot gnu.org
2012-10-28 9:21 ` [Bug middle-end/55103] " pinskia at gcc dot gnu.org
2012-10-28 9:32 ` pinskia at gcc dot gnu.org
@ 2012-10-28 9:49 ` pinskia at gcc dot gnu.org
2012-11-01 19:53 ` sje at gcc dot gnu.org
2012-11-01 23:18 ` sje at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-10-28 9:49 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55103
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.8 Regression] |[4.8 Regression] All MIPS16
|gcc.target/mips/int-moves-2 |attribute tests ICEs
|.c ICEs |
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-10-28 09:49:42 UTC ---
It is not just int-moves-2.c but all of the tests of the mips16 attribute.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug middle-end/55103] [4.8 Regression] All MIPS16 attribute tests ICEs
2012-10-28 9:21 [Bug middle-end/55103] New: [4.8 Regression] gcc.target/mips/int-moves-2.c ICEs pinskia at gcc dot gnu.org
` (2 preceding siblings ...)
2012-10-28 9:49 ` [Bug middle-end/55103] [4.8 Regression] All MIPS16 attribute tests ICEs pinskia at gcc dot gnu.org
@ 2012-11-01 19:53 ` sje at gcc dot gnu.org
2012-11-01 23:18 ` sje at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: sje at gcc dot gnu.org @ 2012-11-01 19:53 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55103
Steve Ellcey <sje at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-11-01
CC| |sje at gcc dot gnu.org
Ever Confirmed|0 |1
--- Comment #3 from Steve Ellcey <sje at gcc dot gnu.org> 2012-11-01 19:53:01 UTC ---
I am seeing this failure as well when building newlib with the -mips16 option.
Here is a cut down test case (1 line) that gives me the same segfault as
Andrew is seeing.
argz_add(char **argz , long unsigned int *argz_len , const char *str)
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug middle-end/55103] [4.8 Regression] All MIPS16 attribute tests ICEs
2012-10-28 9:21 [Bug middle-end/55103] New: [4.8 Regression] gcc.target/mips/int-moves-2.c ICEs pinskia at gcc dot gnu.org
` (3 preceding siblings ...)
2012-11-01 19:53 ` sje at gcc dot gnu.org
@ 2012-11-01 23:18 ` sje at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: sje at gcc dot gnu.org @ 2012-11-01 23:18 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55103
Steve Ellcey <sje at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #4 from Steve Ellcey <sje at gcc dot gnu.org> 2012-11-01 23:17:48 UTC ---
I have checked in a patch for this problem as an obvious fix.
http://gcc.gnu.org/ml/gcc-patches/2012-11/msg00153.html
I forgot to put the bug number in ChangeLog, that is why bugzilla
did not get updated automatically.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-11-01 23:18 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-28 9:21 [Bug middle-end/55103] New: [4.8 Regression] gcc.target/mips/int-moves-2.c ICEs pinskia at gcc dot gnu.org
2012-10-28 9:21 ` [Bug middle-end/55103] " pinskia at gcc dot gnu.org
2012-10-28 9:32 ` pinskia at gcc dot gnu.org
2012-10-28 9:49 ` [Bug middle-end/55103] [4.8 Regression] All MIPS16 attribute tests ICEs pinskia at gcc dot gnu.org
2012-11-01 19:53 ` sje at gcc dot gnu.org
2012-11-01 23:18 ` sje at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).