[gcc-4.4] Re: arch/x86/events/intel/uncore_snbep.o: warning: objtool: snbep_uncore_msr_enable_event()+0x2e: function has unreachable instruction

2016-07-20 Thread Fengguang Wu
On Thu, Jul 21, 2016 at 11:06:06AM +0800, Liang, Kan wrote: Hi Fengguang, I located the unreachable instruction which is ud2. This instruction will raise invalid opcode exception. So I think normally it should not be reached. Also ud2 should be generated by compiler, not our codes. It's grea

gcc-4.9-20160720 is now available

2016-07-20 Thread gccadmin
Snapshot gcc-4.9-20160720 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.9-20160720/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.9 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/branches

Re: ubsan and Dejagnu not having a big enough buffer in some cases

2016-07-20 Thread H.J. Lu
On Wed, Jul 20, 2016 at 3:07 PM, Andrew Pinski wrote: > On Wed, Jul 20, 2016 at 2:57 PM, H.J. Lu wrote: >> On Wed, Jul 20, 2016 at 2:20 PM, Jeff Law wrote: >>> On 07/20/2016 03:09 PM, Andrew Pinski wrote: On Wed, Jul 20, 2016 at 2:02 PM, Andrew Pinski wrote: > > On Wed, Jul 20

Re: ubsan and Dejagnu not having a big enough buffer in some cases

2016-07-20 Thread Andrew Pinski
On Wed, Jul 20, 2016 at 2:57 PM, H.J. Lu wrote: > On Wed, Jul 20, 2016 at 2:20 PM, Jeff Law wrote: >> On 07/20/2016 03:09 PM, Andrew Pinski wrote: >>> >>> On Wed, Jul 20, 2016 at 2:02 PM, Andrew Pinski wrote: On Wed, Jul 20, 2016 at 1:32 PM, Jeff Law wrote: > > On 07/20/2016 0

Re: ubsan and Dejagnu not having a big enough buffer in some cases

2016-07-20 Thread H.J. Lu
On Wed, Jul 20, 2016 at 2:20 PM, Jeff Law wrote: > On 07/20/2016 03:09 PM, Andrew Pinski wrote: >> >> On Wed, Jul 20, 2016 at 2:02 PM, Andrew Pinski wrote: >>> >>> On Wed, Jul 20, 2016 at 1:32 PM, Jeff Law wrote: On 07/20/2016 02:21 PM, Segher Boessenkool wrote: > > > On We

Re: ubsan and Dejagnu not having a big enough buffer in some cases

2016-07-20 Thread Jeff Law
On 07/20/2016 03:09 PM, Andrew Pinski wrote: On Wed, Jul 20, 2016 at 2:02 PM, Andrew Pinski wrote: On Wed, Jul 20, 2016 at 1:32 PM, Jeff Law wrote: On 07/20/2016 02:21 PM, Segher Boessenkool wrote: On Wed, Jul 20, 2016 at 12:48:09PM +0530, Senthil Kumar Selvaraj wrote: I see this for some

Re: ubsan and Dejagnu not having a big enough buffer in some cases

2016-07-20 Thread Andrew Pinski
On Wed, Jul 20, 2016 at 2:02 PM, Andrew Pinski wrote: > On Wed, Jul 20, 2016 at 1:32 PM, Jeff Law wrote: >> On 07/20/2016 02:21 PM, Segher Boessenkool wrote: >>> >>> On Wed, Jul 20, 2016 at 12:48:09PM +0530, Senthil Kumar Selvaraj wrote: > > I see this for some of the larger C frontend te

Re: ubsan and Dejagnu not having a big enough buffer in some cases

2016-07-20 Thread Andrew Pinski
On Wed, Jul 20, 2016 at 1:32 PM, Jeff Law wrote: > On 07/20/2016 02:21 PM, Segher Boessenkool wrote: >> >> On Wed, Jul 20, 2016 at 12:48:09PM +0530, Senthil Kumar Selvaraj wrote: I see this for some of the larger C frontend tests with lots of expected errors/warnings as well. >> >>

Re: DejaGnu directive matching multiple messages on the same line

2016-07-20 Thread Martin Sebor
On 07/20/2016 02:28 PM, Jakub Jelinek wrote: On Wed, Jul 20, 2016 at 02:19:15PM -0600, Martin Sebor wrote: Is there a way to express a requirement that a single line cause two or more diagnostic messages (in any order) each matching one of the regex strings? Sure, and it is used many times in

