public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/28476]  New: msp430-gcc with -Wunreachable-code Segmentation fault
@ 2006-07-25  8:34 stefano dot franzoni at marposs dot com
  2006-07-25 13:40 ` [Bug middle-end/28476] " pinskia at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: stefano dot franzoni at marposs dot com @ 2006-07-25  8:34 UTC (permalink / raw)
  To: gcc-bugs

I am using the last mspgcc compiler for MSP430 downloaded at
http://sourceforge.net/project/showfiles.php?group_id=42303&package_id=68584.

The bug is easily reproducible applying the following compiler line to the
source main of example tasker

msp430-gcc -mmcu=msp430x147 -g -O3 -Wall -Wcast-align -Wcast-qual -Wimplicit
-Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith
-Wredundant-decls -Wreturn-type -Wshadow -Wstrict-prototypes -Wswitch -Wunused 
-Wunreachable-code -c -o main.o main.c


in the original line -Wunreachable-code in missed.

The error raised is 
main.c: In function `task1':
main.c:126: internal error: Segmentation fault


compiler version:

Reading specs from /cygdrive/c/mspgcc/bin/../lib/gcc-lib/msp430/3.2.3/specs
Configured with: ./configure --target=msp430
--prefix=/f/prog/msp430/sf/packagin
g/build/installed --disable-nls
Thread model: single
gcc version 3.2.3


-- 
           Summary: msp430-gcc with -Wunreachable-code Segmentation fault
           Product: gcc
           Version: 3.2.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: stefano dot franzoni at marposs dot com


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug middle-end/28476] msp430-gcc with -Wunreachable-code Segmentation fault
  2006-07-25  8:34 [Bug c/28476] New: msp430-gcc with -Wunreachable-code Segmentation fault stefano dot franzoni at marposs dot com
@ 2006-07-25 13:40 ` pinskia at gcc dot gnu dot org
  2006-07-25 14:02 ` stefano dot franzoni at marposs dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-07-25 13:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-07-25 13:40 -------
Can you attach the preprocessed source?


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
          Component|c                           |middle-end


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug middle-end/28476] msp430-gcc with -Wunreachable-code Segmentation fault
  2006-07-25  8:34 [Bug c/28476] New: msp430-gcc with -Wunreachable-code Segmentation fault stefano dot franzoni at marposs dot com
  2006-07-25 13:40 ` [Bug middle-end/28476] " pinskia at gcc dot gnu dot org
@ 2006-07-25 14:02 ` stefano dot franzoni at marposs dot com
  2006-07-26  0:40 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: stefano dot franzoni at marposs dot com @ 2006-07-25 14:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from stefano dot franzoni at marposs dot com  2006-07-25 14:02 -------
Subject: Re:  msp430-gcc with -Wunreachable-code Segmentation
 fault

(See attached file: main.i)



             "pinskia at gcc                                               
             dot gnu dot org"                                              
             <gcc-bugzilla@gcc                                          To 
             .gnu.org>                 stefano.franzoni@marposs.com        
                                                                        cc 
             25/07/2006 15:40                                              
                                                                   Subject 
                                       [Bug middle-end/28476] msp430-gcc   
             Please respond to         with -Wunreachable-code             
             gcc-bugzilla@gcc.         Segmentation fault                  
                  gnu.org                                                  











------- Comment #1 from pinskia at gcc dot gnu dot org  2006-07-25 13:40
-------
Can you attach the preprocessed source?


--

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------

             Status|UNCONFIRMED                 |WAITING
          Component|c                           |middle-end


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

------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.


------- Comment #3 from stefano dot franzoni at marposs dot com  2006-07-25 14:02 -------
Created an attachment (id=11933)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11933&action=view)


-- 


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug middle-end/28476] msp430-gcc with -Wunreachable-code Segmentation fault
  2006-07-25  8:34 [Bug c/28476] New: msp430-gcc with -Wunreachable-code Segmentation fault stefano dot franzoni at marposs dot com
  2006-07-25 13:40 ` [Bug middle-end/28476] " pinskia at gcc dot gnu dot org
  2006-07-25 14:02 ` stefano dot franzoni at marposs dot com
