Re: Automated Toolchain Building and Testing

2013-08-28 Thread Sebastian Huber
Hello, you can also use a cross compiler and run the tests on a simulator or remote target. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : sebastian.hu...@embedded-brains.de PGP

dynamic plugin in c++

2013-08-28 Thread avantikagupta
hi, i am writing a dynamic plugin, however, sometimes it run succesfully and sometimes it give following error: /home/avantika/Downloads/gcc/gccpackage/install/bin/g++ -o result -flto -fplugin=./plugin.so test1.o -O3 -fdump-ipa-all In function ‘main’: lto1: internal compiler error: in

Re: [RFC] Offloading Support in libgomp

2013-08-28 Thread Jakub Jelinek
On Tue, Aug 27, 2013 at 03:55:38PM +0400, Michael V. Zolotukhin wrote: What I meant was just that if you call GOMP_target with num_descs N, then the structure will look like: struct .omp_target_data { sometype0 *var0; sometype1 *var1; ... sometypeNminus1 *varNminus1; };

Re: all_ones_mask_p clarification

2013-08-28 Thread Richard Biener
On Tue, Aug 27, 2013 at 5:47 PM, Mike Stump mikest...@comcast.net wrote: On Aug 27, 2013, at 3:23 AM, Richard Biener richard.guent...@gmail.com wrote: +++ b/gcc/fold-const.c @@ -3702,12 +3702,23 @@ all_ones_mask_p (const_tree mask, int size) This should instead use return

Re: dynamic plugin in c++

2013-08-28 Thread Richard Biener
On Wed, Aug 28, 2013 at 10:05 AM, avantikagupta avantikagu...@cse.iitb.ac.in wrote: hi, i am writing a dynamic plugin, however, sometimes it run succesfully and sometimes it give following error: /home/avantika/Downloads/gcc/gccpackage/install/bin/g++ -o result -flto

Re: dynamic plugin in c++

2013-08-28 Thread Jakub Jelinek
On Wed, Aug 28, 2013 at 01:35:45PM +0530, avantikagupta wrote: i am writing a dynamic plugin, First start with compiling the plugin with warnings, I bet the compiler would tell you: static unsigned int

Re: [RFC] Offloading Support in libgomp

2013-08-28 Thread Richard Biener
On Mon, Aug 26, 2013 at 1:59 PM, Michael V. Zolotukhin michael.v.zolotuk...@gmail.com wrote: No need for the device and handler IMHO, each vector would correspond to one function call (GOMP_target, GOMP_target_data or GOMP_target_update) and all those calls would be called with device id.

Re: [RFC] Offloading Support in libgomp

2013-08-28 Thread Jakub Jelinek
On Wed, Aug 28, 2013 at 12:39:00PM +0200, Richard Biener wrote: So, here is the original code: #pragma omp declare target int v = 6; int tgt () { #pragma omp atomic update v++; return 0; } #pragma omp end declare target float bar (int x,

Re: [RFC] Offloading Support in libgomp

2013-08-28 Thread Richard Biener
On Wed, Aug 28, 2013 at 1:06 PM, Jakub Jelinek ja...@redhat.com wrote: On Wed, Aug 28, 2013 at 12:39:00PM +0200, Richard Biener wrote: So, here is the original code: #pragma omp declare target int v = 6; int tgt () { #pragma omp atomic update v++; return 0;

Re: [RFC] Offloading Support in libgomp

2013-08-28 Thread Jakub Jelinek
On Wed, Aug 28, 2013 at 01:21:53PM +0200, Richard Biener wrote: My thought was that we need to have control over scheduling and thus have a single runtime to be able to execute the following in parallel on the accelerator and the CPU: #pragma omp parallel { #pragma omp target for (;;)

Re: [RFC] Offloading Support in libgomp

2013-08-28 Thread Torvald Riegel
On Wed, 2013-08-28 at 13:06 +0200, Jakub Jelinek wrote: On Wed, Aug 28, 2013 at 12:39:00PM +0200, Richard Biener wrote: From the accelerator BOF video I gather we agreed on using the GOMP representation as unified middle-end. What I didn't get is whether we agreed on libgomp being the

