[Bug java/32247] -Wall enables -Wunused enables -Wunused-parameter

2013-03-19 Thread fche at redhat dot com


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



Frank Ch. Eigler fche at redhat dot com changed:



   What|Removed |Added



 CC||fche at redhat dot com



--- Comment #14 from Frank Ch. Eigler fche at redhat dot com 2013-03-19 
23:50:18 UTC ---

no comment


[Bug target/52187] armeb-unknown-eabi not recognized as big-endian

2013-03-19 Thread pinskia at gcc dot gnu.org


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



Andrew Pinski pinskia at gcc dot gnu.org changed:



   What|Removed |Added



   Keywords||build

 Status|NEW |RESOLVED

 Resolution||FIXED

   Target Milestone|--- |4.8.0



--- Comment #6 from Andrew Pinski pinskia at gcc dot gnu.org 2013-03-20 
00:44:45 UTC ---

Fixed by:

2013-02-22  Seth LaForge  set...@google.com



* config.gcc (arm*-*-eabi*): Treat arm*eb as big-endian.


[Bug testsuite/54622] gcc.dg/vect test failures for arm big-endian

2013-03-19 Thread pinskia at gcc dot gnu.org


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



Andrew Pinski pinskia at gcc dot gnu.org changed:



   What|Removed |Added



 Status|UNCONFIRMED |NEW

   Last reconfirmed||2013-03-20

 Ever Confirmed|0   |1



--- Comment #9 from Andrew Pinski pinskia at gcc dot gnu.org 2013-03-20 
00:45:42 UTC ---

Confirmed.


[Bug target/16350] gcc only understands little endian ARM systems

2013-03-19 Thread pinskia at gcc dot gnu.org


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



Andrew Pinski pinskia at gcc dot gnu.org changed:



   What|Removed |Added



 Status|NEW |RESOLVED

 Resolution||FIXED

   Target Milestone|--- |4.8.0

  Known to fail||



--- Comment #32 from Andrew Pinski pinskia at gcc dot gnu.org 2013-03-20 
00:46:30 UTC ---

Fixed for 4.8.


[Bug rtl-optimization/23650] Scheduler does not handle zero_extract correctly

2013-03-19 Thread pinskia at gcc dot gnu.org


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



Andrew Pinski pinskia at gcc dot gnu.org changed:



   What|Removed |Added



 Status|WAITING |RESOLVED

 Resolution||INVALID



--- Comment #11 from Andrew Pinski pinskia at gcc dot gnu.org 2013-03-20 
00:48:42 UTC ---

No feedback in over an year so closing.


[Bug c++/56652] Wrong code in O2 - if in inline function

2013-03-19 Thread redi at gcc dot gnu.org


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



Jonathan Wakely redi at gcc dot gnu.org changed:



   What|Removed |Added



 Status|UNCONFIRMED |RESOLVED

 Resolution||INVALID

   Severity|major   |normal



--- Comment #6 from Jonathan Wakely redi at gcc dot gnu.org 2013-03-20 
00:49:45 UTC ---

Invalid, thanks, Markus


[Bug target/53325] arm-rtems switch default target to EABI

2013-03-19 Thread pinskia at gcc dot gnu.org


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



Andrew Pinski pinskia at gcc dot gnu.org changed:



   What|Removed |Added



 Status|WAITING |RESOLVED

 Resolution||FIXED

   Target Milestone|--- |4.8.0



--- Comment #6 from Andrew Pinski pinskia at gcc dot gnu.org 2013-03-20 
00:54:12 UTC ---

Fixed for 4.8.


[Bug fortran/56655] New: Associate construct with OpenMP triggers ICE

2013-03-19 Thread townsend at astro dot wisc.edu

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

 Bug #: 56655
   Summary: Associate construct with OpenMP triggers ICE
Classification: Unclassified
   Product: gcc
   Version: 4.8.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: fortran
AssignedTo: unassig...@gcc.gnu.org
ReportedBy: towns...@astro.wisc.edu


Created attachment 29692
  -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=29692
Test source file to reproduce the error

Attempting to compile the attached file with

gfortran -fopenmp -c openmp_ice.f90

...gives the following result:

