bugGNU Development Chain for 68HC11/68HC12 - Bugs: bug #13879, gcc gets a bus error upon...


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

bug #13879: gcc gets a bus error upon compiling a file with -mshort and -O2

Submitted by:  None
Submitted on:  Thu Jul 21 17:51:09 2005  
Category: gccSeverity: 3 - Normal
Item Group: sw-bugStatus: Fixed
Privacy: PublicAssigned to: Stephane Carrez <ciceron>
Open/Closed: Closed

Sat Feb 18 21:49:22 2006, comment #2:

Fixed in release 3.1

Stephane Carrez <ciceron>
Project AdministratorIn charge of this item.
Sat Nov 5 20:40:29 2005, comment #1:

Thanks for the bug report.

Problem is understood.

I have a pending fix that solves the problem.
It will be part of 3.0.2 release.

Stephane Carrez <ciceron>
Project AdministratorIn charge of this item.
Thu Jul 21 17:51:09 2005, original submission:

if -mshort is not used, or an optimization level < -O2 (or -Os) is used, the attached file comiles files. otherwise:
m68hc12-elf-gcc -mshort -O2 -c udp.foo.c
/Users/jgurney/work/hcs12/src/sereth/contrib/udp.c: In function `udp_getsocket':
/Users/jgurney/work/hcs12/src/sereth/contrib/udp.c:218: internal compiler error: Bus error
Please submit a full bug report,with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

This is with 3.0.1 release.

m68hc12-elf-gcc -v
Reading specs from /Users/jgurney/work/hcs12/gnu-m68hc11/tools/lib/gcc-lib/m68hc12-elf/3.3.5-m68hc1x-20050515/specs
Configured with: ./configure --target=m68hc12-elf --prefix=/Users/jgurney/work/hcs12/gnu-m68hc11/tools --program-prefix=m68hc12-elf- --enable-languages=c
Thread model: single
gcc version 3.3.5-m68hc1x-20050515

The host platform is MacOSX 10.3.9, but I also see this on FreeBSD 5.4-R



Attached Files
file #3258:  udp.foo.c added by None (18kB - text/plain - post preprocessed C file that causes gcc to bus error)


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 5 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sat Feb 18 21:49:22 2006ciceronStatusIn Progress=>Fixed
Sat Nov 5 20:40:29 2005ciceronStatusNone=>In Progress
  Assigned toNone=>ciceron
Thu Jul 21 17:51:09 2005NoneAttached File-=>Added udp.foo.c, #2729

Back to the top

Powered by Savane 3.1-cleanup1