[Bug target/40424] --verbose-asm option not list all enbaled command line option flags

2009-06-22 Thread MR dot Swami dot Reddy at nsc dot com


--- Comment #6 from MR dot Swami dot Reddy at nsc dot com  2009-06-22 10:26 
---
Could you please review the patch and apply the same to gcc trunk?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40424



[Bug target/40424] --verbose-asm option not list all enbaled command line option flags

2009-06-22 Thread MR dot Swami dot Reddy at nsc dot com


--- Comment #8 from MR dot Swami dot Reddy at nsc dot com  2009-06-22 10:47 
---
Subject: Re:  --verbose-asm option not list all
 enbaled command line option flags

Thanks for the reply.
OK I will request the maintainer to do the same.

Thanks
Swami
ramana at gcc dot gnu dot org wrote:
 --- Comment #7 from ramana at gcc dot gnu dot org  2009-06-22 10:30 
 ---
 I'm not allowed to authorize or approve the change. You'd be better off
 requesting for a review and someone to commit this for you on gcc-patches @
 rather than in comments in bugzilla.


   


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40424



[Bug target/40424] --verbose-asm option not list all enbaled command line option flags

2009-06-14 Thread MR dot Swami dot Reddy at nsc dot com


--- Comment #4 from MR dot Swami dot Reddy at nsc dot com  2009-06-15 05:02 
---
Created an attachment (id=17999)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17999action=view)
Patch to fix this issue


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40424



[Bug target/40424] --verbose-asm option not list all enbaled command line option flags

2009-06-14 Thread MR dot Swami dot Reddy at nsc dot com


--- Comment #5 from MR dot Swami dot Reddy at nsc dot com  2009-06-15 05:03 
---
Created an attachment (id=18000)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18000action=view)
Patch to fix this issue


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40424



[Bug target/40424] New: --verbose-asm option not list all enbaled command line option flags

2009-06-12 Thread MR dot Swami dot Reddy at nsc dot com
-fverbose-asm is not listing the command line option flgas, as same version
of native gcc does.

For ex:
 crx-elf-gcc test.c -O1 --verbose-asm -save-temps -c

In test.s: command line options enabled flags will be listed out.

This is not done with crx-elf-gcc compiler.


-- 
   Summary: --verbose-asm option not list all enbaled command line
option flags
   Product: gcc
   Version: 4.4.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: MR dot Swami dot Reddy at nsc dot com
  GCC host triplet: Native linux
GCC target triplet: crx-elf-


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40424



[Bug middle-end/39685] ICE: in copyprop_hardreg_forward_1, at regrename.c:1603

2009-05-01 Thread MR dot Swami dot Reddy at nsc dot com


--- Comment #6 from MR dot Swami dot Reddy at nsc dot com  2009-05-01 11:42 
---
This problem is reproduced with latest gcc-4.4.0 release tools (ie crx-elf-gcc
version 4.4.0).


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39685



[Bug middle-end/39685] ICE: in copyprop_hardreg_forward_1, at regrename.c:1603

2009-04-12 Thread MR dot Swami dot Reddy at nsc dot com


--- Comment #4 from MR dot Swami dot Reddy at nsc dot com  2009-04-13 05:09 
---
NOTE-1: This problem seen with gcc-4.4 and gcc-4.5 (ie trunk) sources 
built crx-elf-gcc compiler.

NOTE-2: With -O2 -funroll-all-loops options also reproduce this problem.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39685



[Bug middle-end/39685] ICE: in copyprop_hardreg_forward_1, at regrename.c:1603

2009-04-09 Thread MR dot Swami dot Reddy at nsc dot com


--- Comment #3 from MR dot Swami dot Reddy at nsc dot com  2009-04-09 11:00 
---
This issue is not reproduced with gcc-4.3.3 sources (ie released sources).
Only obsereved with gcc-4.5.0 trunk sources.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39685



[Bug c/39685] New: ICE: in copyprop_hardreg_forward_1, at regrename.c:1603

2009-04-07 Thread MR dot Swami dot Reddy at nsc dot com
Compile the below testcase with -O3 -funroll-all-loops option, using
crx-elf-gcc vesion 4.5.0 20080307 (sources from trunk).
Command line:
crx-elf-gcc test.c -o3 -funroll-all-loops