Re: [RFC] Offloading Support in libgomp

2013-08-28 Thread Torvald Riegel
On Wed, 2013-08-28 at 13:21 +0200, Richard Biener wrote: On Wed, Aug 28, 2013 at 1:06 PM, Jakub Jelinek ja...@redhat.com wrote: On Wed, Aug 28, 2013 at 12:39:00PM +0200, Richard Biener wrote: From the accelerator BOF video I gather we agreed on using the GOMP representation as unified

Re: dynamic plugin in c++

2013-08-28 Thread avantikagupta
thanks, adding return statement solves the problem. On 2013-08-28 15:32, Jakub Jelinek wrote: On Wed, Aug 28, 2013 at 01:35:45PM +0530, avantikagupta wrote: i am writing a dynamic plugin, First start with compiling the plugin with warnings, I bet the compiler would tell you: static

Re: Automated Toolchain Building and Testing

2013-08-28 Thread Samuel Mi
Hi Jan, Looks like you for now have been trying to find out a solution suitable for you to automatically build GCC from source combined with certain continuous systems like Jenkins. As a matter of fact, Jenkins is exactly a good choice to do such thing just mentioned, due to itself with so many

Re: Automated Toolchain Building and Testing

2013-08-28 Thread Jan-Benedict Glaw
On Wed, 2013-08-28 23:26:29 +0800, Samuel Mi samuel.mi...@gmail.com wrote: Looks like you for now have been trying to find out a solution suitable for you to automatically build GCC from source combined with certain continuous systems like Jenkins. As a matter of fact, Jenkins is exactly a

Re: all_ones_mask_p clarification

2013-08-28 Thread Mike Stump
On Aug 28, 2013, at 2:40 AM, Richard Biener richard.guent...@gmail.com wrote: Digging shows I at one point removed all this code - but people objected and I had to revert it :/ [ oh,, sorry to hear ] I got rid of it as well, and then the test suite beat on me til I relented. I suppose this

Re: Automated Toolchain Building and Testing

2013-08-28 Thread Samuel Mi
I'm not too sure if Jenkins is actually a good choice, just because I question that there's a working Java especially for old Unix-alike systems that GCC still (in theory) supports. What about eg. older IRIX or Ultrix systems? I have no such experience on running jenkins under java runtime on

Re: Automated Toolchain Building and Testing

2013-08-28 Thread Jan-Benedict Glaw
On Thu, 2013-08-29 02:43:54 +0800, Samuel Mi samuel.mi...@gmail.com wrote: ...or can you, instead of using the Java-based client part of Jenkins, issue all commands over a SSH (or maybe even Telnet...) session? Is there a module for this available? If making jenkins running on target

Question about local register variable

2013-08-28 Thread Jing Yu
Hi, I am wondering if the following piece of code is supposed to be valid. void* reg_v13() { register void* r __asm__ (r13); return r; } I did test with gcc on powerpc64, and confirmed that the function really returns r13 (thread pointer) value. However, LLVM issues a warning complaining

Re: Question about local register variable

2013-08-28 Thread DJ Delorie
The purpose of local register variables is to tell gcc which register to use in an inline asm, when multiple registers could be used. Other uses are not supported and usually don't work the way you expect, especially when optimizing. If all you want is a function which returns the value in a

Re: Automated Toolchain Building and Testing

2013-08-28 Thread Samuel Mi
On Thu, Aug 29, 2013 at 2:54 AM, Jan-Benedict Glaw jbg...@lug-owl.de wrote: On Thu, 2013-08-29 02:43:54 +0800, Samuel Mi samuel.mi...@gmail.com wrote: ...or can you, instead of using the Java-based client part of Jenkins, issue all commands over a SSH (or maybe even Telnet...) session? Is

Re: Automated Toolchain Building and Testing

2013-08-28 Thread Dan Kegel
On Wed, Aug 28, 2013 at 5:52 PM, Samuel Mi samuel.mi...@gmail.com wrote: This looks like a SSH connector for the Jenkins server side, no? No. Actually, Jenkins implements a built-in SSH server within itself. Doesn't really help platforms that can boot linux but that don't have a sufficient