Re: ubsan and Dejagnu not having a big enough buffer in some cases

2016-07-20 Thread Jeff Law
On 07/20/2016 02:21 PM, Segher Boessenkool wrote: On Wed, Jul 20, 2016 at 12:48:09PM +0530, Senthil Kumar Selvaraj wrote: I see this for some of the larger C frontend tests with lots of expected errors/warnings as well. I also see this for tests with small output, but it happens more often fo

Re: DejaGnu directive matching multiple messages on the same line

2016-07-20 Thread Jakub Jelinek
On Wed, Jul 20, 2016 at 02:19:15PM -0600, Martin Sebor wrote: > Is there a way to express a requirement that a single line cause > two or more diagnostic messages (in any order) each matching one > of the regex strings? Sure, and it is used many times in the testsuite. whatever; /* { dg-error "

Re: ubsan and Dejagnu not having a big enough buffer in some cases

2016-07-20 Thread Segher Boessenkool
On Wed, Jul 20, 2016 at 12:48:09PM +0530, Senthil Kumar Selvaraj wrote: > > I see this for some of the larger C frontend tests with lots of expected > > errors/warnings as well. I also see this for tests with small output, but it happens more often for tests with big output. > Are you guys getti

DejaGnu directive matching multiple messages on the same line

2016-07-20 Thread Martin Sebor
When multiple diagnostics for a given line in a test are expected, I have been using the vertical bar ('|') in regular expression arguments to DejaGnu directives like dg-error and dg-warning on the assumption that all are matched. This use appears to be sanctioned by the GCC TestCaseWriting Wiki

Re: gcc/libcpp: non-UTF-8 source or execution encodings?

2016-07-20 Thread David Malcolm
On Tue, 2016-07-19 at 16:10 -0700, David Edelsohn wrote: > Hi, David > > I don't believe that hardware easily is available. We probably could > arrange for access, if it is necessary, but it is not accessible > through the IBM Community Development system for Linux on z Systems > because this isn

Re: [gimplefe] hacking pass manager

2016-07-20 Thread Richard Biener
On Wed, Jul 20, 2016 at 1:46 PM, Prathamesh Kulkarni wrote: > On 20 July 2016 at 11:34, Richard Biener wrote: >> On Tue, Jul 19, 2016 at 10:09 PM, Prasad Ghangal >> wrote: >>> On 19 July 2016 at 11:04, Richard Biener wrote: On July 18, 2016 11:05:58 PM GMT+02:00, David Malcolm wrote

Re: [gimplefe] hacking pass manager

2016-07-20 Thread Prathamesh Kulkarni
On 20 July 2016 at 11:34, Richard Biener wrote: > On Tue, Jul 19, 2016 at 10:09 PM, Prasad Ghangal > wrote: >> On 19 July 2016 at 11:04, Richard Biener wrote: >>> On July 18, 2016 11:05:58 PM GMT+02:00, David Malcolm >>> wrote: On Tue, 2016-07-19 at 00:52 +0530, Prasad Ghangal wrote: >

Re: [gimplefe] hacking pass manager

2016-07-20 Thread Richard Biener
On Tue, Jul 19, 2016 at 10:09 PM, Prasad Ghangal wrote: > On 19 July 2016 at 11:04, Richard Biener wrote: >> On July 18, 2016 11:05:58 PM GMT+02:00, David Malcolm >> wrote: >>>On Tue, 2016-07-19 at 00:52 +0530, Prasad Ghangal wrote: On 19 July 2016 at 00:25, Richard Biener wrote: >>>

Re: ubsan and Dejagnu not having a big enough buffer in some cases

2016-07-20 Thread Richard Biener
On July 20, 2016 9:18:09 AM GMT+02:00, Senthil Kumar Selvaraj wrote: > >Richard Biener writes: > >> On July 20, 2016 2:01:18 AM GMT+02:00, Andrew Pinski > wrote: >>>Hi, >>> I noticed that ubsan testsuite sometimes has failures due to >dejagnu >>>buffer gets full and we no longer match on the out

Re: ubsan and Dejagnu not having a big enough buffer in some cases

2016-07-20 Thread Senthil Kumar Selvaraj
Richard Biener writes: > On July 20, 2016 2:01:18 AM GMT+02:00, Andrew Pinski > wrote: >>Hi, >> I noticed that ubsan testsuite sometimes has failures due to dejagnu >>buffer gets full and we no longer match on the output any more. >>As you can see from the .log file: >>/data1/jenkins/workspace