openmp_ice.f90: In function ‘sub’:
openmp_ice.f90:8:0: internal compiler error: in omp_add_variable, at
gimplify.c:5894
   associate(x_a = x)
 ^

openmp_ice.f90:8:0: internal compiler error: Abort trap: 6
gfortran.exec: internal compiler error: Abort trap: 6 (program f951)
/Applications/madsdk/bin/gfortran: line 7: 16428 Abort trap: 6  
/Applications/madsdk/bin/gfortran.exec -fopenmp -c openmp_ice.f90

This may be related to PR 56062. My system:

Using built-in specs.
COLLECT_GCC=/Applications/madsdk/bin/gfortran.exec
COLLECT_LTO_WRAPPER=/Applications/madsdk/libexec/gcc/x86_64-apple-darwin11.4.2/4.8.0/lto-wrapper
Target: x86_64-apple-darwin11.4.2
Configured with: ./configure CC='gcc -D_FORTIFY_SOURCE=0'
--build=x86_64-apple-darwin11.4.2 --prefix=/Applications/madsdk
--with-gmp=/Applications/madsdk --with-mpfr=/Applications/madsdk
--with-mpc=/Applications/madsdk --enable-languages=c,c++,fortran
--disable-multilib
Thread model: posix
gcc version 4.8.0 20130307 (experimental) (GCC)

[Bug libgcc/56656] New: Suffix or operands invalid for 'movq'

2013-03-19 Thread townsend at astro dot wisc.edu


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



 Bug #: 56656

   Summary: Suffix or operands invalid for 'movq'

Classification: Unclassified

   Product: gcc

   Version: 4.8.0

Status: UNCONFIRMED

  Severity: normal

  Priority: P3

 Component: libgcc

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

ReportedBy: towns...@astro.wisc.edu





When attempting to compile the svn-fetched 4.8.0, I get the following error

during configuration:



/Volumes/Kleiner-Data/madsdk-src/gcc/host-x86_64-apple-darwin11.4.2/gcc/xgcc

-B/Volumes/Kleiner-Data/madsdk-src/gcc/host-x86_64-apple-darwin11.4.2/gcc/   -g

-O2 -O2  -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual

-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem

./include   -pipe -fno-common -g -DIN_LIBGCC2 -fbuilding-libgcc

-fno-stack-protector   -pipe -fno-common -I. -I.

-I../../host-x86_64-apple-darwin11.4.2/gcc -I../.././libgcc -I../.././libgcc/.

-I../.././libgcc/../gcc -I../.././libgcc/../include  -DHAVE_CC_TLS -DUSE_EMUTLS

-o extenddftf2_s.o -MT extenddftf2_s.o -MD -MP -MF extenddftf2_s.dep -DSHARED 

-c ../.././libgcc/soft-fp/extenddftf2.c

../.././libgcc/soft-fp/extenddftf2.c:35:8: warning: no previous prototype for

'__extenddftf2' [-Wmissing-prototypes]

 TFtype __extenddftf2(DFtype a)

^

:47:suffix or operands invalid for `movq'

:50:suffix or operands invalid for `movq'

make[3]: *** [extenddftf2_s.o] Error 1

make[2]: *** [all-stage1-target-libgcc] Error 2

make[1]: *** [stage1-bubble] Error 2

make: *** [all] Error 2



The configure uses the following:



./configure CC=gcc -D_FORTIFY_SOURCE=0 --build=x86_64-apple-darwin11.4.2

--prefix=/Applications/madsdk --with-gmp=/Applications/madsdk

--with-mpfr=/Applications/madsdk --with-mpc=/Applications/madsdk

--enable-languages=c,c++,fortran --disable-multilib



This is running on OS X Lion (10.7.5).


[Bug libgcc/56656] Suffix or operands invalid for 'movq'

2013-03-19 Thread pinskia at gcc dot gnu.org


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



--- Comment #1 from Andrew Pinski pinskia at gcc dot gnu.org 2013-03-20 
02:08:21 UTC ---

Can you try to compile it out of the src directory in another directory?  I

think that is what is causing it.


[Bug libgcc/56656] Suffix or operands invalid for 'movq'

2013-03-19 Thread townsend at astro dot wisc.edu


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



--- Comment #2 from Rich Townsend townsend at astro dot wisc.edu 2013-03-20 
02:11:30 UTC ---