Re: Automated Toolchain Building and Testing

2013-08-28 Thread Paul_Koning
On Aug 28, 2013, at 8:52 PM, Samuel Mi samuel.mi...@gmail.com wrote: On Thu, Aug 29, 2013 at 2:54 AM, Jan-Benedict Glaw jbg...@lug-owl.de wrote: On Thu, 2013-08-29 02:43:54 +0800, Samuel Mi samuel.mi...@gmail.com wrote: ...or can you, instead of using the Java-based client part of Jenkins,

[Bug fortran/41209] Add full ATTRIBUTE support to gfortran (ALIGN, (WEAK)ALIAS, ...)

2013-08-28 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41209 --- Comment #9 from Tobias Burnus burnus at gcc dot gnu.org --- For ALIGN, we should consider following Intel's compiler by also using it for ALLOCATE and not only for static arrays; cf.

[Bug other/56811] [4.8/4.9 Regression] libbacktrace causes undefined symbol _Unwind_GetIPInfo on ia64-hpux

2013-08-28 Thread misty at brew dot sh
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56811 --- Comment #7 from Misty De Meo misty at brew dot sh --- Checking the GCC database, I noticed a similar issue regarding GCC 4.4.3: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47609 Checking the symbol list in libgcc_s and libstdc++, I can see

[Bug middle-end/57748] [4.8/4.9 Regression] ICE when expanding assignment to unaligned zero-sized array

2013-08-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57748 --- Comment #19 from Richard Biener rguenth at gcc dot gnu.org --- Barking up wrong trees. Hacky fix looks like: Index: gcc/expr.c === --- gcc/expr.c (revision 202043) +++

[Bug middle-end/31279] Uninitialized warning for call-by-reference arguments with known intent(in)

2013-08-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31279 Bug 31279 depends on bug 31094, which changed state. Bug 31094 Summary: Support annotating function parameters as read-only and/or non-escaping http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31094 What|Removed

[Bug c/31893] Please provide an inout attribute for function parameters.

2013-08-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31893 Bug 31893 depends on bug 31094, which changed state. Bug 31094 Summary: Support annotating function parameters as read-only and/or non-escaping http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31094 What|Removed

[Bug middle-end/31094] Support annotating function parameters as read-only and/or non-escaping

2013-08-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31094 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Status|WAITING |RESOLVED

[Bug fortran/31593] Invariant DO loop variables and subroutines

2013-08-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31593 Bug 31593 depends on bug 31094, which changed state. Bug 31094 Summary: Support annotating function parameters as read-only and/or non-escaping http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31094 What|Removed

[Bug middle-end/56977] gcc -Og incorrectly warns about 'constant zero length parameter'

2013-08-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56977 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug tree-optimization/50955] [4.7 Regression] IVopts incorrectly rewrite the address of a global memory access into a local form.

2013-08-28 Thread rguenther at suse dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50955 --- Comment #16 from rguenther at suse dot de rguenther at suse dot de --- On Fri, 16 Aug 2013, pinskia at gcc dot gnu.org wrote: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50955 --- Comment #15 from Andrew Pinski pinskia at gcc dot gnu.org

[Bug middle-end/57287] [4.9 Regression] Bogous uninitialized warning with abnormal control flow

2013-08-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57287 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Keywords||diagnostic

[Bug target/57927] -march=core-avx2 different than -march=native on INTEL Haswell (i7-4700K)

2013-08-28 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57927 Uroš Bizjak ubizjak at gmail dot com changed: What|Removed |Added Target||x86

[Bug middle-end/58106] ICE: in ipa_edge_duplication_hook, at ipa-prop.c:2839

2013-08-28 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58106 --- Comment #3 from Martin Jambor jamborm at gcc dot gnu.org --- Created attachment 30708 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=30708action=edit Patch The problem is that the rdesc chain creation mechanism cannot handle the case

[Bug middle-end/57748] [4.8/4.9 Regression] ICE when expanding assignment to unaligned zero-sized array

2013-08-28 Thread bernd.edlinger at hotmail dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57748 --- Comment #20 from Bernd Edlinger bernd.edlinger at hotmail dot de --- (In reply to Richard Biener from comment #19) volatile bitfield case to be audited as well: /* If the bitfield is volatile, we want to access it in the

