public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/44643] ice in c-typeck.c
[not found] <bug-44643-4@http.gcc.gnu.org/bugzilla/>
@ 2011-03-31 9:12 ` lts-rudolph at gmx dot de
2011-04-14 8:38 ` gjl at gcc dot gnu.org
` (11 subsequent siblings)
12 siblings, 0 replies; 17+ messages in thread
From: lts-rudolph at gmx dot de @ 2011-03-31 9:12 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44643
Klaus Rudolph <lts-rudolph at gmx dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |lts-rudolph at gmx dot de
--- Comment #7 from Klaus Rudolph <lts-rudolph at gmx dot de> 2011-03-31 07:53:25 UTC ---
The problem occurs also with avr-libc-1.7.1 with gcc 4.6.0 release.
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/44643] ice in c-typeck.c
[not found] <bug-44643-4@http.gcc.gnu.org/bugzilla/>
2011-03-31 9:12 ` [Bug target/44643] ice in c-typeck.c lts-rudolph at gmx dot de
@ 2011-04-14 8:38 ` gjl at gcc dot gnu.org
2011-04-14 15:11 ` gjl at gcc dot gnu.org
` (10 subsequent siblings)
12 siblings, 0 replies; 17+ messages in thread
From: gjl at gcc dot gnu.org @ 2011-04-14 8:38 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44643
--- Comment #8 from gjl at gcc dot gnu.org 2011-04-14 08:38:29 UTC ---
Author: gjl
Date: Thu Apr 14 08:38:20 2011
New Revision: 172415
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172415
Log:
PR target/44643
* config/avr/avr.c (avr_insert_attributes): Leave TREE_READONLY
alone. Error if non-const data has attribute progmem.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/avr/avr.c
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/44643] ice in c-typeck.c
[not found] <bug-44643-4@http.gcc.gnu.org/bugzilla/>
2011-03-31 9:12 ` [Bug target/44643] ice in c-typeck.c lts-rudolph at gmx dot de
2011-04-14 8:38 ` gjl at gcc dot gnu.org
@ 2011-04-14 15:11 ` gjl at gcc dot gnu.org
2011-04-14 15:31 ` gjl at gcc dot gnu.org
` (9 subsequent siblings)
12 siblings, 0 replies; 17+ messages in thread
From: gjl at gcc dot gnu.org @ 2011-04-14 15:11 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44643
Georg-Johann Lay <gjl at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |gjl at gcc dot gnu.org
--- Comment #9 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2011-04-14 15:10:48 UTC ---
Please note that fixing this bug just reduces the inconvenience from an
"internal compiler error" to an ordinary "error" with a more comprehensible
message.
The very problem is that avr-libc's PSTR macro tries to put the non-const
variable __c[] into the read-only section .progmem.data by means of
__attribute__((progmem)).
Thus, in order to build avr-libc, PSRT has to be fixed. For details please f'up
to issue #32988 in avr-libc
http://savannah.nongnu.org/bugs/?32988
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/44643] ice in c-typeck.c
[not found] <bug-44643-4@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2011-04-14 15:11 ` gjl at gcc dot gnu.org
@ 2011-04-14 15:31 ` gjl at gcc dot gnu.org
2011-05-09 17:13 ` eric.weddington at atmel dot com
` (8 subsequent siblings)
12 siblings, 0 replies; 17+ messages in thread
From: gjl at gcc dot gnu.org @ 2011-04-14 15:31 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44643
Georg-Johann Lay <gjl at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Known to work| |4.7.0
Resolution| |FIXED
--- Comment #10 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2011-04-14 15:29:37 UTC ---
Cloased as resolved+fixed in 4.7.0
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/44643] ice in c-typeck.c
[not found] <bug-44643-4@http.gcc.gnu.org/bugzilla/>
` (3 preceding siblings ...)
2011-04-14 15:31 ` gjl at gcc dot gnu.org
@ 2011-05-09 17:13 ` eric.weddington at atmel dot com
2011-05-23 17:05 ` jsm28 at gcc dot gnu.org
` (7 subsequent siblings)
12 siblings, 0 replies; 17+ messages in thread
From: eric.weddington at atmel dot com @ 2011-05-09 17:13 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44643
Eric Weddington <eric.weddington at atmel dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.7.0
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/44643] ice in c-typeck.c
[not found] <bug-44643-4@http.gcc.gnu.org/bugzilla/>
` (4 preceding siblings ...)
2011-05-09 17:13 ` eric.weddington at atmel dot com
@ 2011-05-23 17:05 ` jsm28 at gcc dot gnu.org
2011-05-26 12:54 ` gjl at gcc dot gnu.org
` (6 subsequent siblings)
12 siblings, 0 replies; 17+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2011-05-23 17:05 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44643
Joseph S. Myers <jsm28 at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ddavenport at walchem dot
| |com
--- Comment #11 from Joseph S. Myers <jsm28 at gcc dot gnu.org> 2011-05-23 16:30:47 UTC ---
*** Bug 49125 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/44643] ice in c-typeck.c
[not found] <bug-44643-4@http.gcc.gnu.org/bugzilla/>
` (5 preceding siblings ...)
2011-05-23 17:05 ` jsm28 at gcc dot gnu.org
@ 2011-05-26 12:54 ` gjl at gcc dot gnu.org
2011-06-16 17:27 ` gjl at gcc dot gnu.org
` (5 subsequent siblings)
12 siblings, 0 replies; 17+ messages in thread
From: gjl at gcc dot gnu.org @ 2011-05-26 12:54 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44643
--- Comment #12 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2011-05-26 12:52:10 UTC ---
Author: gjl
Date: Thu May 26 12:52:03 2011
New Revision: 174281
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174281
Log:
PR target/44643
* config/avr/avr.c (avr_insert_attributes): Leave TREE_READONLY
alone. Error if non-const data has attribute progmem.
Modified:
branches/gcc-4_6-branch/gcc/ChangeLog
branches/gcc-4_6-branch/gcc/config/avr/avr.c
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/44643] ice in c-typeck.c
[not found] <bug-44643-4@http.gcc.gnu.org/bugzilla/>
` (6 preceding siblings ...)
2011-05-26 12:54 ` gjl at gcc dot gnu.org
@ 2011-06-16 17:27 ` gjl at gcc dot gnu.org
2011-06-18 14:32 ` gjl at gcc dot gnu.org
` (4 subsequent siblings)
12 siblings, 0 replies; 17+ messages in thread
From: gjl at gcc dot gnu.org @ 2011-06-16 17:27 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44643
Georg-Johann Lay <gjl at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ned@bike-nomad.com
--- Comment #13 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2011-06-16 17:24:03 UTC ---
*** Bug 26883 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/44643] ice in c-typeck.c
[not found] <bug-44643-4@http.gcc.gnu.org/bugzilla/>
` (7 preceding siblings ...)
2011-06-16 17:27 ` gjl at gcc dot gnu.org
@ 2011-06-18 14:32 ` gjl at gcc dot gnu.org
2011-07-04 12:28 ` gjl at gcc dot gnu.org
` (3 subsequent siblings)
12 siblings, 0 replies; 17+ messages in thread
From: gjl at gcc dot gnu.org @ 2011-06-18 14:32 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44643
Georg-Johann Lay <gjl at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.7.0 |4.6.1
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/44643] ice in c-typeck.c
[not found] <bug-44643-4@http.gcc.gnu.org/bugzilla/>
` (8 preceding siblings ...)
2011-06-18 14:32 ` gjl at gcc dot gnu.org
@ 2011-07-04 12:28 ` gjl at gcc dot gnu.org
2011-07-04 12:34 ` gjl at gcc dot gnu.org
` (2 subsequent siblings)
12 siblings, 0 replies; 17+ messages in thread
From: gjl at gcc dot gnu.org @ 2011-07-04 12:28 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44643
--- Comment #14 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2011-07-04 12:28:05 UTC ---
Author: gjl
Date: Mon Jul 4 12:28:02 2011
New Revision: 175809
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175809
Log:
PR target/44643
* config/avr/avr.c (avr_insert_attributes): Use TYPE_READONLY
instead of TREE_READONLY.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/avr/avr.c
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/44643] ice in c-typeck.c
[not found] <bug-44643-4@http.gcc.gnu.org/bugzilla/>
` (9 preceding siblings ...)
2011-07-04 12:28 ` gjl at gcc dot gnu.org
@ 2011-07-04 12:34 ` gjl at gcc dot gnu.org
2011-07-04 12:36 ` gjl at gcc dot gnu.org
2011-07-04 12:48 ` gjl at gcc dot gnu.org
12 siblings, 0 replies; 17+ messages in thread
From: gjl at gcc dot gnu.org @ 2011-07-04 12:34 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44643
--- Comment #15 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2011-07-04 12:33:03 UTC ---
Author: gjl
Date: Mon Jul 4 12:33:00 2011
New Revision: 175810
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175810
Log:
Backport from mainline
2011-07-04 Georg-Johann Lay
PR target/44643
* config/avr/avr.c (avr_insert_attributes): Use TYPE_READONLY
instead of TREE_READONLY.
Modified:
branches/gcc-4_6-branch/gcc/ChangeLog
branches/gcc-4_6-branch/gcc/config/avr/avr.c
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/44643] ice in c-typeck.c
[not found] <bug-44643-4@http.gcc.gnu.org/bugzilla/>
` (10 preceding siblings ...)
2011-07-04 12:34 ` gjl at gcc dot gnu.org
@ 2011-07-04 12:36 ` gjl at gcc dot gnu.org
2011-07-04 12:48 ` gjl at gcc dot gnu.org
12 siblings, 0 replies; 17+ messages in thread
From: gjl at gcc dot gnu.org @ 2011-07-04 12:36 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44643
Georg-Johann Lay <gjl at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to work|4.6.1 |4.6.2
Target Milestone|4.6.1 |4.6.2
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/44643] ice in c-typeck.c
[not found] <bug-44643-4@http.gcc.gnu.org/bugzilla/>
` (11 preceding siblings ...)
2011-07-04 12:36 ` gjl at gcc dot gnu.org
@ 2011-07-04 12:48 ` gjl at gcc dot gnu.org
12 siblings, 0 replies; 17+ messages in thread
From: gjl at gcc dot gnu.org @ 2011-07-04 12:48 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44643
--- Comment #16 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2011-07-04 12:48:07 UTC ---
Author: gjl
Date: Mon Jul 4 12:48:04 2011
New Revision: 175811
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175811
Log:
PR target/34734
PR target/44643
* gcc.target/avr/avr.exp: Run over cpp files, too.
* gcc.target/avr/torture/avr-torture.exp: Ditto.
* gcc.target/avr/progmem.h: New file.
* gcc.target/avr/exit-abort.h: New file.
* gcc.target/avr/progmem-error-1.c: New file.
* gcc.target/avr/progmem-error-1.cpp: New file.
* gcc.target/avr/progmem-warning-1.c: New file.
* gcc.target/avr/torture/progmem-1.c: New file.
* gcc.target/avr/torture/progmem-1.cpp: New file.
Added:
trunk/gcc/testsuite/gcc.target/avr/exit-abort.h
trunk/gcc/testsuite/gcc.target/avr/progmem-error-1.c
trunk/gcc/testsuite/gcc.target/avr/progmem-error-1.cpp
trunk/gcc/testsuite/gcc.target/avr/progmem-warning-1.c
trunk/gcc/testsuite/gcc.target/avr/progmem.h
trunk/gcc/testsuite/gcc.target/avr/torture/progmem-1.c
trunk/gcc/testsuite/gcc.target/avr/torture/progmem-1.cpp
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.target/avr/avr.exp
trunk/gcc/testsuite/gcc.target/avr/torture/avr-torture.exp
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/44643] ice in c-typeck.c
2010-06-23 3:21 [Bug c/44643] New: " weasel at cs dot stanford dot edu
` (2 preceding siblings ...)
2010-06-23 16:35 ` jsm28 at gcc dot gnu dot org
@ 2010-06-28 1:06 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 17+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2010-06-28 1:06 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from pinskia at gcc dot gnu dot org 2010-06-28 01:06 -------
Confirmed.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
GCC host triplet|x86_64-apple-darwin10.4.0 |
Keywords| |ice-on-valid-code
Last reconfirmed|0000-00-00 00:00:00 |2010-06-28 01:06:26
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44643
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/44643] ice in c-typeck.c
2010-06-23 3:21 [Bug c/44643] New: " weasel at cs dot stanford dot edu
2010-06-23 11:07 ` [Bug target/44643] " jsm28 at gcc dot gnu dot org
2010-06-23 15:59 ` weasel at cs dot stanford dot edu
@ 2010-06-23 16:35 ` jsm28 at gcc dot gnu dot org
2010-06-28 1:06 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 17+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2010-06-23 16:35 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from jsm28 at gcc dot gnu dot org 2010-06-23 16:35 -------
An assertion failure is always a bug. Yes, an error if the object
isn't already const would be one valid fix.
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44643
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/44643] ice in c-typeck.c
2010-06-23 3:21 [Bug c/44643] New: " weasel at cs dot stanford dot edu
2010-06-23 11:07 ` [Bug target/44643] " jsm28 at gcc dot gnu dot org
@ 2010-06-23 15:59 ` weasel at cs dot stanford dot edu
2010-06-23 16:35 ` jsm28 at gcc dot gnu dot org
2010-06-28 1:06 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 17+ messages in thread
From: weasel at cs dot stanford dot edu @ 2010-06-23 15:59 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from weasel at cs dot stanford dot edu 2010-06-23 15:59 -------
thanks for the hint about avr_insert_attribute. there's a comment there
mumbling:
/* ??? This seems sketchy. Why can't the user declare the
thing const in the first place? */
when it sets the node's readonly-ness. if i declare the array to have const
elements there's no ICE. i guess the 'fix' is to sprinkle const-goodness around
the source although it might be nice to have a slightly nicer error message.
--
weasel at cs dot stanford dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44643
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/44643] ice in c-typeck.c
2010-06-23 3:21 [Bug c/44643] New: " weasel at cs dot stanford dot edu
@ 2010-06-23 11:07 ` jsm28 at gcc dot gnu dot org
2010-06-23 15:59 ` weasel at cs dot stanford dot edu
` (2 subsequent siblings)
3 siblings, 0 replies; 17+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2010-06-23 11:07 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from jsm28 at gcc dot gnu dot org 2010-06-23 11:07 -------
This is a bug in the AVR back end; if it marks a decl readonly it must also
adjust the type of the decl. The problem code is probably in
avr_insert_attributes.
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|c |target
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44643
^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2011-07-04 12:48 UTC | newest]
Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-44643-4@http.gcc.gnu.org/bugzilla/>
2011-03-31 9:12 ` [Bug target/44643] ice in c-typeck.c lts-rudolph at gmx dot de
2011-04-14 8:38 ` gjl at gcc dot gnu.org
2011-04-14 15:11 ` gjl at gcc dot gnu.org
2011-04-14 15:31 ` gjl at gcc dot gnu.org
2011-05-09 17:13 ` eric.weddington at atmel dot com
2011-05-23 17:05 ` jsm28 at gcc dot gnu.org
2011-05-26 12:54 ` gjl at gcc dot gnu.org
2011-06-16 17:27 ` gjl at gcc dot gnu.org
2011-06-18 14:32 ` gjl at gcc dot gnu.org
2011-07-04 12:28 ` gjl at gcc dot gnu.org
2011-07-04 12:34 ` gjl at gcc dot gnu.org
2011-07-04 12:36 ` gjl at gcc dot gnu.org
2011-07-04 12:48 ` gjl at gcc dot gnu.org
2010-06-23 3:21 [Bug c/44643] New: " weasel at cs dot stanford dot edu
2010-06-23 11:07 ` [Bug target/44643] " jsm28 at gcc dot gnu dot org
2010-06-23 15:59 ` weasel at cs dot stanford dot edu
2010-06-23 16:35 ` jsm28 at gcc dot gnu dot org
2010-06-28 1:06 ` pinskia at gcc dot gnu dot 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).