(In reply to comment #1)

 Can you try to compile it out of the src directory in another directory?  I

 think that is what is causing it.



Could you clarify what you mean -- are you saying, for instance, make a

separate directory gcc.build, and from within that directory run 'make -C

../gcc'?


[Bug libgcc/56656] Suffix or operands invalid for 'movq'

2013-03-19 Thread pinskia at gcc dot gnu.org


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



--- Comment #3 from Andrew Pinski pinskia at gcc dot gnu.org 2013-03-20 
02:16:24 UTC ---

svn co svn://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch gcc-src

mkdir gcc-objdir

cd gcc-objdir

../gcc-src/configure 

make





If that does not work then can you try adding the following to configure

command line:

--host=x86_64-apple-darwin11.4.2 --target=x86_64-apple-darwin11.4.2





 --disable-multilib



Also why do you do that?


[Bug middle-end/56657] New: [GCC 4.6/4.7] ICE - error: unrecognizable insn.

2013-03-19 Thread nkbj1970 at hotmail dot com


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



 Bug #: 56657

   Summary: [GCC 4.6/4.7] ICE - error: unrecognizable insn.

Classification: Unclassified

   Product: gcc

   Version: 4.7.2

Status: UNCONFIRMED

  Severity: major

  Priority: P3

 Component: middle-end

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

ReportedBy: nkbj1...@hotmail.com

Target: *-*-mingw32





Created attachment 29693

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

Test case.



I got this ICE when cross-building UFRaw (http://ufraw.sourceforge.net) for

Windows using MXE (http://mxe.cc). I have tried GCC 4.7.2, 4.7.0, 4.6.3, and

4.6.0. All crash with the same error. GCC 4.5.4 works.



The output is:

  CC ufraw_writer.o

ufraw_writer.c: In function 'ufraw_write_image':

ufraw_writer.c:790:1: error: unrecognizable insn:

(insn 214 213 215 19 (set (mem/v/f/c:SI (plus:SI (reg/f:SI 54

virtual-stack-vars)

(const_int -656 [0xfd70])) [2 out+0 S4 A64])

(const:SI (plus:SI (symbol_ref:SI (_iob) [flags 0x440] var_decl

0x2b94ad99ed20 _iob)

(const_int 32 [0x20] ufraw_writer.c:334 -1

 (nil))

ufraw_writer.c:790:1: internal compiler error: in extract_insn, at recog.c:2123

Please submit a full bug report,

with preprocessed source if appropriate.

See http://gcc.gnu.org/bugs.html for instructions.

make[2]: *** [ufraw_writer.o] Error 1



I have attached a small test case which also shows the error compiled with

'i686-pc-mingw32-g++ -c insn.cc' (it happens for both c and c++ code):

insn.cc: In function 'void f()':

insn.cc:3:29: error: unrecognizable insn:

(insn 8 7 9 3 (set (mem/v/f/c:SI (symbol_ref:SI (_ZL2fd) [flags 0x2]

var_decl 0x7f5562fae780 fd) [0 fd+0 S4 A32])

(const:SI (plus:SI (symbol_ref:SI (_iob) [flags 0x440] var_decl

0x7f5562fae140 _iob)

(const_int 32 [0x20] insn.cc:3 -1

 (nil))

insn.cc:3:29: internal compiler error: in extract_insn, at recog.c:2123

Please submit a full bug report,

with preprocessed source if appropriate.

See http://gcc.gnu.org/bugs.html for instructions.



Best regards,

Niels Kristian Bech Jensen


gcc 4.6.2 cannot find include header

2013-03-19 Thread Pan ruochen
Hi All,

I get compilation errors in the following case:
a. Current directory is TopDir
b. gcc tries to compile some source file in sub directory SubDir
c. the source file includes a header file in TopDir
d. -I./ flag is set

gcc still reports: fatal error: xxx.h: No such file or directory

My gcc version information is as followed:
Using built-in specs.
COLLECT_GCC=C:\MinGW\bin\gcc.exe
COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/4.6.2/lto-wrapper.exe
Target: mingw32
Configured with: ../gcc-4.6.2/configure
--enable-languages=c,c++,ada,fortran,objc,obj-c++
--disable-sjlj-exceptions --with-dwarf2 --enable-shared
--enable-libgomp --disable-win32-registry --enable-libstdcxx-debug
--enable-version-specific-runtime-libs --build=mingw32 --prefix=/mingw
Thread model: win32
gcc version 4.6.2 (GCC)

The error cannot be seen in any older version. The sample source and
makefile is attached.

BR, Ruochen


gcc-4.6.2-bug.tar.bz2
Description: BZip2 compressed data


[Bug libgcc/56656] Suffix or operands invalid for 'movq'

2013-03-19 Thread townsend at astro dot wisc.edu


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



--- Comment #4 from Rich Townsend townsend at astro dot wisc.edu 2013-03-20 
04:20:56 UTC ---

(In reply to comment #3)

 svn co svn://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch gcc-src

 mkdir gcc-objdir

 cd gcc-objdir

 ../gcc-src/configure 

 make



No change



 

 

 If that does not work then can you try adding the following to configure

 command line:

 --host=x86_64-apple-darwin11.4.2 --target=x86_64-apple-darwin11.4.2

 



No change



 

  --disable-multilib

 

 Also why do you do that?



I forget ;)


[Bug middle-end/56657] [GCC 4.6/4.7] ICE - error: unrecognizable insn.

2013-03-19 Thread nkbj1970 at hotmail dot com


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



--- Comment #1 from Niels Kristian Bech Jensen nkbj1970 at hotmail dot com 
2013-03-20 04:59:56 UTC ---

Created attachment 29694

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

Output from '-save-temps'


[Bug middle-end/56657] [GCC 4.6/4.7] ICE - error: unrecognizable insn.

2013-03-19 Thread nkbj1970 at hotmail dot com


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



--- Comment #2 from Niels Kristian Bech Jensen nkbj1970 at hotmail dot com 
2013-03-20 05:00:40 UTC ---

Created attachment 29695

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

Output from '-save-temps'


[Bug middle-end/56657] [GCC 4.6/4.7] ICE - error: unrecognizable insn.

2013-03-19 Thread nkbj1970 at hotmail dot com


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



--- Comment #3 from Niels Kristian Bech Jensen nkbj1970 at hotmail dot com 
2013-03-20 05:03:00 UTC ---

Doh. I forgot to attach the output from '-save-temps'.



I am not sure about the 'middle-end' component. Please change to the correct

one if I am wrong.



Best regards,

Niels Kristian Bech Jensen


[Bug bootstrap/56644] --disable-nls requires symbols from libintl

2013-03-19 Thread rolf.ebert.gcc at gmx dot de


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



Rolf Ebert rolf.ebert.gcc at gmx dot de changed:



   What|Removed |Added



 Target||mingw

   Host||mingw

  Build||mingw



--- Comment #2 from Rolf Ebert rolf.ebert.gcc at gmx dot de 2013-03-20 
05:26:51 UTC ---

configure options:



../gcc-${GCC_VERSION}/configure \

   --disable-libgomp \

   --disable-libstdc++-v3 \

   --enable-libada \

   --host=mingw32 \

   --build=mingw32 \

   --target=mingw32 \

   --disable-werror \

   --prefix=/mingw/local \

   --disable-nls \

   --with-dwarf2 \

   --enable-languages=c,c++,ada \

   --disable-win32-registry \

   --enable-concept-checks \

   --enable-version-specific-runtime-libs \

   --with-bugurl=http://localhost/ \

   --with-gmp=/mingw \

   --with-mpfr=/mingw \

   --with-mpc=/mingw \

   --disable-shared \

   --disable-sjlj-exceptions \

   --with-arch=pentium \

   --with-cpu=pentium \

${LOG} 21



make CFLAGS=-D__USE_MINGW_ACCESS CXXFLAGS=-mthreads

LDFLAGS=-Wl,--stack=0x280  ${LOG} 21





end of the log file:



mingw32-g++   -mthreads -DIN_GCC   -fno-exceptions -fno-rtti

-fasynchronous-unwind-tables -W -Wall -Wwrite-strings -Wcast-qual

-Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros

-Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H -static-libstdc++

-static-libgcc -Wl,--stack=0x280 -o cc1.exe c/c-lang.o c-family/stub-objc.o

attribs.o c/c-errors.o c/c-decl.o c/c-typeck.o c/c-convert.o c/c-aux-info.o

c/c-objc-common.o c/c-parser.o c-family/c-common.o c-family/c-cppbuiltin.o

c-family/c-dump.o c-family/c-format.o c-family/c-gimplify.o c-family/c-lex.o

c-family/c-omp.o c-family/c-opts.o c-family/c-pch.o c-family/c-ppoutput.o

c-family/c-pragma.o c-family/c-pretty-print.o c-family/c-semantics.o

c-family/c-ada-spec.o tree-mudflap.o i386-c.o msformat-c.o default-c.o \

  cc1-checksum.o libbackend.a main.o tree-browser.o libcommon-target.a

libcommon.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a libcommon.a

../libcpp/libcpp.a  -liconv ../libbacktrace/.libs/libbacktrace.a

../libiberty/libiberty.a ../libdecnumber/libdecnumber.a   -L/mingw/lib

-L/mingw/lib -L/mingw/lib -lmpc -lmpfr -lgmp   -L../zlib -lz

c/c-decl.o:c-decl.c:(.text+0x921): undefined reference to `libintl_fprintf'

c/c-typeck.o:c-typeck.c:(.text+0x1ade4): undefined reference to

`libintl_sprintf'

c-family/c-common.o:c-common.c:(.text+0xbd5): undefined reference to

`libintl_snprintf'

c-family/c-common.o:c-common.c:(.text+0x30e44): undefined reference to

`libintl_sprintf'

c-family/c-common.o:c-common.c:(.text+0x31cd3): undefined reference to

`libintl_snprintf'

c-family/c-common.o:c-common.c:(.text+0x31de8): undefined reference to

`libintl_snprintf'

c-family/c-common.o:c-common.c:(.text+0x31e7a): undefined reference to

`libintl_snprintf'

c-family/c-common.o:c-common.c:(.text+0x3a2f1): undefined reference to

`libintl_sprintf'

c-family/c-lex.o:c-lex.c:(.text+0x283): undefined reference to

`libintl_fprintf'

c-family/c-lex.o:c-lex.c:(.text+0x2f3): undefined reference to

`libintl_fprintf'

c-family/c-lex.o:c-lex.c:(.text+0x30b): undefined reference to

`libintl_fprintf'

c-family/c-opts.o:c-opts.c:(.text+0x1b19): undefined reference to

`libintl_fprintf'

c-family/c-pretty-print.o:c-pretty-print.c:(.text+0xf39): undefined reference

to `libintl_sprintf'

c-family/c-pretty-print.o:c-pretty-print.c:(.text+0x101e): undefined reference

to `libintl_sprintf'

c-family/c-pretty-print.o:c-pretty-print.c:(.text+0x1428): undefined reference

to `libintl_sprintf'

c-family/c-pretty-print.o:c-pretty-print.c:(.text+0x1a21): undefined reference

to `libintl_sprintf'

c-family/c-pretty-print.o:c-pretty-print.c:(.text+0x24f2): undefined reference

to `libintl_sprintf'

c-family/c-pretty-print.o:c-pretty-print.c:(.text+0x272d): more undefined

references to `libintl_sprintf' follow

libbackend.a(coverage.o):coverage.c:(.text+0x4279): undefined reference to

`libintl_fprintf'

libbackend.a(coverage.o):coverage.c:(.text+0x43f9): undefined reference to

`libintl_sprintf'

libbackend.a(coverage.o):coverage.c:(.text+0x46d8): undefined reference to

`libintl_sprintf'

libbackend.a(cgraph.o):cgraph.c:(.text+0x2250): undefined reference to

`libintl_fprintf'

libbackend.a(cgraph.o):cgraph.c:(.text+0x229b): undefined reference to

`libintl_fprintf'

libbackend.a(cgraph.o):cgraph.c:(.text+0x2448): undefined reference to

`libintl_fprintf'

libbackend.a(cgraph.o):cgraph.c:(.text+0x3060): undefined reference to

`libintl_fprintf'

libbackend.a(cgraph.o):cgraph.c:(.text+0x309c): undefined reference to

`libintl_fprintf'

libbackend.a(cgraph.o):cgraph.c:(.text+0x30ce): more undefined references to

`libintl_fprintf' follow