public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/18145] New: Do not emit __do_copy_data or __do_clear_bss if .data or .bss is empty.
@ 2004-10-25 16:36 ericw at evcohs dot com
2004-10-25 17:03 ` [Bug target/18145] " pinskia at gcc dot gnu dot org
2005-02-28 13:55 ` pinskia at gcc dot gnu dot org
0 siblings, 2 replies; 8+ messages in thread
From: ericw at evcohs dot com @ 2004-10-25 16:36 UTC (permalink / raw)
To: gcc-bugs
See FIXME in avr.c, function avr_file_start.
--
Summary: Do not emit __do_copy_data or __do_clear_bss if .data or
.bss is empty.
Product: gcc
Version: 3.4.2
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ericw at evcohs dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: avr-*-*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18145
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/18145] Do not emit __do_copy_data or __do_clear_bss if .data or .bss is empty.
2004-10-25 16:36 [Bug target/18145] New: Do not emit __do_copy_data or __do_clear_bss if .data or .bss is empty ericw at evcohs dot com
@ 2004-10-25 17:03 ` pinskia at gcc dot gnu dot org
2005-02-28 13:55 ` pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-25 17:03 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-25 17:03 -------
Confirmed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |missed-optimization
Last reconfirmed|0000-00-00 00:00:00 |2004-10-25 17:03:19
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18145
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/18145] Do not emit __do_copy_data or __do_clear_bss if .data or .bss is empty.
2004-10-25 16:36 [Bug target/18145] New: Do not emit __do_copy_data or __do_clear_bss if .data or .bss is empty ericw at evcohs dot com
2004-10-25 17:03 ` [Bug target/18145] " pinskia at gcc dot gnu dot org
@ 2005-02-28 13:55 ` pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-28 13:55 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-28 04:14 -------
*** Bug 20243 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |schlie at comcast dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18145
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/18145] Do not emit __do_copy_data or __do_clear_bss if .data or .bss is empty.
[not found] <bug-18145-4@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2011-06-29 18:05 ` eric.weddington at atmel dot com
@ 2012-02-22 14:21 ` gjl at gcc dot gnu.org
3 siblings, 0 replies; 8+ messages in thread
From: gjl at gcc dot gnu.org @ 2012-02-22 14:21 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18145
--- Comment #6 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2012-02-22 14:14:03 UTC ---
Author: gjl
Date: Wed Feb 22 14:13:48 2012
New Revision: 184481
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184481
Log:
PR target/18145
* config/avr/avr.c (avr_asm_output_aligned_decl_common): Skip
setting avr_need_clear_bss_p for __gnu_lto* symbols.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/avr/avr.c
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/18145] Do not emit __do_copy_data or __do_clear_bss if .data or .bss is empty.
[not found] <bug-18145-4@http.gcc.gnu.org/bugzilla/>
2011-04-20 13:39 ` gjl at gcc dot gnu.org
2011-04-20 13:47 ` gjl at gcc dot gnu.org
@ 2011-06-29 18:05 ` eric.weddington at atmel dot com
2012-02-22 14:21 ` gjl at gcc dot gnu.org
3 siblings, 0 replies; 8+ messages in thread
From: eric.weddington at atmel dot com @ 2011-06-29 18:05 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18145
Eric Weddington <eric.weddington at atmel dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.7.0
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/18145] Do not emit __do_copy_data or __do_clear_bss if .data or .bss is empty.
[not found] <bug-18145-4@http.gcc.gnu.org/bugzilla/>
2011-04-20 13:39 ` gjl at gcc dot gnu.org
@ 2011-04-20 13:47 ` gjl at gcc dot gnu.org
2011-06-29 18:05 ` eric.weddington at atmel dot com
2012-02-22 14:21 ` gjl at gcc dot gnu.org
3 siblings, 0 replies; 8+ messages in thread
From: gjl at gcc dot gnu.org @ 2011-04-20 13:47 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18145
Georg-Johann Lay <gjl at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|FIXME |
Status|NEW |RESOLVED
CC| |gjl at gcc dot gnu.org
Known to work| |4.7.0
Resolution| |FIXED
--- Comment #5 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2011-04-20 13:46:42 UTC ---
Closed resolved+fixed in 4.7.0
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/18145] Do not emit __do_copy_data or __do_clear_bss if .data or .bss is empty.
[not found] <bug-18145-4@http.gcc.gnu.org/bugzilla/>
@ 2011-04-20 13:39 ` gjl at gcc dot gnu.org
2011-04-20 13:47 ` gjl at gcc dot gnu.org
` (2 subsequent siblings)
3 siblings, 0 replies; 8+ messages in thread
From: gjl at gcc dot gnu.org @ 2011-04-20 13:39 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18145
--- Comment #4 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2011-04-20 13:38:09 UTC ---
Author: gjl
Date: Wed Apr 20 13:38:05 2011
New Revision: 172769
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172769
Log:
PR target/18145
* config/avr/avr.h (TARGET_ASM_INIT_SECTIONS): Delete.
(ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Delete.
(ASM_OUTPUT_ALIGNED_DECL_COMMON): Define.
(ASM_OUTPUT_ALIGNED_DECL_LOCAL): Define.
(TARGET_ASM_NAMED_SECTION): Change to avr_asm_named_section.
* config/avr/avr-protos.h (avr_asm_output_aligned_common):
New prototype.
* config/avr/avr.c (TARGET_ASM_INIT_SECTIONS): Define.
(avr_asm_named_section, avr_asm_output_aligned_common,
avr_output_data_section_asm_op, avr_output_bss_section_asm_op):
New functions to update...
(avr_need_clear_bss_p, avr_need_copy_data_p): ...these new variables.
(avr_asm_init_sections): Overwrite section callbacks for
data_section, bss_section.
(avr_file_start): Move output of __do_copy_data, __do_clear_bss
from here to...
(avr_file_end): ...here.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/avr/avr-protos.h
trunk/gcc/config/avr/avr.c
trunk/gcc/config/avr/avr.h
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/18145] Do not emit __do_copy_data or __do_clear_bss if .data or .bss is empty.
[not found] <bug-18145-6095@http.gcc.gnu.org/bugzilla/>
@ 2010-09-14 8:17 ` abnikant dot singh at atmel dot com
0 siblings, 0 replies; 8+ messages in thread
From: abnikant dot singh at atmel dot com @ 2010-09-14 8:17 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from abnikant dot singh at atmel dot com 2010-09-14 08:17 -------
Created an attachment (id=21788)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21788&action=view)
attached patch solves this problem
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18145
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2012-02-22 14:20 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-25 16:36 [Bug target/18145] New: Do not emit __do_copy_data or __do_clear_bss if .data or .bss is empty ericw at evcohs dot com
2004-10-25 17:03 ` [Bug target/18145] " pinskia at gcc dot gnu dot org
2005-02-28 13:55 ` pinskia at gcc dot gnu dot org
[not found] <bug-18145-6095@http.gcc.gnu.org/bugzilla/>
2010-09-14 8:17 ` abnikant dot singh at atmel dot com
[not found] <bug-18145-4@http.gcc.gnu.org/bugzilla/>
2011-04-20 13:39 ` gjl at gcc dot gnu.org
2011-04-20 13:47 ` gjl at gcc dot gnu.org
2011-06-29 18:05 ` eric.weddington at atmel dot com
2012-02-22 14:21 ` gjl 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).