[Bug c++/58201] [4.9 Regression] Undefined reference to `B::B(void const**)'

2013-08-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58201 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.9.0

[Bug fortran/58182] [4.9 Regression] ICE with global binding name used as a FUNCTION

2013-08-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58182 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.9.0

[Bug libstdc++/58148] [4.9 Regression] Fails to insert iterator range into sequence container with -D_GLIBCXX_DEBUG when conversion is needed

2013-08-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58148 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.9.0

[Bug rtl-optimization/57422] [4.9 Regression] ICE: SIGSEGV in dominated_by_p with custom flags

2013-08-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57422 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.9.0

[Bug middle-end/58024] [4.9 Regression] segfault with -fopenmp

2013-08-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58024 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.9.0

[Bug tree-optimization/58121] [4.9 regression] FAIL: cc1224a

2013-08-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58121 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.9.0

[Bug c++/57945] [4.9 Regression] ICE: in varpool_get_node, at cgraph.h:840

2013-08-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57945 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.9.0

[Bug bootstrap/58242] [4.9 regression] linux-android.c:40:7: error: 'OPTION_BIONIC' was not declared in this scope breaks bootstrap on powerpc64-linux

2013-08-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58242 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.9.0

[Bug fortran/58026] [4.9 Regression] [OOP] ICE in generate_finalization_wrapper, at fortran/class.c:1521

2013-08-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58026 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.9.0

[Bug regression/58221] [4.9 Regression]: Immense amount of execution regressions and increased test-time for cris-elf

2013-08-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58221 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.9.0

[Bug ada/58239] [4.9 regression] pretty-print.c:789: undefined reference to `operator delete(void*)'

2013-08-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58239 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.9.0

[Bug middle-end/58094] [4.9 Regression] IPA devirt testsuite errors

2013-08-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58094 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.9.0

[Bug tree-optimization/57732] [4.8/4.9 Regression] ICE (segfault in libisl) building drizzle on 32bit targets (at least arm-linux and i586-linux)

2013-08-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57732 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.8.2

[Bug middle-end/57955] [4.7/4.8/4.9 Regression] Uniquization of constants reduces alignment of initializers

2013-08-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57955 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.7.4

[Bug middle-end/58134] [4.8/4.9 Regression] -ftree-vectorizer-verbose=n shows vectorized loops only for N== 1 and N 2 but not for N==2

2013-08-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58134 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.8.2

[Bug c++/58207] [4.8/4.9 Regression] ICE in sort_constexpr_mem_initializers due to out of bounds vector access

2013-08-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58207 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.8.2

[Bug rtl-optimization/57967] [4.7 regresssion] Incorrect code generated on ARM with -fexpensive-optimizations

2013-08-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57967 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.7.4

[Bug gcov-profile/58250] -fprofile-use causes: warning: -fprefetch-loop-arrays is not supported with -Os

2013-08-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58250 --- Comment #1 from Richard Biener rguenth at gcc dot gnu.org --- (In reply to Markus Trippelsdorf from comment #0) Just noticed this issue during a PGO/LTO Firefox build. During the -fprofile-use phase I always get the following warning:

[Bug gcov-profile/58250] -fprofile-use causes: warning: -fprefetch-loop-arrays is not supported with -Os

2013-08-28 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58250 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added CC||jakub at gcc dot

[Bug middle-end/58257] New: [4.8/4.9 Regression] Bogus warning with OpenMP collapsed loops

2013-08-28 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58257 Bug ID: 58257 Summary: [4.8/4.9 Regression] Bogus warning with OpenMP collapsed loops Product: gcc Version: 4.8.1 Status: UNCONFIRMED Keywords: openmp

[Bug middle-end/58257] [4.8/4.9 Regression] Bogus warning with OpenMP collapsed loops

2013-08-28 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58257 Marek Polacek mpolacek at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug middle-end/58257] [4.8/4.9 Regression] Bogus warning with OpenMP collapsed loops

2013-08-28 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58257 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug middle-end/58257] [4.8/4.9 Regression] Bogus warning with OpenMP collapsed loops

