[Bug c/56602] New: ICE: internal compiler error: in default_no_named_section, at varasm.c:6346

2013-03-12 Thread alanh at fairlite dot co.uk


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



 Bug #: 56602

   Summary: ICE: internal compiler error: in

default_no_named_section, at varasm.c:6346

Classification: Unclassified

   Product: gcc

   Version: 4.7.2

Status: UNCONFIRMED

  Severity: critical

  Priority: P3

 Component: c

AssignedTo: unassig...@gcc.gnu.org

ReportedBy: al...@fairlite.co.uk





Using an m68k machine (using a.out format) trying to compile 4.7.2 and getting

the above crash having built stage1, and trying to build stage2.



It seems related to this PA bug 



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



Maybe something similar didn't happen to m68k ?


[Bug c/56602] ICE: internal compiler error: in default_no_named_section, at varasm.c:6346

2013-03-12 Thread alanh at fairlite dot co.uk


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



--- Comment #1 from Alan Hourihane  2013-03-12 
14:19:02 UTC ---

configure:3371: /j/var/tmp/portage/sys-devel/gcc-4.7.2/work/build/./gcc/xgcc

-B/j/var/tmp/portage/sys-devel/gcc-4.7.2/work/build/./gcc/

-B/usr/m68k-atari-mint/bin/ -B/usr/m68k-atari-mint/lib/ -isystem

/usr/m68k-atari-mint/include -isystem /usr/m68k-atari-mint/sys-include-o

conftest -g -O2 -pipe   conftest.c -lpthread >&5

conftest.c: In function 'main':

conftest.c:16:1: internal compiler error: in default_no_named_section, at

varasm.c:6346

Please submit a full bug report,

with preprocessed source if appropriate.

See  for instructions.


[Bug target/56602] ICE: internal compiler error: in default_no_named_section, at varasm.c:6346

2013-03-12 Thread alanh at fairlite dot co.uk


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



--- Comment #2 from Alan Hourihane  2013-03-12 
17:42:39 UTC ---

Created attachment 29656

  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29656

non-ELF m68k systems require default .text section for code


[Bug target/56602] ICE: internal compiler error: in default_no_named_section, at varasm.c:6346

2013-03-12 Thread alanh at fairlite dot co.uk


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



--- Comment #3 from Alan Hourihane  2013-03-12 
17:43:12 UTC ---

I'm trying the attached patch now, but does this look o.k. ?


[Bug c/52773] internal error: in replace_pseudos_in, at reload1.c:577

2013-04-08 Thread alanh at fairlite dot co.uk


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



--- Comment #3 from Alan Hourihane  2013-04-08 
15:52:47 UTC ---

I can't build 4.7.2 on an m68k box because of this one.


[Bug c/52773] internal error: in replace_pseudos_in, at reload1.c:577

2013-06-17 Thread alanh at fairlite dot co.uk
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52773

--- Comment #5 from Alan Hourihane  ---
any news ?


[Bug target/47908] attribute((optimize(2))) causes ICE in m68k_sched_issue_rate

2011-04-10 Thread alanh at fairlite dot co.uk
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47908

Alan Hourihane  changed:

   What|Removed |Added

 CC||alanh at fairlite dot co.uk

--- Comment #3 from Alan Hourihane  2011-04-10 
18:36:37 UTC ---
I'm also hitting this when compiling tar 1.26 with gcc 4.5.2 from Gentoo.


[Bug middle-end/43548] internal compiler error: in ggc_set_mark, at ggc-page.c:1338

2010-12-15 Thread alanh at fairlite dot co.uk
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43548

--- Comment #4 from Alan Hourihane  2010-12-15 
16:20:56 UTC ---
Created attachment 22766
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22766
preprocessed source


[Bug middle-end/43548] internal compiler error: in ggc_set_mark, at ggc-page.c:1338

2010-12-15 Thread alanh at fairlite dot co.uk
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43548

Alan Hourihane  changed:

   What|Removed |Added

  Attachment #22766|0   |1
is obsolete||

--- Comment #5 from Alan Hourihane  2010-12-15 
16:22:29 UTC ---
Created attachment 22767
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22767
preprocess source

sorry the last one was the garbled binary.


[Bug middle-end/43548] internal compiler error: in ggc_set_mark, at ggc-page.c:1338

2010-12-15 Thread alanh at fairlite dot co.uk
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43548

--- Comment #7 from Alan Hourihane  2010-12-15 
16:30:29 UTC ---
If I disable -O2 it works.


[Bug middle-end/43548] internal compiler error: in ggc_set_mark, at ggc-page.c:1338

2010-12-15 Thread alanh at fairlite dot co.uk
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43548

Alan Hourihane  changed:

   What|Removed |Added

 CC||alanh at fairlite dot co.uk

--- Comment #3 from Alan Hourihane  2010-12-15 
16:19:55 UTC ---
I'm bumping into this on m68k-atari-mint using libpcre-8.10. And although the
mint target support isn't in gcc (yet) I thought it might help this bug along.

m68k-atari-mint-g++ -DHAVE_CONFIG_H -I. -O2 -pipe -D_GNU_SOURCE -MT
pcrecpp_unittest.o -MD -MP -MF .deps/pcrecpp_unittest.Tpo -c -o
pcrecpp_unittest.o pcrecpp_unittest.cc

Internal compiler error: Error reporting routines re-entered.
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.gentoo.org/> for instructions.
{standard input}: Assembler messages:
{standard input}:4997: Warning: partial line at end of file ignored
m68k-atari-mint-g++: Internal error: Bus Error (program cc1plus)
Please submit a full bug report.
See <http://bugs.gentoo.org/> for instructions.


[Bug middle-end/43548] internal compiler error: in ggc_set_mark, at ggc-page.c:1338

2010-12-15 Thread alanh at fairlite dot co.uk
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43548

--- Comment #6 from Alan Hourihane  2010-12-15 
16:24:57 UTC ---
Ignore comment 3, wrong output. Here's the correct one.

m68k-atari-mint-g++ -DHAVE_CONFIG_H -I. -O2 -pipe -D_GNU_SOURCE -MT
pcrecpp_unittest.o -MD -MP -MF .deps/pcrecpp_unittest.Tpo -c -o
pcrecpp_unittest.o pcrecpp_unittest.cc
pcrecpp_unittest.cc: In function 'int main(int, char**)':
pcrecpp_unittest.cc:809:5: internal compiler error: in ggc_set_mark, at
ggc-page.c:1338
Please submit a full bug report,
with preprocessed source if appropriate.
See  for instructions.


[Bug c/49295] New: math-68881.h definiton of scalb doesn't match builtin

2011-06-05 Thread alanh at fairlite dot co.uk
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49295

   Summary: math-68881.h definiton of scalb doesn't match builtin
   Product: gcc
   Version: 4.5.2
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: c
AssignedTo: unassig...@gcc.gnu.org
ReportedBy: al...@fairlite.co.uk


In gcc/builtins.def we define scalb as (double, double), yet in math-68881.h we
define scalb as (double, int).

Which results in this warning.

error: conflicting types for built-in function 'scalb'

The scalb function should be fixed in math-68881.h.


[Bug target/47672] math-68881.h does not support C99

2011-06-06 Thread alanh at fairlite dot co.uk
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47672

Alan Hourihane  changed:

   What|Removed |Added

 CC||alanh at fairlite dot co.uk

--- Comment #3 from Alan Hourihane  2011-06-06 
09:02:59 UTC ---
Should math-68881.h be part of a OS's libc/libm then ?