develooper Front page | perl.perl5.porters | Postings from September 2012

[perl #115066] B::Deparse misguided by constant->import

Thread Previous
From:
Alexey Tourbin
Date:
September 27, 2012 21:14
Subject:
[perl #115066] B::Deparse misguided by constant->import
Message ID:
rt-3.6.HEAD-11172-1348797323-972.115066-75-0@perl.org
# New Ticket Created by  Alexey Tourbin 
# Please include the string:  [perl #115066]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=115066 >



This is a bug report for perl from at@altlinux.org,
generated with the help of perlbug 1.39 running under perl 5.16.1.


-----------------------------------------------------------------
[Please describe your issue here]

$ perl -MO=Deparse -e 'use constant FOO => do { 1 }; use constant BAR => 1; 1'
use constant ('FOO', do {
    1;
    use constant ('BAR', 1);

});
'???';
-e syntax OK

[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
    category=library
    severity=low
---
This perlbug was built using Perl 5.16.1 - Wed Sep 26 00:33:21 UTC 2012
It is being executed now by  Perl 5.16.1 - Tue Sep 11 19:19:34 UTC 2012.

Site configuration information for perl 5.16.1:

Configured by ALT Linux Team at Tue Sep 11 19:19:34 UTC 2012.

Summary of my perl5 (revision 5 version 16 subversion 1) configuration:
   
  Platform:
    osname=linux, osvers=3.5.3-std-def-alt1, archname=x86_64-linux-thread-multi
    uname='linux localhost.localdomain 3.5.3-std-def-alt1 #1 smp wed aug 29 20:26:00 utc 2012 x86_64 gnulinux '
    config_args='-ders -Dusethreads -Duseithreads -Duselargefiles -Duseshrplib -Dlibperl=libperl-5.16.so -Dcc=gcc -Doptimize=-pipe -Wall -g -O2 -DDEBUGGING=maybe -Dprefix=/usr -Dprivlib=/usr/share/perl5 -Darchlib=/usr/lib64/perl5 -Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5 -Dvendorarch=/usr/lib64/perl5 -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl/5.16 -Dsitearch=/usr/local/lib64/perl/5.16 -Dotherlibdirs=/etc/perl5:/usr/lib/perl5/vendor_perl -Dinc_version_list=none -Dpager=/usr/bin/less -isR -Dman1dir=none -Dman3dir=none -Dcf_by=ALT Linux Team -Dcf_email=Alexey Tourbin <at@altlinux.ru> -Dmyhostname=localhost -Dperladmin=root@localhost'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-pipe -Wall -g -O2',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
    ccversion='', gccversion='4.6.3 20120306 (ALT Linux 4.6.3-alt7)', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -fstack-protector -L/usr/local/lib'
    libpth=/usr/local/lib /lib64 /usr/lib64 /lib /usr/lib /usr/local/lib64
    libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc -lgdbm_compat
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
    libc=, so=so, useshrplib=true, libperl=libperl-5.16.so
    gnulibc_version='2.16'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fPIC', lddlflags='-shared -pipe -Wall -g -O2 -L/usr/local/lib -fstack-protector'

Locally applied patches:
    

---
@INC for perl 5.16.1:
    /usr/local/lib64/perl/5.16
    /usr/local/share/perl/5.16
    /usr/lib64/perl5
    /usr/share/perl5
    /usr/lib64/perl5
    /usr/share/perl5
    /etc/perl5
    /usr/lib/perl5/vendor_perl
    .

---
Environment for perl 5.16.1:
    HOME=/home/at
    LANG (unset)
    LANGUAGE (unset)
    LC_CTYPE=en_US.UTF-8
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=/home/at/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/usr/games
    PERL_BADLANG (unset)
    SHELL=/bin/bash


Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About