test.c:187: error: insn does not satisfy its constraints:
(insn 8 119 130 2 /scratch/user/swami/test.c:149 (set (mem/c/i:SI
(post_modify:SI (reg:SI 3 r3)
(plus:SI (reg:SI 3 r3)
(const_int 8 [0x8]))) [3 x1+0 S4 A32])
(const_int 0 [0x0])) 91 {movsi_store} (expr_list:REG_INC (reg:SI 3 r3)
(nil)))
/scratch/user/swami/test.c:187: internal compiler error: in
copyprop_hardreg_forward_1, at regrename.c:1603
Please submit a full bug report,
with preprocessed source if appropriate.
See http://gcc.gnu.org/bugs.html for instructions.


NOTE: This issue not obsered with crx-elf-gcc 4.1.1 tools.


-- 
   Summary: ICE: in copyprop_hardreg_forward_1, at regrename.c:1603
   Product: gcc
   Version: 4.5.0
Status: UNCONFIRMED
  Severity: critical
  Priority: P3
 Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: MR dot Swami dot Reddy at nsc dot com
 GCC build triplet: native linux
  GCC host triplet: Native Linux
GCC target triplet: crx-elf


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39685



[Bug c/39685] ICE: in copyprop_hardreg_forward_1, at regrename.c:1603

2009-04-07 Thread MR dot Swami dot Reddy at nsc dot com


--- Comment #1 from MR dot Swami dot Reddy at nsc dot com  2009-04-08 05:09 
---
Created an attachment (id=17607)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17607action=view)
Bug testcase


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39685



[Bug debug/39535] wrong function name and line numbers with -g -O2 option

2009-03-24 Thread MR dot Swami dot Reddy at nsc dot com


--- Comment #2 from MR dot Swami dot Reddy at nsc dot com  2009-03-24 08:35 
---
Subject: Re:  wrong function name and line numbers with
 -g -O2 option

pinskia at gcc dot gnu dot org wrote:
 
 --- Comment #1 from pinskia at gcc dot gnu dot org  2009-03-24 05:16 
 ---
 Please reopen PR 39527 if it is a GCC issue.  As far as I can tell it is not a
 GCC issue from looking at the debugging information from i686-linux-gnu.

OK. I will reopen PR 39527, as  the target.h (ie crx.h file) need debug related 
macros to be defined.

Thanks
Swami


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39535



[Bug debug/39538] New: wrong function name and line numbers with -g -O2 option

2009-03-24 Thread MR dot Swami dot Reddy at nsc dot com
With -g -O2 option, crx-elf-gcc generates wrong line numbers and function
names.
==
/tmp/ccrrZsJf.o: In function `090312 (experimental)':
/home10/swami/test.c:5: undefined reference to `_f1'
collect2: ld returned 1 exit status
===

Expected output could be:
===
/tmp/ccEJcFRs.o: In function `main':
/home10/swami/test.c:6: undefined reference to `_f1'
collect2: ld returned 1 exit status



testcase: test.c


int f = 1;
extern int f1 ();

main () {
   f1();
}
===


-- 
   Summary: wrong function name and line numbers with -g -O2 option
   Product: gcc
   Version: 4.4.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: debug
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: MR dot Swami dot Reddy at nsc dot com
  GCC host triplet: Native Linux
GCC target triplet: crx-elf


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39538



[Bug debug/39539] New: wrong function name and line numbers with -g -O2 option

2009-03-24 Thread MR dot Swami dot Reddy at nsc dot com
With -g -O2 option, crx-elf-gcc generates wrong line numbers and function
names.
==
/tmp/ccrrZsJf.o: In function `090312 (experimental)':
/home10/swami/test.c:5: undefined reference to `_f1'
collect2: ld returned 1 exit status
===

Expected output could be:
===
/tmp/ccEJcFRs.o: In function `main':
/home10/swami/test.c:6: undefined reference to `_f1'
collect2: ld returned 1 exit status



testcase: test.c


int f = 1;
extern int f1 ();

main () {
   f1();
}
===


-- 
   Summary: wrong function name and line numbers with -g -O2 option
   Product: gcc
   Version: 4.4.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: debug
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: MR dot Swami dot Reddy at nsc dot com
  GCC host triplet: Native Linux
GCC target triplet: crx-elf


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39539