2013-08-28 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58257 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug c++/58255] [C++11] explicit delegating constructor with no arguments wrongly rejected

2013-08-28 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58255 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED

[Bug c++/58255] [C++11] explicit delegating constructor with no arguments wrongly rejected

2013-08-28 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58255 --- Comment #2 from Paolo Carlini paolo.carlini at oracle dot com --- I'm finishing testing this: Index: init.c === --- init.c(revision 202020) +++ init.c(working copy) @@

[Bug c++/58258] New: cp_tree_equal and unknown symbol take up 70% of (astronomical) build time

2013-08-28 Thread geoffers+gccbug at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58258 Bug ID: 58258 Summary: cp_tree_equal and unknown symbol take up 70% of (astronomical) build time Product: gcc Version: 4.8.1 Status: UNCONFIRMED Severity:

[Bug target/58259] New: PowerPC: Atomic flag test and set generates NULL pointer read and write

2013-08-28 Thread sebastian.hu...@embedded-brains.de
bne- 0,.L3 stwcx. 8,0,3 bne- 0,.L2 .L3: isync srw 10,10,9 li 9,0 stb 10,0(9) mfcr 3 rlwinm 3,3,3,1 blr .size test_and_set, .-test_and_set .ident GCC: (GNU) 4.9.0 20130828 (experimental) [master

[Bug target/58259] ARM, PowerPC: Atomic flag test and set generates NULL pointer read and write

2013-08-28 Thread sebastian.hu...@embedded-brains.de
, .-test_and_set .ident GCC: (GNU) 4.9.0 20130828 (experimental) [master revision 022fc2d:bffd767:fd457cef14f3bc6673e90a2de80005feea743ab7]

[Bug libgcc/58260] New: configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. gmake[1]: *** [configure-target-libgcc] Error 1

2013-08-28 Thread anand.karanam at tcs dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58260 Bug ID: 58260 Summary: configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. gmake[1]: *** [configure-target-libgcc] Error

[Bug libgcc/58260] configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. gmake[1]: *** [configure-target-libgcc] Error 1

2013-08-28 Thread mikpe at it dot uu.se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58260 --- Comment #1 from Mikael Pettersson mikpe at it dot uu.se --- (In reply to anand.karanam from comment #0) checking for suffix of object files... configure: error: in `/home/ekarana/ekarana_2013/GCC463_OSE5.6/Solaris_to_Linux/INSTALL/build-gcc/

[Bug tree-optimization/57685] [4.8/4.9 Regression] GCC stuck in an infinite loop

2013-08-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57685 --- Comment #4 from Richard Biener rguenth at gcc dot gnu.org --- Hmm, it's register_edge_assert_for_1 not limiting its recursion and not avoiding duplicate visits. Which in this case leads to exponential compile-time behavior. We can mitigate

[Bug middle-end/58245] -fstack-protector[-all] does not protect functions that call noreturn functions

2013-08-28 Thread rose.garcia-eggl2fk at yopmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58245 Rose Garcia rose.garcia-eggl2fk at yopmail dot com changed: What|Removed |Added CC|

[Bug libgcc/58260] configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. gmake[1]: *** [configure-target-libgcc] Error 1

2013-08-28 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58260 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug libgcc/58260] configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. gmake[1]: *** [configure-target-libgcc] Error 1

2013-08-28 Thread anand.karanam at tcs dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58260 anand.karanam at tcs dot com changed: What|Removed |Added CC||anand.karanam at tcs dot

[Bug libgcc/58260] configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. gmake[1]: *** [configure-target-libgcc] Error 1

2013-08-28 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58260 --- Comment #5 from Jonathan Wakely redi at gcc dot gnu.org --- The relevant part of the file is: configure:3055: /home/ekarana/ekarana_2013/GCC463_OSE5.6/Solaris_to_Linux/INSTALL/build-gcc/sparc-sun-solaris2.10-i686-pc-linux-gnu/./gcc/xgcc

[Bug libgcc/58260] configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. gmake[1]: *** [configure-target-libgcc] Error 1

