* [Bug other/49775] [4.6.1 Regression on AVR] ICE in based_loc_descr
2011-07-18 9:01 [Bug other/49775] New: [4.6.1 Regression on AVR] ICE in based_loc_descr anitha.boyapati at atmel dot com
@ 2011-07-18 9:02 ` anitha.boyapati at atmel dot com
2011-07-23 20:55 ` gjl at gcc dot gnu.org
` (13 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: anitha.boyapati at atmel dot com @ 2011-07-18 9:02 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49775
--- Comment #1 from Anitha Boyapati <anitha.boyapati at atmel dot com> 2011-07-18 09:01:36 UTC ---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17906
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35432
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug other/49775] [4.6.1 Regression on AVR] ICE in based_loc_descr
2011-07-18 9:01 [Bug other/49775] New: [4.6.1 Regression on AVR] ICE in based_loc_descr anitha.boyapati at atmel dot com
2011-07-18 9:02 ` [Bug other/49775] " anitha.boyapati at atmel dot com
@ 2011-07-23 20:55 ` gjl at gcc dot gnu.org
2011-08-01 14:54 ` [Bug debug/49775] [4.6 " rguenth at gcc dot gnu.org
` (12 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: gjl at gcc dot gnu.org @ 2011-07-23 20:55 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49775
Georg-Johann Lay <gjl at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011.07.23 20:55:02
CC| |eric.weddington at atmel
| |dot com, gjl at gcc dot
| |gnu.org
Target Milestone|--- |4.6.2
Ever Confirmed|0 |1
Known to fail| |4.7.0
--- Comment #2 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2011-07-23 20:55:02 UTC ---
COnfirmed. I see these bugs in testsuite runs, too.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug debug/49775] [4.6 Regression on AVR] ICE in based_loc_descr
2011-07-18 9:01 [Bug other/49775] New: [4.6.1 Regression on AVR] ICE in based_loc_descr anitha.boyapati at atmel dot com
2011-07-18 9:02 ` [Bug other/49775] " anitha.boyapati at atmel dot com
2011-07-23 20:55 ` gjl at gcc dot gnu.org
@ 2011-08-01 14:54 ` rguenth at gcc dot gnu.org
2011-08-02 5:54 ` anitha.boyapati at atmel dot com
` (11 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-08-01 14:54 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49775
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P4
Summary|[4.6.1 Regression on AVR] |[4.6 Regression on AVR] ICE
|ICE in based_loc_descr |in based_loc_descr
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug debug/49775] [4.6 Regression on AVR] ICE in based_loc_descr
2011-07-18 9:01 [Bug other/49775] New: [4.6.1 Regression on AVR] ICE in based_loc_descr anitha.boyapati at atmel dot com
` (2 preceding siblings ...)
2011-08-01 14:54 ` [Bug debug/49775] [4.6 " rguenth at gcc dot gnu.org
@ 2011-08-02 5:54 ` anitha.boyapati at atmel dot com
2011-08-02 8:26 ` jakub at gcc dot gnu.org
` (10 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: anitha.boyapati at atmel dot com @ 2011-08-02 5:54 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49775
--- Comment #3 from Anitha Boyapati <anitha.boyapati at atmel dot com> 2011-08-02 05:54:03 UTC ---
I thought P3 should be OK. But P4 ...?
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug debug/49775] [4.6 Regression on AVR] ICE in based_loc_descr
2011-07-18 9:01 [Bug other/49775] New: [4.6.1 Regression on AVR] ICE in based_loc_descr anitha.boyapati at atmel dot com
` (3 preceding siblings ...)
2011-08-02 5:54 ` anitha.boyapati at atmel dot com
@ 2011-08-02 8:26 ` jakub at gcc dot gnu.org
2011-08-02 9:44 ` gjl at gcc dot gnu.org
` (9 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-08-02 8:26 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49775
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-08-02 08:25:43 UTC ---
AVR isn't a primary nor secondary target, which implies P4/P5. P3 is for not
yet categorized bugs, P1/P2 is for primary/secondary target affecting bugs
only.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug debug/49775] [4.6 Regression on AVR] ICE in based_loc_descr
2011-07-18 9:01 [Bug other/49775] New: [4.6.1 Regression on AVR] ICE in based_loc_descr anitha.boyapati at atmel dot com
` (4 preceding siblings ...)
2011-08-02 8:26 ` jakub at gcc dot gnu.org
@ 2011-08-02 9:44 ` gjl at gcc dot gnu.org
2011-10-26 18:04 ` jakub at gcc dot gnu.org
` (8 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: gjl at gcc dot gnu.org @ 2011-08-02 9:44 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49775
--- Comment #5 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2011-08-02 09:44:29 UTC ---
(In reply to comment #4)
> AVR isn't a primary nor secondary target, which implies P4/P5. P3 is for not
> yet categorized bugs, P1/P2 is for primary/secondary target affecting bugs
> only.
Is there a documentation/description of the policy of that a target must be
capable of in order to be a secondary one?
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug debug/49775] [4.6 Regression on AVR] ICE in based_loc_descr
2011-07-18 9:01 [Bug other/49775] New: [4.6.1 Regression on AVR] ICE in based_loc_descr anitha.boyapati at atmel dot com
` (5 preceding siblings ...)
2011-08-02 9:44 ` gjl at gcc dot gnu.org
@ 2011-10-26 18:04 ` jakub at gcc dot gnu.org
2012-03-01 15:22 ` [Bug debug/49775] [4.6/4.7 " jakub at gcc dot gnu.org
` (7 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-10-26 18:04 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49775
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.6.2 |4.6.3
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-10-26 17:13:46 UTC ---
GCC 4.6.2 is being released.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug debug/49775] [4.6/4.7 Regression on AVR] ICE in based_loc_descr
2011-07-18 9:01 [Bug other/49775] New: [4.6.1 Regression on AVR] ICE in based_loc_descr anitha.boyapati at atmel dot com
` (6 preceding siblings ...)
2011-10-26 18:04 ` jakub at gcc dot gnu.org
@ 2012-03-01 15:22 ` jakub at gcc dot gnu.org
2012-09-21 10:36 ` [Bug debug/49775] [4.6/4.7/4.8 " praveen.r.kaushik at gmail dot com
` (6 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-03-01 15:22 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49775
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.6.3 |4.6.4
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-03-01 14:38:48 UTC ---
GCC 4.6.3 is being released.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug debug/49775] [4.6/4.7/4.8 Regression on AVR] ICE in based_loc_descr
2011-07-18 9:01 [Bug other/49775] New: [4.6.1 Regression on AVR] ICE in based_loc_descr anitha.boyapati at atmel dot com
` (7 preceding siblings ...)
2012-03-01 15:22 ` [Bug debug/49775] [4.6/4.7 " jakub at gcc dot gnu.org
@ 2012-09-21 10:36 ` praveen.r.kaushik at gmail dot com
2013-04-12 15:16 ` [Bug debug/49775] [4.7/4.8/4.9 " jakub at gcc dot gnu.org
` (5 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: praveen.r.kaushik at gmail dot com @ 2012-09-21 10:36 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49775
--- Comment #8 from Praveen Kaushik <praveen.r.kaushik at gmail dot com> 2012-09-21 10:36:20 UTC ---
This bug seems to be duplicate of this :
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26504
The assertion,
gcc_assert ((SUPPORTS_STACK_ALIGNMENT
&& (elim == hard_frame_pointer_rtx
|| elim == stack_pointer_rtx))
|| elim == (frame_pointer_needed
? hard_frame_pointer_rtx
: stack_pointer_rtx));
instead of being checked in 'compute_frame_pointer_to_fb_displacement ()' is
now assigned to 'frame_pointer_fb_offset_valid' and the assertion is moved to
'based_loc_descr()' (where it actually fails).
http://gcc.gnu.org/viewcvs/trunk/gcc/dwarf2out.c?r1=174715&r2=175018&diff_format=h
PR26504 was resolved by defining 'FRAME_POINTER_CFA_OFFSET' macro in avr.h.
This macro was removed later in Revision 171295, so that ARG_POINTER_CFA_OFFSET
can be defined.
These changes were done in order to fix PR48459.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48459
snip from dwarf2out.c
----
#ifdef FRAME_POINTER_CFA_OFFSET
reg = frame_pointer_rtx;
offset += FRAME_POINTER_CFA_OFFSET (current_function_decl);
#else
reg = arg_pointer_rtx;
offset += ARG_POINTER_CFA_OFFSET (current_function_decl);
#endif
elim = eliminate_regs (reg, VOIDmode, NULL_RTX);
----
Here `reg' is initialized with `arg_pointer_rtx' since FRAME_POINTER_CFA_OFFSET
is not defined.
----
frame_pointer_fb_offset_valid
= ((SUPPORTS_STACK_ALIGNMENT
&& (elim == hard_frame_pointer_rtx
|| elim == stack_pointer_rtx))
|| elim == (frame_pointer_needed
? hard_frame_pointer_rtx
: stack_pointer_rtx));
----
In this, `elim' is expected to be equal to `stack_pointer_rtx' (as
frame_pointer_needed is false) in order to have 'frame_pointer_fb_offset_valid'
value TRUE.
But AVR does not have any elimination to reduce `arg_pointer_rtx' to
`stack_pointer_rtx', so this assertion ought to fail in this case.
So IMO, to fix this issue either FRAME_POINTER_CFA_OFFSET should be defined or
an elimination should be defined which reduces `arg_pointer_rtx' to
`stack_pointer_rtx'.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug debug/49775] [4.7/4.8/4.9 Regression on AVR] ICE in based_loc_descr
2011-07-18 9:01 [Bug other/49775] New: [4.6.1 Regression on AVR] ICE in based_loc_descr anitha.boyapati at atmel dot com
` (8 preceding siblings ...)
2012-09-21 10:36 ` [Bug debug/49775] [4.6/4.7/4.8 " praveen.r.kaushik at gmail dot com
@ 2013-04-12 15:16 ` jakub at gcc dot gnu.org
2014-06-12 13:43 ` [Bug debug/49775] [4.7/4.8/4.9/4.10 " rguenth at gcc dot gnu.org
` (4 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-04-12 15:16 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49775
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.6.4 |4.7.4
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-04-12 15:16:08 UTC ---
GCC 4.6.4 has been released and the branch has been closed.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug debug/49775] [4.7/4.8/4.9/4.10 Regression on AVR] ICE in based_loc_descr
2011-07-18 9:01 [Bug other/49775] New: [4.6.1 Regression on AVR] ICE in based_loc_descr anitha.boyapati at atmel dot com
` (9 preceding siblings ...)
2013-04-12 15:16 ` [Bug debug/49775] [4.7/4.8/4.9 " jakub at gcc dot gnu.org
@ 2014-06-12 13:43 ` rguenth at gcc dot gnu.org
2014-12-19 13:26 ` [Bug debug/49775] [4.8/4.9/5 " jakub at gcc dot gnu.org
` (3 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-06-12 13:43 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49775
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.7.4 |4.8.4
--- Comment #10 from Richard Biener <rguenth at gcc dot gnu.org> ---
The 4.7 branch is being closed, moving target milestone to 4.8.4.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug debug/49775] [4.8/4.9/5 Regression on AVR] ICE in based_loc_descr
2011-07-18 9:01 [Bug other/49775] New: [4.6.1 Regression on AVR] ICE in based_loc_descr anitha.boyapati at atmel dot com
` (10 preceding siblings ...)
2014-06-12 13:43 ` [Bug debug/49775] [4.7/4.8/4.9/4.10 " rguenth at gcc dot gnu.org
@ 2014-12-19 13:26 ` jakub at gcc dot gnu.org
2015-06-23 8:19 ` [Bug debug/49775] [4.8/4.9/5/6 " rguenth at gcc dot gnu.org
` (2 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-12-19 13:26 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49775
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.8.4 |4.8.5
--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 4.8.4 has been released.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug debug/49775] [4.8/4.9/5/6 Regression on AVR] ICE in based_loc_descr
2011-07-18 9:01 [Bug other/49775] New: [4.6.1 Regression on AVR] ICE in based_loc_descr anitha.boyapati at atmel dot com
` (11 preceding siblings ...)
2014-12-19 13:26 ` [Bug debug/49775] [4.8/4.9/5 " jakub at gcc dot gnu.org
@ 2015-06-23 8:19 ` rguenth at gcc dot gnu.org
2015-06-26 19:55 ` [Bug debug/49775] [4.9/5/6 " jakub at gcc dot gnu.org
2015-06-26 20:28 ` jakub at gcc dot gnu.org
14 siblings, 0 replies; 16+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-06-23 8:19 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49775
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.8.5 |4.9.3
--- Comment #12 from Richard Biener <rguenth at gcc dot gnu.org> ---
The gcc-4_8-branch is being closed, re-targeting regressions to 4.9.3.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug debug/49775] [4.9/5/6 Regression on AVR] ICE in based_loc_descr
2011-07-18 9:01 [Bug other/49775] New: [4.6.1 Regression on AVR] ICE in based_loc_descr anitha.boyapati at atmel dot com
` (12 preceding siblings ...)
2015-06-23 8:19 ` [Bug debug/49775] [4.8/4.9/5/6 " rguenth at gcc dot gnu.org
@ 2015-06-26 19:55 ` jakub at gcc dot gnu.org
2015-06-26 20:28 ` jakub at gcc dot gnu.org
14 siblings, 0 replies; 16+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-06-26 19:55 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49775
--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 4.9.3 has been released.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug debug/49775] [4.9/5/6 Regression on AVR] ICE in based_loc_descr
2011-07-18 9:01 [Bug other/49775] New: [4.6.1 Regression on AVR] ICE in based_loc_descr anitha.boyapati at atmel dot com
` (13 preceding siblings ...)
2015-06-26 19:55 ` [Bug debug/49775] [4.9/5/6 " jakub at gcc dot gnu.org
@ 2015-06-26 20:28 ` jakub at gcc dot gnu.org
14 siblings, 0 replies; 16+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-06-26 20:28 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49775
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.9.3 |4.9.4
^ permalink raw reply [flat|nested] 16+ messages in thread