@ 2006-07-26  0:40 ` pinskia at gcc dot gnu dot org
  2006-07-26  7:13 ` stefano dot franzoni at marposs dot com
  2006-10-26 20:16 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-07-26  0:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2006-07-26 00:40 -------
I think this was fixed in 3.3 and I think this is a dup of bug 11142 or even PR
10660 or PR 10580.

Can you try a 3.3 release?

Also msp430 is not part of the FSF GCC.


-- 


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug middle-end/28476] msp430-gcc with -Wunreachable-code Segmentation fault
  2006-07-25  8:34 [Bug c/28476] New: msp430-gcc with -Wunreachable-code Segmentation fault stefano dot franzoni at marposs dot com
                   ` (2 preceding siblings ...)
  2006-07-26  0:40 ` pinskia at gcc dot gnu dot org
@ 2006-07-26  7:13 ` stefano dot franzoni at marposs dot com
  2006-10-26 20:16 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: stefano dot franzoni at marposs dot com @ 2006-07-26  7:13 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from stefano dot franzoni at marposs dot com  2006-07-26 07:13 -------
Subject: Re:  msp430-gcc with -Wunreachable-code Segmentation
 fault

>I think this was fixed in 3.3 and I think this is a dup of bug 11142 or
even PR
>10660 or PR 10580.

 I believe you are correct                                                  



>Can you try a 3.3 release?

I could try it.
I need some help to dowload the right sources and recompile them for
msp430.

As an alternative I can point out the bug in the msp430 forum
(http://sourceforge.net/mailarchive/forum.php?forum_id=7539)
waiting for a msp430 guru.

What do you suggest?





             "pinskia at gcc                                               
             dot gnu dot org"                                              
             <gcc-bugzilla@gcc                                          To 
             .gnu.org>                 stefano.franzoni@marposs.com        
                                                                        cc 
             26/07/2006 02:40                                              
                                                                   Subject 
                                       [Bug middle-end/28476] msp430-gcc   
             Please respond to         with -Wunreachable-code             
             gcc-bugzilla@gcc.         Segmentation fault                  
                  gnu.org                                                  











------- Comment #4 from pinskia at gcc dot gnu dot org  2006-07-26 00:40
-------
I think this was fixed in 3.3 and I think this is a dup of bug 11142 or
even PR
10660 or PR 10580.

Can you try a 3.3 release?

Also msp430 is not part of the FSF GCC.


--


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

------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.


-- 


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug middle-end/28476] msp430-gcc with -Wunreachable-code Segmentation fault
  2006-07-25  8:34 [Bug c/28476] New: msp430-gcc with -Wunreachable-code Segmentation fault stefano dot franzoni at marposs dot com
                   ` (3 preceding siblings ...)
  2006-07-26  7:13 ` stefano dot franzoni at marposs dot com
@ 2006-10-26 20:16 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-10-26 20:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from pinskia at gcc dot gnu dot org  2006-10-26 20:16 -------
No feedback in 3 months and this was noticed as a dup of a couple of bugs which
were fixed for 3.3 and this was filed against a target that does not exist in
the FSF so there is no way for anyone here to test if it is fixed or not so
closing.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |INVALID


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-10-26 20:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-25  8:34 [Bug c/28476] New: msp430-gcc with -Wunreachable-code Segmentation fault stefano dot franzoni at marposs dot com
2006-07-25 13:40 ` [Bug middle-end/28476] " pinskia at gcc dot gnu dot org
2006-07-25 14:02 ` stefano dot franzoni at marposs dot com
2006-07-26  0:40 ` pinskia at gcc dot gnu dot org
2006-07-26  7:13 ` stefano dot franzoni at marposs dot com
2006-10-26 20:16 ` 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).