[Bug debug/39540] New: wrong function name and line numbers with -g -O2 option

2009-03-24 Thread MR dot Swami dot Reddy at nsc dot com
With -g -O2 option, crx-elf-gcc generates wrong line numbers and function
names.
==
/tmp/ccrrZsJf.o: In function `090312 (experimental)':
/home10/swami/test.c:5: undefined reference to `_f1'
collect2: ld returned 1 exit status
===

Expected output could be:
===
/tmp/ccEJcFRs.o: In function `main':
/home10/swami/test.c:6: undefined reference to `_f1'
collect2: ld returned 1 exit status



testcase: test.c


int f = 1;
extern int f1 ();

main () {
   f1();
}
===


-- 
   Summary: wrong function name and line numbers with -g -O2 option
   Product: gcc
   Version: 4.4.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: debug
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: MR dot Swami dot Reddy at nsc dot com
  GCC host triplet: Native Linux
GCC target triplet: crx-elf


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39540



[Bug debug/39535] wrong function name and line numbers with -g -O2 option

2009-03-24 Thread MR dot Swami dot Reddy at nsc dot com


--- Comment #6 from MR dot Swami dot Reddy at nsc dot com  2009-03-24 11:04 
---
Subject: Re:  wrong function name and line numbers with
 -g -O2 option

rguenth at gcc dot gnu dot org wrote:
 
 --- Comment #4 from rguenth at gcc dot gnu dot org  2009-03-24 11:00 
 ---
 *** Bug 39539 has been marked as a duplicate of this bug. ***
 

Could please explain, why multiple PR ID generated for one issue/bug?

Thanks
Swami


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39535



[Bug debug/39527] New: wrong function name and line numbers with -g -O2 option

2009-03-23 Thread MR dot Swami dot Reddy at nsc dot com
With -g -O2 option, crx-elf-gcc generates wrong line numbers and function
names.
==
/tmp/ccrrZsJf.o: In function `090312 (experimental)':
/home10/swami/test.c:5: undefined reference to `_f1'
collect2: ld returned 1 exit status
===

Expected output could be:
===
/tmp/ccEJcFRs.o: In function `main':
/home10/swami/test.c:6: undefined reference to `_f1'
collect2: ld returned 1 exit status



testcase: test.c


int f = 1;
extern int f1 ();

main () {
   f1();
}
===


-- 
   Summary: wrong function name and line numbers with -g -O2 option
   Product: gcc
   Version: 4.4.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: debug
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: MR dot Swami dot Reddy at nsc dot com
  GCC host triplet: Native Linux
GCC target triplet: crx-elf


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39527



[Bug debug/39527] wrong function name and line numbers with -g -O2 option

2009-03-23 Thread MR dot Swami dot Reddy at nsc dot com


--- Comment #2 from MR dot Swami dot Reddy at nsc dot com  2009-03-24 04:51 
---
Subject: Re:  wrong function name and line numbers with
 -g -O2 option

rguenth at gcc dot gnu dot org wrote:
 
 --- Comment #1 from rguenth at gcc dot gnu dot org  2009-03-23 13:47 
 ---
 This is a binutils issue.  The error is reported with the location of the
 calling function, not the call.


Yes, this issue need to fixed in gcc and binutils also. I am working on this 
issue and will send the patch soon.

Thanks
Swami


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39527



[Bug debug/39535] New: wrong function name and line numbers with -g -O2 option

2009-03-23 Thread MR dot Swami dot Reddy at nsc dot com
With -g -O2 option, crx-elf-gcc generates wrong line numbers and function
names.
==
/tmp/ccrrZsJf.o: In function `090312 (experimental)':
/home10/swami/test.c:5: undefined reference to `_f1'
collect2: ld returned 1 exit status
===

Expected output could be:
===
/tmp/ccEJcFRs.o: In function `main':
/home10/swami/test.c:6: undefined reference to `_f1'
collect2: ld returned 1 exit status



testcase: test.c


int f = 1;
extern int f1 ();

main () {
   f1();
}
===


-- 
   Summary: wrong function name and line numbers with -g -O2 option
   Product: gcc
   Version: 4.4.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: debug
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: MR dot Swami dot Reddy at nsc dot com
  GCC host triplet: Native Linux
GCC target triplet: crx-elf


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39535