2013-08-28 Thread mikpe at it dot uu.se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58260 --- Comment #4 from Mikael Pettersson mikpe at it dot uu.se --- You got several 'conftest.c:16:1: internal compiler error: Bus Error' from the newly built compiler. You should try one of those compilation attempts manually, in gdb, to see where

[Bug libgcc/58260] configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. gmake[1]: *** [configure-target-libgcc] Error 1

2013-08-28 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58260 --- Comment #6 from Jonathan Wakely redi at gcc dot gnu.org --- (In reply to Mikael Pettersson from comment #4) (I always build gmp/mpfr/mpc with --disable-shared exactly to avoid such issues.) Why not just build them in tree and avoid all

[Bug fortran/58100] Spurious DO loop at (1) will be executed zero times warning

2013-08-28 Thread tkoenig at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58100 Thomas Koenig tkoenig at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug c/48885] missed optimization with restrict qualifier?

2013-08-28 Thread pa...@matos-sorge.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48885 Paulo J. Matos pa...@matos-sorge.com changed: What|Removed |Added CC|

[Bug tree-optimization/57511] [4.8/4.9 Regression] Missing SCEV final value replacement

2013-08-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57511 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added CC||spop at gcc

[Bug spam/58261] New: Test bug 1

2013-08-28 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58261 Bug ID: 58261 Summary: Test bug 1 Product: gcc Version: 4.8.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: spam Assignee: unassigned at

[Bug spam/58262] New: Test bug 2

2013-08-28 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58262 Bug ID: 58262 Summary: Test bug 2 Product: gcc Version: 4.8.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: spam Assignee: unassigned at

[Bug spam/58262] Test bug 2

2013-08-28 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58262 --- Comment #1 from Jakub Jelinek jakub at gcc dot gnu.org --- Author: jakub Date: Wed Aug 28 14:41:27 2013 New Revision: 202051 URL: http://gcc.gnu.org/viewcvs?rev=202051root=gccview=rev Log: PR spam/58261 PR spam/58262 Fix up

[Bug spam/58261] Test bug 1

2013-08-28 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58261 --- Comment #1 from Jakub Jelinek jakub at gcc dot gnu.org --- Author: jakub Date: Wed Aug 28 14:41:27 2013 New Revision: 202051 URL: http://gcc.gnu.org/viewcvs?rev=202051root=gccview=rev Log: PR spam/58261 PR spam/58262 Fix up

[Bug c++/58263] New: [feature request] friend class $UndefinedClass

2013-08-28 Thread vova7890 at mail dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58263 Bug ID: 58263 Summary: [feature request] friend class $UndefinedClass Product: gcc Version: unknown Status: UNCONFIRMED Severity: trivial Priority: P3 Component:

[Bug c++/58263] [feature request] friend class $UndefinedClass

2013-08-28 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58263 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Severity|trivial |enhancement ---

[Bug ipa/58106] ICE: in ipa_edge_duplication_hook, at ipa-prop.c:2839

2013-08-28 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58106 Martin Jambor jamborm at gcc dot gnu.org changed: What|Removed |Added URL|

[Bug spam/58261] Test bug 1

2013-08-28 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58261 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug spam/58262] Test bug 2

2013-08-28 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58262 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug spam/58262] Test bug 2

2013-08-28 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58262 --- Comment #3 from Jonathan Wakely redi at gcc dot gnu.org --- Hoorah! Thanks, Jakub

[Bug target/58259] ARM, PowerPC: Atomic flag test and set generates NULL pointer read and write

2013-08-28 Thread sebastian.hu...@embedded-brains.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58259 Sebastian Huber sebastian.hu...@embedded-brains.de changed: What|Removed |Added Status|UNCONFIRMED

[Bug tree-optimization/56933] [4.9 Regression] Vectorizer missing read-write dependency for interleaved accesses

2013-08-28 Thread bernd.edlinger at hotmail dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56933 --- Comment #7 from Bernd Edlinger bernd.edlinger at hotmail dot de --- Created attachment 30712 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=30712action=edit fixed test case Looking deeper into the matter it seems like this an example

[Bug libgcc/58260] configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. gmake[1]: *** [configure-target-libgcc] Error 1

