bugGNU Development Chain for 68HC11/68HC12 - Bugs: bug #14928, m6811-elf-gcc segfaults

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #14928: m6811-elf-gcc segfaults

Submitted by:  None
Submitted on:  Tue 08 Nov 2005 08:21:18 AM UTC  
 
Category: gccSeverity: 3 - Normal
Item Group: sw-bugStatus: Fixed
Privacy: PublicAssigned to: Stephane Carrez <ciceron>
Open/Closed: Closed

Sat 18 Feb 2006 09:48:41 PM UTC, comment #4:

Fixed in release 3.1

Stephane Carrez <ciceron>
Project AdministratorIn charge of this item.
Sat 28 Jan 2006 01:07:55 PM UTC, comment #3:

Hi!

Thanks for the file. I was able to reproduce the problem
with 3.0.1 (gcc 3.3.5). It is the same problem as PR 13879.
So, this will be fixed in next release.

Stephane

Stephane Carrez <ciceron>
Project AdministratorIn charge of this item.
Fri 27 Jan 2006 12:46:36 PM UTC, comment #2:

Hi,

sorry for the wait. here is the output of the preprocessed file.
I found out that the segfault only happens when I compile with the -Os switch (also with this pre processed file) and the following other options:

m68hc12-gcc -Os -mshort -c arptmp.c

produces:
arp.c: In function `arp_get_response':
arp.c:324: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See http://gcc.gnu.org/bugs.html> for instructions.

Hope this helps

Regards
Daniel

Daniel Lux <daniellux>
Fri 20 Jan 2006 10:49:54 PM UTC, comment #1:

Sorry for the delay...

I am not able to reproduce the problem.
There are missing header files that prevent me to compile
and see the crash.

I would prefer to have the result of the preprocessed result:

m6811-elf-gcc -E -m68hc12 -mshort arp.c

This way I don't need all the headers.

Can you send me the preprocessed result?

Stephane Carrez <ciceron>
Project AdministratorIn charge of this item.
Tue 08 Nov 2005 08:21:18 AM UTC, original submission:

Hi,

when compiling the attached code from the opentcp project, gcc segfaults.

m6811-elf-gcc -m68hc12 -mshort -Wall -Wmissing-prototypes -g -Os arp.c

regards,

Daniel Lux

P.S.
I can be reached at (daniel at starbattle dot com)

Anonymous

 

Attached Files
file #2102:  arptmp.c added by daniellux (19KiB - text/x-csrc - preprocessed file)
file #2705:  segfault.tar.bz2 added by None (15KiB - application/x-bzip - src code to generate segfault)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 9 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sat 18 Feb 2006 09:48:41 PM UTCciceronStatusIn Progress=>Fixed
  Open/ClosedOpen=>Closed
Sat 28 Jan 2006 01:07:55 PM UTCciceronStatusNeed Info=>In Progress
  Assigned toNone=>ciceron
Fri 27 Jan 2006 12:46:37 PM UTCdanielluxAttached File-=>Added arptmp.c, #3322
  Carbon-Copy-=>Added danielatstarbattledotcom
Fri 20 Jan 2006 10:50:30 PM UTCciceronStatusNone=>Need Info
Fri 20 Jan 2006 10:49:54 PM UTCciceronCarbon-Copy-=>Added -unavailable-
Tue 08 Nov 2005 08:21:19 AM UTCNoneAttached File-=>Added segfault.tar.bz2, #3089

Back to the top


Powered by Savane 3.1-cleanup1