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 authentification level.

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

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

Sat 18 Feb 2006 09:49:22 PM UTC, comment #2:

Fixed in release 3.1

Stephane Carrez <ciceron>
Project AdministratorIn charge of this item.
Sat 05 Nov 2005 08:40:29 PM UTC, 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 21 Jul 2005 05:51:09 PM UTC, 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

Anonymous

 

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 18 Feb 2006 09:49:22 PM UTCciceronStatusIn Progress=>Fixed
  Open/ClosedOpen=>Closed
Sat 05 Nov 2005 08:40:29 PM UTCciceronStatusNone=>In Progress
  Assigned toNone=>ciceron
Thu 21 Jul 2005 05:51:09 PM UTCNoneAttached File-=>Added udp.foo.c, #2729

Back to the top


Powered by Savane 3.1-cleanup