2013-08-28 Thread mikpe at it dot uu.se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58260 --- Comment #7 from Mikael Pettersson mikpe at it dot uu.se --- (In reply to Jonathan Wakely from comment #6) (In reply to Mikael Pettersson from comment #4) (I always build gmp/mpfr/mpc with --disable-shared exactly to avoid such issues.)

[Bug ada/58264] New: Incorrect 'First when assigning function-call.all (of access String;) to an indefinite String object

2013-08-28 Thread hans.buhrer at lmco dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58264 Bug ID: 58264 Summary: Incorrect 'First when assigning function-call.all (of access String;) to an indefinite String object Product: gcc Version: 4.6.3 Status:

[Bug c++/58263] [feature request] friend class $UndefinedClass

2013-08-28 Thread vova7890 at mail dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58263 --- Comment #2 from vova7890 vova7890 at mail dot ru --- (In reply to Jonathan Wakely from comment #1) Do we warn in A.cc that B is not defined? It is defined in another header, but that isn't included by A.cc because it isn't needed. We warn

[Bug target/58067] ICE in GFortran recog.c:2158

2013-08-28 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58067 --- Comment #10 from Jakub Jelinek jakub at gcc dot gnu.org --- Author: jakub Date: Wed Aug 28 16:31:41 2013 New Revision: 202055 URL: http://gcc.gnu.org/viewcvs?rev=202055root=gccview=rev Log: PR target/58067 * config/i386/i386.md

[Bug middle-end/57287] [4.9 Regression] Bogous uninitialized warning with abnormal control flow

2013-08-28 Thread xinliangli at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57287 --- Comment #16 from davidxl xinliangli at gmail dot com --- (In reply to Richard Biener from comment #15) Confirmed. David, can you have a look here? I had a hard time following what exactly to do with the dataflow in the uninit pass for

[Bug c++/58263] [feature request] friend class $UndefinedClass

2013-08-28 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58263 --- Comment #3 from Jonathan Wakely redi at gcc dot gnu.org --- But that will warn about valid code, where you didn't spell the name wrong.

[Bug middle-end/57393] [4.9 Regression] error: definition in block 4 follows the use / internal compiler error: verify_ssa failed

2013-08-28 Thread eraman at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57393 --- Comment #27 from Easwaran Raman eraman at google dot com --- These two test cases pass for me (compiles with -O3) with the attached patch (http://gcc.gnu.org/bugzilla/attachment.cgi?id=30690). gcc --version returns: gcc (GCC) 4.9.0 20130821

[Bug c++/58263] [feature request] friend class $UndefinedClass

2013-08-28 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58263 --- Comment #4 from Andrew Pinski pinskia at gcc dot gnu.org --- How about looking into the MyClass1 to see if there is a friend class and have a quick heuristic about the spelling mistake when doing the error message?

[Bug middle-end/57393] [4.9 Regression] error: definition in block 4 follows the use / internal compiler error: verify_ssa failed

2013-08-28 Thread Joost.VandeVondele at mat dot ethz.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57393 --- Comment #28 from Joost VandeVondele Joost.VandeVondele at mat dot ethz.ch --- (In reply to Easwaran Raman from comment #27) These two test cases pass for me (compiles with -O3) with the attached patch

[Bug c++/58263] [feature request] friend class $UndefinedClass

2013-08-28 Thread vova7890 at mail dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58263 --- Comment #5 from vova7890 vova7890 at mail dot ru --- (In reply to Jonathan Wakely from comment #3) But that will warn about valid code, where you didn't spell the name wrong. Yes, but it can be not in one file, as in example. If it in one

[Bug c++/58263] [feature request] friend class $UndefinedClass

2013-08-28 Thread vova7890 at mail dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58263 --- Comment #6 from vova7890 vova7890 at mail dot ru --- (In reply to Andrew Pinski from comment #4) How about looking into the MyClass1 to see if there is a friend class and have a quick heuristic about the spelling mistake when doing the error

[Bug target/56997] Incorrect write to packed field when strict-volatile-bitfields enabled on aarch32

2013-08-28 Thread ramana at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56997 Ramana Radhakrishnan ramana at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW

  1   2   3   >